package X3;

import com.google.crypto.tink.shaded.protobuf.AbstractC1261i;
import com.google.crypto.tink.shaded.protobuf.AbstractC1274w;
import com.google.crypto.tink.shaded.protobuf.C1267o;
import com.google.crypto.tink.shaded.protobuf.C1273v;
import m1.AbstractC2464a;

/* JADX INFO: renamed from: X3.h, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes3.dex */
public final class C0817h extends AbstractC1274w {
    public static final int AES_CTR_KEY_FIELD_NUMBER = 2;
    private static final C0817h DEFAULT_INSTANCE;
    public static final int HMAC_KEY_FIELD_NUMBER = 3;
    private static volatile com.google.crypto.tink.shaded.protobuf.X PARSER = null;
    public static final int VERSION_FIELD_NUMBER = 1;
    private C0821l aesCtrKey_;
    private Q hmacKey_;
    private int version_;

    static {
        C0817h c0817h = new C0817h();
        DEFAULT_INSTANCE = c0817h;
        AbstractC1274w.s(C0817h.class, c0817h);
    }

    public static C0816g B() {
        return (C0816g) DEFAULT_INSTANCE.g();
    }

    public static C0817h C(AbstractC1261i abstractC1261i, C1267o c1267o) {
        return (C0817h) AbstractC1274w.q(DEFAULT_INSTANCE, abstractC1261i, c1267o);
    }

    public static void v(C0817h c0817h) {
        c0817h.version_ = 0;
    }

    public static void w(C0817h c0817h, C0821l c0821l) {
        c0817h.getClass();
        c0821l.getClass();
        c0817h.aesCtrKey_ = c0821l;
    }

    public static void x(C0817h c0817h, Q q6) {
        c0817h.getClass();
        q6.getClass();
        c0817h.hmacKey_ = q6;
    }

    public final int A() {
        return this.version_;
    }

    @Override // com.google.crypto.tink.shaded.protobuf.AbstractC1274w
    public final Object h(int i6) {
        com.google.crypto.tink.shaded.protobuf.X c1273v;
        switch (AbstractC2464a.c(i6)) {
            case 0:
                return (byte) 1;
            case 1:
                return null;
            case 2:
                return new com.google.crypto.tink.shaded.protobuf.b0(DEFAULT_INSTANCE, "\u0000\u0003\u0000\u0000\u0001\u0003\u0003\u0000\u0000\u0000\u0001\u000b\u0002\t\u0003\t", new Object[]{"version_", "aesCtrKey_", "hmacKey_"});
            case 3:
                return new C0817h();
            case 4:
                return new C0816g(DEFAULT_INSTANCE);
            case 5:
                return DEFAULT_INSTANCE;
            case 6:
                com.google.crypto.tink.shaded.protobuf.X x6 = PARSER;
                if (x6 != null) {
                    return x6;
                }
                synchronized (C0817h.class) {
                    try {
                        c1273v = PARSER;
                        if (c1273v == null) {
                            c1273v = new C1273v();
                            PARSER = c1273v;
                        }
                    } catch (Throwable th) {
                        throw th;
                    }
                    break;
                }
                return c1273v;
            default:
                throw new UnsupportedOperationException();
        }
    }

    public final C0821l y() {
        C0821l c0821l = this.aesCtrKey_;
        return c0821l == null ? C0821l.y() : c0821l;
    }

    public final Q z() {
        Q q6 = this.hmacKey_;
        return q6 == null ? Q.y() : q6;
    }
}
