package com.google.crypto.tink.shaded.protobuf;

/* JADX INFO: renamed from: com.google.crypto.tink.shaded.protobuf.t, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes3.dex */
public final class C1271t implements P {

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public static final C1271t f13835b = new C1271t(0);

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final /* synthetic */ int f13836a;

    public /* synthetic */ C1271t(int i6) {
        this.f13836a = i6;
    }

    @Override // com.google.crypto.tink.shaded.protobuf.P
    public final b0 a(Class cls) {
        switch (this.f13836a) {
            case 0:
                if (!AbstractC1274w.class.isAssignableFrom(cls)) {
                    throw new IllegalArgumentException("Unsupported message type: ".concat(cls.getName()));
                }
                try {
                    return (b0) AbstractC1274w.i(cls.asSubclass(AbstractC1274w.class)).h(3);
                } catch (Exception e6) {
                    throw new RuntimeException("Unable to get message info for ".concat(cls.getName()), e6);
                }
            default:
                throw new IllegalStateException("This should never be called.");
        }
    }

    @Override // com.google.crypto.tink.shaded.protobuf.P
    public final boolean b(Class cls) {
        switch (this.f13836a) {
            case 0:
                return AbstractC1274w.class.isAssignableFrom(cls);
            default:
                return false;
        }
    }
}
