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;

/* JADX INFO: renamed from: ᵢᵎ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes3.dex */
public final class C3283 implements InterfaceC0673 {

    /* JADX INFO: renamed from: ᵲᵶᵳˈ, reason: contains not printable characters */
    public final AbstractC4729 f12599;

    static {
        C1743 c1743 = C1743.f6982;
        int i = AbstractC1986.f7873;
    }

    public C3283(AbstractC4729 abstractC4729) {
        this.f12599 = abstractC4729;
    }

    /* JADX INFO: renamed from: ᵲᵶᵳˈ, reason: contains not printable characters */
    public final AbstractC4729 m7526(InputStream inputStream, C1743 c1743) throws zzaeh {
        AbstractC5456 abstractC5456M11073 = AbstractC5456.m11073(inputStream, 4096);
        int i = AbstractC4729.zzd;
        AbstractC4729 abstractC4729M9885 = this.f12599.m9885();
        try {
            InterfaceC0245 interfaceC0245M8590 = C3884.f14820.m8590(abstractC4729M9885.getClass());
            C4349 c4349 = (C4349) abstractC5456M11073.f20658;
            if (c4349 == null) {
                c4349 = new C4349(abstractC5456M11073);
            }
            interfaceC0245M8590.mo1458(abstractC4729M9885, c4349, c1743);
            interfaceC0245M8590.mo1450(abstractC4729M9885);
            abstractC5456M11073.mo4136(0);
            if (AbstractC4729.m9878(abstractC4729M9885, true)) {
                return abstractC4729M9885;
            }
            throw new zzafy().m810();
        } catch (zzaeh e) {
            if (e.f1025) {
                throw new zzaeh(e.getMessage(), e);
            }
            throw e;
        } catch (zzafy e2) {
            throw e2.m810();
        } 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;
        }
    }
}
