package okhttp3.internal.cache;

import g.a0;
import g.h0.b.l;
import g.h0.c.m;
import g.i;
import java.io.IOException;
import okhttp3.internal.cache.DiskLruCache;

/* JADX INFO: compiled from: DiskLruCache.kt */
/* JADX INFO: loaded from: classes.dex */
@i
public final class DiskLruCache$Editor$newSink$$inlined$synchronized$lambda$1 extends m implements l<IOException, a0> {
    public final /* synthetic */ int $index$inlined;
    public final /* synthetic */ DiskLruCache.Editor this$0;

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

    @Override // g.h0.b.l
    public /* bridge */ /* synthetic */ a0 invoke(IOException iOException) {
        invoke2(iOException);
        return a0.a;
    }

    /* JADX INFO: renamed from: invoke, reason: avoid collision after fix types in other method */
    public final void invoke2(IOException iOException) {
        g.h0.c.l.f(iOException, "it");
        synchronized (this.this$0.this$0) {
            this.this$0.detach$okhttp();
        }
    }
}
