package okhttp3.n0.connection;

import java.security.cert.Certificate;
import java.util.List;
import kotlin.Metadata;
import kotlin.jvm.functions.Function0;
import kotlin.jvm.internal.Lambda;
import kotlin.jvm.internal.o;
import okhttp3.Address;
import okhttp3.CertificatePinner;
import okhttp3.Handshake;
import okhttp3.n0.tls.CertificateChainCleaner;

/* JADX INFO: loaded from: classes2.dex */
@Metadata(d1 = {"\u0000\f\n\u0000\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0000\u0010\u0000\u001a\b\u0012\u0004\u0012\u00020\u00020\u0001H\n¢\u0006\u0002\b\u0003"}, d2 = {"<anonymous>", "", "Ljava/security/cert/Certificate;", "invoke"}, k = 3, mv = {1, 6, 0}, xi = 48)
public final class g extends Lambda implements Function0<List<? extends Certificate>> {

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    public final /* synthetic */ CertificatePinner f9804f;

    /* JADX INFO: renamed from: m, reason: collision with root package name */
    public final /* synthetic */ Handshake f9805m;

    /* JADX INFO: renamed from: n, reason: collision with root package name */
    public final /* synthetic */ Address f9806n;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public g(CertificatePinner certificatePinner, Handshake handshake, Address address) {
        super(0);
        this.f9804f = certificatePinner;
        this.f9805m = handshake;
        this.f9806n = address;
    }

    @Override // kotlin.jvm.functions.Function0
    public List<? extends Certificate> invoke() {
        CertificateChainCleaner certificateChainCleaner = this.f9804f.f9634d;
        o.c(certificateChainCleaner);
        return certificateChainCleaner.a(this.f9805m.c(), this.f9806n.f9541i.f10091f);
    }
}
