package okhttp3.internal.cache;

import h.i;
import h.r;
import h.x.d.k;
import h.x.d.l;
import java.io.IOException;
import okhttp3.internal.cache.DiskLruCache;

/* JADX INFO: compiled from: DiskLruCache.kt */
/* JADX INFO: loaded from: classes.dex */
@i(bv = {1, 0, 3}, d1 = {"\u0000\u0010\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0000\u001a\u00020\u00012\u0006\u0010\u0002\u001a\u00020\u0003H\n¢\u0006\u0002\b\u0004¨\u0006\u0005"}, d2 = {"<anonymous>", "", "it", "Ljava/io/IOException;", "invoke", "okhttp3/internal/cache/DiskLruCache$Editor$newSink$1$1"}, k = 3, mv = {1, 4, 0}, pn = "", xi = 0, xs = "")
final class DiskLruCache$Editor$newSink$$inlined$synchronized$lambda$1 extends l implements h.x.c.l<IOException, r> {
    final /* synthetic */ int $index$inlined;
    final /* synthetic */ DiskLruCache.Editor this$0;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    DiskLruCache$Editor$newSink$$inlined$synchronized$lambda$1(DiskLruCache.Editor editor, int i2) {
        super(1);
        this.this$0 = editor;
        this.$index$inlined = i2;
    }

    @Override // h.x.c.l
    public /* bridge */ /* synthetic */ r invoke(IOException iOException) {
        invoke2(iOException);
        return r.a;
    }

    /* JADX INFO: renamed from: invoke, reason: avoid collision after fix types in other method */
    public final void invoke2(IOException iOException) {
        k.d(iOException, "it");
        synchronized (this.this$0.this$0) {
            this.this$0.detach$okhttp();
            r rVar = r.a;
        }
    }
}
