package R4;

import java.io.IOException;

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

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

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

    /* JADX INFO: renamed from: g, reason: collision with root package name */
    public final /* synthetic */ X4.e f2694g;

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

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public m(String str, q qVar, int i, X4.e eVar, int i5, boolean z5) {
        super(str, true);
        this.f2692e = qVar;
        this.f2693f = i;
        this.f2694g = eVar;
        this.f2695h = i5;
    }

    @Override // N4.a
    public final long a() {
        try {
            C c6 = this.f2692e.f2721u;
            X4.e eVar = this.f2694g;
            int i = this.f2695h;
            c6.getClass();
            eVar.r(i);
            this.f2692e.f2711G.m(this.f2693f, EnumC0183b.CANCEL);
            synchronized (this.f2692e) {
                this.f2692e.I.remove(Integer.valueOf(this.f2693f));
            }
            return -1L;
        } catch (IOException unused) {
            return -1L;
        }
    }
}
