package T3;

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

/* JADX INFO: loaded from: classes.dex */
public enum r0 implements InterfaceC0757x {
    f6586r("UNKNOWN_PREFIX"),
    f6587s("TINK"),
    f6588t("LEGACY"),
    f6589u("RAW"),
    f6590v("CRUNCHY"),
    f6591w("UNRECOGNIZED");


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

    r0(String str) {
        this.f6593q = i;
    }

    public static r0 a(int i) {
        if (i == 0) {
            return f6586r;
        }
        if (i == 1) {
            return f6587s;
        }
        if (i == 2) {
            return f6588t;
        }
        if (i == 3) {
            return f6589u;
        }
        if (i != 4) {
            return null;
        }
        return f6590v;
    }

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