package defpackage;

import com.google.android.gms.internal.measurement.zzaeh;
import com.google.android.gms.internal.measurement.zzafy;
import java.io.IOException;
import java.io.InputStream;

/* renamed from: ʿʻ, reason: contains not printable characters */
/* loaded from: classes3.dex */
public final class C0366 extends AbstractC4985 {
    private static final C0366 zzl;
    private static volatile InterfaceC2916 zzm;
    private int zzb;
    private boolean zzf;
    private int zzh;
    private boolean zzi;
    private boolean zzj;
    private boolean zzk;
    private String zze = "";
    private InterfaceC4487 zzg = C3843.f14304;

    static {
        C0366 c0366 = new C0366();
        zzl = c0366;
        AbstractC4985.m10430(C0366.class, c0366);
    }

    /* renamed from: ᵧᵾˀˈ, reason: contains not printable characters */
    public static C0366 m1801(InputStream inputStream, C1037 c1037) throws zzaeh {
        C0366 c0366 = zzl;
        AbstractC3415 abstractC3415M7775 = AbstractC3415.m7775(inputStream, 4096);
        AbstractC4985 abstractC4985M10435 = c0366.m10435();
        try {
            InterfaceC1461 interfaceC1461M11073 = C5430.f20370.m11073(abstractC4985M10435.getClass());
            C1326 c1326 = (C1326) abstractC3415M7775.f12709;
            if (c1326 == null) {
                c1326 = new C1326(abstractC3415M7775);
            }
            interfaceC1461M11073.mo3033(abstractC4985M10435, c1326, c1037);
            interfaceC1461M11073.mo3035(abstractC4985M10435);
            AbstractC4985.m10431(abstractC4985M10435);
            return (C0366) abstractC4985M10435;
        } catch (zzaeh e) {
            if (e.f1025) {
                throw new zzaeh(e.getMessage(), e);
            }
            throw e;
        } catch (zzafy e2) {
            throw e2.m809();
        } catch (IOException e3) {
            if (e3.getCause() instanceof zzaeh) {
                throw ((zzaeh) e3.getCause());
            }
            throw new zzaeh(e3.getMessage(), e3);
        } catch (RuntimeException e4) {
            if (e4.getCause() instanceof zzaeh) {
                throw ((zzaeh) e4.getCause());
            }
            throw e4;
        }
    }

    /* renamed from: ˑᵱ, reason: contains not printable characters */
    public final boolean m1802() {
        return this.zzf;
    }

    @Override // defpackage.AbstractC4985
    /* renamed from: ᵞʡ */
    public final Object mo1179(int i) {
        InterfaceC2916 c1532;
        int i2 = i - 1;
        if (i2 == 0) {
            return (byte) 1;
        }
        if (i2 == 2) {
            return new C2832(zzl, "\u0004\u0007\u0000\u0001\u0001\u0007\u0007\u0000\u0001\u0000\u0001ဈ\u0000\u0002ဇ\u0001\u0003\u001a\u0004᠌\u0002\u0005ဇ\u0003\u0006ဇ\u0005\u0007ဇ\u0004", new Object[]{"zzb", "zze", "zzf", "zzg", "zzh", C5074.f18964, "zzi", "zzk", "zzj"});
        }
        if (i2 == 3) {
            return new C0366();
        }
        if (i2 == 4) {
            return new C2036(zzl);
        }
        if (i2 == 5) {
            return zzl;
        }
        if (i2 != 6) {
            throw null;
        }
        InterfaceC2916 interfaceC2916 = zzm;
        if (interfaceC2916 != null) {
            return interfaceC2916;
        }
        synchronized (C0366.class) {
            try {
                c1532 = zzm;
                if (c1532 == null) {
                    c1532 = new C1532(zzl);
                    zzm = c1532;
                }
            } catch (Throwable th) {
                throw th;
            }
        }
        return c1532;
    }

    /* renamed from: ᵨᵳʝ, reason: contains not printable characters */
    public final String m1803() {
        return this.zze;
    }
}
