package o;

import java.io.IOException;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.bn0, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C0845bn0 extends AbstractC0706aK implements SC {
    public final /* synthetic */ C2773w10 m;
    public final /* synthetic */ long n;

    /* renamed from: o, reason: collision with root package name */
    public final /* synthetic */ A10 f462o;
    public final /* synthetic */ C1822m00 p;
    public final /* synthetic */ A10 q;
    public final /* synthetic */ A10 r;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public C0845bn0(C2773w10 c2773w10, long j, A10 a10, C1822m00 c1822m00, A10 a102, A10 a103) {
        super(2);
        this.m = c2773w10;
        this.n = j;
        this.f462o = a10;
        this.p = c1822m00;
        this.q = a102;
        this.r = a103;
    }

    @Override // o.SC
    public final Object f(Object obj, Object obj2) throws IOException {
        int iIntValue = ((Number) obj).intValue();
        long jLongValue = ((Number) obj2).longValue();
        if (iIntValue == 1) {
            C2773w10 c2773w10 = this.m;
            if (c2773w10.l) {
                throw new IOException("bad zip: zip64 extra repeated");
            }
            c2773w10.l = true;
            if (jLongValue < this.n) {
                throw new IOException("bad zip: zip64 extra too short");
            }
            A10 a10 = this.f462o;
            long jD = a10.l;
            C1822m00 c1822m00 = this.p;
            if (jD == 4294967295L) {
                jD = c1822m00.d();
            }
            a10.l = jD;
            A10 a102 = this.q;
            a102.l = a102.l == 4294967295L ? c1822m00.d() : 0L;
            A10 a103 = this.r;
            a103.l = a103.l == 4294967295L ? c1822m00.d() : 0L;
        }
        return Oh0.a;
    }
}
