package F2;

import com.google.crypto.tink.shaded.protobuf.InterfaceC0494x;

/* JADX INFO: loaded from: classes.dex */
public enum r0 implements InterfaceC0494x {
    UNKNOWN_PREFIX(0),
    TINK(1),
    LEGACY(2),
    RAW(3),
    CRUNCHY(4),
    UNRECOGNIZED(-1);


    /* JADX INFO: renamed from: k, reason: collision with root package name */
    public final int f709k;

    r0(int i) {
        this.f709k = i;
    }

    public static r0 a(int i) {
        if (i == 0) {
            return UNKNOWN_PREFIX;
        }
        if (i == 1) {
            return TINK;
        }
        if (i == 2) {
            return LEGACY;
        }
        if (i == 3) {
            return RAW;
        }
        if (i != 4) {
            return null;
        }
        return CRUNCHY;
    }

    public final int b() {
        if (this != UNRECOGNIZED) {
            return this.f709k;
        }
        throw new IllegalArgumentException("Can't get the number of an unknown enum value.");
    }
}
