package V2;

import m3.AbstractC2467b;
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import w4.C3137A;

/* JADX INFO: renamed from: V2.j0, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public final class C0678j0 extends C4.j implements J4.e {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final /* synthetic */ String f7822a;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public C0678j0(String str, A4.d dVar) {
        super(2, dVar);
        this.f7822a = str;
    }

    @Override // C4.a
    public final A4.d create(Object obj, A4.d dVar) {
        return new C0678j0(this.f7822a, dVar);
    }

    @Override // J4.e
    public final Object invoke(Object obj, Object obj2) {
        return ((C0678j0) create((V4.C) obj, (A4.d) obj2)).invokeSuspend(C3137A.f25453a);
    }

    @Override // C4.a
    public final Object invokeSuspend(Object obj) {
        boolean zC;
        B4.a aVar = B4.a.f492a;
        AbstractC2467b.l(obj);
        try {
            Request.Builder builder = new Request.Builder();
            builder.i(this.f7822a);
            builder.g("HEAD", null);
            Response responseD = ((OkHttpClient) AbstractC0693m0.f7895d.getValue()).a(builder.b()).d();
            try {
                zC = responseD.c();
                responseD.close();
            } finally {
            }
        } catch (Exception unused) {
            zC = false;
        }
        return Boolean.valueOf(zC);
    }
}
