package p138.p176.p177.p242.p265.p266;

import java.math.BigDecimal;
import p138.p176.p177.p242.p258.p263.C4490;
import p138.p176.p177.p242.p258.p263.C4588;
import p138.p176.p177.p242.p258.p263.C4593;
import p138.p176.p177.p242.p258.p263.C4665;

/* JADX INFO: renamed from: ދ.ހ.֏.ހ.ބ.֏.ཛ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes.dex */
public final class C5000 extends AbstractC4886 {

    /* JADX INFO: renamed from: ބ, reason: contains not printable characters */
    public C4593 f15123;

    /* JADX INFO: renamed from: ޅ, reason: contains not printable characters */
    public final /* synthetic */ C4957 f15124;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public C5000(C4957 c4957, String str, int i, C4593 c4593) {
        super(str, i);
        this.f15124 = c4957;
        this.f15123 = c4593;
    }

    @Override // p138.p176.p177.p242.p265.p266.AbstractC4886
    /* JADX INFO: renamed from: ֏ */
    public final int mo8030() {
        return this.f15123.zzd;
    }

    /* JADX WARN: Type inference fix 'apply assigned field type' failed
    java.lang.UnsupportedOperationException: ArgType.getObject(), call class: class jadx.core.dex.instructions.args.ArgType$UnknownArg
    	at jadx.core.dex.instructions.args.ArgType.getObject(ArgType.java:593)
    	at jadx.core.dex.attributes.nodes.ClassTypeVarsAttr.getTypeVarsMapFor(ClassTypeVarsAttr.java:35)
    	at jadx.core.dex.nodes.utils.TypeUtils.replaceClassGenerics(TypeUtils.java:177)
    	at jadx.core.dex.visitors.typeinference.FixTypesVisitor.insertExplicitUseCast(FixTypesVisitor.java:397)
    	at jadx.core.dex.visitors.typeinference.FixTypesVisitor.tryFieldTypeWithNewCasts(FixTypesVisitor.java:359)
    	at jadx.core.dex.visitors.typeinference.FixTypesVisitor.applyFieldType(FixTypesVisitor.java:309)
    	at jadx.core.dex.visitors.typeinference.FixTypesVisitor.visit(FixTypesVisitor.java:94)
     */
    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public final boolean m8528(Long l, Long l2, C4665 c4665, boolean z) {
        boolean z2 = C4490.m7544() && this.f15124.f14588.f15015.m8183(this.f14695, C4915.f14886);
        C4593 c4593 = this.f15123;
        boolean z3 = c4593.zzg;
        boolean z4 = c4593.zzh;
        boolean z5 = c4593.zzi;
        boolean z6 = z3 || z4 || z5;
        Boolean boolM8212 = null;
        Boolean boolM8215 = null;
        boolM8212 = null;
        boolM8212 = null;
        boolM8212 = null;
        boolM8212 = null;
        if (z && !z6) {
            this.f15124.mo8165().f14452.m8036("Property filter already evaluated true and it is not associated with an enhanced audience. audience ID, filter ID", Integer.valueOf(this.f14696), this.f15123.m7624() ? Integer.valueOf(this.f15123.zzd) : null);
            return true;
        }
        C4588 c4588 = this.f15123.zzf;
        if (c4588 == null) {
            c4588 = C4588.zzh;
        }
        boolean z7 = c4588.zzf;
        if (!((c4665.zzc & 8) != 0)) {
            if (!((c4665.zzc & 32) != 0)) {
                if (!((c4665.zzc & 4) != 0)) {
                    this.f15124.mo8165().f14447.m8035("User property has no value, property", this.f15124.m8161().m8114(c4665.zze));
                } else if (c4588.m7616()) {
                    boolM8212 = AbstractC4886.m8212(AbstractC4886.m8214(c4665.zzf, c4588.m7617(), this.f15124.mo8165()), z7);
                } else if (!c4588.m7618()) {
                    this.f15124.mo8165().f14447.m8035("No string or number filter defined. property", this.f15124.m8161().m8114(c4665.zze));
                } else if (C4833.m8125(c4665.zzf)) {
                    boolM8212 = AbstractC4886.m8212(AbstractC4886.m8213(c4665.zzf, c4588.m7619()), z7);
                } else {
                    this.f15124.mo8165().f14447.m8036("Invalid user property value for Numeric number filter. property, value", this.f15124.m8161().m8114(c4665.zze), c4665.zzf);
                }
            } else if (c4588.m7618()) {
                double d = c4665.zzi;
                try {
                    boolM8215 = AbstractC4886.m8215(new BigDecimal(d), c4588.m7619(), Math.ulp(d));
                } catch (NumberFormatException unused) {
                }
                boolM8212 = AbstractC4886.m8212(boolM8215, z7);
            } else {
                this.f15124.mo8165().f14447.m8035("No number filter for double property. property", this.f15124.m8161().m8114(c4665.zze));
            }
        } else if (c4588.m7618()) {
            boolM8212 = AbstractC4886.m8212(AbstractC4886.m8211(c4665.zzg, c4588.m7619()), z7);
        } else {
            this.f15124.mo8165().f14447.m8035("No number filter for long property. property", this.f15124.m8161().m8114(c4665.zze));
        }
        this.f15124.mo8165().f14452.m8035("Property filter result", boolM8212 == null ? "null" : boolM8212);
        if (boolM8212 == null) {
            return false;
        }
        this.f14697 = true;
        if (z5 && !boolM8212.booleanValue()) {
            return true;
        }
        if (!z || this.f15123.zzg) {
            this.f14698 = boolM8212;
        }
        if (boolM8212.booleanValue() && z6) {
            if ((c4665.zzc & 1) != 0) {
                long jLongValue = c4665.zzd;
                if (l != null) {
                    jLongValue = l.longValue();
                }
                if (z2) {
                    C4593 c45932 = this.f15123;
                    if (c45932.zzg && !c45932.zzh && l2 != null) {
                        jLongValue = l2.longValue();
                    }
                }
                if (this.f15123.zzh) {
                    this.f14700 = Long.valueOf(jLongValue);
                } else {
                    this.f14699 = Long.valueOf(jLongValue);
                }
            }
        }
        return true;
    }

    @Override // p138.p176.p177.p242.p265.p266.AbstractC4886
    /* JADX INFO: renamed from: ؠ */
    public final boolean mo8032() {
        return true;
    }

    @Override // p138.p176.p177.p242.p265.p266.AbstractC4886
    /* JADX INFO: renamed from: ހ */
    public final boolean mo8033() {
        return false;
    }
}
