package okhttp3.n0.http2;

import kotlin.Metadata;
import okhttp3.n0.concurrent.Task;

/* JADX INFO: loaded from: classes2.dex */
@Metadata(d1 = {"\u0000\u0011\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\t\n\u0000*\u0001\u0000\b\n\u0018\u00002\u00020\u0001J\b\u0010\u0002\u001a\u00020\u0003H\u0016¨\u0006\u0004¸\u0006\u0000"}, d2 = {"okhttp3/internal/concurrent/TaskQueue$execute$1", "Lokhttp3/internal/concurrent/Task;", "runOnce", "", "okhttp"}, k = 1, mv = {1, 6, 0}, xi = 48)
public final class k extends Task {

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

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

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

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public k(String str, boolean z2, Http2Connection http2Connection, int i2, ErrorCode errorCode) {
        super(str, z2);
        this.f9962e = http2Connection;
        this.f9963f = i2;
        this.f9964g = errorCode;
    }

    @Override // okhttp3.n0.concurrent.Task
    public long a() {
        this.f9962e.f9920y.c(this.f9963f, this.f9964g);
        synchronized (this.f9962e) {
            this.f9962e.O.remove(Integer.valueOf(this.f9963f));
        }
        return -1L;
    }
}
