package okhttp3.internal.cache;

import c.j;
import c.q.c.b;
import c.q.d.k;
import java.io.IOException;
import okhttp3.internal.cache.DiskLruCache;

/* JADX INFO: compiled from: DiskLruCache.kt */
/* JADX INFO: loaded from: classes.dex */
final class DiskLruCache$Editor$newSink$$inlined$synchronized$lambda$1 extends k implements b<IOException, j> {
    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 i) {
        super(1);
        this.this$0 = editor;
        this.$index$inlined = i;
    }

    @Override // c.q.c.b
    public /* bridge */ /* synthetic */ j invoke(IOException iOException) {
        invoke2(iOException);
        return j.f1417a;
    }

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