package com.google.android.gms.internal.ads;

import android.content.pm.ApplicationInfo;
import android.content.pm.PackageInfo;
import android.os.Bundle;
import androidx.annotation.Nullable;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.Objects;

/* JADX INFO: loaded from: classes2.dex */
public final class be0 {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final cd1 f9507a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final q7.a f9508b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final ApplicationInfo f9509c;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public final String f9510d;

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public final List f9511e;

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    public final PackageInfo f9512f;

    /* JADX INFO: renamed from: g, reason: collision with root package name */
    public final gg2 f9513g;

    /* JADX INFO: renamed from: h, reason: collision with root package name */
    public final String f9514h;

    /* JADX INFO: renamed from: i, reason: collision with root package name */
    public final p61 f9515i;

    /* JADX INFO: renamed from: j, reason: collision with root package name */
    public final p7.n0 f9516j;

    /* JADX INFO: renamed from: k, reason: collision with root package name */
    public final ib1 f9517k;

    /* JADX INFO: renamed from: l, reason: collision with root package name */
    public final int f9518l;

    /* JADX INFO: renamed from: m, reason: collision with root package name */
    public final yi0 f9519m;

    public be0(cd1 cd1Var, q7.a aVar, ApplicationInfo applicationInfo, String str, List list, @Nullable PackageInfo packageInfo, gg2 gg2Var, p7.n0 n0Var, String str2, p61 p61Var, ib1 ib1Var, yi0 yi0Var, int i10) {
        this.f9507a = cd1Var;
        this.f9508b = aVar;
        this.f9509c = applicationInfo;
        this.f9510d = str;
        this.f9511e = list;
        this.f9512f = packageInfo;
        this.f9513g = gg2Var;
        this.f9514h = str2;
        this.f9515i = p61Var;
        this.f9516j = n0Var;
        this.f9517k = ib1Var;
        this.f9519m = yi0Var;
        this.f9518l = i10;
    }

    public final vc1 a(Bundle bundle) {
        this.f9519m.zza();
        zzfno zzfnoVar = zzfno.SIGNALS;
        cd1 cd1Var = this.f9507a;
        Objects.requireNonNull(cd1Var);
        return new xc1(cd1Var, zzfnoVar, null, yc1.f18806d, Collections.emptyList(), this.f9515i.zza(new zd0(new Bundle(), new Bundle()), bundle, this.f9518l == 2)).f();
    }

    public final vc1 b() {
        Bundle bundle = new Bundle();
        int i10 = 0;
        if (((Boolean) n7.y.f31093e.f31096c.b(ao.B2)).booleanValue()) {
            Bundle bundle2 = this.f9517k.f12466o;
            if (bundle2 != null) {
                bundle.putAll(bundle2);
            }
            bundle.putBoolean("ls", false);
        }
        vc1 vc1VarA = a(bundle);
        zzfno zzfnoVar = zzfno.REQUEST_PARCEL;
        com.google.common.util.concurrent.w[] wVarArr = {vc1VarA, (com.google.common.util.concurrent.w) this.f9513g.zzb()};
        cd1 cd1Var = this.f9507a;
        cd1Var.getClass();
        return new vu0(cd1Var, zzfnoVar, Arrays.asList(wVarArr)).l(new ae0(this, vc1VarA, bundle, i10)).f();
    }
}
