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

import android.content.Context;
import androidx.annotation.Nullable;
import com.google.android.gms.ads.internal.overlay.AdOverlayInfoParcel;

/* JADX INFO: loaded from: classes2.dex */
public final class ux0 implements hl0 {

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

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

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final com.google.common.util.concurrent.w f17422c;

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

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

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

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

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

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

    /* JADX INFO: renamed from: j, reason: collision with root package name */
    public final cr0 f17429j;

    public ux0(Context context, q7.a aVar, e30 e30Var, wa1 wa1Var, x50 x50Var, ib1 ib1Var, boolean z10, at atVar, hw0 hw0Var, cr0 cr0Var) {
        this.f17420a = context;
        this.f17421b = aVar;
        this.f17422c = e30Var;
        this.f17423d = wa1Var;
        this.f17424e = x50Var;
        this.f17425f = ib1Var;
        this.f17426g = atVar;
        this.f17427h = z10;
        this.f17428i = hw0Var;
        this.f17429j = cr0Var;
    }

    /* JADX WARN: Removed duplicated region for block: B:13:0x0033  */
    @Override // com.google.android.gms.internal.ads.hl0
    /*
        Code decompiled incorrectly, please refer to instructions dump.
    */
    public final void zza(boolean z10, Context context, cf0 cf0Var) {
        boolean z11;
        float f10;
        float f11;
        boolean z12;
        m80 m80Var = (m80) ih1.B1(this.f17422c);
        x50 x50Var = this.f17424e;
        x50Var.t0(true);
        at atVar = this.f17426g;
        boolean z13 = this.f17427h;
        boolean zA = z13 ? atVar.a(false) : false;
        p7.r0 r0Var = m7.n.C.f30464c;
        boolean zH = p7.r0.h(this.f17420a);
        if (z13) {
            synchronized (atVar) {
                z12 = atVar.f9278b;
            }
            z11 = z12;
        }
        if (z13) {
            synchronized (atVar) {
                f11 = atVar.f9279c;
            }
            f10 = f11;
        } else {
            f10 = 0.0f;
        }
        wa1 wa1Var = this.f17423d;
        m7.h hVar = new m7.h(zA, zH, z11, f10, z10, wa1Var.L, false);
        if (cf0Var != null) {
            cf0Var.I0();
        }
        el0 el0Var = (el0) m80Var.f14007b0.zzb();
        int i10 = wa1Var.N;
        q7.a aVar = this.f17421b;
        String str = wa1Var.f18019y;
        ab1 ab1Var = wa1Var.zzs;
        com.google.android.gms.ads.internal.overlay.m.zza(context, new AdOverlayInfoParcel(el0Var, x50Var, i10, aVar, str, hVar, ab1Var.zzb, ab1Var.zza, this.f17425f.f12455d, cf0Var, wa1Var.b() ? this.f17428i : null, x50Var.zzn()), true, this.f17429j);
    }

    @Override // com.google.android.gms.internal.ads.hl0
    @Nullable
    public final wa1 zzb() {
        return this.f17423d;
    }
}
