package r7;

import java.io.IOException;
import x7.C1731g;

/* JADX INFO: loaded from: classes.dex */
public final class l extends n7.a {

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public final /* synthetic */ o f16622e;

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

    /* JADX INFO: renamed from: g, reason: collision with root package name */
    public final /* synthetic */ C1731g f16624g;

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

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public l(String str, o oVar, int i, C1731g c1731g, int i5, boolean z8) {
        super(str, true);
        this.f16622e = oVar;
        this.f16623f = i;
        this.f16624g = c1731g;
        this.f16625h = i5;
    }

    @Override // n7.a
    public final long a() {
        try {
            z zVar = this.f16622e.f16633A;
            C1731g c1731g = this.f16624g;
            int i = this.f16625h;
            zVar.getClass();
            c1731g.y(i);
            this.f16622e.f16643M.r(this.f16623f, 9);
            synchronized (this.f16622e) {
                this.f16622e.f16645O.remove(Integer.valueOf(this.f16623f));
            }
            return -1L;
        } catch (IOException unused) {
            return -1L;
        }
    }
}
