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

import android.os.Bundle;

/* JADX INFO: loaded from: classes2.dex */
public final class u51 implements m61 {

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

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final nj1 f17084b;

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

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

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public final boolean f17087e = false;

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

    public u51(nj1 nj1Var, nj1 nj1Var2, boolean z10, boolean z11, boolean z12) {
        this.f17083a = nj1Var;
        this.f17084b = nj1Var2;
        this.f17085c = z10;
        this.f17086d = z11;
        this.f17088f = z12;
    }

    /* JADX WARN: Removed duplicated region for block: B:12:0x003c  */
    /* JADX WARN: Removed duplicated region for block: B:20:0x006a  */
    /* JADX WARN: Removed duplicated region for block: B:23:0x007e  */
    /* JADX WARN: Removed duplicated region for block: B:9:0x0028  */
    @Override // com.google.android.gms.internal.ads.m61
    /*
        Code decompiled incorrectly, please refer to instructions dump.
    */
    public final void zza(Object obj) {
        Bundle bundle = ((zd0) obj).f19235a;
        if (this.f17087e) {
            return;
        }
        Bundle bundleA = mb1.a(bundle, "pii");
        boolean z10 = this.f17088f;
        if (!z10) {
            if (!((Boolean) n7.y.f31093e.f31096c.b(ao.I3)).booleanValue()) {
                if (z10) {
                    if (((Boolean) n7.y.f31093e.f31096c.b(ao.K3)).booleanValue()) {
                        nj1 nj1Var = this.f17083a;
                        if (nj1Var.f14649a != null) {
                            long j10 = nj1Var.f14650b;
                            if (j10 > 0) {
                                bundleA.putString("paidv1_id_android", nj1Var.zza());
                                bundleA.putLong("paidv1_creation_time_android", j10);
                            }
                        }
                    }
                }
            }
        }
        if (!z10) {
            if (!((Boolean) n7.y.f31093e.f31096c.b(ao.J3)).booleanValue()) {
                if (z10) {
                    if (((Boolean) n7.y.f31093e.f31096c.b(ao.L3)).booleanValue()) {
                        nj1 nj1Var2 = this.f17084b;
                        if (nj1Var2.f14649a != null) {
                            long j11 = nj1Var2.f14650b;
                            if (j11 > 0) {
                                bundleA.putString("paidv2_id_android", nj1Var2.zza());
                                bundleA.putLong("paidv2_creation_time_android", j11);
                            }
                        }
                        bundleA.putBoolean("paidv2_pub_option_android", this.f17085c);
                        bundleA.putBoolean("paidv2_user_option_android", this.f17086d);
                    }
                }
            }
        }
        if (bundleA.isEmpty()) {
            return;
        }
        bundle.putBundle("pii", bundleA);
    }

    public u51(boolean z10) {
        this.f17088f = z10;
    }
}
