package okhttp3.internal.cache;

import java.io.IOException;
import kotlin.jvm.internal.m;
import n1.s;
import okhttp3.internal.cache.DiskLruCache;
import y1.l;

/* JADX INFO: loaded from: classes2.dex */
final class DiskLruCache$Editor$newSink$$inlined$synchronized$lambda$1 extends m implements l {
    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 // y1.l
    public /* bridge */ /* synthetic */ Object invoke(Object obj) {
        invoke((IOException) obj);
        return s.f5871a;
    }

    public final void invoke(IOException it) {
        kotlin.jvm.internal.l.e(it, "it");
        synchronized (this.this$0.this$0) {
            this.this$0.detach$okhttp();
            s sVar = s.f5871a;
        }
    }
}
