package F7;

import java.io.IOException;
import n4.u0;
import x7.C1731g;
import x7.InterfaceC1733i;

/* JADX INFO: renamed from: F7.y, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public final class C0140y extends x7.o {

    /* JADX INFO: renamed from: r, reason: collision with root package name */
    public final /* synthetic */ int f2735r = 0;

    /* JADX INFO: renamed from: s, reason: collision with root package name */
    public Object f2736s;

    public /* synthetic */ C0140y(x7.H h8) {
        super(h8);
    }

    @Override // x7.o, x7.H
    public final long M(C1731g c1731g, long j8) throws Exception {
        switch (this.f2735r) {
            case u0.f15495q /* 0 */:
                try {
                    return super.M(c1731g, j8);
                } catch (IOException e8) {
                    ((C0141z) this.f2736s).f2740t = e8;
                    throw e8;
                }
            default:
                try {
                    return super.M(c1731g, j8);
                } catch (Exception e9) {
                    this.f2736s = e9;
                    throw e9;
                }
        }
    }

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public C0140y(C0141z c0141z, InterfaceC1733i interfaceC1733i) {
        super(interfaceC1733i);
        this.f2736s = c0141z;
    }
}
