package defpackage;

import android.app.BroadcastOptions;
import android.content.ContentValues;
import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteException;
import android.net.Uri;
import android.os.Build;
import android.os.Bundle;
import android.os.SystemClock;
import android.text.TextUtils;
import android.util.Log;
import com.google.android.gms.internal.measurement.zzaeh;
import j$.util.DesugarCollections;
import j$.util.Objects;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.RandomAccessFile;
import java.io.Serializable;
import java.math.BigInteger;
import java.net.MalformedURLException;
import java.net.URI;
import java.net.URISyntaxException;
import java.net.URL;
import java.nio.ByteBuffer;
import java.nio.channels.FileChannel;
import java.nio.channels.FileLock;
import java.nio.channels.OverlappingFileLockException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.EnumMap;
import java.util.HashMap;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
import java.util.Locale;
import java.util.Map;
import java.util.concurrent.atomic.AtomicBoolean;

/* renamed from: ˀˇʽ, reason: contains not printable characters */
/* loaded from: classes3.dex */
public final class C0524 implements InterfaceC2183 {

    /* renamed from: ʾᵻᵭٴ, reason: contains not printable characters */
    public static volatile C0524 f2703;

    /* renamed from: ˀˁᵨ, reason: contains not printable characters */
    public C5465 f2704;

    /* renamed from: ˀᵗᵝᵭ, reason: contains not printable characters */
    public final C1680 f2705;

    /* renamed from: ˀᵗᵩ, reason: contains not printable characters */
    public boolean f2706;

    /* renamed from: ˁˑᵰ, reason: contains not printable characters */
    public ArrayList f2707;

    /* renamed from: ˆᵼᵷˊ, reason: contains not printable characters */
    public FileLock f2708;

    /* renamed from: ˊʽˎ, reason: contains not printable characters */
    public final HashMap f2709;

    /* renamed from: ˊʾˊ, reason: contains not printable characters */
    public String f2710;

    /* renamed from: ˊᵸˊ, reason: contains not printable characters */
    public boolean f2711;

    /* renamed from: ˌᵪ, reason: contains not printable characters */
    public ArrayList f2712;

    /* renamed from: ˌᵹᵨˑ, reason: contains not printable characters */
    public long f2713;

    /* renamed from: ˎᵬˀ, reason: contains not printable characters */
    public final HashMap f2715;

    /* renamed from: ˑᵝﹳᵜ, reason: contains not printable characters */
    public boolean f2716;

    /* renamed from: ˑᵥˁ, reason: contains not printable characters */
    public C4382 f2717;

    /* renamed from: ᐧﾞ, reason: contains not printable characters */
    public boolean f2718;

    /* renamed from: ᵙᵢᵨᵳ, reason: contains not printable characters */
    public int f2719;

    /* renamed from: ᵛˈᵤ, reason: contains not printable characters */
    public FileChannel f2720;

    /* renamed from: ᵡˎ, reason: contains not printable characters */
    public C5034 f2722;

    /* renamed from: ᵡᵘˎʽ, reason: contains not printable characters */
    public int f2723;

    /* renamed from: ᵡⁱᵥ, reason: contains not printable characters */
    public C3365 f2725;

    /* renamed from: ᵢˇᵭ, reason: contains not printable characters */
    public final C5034 f2726;

    /* renamed from: ᵤᵙᵷ, reason: contains not printable characters */
    public C2808 f2727;

    /* renamed from: ᵧـˌᵎ, reason: contains not printable characters */
    public final C4205 f2728;

    /* renamed from: ᵧᵾˀˈ, reason: contains not printable characters */
    public final C3245 f2729;

    /* renamed from: ᵫᵮʾ, reason: contains not printable characters */
    public final HashMap f2730;

    /* renamed from: ᵮᵠـˌ, reason: contains not printable characters */
    public C4679 f2731;

    /* renamed from: ᵳᵹᵺˋ, reason: contains not printable characters */
    public ArrayList f2732;

    /* renamed from: ᵶʔᵢˊ, reason: contains not printable characters */
    public long f2733;

    /* renamed from: ᵷᵱ, reason: contains not printable characters */
    public C4982 f2734;

    /* renamed from: ᵾᵬ, reason: contains not printable characters */
    public C3924 f2737;

    /* renamed from: ᵿʗᵝʽ, reason: contains not printable characters */
    public C5218 f2738;

    /* renamed from: ᵺʙ, reason: contains not printable characters */
    public final AtomicBoolean f2735 = new AtomicBoolean(false);

    /* renamed from: ﾞⁱ, reason: contains not printable characters */
    public final LinkedList f2739 = new LinkedList();

    /* renamed from: ᵽʛ, reason: contains not printable characters */
    public final HashMap f2736 = new HashMap();

    /* renamed from: ᵠᵿː, reason: contains not printable characters */
    public final C4457 f2721 = new C4457(14, this);

    /* renamed from: ᵡᵶᵡ, reason: contains not printable characters */
    public long f2724 = -1;

    /* renamed from: ˎˑː, reason: contains not printable characters */
    public final C1216 f2714 = new C1216(this);

    public C0524(C4457 c4457) {
        this.f2728 = C4205.m9131((Context) c4457.f16625, null, null, null);
        C1680 c1680 = new C1680(this);
        c1680.m11200();
        this.f2705 = c1680;
        C5034 c5034 = new C5034(this, 0);
        c5034.m11200();
        this.f2726 = c5034;
        C3245 c3245 = new C3245(this);
        c3245.m11200();
        this.f2729 = c3245;
        this.f2709 = new HashMap();
        this.f2715 = new HashMap();
        this.f2730 = new HashMap();
        mo2307().m4043(new RunnableC5339(this, 11, c4457));
    }

    /* renamed from: ˌᵪ, reason: contains not printable characters */
    public static final boolean m2246(C1331 c1331) {
        return !TextUtils.isEmpty(c1331.f5471);
    }

    /* renamed from: ˎˑː, reason: contains not printable characters */
    public static final void m2247(C0245 c0245, String str) {
        List listM1555 = c0245.m1555();
        for (int i = 0; i < listM1555.size(); i++) {
            if (str.equals(((C5147) listM1555.get(i)).m10615())) {
                c0245.m1560(i);
                return;
            }
        }
    }

    /* renamed from: ˑᵥˁ, reason: contains not printable characters */
    public static final void m2248(C0245 c0245, int i, String str) {
        List listM1555 = c0245.m1555();
        for (int i2 = 0; i2 < listM1555.size(); i2++) {
            if ("_err".equals(((C5147) listM1555.get(i2)).m10615())) {
                return;
            }
        }
        C1513 c1513M10608 = C5147.m10608();
        c1513M10608.m4441("_err");
        c1513M10608.m4443(i);
        C5147 c5147 = (C5147) c1513M10608.m11118();
        C1513 c1513M106082 = C5147.m10608();
        c1513M106082.m4441("_ev");
        c1513M106082.m4442(str);
        C5147 c51472 = (C5147) c1513M106082.m11118();
        c0245.m1553(c5147);
        c0245.m1553(c51472);
    }

    /* renamed from: ᵛˈᵤ, reason: contains not printable characters */
    public static void m2249(Context context, Intent intent) {
        if (Build.VERSION.SDK_INT < 34) {
            context.sendBroadcast(intent);
        } else {
            context.sendBroadcast(intent, null, BroadcastOptions.makeBasic().setShareIdentityEnabled(true).toBundle());
        }
    }

    /* renamed from: ᵡˎ, reason: contains not printable characters */
    public static C0524 m2250(Context context) {
        ᵩʛʽ.ᵝᵵᵺ(context);
        ᵩʛʽ.ᵝᵵᵺ(context.getApplicationContext());
        if (f2703 == null) {
            synchronized (C0524.class) {
                try {
                    if (f2703 == null) {
                        f2703 = new C0524(new C4457(context));
                    }
                } finally {
                }
            }
        }
        return f2703;
    }

    /* renamed from: ᵡᵶᵡ, reason: contains not printable characters */
    public static final Boolean m2251(C1331 c1331) {
        Boolean bool = c1331.f5455;
        String str = c1331.f5461;
        if (!TextUtils.isEmpty(str)) {
            int iOrdinal = ((EnumC1507) C4457.m9477(str).f16625).ordinal();
            if (iOrdinal == 0 || iOrdinal == 1) {
                return null;
            }
            if (iOrdinal == 2) {
                return Boolean.TRUE;
            }
            if (iOrdinal == 3) {
                return Boolean.FALSE;
            }
        }
        return bool;
    }

    /* renamed from: ᵳᵹᵺˋ, reason: contains not printable characters */
    public static final void m2252(AbstractC5564 abstractC5564) {
        if (abstractC5564 == null) {
            ᵹˉᵞ.ᵳٴᵶ("Upload Component not created");
        } else {
            if (abstractC5564.f20860) {
                return;
            }
            ᵹˉᵞ.ᵳٴᵶ("Component not initialized: ".concat(String.valueOf(abstractC5564.getClass())));
        }
    }

    /* renamed from: ʽᵢˊ, reason: contains not printable characters */
    public final void m2253(C1331 c1331) throws Throwable {
        mo2307().m4042();
        m2299();
        String str = c1331.f5474;
        ᵩʛʽ.ˏˋٴ(str);
        C4878 c4878M10317 = C4878.m10317(c1331.f5459);
        mo2272().f6935.m6037("Setting DMA consent for package", str, c4878M10317);
        mo2307().m4042();
        m2299();
        EnumC1507 enumC1507M10318 = C4878.m10316(100, m2255(str)).m10318();
        this.f2715.put(str, c4878M10317);
        C5218 c5218 = this.f2738;
        m2252(c5218);
        ᵩʛʽ.ᵝᵵᵺ(str);
        ᵩʛʽ.ᵝᵵᵺ(c4878M10317);
        c5218.ˀᵗᵝᵭ();
        c5218.m11201();
        C4500 c4500M10806 = c5218.m10806(str);
        C4500 c4500 = C4500.f16775;
        if (c4500M10806 == c4500) {
            c5218.m10808(str, c4500);
        }
        ContentValues contentValues = new ContentValues();
        contentValues.put("app_id", str);
        contentValues.put("dma_consent_settings", c4878M10317.f18169);
        c5218.m10782(contentValues);
        EnumC1507 enumC1507M103182 = C4878.m10316(100, m2255(str)).m10318();
        mo2307().m4042();
        m2299();
        EnumC1507 enumC1507 = EnumC1507.f6047;
        EnumC1507 enumC15072 = EnumC1507.f6048;
        boolean z = enumC1507M10318 == enumC15072 && enumC1507M103182 == enumC1507;
        boolean z2 = enumC1507M10318 == enumC1507 && enumC1507M103182 == enumC15072;
        if (z || z2) {
            mo2272().f6935.m6039(str, "Generated _dcu event for");
            Bundle bundle = new Bundle();
            C5218 c52182 = this.f2738;
            m2252(c52182);
            if (c52182.m10820(m2262(), str, false, false, false, false).f5794 < m2254().m5346(str, AbstractC5018.f18704)) {
                bundle.putLong("_r", 1L);
                C5218 c52183 = this.f2738;
                m2252(c52183);
                mo2272().f6935.m6037("_dcu realtime event count", str, Long.valueOf(c52183.m10820(m2262(), str, false, false, true, false).f5794));
            }
            this.f2721.mo8815(str, "_dcu", bundle);
        }
    }

    /* renamed from: ʾᵻᵭٴ, reason: contains not printable characters */
    public final C1904 m2254() {
        C4205 c4205 = this.f2728;
        ᵩʛʽ.ᵝᵵᵺ(c4205);
        return c4205.f15726;
    }

    /* JADX WARN: Multi-variable type inference failed */
    /* renamed from: ʿᵘˆ, reason: contains not printable characters */
    public final Bundle m2255(String str) throws Throwable {
        mo2307().m4042();
        m2299();
        C3245 c3245 = this.f2729;
        m2252(c3245);
        if (c3245.m7591(str) == null) {
            return null;
        }
        Bundle bundle = new Bundle();
        C4500 c4500M2301 = m2301(str);
        Bundle bundle2 = new Bundle();
        Iterator it = c4500M2301.f16776.entrySet().iterator();
        while (true) {
            if (!it.hasNext()) {
                break;
            }
            Map.Entry entry = (Map.Entry) it.next();
            int iOrdinal = ((EnumC1507) entry.getValue()).ordinal();
            String str2 = iOrdinal != 2 ? iOrdinal != 3 ? null : "granted" : "denied";
            if (str2 != null) {
                bundle2.putString(((EnumC1013) entry.getKey()).f4455, str2);
            }
        }
        bundle.putAll(bundle2);
        C4878 c4878M2298 = m2298(str, m2279(str), c4500M2301, new C4457(6));
        Bundle bundle3 = new Bundle();
        for (Map.Entry entry2 : c4878M2298.f18166.entrySet()) {
            int iOrdinal2 = ((EnumC1507) entry2.getValue()).ordinal();
            String str3 = iOrdinal2 != 2 ? iOrdinal2 != 3 ? null : "granted" : "denied";
            if (str3 != null) {
                bundle3.putString(((EnumC1013) entry2.getKey()).f4455, str3);
            }
        }
        Boolean bool = c4878M2298.f18167;
        if (bool != null) {
            bundle3.putString("is_dma_region", bool.toString());
        }
        String str4 = c4878M2298.f18170;
        if (str4 != null) {
            bundle3.putString("cps_display_str", str4);
        }
        bundle.putAll(bundle3);
        C5218 c5218 = this.f2738;
        m2252(c5218);
        C5428 c5428M10826 = c5218.m10826(str, "_npa");
        bundle.putString("ad_personalization", 1 != (c5428M10826 != null ? c5428M10826.f20349.equals(1L) : m2296(str, new C4457(6))) ? "granted" : "denied");
        return bundle;
    }

    /* renamed from: ˀˁᵨ, reason: contains not printable characters */
    public final void m2256(C3122 c3122, C1331 c1331) throws Throwable {
        C2850 c2850;
        ᵩʛʽ.ˏˋٴ(c3122.f11892);
        ᵩʛʽ.ᵝᵵᵺ(c3122.f11890);
        ᵩʛʽ.ᵝᵵᵺ(c3122.f11895);
        ᵩʛʽ.ˏˋٴ(c3122.f11895.f14363);
        mo2307().m4042();
        m2299();
        if (m2246(c1331)) {
            if (!c1331.f5467) {
                m2268(c1331);
                return;
            }
            C3122 c31222 = new C3122(c3122);
            boolean z = false;
            c31222.f11891 = false;
            C5218 c5218 = this.f2738;
            m2252(c5218);
            c5218.m10803();
            try {
                C5218 c52182 = this.f2738;
                m2252(c52182);
                String str = c31222.f11892;
                ᵩʛʽ.ᵝᵵᵺ(str);
                C3122 c3122M10785 = c52182.m10785(str, c31222.f11895.f14363);
                C4205 c4205 = this.f2728;
                if (c3122M10785 != null && !c3122M10785.f11890.equals(c31222.f11890)) {
                    mo2272().f6934.m6040("Updating a conditional user property with different origin. name, origin, origin (from DB)", c4205.f15705.m6999(c31222.f11895.f14363), c31222.f11890, c3122M10785.f11890);
                }
                if (c3122M10785 != null && c3122M10785.f11891) {
                    c31222.f11890 = c3122M10785.f11890;
                    c31222.f11894 = c3122M10785.f11894;
                    c31222.f11888 = c3122M10785.f11888;
                    c31222.f11889 = c3122M10785.f11889;
                    c31222.f11887 = c3122M10785.f11887;
                    c31222.f11891 = true;
                    C3861 c3861 = c31222.f11895;
                    c31222.f11895 = new C3861(c3122M10785.f11895.f14367, c3861.m8510(), c3861.f14363, c3122M10785.f11895.f14362);
                } else if (TextUtils.isEmpty(c31222.f11889)) {
                    C3861 c38612 = c31222.f11895;
                    c31222.f11895 = new C3861(c31222.f11894, c38612.m8510(), c38612.f14363, c31222.f11895.f14362);
                    c31222.f11891 = true;
                    z = true;
                }
                if (c31222.f11891) {
                    C3861 c38613 = c31222.f11895;
                    String str2 = c31222.f11892;
                    ᵩʛʽ.ᵝᵵᵺ(str2);
                    String str3 = c31222.f11890;
                    String str4 = c38613.f14363;
                    long j = c38613.f14367;
                    Object objM8510 = c38613.m8510();
                    ᵩʛʽ.ᵝᵵᵺ(objM8510);
                    C5428 c5428 = new C5428(str2, str3, str4, j, objM8510);
                    Object obj = c5428.f20349;
                    String str5 = c5428.f20350;
                    C5218 c52183 = this.f2738;
                    m2252(c52183);
                    if (c52183.m10789(c5428)) {
                        mo2272().f6941.m6040("User property updated immediately", c31222.f11892, c4205.f15705.m6999(str5), obj);
                    } else {
                        mo2272().f6937.m6040("(2)Too many active user properties, ignoring", C1736.m4941(c31222.f11892), c4205.f15705.m6999(str5), obj);
                    }
                    if (z && (c2850 = c31222.f11887) != null) {
                        m2267(new C2850(c2850, c31222.f11894, 0L), c1331);
                    }
                }
                C5218 c52184 = this.f2738;
                m2252(c52184);
                if (c52184.m10824(c31222)) {
                    mo2272().f6941.m6040("Conditional property added", c31222.f11892, c4205.f15705.m6999(c31222.f11895.f14363), c31222.f11895.m8510());
                } else {
                    mo2272().f6937.m6040("Too many conditional properties, ignoring", C1736.m4941(c31222.f11892), c4205.f15705.m6999(c31222.f11895.f14363), c31222.f11895.m8510());
                }
                C5218 c52185 = this.f2738;
                m2252(c52185);
                c52185.m10781();
                C5218 c52186 = this.f2738;
                m2252(c52186);
                c52186.m10819();
            } catch (Throwable th) {
                C5218 c52187 = this.f2738;
                m2252(c52187);
                c52187.m10819();
                throw th;
            }
        }
    }

    /* JADX WARN: Removed duplicated region for block: B:19:0x0060  */
    /* JADX WARN: Removed duplicated region for block: B:57:0x0174 A[Catch: all -> 0x0074, TryCatch #0 {all -> 0x0074, blocks: (B:11:0x0045, B:21:0x0063, B:58:0x0177, B:29:0x0080, B:34:0x00dc, B:33:0x00ca, B:35:0x00e1, B:39:0x00f8, B:43:0x010e, B:45:0x0126, B:47:0x0141, B:49:0x014a, B:51:0x0150, B:52:0x0154, B:54:0x015d, B:56:0x016c, B:57:0x0174, B:46:0x0132, B:40:0x00ff, B:42:0x0108), top: B:66:0x0045, outer: #1 }] */
    /* renamed from: ˀᵗᵝᵭ, reason: contains not printable characters */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
        To view partially-correct add '--show-bad-code' argument
    */
    public final void m2257(java.lang.String r10, int r11, java.lang.Throwable r12, byte[] r13, java.util.Map r14) {
        /*
            Method dump skipped, instructions count: 412
            To view this dump add '--comments-level debug' option
        */
        throw new UnsupportedOperationException("Method not decompiled: defpackage.C0524.m2257(java.lang.String, int, java.lang.Throwable, byte[], java.util.Map):void");
    }

    /* renamed from: ˀᵗᵩ, reason: contains not printable characters */
    public final C1331 m2258(String str) throws Throwable {
        C5218 c5218 = this.f2738;
        m2252(c5218);
        C4869 c4869M10786 = c5218.m10786(str);
        if (c4869M10786 != null) {
            C4205 c4205 = c4869M10786.f18118;
            if (!TextUtils.isEmpty(c4869M10786.m10264())) {
                Boolean boolM2265 = m2265(c4869M10786);
                if (boolM2265 != null && !boolM2265.booleanValue()) {
                    mo2272().f6937.m6039(C1736.m4941(str), "App version does not match; dropping. appId");
                    return null;
                }
                String strM10292 = c4869M10786.m10292();
                String strM10264 = c4869M10786.m10264();
                long jM10252 = c4869M10786.m10252();
                C1325 c1325 = c4205.f15698;
                C4205.m9132(c1325);
                c1325.m4042();
                String str2 = c4869M10786.f18098;
                C1325 c13252 = c4205.f15698;
                C4205.m9132(c13252);
                c13252.m4042();
                long j = c4869M10786.f18124;
                C1325 c13253 = c4205.f15698;
                C4205.m9132(c13253);
                c13253.m4042();
                long j2 = c4869M10786.f18122;
                C1325 c13254 = c4205.f15698;
                C4205.m9132(c13254);
                c13254.m4042();
                boolean z = c4869M10786.f18125;
                String strM10253 = c4869M10786.m10253();
                C1325 c13255 = c4205.f15698;
                C4205.m9132(c13255);
                c13255.m4042();
                boolean z2 = c4869M10786.f18097;
                Boolean boolM10295 = c4869M10786.m10295();
                long jM10286 = c4869M10786.m10286();
                C1325 c13256 = c4205.f15698;
                C4205.m9132(c13256);
                c13256.m4042();
                ArrayList arrayList = c4869M10786.f18111;
                String strM9596 = m2301(str).m9596();
                boolean zM10277 = c4869M10786.m10277();
                C1325 c13257 = c4205.f15698;
                C4205.m9132(c13257);
                c13257.m4042();
                long j3 = c4869M10786.f18120;
                int i = m2301(str).f16777;
                String str3 = m2279(str).f18169;
                C1325 c13258 = c4205.f15698;
                C4205.m9132(c13258);
                c13258.m4042();
                int i2 = c4869M10786.f18135;
                C1325 c13259 = c4205.f15698;
                C4205.m9132(c13259);
                c13259.m4042();
                return new C1331(str, strM10292, strM10264, jM10252, str2, j, j2, (String) null, z, false, strM10253, 0L, 0, z2, false, boolM10295, jM10286, (List) arrayList, strM9596, "", (String) null, zM10277, j3, i, str3, i2, c4869M10786.f18091, c4869M10786.m10265(), c4869M10786.m10271(), 0L, c4869M10786.m10281(), 0L);
            }
        }
        mo2272().f6941.m6039(str, "No app data available; dropping");
        return null;
    }

    /* renamed from: ˁˑᵰ, reason: contains not printable characters */
    public final boolean m2259(C0245 c0245, C0245 c02452) {
        ᵩʛʽ.ᵻᵢﹳᵰ("_e".equals(c0245.m1562()));
        m2285();
        C5147 c5147M4835 = C1680.m4835("_sc", (C2461) c0245.m11118());
        String strM10621 = c5147M4835 == null ? null : c5147M4835.m10621();
        m2285();
        C5147 c5147M48352 = C1680.m4835("_pc", (C2461) c02452.m11118());
        String strM106212 = c5147M48352 != null ? c5147M48352.m10621() : null;
        if (strM106212 == null || !strM106212.equals(strM10621)) {
            return false;
        }
        ᵩʛʽ.ᵻᵢﹳᵰ("_e".equals(c0245.m1562()));
        m2285();
        C5147 c5147M48353 = C1680.m4835("_et", (C2461) c0245.m11118());
        if (c5147M48353 == null || !c5147M48353.m10629() || c5147M48353.m10628() <= 0) {
            return true;
        }
        long jM10628 = c5147M48353.m10628();
        m2285();
        C5147 c5147M48354 = C1680.m4835("_et", (C2461) c02452.m11118());
        if (c5147M48354 != null && c5147M48354.m10628() > 0) {
            jM10628 += c5147M48354.m10628();
        }
        m2285();
        C1680.m4833(c02452, "_et", Long.valueOf(jM10628));
        m2285();
        C1680.m4833(c0245, "_fr", 1L);
        return true;
    }

    /* renamed from: ˆᵴᵜˏ, reason: contains not printable characters */
    public final C3924 m2260() {
        C3924 c3924 = this.f2737;
        if (c3924 != null) {
            return c3924;
        }
        ᵹˉᵞ.ᵳٴᵶ("Network broadcast receiver not created");
        return null;
    }

    /* renamed from: ˆᵼᵷˊ, reason: contains not printable characters */
    public final boolean m2261(String str, String str2) throws Throwable {
        C5218 c5218 = this.f2738;
        m2252(c5218);
        C4774 c4774M10791 = c5218.m10791("events", str, str2);
        return c4774M10791 == null || c4774M10791.f17736 < 1;
    }

    /* renamed from: ˇʼʤˎ, reason: contains not printable characters */
    public final long m2262() {
        mo2310().getClass();
        long jCurrentTimeMillis = System.currentTimeMillis();
        C4382 c4382 = this.f2717;
        c4382.m11201();
        c4382.ˀᵗᵝᵭ();
        C4550 c4550 = c4382.f16412;
        long jM9666 = c4550.m9666();
        if (jM9666 == 0) {
            C4205.m9134(((C4205) ((ᵢˇᵭ) c4382).ᵧᵾˀˈ).f15708);
            jM9666 = r7.m10218().nextInt(86400000) + 1;
            c4550.m9668(jM9666);
        }
        return ((((jCurrentTimeMillis + jM9666) / 1000) / 60) / 60) / 24;
    }

    /* renamed from: ˊʽˎ, reason: contains not printable characters */
    public final void m2263() {
        mo2307().m4042();
        m2299();
        if (this.f2718) {
            return;
        }
        this.f2718 = true;
        mo2307().m4042();
        FileLock fileLock = this.f2708;
        C4205 c4205 = this.f2728;
        if (fileLock == null || !fileLock.isValid()) {
            ((C4205) ((ᵢˇᵭ) this.f2738).ᵧᵾˀˈ).getClass();
            try {
                FileChannel channel = new RandomAccessFile(new File(new File(c4205.f15719.getFilesDir(), "google_app_measurement.db").getPath()), "rw").getChannel();
                this.f2720 = channel;
                FileLock fileLockTryLock = channel.tryLock();
                this.f2708 = fileLockTryLock;
                if (fileLockTryLock == null) {
                    mo2272().f6937.m6038("Storage concurrent data access panic");
                    return;
                }
                mo2272().f6935.m6038("Storage concurrent access okay");
            } catch (FileNotFoundException e) {
                mo2272().f6937.m6039(e, "Failed to acquire storage lock");
                return;
            } catch (IOException e2) {
                mo2272().f6937.m6039(e2, "Failed to access storage lock file");
                return;
            } catch (OverlappingFileLockException e3) {
                mo2272().f6934.m6039(e3, "Storage lock already acquired");
                return;
            }
        } else {
            mo2272().f6935.m6038("Storage concurrent access okay");
        }
        FileChannel fileChannel = this.f2720;
        mo2307().m4042();
        int i = 0;
        if (fileChannel == null || !fileChannel.isOpen()) {
            mo2272().f6937.m6038("Bad channel to read from");
        } else {
            ByteBuffer byteBufferAllocate = ByteBuffer.allocate(4);
            try {
                fileChannel.position(0L);
                int i2 = fileChannel.read(byteBufferAllocate);
                if (i2 == 4) {
                    byteBufferAllocate.flip();
                    i = byteBufferAllocate.getInt();
                } else if (i2 != -1) {
                    mo2272().f6934.m6039(Integer.valueOf(i2), "Unexpected data length. Bytes read");
                }
            } catch (IOException e4) {
                mo2272().f6937.m6039(e4, "Failed to read from channel");
            }
        }
        C4428 c4428M9143 = c4205.m9143();
        c4428M9143.m3663();
        int i3 = c4428M9143.f16544;
        mo2307().m4042();
        if (i > i3) {
            mo2272().f6937.m6037("Panic: can't downgrade version. Previous, current version", Integer.valueOf(i), Integer.valueOf(i3));
            return;
        }
        if (i < i3) {
            FileChannel fileChannel2 = this.f2720;
            mo2307().m4042();
            if (fileChannel2 == null || !fileChannel2.isOpen()) {
                mo2272().f6937.m6038("Bad channel to read from");
            } else {
                ByteBuffer byteBufferAllocate2 = ByteBuffer.allocate(4);
                byteBufferAllocate2.putInt(i3);
                byteBufferAllocate2.flip();
                try {
                    fileChannel2.truncate(0L);
                    fileChannel2.write(byteBufferAllocate2);
                    fileChannel2.force(true);
                    if (fileChannel2.size() != 4) {
                        mo2272().f6937.m6039(Long.valueOf(fileChannel2.size()), "Error writing to channel. Bytes written");
                    }
                    mo2272().f6935.m6037("Storage version upgraded. Previous, current version", Integer.valueOf(i), Integer.valueOf(i3));
                    return;
                } catch (IOException e5) {
                    mo2272().f6937.m6039(e5, "Failed to write to channel");
                }
            }
            mo2272().f6937.m6037("Storage version upgrade failed. Previous, current version", Integer.valueOf(i), Integer.valueOf(i3));
        }
    }

    /* renamed from: ˊʾˊ, reason: contains not printable characters */
    public final void m2264(C3122 c3122, C1331 c1331) throws Throwable {
        ᵩʛʽ.ˏˋٴ(c3122.f11892);
        ᵩʛʽ.ᵝᵵᵺ(c3122.f11895);
        ᵩʛʽ.ˏˋٴ(c3122.f11895.f14363);
        mo2307().m4042();
        m2299();
        if (m2246(c1331)) {
            if (!c1331.f5467) {
                m2268(c1331);
                return;
            }
            C5218 c5218 = this.f2738;
            m2252(c5218);
            c5218.m10803();
            try {
                m2268(c1331);
                String str = c3122.f11892;
                ᵩʛʽ.ᵝᵵᵺ(str);
                C5218 c52182 = this.f2738;
                m2252(c52182);
                C3122 c3122M10785 = c52182.m10785(str, c3122.f11895.f14363);
                C4205 c4205 = this.f2728;
                if (c3122M10785 != null) {
                    mo2272().f6941.m6037("Removing conditional user property", c3122.f11892, c4205.f15705.m6999(c3122.f11895.f14363));
                    C5218 c52183 = this.f2738;
                    m2252(c52183);
                    c52183.m10796(str, c3122.f11895.f14363);
                    if (c3122M10785.f11891) {
                        C5218 c52184 = this.f2738;
                        m2252(c52184);
                        c52184.m10828(str, c3122.f11895.f14363);
                    }
                    C2850 c2850 = c3122.f11893;
                    if (c2850 != null) {
                        C3724 c3724 = c2850.f11009;
                        C2850 c2850M10227 = m2288().m10227(c2850.f11011, c3724 != null ? c3724.m8355() : null, c3122M10785.f11890, c2850.f11012, c2850.f11010, true);
                        ᵩʛʽ.ᵝᵵᵺ(c2850M10227);
                        m2267(c2850M10227, c1331);
                    }
                } else {
                    mo2272().f6934.m6037("Conditional user property doesn't exist", C1736.m4941(c3122.f11892), c4205.f15705.m6999(c3122.f11895.f14363));
                }
                C5218 c52185 = this.f2738;
                m2252(c52185);
                c52185.m10781();
                C5218 c52186 = this.f2738;
                m2252(c52186);
                c52186.m10819();
            } catch (Throwable th) {
                C5218 c52187 = this.f2738;
                m2252(c52187);
                c52187.m10819();
                throw th;
            }
        }
    }

    /* renamed from: ˊᵸˊ, reason: contains not printable characters */
    public final Boolean m2265(C4869 c4869) {
        try {
            long jM10252 = c4869.m10252();
            C4205 c4205 = this.f2728;
            if (jM10252 != -2147483648L) {
                if (c4869.m10252() == C4004.m8846(c4205.f15719).m7348(0, c4869.m10261()).versionCode) {
                    return Boolean.TRUE;
                }
            } else {
                String str = C4004.m8846(c4205.f15719).m7348(0, c4869.m10261()).versionName;
                String strM10264 = c4869.m10264();
                if (strM10264 != null && strM10264.equals(str)) {
                    return Boolean.TRUE;
                }
            }
            return Boolean.FALSE;
        } catch (PackageManager.NameNotFoundException unused) {
            return null;
        }
    }

    /* renamed from: ˌʾˀ, reason: contains not printable characters */
    public final void m2266(ArrayList arrayList) {
        ᵩʛʽ.ᵻᵢﹳᵰ(!arrayList.isEmpty());
        if (this.f2712 != null) {
            mo2272().f6937.m6038("Set uploading progress before finishing the previous upload");
        } else {
            this.f2712 = new ArrayList(arrayList);
        }
    }

    /* JADX WARN: Can't wrap try/catch for region: R(9:73|(4:75|(0)(1:78)|85|(1:87)(1:88))|77|79|341|80|84|85|(0)(0)) */
    /* JADX WARN: Code restructure failed: missing block: B:82:0x02e4, code lost:
    
        r0 = move-exception;
     */
    /* JADX WARN: Code restructure failed: missing block: B:83:0x02e5, code lost:
    
        ((defpackage.C4205) ((ᵢˇᵭ) r10).ᵧᵾˀˈ).mo2272().m4945().m6037("Error pruning currencies. appId", defpackage.C1736.m4941(r11), r0);
     */
    /* JADX WARN: Removed duplicated region for block: B:101:0x03d1 A[Catch: all -> 0x01c3, TryCatch #2 {all -> 0x01c3, blocks: (B:37:0x01a1, B:40:0x01b0, B:42:0x01b8, B:48:0x01c7, B:90:0x0356, B:99:0x038e, B:101:0x03d1, B:103:0x03d6, B:104:0x03ed, B:106:0x03f8, B:108:0x0412, B:110:0x0418, B:111:0x042f, B:114:0x044c, B:118:0x046b, B:119:0x0482, B:120:0x048b, B:123:0x04a8, B:124:0x04bc, B:126:0x04c4, B:128:0x04ce, B:130:0x04d4, B:131:0x04db, B:132:0x04e8, B:138:0x052d, B:139:0x0542, B:141:0x0571, B:144:0x059b, B:146:0x05a5, B:150:0x05f2, B:152:0x061d, B:154:0x064a, B:155:0x064d, B:157:0x0655, B:158:0x0658, B:160:0x0660, B:161:0x0663, B:163:0x066b, B:164:0x066e, B:166:0x0677, B:167:0x067b, B:169:0x0689, B:170:0x068c, B:173:0x06bd, B:175:0x06cf, B:179:0x06e4, B:184:0x06f2, B:217:0x0774, B:219:0x077a, B:220:0x077d, B:222:0x0795, B:223:0x079f, B:225:0x07ac, B:227:0x07b6, B:228:0x07b9, B:237:0x07ee, B:187:0x06fb, B:191:0x070d, B:195:0x071c, B:199:0x072b, B:203:0x073a, B:207:0x0749, B:211:0x0756, B:215:0x0765, B:151:0x060d, B:135:0x0512, B:93:0x0368, B:94:0x0374, B:96:0x037a, B:98:0x0388, B:53:0x01e5, B:56:0x01f7, B:58:0x020c, B:64:0x0224, B:69:0x0254, B:71:0x025a, B:73:0x0268, B:75:0x0276, B:78:0x0289, B:85:0x0310, B:87:0x031a, B:79:0x02b9, B:80:0x02d2, B:84:0x02fa, B:83:0x02e5, B:67:0x0230, B:68:0x024e), top: B:340:0x01a1, inners: #3, #7 }] */
    /* JADX WARN: Removed duplicated region for block: B:105:0x03f6  */
    /* JADX WARN: Removed duplicated region for block: B:216:0x0772  */
    /* JADX WARN: Removed duplicated region for block: B:256:0x087a  */
    /* JADX WARN: Removed duplicated region for block: B:259:0x08c1 A[Catch: all -> 0x0853, TryCatch #1 {all -> 0x0853, blocks: (B:230:0x07cd, B:232:0x07d1, B:235:0x07e3, B:238:0x07f7, B:240:0x0801, B:242:0x080d, B:244:0x0817, B:246:0x0825, B:248:0x083f, B:252:0x085a, B:254:0x0868, B:255:0x0871, B:257:0x087e, B:259:0x08c1, B:262:0x08cc, B:263:0x08d6, B:264:0x08d7, B:266:0x08e1), top: B:339:0x07cd }] */
    /* JADX WARN: Removed duplicated region for block: B:266:0x08e1 A[Catch: all -> 0x0853, TRY_LEAVE, TryCatch #1 {all -> 0x0853, blocks: (B:230:0x07cd, B:232:0x07d1, B:235:0x07e3, B:238:0x07f7, B:240:0x0801, B:242:0x080d, B:244:0x0817, B:246:0x0825, B:248:0x083f, B:252:0x085a, B:254:0x0868, B:255:0x0871, B:257:0x087e, B:259:0x08c1, B:262:0x08cc, B:263:0x08d6, B:264:0x08d7, B:266:0x08e1), top: B:339:0x07cd }] */
    /* JADX WARN: Removed duplicated region for block: B:275:0x0941  */
    /* JADX WARN: Removed duplicated region for block: B:283:0x096a A[Catch: all -> 0x090b, TryCatch #6 {all -> 0x090b, blocks: (B:268:0x08e8, B:270:0x08ff, B:274:0x090e, B:276:0x0944, B:278:0x094c, B:280:0x0956, B:281:0x0960, B:283:0x096a, B:284:0x0974, B:285:0x097d, B:287:0x0983, B:289:0x09cd, B:291:0x09df, B:295:0x09fa, B:297:0x0a0a, B:294:0x09ee, B:301:0x0a1d, B:302:0x0a5f, B:303:0x0a6a, B:304:0x0a7f, B:306:0x0a85, B:315:0x0acc, B:316:0x0b1f, B:318:0x0b30, B:332:0x0b97, B:323:0x0b4a, B:324:0x0b4d, B:309:0x0a92, B:311:0x0ab8, B:329:0x0b68, B:330:0x0b81, B:331:0x0b82), top: B:347:0x08e8, inners: #4, #5 }] */
    /* JADX WARN: Removed duplicated region for block: B:287:0x0983 A[Catch: all -> 0x090b, TryCatch #6 {all -> 0x090b, blocks: (B:268:0x08e8, B:270:0x08ff, B:274:0x090e, B:276:0x0944, B:278:0x094c, B:280:0x0956, B:281:0x0960, B:283:0x096a, B:284:0x0974, B:285:0x097d, B:287:0x0983, B:289:0x09cd, B:291:0x09df, B:295:0x09fa, B:297:0x0a0a, B:294:0x09ee, B:301:0x0a1d, B:302:0x0a5f, B:303:0x0a6a, B:304:0x0a7f, B:306:0x0a85, B:315:0x0acc, B:316:0x0b1f, B:318:0x0b30, B:332:0x0b97, B:323:0x0b4a, B:324:0x0b4d, B:309:0x0a92, B:311:0x0ab8, B:329:0x0b68, B:330:0x0b81, B:331:0x0b82), top: B:347:0x08e8, inners: #4, #5 }] */
    /* JADX WARN: Removed duplicated region for block: B:299:0x0a15  */
    /* JADX WARN: Removed duplicated region for block: B:306:0x0a85 A[Catch: all -> 0x090b, TryCatch #6 {all -> 0x090b, blocks: (B:268:0x08e8, B:270:0x08ff, B:274:0x090e, B:276:0x0944, B:278:0x094c, B:280:0x0956, B:281:0x0960, B:283:0x096a, B:284:0x0974, B:285:0x097d, B:287:0x0983, B:289:0x09cd, B:291:0x09df, B:295:0x09fa, B:297:0x0a0a, B:294:0x09ee, B:301:0x0a1d, B:302:0x0a5f, B:303:0x0a6a, B:304:0x0a7f, B:306:0x0a85, B:315:0x0acc, B:316:0x0b1f, B:318:0x0b30, B:332:0x0b97, B:323:0x0b4a, B:324:0x0b4d, B:309:0x0a92, B:311:0x0ab8, B:329:0x0b68, B:330:0x0b81, B:331:0x0b82), top: B:347:0x08e8, inners: #4, #5 }] */
    /* JADX WARN: Removed duplicated region for block: B:318:0x0b30 A[Catch: all -> 0x090b, SQLiteException -> 0x0b46, TRY_LEAVE, TryCatch #5 {SQLiteException -> 0x0b46, blocks: (B:316:0x0b1f, B:318:0x0b30), top: B:345:0x0b1f, outer: #6 }] */
    /* JADX WARN: Removed duplicated region for block: B:322:0x0b48  */
    /* JADX WARN: Removed duplicated region for block: B:357:0x0a92 A[SYNTHETIC] */
    /* JADX WARN: Removed duplicated region for block: B:87:0x031a A[Catch: all -> 0x01c3, TryCatch #2 {all -> 0x01c3, blocks: (B:37:0x01a1, B:40:0x01b0, B:42:0x01b8, B:48:0x01c7, B:90:0x0356, B:99:0x038e, B:101:0x03d1, B:103:0x03d6, B:104:0x03ed, B:106:0x03f8, B:108:0x0412, B:110:0x0418, B:111:0x042f, B:114:0x044c, B:118:0x046b, B:119:0x0482, B:120:0x048b, B:123:0x04a8, B:124:0x04bc, B:126:0x04c4, B:128:0x04ce, B:130:0x04d4, B:131:0x04db, B:132:0x04e8, B:138:0x052d, B:139:0x0542, B:141:0x0571, B:144:0x059b, B:146:0x05a5, B:150:0x05f2, B:152:0x061d, B:154:0x064a, B:155:0x064d, B:157:0x0655, B:158:0x0658, B:160:0x0660, B:161:0x0663, B:163:0x066b, B:164:0x066e, B:166:0x0677, B:167:0x067b, B:169:0x0689, B:170:0x068c, B:173:0x06bd, B:175:0x06cf, B:179:0x06e4, B:184:0x06f2, B:217:0x0774, B:219:0x077a, B:220:0x077d, B:222:0x0795, B:223:0x079f, B:225:0x07ac, B:227:0x07b6, B:228:0x07b9, B:237:0x07ee, B:187:0x06fb, B:191:0x070d, B:195:0x071c, B:199:0x072b, B:203:0x073a, B:207:0x0749, B:211:0x0756, B:215:0x0765, B:151:0x060d, B:135:0x0512, B:93:0x0368, B:94:0x0374, B:96:0x037a, B:98:0x0388, B:53:0x01e5, B:56:0x01f7, B:58:0x020c, B:64:0x0224, B:69:0x0254, B:71:0x025a, B:73:0x0268, B:75:0x0276, B:78:0x0289, B:85:0x0310, B:87:0x031a, B:79:0x02b9, B:80:0x02d2, B:84:0x02fa, B:83:0x02e5, B:67:0x0230, B:68:0x024e), top: B:340:0x01a1, inners: #3, #7 }] */
    /* JADX WARN: Removed duplicated region for block: B:88:0x0347  */
    /* JADX WARN: Removed duplicated region for block: B:92:0x0365  */
    /* JADX WARN: Removed duplicated region for block: B:93:0x0368 A[Catch: all -> 0x01c3, TryCatch #2 {all -> 0x01c3, blocks: (B:37:0x01a1, B:40:0x01b0, B:42:0x01b8, B:48:0x01c7, B:90:0x0356, B:99:0x038e, B:101:0x03d1, B:103:0x03d6, B:104:0x03ed, B:106:0x03f8, B:108:0x0412, B:110:0x0418, B:111:0x042f, B:114:0x044c, B:118:0x046b, B:119:0x0482, B:120:0x048b, B:123:0x04a8, B:124:0x04bc, B:126:0x04c4, B:128:0x04ce, B:130:0x04d4, B:131:0x04db, B:132:0x04e8, B:138:0x052d, B:139:0x0542, B:141:0x0571, B:144:0x059b, B:146:0x05a5, B:150:0x05f2, B:152:0x061d, B:154:0x064a, B:155:0x064d, B:157:0x0655, B:158:0x0658, B:160:0x0660, B:161:0x0663, B:163:0x066b, B:164:0x066e, B:166:0x0677, B:167:0x067b, B:169:0x0689, B:170:0x068c, B:173:0x06bd, B:175:0x06cf, B:179:0x06e4, B:184:0x06f2, B:217:0x0774, B:219:0x077a, B:220:0x077d, B:222:0x0795, B:223:0x079f, B:225:0x07ac, B:227:0x07b6, B:228:0x07b9, B:237:0x07ee, B:187:0x06fb, B:191:0x070d, B:195:0x071c, B:199:0x072b, B:203:0x073a, B:207:0x0749, B:211:0x0756, B:215:0x0765, B:151:0x060d, B:135:0x0512, B:93:0x0368, B:94:0x0374, B:96:0x037a, B:98:0x0388, B:53:0x01e5, B:56:0x01f7, B:58:0x020c, B:64:0x0224, B:69:0x0254, B:71:0x025a, B:73:0x0268, B:75:0x0276, B:78:0x0289, B:85:0x0310, B:87:0x031a, B:79:0x02b9, B:80:0x02d2, B:84:0x02fa, B:83:0x02e5, B:67:0x0230, B:68:0x024e), top: B:340:0x01a1, inners: #3, #7 }] */
    /* renamed from: ˌᵜᵹᵩ, reason: contains not printable characters */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
        To view partially-correct add '--show-bad-code' argument
    */
    public final void m2267(defpackage.C2850 r42, defpackage.C1331 r43) throws java.lang.Throwable {
        /*
            Method dump skipped, instructions count: 3024
            To view this dump add '--comments-level debug' option
        */
        throw new UnsupportedOperationException("Method not decompiled: defpackage.C0524.m2267(ᵜᵪ, ˊᵔʼ):void");
    }

    /* JADX WARN: Removed duplicated region for block: B:38:0x0112  */
    /* JADX WARN: Removed duplicated region for block: B:45:0x013a  */
    /* JADX WARN: Removed duplicated region for block: B:48:0x0145  */
    /* JADX WARN: Removed duplicated region for block: B:51:0x0150  */
    /* JADX WARN: Removed duplicated region for block: B:54:0x015c  */
    /* JADX WARN: Removed duplicated region for block: B:57:0x0171  */
    /* JADX WARN: Removed duplicated region for block: B:60:0x0182  */
    /* JADX WARN: Removed duplicated region for block: B:61:0x0184  */
    /* JADX WARN: Removed duplicated region for block: B:64:0x01d4  */
    /* JADX WARN: Removed duplicated region for block: B:65:0x01da  */
    /* JADX WARN: Removed duplicated region for block: B:70:0x01ff  */
    /* JADX WARN: Removed duplicated region for block: B:71:0x0201  */
    /* JADX WARN: Removed duplicated region for block: B:74:0x0217  */
    /* JADX WARN: Removed duplicated region for block: B:75:0x0219  */
    /* JADX WARN: Removed duplicated region for block: B:78:0x022e  */
    /* JADX WARN: Removed duplicated region for block: B:85:0x025b  */
    /* JADX WARN: Removed duplicated region for block: B:86:0x025d  */
    /* JADX WARN: Removed duplicated region for block: B:89:0x0273  */
    /* JADX WARN: Removed duplicated region for block: B:92:0x027f  */
    /* JADX WARN: Removed duplicated region for block: B:95:0x0283  */
    /* renamed from: ˌᵹᵨˑ, reason: contains not printable characters */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
        To view partially-correct add '--show-bad-code' argument
    */
    public final defpackage.C4869 m2268(defpackage.C1331 r13) throws java.lang.Throwable {
        /*
            Method dump skipped, instructions count: 653
            To view this dump add '--comments-level debug' option
        */
        throw new UnsupportedOperationException("Method not decompiled: defpackage.C0524.m2268(ˊᵔʼ):ᵷˁʟ");
    }

    /* JADX WARN: Not initialized variable reg: 6, insn: 0x007d: MOVE (r5 I:??[OBJECT, ARRAY]) = (r6 I:??[OBJECT, ARRAY]), block:B:18:0x007d */
    /* JADX WARN: Removed duplicated region for block: B:25:0x0094  */
    /* JADX WARN: Removed duplicated region for block: B:30:0x00cc  */
    /* JADX WARN: Removed duplicated region for block: B:34:0x00e8  */
    /* JADX WARN: Removed duplicated region for block: B:40:0x010a  */
    /* JADX WARN: Removed duplicated region for block: B:47:? A[SYNTHETIC] */
    /* renamed from: ˎˏʜʾ, reason: contains not printable characters */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
        To view partially-correct add '--show-bad-code' argument
    */
    public final void m2269(defpackage.C2850 r11, defpackage.C1331 r12) throws java.lang.Throwable {
        /*
            Method dump skipped, instructions count: 270
            To view this dump add '--comments-level debug' option
        */
        throw new UnsupportedOperationException("Method not decompiled: defpackage.C0524.m2269(ᵜᵪ, ˊᵔʼ):void");
    }

    /* JADX WARN: Removed duplicated region for block: B:39:0x00cd  */
    /* renamed from: ˎᵬˀ, reason: contains not printable characters */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
        To view partially-correct add '--show-bad-code' argument
    */
    public final void m2270(defpackage.C3861 r24, defpackage.C1331 r25) throws java.lang.Throwable {
        /*
            Method dump skipped, instructions count: 504
            To view this dump add '--comments-level debug' option
        */
        throw new UnsupportedOperationException("Method not decompiled: defpackage.C0524.m2270(ᵪʽᵸⁱ, ˊᵔʼ):void");
    }

    /* renamed from: ˏˋٴ, reason: contains not printable characters */
    public final void m2271(String str, C2850 c2850) throws Throwable {
        C5218 c5218 = this.f2738;
        m2252(c5218);
        C4869 c4869M10786 = c5218.m10786(str);
        if (c4869M10786 != null) {
            C4205 c4205 = c4869M10786.f18118;
            if (!TextUtils.isEmpty(c4869M10786.m10264())) {
                Boolean boolM2265 = m2265(c4869M10786);
                if (boolM2265 == null) {
                    if (!"_ui".equals(c2850.f11011)) {
                        mo2272().f6934.m6039(C1736.m4941(str), "Could not find package. appId");
                    }
                } else if (!boolM2265.booleanValue()) {
                    mo2272().f6937.m6039(C1736.m4941(str), "App version does not match; dropping event. appId");
                    return;
                }
                String strM10292 = c4869M10786.m10292();
                String strM10264 = c4869M10786.m10264();
                long jM10252 = c4869M10786.m10252();
                C1325 c1325 = c4205.f15698;
                C4205.m9132(c1325);
                c1325.m4042();
                String str2 = c4869M10786.f18098;
                C1325 c13252 = c4205.f15698;
                C4205.m9132(c13252);
                c13252.m4042();
                long j = c4869M10786.f18124;
                C1325 c13253 = c4205.f15698;
                C4205.m9132(c13253);
                c13253.m4042();
                long j2 = c4869M10786.f18122;
                C1325 c13254 = c4205.f15698;
                C4205.m9132(c13254);
                c13254.m4042();
                boolean z = c4869M10786.f18125;
                String strM10253 = c4869M10786.m10253();
                C1325 c13255 = c4205.f15698;
                C4205.m9132(c13255);
                c13255.m4042();
                boolean z2 = c4869M10786.f18097;
                Boolean boolM10295 = c4869M10786.m10295();
                long jM10286 = c4869M10786.m10286();
                C1325 c13256 = c4205.f15698;
                C4205.m9132(c13256);
                c13256.m4042();
                ArrayList arrayList = c4869M10786.f18111;
                String strM9596 = m2301(str).m9596();
                boolean zM10277 = c4869M10786.m10277();
                C1325 c13257 = c4205.f15698;
                C4205.m9132(c13257);
                c13257.m4042();
                long j3 = c4869M10786.f18120;
                int i = m2301(str).f16777;
                String str3 = m2279(str).f18169;
                C1325 c13258 = c4205.f15698;
                C4205.m9132(c13258);
                c13258.m4042();
                int i2 = c4869M10786.f18135;
                C1325 c13259 = c4205.f15698;
                C4205.m9132(c13259);
                c13259.m4042();
                m2269(c2850, new C1331(str, strM10292, strM10264, jM10252, str2, j, j2, (String) null, z, false, strM10253, 0L, 0, z2, false, boolM10295, jM10286, (List) arrayList, strM9596, "", (String) null, zM10277, j3, i, str3, i2, c4869M10786.f18091, c4869M10786.m10265(), c4869M10786.m10271(), 0L, c4869M10786.m10281(), 0L));
                return;
            }
        }
        mo2272().f6941.m6039(str, "No app data available; dropping event");
    }

    @Override // defpackage.InterfaceC2183
    /* renamed from: ˏᵙ, reason: contains not printable characters */
    public final C1736 mo2272() {
        C4205 c4205 = this.f2728;
        ᵩʛʽ.ᵝᵵᵺ(c4205);
        C1736 c1736 = c4205.f15715;
        C4205.m9132(c1736);
        return c1736;
    }

    /* renamed from: ˑᵝﹳᵜ, reason: contains not printable characters */
    public final void m2273() {
        mo2307().m4042();
        if (this.f2716 || this.f2711 || this.f2706) {
            mo2272().f6935.m6040("Not stopping services. fetch, network, upload", Boolean.valueOf(this.f2716), Boolean.valueOf(this.f2711), Boolean.valueOf(this.f2706));
            return;
        }
        mo2272().f6935.m6038("Stopping uploading service(s)");
        ArrayList arrayList = this.f2707;
        if (arrayList == null) {
            return;
        }
        int size = arrayList.size();
        int i = 0;
        while (i < size) {
            Object obj = arrayList.get(i);
            i++;
            ((Runnable) obj).run();
        }
        ArrayList arrayList2 = this.f2707;
        ᵩʛʽ.ᵝᵵᵺ(arrayList2);
        arrayList2.clear();
    }

    /* renamed from: ˑᵱ, reason: contains not printable characters */
    public final void m2274(String str, boolean z, Long l, Long l2) throws Throwable {
        C5218 c5218 = this.f2738;
        m2252(c5218);
        C4869 c4869M10786 = c5218.m10786(str);
        if (c4869M10786 != null) {
            C4205 c4205 = c4869M10786.f18118;
            C1325 c1325 = c4205.f15698;
            C4205.m9132(c1325);
            c1325.m4042();
            c4869M10786.f18094 |= c4869M10786.f18134 != z;
            c4869M10786.f18134 = z;
            C1325 c13252 = c4205.f15698;
            C4205.m9132(c13252);
            c13252.m4042();
            c4869M10786.f18094 |= !Objects.equals(c4869M10786.f18117, l);
            c4869M10786.f18117 = l;
            C1325 c13253 = c4205.f15698;
            C4205.m9132(c13253);
            c13253.m4042();
            c4869M10786.f18094 |= !Objects.equals(c4869M10786.f18115, l2);
            c4869M10786.f18115 = l2;
            if (c4869M10786.m10285()) {
                C5218 c52182 = this.f2738;
                m2252(c52182);
                c52182.m10822(c4869M10786, false);
            }
        }
    }

    /* JADX WARN: Removed duplicated region for block: B:138:0x049b A[Catch: all -> 0x0125, TryCatch #1 {all -> 0x0125, blocks: (B:3:0x0019, B:5:0x0035, B:8:0x003e, B:9:0x005e, B:12:0x007a, B:15:0x00a6, B:17:0x00e5, B:20:0x00fe, B:22:0x0108, B:227:0x074f, B:26:0x0135, B:29:0x014b, B:31:0x0151, B:33:0x0157, B:35:0x016a, B:39:0x0177, B:41:0x0182, B:43:0x0190, B:45:0x0196, B:49:0x01a1, B:50:0x01af, B:52:0x01c1, B:55:0x01e1, B:57:0x01e7, B:59:0x01f7, B:61:0x0205, B:63:0x0215, B:64:0x0220, B:65:0x0223, B:67:0x0230, B:69:0x023a, B:70:0x024a, B:72:0x0269, B:74:0x0273, B:76:0x0289, B:77:0x0293, B:80:0x029e, B:81:0x02a8, B:84:0x02b0, B:87:0x02c1, B:88:0x02c4, B:90:0x02db, B:141:0x04d5, B:142:0x04d8, B:144:0x04e4, B:147:0x04f5, B:149:0x0506, B:151:0x0512, B:184:0x05dd, B:186:0x05ea, B:188:0x05f0, B:190:0x05f6, B:192:0x0606, B:193:0x0609, B:194:0x0615, B:196:0x061b, B:197:0x0627, B:199:0x062d, B:201:0x063d, B:203:0x0647, B:204:0x065c, B:206:0x0662, B:207:0x067d, B:209:0x0683, B:210:0x06a1, B:211:0x06ae, B:215:0x06d7, B:212:0x06b4, B:214:0x06c2, B:216:0x06df, B:217:0x06fe, B:219:0x0704, B:221:0x0717, B:222:0x0724, B:224:0x072b, B:226:0x073b, B:155:0x0535, B:157:0x0545, B:160:0x0558, B:162:0x056a, B:164:0x0576, B:167:0x058a, B:170:0x0598, B:172:0x05a2, B:174:0x05ac, B:177:0x05b7, B:179:0x05bd, B:181:0x05cd, B:182:0x05d8, B:98:0x0301, B:101:0x030b, B:103:0x0319, B:107:0x036a, B:104:0x033b, B:106:0x0349, B:110:0x0371, B:113:0x03a4, B:114:0x03cc, B:116:0x0401, B:118:0x0407, B:121:0x0413, B:123:0x0448, B:124:0x0465, B:126:0x046b, B:128:0x0479, B:132:0x048d, B:129:0x0481, B:135:0x0494, B:138:0x049b, B:139:0x04ba, B:230:0x0766, B:232:0x0778, B:234:0x0781, B:245:0x07b3, B:235:0x0789, B:237:0x0792, B:239:0x0798, B:242:0x07a4, B:244:0x07ae, B:246:0x07b6, B:247:0x07c2, B:250:0x07ca, B:252:0x07dc, B:253:0x07e7, B:255:0x07ef, B:259:0x081e, B:261:0x083a, B:263:0x084f, B:265:0x086b, B:267:0x0880, B:268:0x089c, B:270:0x08a2, B:272:0x08ba, B:273:0x08c8, B:275:0x08d8, B:276:0x08e6, B:277:0x08e9, B:279:0x0933, B:281:0x0939, B:287:0x0964, B:289:0x096c, B:290:0x098a, B:292:0x0990, B:293:0x09a4, B:295:0x09bb, B:297:0x09d5, B:299:0x09e7, B:301:0x09f1, B:302:0x09f4, B:304:0x0a4f, B:305:0x0a62, B:308:0x0a6a, B:311:0x0a89, B:313:0x0aa2, B:315:0x0ab7, B:317:0x0abc, B:319:0x0ac0, B:321:0x0ac4, B:323:0x0ace, B:325:0x0ad7, B:327:0x0adb, B:329:0x0ae1, B:331:0x0aec, B:333:0x0afa, B:400:0x0d5b, B:335:0x0b02, B:337:0x0b1e, B:342:0x0b3b, B:344:0x0b5b, B:345:0x0b63, B:347:0x0b69, B:349:0x0b7b, B:355:0x0b91, B:357:0x0ba7, B:358:0x0bca, B:360:0x0bd6, B:362:0x0bec, B:363:0x0c2c, B:369:0x0c48, B:371:0x0c53, B:373:0x0c57, B:375:0x0c5b, B:377:0x0c5f, B:378:0x0c6b, B:379:0x0c70, B:381:0x0c76, B:383:0x0c8c, B:384:0x0c91, B:399:0x0d58, B:386:0x0cd0, B:388:0x0cd4, B:392:0x0ce8, B:394:0x0d04, B:395:0x0d0b, B:398:0x0d4c, B:389:0x0cd9, B:340:0x0b24, B:401:0x0d61, B:403:0x0d6b, B:404:0x0d7f, B:405:0x0d87, B:407:0x0d8d, B:408:0x0da1, B:410:0x0db3, B:430:0x0e66, B:432:0x0e6c, B:434:0x0e83, B:437:0x0e8e, B:439:0x0e98, B:441:0x0ebf, B:443:0x0ecf, B:444:0x0ed9, B:446:0x0ee7, B:447:0x0ef1, B:448:0x0efc, B:450:0x0f0e, B:453:0x0f15, B:458:0x0f58, B:454:0x0f24, B:456:0x0f32, B:457:0x0f3f, B:459:0x0f67, B:460:0x0f7a, B:464:0x0f9a, B:463:0x0f85, B:411:0x0dce, B:413:0x0dd4, B:415:0x0de6, B:417:0x0ded, B:423:0x0e05, B:425:0x0e0c, B:427:0x0e57, B:429:0x0e5e, B:428:0x0e5b, B:424:0x0e09, B:416:0x0dea, B:282:0x0949, B:284:0x094f, B:286:0x0955, B:266:0x087d, B:262:0x084c, B:256:0x07f5, B:258:0x07fb, B:465:0x0fa3), top: B:473:0x0019, inners: #0, #2 }] */
    /* JADX WARN: Removed duplicated region for block: B:139:0x04ba A[Catch: all -> 0x0125, TryCatch #1 {all -> 0x0125, blocks: (B:3:0x0019, B:5:0x0035, B:8:0x003e, B:9:0x005e, B:12:0x007a, B:15:0x00a6, B:17:0x00e5, B:20:0x00fe, B:22:0x0108, B:227:0x074f, B:26:0x0135, B:29:0x014b, B:31:0x0151, B:33:0x0157, B:35:0x016a, B:39:0x0177, B:41:0x0182, B:43:0x0190, B:45:0x0196, B:49:0x01a1, B:50:0x01af, B:52:0x01c1, B:55:0x01e1, B:57:0x01e7, B:59:0x01f7, B:61:0x0205, B:63:0x0215, B:64:0x0220, B:65:0x0223, B:67:0x0230, B:69:0x023a, B:70:0x024a, B:72:0x0269, B:74:0x0273, B:76:0x0289, B:77:0x0293, B:80:0x029e, B:81:0x02a8, B:84:0x02b0, B:87:0x02c1, B:88:0x02c4, B:90:0x02db, B:141:0x04d5, B:142:0x04d8, B:144:0x04e4, B:147:0x04f5, B:149:0x0506, B:151:0x0512, B:184:0x05dd, B:186:0x05ea, B:188:0x05f0, B:190:0x05f6, B:192:0x0606, B:193:0x0609, B:194:0x0615, B:196:0x061b, B:197:0x0627, B:199:0x062d, B:201:0x063d, B:203:0x0647, B:204:0x065c, B:206:0x0662, B:207:0x067d, B:209:0x0683, B:210:0x06a1, B:211:0x06ae, B:215:0x06d7, B:212:0x06b4, B:214:0x06c2, B:216:0x06df, B:217:0x06fe, B:219:0x0704, B:221:0x0717, B:222:0x0724, B:224:0x072b, B:226:0x073b, B:155:0x0535, B:157:0x0545, B:160:0x0558, B:162:0x056a, B:164:0x0576, B:167:0x058a, B:170:0x0598, B:172:0x05a2, B:174:0x05ac, B:177:0x05b7, B:179:0x05bd, B:181:0x05cd, B:182:0x05d8, B:98:0x0301, B:101:0x030b, B:103:0x0319, B:107:0x036a, B:104:0x033b, B:106:0x0349, B:110:0x0371, B:113:0x03a4, B:114:0x03cc, B:116:0x0401, B:118:0x0407, B:121:0x0413, B:123:0x0448, B:124:0x0465, B:126:0x046b, B:128:0x0479, B:132:0x048d, B:129:0x0481, B:135:0x0494, B:138:0x049b, B:139:0x04ba, B:230:0x0766, B:232:0x0778, B:234:0x0781, B:245:0x07b3, B:235:0x0789, B:237:0x0792, B:239:0x0798, B:242:0x07a4, B:244:0x07ae, B:246:0x07b6, B:247:0x07c2, B:250:0x07ca, B:252:0x07dc, B:253:0x07e7, B:255:0x07ef, B:259:0x081e, B:261:0x083a, B:263:0x084f, B:265:0x086b, B:267:0x0880, B:268:0x089c, B:270:0x08a2, B:272:0x08ba, B:273:0x08c8, B:275:0x08d8, B:276:0x08e6, B:277:0x08e9, B:279:0x0933, B:281:0x0939, B:287:0x0964, B:289:0x096c, B:290:0x098a, B:292:0x0990, B:293:0x09a4, B:295:0x09bb, B:297:0x09d5, B:299:0x09e7, B:301:0x09f1, B:302:0x09f4, B:304:0x0a4f, B:305:0x0a62, B:308:0x0a6a, B:311:0x0a89, B:313:0x0aa2, B:315:0x0ab7, B:317:0x0abc, B:319:0x0ac0, B:321:0x0ac4, B:323:0x0ace, B:325:0x0ad7, B:327:0x0adb, B:329:0x0ae1, B:331:0x0aec, B:333:0x0afa, B:400:0x0d5b, B:335:0x0b02, B:337:0x0b1e, B:342:0x0b3b, B:344:0x0b5b, B:345:0x0b63, B:347:0x0b69, B:349:0x0b7b, B:355:0x0b91, B:357:0x0ba7, B:358:0x0bca, B:360:0x0bd6, B:362:0x0bec, B:363:0x0c2c, B:369:0x0c48, B:371:0x0c53, B:373:0x0c57, B:375:0x0c5b, B:377:0x0c5f, B:378:0x0c6b, B:379:0x0c70, B:381:0x0c76, B:383:0x0c8c, B:384:0x0c91, B:399:0x0d58, B:386:0x0cd0, B:388:0x0cd4, B:392:0x0ce8, B:394:0x0d04, B:395:0x0d0b, B:398:0x0d4c, B:389:0x0cd9, B:340:0x0b24, B:401:0x0d61, B:403:0x0d6b, B:404:0x0d7f, B:405:0x0d87, B:407:0x0d8d, B:408:0x0da1, B:410:0x0db3, B:430:0x0e66, B:432:0x0e6c, B:434:0x0e83, B:437:0x0e8e, B:439:0x0e98, B:441:0x0ebf, B:443:0x0ecf, B:444:0x0ed9, B:446:0x0ee7, B:447:0x0ef1, B:448:0x0efc, B:450:0x0f0e, B:453:0x0f15, B:458:0x0f58, B:454:0x0f24, B:456:0x0f32, B:457:0x0f3f, B:459:0x0f67, B:460:0x0f7a, B:464:0x0f9a, B:463:0x0f85, B:411:0x0dce, B:413:0x0dd4, B:415:0x0de6, B:417:0x0ded, B:423:0x0e05, B:425:0x0e0c, B:427:0x0e57, B:429:0x0e5e, B:428:0x0e5b, B:424:0x0e09, B:416:0x0dea, B:282:0x0949, B:284:0x094f, B:286:0x0955, B:266:0x087d, B:262:0x084c, B:256:0x07f5, B:258:0x07fb, B:465:0x0fa3), top: B:473:0x0019, inners: #0, #2 }] */
    /* JADX WARN: Removed duplicated region for block: B:152:0x0522  */
    /* JADX WARN: Removed duplicated region for block: B:186:0x05ea A[Catch: all -> 0x0125, TryCatch #1 {all -> 0x0125, blocks: (B:3:0x0019, B:5:0x0035, B:8:0x003e, B:9:0x005e, B:12:0x007a, B:15:0x00a6, B:17:0x00e5, B:20:0x00fe, B:22:0x0108, B:227:0x074f, B:26:0x0135, B:29:0x014b, B:31:0x0151, B:33:0x0157, B:35:0x016a, B:39:0x0177, B:41:0x0182, B:43:0x0190, B:45:0x0196, B:49:0x01a1, B:50:0x01af, B:52:0x01c1, B:55:0x01e1, B:57:0x01e7, B:59:0x01f7, B:61:0x0205, B:63:0x0215, B:64:0x0220, B:65:0x0223, B:67:0x0230, B:69:0x023a, B:70:0x024a, B:72:0x0269, B:74:0x0273, B:76:0x0289, B:77:0x0293, B:80:0x029e, B:81:0x02a8, B:84:0x02b0, B:87:0x02c1, B:88:0x02c4, B:90:0x02db, B:141:0x04d5, B:142:0x04d8, B:144:0x04e4, B:147:0x04f5, B:149:0x0506, B:151:0x0512, B:184:0x05dd, B:186:0x05ea, B:188:0x05f0, B:190:0x05f6, B:192:0x0606, B:193:0x0609, B:194:0x0615, B:196:0x061b, B:197:0x0627, B:199:0x062d, B:201:0x063d, B:203:0x0647, B:204:0x065c, B:206:0x0662, B:207:0x067d, B:209:0x0683, B:210:0x06a1, B:211:0x06ae, B:215:0x06d7, B:212:0x06b4, B:214:0x06c2, B:216:0x06df, B:217:0x06fe, B:219:0x0704, B:221:0x0717, B:222:0x0724, B:224:0x072b, B:226:0x073b, B:155:0x0535, B:157:0x0545, B:160:0x0558, B:162:0x056a, B:164:0x0576, B:167:0x058a, B:170:0x0598, B:172:0x05a2, B:174:0x05ac, B:177:0x05b7, B:179:0x05bd, B:181:0x05cd, B:182:0x05d8, B:98:0x0301, B:101:0x030b, B:103:0x0319, B:107:0x036a, B:104:0x033b, B:106:0x0349, B:110:0x0371, B:113:0x03a4, B:114:0x03cc, B:116:0x0401, B:118:0x0407, B:121:0x0413, B:123:0x0448, B:124:0x0465, B:126:0x046b, B:128:0x0479, B:132:0x048d, B:129:0x0481, B:135:0x0494, B:138:0x049b, B:139:0x04ba, B:230:0x0766, B:232:0x0778, B:234:0x0781, B:245:0x07b3, B:235:0x0789, B:237:0x0792, B:239:0x0798, B:242:0x07a4, B:244:0x07ae, B:246:0x07b6, B:247:0x07c2, B:250:0x07ca, B:252:0x07dc, B:253:0x07e7, B:255:0x07ef, B:259:0x081e, B:261:0x083a, B:263:0x084f, B:265:0x086b, B:267:0x0880, B:268:0x089c, B:270:0x08a2, B:272:0x08ba, B:273:0x08c8, B:275:0x08d8, B:276:0x08e6, B:277:0x08e9, B:279:0x0933, B:281:0x0939, B:287:0x0964, B:289:0x096c, B:290:0x098a, B:292:0x0990, B:293:0x09a4, B:295:0x09bb, B:297:0x09d5, B:299:0x09e7, B:301:0x09f1, B:302:0x09f4, B:304:0x0a4f, B:305:0x0a62, B:308:0x0a6a, B:311:0x0a89, B:313:0x0aa2, B:315:0x0ab7, B:317:0x0abc, B:319:0x0ac0, B:321:0x0ac4, B:323:0x0ace, B:325:0x0ad7, B:327:0x0adb, B:329:0x0ae1, B:331:0x0aec, B:333:0x0afa, B:400:0x0d5b, B:335:0x0b02, B:337:0x0b1e, B:342:0x0b3b, B:344:0x0b5b, B:345:0x0b63, B:347:0x0b69, B:349:0x0b7b, B:355:0x0b91, B:357:0x0ba7, B:358:0x0bca, B:360:0x0bd6, B:362:0x0bec, B:363:0x0c2c, B:369:0x0c48, B:371:0x0c53, B:373:0x0c57, B:375:0x0c5b, B:377:0x0c5f, B:378:0x0c6b, B:379:0x0c70, B:381:0x0c76, B:383:0x0c8c, B:384:0x0c91, B:399:0x0d58, B:386:0x0cd0, B:388:0x0cd4, B:392:0x0ce8, B:394:0x0d04, B:395:0x0d0b, B:398:0x0d4c, B:389:0x0cd9, B:340:0x0b24, B:401:0x0d61, B:403:0x0d6b, B:404:0x0d7f, B:405:0x0d87, B:407:0x0d8d, B:408:0x0da1, B:410:0x0db3, B:430:0x0e66, B:432:0x0e6c, B:434:0x0e83, B:437:0x0e8e, B:439:0x0e98, B:441:0x0ebf, B:443:0x0ecf, B:444:0x0ed9, B:446:0x0ee7, B:447:0x0ef1, B:448:0x0efc, B:450:0x0f0e, B:453:0x0f15, B:458:0x0f58, B:454:0x0f24, B:456:0x0f32, B:457:0x0f3f, B:459:0x0f67, B:460:0x0f7a, B:464:0x0f9a, B:463:0x0f85, B:411:0x0dce, B:413:0x0dd4, B:415:0x0de6, B:417:0x0ded, B:423:0x0e05, B:425:0x0e0c, B:427:0x0e57, B:429:0x0e5e, B:428:0x0e5b, B:424:0x0e09, B:416:0x0dea, B:282:0x0949, B:284:0x094f, B:286:0x0955, B:266:0x087d, B:262:0x084c, B:256:0x07f5, B:258:0x07fb, B:465:0x0fa3), top: B:473:0x0019, inners: #0, #2 }] */
    /* JADX WARN: Removed duplicated region for block: B:192:0x0606 A[Catch: all -> 0x0125, TryCatch #1 {all -> 0x0125, blocks: (B:3:0x0019, B:5:0x0035, B:8:0x003e, B:9:0x005e, B:12:0x007a, B:15:0x00a6, B:17:0x00e5, B:20:0x00fe, B:22:0x0108, B:227:0x074f, B:26:0x0135, B:29:0x014b, B:31:0x0151, B:33:0x0157, B:35:0x016a, B:39:0x0177, B:41:0x0182, B:43:0x0190, B:45:0x0196, B:49:0x01a1, B:50:0x01af, B:52:0x01c1, B:55:0x01e1, B:57:0x01e7, B:59:0x01f7, B:61:0x0205, B:63:0x0215, B:64:0x0220, B:65:0x0223, B:67:0x0230, B:69:0x023a, B:70:0x024a, B:72:0x0269, B:74:0x0273, B:76:0x0289, B:77:0x0293, B:80:0x029e, B:81:0x02a8, B:84:0x02b0, B:87:0x02c1, B:88:0x02c4, B:90:0x02db, B:141:0x04d5, B:142:0x04d8, B:144:0x04e4, B:147:0x04f5, B:149:0x0506, B:151:0x0512, B:184:0x05dd, B:186:0x05ea, B:188:0x05f0, B:190:0x05f6, B:192:0x0606, B:193:0x0609, B:194:0x0615, B:196:0x061b, B:197:0x0627, B:199:0x062d, B:201:0x063d, B:203:0x0647, B:204:0x065c, B:206:0x0662, B:207:0x067d, B:209:0x0683, B:210:0x06a1, B:211:0x06ae, B:215:0x06d7, B:212:0x06b4, B:214:0x06c2, B:216:0x06df, B:217:0x06fe, B:219:0x0704, B:221:0x0717, B:222:0x0724, B:224:0x072b, B:226:0x073b, B:155:0x0535, B:157:0x0545, B:160:0x0558, B:162:0x056a, B:164:0x0576, B:167:0x058a, B:170:0x0598, B:172:0x05a2, B:174:0x05ac, B:177:0x05b7, B:179:0x05bd, B:181:0x05cd, B:182:0x05d8, B:98:0x0301, B:101:0x030b, B:103:0x0319, B:107:0x036a, B:104:0x033b, B:106:0x0349, B:110:0x0371, B:113:0x03a4, B:114:0x03cc, B:116:0x0401, B:118:0x0407, B:121:0x0413, B:123:0x0448, B:124:0x0465, B:126:0x046b, B:128:0x0479, B:132:0x048d, B:129:0x0481, B:135:0x0494, B:138:0x049b, B:139:0x04ba, B:230:0x0766, B:232:0x0778, B:234:0x0781, B:245:0x07b3, B:235:0x0789, B:237:0x0792, B:239:0x0798, B:242:0x07a4, B:244:0x07ae, B:246:0x07b6, B:247:0x07c2, B:250:0x07ca, B:252:0x07dc, B:253:0x07e7, B:255:0x07ef, B:259:0x081e, B:261:0x083a, B:263:0x084f, B:265:0x086b, B:267:0x0880, B:268:0x089c, B:270:0x08a2, B:272:0x08ba, B:273:0x08c8, B:275:0x08d8, B:276:0x08e6, B:277:0x08e9, B:279:0x0933, B:281:0x0939, B:287:0x0964, B:289:0x096c, B:290:0x098a, B:292:0x0990, B:293:0x09a4, B:295:0x09bb, B:297:0x09d5, B:299:0x09e7, B:301:0x09f1, B:302:0x09f4, B:304:0x0a4f, B:305:0x0a62, B:308:0x0a6a, B:311:0x0a89, B:313:0x0aa2, B:315:0x0ab7, B:317:0x0abc, B:319:0x0ac0, B:321:0x0ac4, B:323:0x0ace, B:325:0x0ad7, B:327:0x0adb, B:329:0x0ae1, B:331:0x0aec, B:333:0x0afa, B:400:0x0d5b, B:335:0x0b02, B:337:0x0b1e, B:342:0x0b3b, B:344:0x0b5b, B:345:0x0b63, B:347:0x0b69, B:349:0x0b7b, B:355:0x0b91, B:357:0x0ba7, B:358:0x0bca, B:360:0x0bd6, B:362:0x0bec, B:363:0x0c2c, B:369:0x0c48, B:371:0x0c53, B:373:0x0c57, B:375:0x0c5b, B:377:0x0c5f, B:378:0x0c6b, B:379:0x0c70, B:381:0x0c76, B:383:0x0c8c, B:384:0x0c91, B:399:0x0d58, B:386:0x0cd0, B:388:0x0cd4, B:392:0x0ce8, B:394:0x0d04, B:395:0x0d0b, B:398:0x0d4c, B:389:0x0cd9, B:340:0x0b24, B:401:0x0d61, B:403:0x0d6b, B:404:0x0d7f, B:405:0x0d87, B:407:0x0d8d, B:408:0x0da1, B:410:0x0db3, B:430:0x0e66, B:432:0x0e6c, B:434:0x0e83, B:437:0x0e8e, B:439:0x0e98, B:441:0x0ebf, B:443:0x0ecf, B:444:0x0ed9, B:446:0x0ee7, B:447:0x0ef1, B:448:0x0efc, B:450:0x0f0e, B:453:0x0f15, B:458:0x0f58, B:454:0x0f24, B:456:0x0f32, B:457:0x0f3f, B:459:0x0f67, B:460:0x0f7a, B:464:0x0f9a, B:463:0x0f85, B:411:0x0dce, B:413:0x0dd4, B:415:0x0de6, B:417:0x0ded, B:423:0x0e05, B:425:0x0e0c, B:427:0x0e57, B:429:0x0e5e, B:428:0x0e5b, B:424:0x0e09, B:416:0x0dea, B:282:0x0949, B:284:0x094f, B:286:0x0955, B:266:0x087d, B:262:0x084c, B:256:0x07f5, B:258:0x07fb, B:465:0x0fa3), top: B:473:0x0019, inners: #0, #2 }] */
    /* JADX WARN: Removed duplicated region for block: B:196:0x061b A[Catch: all -> 0x0125, TryCatch #1 {all -> 0x0125, blocks: (B:3:0x0019, B:5:0x0035, B:8:0x003e, B:9:0x005e, B:12:0x007a, B:15:0x00a6, B:17:0x00e5, B:20:0x00fe, B:22:0x0108, B:227:0x074f, B:26:0x0135, B:29:0x014b, B:31:0x0151, B:33:0x0157, B:35:0x016a, B:39:0x0177, B:41:0x0182, B:43:0x0190, B:45:0x0196, B:49:0x01a1, B:50:0x01af, B:52:0x01c1, B:55:0x01e1, B:57:0x01e7, B:59:0x01f7, B:61:0x0205, B:63:0x0215, B:64:0x0220, B:65:0x0223, B:67:0x0230, B:69:0x023a, B:70:0x024a, B:72:0x0269, B:74:0x0273, B:76:0x0289, B:77:0x0293, B:80:0x029e, B:81:0x02a8, B:84:0x02b0, B:87:0x02c1, B:88:0x02c4, B:90:0x02db, B:141:0x04d5, B:142:0x04d8, B:144:0x04e4, B:147:0x04f5, B:149:0x0506, B:151:0x0512, B:184:0x05dd, B:186:0x05ea, B:188:0x05f0, B:190:0x05f6, B:192:0x0606, B:193:0x0609, B:194:0x0615, B:196:0x061b, B:197:0x0627, B:199:0x062d, B:201:0x063d, B:203:0x0647, B:204:0x065c, B:206:0x0662, B:207:0x067d, B:209:0x0683, B:210:0x06a1, B:211:0x06ae, B:215:0x06d7, B:212:0x06b4, B:214:0x06c2, B:216:0x06df, B:217:0x06fe, B:219:0x0704, B:221:0x0717, B:222:0x0724, B:224:0x072b, B:226:0x073b, B:155:0x0535, B:157:0x0545, B:160:0x0558, B:162:0x056a, B:164:0x0576, B:167:0x058a, B:170:0x0598, B:172:0x05a2, B:174:0x05ac, B:177:0x05b7, B:179:0x05bd, B:181:0x05cd, B:182:0x05d8, B:98:0x0301, B:101:0x030b, B:103:0x0319, B:107:0x036a, B:104:0x033b, B:106:0x0349, B:110:0x0371, B:113:0x03a4, B:114:0x03cc, B:116:0x0401, B:118:0x0407, B:121:0x0413, B:123:0x0448, B:124:0x0465, B:126:0x046b, B:128:0x0479, B:132:0x048d, B:129:0x0481, B:135:0x0494, B:138:0x049b, B:139:0x04ba, B:230:0x0766, B:232:0x0778, B:234:0x0781, B:245:0x07b3, B:235:0x0789, B:237:0x0792, B:239:0x0798, B:242:0x07a4, B:244:0x07ae, B:246:0x07b6, B:247:0x07c2, B:250:0x07ca, B:252:0x07dc, B:253:0x07e7, B:255:0x07ef, B:259:0x081e, B:261:0x083a, B:263:0x084f, B:265:0x086b, B:267:0x0880, B:268:0x089c, B:270:0x08a2, B:272:0x08ba, B:273:0x08c8, B:275:0x08d8, B:276:0x08e6, B:277:0x08e9, B:279:0x0933, B:281:0x0939, B:287:0x0964, B:289:0x096c, B:290:0x098a, B:292:0x0990, B:293:0x09a4, B:295:0x09bb, B:297:0x09d5, B:299:0x09e7, B:301:0x09f1, B:302:0x09f4, B:304:0x0a4f, B:305:0x0a62, B:308:0x0a6a, B:311:0x0a89, B:313:0x0aa2, B:315:0x0ab7, B:317:0x0abc, B:319:0x0ac0, B:321:0x0ac4, B:323:0x0ace, B:325:0x0ad7, B:327:0x0adb, B:329:0x0ae1, B:331:0x0aec, B:333:0x0afa, B:400:0x0d5b, B:335:0x0b02, B:337:0x0b1e, B:342:0x0b3b, B:344:0x0b5b, B:345:0x0b63, B:347:0x0b69, B:349:0x0b7b, B:355:0x0b91, B:357:0x0ba7, B:358:0x0bca, B:360:0x0bd6, B:362:0x0bec, B:363:0x0c2c, B:369:0x0c48, B:371:0x0c53, B:373:0x0c57, B:375:0x0c5b, B:377:0x0c5f, B:378:0x0c6b, B:379:0x0c70, B:381:0x0c76, B:383:0x0c8c, B:384:0x0c91, B:399:0x0d58, B:386:0x0cd0, B:388:0x0cd4, B:392:0x0ce8, B:394:0x0d04, B:395:0x0d0b, B:398:0x0d4c, B:389:0x0cd9, B:340:0x0b24, B:401:0x0d61, B:403:0x0d6b, B:404:0x0d7f, B:405:0x0d87, B:407:0x0d8d, B:408:0x0da1, B:410:0x0db3, B:430:0x0e66, B:432:0x0e6c, B:434:0x0e83, B:437:0x0e8e, B:439:0x0e98, B:441:0x0ebf, B:443:0x0ecf, B:444:0x0ed9, B:446:0x0ee7, B:447:0x0ef1, B:448:0x0efc, B:450:0x0f0e, B:453:0x0f15, B:458:0x0f58, B:454:0x0f24, B:456:0x0f32, B:457:0x0f3f, B:459:0x0f67, B:460:0x0f7a, B:464:0x0f9a, B:463:0x0f85, B:411:0x0dce, B:413:0x0dd4, B:415:0x0de6, B:417:0x0ded, B:423:0x0e05, B:425:0x0e0c, B:427:0x0e57, B:429:0x0e5e, B:428:0x0e5b, B:424:0x0e09, B:416:0x0dea, B:282:0x0949, B:284:0x094f, B:286:0x0955, B:266:0x087d, B:262:0x084c, B:256:0x07f5, B:258:0x07fb, B:465:0x0fa3), top: B:473:0x0019, inners: #0, #2 }] */
    /* JADX WARN: Removed duplicated region for block: B:225:0x0737  */
    /* JADX WARN: Removed duplicated region for block: B:235:0x0789 A[Catch: all -> 0x0125, TryCatch #1 {all -> 0x0125, blocks: (B:3:0x0019, B:5:0x0035, B:8:0x003e, B:9:0x005e, B:12:0x007a, B:15:0x00a6, B:17:0x00e5, B:20:0x00fe, B:22:0x0108, B:227:0x074f, B:26:0x0135, B:29:0x014b, B:31:0x0151, B:33:0x0157, B:35:0x016a, B:39:0x0177, B:41:0x0182, B:43:0x0190, B:45:0x0196, B:49:0x01a1, B:50:0x01af, B:52:0x01c1, B:55:0x01e1, B:57:0x01e7, B:59:0x01f7, B:61:0x0205, B:63:0x0215, B:64:0x0220, B:65:0x0223, B:67:0x0230, B:69:0x023a, B:70:0x024a, B:72:0x0269, B:74:0x0273, B:76:0x0289, B:77:0x0293, B:80:0x029e, B:81:0x02a8, B:84:0x02b0, B:87:0x02c1, B:88:0x02c4, B:90:0x02db, B:141:0x04d5, B:142:0x04d8, B:144:0x04e4, B:147:0x04f5, B:149:0x0506, B:151:0x0512, B:184:0x05dd, B:186:0x05ea, B:188:0x05f0, B:190:0x05f6, B:192:0x0606, B:193:0x0609, B:194:0x0615, B:196:0x061b, B:197:0x0627, B:199:0x062d, B:201:0x063d, B:203:0x0647, B:204:0x065c, B:206:0x0662, B:207:0x067d, B:209:0x0683, B:210:0x06a1, B:211:0x06ae, B:215:0x06d7, B:212:0x06b4, B:214:0x06c2, B:216:0x06df, B:217:0x06fe, B:219:0x0704, B:221:0x0717, B:222:0x0724, B:224:0x072b, B:226:0x073b, B:155:0x0535, B:157:0x0545, B:160:0x0558, B:162:0x056a, B:164:0x0576, B:167:0x058a, B:170:0x0598, B:172:0x05a2, B:174:0x05ac, B:177:0x05b7, B:179:0x05bd, B:181:0x05cd, B:182:0x05d8, B:98:0x0301, B:101:0x030b, B:103:0x0319, B:107:0x036a, B:104:0x033b, B:106:0x0349, B:110:0x0371, B:113:0x03a4, B:114:0x03cc, B:116:0x0401, B:118:0x0407, B:121:0x0413, B:123:0x0448, B:124:0x0465, B:126:0x046b, B:128:0x0479, B:132:0x048d, B:129:0x0481, B:135:0x0494, B:138:0x049b, B:139:0x04ba, B:230:0x0766, B:232:0x0778, B:234:0x0781, B:245:0x07b3, B:235:0x0789, B:237:0x0792, B:239:0x0798, B:242:0x07a4, B:244:0x07ae, B:246:0x07b6, B:247:0x07c2, B:250:0x07ca, B:252:0x07dc, B:253:0x07e7, B:255:0x07ef, B:259:0x081e, B:261:0x083a, B:263:0x084f, B:265:0x086b, B:267:0x0880, B:268:0x089c, B:270:0x08a2, B:272:0x08ba, B:273:0x08c8, B:275:0x08d8, B:276:0x08e6, B:277:0x08e9, B:279:0x0933, B:281:0x0939, B:287:0x0964, B:289:0x096c, B:290:0x098a, B:292:0x0990, B:293:0x09a4, B:295:0x09bb, B:297:0x09d5, B:299:0x09e7, B:301:0x09f1, B:302:0x09f4, B:304:0x0a4f, B:305:0x0a62, B:308:0x0a6a, B:311:0x0a89, B:313:0x0aa2, B:315:0x0ab7, B:317:0x0abc, B:319:0x0ac0, B:321:0x0ac4, B:323:0x0ace, B:325:0x0ad7, B:327:0x0adb, B:329:0x0ae1, B:331:0x0aec, B:333:0x0afa, B:400:0x0d5b, B:335:0x0b02, B:337:0x0b1e, B:342:0x0b3b, B:344:0x0b5b, B:345:0x0b63, B:347:0x0b69, B:349:0x0b7b, B:355:0x0b91, B:357:0x0ba7, B:358:0x0bca, B:360:0x0bd6, B:362:0x0bec, B:363:0x0c2c, B:369:0x0c48, B:371:0x0c53, B:373:0x0c57, B:375:0x0c5b, B:377:0x0c5f, B:378:0x0c6b, B:379:0x0c70, B:381:0x0c76, B:383:0x0c8c, B:384:0x0c91, B:399:0x0d58, B:386:0x0cd0, B:388:0x0cd4, B:392:0x0ce8, B:394:0x0d04, B:395:0x0d0b, B:398:0x0d4c, B:389:0x0cd9, B:340:0x0b24, B:401:0x0d61, B:403:0x0d6b, B:404:0x0d7f, B:405:0x0d87, B:407:0x0d8d, B:408:0x0da1, B:410:0x0db3, B:430:0x0e66, B:432:0x0e6c, B:434:0x0e83, B:437:0x0e8e, B:439:0x0e98, B:441:0x0ebf, B:443:0x0ecf, B:444:0x0ed9, B:446:0x0ee7, B:447:0x0ef1, B:448:0x0efc, B:450:0x0f0e, B:453:0x0f15, B:458:0x0f58, B:454:0x0f24, B:456:0x0f32, B:457:0x0f3f, B:459:0x0f67, B:460:0x0f7a, B:464:0x0f9a, B:463:0x0f85, B:411:0x0dce, B:413:0x0dd4, B:415:0x0de6, B:417:0x0ded, B:423:0x0e05, B:425:0x0e0c, B:427:0x0e57, B:429:0x0e5e, B:428:0x0e5b, B:424:0x0e09, B:416:0x0dea, B:282:0x0949, B:284:0x094f, B:286:0x0955, B:266:0x087d, B:262:0x084c, B:256:0x07f5, B:258:0x07fb, B:465:0x0fa3), top: B:473:0x0019, inners: #0, #2 }] */
    /* JADX WARN: Removed duplicated region for block: B:344:0x0b5b A[Catch: all -> 0x0125, TryCatch #1 {all -> 0x0125, blocks: (B:3:0x0019, B:5:0x0035, B:8:0x003e, B:9:0x005e, B:12:0x007a, B:15:0x00a6, B:17:0x00e5, B:20:0x00fe, B:22:0x0108, B:227:0x074f, B:26:0x0135, B:29:0x014b, B:31:0x0151, B:33:0x0157, B:35:0x016a, B:39:0x0177, B:41:0x0182, B:43:0x0190, B:45:0x0196, B:49:0x01a1, B:50:0x01af, B:52:0x01c1, B:55:0x01e1, B:57:0x01e7, B:59:0x01f7, B:61:0x0205, B:63:0x0215, B:64:0x0220, B:65:0x0223, B:67:0x0230, B:69:0x023a, B:70:0x024a, B:72:0x0269, B:74:0x0273, B:76:0x0289, B:77:0x0293, B:80:0x029e, B:81:0x02a8, B:84:0x02b0, B:87:0x02c1, B:88:0x02c4, B:90:0x02db, B:141:0x04d5, B:142:0x04d8, B:144:0x04e4, B:147:0x04f5, B:149:0x0506, B:151:0x0512, B:184:0x05dd, B:186:0x05ea, B:188:0x05f0, B:190:0x05f6, B:192:0x0606, B:193:0x0609, B:194:0x0615, B:196:0x061b, B:197:0x0627, B:199:0x062d, B:201:0x063d, B:203:0x0647, B:204:0x065c, B:206:0x0662, B:207:0x067d, B:209:0x0683, B:210:0x06a1, B:211:0x06ae, B:215:0x06d7, B:212:0x06b4, B:214:0x06c2, B:216:0x06df, B:217:0x06fe, B:219:0x0704, B:221:0x0717, B:222:0x0724, B:224:0x072b, B:226:0x073b, B:155:0x0535, B:157:0x0545, B:160:0x0558, B:162:0x056a, B:164:0x0576, B:167:0x058a, B:170:0x0598, B:172:0x05a2, B:174:0x05ac, B:177:0x05b7, B:179:0x05bd, B:181:0x05cd, B:182:0x05d8, B:98:0x0301, B:101:0x030b, B:103:0x0319, B:107:0x036a, B:104:0x033b, B:106:0x0349, B:110:0x0371, B:113:0x03a4, B:114:0x03cc, B:116:0x0401, B:118:0x0407, B:121:0x0413, B:123:0x0448, B:124:0x0465, B:126:0x046b, B:128:0x0479, B:132:0x048d, B:129:0x0481, B:135:0x0494, B:138:0x049b, B:139:0x04ba, B:230:0x0766, B:232:0x0778, B:234:0x0781, B:245:0x07b3, B:235:0x0789, B:237:0x0792, B:239:0x0798, B:242:0x07a4, B:244:0x07ae, B:246:0x07b6, B:247:0x07c2, B:250:0x07ca, B:252:0x07dc, B:253:0x07e7, B:255:0x07ef, B:259:0x081e, B:261:0x083a, B:263:0x084f, B:265:0x086b, B:267:0x0880, B:268:0x089c, B:270:0x08a2, B:272:0x08ba, B:273:0x08c8, B:275:0x08d8, B:276:0x08e6, B:277:0x08e9, B:279:0x0933, B:281:0x0939, B:287:0x0964, B:289:0x096c, B:290:0x098a, B:292:0x0990, B:293:0x09a4, B:295:0x09bb, B:297:0x09d5, B:299:0x09e7, B:301:0x09f1, B:302:0x09f4, B:304:0x0a4f, B:305:0x0a62, B:308:0x0a6a, B:311:0x0a89, B:313:0x0aa2, B:315:0x0ab7, B:317:0x0abc, B:319:0x0ac0, B:321:0x0ac4, B:323:0x0ace, B:325:0x0ad7, B:327:0x0adb, B:329:0x0ae1, B:331:0x0aec, B:333:0x0afa, B:400:0x0d5b, B:335:0x0b02, B:337:0x0b1e, B:342:0x0b3b, B:344:0x0b5b, B:345:0x0b63, B:347:0x0b69, B:349:0x0b7b, B:355:0x0b91, B:357:0x0ba7, B:358:0x0bca, B:360:0x0bd6, B:362:0x0bec, B:363:0x0c2c, B:369:0x0c48, B:371:0x0c53, B:373:0x0c57, B:375:0x0c5b, B:377:0x0c5f, B:378:0x0c6b, B:379:0x0c70, B:381:0x0c76, B:383:0x0c8c, B:384:0x0c91, B:399:0x0d58, B:386:0x0cd0, B:388:0x0cd4, B:392:0x0ce8, B:394:0x0d04, B:395:0x0d0b, B:398:0x0d4c, B:389:0x0cd9, B:340:0x0b24, B:401:0x0d61, B:403:0x0d6b, B:404:0x0d7f, B:405:0x0d87, B:407:0x0d8d, B:408:0x0da1, B:410:0x0db3, B:430:0x0e66, B:432:0x0e6c, B:434:0x0e83, B:437:0x0e8e, B:439:0x0e98, B:441:0x0ebf, B:443:0x0ecf, B:444:0x0ed9, B:446:0x0ee7, B:447:0x0ef1, B:448:0x0efc, B:450:0x0f0e, B:453:0x0f15, B:458:0x0f58, B:454:0x0f24, B:456:0x0f32, B:457:0x0f3f, B:459:0x0f67, B:460:0x0f7a, B:464:0x0f9a, B:463:0x0f85, B:411:0x0dce, B:413:0x0dd4, B:415:0x0de6, B:417:0x0ded, B:423:0x0e05, B:425:0x0e0c, B:427:0x0e57, B:429:0x0e5e, B:428:0x0e5b, B:424:0x0e09, B:416:0x0dea, B:282:0x0949, B:284:0x094f, B:286:0x0955, B:266:0x087d, B:262:0x084c, B:256:0x07f5, B:258:0x07fb, B:465:0x0fa3), top: B:473:0x0019, inners: #0, #2 }] */
    /* JADX WARN: Removed duplicated region for block: B:354:0x0b8f A[PHI: r13
      0x0b8f: PHI (r13v11 long) = (r13v10 long), (r13v36 long) binds: [B:343:0x0b59, B:523:0x0b8f] A[DONT_GENERATE, DONT_INLINE]] */
    /* JADX WARN: Removed duplicated region for block: B:357:0x0ba7 A[Catch: all -> 0x0125, TryCatch #1 {all -> 0x0125, blocks: (B:3:0x0019, B:5:0x0035, B:8:0x003e, B:9:0x005e, B:12:0x007a, B:15:0x00a6, B:17:0x00e5, B:20:0x00fe, B:22:0x0108, B:227:0x074f, B:26:0x0135, B:29:0x014b, B:31:0x0151, B:33:0x0157, B:35:0x016a, B:39:0x0177, B:41:0x0182, B:43:0x0190, B:45:0x0196, B:49:0x01a1, B:50:0x01af, B:52:0x01c1, B:55:0x01e1, B:57:0x01e7, B:59:0x01f7, B:61:0x0205, B:63:0x0215, B:64:0x0220, B:65:0x0223, B:67:0x0230, B:69:0x023a, B:70:0x024a, B:72:0x0269, B:74:0x0273, B:76:0x0289, B:77:0x0293, B:80:0x029e, B:81:0x02a8, B:84:0x02b0, B:87:0x02c1, B:88:0x02c4, B:90:0x02db, B:141:0x04d5, B:142:0x04d8, B:144:0x04e4, B:147:0x04f5, B:149:0x0506, B:151:0x0512, B:184:0x05dd, B:186:0x05ea, B:188:0x05f0, B:190:0x05f6, B:192:0x0606, B:193:0x0609, B:194:0x0615, B:196:0x061b, B:197:0x0627, B:199:0x062d, B:201:0x063d, B:203:0x0647, B:204:0x065c, B:206:0x0662, B:207:0x067d, B:209:0x0683, B:210:0x06a1, B:211:0x06ae, B:215:0x06d7, B:212:0x06b4, B:214:0x06c2, B:216:0x06df, B:217:0x06fe, B:219:0x0704, B:221:0x0717, B:222:0x0724, B:224:0x072b, B:226:0x073b, B:155:0x0535, B:157:0x0545, B:160:0x0558, B:162:0x056a, B:164:0x0576, B:167:0x058a, B:170:0x0598, B:172:0x05a2, B:174:0x05ac, B:177:0x05b7, B:179:0x05bd, B:181:0x05cd, B:182:0x05d8, B:98:0x0301, B:101:0x030b, B:103:0x0319, B:107:0x036a, B:104:0x033b, B:106:0x0349, B:110:0x0371, B:113:0x03a4, B:114:0x03cc, B:116:0x0401, B:118:0x0407, B:121:0x0413, B:123:0x0448, B:124:0x0465, B:126:0x046b, B:128:0x0479, B:132:0x048d, B:129:0x0481, B:135:0x0494, B:138:0x049b, B:139:0x04ba, B:230:0x0766, B:232:0x0778, B:234:0x0781, B:245:0x07b3, B:235:0x0789, B:237:0x0792, B:239:0x0798, B:242:0x07a4, B:244:0x07ae, B:246:0x07b6, B:247:0x07c2, B:250:0x07ca, B:252:0x07dc, B:253:0x07e7, B:255:0x07ef, B:259:0x081e, B:261:0x083a, B:263:0x084f, B:265:0x086b, B:267:0x0880, B:268:0x089c, B:270:0x08a2, B:272:0x08ba, B:273:0x08c8, B:275:0x08d8, B:276:0x08e6, B:277:0x08e9, B:279:0x0933, B:281:0x0939, B:287:0x0964, B:289:0x096c, B:290:0x098a, B:292:0x0990, B:293:0x09a4, B:295:0x09bb, B:297:0x09d5, B:299:0x09e7, B:301:0x09f1, B:302:0x09f4, B:304:0x0a4f, B:305:0x0a62, B:308:0x0a6a, B:311:0x0a89, B:313:0x0aa2, B:315:0x0ab7, B:317:0x0abc, B:319:0x0ac0, B:321:0x0ac4, B:323:0x0ace, B:325:0x0ad7, B:327:0x0adb, B:329:0x0ae1, B:331:0x0aec, B:333:0x0afa, B:400:0x0d5b, B:335:0x0b02, B:337:0x0b1e, B:342:0x0b3b, B:344:0x0b5b, B:345:0x0b63, B:347:0x0b69, B:349:0x0b7b, B:355:0x0b91, B:357:0x0ba7, B:358:0x0bca, B:360:0x0bd6, B:362:0x0bec, B:363:0x0c2c, B:369:0x0c48, B:371:0x0c53, B:373:0x0c57, B:375:0x0c5b, B:377:0x0c5f, B:378:0x0c6b, B:379:0x0c70, B:381:0x0c76, B:383:0x0c8c, B:384:0x0c91, B:399:0x0d58, B:386:0x0cd0, B:388:0x0cd4, B:392:0x0ce8, B:394:0x0d04, B:395:0x0d0b, B:398:0x0d4c, B:389:0x0cd9, B:340:0x0b24, B:401:0x0d61, B:403:0x0d6b, B:404:0x0d7f, B:405:0x0d87, B:407:0x0d8d, B:408:0x0da1, B:410:0x0db3, B:430:0x0e66, B:432:0x0e6c, B:434:0x0e83, B:437:0x0e8e, B:439:0x0e98, B:441:0x0ebf, B:443:0x0ecf, B:444:0x0ed9, B:446:0x0ee7, B:447:0x0ef1, B:448:0x0efc, B:450:0x0f0e, B:453:0x0f15, B:458:0x0f58, B:454:0x0f24, B:456:0x0f32, B:457:0x0f3f, B:459:0x0f67, B:460:0x0f7a, B:464:0x0f9a, B:463:0x0f85, B:411:0x0dce, B:413:0x0dd4, B:415:0x0de6, B:417:0x0ded, B:423:0x0e05, B:425:0x0e0c, B:427:0x0e57, B:429:0x0e5e, B:428:0x0e5b, B:424:0x0e09, B:416:0x0dea, B:282:0x0949, B:284:0x094f, B:286:0x0955, B:266:0x087d, B:262:0x084c, B:256:0x07f5, B:258:0x07fb, B:465:0x0fa3), top: B:473:0x0019, inners: #0, #2 }] */
    /* JADX WARN: Removed duplicated region for block: B:358:0x0bca A[Catch: all -> 0x0125, TryCatch #1 {all -> 0x0125, blocks: (B:3:0x0019, B:5:0x0035, B:8:0x003e, B:9:0x005e, B:12:0x007a, B:15:0x00a6, B:17:0x00e5, B:20:0x00fe, B:22:0x0108, B:227:0x074f, B:26:0x0135, B:29:0x014b, B:31:0x0151, B:33:0x0157, B:35:0x016a, B:39:0x0177, B:41:0x0182, B:43:0x0190, B:45:0x0196, B:49:0x01a1, B:50:0x01af, B:52:0x01c1, B:55:0x01e1, B:57:0x01e7, B:59:0x01f7, B:61:0x0205, B:63:0x0215, B:64:0x0220, B:65:0x0223, B:67:0x0230, B:69:0x023a, B:70:0x024a, B:72:0x0269, B:74:0x0273, B:76:0x0289, B:77:0x0293, B:80:0x029e, B:81:0x02a8, B:84:0x02b0, B:87:0x02c1, B:88:0x02c4, B:90:0x02db, B:141:0x04d5, B:142:0x04d8, B:144:0x04e4, B:147:0x04f5, B:149:0x0506, B:151:0x0512, B:184:0x05dd, B:186:0x05ea, B:188:0x05f0, B:190:0x05f6, B:192:0x0606, B:193:0x0609, B:194:0x0615, B:196:0x061b, B:197:0x0627, B:199:0x062d, B:201:0x063d, B:203:0x0647, B:204:0x065c, B:206:0x0662, B:207:0x067d, B:209:0x0683, B:210:0x06a1, B:211:0x06ae, B:215:0x06d7, B:212:0x06b4, B:214:0x06c2, B:216:0x06df, B:217:0x06fe, B:219:0x0704, B:221:0x0717, B:222:0x0724, B:224:0x072b, B:226:0x073b, B:155:0x0535, B:157:0x0545, B:160:0x0558, B:162:0x056a, B:164:0x0576, B:167:0x058a, B:170:0x0598, B:172:0x05a2, B:174:0x05ac, B:177:0x05b7, B:179:0x05bd, B:181:0x05cd, B:182:0x05d8, B:98:0x0301, B:101:0x030b, B:103:0x0319, B:107:0x036a, B:104:0x033b, B:106:0x0349, B:110:0x0371, B:113:0x03a4, B:114:0x03cc, B:116:0x0401, B:118:0x0407, B:121:0x0413, B:123:0x0448, B:124:0x0465, B:126:0x046b, B:128:0x0479, B:132:0x048d, B:129:0x0481, B:135:0x0494, B:138:0x049b, B:139:0x04ba, B:230:0x0766, B:232:0x0778, B:234:0x0781, B:245:0x07b3, B:235:0x0789, B:237:0x0792, B:239:0x0798, B:242:0x07a4, B:244:0x07ae, B:246:0x07b6, B:247:0x07c2, B:250:0x07ca, B:252:0x07dc, B:253:0x07e7, B:255:0x07ef, B:259:0x081e, B:261:0x083a, B:263:0x084f, B:265:0x086b, B:267:0x0880, B:268:0x089c, B:270:0x08a2, B:272:0x08ba, B:273:0x08c8, B:275:0x08d8, B:276:0x08e6, B:277:0x08e9, B:279:0x0933, B:281:0x0939, B:287:0x0964, B:289:0x096c, B:290:0x098a, B:292:0x0990, B:293:0x09a4, B:295:0x09bb, B:297:0x09d5, B:299:0x09e7, B:301:0x09f1, B:302:0x09f4, B:304:0x0a4f, B:305:0x0a62, B:308:0x0a6a, B:311:0x0a89, B:313:0x0aa2, B:315:0x0ab7, B:317:0x0abc, B:319:0x0ac0, B:321:0x0ac4, B:323:0x0ace, B:325:0x0ad7, B:327:0x0adb, B:329:0x0ae1, B:331:0x0aec, B:333:0x0afa, B:400:0x0d5b, B:335:0x0b02, B:337:0x0b1e, B:342:0x0b3b, B:344:0x0b5b, B:345:0x0b63, B:347:0x0b69, B:349:0x0b7b, B:355:0x0b91, B:357:0x0ba7, B:358:0x0bca, B:360:0x0bd6, B:362:0x0bec, B:363:0x0c2c, B:369:0x0c48, B:371:0x0c53, B:373:0x0c57, B:375:0x0c5b, B:377:0x0c5f, B:378:0x0c6b, B:379:0x0c70, B:381:0x0c76, B:383:0x0c8c, B:384:0x0c91, B:399:0x0d58, B:386:0x0cd0, B:388:0x0cd4, B:392:0x0ce8, B:394:0x0d04, B:395:0x0d0b, B:398:0x0d4c, B:389:0x0cd9, B:340:0x0b24, B:401:0x0d61, B:403:0x0d6b, B:404:0x0d7f, B:405:0x0d87, B:407:0x0d8d, B:408:0x0da1, B:410:0x0db3, B:430:0x0e66, B:432:0x0e6c, B:434:0x0e83, B:437:0x0e8e, B:439:0x0e98, B:441:0x0ebf, B:443:0x0ecf, B:444:0x0ed9, B:446:0x0ee7, B:447:0x0ef1, B:448:0x0efc, B:450:0x0f0e, B:453:0x0f15, B:458:0x0f58, B:454:0x0f24, B:456:0x0f32, B:457:0x0f3f, B:459:0x0f67, B:460:0x0f7a, B:464:0x0f9a, B:463:0x0f85, B:411:0x0dce, B:413:0x0dd4, B:415:0x0de6, B:417:0x0ded, B:423:0x0e05, B:425:0x0e0c, B:427:0x0e57, B:429:0x0e5e, B:428:0x0e5b, B:424:0x0e09, B:416:0x0dea, B:282:0x0949, B:284:0x094f, B:286:0x0955, B:266:0x087d, B:262:0x084c, B:256:0x07f5, B:258:0x07fb, B:465:0x0fa3), top: B:473:0x0019, inners: #0, #2 }] */
    /* JADX WARN: Removed duplicated region for block: B:48:0x019f  */
    /* JADX WARN: Removed duplicated region for block: B:52:0x01c1 A[Catch: all -> 0x0125, TryCatch #1 {all -> 0x0125, blocks: (B:3:0x0019, B:5:0x0035, B:8:0x003e, B:9:0x005e, B:12:0x007a, B:15:0x00a6, B:17:0x00e5, B:20:0x00fe, B:22:0x0108, B:227:0x074f, B:26:0x0135, B:29:0x014b, B:31:0x0151, B:33:0x0157, B:35:0x016a, B:39:0x0177, B:41:0x0182, B:43:0x0190, B:45:0x0196, B:49:0x01a1, B:50:0x01af, B:52:0x01c1, B:55:0x01e1, B:57:0x01e7, B:59:0x01f7, B:61:0x0205, B:63:0x0215, B:64:0x0220, B:65:0x0223, B:67:0x0230, B:69:0x023a, B:70:0x024a, B:72:0x0269, B:74:0x0273, B:76:0x0289, B:77:0x0293, B:80:0x029e, B:81:0x02a8, B:84:0x02b0, B:87:0x02c1, B:88:0x02c4, B:90:0x02db, B:141:0x04d5, B:142:0x04d8, B:144:0x04e4, B:147:0x04f5, B:149:0x0506, B:151:0x0512, B:184:0x05dd, B:186:0x05ea, B:188:0x05f0, B:190:0x05f6, B:192:0x0606, B:193:0x0609, B:194:0x0615, B:196:0x061b, B:197:0x0627, B:199:0x062d, B:201:0x063d, B:203:0x0647, B:204:0x065c, B:206:0x0662, B:207:0x067d, B:209:0x0683, B:210:0x06a1, B:211:0x06ae, B:215:0x06d7, B:212:0x06b4, B:214:0x06c2, B:216:0x06df, B:217:0x06fe, B:219:0x0704, B:221:0x0717, B:222:0x0724, B:224:0x072b, B:226:0x073b, B:155:0x0535, B:157:0x0545, B:160:0x0558, B:162:0x056a, B:164:0x0576, B:167:0x058a, B:170:0x0598, B:172:0x05a2, B:174:0x05ac, B:177:0x05b7, B:179:0x05bd, B:181:0x05cd, B:182:0x05d8, B:98:0x0301, B:101:0x030b, B:103:0x0319, B:107:0x036a, B:104:0x033b, B:106:0x0349, B:110:0x0371, B:113:0x03a4, B:114:0x03cc, B:116:0x0401, B:118:0x0407, B:121:0x0413, B:123:0x0448, B:124:0x0465, B:126:0x046b, B:128:0x0479, B:132:0x048d, B:129:0x0481, B:135:0x0494, B:138:0x049b, B:139:0x04ba, B:230:0x0766, B:232:0x0778, B:234:0x0781, B:245:0x07b3, B:235:0x0789, B:237:0x0792, B:239:0x0798, B:242:0x07a4, B:244:0x07ae, B:246:0x07b6, B:247:0x07c2, B:250:0x07ca, B:252:0x07dc, B:253:0x07e7, B:255:0x07ef, B:259:0x081e, B:261:0x083a, B:263:0x084f, B:265:0x086b, B:267:0x0880, B:268:0x089c, B:270:0x08a2, B:272:0x08ba, B:273:0x08c8, B:275:0x08d8, B:276:0x08e6, B:277:0x08e9, B:279:0x0933, B:281:0x0939, B:287:0x0964, B:289:0x096c, B:290:0x098a, B:292:0x0990, B:293:0x09a4, B:295:0x09bb, B:297:0x09d5, B:299:0x09e7, B:301:0x09f1, B:302:0x09f4, B:304:0x0a4f, B:305:0x0a62, B:308:0x0a6a, B:311:0x0a89, B:313:0x0aa2, B:315:0x0ab7, B:317:0x0abc, B:319:0x0ac0, B:321:0x0ac4, B:323:0x0ace, B:325:0x0ad7, B:327:0x0adb, B:329:0x0ae1, B:331:0x0aec, B:333:0x0afa, B:400:0x0d5b, B:335:0x0b02, B:337:0x0b1e, B:342:0x0b3b, B:344:0x0b5b, B:345:0x0b63, B:347:0x0b69, B:349:0x0b7b, B:355:0x0b91, B:357:0x0ba7, B:358:0x0bca, B:360:0x0bd6, B:362:0x0bec, B:363:0x0c2c, B:369:0x0c48, B:371:0x0c53, B:373:0x0c57, B:375:0x0c5b, B:377:0x0c5f, B:378:0x0c6b, B:379:0x0c70, B:381:0x0c76, B:383:0x0c8c, B:384:0x0c91, B:399:0x0d58, B:386:0x0cd0, B:388:0x0cd4, B:392:0x0ce8, B:394:0x0d04, B:395:0x0d0b, B:398:0x0d4c, B:389:0x0cd9, B:340:0x0b24, B:401:0x0d61, B:403:0x0d6b, B:404:0x0d7f, B:405:0x0d87, B:407:0x0d8d, B:408:0x0da1, B:410:0x0db3, B:430:0x0e66, B:432:0x0e6c, B:434:0x0e83, B:437:0x0e8e, B:439:0x0e98, B:441:0x0ebf, B:443:0x0ecf, B:444:0x0ed9, B:446:0x0ee7, B:447:0x0ef1, B:448:0x0efc, B:450:0x0f0e, B:453:0x0f15, B:458:0x0f58, B:454:0x0f24, B:456:0x0f32, B:457:0x0f3f, B:459:0x0f67, B:460:0x0f7a, B:464:0x0f9a, B:463:0x0f85, B:411:0x0dce, B:413:0x0dd4, B:415:0x0de6, B:417:0x0ded, B:423:0x0e05, B:425:0x0e0c, B:427:0x0e57, B:429:0x0e5e, B:428:0x0e5b, B:424:0x0e09, B:416:0x0dea, B:282:0x0949, B:284:0x094f, B:286:0x0955, B:266:0x087d, B:262:0x084c, B:256:0x07f5, B:258:0x07fb, B:465:0x0fa3), top: B:473:0x0019, inners: #0, #2 }] */
    /* JADX WARN: Removed duplicated region for block: B:76:0x0289 A[Catch: all -> 0x0125, TryCatch #1 {all -> 0x0125, blocks: (B:3:0x0019, B:5:0x0035, B:8:0x003e, B:9:0x005e, B:12:0x007a, B:15:0x00a6, B:17:0x00e5, B:20:0x00fe, B:22:0x0108, B:227:0x074f, B:26:0x0135, B:29:0x014b, B:31:0x0151, B:33:0x0157, B:35:0x016a, B:39:0x0177, B:41:0x0182, B:43:0x0190, B:45:0x0196, B:49:0x01a1, B:50:0x01af, B:52:0x01c1, B:55:0x01e1, B:57:0x01e7, B:59:0x01f7, B:61:0x0205, B:63:0x0215, B:64:0x0220, B:65:0x0223, B:67:0x0230, B:69:0x023a, B:70:0x024a, B:72:0x0269, B:74:0x0273, B:76:0x0289, B:77:0x0293, B:80:0x029e, B:81:0x02a8, B:84:0x02b0, B:87:0x02c1, B:88:0x02c4, B:90:0x02db, B:141:0x04d5, B:142:0x04d8, B:144:0x04e4, B:147:0x04f5, B:149:0x0506, B:151:0x0512, B:184:0x05dd, B:186:0x05ea, B:188:0x05f0, B:190:0x05f6, B:192:0x0606, B:193:0x0609, B:194:0x0615, B:196:0x061b, B:197:0x0627, B:199:0x062d, B:201:0x063d, B:203:0x0647, B:204:0x065c, B:206:0x0662, B:207:0x067d, B:209:0x0683, B:210:0x06a1, B:211:0x06ae, B:215:0x06d7, B:212:0x06b4, B:214:0x06c2, B:216:0x06df, B:217:0x06fe, B:219:0x0704, B:221:0x0717, B:222:0x0724, B:224:0x072b, B:226:0x073b, B:155:0x0535, B:157:0x0545, B:160:0x0558, B:162:0x056a, B:164:0x0576, B:167:0x058a, B:170:0x0598, B:172:0x05a2, B:174:0x05ac, B:177:0x05b7, B:179:0x05bd, B:181:0x05cd, B:182:0x05d8, B:98:0x0301, B:101:0x030b, B:103:0x0319, B:107:0x036a, B:104:0x033b, B:106:0x0349, B:110:0x0371, B:113:0x03a4, B:114:0x03cc, B:116:0x0401, B:118:0x0407, B:121:0x0413, B:123:0x0448, B:124:0x0465, B:126:0x046b, B:128:0x0479, B:132:0x048d, B:129:0x0481, B:135:0x0494, B:138:0x049b, B:139:0x04ba, B:230:0x0766, B:232:0x0778, B:234:0x0781, B:245:0x07b3, B:235:0x0789, B:237:0x0792, B:239:0x0798, B:242:0x07a4, B:244:0x07ae, B:246:0x07b6, B:247:0x07c2, B:250:0x07ca, B:252:0x07dc, B:253:0x07e7, B:255:0x07ef, B:259:0x081e, B:261:0x083a, B:263:0x084f, B:265:0x086b, B:267:0x0880, B:268:0x089c, B:270:0x08a2, B:272:0x08ba, B:273:0x08c8, B:275:0x08d8, B:276:0x08e6, B:277:0x08e9, B:279:0x0933, B:281:0x0939, B:287:0x0964, B:289:0x096c, B:290:0x098a, B:292:0x0990, B:293:0x09a4, B:295:0x09bb, B:297:0x09d5, B:299:0x09e7, B:301:0x09f1, B:302:0x09f4, B:304:0x0a4f, B:305:0x0a62, B:308:0x0a6a, B:311:0x0a89, B:313:0x0aa2, B:315:0x0ab7, B:317:0x0abc, B:319:0x0ac0, B:321:0x0ac4, B:323:0x0ace, B:325:0x0ad7, B:327:0x0adb, B:329:0x0ae1, B:331:0x0aec, B:333:0x0afa, B:400:0x0d5b, B:335:0x0b02, B:337:0x0b1e, B:342:0x0b3b, B:344:0x0b5b, B:345:0x0b63, B:347:0x0b69, B:349:0x0b7b, B:355:0x0b91, B:357:0x0ba7, B:358:0x0bca, B:360:0x0bd6, B:362:0x0bec, B:363:0x0c2c, B:369:0x0c48, B:371:0x0c53, B:373:0x0c57, B:375:0x0c5b, B:377:0x0c5f, B:378:0x0c6b, B:379:0x0c70, B:381:0x0c76, B:383:0x0c8c, B:384:0x0c91, B:399:0x0d58, B:386:0x0cd0, B:388:0x0cd4, B:392:0x0ce8, B:394:0x0d04, B:395:0x0d0b, B:398:0x0d4c, B:389:0x0cd9, B:340:0x0b24, B:401:0x0d61, B:403:0x0d6b, B:404:0x0d7f, B:405:0x0d87, B:407:0x0d8d, B:408:0x0da1, B:410:0x0db3, B:430:0x0e66, B:432:0x0e6c, B:434:0x0e83, B:437:0x0e8e, B:439:0x0e98, B:441:0x0ebf, B:443:0x0ecf, B:444:0x0ed9, B:446:0x0ee7, B:447:0x0ef1, B:448:0x0efc, B:450:0x0f0e, B:453:0x0f15, B:458:0x0f58, B:454:0x0f24, B:456:0x0f32, B:457:0x0f3f, B:459:0x0f67, B:460:0x0f7a, B:464:0x0f9a, B:463:0x0f85, B:411:0x0dce, B:413:0x0dd4, B:415:0x0de6, B:417:0x0ded, B:423:0x0e05, B:425:0x0e0c, B:427:0x0e57, B:429:0x0e5e, B:428:0x0e5b, B:424:0x0e09, B:416:0x0dea, B:282:0x0949, B:284:0x094f, B:286:0x0955, B:266:0x087d, B:262:0x084c, B:256:0x07f5, B:258:0x07fb, B:465:0x0fa3), top: B:473:0x0019, inners: #0, #2 }] */
    /* JADX WARN: Removed duplicated region for block: B:79:0x029d  */
    /* JADX WARN: Removed duplicated region for block: B:80:0x029e A[Catch: all -> 0x0125, TryCatch #1 {all -> 0x0125, blocks: (B:3:0x0019, B:5:0x0035, B:8:0x003e, B:9:0x005e, B:12:0x007a, B:15:0x00a6, B:17:0x00e5, B:20:0x00fe, B:22:0x0108, B:227:0x074f, B:26:0x0135, B:29:0x014b, B:31:0x0151, B:33:0x0157, B:35:0x016a, B:39:0x0177, B:41:0x0182, B:43:0x0190, B:45:0x0196, B:49:0x01a1, B:50:0x01af, B:52:0x01c1, B:55:0x01e1, B:57:0x01e7, B:59:0x01f7, B:61:0x0205, B:63:0x0215, B:64:0x0220, B:65:0x0223, B:67:0x0230, B:69:0x023a, B:70:0x024a, B:72:0x0269, B:74:0x0273, B:76:0x0289, B:77:0x0293, B:80:0x029e, B:81:0x02a8, B:84:0x02b0, B:87:0x02c1, B:88:0x02c4, B:90:0x02db, B:141:0x04d5, B:142:0x04d8, B:144:0x04e4, B:147:0x04f5, B:149:0x0506, B:151:0x0512, B:184:0x05dd, B:186:0x05ea, B:188:0x05f0, B:190:0x05f6, B:192:0x0606, B:193:0x0609, B:194:0x0615, B:196:0x061b, B:197:0x0627, B:199:0x062d, B:201:0x063d, B:203:0x0647, B:204:0x065c, B:206:0x0662, B:207:0x067d, B:209:0x0683, B:210:0x06a1, B:211:0x06ae, B:215:0x06d7, B:212:0x06b4, B:214:0x06c2, B:216:0x06df, B:217:0x06fe, B:219:0x0704, B:221:0x0717, B:222:0x0724, B:224:0x072b, B:226:0x073b, B:155:0x0535, B:157:0x0545, B:160:0x0558, B:162:0x056a, B:164:0x0576, B:167:0x058a, B:170:0x0598, B:172:0x05a2, B:174:0x05ac, B:177:0x05b7, B:179:0x05bd, B:181:0x05cd, B:182:0x05d8, B:98:0x0301, B:101:0x030b, B:103:0x0319, B:107:0x036a, B:104:0x033b, B:106:0x0349, B:110:0x0371, B:113:0x03a4, B:114:0x03cc, B:116:0x0401, B:118:0x0407, B:121:0x0413, B:123:0x0448, B:124:0x0465, B:126:0x046b, B:128:0x0479, B:132:0x048d, B:129:0x0481, B:135:0x0494, B:138:0x049b, B:139:0x04ba, B:230:0x0766, B:232:0x0778, B:234:0x0781, B:245:0x07b3, B:235:0x0789, B:237:0x0792, B:239:0x0798, B:242:0x07a4, B:244:0x07ae, B:246:0x07b6, B:247:0x07c2, B:250:0x07ca, B:252:0x07dc, B:253:0x07e7, B:255:0x07ef, B:259:0x081e, B:261:0x083a, B:263:0x084f, B:265:0x086b, B:267:0x0880, B:268:0x089c, B:270:0x08a2, B:272:0x08ba, B:273:0x08c8, B:275:0x08d8, B:276:0x08e6, B:277:0x08e9, B:279:0x0933, B:281:0x0939, B:287:0x0964, B:289:0x096c, B:290:0x098a, B:292:0x0990, B:293:0x09a4, B:295:0x09bb, B:297:0x09d5, B:299:0x09e7, B:301:0x09f1, B:302:0x09f4, B:304:0x0a4f, B:305:0x0a62, B:308:0x0a6a, B:311:0x0a89, B:313:0x0aa2, B:315:0x0ab7, B:317:0x0abc, B:319:0x0ac0, B:321:0x0ac4, B:323:0x0ace, B:325:0x0ad7, B:327:0x0adb, B:329:0x0ae1, B:331:0x0aec, B:333:0x0afa, B:400:0x0d5b, B:335:0x0b02, B:337:0x0b1e, B:342:0x0b3b, B:344:0x0b5b, B:345:0x0b63, B:347:0x0b69, B:349:0x0b7b, B:355:0x0b91, B:357:0x0ba7, B:358:0x0bca, B:360:0x0bd6, B:362:0x0bec, B:363:0x0c2c, B:369:0x0c48, B:371:0x0c53, B:373:0x0c57, B:375:0x0c5b, B:377:0x0c5f, B:378:0x0c6b, B:379:0x0c70, B:381:0x0c76, B:383:0x0c8c, B:384:0x0c91, B:399:0x0d58, B:386:0x0cd0, B:388:0x0cd4, B:392:0x0ce8, B:394:0x0d04, B:395:0x0d0b, B:398:0x0d4c, B:389:0x0cd9, B:340:0x0b24, B:401:0x0d61, B:403:0x0d6b, B:404:0x0d7f, B:405:0x0d87, B:407:0x0d8d, B:408:0x0da1, B:410:0x0db3, B:430:0x0e66, B:432:0x0e6c, B:434:0x0e83, B:437:0x0e8e, B:439:0x0e98, B:441:0x0ebf, B:443:0x0ecf, B:444:0x0ed9, B:446:0x0ee7, B:447:0x0ef1, B:448:0x0efc, B:450:0x0f0e, B:453:0x0f15, B:458:0x0f58, B:454:0x0f24, B:456:0x0f32, B:457:0x0f3f, B:459:0x0f67, B:460:0x0f7a, B:464:0x0f9a, B:463:0x0f85, B:411:0x0dce, B:413:0x0dd4, B:415:0x0de6, B:417:0x0ded, B:423:0x0e05, B:425:0x0e0c, B:427:0x0e57, B:429:0x0e5e, B:428:0x0e5b, B:424:0x0e09, B:416:0x0dea, B:282:0x0949, B:284:0x094f, B:286:0x0955, B:266:0x087d, B:262:0x084c, B:256:0x07f5, B:258:0x07fb, B:465:0x0fa3), top: B:473:0x0019, inners: #0, #2 }] */
    /* JADX WARN: Removed duplicated region for block: B:90:0x02db A[Catch: all -> 0x0125, TRY_LEAVE, TryCatch #1 {all -> 0x0125, blocks: (B:3:0x0019, B:5:0x0035, B:8:0x003e, B:9:0x005e, B:12:0x007a, B:15:0x00a6, B:17:0x00e5, B:20:0x00fe, B:22:0x0108, B:227:0x074f, B:26:0x0135, B:29:0x014b, B:31:0x0151, B:33:0x0157, B:35:0x016a, B:39:0x0177, B:41:0x0182, B:43:0x0190, B:45:0x0196, B:49:0x01a1, B:50:0x01af, B:52:0x01c1, B:55:0x01e1, B:57:0x01e7, B:59:0x01f7, B:61:0x0205, B:63:0x0215, B:64:0x0220, B:65:0x0223, B:67:0x0230, B:69:0x023a, B:70:0x024a, B:72:0x0269, B:74:0x0273, B:76:0x0289, B:77:0x0293, B:80:0x029e, B:81:0x02a8, B:84:0x02b0, B:87:0x02c1, B:88:0x02c4, B:90:0x02db, B:141:0x04d5, B:142:0x04d8, B:144:0x04e4, B:147:0x04f5, B:149:0x0506, B:151:0x0512, B:184:0x05dd, B:186:0x05ea, B:188:0x05f0, B:190:0x05f6, B:192:0x0606, B:193:0x0609, B:194:0x0615, B:196:0x061b, B:197:0x0627, B:199:0x062d, B:201:0x063d, B:203:0x0647, B:204:0x065c, B:206:0x0662, B:207:0x067d, B:209:0x0683, B:210:0x06a1, B:211:0x06ae, B:215:0x06d7, B:212:0x06b4, B:214:0x06c2, B:216:0x06df, B:217:0x06fe, B:219:0x0704, B:221:0x0717, B:222:0x0724, B:224:0x072b, B:226:0x073b, B:155:0x0535, B:157:0x0545, B:160:0x0558, B:162:0x056a, B:164:0x0576, B:167:0x058a, B:170:0x0598, B:172:0x05a2, B:174:0x05ac, B:177:0x05b7, B:179:0x05bd, B:181:0x05cd, B:182:0x05d8, B:98:0x0301, B:101:0x030b, B:103:0x0319, B:107:0x036a, B:104:0x033b, B:106:0x0349, B:110:0x0371, B:113:0x03a4, B:114:0x03cc, B:116:0x0401, B:118:0x0407, B:121:0x0413, B:123:0x0448, B:124:0x0465, B:126:0x046b, B:128:0x0479, B:132:0x048d, B:129:0x0481, B:135:0x0494, B:138:0x049b, B:139:0x04ba, B:230:0x0766, B:232:0x0778, B:234:0x0781, B:245:0x07b3, B:235:0x0789, B:237:0x0792, B:239:0x0798, B:242:0x07a4, B:244:0x07ae, B:246:0x07b6, B:247:0x07c2, B:250:0x07ca, B:252:0x07dc, B:253:0x07e7, B:255:0x07ef, B:259:0x081e, B:261:0x083a, B:263:0x084f, B:265:0x086b, B:267:0x0880, B:268:0x089c, B:270:0x08a2, B:272:0x08ba, B:273:0x08c8, B:275:0x08d8, B:276:0x08e6, B:277:0x08e9, B:279:0x0933, B:281:0x0939, B:287:0x0964, B:289:0x096c, B:290:0x098a, B:292:0x0990, B:293:0x09a4, B:295:0x09bb, B:297:0x09d5, B:299:0x09e7, B:301:0x09f1, B:302:0x09f4, B:304:0x0a4f, B:305:0x0a62, B:308:0x0a6a, B:311:0x0a89, B:313:0x0aa2, B:315:0x0ab7, B:317:0x0abc, B:319:0x0ac0, B:321:0x0ac4, B:323:0x0ace, B:325:0x0ad7, B:327:0x0adb, B:329:0x0ae1, B:331:0x0aec, B:333:0x0afa, B:400:0x0d5b, B:335:0x0b02, B:337:0x0b1e, B:342:0x0b3b, B:344:0x0b5b, B:345:0x0b63, B:347:0x0b69, B:349:0x0b7b, B:355:0x0b91, B:357:0x0ba7, B:358:0x0bca, B:360:0x0bd6, B:362:0x0bec, B:363:0x0c2c, B:369:0x0c48, B:371:0x0c53, B:373:0x0c57, B:375:0x0c5b, B:377:0x0c5f, B:378:0x0c6b, B:379:0x0c70, B:381:0x0c76, B:383:0x0c8c, B:384:0x0c91, B:399:0x0d58, B:386:0x0cd0, B:388:0x0cd4, B:392:0x0ce8, B:394:0x0d04, B:395:0x0d0b, B:398:0x0d4c, B:389:0x0cd9, B:340:0x0b24, B:401:0x0d61, B:403:0x0d6b, B:404:0x0d7f, B:405:0x0d87, B:407:0x0d8d, B:408:0x0da1, B:410:0x0db3, B:430:0x0e66, B:432:0x0e6c, B:434:0x0e83, B:437:0x0e8e, B:439:0x0e98, B:441:0x0ebf, B:443:0x0ecf, B:444:0x0ed9, B:446:0x0ee7, B:447:0x0ef1, B:448:0x0efc, B:450:0x0f0e, B:453:0x0f15, B:458:0x0f58, B:454:0x0f24, B:456:0x0f32, B:457:0x0f3f, B:459:0x0f67, B:460:0x0f7a, B:464:0x0f9a, B:463:0x0f85, B:411:0x0dce, B:413:0x0dd4, B:415:0x0de6, B:417:0x0ded, B:423:0x0e05, B:425:0x0e0c, B:427:0x0e57, B:429:0x0e5e, B:428:0x0e5b, B:424:0x0e09, B:416:0x0dea, B:282:0x0949, B:284:0x094f, B:286:0x0955, B:266:0x087d, B:262:0x084c, B:256:0x07f5, B:258:0x07fb, B:465:0x0fa3), top: B:473:0x0019, inners: #0, #2 }] */
    /* JADX WARN: Removed duplicated region for block: B:96:0x02f7  */
    /* renamed from: ᐧﾞ, reason: contains not printable characters */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
        To view partially-correct add '--show-bad-code' argument
    */
    public final boolean m2275(long r47, java.lang.String r49) {
        /*
            Method dump skipped, instructions count: 4027
            To view this dump add '--comments-level debug' option
        */
        throw new UnsupportedOperationException("Method not decompiled: defpackage.C0524.m2275(long, java.lang.String):boolean");
    }

    /* renamed from: ᵙᵢᵨᵳ, reason: contains not printable characters */
    public final boolean m2276() {
        mo2307().m4042();
        m2299();
        C5218 c5218 = this.f2738;
        m2252(c5218);
        if (c5218.m10795("select count(1) > 0 from raw_events", null) != 0) {
            return true;
        }
        C5218 c52182 = this.f2738;
        m2252(c52182);
        return !TextUtils.isEmpty(c52182.m10827());
    }

    @Override // defpackage.InterfaceC2183
    /* renamed from: ᵝᵵᵺ, reason: contains not printable characters */
    public final Context mo2277() {
        return this.f2728.f15719;
    }

    /* renamed from: ᵞʡ, reason: contains not printable characters */
    public final boolean m2278(String str, String str2) throws Throwable {
        C5218 c5218 = this.f2738;
        m2252(c5218);
        C4869 c4869M10786 = c5218.m10786(str);
        HashMap map = this.f2736;
        if (c4869M10786 != null && m2288().m10213(str, c4869M10786.m10265())) {
            map.remove(str2);
            return true;
        }
        C5266 c5266 = (C5266) map.get(str2);
        if (c5266 != null) {
            c5266.f19722.mo2310().getClass();
            if (System.currentTimeMillis() < c5266.f19721) {
                return false;
            }
        }
        return true;
    }

    /* renamed from: ᵠᵪˀᵻ, reason: contains not printable characters */
    public final C4878 m2279(String str) throws NumberFormatException {
        mo2307().m4042();
        m2299();
        HashMap map = this.f2715;
        C4878 c4878 = (C4878) map.get(str);
        if (c4878 != null) {
            return c4878;
        }
        C5218 c5218 = this.f2738;
        m2252(c5218);
        ᵩʛʽ.ᵝᵵᵺ(str);
        c5218.ˀᵗᵝᵭ();
        c5218.m11201();
        C4878 c4878M10317 = C4878.m10317(c5218.m10832("select dma_consent_settings from consent_settings where app_id=? limit 1;", new String[]{str}));
        map.put(str, c4878M10317);
        return c4878M10317;
    }

    /* JADX WARN: Multi-variable type inference failed */
    /* JADX WARN: Type inference failed for: r0v2, types: [java.util.ArrayList] */
    /* JADX WARN: Type inference failed for: r0v4, types: [java.util.List] */
    /* JADX WARN: Type inference failed for: r0v6, types: [java.util.List] */
    /* renamed from: ᵠᵿː, reason: contains not printable characters */
    public final List m2280(Bundle bundle, C1331 c1331) {
        int[] iArr;
        mo2307().m4042();
        C0491.m2132();
        C1904 c1904M2254 = m2254();
        String str = c1331.f5474;
        if (!c1904M2254.m5353(str, AbstractC5018.f18618) || str == null) {
            return new ArrayList();
        }
        if (bundle != null) {
            int[] intArray = bundle.getIntArray("uriSources");
            long[] longArray = bundle.getLongArray("uriTimestamps");
            if (intArray != null) {
                if (longArray == null || longArray.length != intArray.length) {
                    mo2272().f6937.m6038("Uri sources and timestamps do not match");
                } else {
                    int i = 0;
                    while (i < intArray.length) {
                        C5218 c5218 = this.f2738;
                        m2252(c5218);
                        C4205 c4205 = (C4205) ((ᵢˇᵭ) c5218).ᵧᵾˀˈ;
                        int i2 = intArray[i];
                        long j = longArray[i];
                        ᵩʛʽ.ˏˋٴ(str);
                        c5218.ˀᵗᵝᵭ();
                        c5218.m11201();
                        try {
                            iArr = intArray;
                        } catch (SQLiteException e) {
                            e = e;
                            iArr = intArray;
                        }
                        try {
                            int iDelete = c5218.m10779().delete("trigger_uris", "app_id=? and source=? and timestamp_millis<=?", new String[]{str, String.valueOf(i2), String.valueOf(j)});
                            C1736 c1736 = c4205.f15715;
                            C4205.m9132(c1736);
                            C2319 c2319 = c1736.f6935;
                            StringBuilder sb = new StringBuilder(String.valueOf(iDelete).length() + 46);
                            sb.append("Pruned ");
                            sb.append(iDelete);
                            sb.append(" trigger URIs. appId, source, timestamp");
                            c2319.m6040(sb.toString(), str, Integer.valueOf(i2), Long.valueOf(j));
                        } catch (SQLiteException e2) {
                            e = e2;
                            C1736 c17362 = c4205.f15715;
                            C4205.m9132(c17362);
                            c17362.f6937.m6037("Error pruning trigger URIs. appId", C1736.m4941(str), e);
                            i++;
                            intArray = iArr;
                        }
                        i++;
                        intArray = iArr;
                    }
                }
            }
        }
        C5218 c52182 = this.f2738;
        m2252(c52182);
        String str2 = c1331.f5474;
        ᵩʛʽ.ˏˋٴ(str2);
        c52182.ˀᵗᵝᵭ();
        c52182.m11201();
        ?? arrayList = new ArrayList();
        Cursor cursorQuery = null;
        try {
            try {
                cursorQuery = c52182.m10779().query("trigger_uris", new String[]{"trigger_uri", "timestamp_millis", "source"}, "app_id=?", new String[]{str2}, null, null, "rowid", null);
                if (cursorQuery.moveToFirst()) {
                    do {
                        String string = cursorQuery.getString(0);
                        if (string == null) {
                            string = "";
                        }
                        arrayList.add(new C0802(cursorQuery.getLong(1), cursorQuery.getInt(2), string));
                    } while (cursorQuery.moveToNext());
                }
            } catch (Throwable th) {
                if (cursorQuery != null) {
                    cursorQuery.close();
                }
                throw th;
            }
        } catch (SQLiteException e3) {
            C1736 c17363 = ((C4205) ((ᵢˇᵭ) c52182).ᵧᵾˀˈ).f15715;
            C4205.m9132(c17363);
            c17363.f6937.m6037("Error querying trigger uris. appId", C1736.m4941(str2), e3);
            arrayList = Collections.EMPTY_LIST;
        }
        if (cursorQuery != null) {
            cursorQuery.close();
        }
        return arrayList;
    }

    /* JADX WARN: Multi-variable type inference failed */
    /* JADX WARN: Removed duplicated region for block: B:73:0x01ab A[Catch: all -> 0x0028, TryCatch #4 {all -> 0x0028, blocks: (B:3:0x000e, B:5:0x001b, B:8:0x002b, B:10:0x0031, B:11:0x003e, B:13:0x0046, B:14:0x004b, B:16:0x0056, B:17:0x0063, B:19:0x006e, B:20:0x007e, B:22:0x00a8, B:24:0x00ae, B:25:0x00b1, B:27:0x00ca, B:28:0x00df, B:30:0x00f0, B:32:0x00f6, B:35:0x010b, B:45:0x012a, B:47:0x012f, B:48:0x0132, B:49:0x0133, B:50:0x0138, B:55:0x017d, B:71:0x01a5, B:73:0x01ab, B:75:0x01b6, B:79:0x01c1, B:80:0x01c4, B:33:0x00fb, B:37:0x010f, B:42:0x0117), top: B:91:0x000e, inners: #1 }] */
    /* JADX WARN: Type inference failed for: r11v0, types: [ˀˇʽ] */
    /* JADX WARN: Type inference failed for: r1v12, types: [long] */
    /* JADX WARN: Type inference failed for: r1v13 */
    /* JADX WARN: Type inference failed for: r1v17 */
    /* JADX WARN: Type inference failed for: r1v18 */
    /* JADX WARN: Type inference failed for: r1v22, types: [android.database.Cursor] */
    /* JADX WARN: Type inference failed for: r1v25, types: [android.database.Cursor] */
    /* renamed from: ᵡʠ, reason: contains not printable characters */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
        To view partially-correct add '--show-bad-code' argument
    */
    public final void m2281() {
        /*
            Method dump skipped, instructions count: 459
            To view this dump add '--comments-level debug' option
        */
        throw new UnsupportedOperationException("Method not decompiled: defpackage.C0524.m2281():void");
    }

    /* JADX WARN: Removed duplicated region for block: B:15:0x008d  */
    /* JADX WARN: Removed duplicated region for block: B:89:0x0328  */
    /* renamed from: ᵡᵘˎʽ, reason: contains not printable characters */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
        To view partially-correct add '--show-bad-code' argument
    */
    public final void m2282() {
        /*
            Method dump skipped, instructions count: 998
            To view this dump add '--comments-level debug' option
        */
        throw new UnsupportedOperationException("Method not decompiled: defpackage.C0524.m2282():void");
    }

    /* renamed from: ᵡⁱᵥ, reason: contains not printable characters */
    public final void m2283(C4869 c4869) throws MalformedURLException {
        C1200 c1200;
        C1200 c12002;
        mo2307().m4042();
        if (TextUtils.isEmpty(c4869.m10292())) {
            String strM10261 = c4869.m10261();
            ᵩʛʽ.ᵝᵵᵺ(strM10261);
            m2257(strM10261, 204, null, null, null);
            return;
        }
        String strM102612 = c4869.m10261();
        ᵩʛʽ.ᵝᵵᵺ(strM102612);
        mo2272().f6935.m6039(strM102612, "Fetching remote configuration");
        C3245 c3245 = this.f2729;
        m2252(c3245);
        C1815 c1815M7595 = c3245.m7595(strM102612);
        m2252(c3245);
        c3245.ˀᵗᵝᵭ();
        String str = (String) c3245.f12212.get(strM102612);
        if (c1815M7595 != null) {
            if (TextUtils.isEmpty(str)) {
                c12002 = null;
            } else {
                c12002 = new C1200(0);
                c12002.put("If-Modified-Since", str);
            }
            m2252(c3245);
            c3245.ˀᵗᵝᵭ();
            String str2 = (String) c3245.f12218.get(strM102612);
            if (!TextUtils.isEmpty(str2)) {
                if (c12002 == null) {
                    c12002 = new C1200(0);
                }
                c12002.put("If-None-Match", str2);
            }
            c1200 = c12002;
        } else {
            c1200 = null;
        }
        this.f2716 = true;
        C5034 c5034 = this.f2726;
        m2252(c5034);
        C5246 c5246 = new C5246(this);
        C4205 c4205 = (C4205) ((ᵢˇᵭ) c5034).ᵧᵾˀˈ;
        c5034.ˀᵗᵝᵭ();
        c5034.m11201();
        C1216 c1216 = c5034.f20600.f2714;
        Uri.Builder builder = new Uri.Builder();
        Uri.Builder builderAppendQueryParameter = builder.scheme((String) AbstractC5018.f18652.m11195(null)).encodedAuthority((String) AbstractC5018.f18648.m11195(null)).path("config/app/".concat(String.valueOf(c4869.m10292()))).appendQueryParameter("platform", "android");
        ((C4205) ((ᵢˇᵭ) c1216).ᵧᵾˀˈ).f15726.m5359();
        builderAppendQueryParameter.appendQueryParameter("gmp_version", String.valueOf(161000L)).appendQueryParameter("runtime_version", "0");
        String string = builder.build().toString();
        try {
            URL url = new URI(string).toURL();
            C1325 c1325 = c4205.f15698;
            C4205.m9132(c1325);
            c1325.m4048(new RunnableC4728(c5034, c4869.m10261(), url, (byte[]) null, c1200, c5246));
        } catch (IllegalArgumentException | MalformedURLException | URISyntaxException unused) {
            C1736 c1736 = c4205.f15715;
            C4205.m9132(c1736);
            c1736.f6937.m6037("Failed to parse config URL. Not fetching. appId", C1736.m4941(c4869.m10261()), string);
        }
    }

    /* renamed from: ᵢˇᵭ, reason: contains not printable characters */
    public final void m2284(C0172 c0172, C2823 c2823) {
        String strM10240;
        String strM102402;
        for (int i = 0; i < c0172.m1386(); i++) {
            C0245 c0245 = (C0245) ((C1285) c0172.f20589).m3891(i).m10438();
            Iterator it = c0245.m1555().iterator();
            while (true) {
                if (!it.hasNext()) {
                    break;
                }
                if ("_c".equals(((C5147) it.next()).m10615())) {
                    if (((C1285) c2823.f10878).m3969() >= m2254().m5346(((C1285) c2823.f10878).m3954(), AbstractC5018.f18684)) {
                        int iM5346 = m2254().m5346(((C1285) c2823.f10878).m3954(), AbstractC5018.f18693);
                        LinkedList linkedList = this.f2739;
                        C1680 c1680 = this.f2705;
                        if (iM5346 > 0) {
                            C5218 c5218 = this.f2738;
                            m2252(c5218);
                            if (c5218.m10820(m2262(), ((C1285) c2823.f10878).m3954(), false, false, false, true).f5793 > iM5346) {
                                C1513 c1513M10608 = C5147.m10608();
                                c1513M10608.m4441("_tnr");
                                c1513M10608.m4443(1L);
                                c0245.m1553((C5147) c1513M10608.m11118());
                            } else {
                                if (m2254().m5353(((C1285) c2823.f10878).m3954(), AbstractC5018.f18717)) {
                                    strM102402 = m2288().m10240();
                                    C1513 c1513M106082 = C5147.m10608();
                                    c1513M106082.m4441("_tu");
                                    c1513M106082.m4442(strM102402);
                                    c0245.m1553((C5147) c1513M106082.m11118());
                                } else {
                                    strM102402 = null;
                                }
                                C1513 c1513M106083 = C5147.m10608();
                                c1513M106083.m4441("_tr");
                                c1513M106083.m4443(1L);
                                c0245.m1553((C5147) c1513M106083.m11118());
                                m2252(c1680);
                                C0802 c0802M4836 = c1680.m4836(((C1285) c2823.f10878).m3954(), c0172, c0245, strM102402);
                                if (c0802M4836 != null) {
                                    mo2272().f6935.m6037("Generated trigger URI. appId, uri", ((C1285) c2823.f10878).m3954(), c0802M4836.f3727);
                                    C5218 c52182 = this.f2738;
                                    m2252(c52182);
                                    c52182.m10790(((C1285) c2823.f10878).m3954(), c0802M4836);
                                    if (!linkedList.contains(((C1285) c2823.f10878).m3954())) {
                                        linkedList.add(((C1285) c2823.f10878).m3954());
                                    }
                                }
                            }
                        } else {
                            if (m2254().m5353(((C1285) c2823.f10878).m3954(), AbstractC5018.f18717)) {
                                strM10240 = m2288().m10240();
                                C1513 c1513M106084 = C5147.m10608();
                                c1513M106084.m4441("_tu");
                                c1513M106084.m4442(strM10240);
                                c0245.m1553((C5147) c1513M106084.m11118());
                            } else {
                                strM10240 = null;
                            }
                            C1513 c1513M106085 = C5147.m10608();
                            c1513M106085.m4441("_tr");
                            c1513M106085.m4443(1L);
                            c0245.m1553((C5147) c1513M106085.m11118());
                            m2252(c1680);
                            C0802 c0802M48362 = c1680.m4836(((C1285) c2823.f10878).m3954(), c0172, c0245, strM10240);
                            if (c0802M48362 != null) {
                                mo2272().f6935.m6037("Generated trigger URI. appId, uri", ((C1285) c2823.f10878).m3954(), c0802M48362.f3727);
                                C5218 c52183 = this.f2738;
                                m2252(c52183);
                                c52183.m10790(((C1285) c2823.f10878).m3954(), c0802M48362);
                                if (!linkedList.contains(((C1285) c2823.f10878).m3954())) {
                                    linkedList.add(((C1285) c2823.f10878).m3954());
                                }
                            }
                        }
                    }
                    C2461 c2461 = (C2461) c0245.m11118();
                    c0172.m11120();
                    ((C1285) c0172.f20589).m3887(i, c2461);
                }
            }
        }
    }

    /* renamed from: ᵣᵟᵔ, reason: contains not printable characters */
    public final C1680 m2285() {
        C1680 c1680 = this.f2705;
        m2252(c1680);
        return c1680;
    }

    /* JADX WARN: Removed duplicated region for block: B:108:0x0169 A[EDGE_INSN: B:108:0x0169->B:55:0x0169 BREAK  A[LOOP:0: B:36:0x010b->B:110:0x010b], SYNTHETIC] */
    /* JADX WARN: Removed duplicated region for block: B:23:0x0086 A[Catch: all -> 0x0018, TryCatch #1 {all -> 0x0018, blocks: (B:4:0x0015, B:8:0x001d, B:10:0x002a, B:11:0x0034, B:19:0x0048, B:24:0x0098, B:23:0x0086, B:25:0x00a5, B:27:0x00ba, B:30:0x00d0, B:32:0x00de, B:34:0x00fa, B:83:0x0233, B:85:0x0246, B:87:0x0251, B:95:0x0270, B:89:0x0257, B:91:0x0260, B:93:0x0266, B:94:0x026a, B:96:0x0273, B:97:0x027b, B:33:0x00ef, B:98:0x027c), top: B:104:0x0015, inners: #3 }] */
    /* JADX WARN: Removed duplicated region for block: B:25:0x00a5 A[Catch: all -> 0x0018, PHI: r0
      0x00a5: PHI (r0v2 int) = (r0v0 int), (r0v36 int) binds: [B:12:0x003b, B:18:0x0046] A[DONT_GENERATE, DONT_INLINE], TRY_LEAVE, TryCatch #1 {all -> 0x0018, blocks: (B:4:0x0015, B:8:0x001d, B:10:0x002a, B:11:0x0034, B:19:0x0048, B:24:0x0098, B:23:0x0086, B:25:0x00a5, B:27:0x00ba, B:30:0x00d0, B:32:0x00de, B:34:0x00fa, B:83:0x0233, B:85:0x0246, B:87:0x0251, B:95:0x0270, B:89:0x0257, B:91:0x0260, B:93:0x0266, B:94:0x026a, B:96:0x0273, B:97:0x027b, B:33:0x00ef, B:98:0x027c), top: B:104:0x0015, inners: #3 }] */
    /* JADX WARN: Removed duplicated region for block: B:32:0x00de A[Catch: all -> 0x0018, SQLiteException -> 0x00cd, TryCatch #3 {SQLiteException -> 0x00cd, blocks: (B:27:0x00ba, B:30:0x00d0, B:32:0x00de, B:34:0x00fa, B:83:0x0233, B:85:0x0246, B:87:0x0251, B:95:0x0270, B:89:0x0257, B:91:0x0260, B:93:0x0266, B:94:0x026a, B:96:0x0273, B:97:0x027b, B:33:0x00ef), top: B:107:0x00ba, outer: #1 }] */
    /* JADX WARN: Removed duplicated region for block: B:33:0x00ef A[Catch: all -> 0x0018, SQLiteException -> 0x00cd, TryCatch #3 {SQLiteException -> 0x00cd, blocks: (B:27:0x00ba, B:30:0x00d0, B:32:0x00de, B:34:0x00fa, B:83:0x0233, B:85:0x0246, B:87:0x0251, B:95:0x0270, B:89:0x0257, B:91:0x0260, B:93:0x0266, B:94:0x026a, B:96:0x0273, B:97:0x027b, B:33:0x00ef), top: B:107:0x00ba, outer: #1 }] */
    /* JADX WARN: Removed duplicated region for block: B:39:0x0115 A[Catch: all -> 0x0166, TRY_ENTER, TRY_LEAVE, TryCatch #0 {all -> 0x0166, blocks: (B:35:0x0102, B:36:0x010b, B:39:0x0115, B:42:0x0129, B:44:0x0135, B:45:0x0137, B:49:0x014e, B:51:0x0158, B:55:0x0169, B:56:0x016e, B:58:0x0174, B:60:0x0187, B:62:0x019e, B:63:0x01a0, B:65:0x01b2, B:67:0x01ce, B:69:0x01f2, B:70:0x0201, B:72:0x0208, B:73:0x0210, B:76:0x021f, B:78:0x0223, B:81:0x022a, B:82:0x022b), top: B:103:0x0102, inners: #2 }] */
    /* JADX WARN: Removed duplicated region for block: B:58:0x0174 A[Catch: all -> 0x0166, TryCatch #0 {all -> 0x0166, blocks: (B:35:0x0102, B:36:0x010b, B:39:0x0115, B:42:0x0129, B:44:0x0135, B:45:0x0137, B:49:0x014e, B:51:0x0158, B:55:0x0169, B:56:0x016e, B:58:0x0174, B:60:0x0187, B:62:0x019e, B:63:0x01a0, B:65:0x01b2, B:67:0x01ce, B:69:0x01f2, B:70:0x0201, B:72:0x0208, B:73:0x0210, B:76:0x021f, B:78:0x0223, B:81:0x022a, B:82:0x022b), top: B:103:0x0102, inners: #2 }] */
    /* JADX WARN: Removed duplicated region for block: B:67:0x01ce A[Catch: all -> 0x0166, TryCatch #0 {all -> 0x0166, blocks: (B:35:0x0102, B:36:0x010b, B:39:0x0115, B:42:0x0129, B:44:0x0135, B:45:0x0137, B:49:0x014e, B:51:0x0158, B:55:0x0169, B:56:0x016e, B:58:0x0174, B:60:0x0187, B:62:0x019e, B:63:0x01a0, B:65:0x01b2, B:67:0x01ce, B:69:0x01f2, B:70:0x0201, B:72:0x0208, B:73:0x0210, B:76:0x021f, B:78:0x0223, B:81:0x022a, B:82:0x022b), top: B:103:0x0102, inners: #2 }] */
    /* JADX WARN: Removed duplicated region for block: B:72:0x0208 A[Catch: all -> 0x0166, TRY_LEAVE, TryCatch #0 {all -> 0x0166, blocks: (B:35:0x0102, B:36:0x010b, B:39:0x0115, B:42:0x0129, B:44:0x0135, B:45:0x0137, B:49:0x014e, B:51:0x0158, B:55:0x0169, B:56:0x016e, B:58:0x0174, B:60:0x0187, B:62:0x019e, B:63:0x01a0, B:65:0x01b2, B:67:0x01ce, B:69:0x01f2, B:70:0x0201, B:72:0x0208, B:73:0x0210, B:76:0x021f, B:78:0x0223, B:81:0x022a, B:82:0x022b), top: B:103:0x0102, inners: #2 }] */
    /* JADX WARN: Removed duplicated region for block: B:85:0x0246 A[Catch: all -> 0x0018, SQLiteException -> 0x00cd, TryCatch #3 {SQLiteException -> 0x00cd, blocks: (B:27:0x00ba, B:30:0x00d0, B:32:0x00de, B:34:0x00fa, B:83:0x0233, B:85:0x0246, B:87:0x0251, B:95:0x0270, B:89:0x0257, B:91:0x0260, B:93:0x0266, B:94:0x026a, B:96:0x0273, B:97:0x027b, B:33:0x00ef), top: B:107:0x00ba, outer: #1 }] */
    /* JADX WARN: Removed duplicated region for block: B:89:0x0257 A[Catch: all -> 0x0018, SQLiteException -> 0x00cd, TryCatch #3 {SQLiteException -> 0x00cd, blocks: (B:27:0x00ba, B:30:0x00d0, B:32:0x00de, B:34:0x00fa, B:83:0x0233, B:85:0x0246, B:87:0x0251, B:95:0x0270, B:89:0x0257, B:91:0x0260, B:93:0x0266, B:94:0x026a, B:96:0x0273, B:97:0x027b, B:33:0x00ef), top: B:107:0x00ba, outer: #1 }] */
    /* renamed from: ᵤᵙᵷ, reason: contains not printable characters */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
        To view partially-correct add '--show-bad-code' argument
    */
    public final void m2286(boolean r18, int r19, java.lang.Throwable r20, byte[] r21, java.lang.String r22, java.util.List r23, java.util.Map r24) {
        /*
            Method dump skipped, instructions count: 689
            To view this dump add '--comments-level debug' option
        */
        throw new UnsupportedOperationException("Method not decompiled: defpackage.C0524.m2286(boolean, int, java.lang.Throwable, byte[], java.lang.String, java.util.List, java.util.Map):void");
    }

    /* renamed from: ᵤᵼˑʠ, reason: contains not printable characters */
    public final C5218 m2287() {
        C5218 c5218 = this.f2738;
        m2252(c5218);
        return c5218;
    }

    /* renamed from: ᵥʩᵩˑ, reason: contains not printable characters */
    public final C4864 m2288() {
        C4205 c4205 = this.f2728;
        ᵩʛʽ.ᵝᵵᵺ(c4205);
        C4864 c4864 = c4205.f15708;
        C4205.m9134(c4864);
        return c4864;
    }

    @Override // defpackage.InterfaceC2183
    /* renamed from: ᵥᵯˎ, reason: contains not printable characters */
    public final ᵺᐧʝ mo2289() {
        return this.f2728.f15727;
    }

    /* renamed from: ᵧـˌᵎ, reason: contains not printable characters */
    public final HashMap m2290(C2461 c2461) {
        Serializable serializableM4820;
        HashMap map = new HashMap();
        m2285();
        HashMap map2 = new HashMap();
        for (C5147 c5147 : c2461.m6292()) {
            if (c5147.m10615().startsWith("gad_") && (serializableM4820 = C1680.m4820(c5147)) != null) {
                map2.put(c5147.m10615(), serializableM4820);
            }
        }
        for (Map.Entry entry : map2.entrySet()) {
            map.put((String) entry.getKey(), String.valueOf(entry.getValue()));
        }
        return map;
    }

    /* JADX WARN: Removed duplicated region for block: B:40:0x011f  */
    /* renamed from: ᵧᵾˀˈ, reason: contains not printable characters */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
        To view partially-correct add '--show-bad-code' argument
    */
    public final void m2291(java.lang.String r9, defpackage.C0172 r10) {
        /*
            Method dump skipped, instructions count: 355
            To view this dump add '--comments-level debug' option
        */
        throw new UnsupportedOperationException("Method not decompiled: defpackage.C0524.m2291(java.lang.String, ʽᵲᵪʿ):void");
    }

    /* renamed from: ᵨٴ, reason: contains not printable characters */
    public final void m2292(C1331 c1331) throws Throwable {
        mo2307().m4042();
        m2299();
        String str = c1331.f5474;
        ᵩʛʽ.ˏˋٴ(str);
        C4500 c4500M9591 = C4500.m9591(c1331.f5466, c1331.f5468);
        m2301(str);
        mo2272().f6935.m6037("Setting storage consent for package", str, c4500M9591);
        mo2307().m4042();
        m2299();
        this.f2709.put(str, c4500M9591);
        C5218 c5218 = this.f2738;
        m2252(c5218);
        c5218.m10808(str, c4500M9591);
    }

    /* renamed from: ᵨᵳʝ, reason: contains not printable characters */
    public final void m2293(String str) throws Throwable {
        C0524 c0524;
        Throwable th;
        mo2307().m4042();
        m2299();
        this.f2706 = true;
        try {
            C4205 c4205 = this.f2728;
            c4205.getClass();
            Boolean bool = c4205.m9136().f2001;
            try {
                if (bool == null) {
                    mo2272().f6934.m6038("Upload data called on the client side before use of service was decided");
                } else if (bool.booleanValue()) {
                    mo2272().f6937.m6038("Upload called in the client side when service should be used");
                } else if (this.f2733 > 0) {
                    m2282();
                } else {
                    try {
                        C5034 c5034 = this.f2726;
                        m2252(c5034);
                        if (c5034.m10497()) {
                            C5218 c5218 = this.f2738;
                            m2252(c5218);
                            if (c5218.m10830(str)) {
                                C5218 c52182 = this.f2738;
                                m2252(c52182);
                                ᵩʛʽ.ˏˋٴ(str);
                                c52182.ˀᵗᵝᵭ();
                                c52182.m11201();
                                List listM10812 = c52182.m10812(str, C0418.m1917(EnumC5322.f19913), 1);
                                C1934 c1934 = listM10812.isEmpty() ? null : (C1934) listM10812.get(0);
                                if (c1934 != null) {
                                    C1363 c1363 = c1934.f7772;
                                    mo2272().f6935.m6040("[sgtm] Uploading data from upload queue. appId, type, url", str, c1934.f7766, c1934.f7769);
                                    byte[] bArrM3565 = c1363.m3565();
                                    if (Log.isLoggable(mo2272().m4947(), 2)) {
                                        C1680 c1680 = this.f2705;
                                        m2252(c1680);
                                        mo2272().f6935.m6040("[sgtm] Uploading data from upload queue. appId, uncompressed size, data", str, Integer.valueOf(bArrM3565.length), c1680.m4848(c1363));
                                    }
                                    C4573 c4573 = new C4573(c1934.f7769, c1934.f7774, c1934.f7766, null);
                                    this.f2711 = true;
                                    C5034 c50342 = this.f2726;
                                    m2252(c50342);
                                    c0524 = this;
                                    try {
                                        c50342.m10496(str, c4573, c1363, new C1601(12, c0524, str, c1934, false));
                                    } catch (Throwable th2) {
                                        th = th2;
                                        th = th;
                                        c0524.f2706 = false;
                                        c0524.m2273();
                                        throw th;
                                    }
                                }
                                c0524.f2706 = false;
                                c0524.m2273();
                            }
                            mo2272().f6935.m6039(str, "[sgtm] Upload queue has no batches for appId");
                        } else {
                            mo2272().f6935.m6038("Network not connected, ignoring upload request");
                            m2282();
                        }
                    } catch (Throwable th3) {
                        c0524 = this;
                        th = th3;
                        c0524.f2706 = false;
                        c0524.m2273();
                        throw th;
                    }
                }
                c0524 = this;
                c0524.f2706 = false;
                c0524.m2273();
            } catch (Throwable th4) {
                th = th4;
                c0524 = this;
            }
        } catch (Throwable th5) {
            th = th5;
            c0524 = this;
        }
    }

    /* renamed from: ᵪʩ, reason: contains not printable characters */
    public final void m2294(C4869 c4869, C0172 c0172) {
        Serializable serializableM4820;
        mo2307().m4042();
        m2299();
        C0836 c0836M3607 = C1148.m3607();
        C4205 c4205 = c4869.f18118;
        C1325 c1325 = c4205.f15698;
        C4205.m9132(c1325);
        c1325.m4042();
        byte[] bArr = c4869.f18132;
        if (bArr != null) {
            try {
                c0836M3607 = (C0836) C1680.m4831(c0836M3607, bArr);
            } catch (zzaeh unused) {
                mo2272().f6934.m6039(C1736.m4941(c4869.m10261()), "Failed to parse locally stored ad campaign info. appId");
            }
        }
        Iterator it = c0172.m1366().iterator();
        while (it.hasNext()) {
            C2461 c2461 = (C2461) it.next();
            if (c2461.m6296().equals("_cmp")) {
                C5147 c5147M4835 = C1680.m4835("gclid", c2461);
                Serializable serializableM48202 = c5147M4835 == null ? null : C1680.m4820(c5147M4835);
                if (serializableM48202 == null) {
                    serializableM48202 = "";
                }
                String str = (String) serializableM48202;
                C5147 c5147M48352 = C1680.m4835("gbraid", c2461);
                Serializable serializableM48203 = c5147M48352 == null ? null : C1680.m4820(c5147M48352);
                if (serializableM48203 == null) {
                    serializableM48203 = "";
                }
                String str2 = (String) serializableM48203;
                C5147 c5147M48353 = C1680.m4835("gad_source", c2461);
                Serializable serializableM48204 = c5147M48353 == null ? null : C1680.m4820(c5147M48353);
                if (serializableM48204 == null) {
                    serializableM48204 = "";
                }
                String str3 = (String) serializableM48204;
                C5147 c5147M48354 = C1680.m4835("deep_link_url", c2461);
                Object objM4820 = c5147M48354 == null ? null : C1680.m4820(c5147M48354);
                String str4 = (String) (objM4820 != null ? objM4820 : "");
                String[] strArrSplit = ((String) AbstractC5018.f18639.m11195(null)).split(",");
                m2285();
                HashMap map = new HashMap();
                for (C5147 c5147 : c2461.m6292()) {
                    Iterator it2 = it;
                    if (Arrays.asList(strArrSplit).contains(c5147.m10615()) && (serializableM4820 = C1680.m4820(c5147)) != null) {
                        map.put(c5147.m10615(), serializableM4820);
                    }
                    it = it2;
                }
                Iterator it3 = it;
                if (!map.isEmpty()) {
                    C5147 c5147M48355 = C1680.m4835("click_timestamp", c2461);
                    Object objM48202 = c5147M48355 == null ? null : C1680.m4820(c5147M48355);
                    long jLongValue = ((Long) (objM48202 != null ? objM48202 : 0L)).longValue();
                    if (jLongValue <= 0) {
                        jLongValue = c2461.m6288();
                    }
                    long j = jLongValue;
                    C5147 c5147M48356 = C1680.m4835("_cis", c2461);
                    if ("referrer API v2".equals(c5147M48356 == null ? null : C1680.m4820(c5147M48356))) {
                        if (j > ((C1148) c0836M3607.f20589).m3630()) {
                            if (str.isEmpty()) {
                                c0836M3607.m11120();
                                ((C1148) c0836M3607.f20589).m3632();
                            } else {
                                c0836M3607.m11120();
                                ((C1148) c0836M3607.f20589).m3635(str);
                            }
                            if (str2.isEmpty()) {
                                c0836M3607.m11120();
                                ((C1148) c0836M3607.f20589).m3642();
                            } else {
                                c0836M3607.m11120();
                                ((C1148) c0836M3607.f20589).m3643(str2);
                            }
                            if (str3.isEmpty()) {
                                c0836M3607.m11120();
                                ((C1148) c0836M3607.f20589).m3631();
                            } else {
                                c0836M3607.m11120();
                                ((C1148) c0836M3607.f20589).m3633(str3);
                            }
                            c0836M3607.m11120();
                            ((C1148) c0836M3607.f20589).m3610(j);
                            c0836M3607.m11120();
                            ((C1148) c0836M3607.f20589).m3622().clear();
                            HashMap mapM2290 = m2290(c2461);
                            c0836M3607.m11120();
                            ((C1148) c0836M3607.f20589).m3622().putAll(mapM2290);
                        }
                    } else if (j > ((C1148) c0836M3607.f20589).m3629()) {
                        if (str.isEmpty()) {
                            c0836M3607.m11120();
                            ((C1148) c0836M3607.f20589).m3615();
                        } else {
                            c0836M3607.m11120();
                            ((C1148) c0836M3607.f20589).m3609(str);
                        }
                        if (str2.isEmpty()) {
                            c0836M3607.m11120();
                            ((C1148) c0836M3607.f20589).m3618();
                        } else {
                            c0836M3607.m11120();
                            ((C1148) c0836M3607.f20589).m3640(str2);
                        }
                        if (str3.isEmpty()) {
                            c0836M3607.m11120();
                            ((C1148) c0836M3607.f20589).m3636();
                        } else {
                            c0836M3607.m11120();
                            ((C1148) c0836M3607.f20589).m3627(str3);
                        }
                        if (m2254().m5353(null, AbstractC5018.f18621)) {
                            if (str4.isEmpty()) {
                                c0836M3607.m11120();
                                ((C1148) c0836M3607.f20589).m3637();
                            } else {
                                c0836M3607.m11120();
                                ((C1148) c0836M3607.f20589).m3619(str4);
                            }
                        }
                        c0836M3607.m11120();
                        ((C1148) c0836M3607.f20589).m3623(j);
                        c0836M3607.m11120();
                        ((C1148) c0836M3607.f20589).m3628().clear();
                        HashMap mapM22902 = m2290(c2461);
                        c0836M3607.m11120();
                        ((C1148) c0836M3607.f20589).m3628().putAll(mapM22902);
                    }
                }
                it = it3;
            }
        }
        if (!((C1148) c0836M3607.m11118()).equals(C1148.m3608())) {
            C1148 c1148 = (C1148) c0836M3607.m11118();
            c0172.m11120();
            ((C1285) c0172.f20589).m3876(c1148);
        }
        byte[] bArrM3565 = ((C1148) c0836M3607.m11118()).m3565();
        C1325 c13252 = c4205.f15698;
        C4205.m9132(c13252);
        c13252.m4042();
        c4869.f18094 |= c4869.f18132 != bArrM3565;
        c4869.f18132 = bArrM3565;
        if (c4869.m10285()) {
            C5218 c5218 = this.f2738;
            m2252(c5218);
            c5218.m10822(c4869, false);
        }
        if (m2254().m5353(null, AbstractC5018.f18621)) {
            for (int i = 0; i < c0172.m1386(); i++) {
                C2461 c2461M3891 = ((C1285) c0172.f20589).m3891(i);
                if ("_cmp".equals(c2461M3891.m6296())) {
                    C0245 c0245 = (C0245) c2461M3891.m10438();
                    List listM1555 = c0245.m1555();
                    int i2 = 0;
                    while (true) {
                        if (i2 >= listM1555.size()) {
                            break;
                        }
                        if ("deep_link_url".equals(((C5147) listM1555.get(i2)).m10615())) {
                            c0245.m1560(i2);
                            c0172.m1397(i, c0245);
                            break;
                        }
                        i2++;
                    }
                }
            }
        }
        if (m2254().m5353(null, AbstractC5018.f18657)) {
            C5218 c52182 = this.f2738;
            m2252(c52182);
            c52182.m10828(c4869.m10261(), "_lgclid");
        }
    }

    /* renamed from: ᵫᵮʾ, reason: contains not printable characters */
    public final void m2295(String str, C1331 c1331) throws Throwable {
        mo2307().m4042();
        m2299();
        boolean zM2246 = m2246(c1331);
        String str2 = c1331.f5474;
        if (zM2246) {
            if (!c1331.f5467) {
                m2268(c1331);
                return;
            }
            Boolean boolM2251 = m2251(c1331);
            if ("_npa".equals(str) && boolM2251 != null) {
                mo2272().f6941.m6038("Falling back to manifest metadata value for ad personalization");
                mo2310().getClass();
                m2270(new C3861(System.currentTimeMillis(), Long.valueOf(true != boolM2251.booleanValue() ? 0L : 1L), "_npa", "auto"), c1331);
                return;
            }
            C2319 c2319 = mo2272().f6941;
            C4205 c4205 = this.f2728;
            c2319.m6039(c4205.f15705.m6999(str), "Removing user property");
            C5218 c5218 = this.f2738;
            m2252(c5218);
            c5218.m10803();
            try {
                m2268(c1331);
                if ("_id".equals(str)) {
                    C5218 c52182 = this.f2738;
                    m2252(c52182);
                    ᵩʛʽ.ᵝᵵᵺ(str2);
                    c52182.m10828(str2, "_lair");
                }
                C5218 c52183 = this.f2738;
                m2252(c52183);
                ᵩʛʽ.ᵝᵵᵺ(str2);
                c52183.m10828(str2, str);
                C5218 c52184 = this.f2738;
                m2252(c52184);
                c52184.m10781();
                mo2272().f6941.m6039(c4205.f15705.m6999(str), "User property removed");
                C5218 c52185 = this.f2738;
                m2252(c52185);
                c52185.m10819();
            } catch (Throwable th) {
                C5218 c52186 = this.f2738;
                m2252(c52186);
                c52186.m10819();
                throw th;
            }
        }
    }

    /* renamed from: ᵮᵠـˌ, reason: contains not printable characters */
    public final int m2296(String str, C4457 c4457) throws Throwable {
        EnumC1507 enumC1507M7598;
        C3245 c3245 = this.f2729;
        C1163 c1163M7591 = c3245.m7591(str);
        EnumC1013 enumC1013 = EnumC1013.f4452;
        if (c1163M7591 == null) {
            c4457.m9482(enumC1013, EnumC1788.FAILSAFE);
            return 1;
        }
        C5218 c5218 = this.f2738;
        m2252(c5218);
        C4869 c4869M10786 = c5218.m10786(str);
        if (c4869M10786 == null || ((EnumC1507) C4457.m9477(c4869M10786.m10271()).f16625) != EnumC1507.f6049 || (enumC1507M7598 = c3245.m7598(str, enumC1013)) == EnumC1507.f6046) {
            c4457.m9482(enumC1013, EnumC1788.REMOTE_DEFAULT);
            if (c3245.m7587(str, enumC1013)) {
                return 0;
            }
        } else {
            c4457.m9482(enumC1013, EnumC1788.REMOTE_ENFORCED_DEFAULT);
            if (enumC1507M7598 == EnumC1507.f6047) {
                return 0;
            }
        }
        return 1;
    }

    /* renamed from: ᵯٴᵦ, reason: contains not printable characters */
    public final void m2297(C4869 c4869, C0172 c0172) throws Throwable {
        C4457 c4457;
        C3963 c3963;
        EnumC1788 enumC1788;
        mo2307().m4042();
        m2299();
        String strM3871 = ((C1285) c0172.f20589).m3871();
        EnumMap enumMap = new EnumMap(EnumC1013.class);
        int length = strM3871.length();
        int length2 = EnumC1013.values().length;
        EnumC1788 enumC17882 = EnumC1788.UNSET;
        int i = 0;
        if (length < length2 || strM3871.charAt(0) != '1') {
            c4457 = new C4457(6);
        } else {
            EnumC1013[] enumC1013ArrValues = EnumC1013.values();
            int length3 = enumC1013ArrValues.length;
            int i2 = 0;
            int i3 = 1;
            while (i2 < length3) {
                EnumC1013 enumC1013 = enumC1013ArrValues[i2];
                int i4 = i3 + 1;
                char cCharAt = strM3871.charAt(i3);
                EnumC1788[] enumC1788ArrValues = EnumC1788.values();
                int length4 = enumC1788ArrValues.length;
                int i5 = i;
                while (true) {
                    if (i5 >= length4) {
                        enumC1788 = enumC17882;
                        break;
                    }
                    enumC1788 = enumC1788ArrValues[i5];
                    if (enumC1788.f7194 == cCharAt) {
                        break;
                    } else {
                        i5++;
                    }
                }
                enumMap.put((EnumMap) enumC1013, (EnumC1013) enumC1788);
                i2++;
                i3 = i4;
                i = 0;
            }
            c4457 = new C4457(enumMap);
        }
        String strM10261 = c4869.m10261();
        mo2307().m4042();
        m2299();
        C4500 c4500M2301 = m2301(strM10261);
        EnumMap enumMap2 = c4500M2301.f16776;
        EnumC1013 enumC10132 = EnumC1013.f4451;
        EnumC1507 enumC1507 = (EnumC1507) enumMap2.get(enumC10132);
        EnumC1507 enumC15072 = EnumC1507.f6046;
        if (enumC1507 == null) {
            enumC1507 = enumC15072;
        }
        int i6 = c4500M2301.f16777;
        int iOrdinal = enumC1507.ordinal();
        EnumC1788 enumC17883 = EnumC1788.REMOTE_ENFORCED_DEFAULT;
        EnumC1788 enumC17884 = EnumC1788.FAILSAFE;
        if (iOrdinal == 1) {
            c4457.m9482(enumC10132, enumC17883);
        } else if (iOrdinal == 2 || iOrdinal == 3) {
            c4457.m9479(enumC10132, i6);
        } else {
            c4457.m9482(enumC10132, enumC17884);
        }
        EnumC1013 enumC10133 = EnumC1013.f4454;
        EnumC1507 enumC15073 = (EnumC1507) enumMap2.get(enumC10133);
        if (enumC15073 != null) {
            enumC15072 = enumC15073;
        }
        int iOrdinal2 = enumC15072.ordinal();
        if (iOrdinal2 == 1) {
            c4457.m9482(enumC10133, enumC17883);
        } else if (iOrdinal2 == 2 || iOrdinal2 == 3) {
            c4457.m9479(enumC10133, i6);
        } else {
            c4457.m9482(enumC10133, enumC17884);
        }
        String strM102612 = c4869.m10261();
        mo2307().m4042();
        m2299();
        C4878 c4878M2298 = m2298(strM102612, m2279(strM102612), m2301(strM102612), c4457);
        String str = c4878M2298.f18170;
        Boolean bool = c4878M2298.f18167;
        ᵩʛʽ.ᵝᵵᵺ(bool);
        boolean zBooleanValue = bool.booleanValue();
        c0172.m11120();
        ((C1285) c0172.f20589).m3923(zBooleanValue);
        if (!TextUtils.isEmpty(str)) {
            c0172.m11120();
            ((C1285) c0172.f20589).m3865(str);
        }
        mo2307().m4042();
        m2299();
        Iterator it = DesugarCollections.unmodifiableList(((C1285) c0172.f20589).m3897()).iterator();
        while (true) {
            if (it.hasNext()) {
                c3963 = (C3963) it.next();
                if ("_npa".equals(c3963.m8776())) {
                    break;
                }
            } else {
                c3963 = null;
                break;
            }
        }
        if (c3963 != null) {
            EnumMap enumMap3 = (EnumMap) c4457.f16625;
            EnumC1013 enumC10134 = EnumC1013.f4452;
            EnumC1788 enumC17885 = (EnumC1788) enumMap3.get(enumC10134);
            if (enumC17885 == null) {
                enumC17885 = enumC17882;
            }
            if (enumC17885 == enumC17882) {
                C5218 c5218 = this.f2738;
                m2252(c5218);
                C5428 c5428M10826 = c5218.m10826(c4869.m10261(), "_npa");
                EnumC1788 enumC17886 = EnumC1788.MANIFEST;
                EnumC1788 enumC17887 = EnumC1788.API;
                if (c5428M10826 != null) {
                    String str2 = c5428M10826.f20352;
                    if ("tcf".equals(str2)) {
                        c4457.m9482(enumC10134, EnumC1788.TCF);
                    } else if ("app".equals(str2)) {
                        c4457.m9482(enumC10134, enumC17887);
                    } else {
                        c4457.m9482(enumC10134, enumC17886);
                    }
                } else {
                    Boolean boolM10295 = c4869.m10295();
                    if (boolM10295 == null || ((boolM10295.booleanValue() && c3963.m8774() != 1) || !(boolM10295.booleanValue() || c3963.m8774() == 0))) {
                        c4457.m9482(enumC10134, enumC17887);
                    } else {
                        c4457.m9482(enumC10134, enumC17886);
                    }
                }
            }
        } else {
            int iM2296 = m2296(c4869.m10261(), c4457);
            C0394 c0394M8764 = C3963.m8764();
            c0394M8764.m11120();
            ((C3963) c0394M8764.f20589).m8775("_npa");
            mo2310().getClass();
            long jCurrentTimeMillis = System.currentTimeMillis();
            c0394M8764.m11120();
            ((C3963) c0394M8764.f20589).m8778(jCurrentTimeMillis);
            c0394M8764.m11120();
            ((C3963) c0394M8764.f20589).m8779(iM2296);
            C3963 c39632 = (C3963) c0394M8764.m11118();
            c0172.m11120();
            ((C1285) c0172.f20589).m3943(c39632);
            mo2272().f6935.m6037("Setting user property", "non_personalized_ads(_npa)", Integer.valueOf(iM2296));
        }
        String string = c4457.toString();
        c0172.m11120();
        ((C1285) c0172.f20589).m3877(string);
        String strM102613 = c4869.m10261();
        C3245 c3245 = this.f2729;
        c3245.ˀᵗᵝᵭ();
        c3245.m7601(strM102613);
        C1163 c1163M7591 = c3245.m7591(strM102613);
        boolean z = c1163M7591 == null || !c1163M7591.m3657() || c1163M7591.m3661();
        List listM1366 = c0172.m1366();
        for (int i7 = 0; i7 < listM1366.size(); i7++) {
            if ("_tcf".equals(((C2461) listM1366.get(i7)).m6296())) {
                C0245 c0245 = (C0245) ((C2461) listM1366.get(i7)).m10438();
                List listM1555 = c0245.m1555();
                int i8 = 0;
                while (true) {
                    if (i8 >= listM1555.size()) {
                        break;
                    }
                    if ("_tcfd".equals(((C5147) listM1555.get(i8)).m10615())) {
                        String strM10621 = ((C5147) listM1555.get(i8)).m10621();
                        if (z && strM10621.length() > 4) {
                            char[] charArray = strM10621.toCharArray();
                            int i9 = 1;
                            while (true) {
                                if (i9 >= 64) {
                                    i9 = 0;
                                    break;
                                } else if (charArray[4] == "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-_".charAt(i9)) {
                                    break;
                                } else {
                                    i9++;
                                }
                            }
                            charArray[4] = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-_".charAt(i9 | 1);
                            strM10621 = String.valueOf(charArray);
                        }
                        C1513 c1513M10608 = C5147.m10608();
                        c1513M10608.m4441("_tcfd");
                        c1513M10608.m4442(strM10621);
                        c0245.m11120();
                        ((C2461) c0245.f20589).m6275(i8, (C5147) c1513M10608.m11118());
                    } else {
                        i8++;
                    }
                }
                c0172.m1397(i7, c0245);
                return;
            }
        }
    }

    /* JADX WARN: Removed duplicated region for block: B:32:0x0092  */
    /* JADX WARN: Removed duplicated region for block: B:35:0x0097  */
    /* JADX WARN: Removed duplicated region for block: B:40:0x00a5  */
    /* JADX WARN: Removed duplicated region for block: B:42:0x00b0  */
    /* JADX WARN: Removed duplicated region for block: B:43:0x00b2  */
    /* renamed from: ᵰʖʢ, reason: contains not printable characters */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
        To view partially-correct add '--show-bad-code' argument
    */
    public final defpackage.C4878 m2298(java.lang.String r11, defpackage.C4878 r12, defpackage.C4500 r13, defpackage.C4457 r14) {
        /*
            Method dump skipped, instructions count: 301
            To view this dump add '--comments-level debug' option
        */
        throw new UnsupportedOperationException("Method not decompiled: defpackage.C0524.m2298(java.lang.String, ᵷˎˀ, ᵲᵛˈ, ᵲʛⁱˋ):ᵷˎˀ");
    }

    /* renamed from: ᵲᵟ, reason: contains not printable characters */
    public final void m2299() {
        if (this.f2735.get()) {
            return;
        }
        ᵹˉᵞ.ᵳٴᵶ("UploadController is not initialized");
    }

    /* renamed from: ᵳٴᵶ, reason: contains not printable characters */
    public final String m2300(C4500 c4500) {
        if (!c4500.m9598(EnumC1013.f4454)) {
            return null;
        }
        byte[] bArr = new byte[16];
        m2288().m10218().nextBytes(bArr);
        return String.format(Locale.US, "%032x", new BigInteger(1, bArr));
    }

    /* renamed from: ᵴᵳ, reason: contains not printable characters */
    public final C4500 m2301(String str) throws Throwable {
        C4500 c4500 = C4500.f16775;
        mo2307().m4042();
        m2299();
        HashMap map = this.f2709;
        C4500 c4500M10806 = (C4500) map.get(str);
        if (c4500M10806 == null) {
            C5218 c5218 = this.f2738;
            m2252(c5218);
            c4500M10806 = c5218.m10806(str);
            if (c4500M10806 == null) {
                c4500M10806 = C4500.f16775;
            }
            mo2307().m4042();
            m2299();
            map.put(str, c4500M10806);
            C5218 c52182 = this.f2738;
            m2252(c52182);
            c52182.m10808(str, c4500M10806);
        }
        return c4500M10806;
    }

    /* renamed from: ᵶʔᵢˊ, reason: contains not printable characters */
    public final void m2302(C0172 c0172, long j, boolean z) throws Throwable {
        C5428 c5428;
        Object obj;
        String str = true != z ? "_lte" : "_se";
        C5218 c5218 = this.f2738;
        m2252(c5218);
        C5428 c5428M10826 = c5218.m10826(c0172.m1375(), str);
        if (c5428M10826 == null || (obj = c5428M10826.f20349) == null) {
            String strM1375 = c0172.m1375();
            mo2310().getClass();
            c5428 = new C5428(strM1375, "auto", str, System.currentTimeMillis(), Long.valueOf(j));
        } else {
            String strM13752 = c0172.m1375();
            mo2310().getClass();
            c5428 = new C5428(strM13752, "auto", str, System.currentTimeMillis(), Long.valueOf(((Long) obj).longValue() + j));
        }
        C0394 c0394M8764 = C3963.m8764();
        c0394M8764.m11120();
        ((C3963) c0394M8764.f20589).m8775(str);
        mo2310().getClass();
        long jCurrentTimeMillis = System.currentTimeMillis();
        c0394M8764.m11120();
        ((C3963) c0394M8764.f20589).m8778(jCurrentTimeMillis);
        Object obj2 = c5428.f20349;
        long jLongValue = ((Long) obj2).longValue();
        c0394M8764.m11120();
        ((C3963) c0394M8764.f20589).m8779(jLongValue);
        C3963 c3963 = (C3963) c0394M8764.m11118();
        int iM4829 = C1680.m4829(str, c0172);
        if (iM4829 >= 0) {
            c0172.m11120();
            ((C1285) c0172.f20589).m3993(iM4829, c3963);
        } else {
            c0172.m11120();
            ((C1285) c0172.f20589).m3943(c3963);
        }
        if (j > 0) {
            C5218 c52182 = this.f2738;
            m2252(c52182);
            c52182.m10789(c5428);
            mo2272().f6935.m6037("Updated engagement user property. scope, value", true != z ? "lifetime" : "session-scoped", obj2);
        }
    }

    /* renamed from: ᵶᵷᵕ, reason: contains not printable characters */
    public final void m2303(C2850 c2850, C1331 c1331) throws Throwable {
        List listM10816;
        C4205 c4205;
        List listM108162;
        List listM108163;
        Iterator it;
        String str;
        ᵩʛʽ.ᵝᵵᵺ(c1331);
        String str2 = c1331.f5474;
        ᵩʛʽ.ˏˋٴ(str2);
        mo2307().m4042();
        m2299();
        long j = c2850.f11012;
        long j2 = c2850.f11010;
        C5434 c5434M11080 = C5434.m11080(c2850);
        mo2307().m4042();
        C5465 c5465 = this.f2704;
        if (c5465 == null || (str = this.f2710) == null || !str.equals(str2)) {
            c5465 = null;
        }
        C4864.m10198(c5465, c5434M11080.f20407, false);
        C2850 c2850M11081 = c5434M11080.m11081();
        m2285();
        if (TextUtils.isEmpty(c1331.f5471)) {
            return;
        }
        if (!c1331.f5467) {
            m2268(c1331);
            return;
        }
        List list = c1331.f5465;
        if (list != null) {
            String str3 = c2850M11081.f11011;
            if (!list.contains(str3)) {
                mo2272().f6941.m6040("Dropping non-safelisted event. appId, event name, origin", str2, str3, c2850M11081.f11013);
                return;
            } else {
                Bundle bundleM8355 = c2850M11081.f11009.m8355();
                bundleM8355.putLong("ga_safelisted", 1L);
                c2850M11081 = new C2850(str3, new C3724(bundleM8355), c2850M11081.f11013, c2850M11081.f11012, c2850M11081.f11010);
            }
        }
        C5218 c5218 = this.f2738;
        m2252(c5218);
        c5218.m10803();
        try {
            String str4 = c2850M11081.f11011;
            if ("_s".equals(str4)) {
                C5218 c52182 = this.f2738;
                m2252(c52182);
                if (!c52182.m10783(str2, "_s") && c2850M11081.f11009.f13901.getLong("_sid") != 0) {
                    C5218 c52183 = this.f2738;
                    m2252(c52183);
                    if (c52183.m10783(str2, "_f")) {
                        C5218 c52184 = this.f2738;
                        m2252(c52184);
                        c52184.m10825(str2, null, "_sid", m2306(str2, c2850M11081));
                    } else {
                        C5218 c52185 = this.f2738;
                        m2252(c52185);
                        if (c52185.m10783(str2, "_v")) {
                            C5218 c521842 = this.f2738;
                            m2252(c521842);
                            c521842.m10825(str2, null, "_sid", m2306(str2, c2850M11081));
                        } else {
                            C5218 c52186 = this.f2738;
                            m2252(c52186);
                            mo2310().getClass();
                            c52186.m10825(str2, Long.valueOf(System.currentTimeMillis() - 15000), "_sid", m2306(str2, c2850M11081));
                        }
                    }
                }
            }
            C5218 c52187 = this.f2738;
            m2252(c52187);
            ᵩʛʽ.ˏˋٴ(str2);
            c52187.ˀᵗᵝᵭ();
            c52187.m11201();
            int i = (j > 0L ? 1 : (j == 0L ? 0 : -1));
            if (i < 0) {
                C1736 c1736 = ((C4205) ((ᵢˇᵭ) c52187).ᵧᵾˀˈ).f15715;
                C4205.m9132(c1736);
                c1736.f6934.m6037("Invalid time querying timed out conditional properties", C1736.m4941(str2), Long.valueOf(j));
                listM10816 = Collections.EMPTY_LIST;
            } else {
                listM10816 = c52187.m10816("active=0 and app_id=? and abs(? - creation_timestamp) > trigger_timeout", new String[]{str2, String.valueOf(j)});
            }
            Iterator it2 = listM10816.iterator();
            while (true) {
                boolean zHasNext = it2.hasNext();
                c4205 = this.f2728;
                if (!zHasNext) {
                    break;
                }
                C3122 c3122 = (C3122) it2.next();
                if (c3122 != null) {
                    Iterator it3 = it2;
                    mo2272().f6935.m6040("User property timed out", c3122.f11892, c4205.f15705.m6999(c3122.f11895.f14363), c3122.f11895.m8510());
                    C2850 c28502 = c3122.f11885;
                    if (c28502 != null) {
                        m2267(new C2850(c28502, j, j2), c1331);
                    }
                    C5218 c52188 = this.f2738;
                    m2252(c52188);
                    c52188.m10796(str2, c3122.f11895.f14363);
                    it2 = it3;
                }
            }
            C5218 c52189 = this.f2738;
            m2252(c52189);
            ᵩʛʽ.ˏˋٴ(str2);
            c52189.ˀᵗᵝᵭ();
            c52189.m11201();
            if (i < 0) {
                C1736 c17362 = ((C4205) ((ᵢˇᵭ) c52189).ᵧᵾˀˈ).f15715;
                C4205.m9132(c17362);
                c17362.f6934.m6037("Invalid time querying expired conditional properties", C1736.m4941(str2), Long.valueOf(j));
                listM108162 = Collections.EMPTY_LIST;
            } else {
                listM108162 = c52189.m10816("active<>0 and app_id=? and abs(? - triggered_timestamp) > time_to_live", new String[]{str2, String.valueOf(j)});
            }
            ArrayList arrayList = new ArrayList(listM108162.size());
            Iterator it4 = listM108162.iterator();
            while (it4.hasNext()) {
                C3122 c31222 = (C3122) it4.next();
                if (c31222 != null) {
                    Iterator it5 = it4;
                    int i2 = i;
                    long j3 = j;
                    mo2272().f6935.m6040("User property expired", c31222.f11892, c4205.f15705.m6999(c31222.f11895.f14363), c31222.f11895.m8510());
                    C5218 c521810 = this.f2738;
                    m2252(c521810);
                    c521810.m10828(str2, c31222.f11895.f14363);
                    C2850 c28503 = c31222.f11893;
                    if (c28503 != null) {
                        arrayList.add(c28503);
                    }
                    C5218 c521811 = this.f2738;
                    m2252(c521811);
                    c521811.m10796(str2, c31222.f11895.f14363);
                    it4 = it5;
                    i = i2;
                    j = j3;
                }
            }
            int i3 = i;
            long j4 = j;
            int size = arrayList.size();
            int i4 = 0;
            while (i4 < size) {
                Object obj = arrayList.get(i4);
                i4++;
                long j5 = j4;
                m2267(new C2850((C2850) obj, j5, j2), c1331);
                j4 = j5;
                j2 = j2;
            }
            long j6 = j2;
            long j7 = j4;
            C5218 c521812 = this.f2738;
            m2252(c521812);
            ᵩʛʽ.ˏˋٴ(str2);
            ᵩʛʽ.ˏˋٴ(str4);
            c521812.ˀᵗᵝᵭ();
            c521812.m11201();
            if (i3 < 0) {
                C4205 c42052 = (C4205) ((ᵢˇᵭ) c521812).ᵧᵾˀˈ;
                C1736 c17363 = c42052.f15715;
                C4205.m9132(c17363);
                c17363.f6934.m6040("Invalid time querying triggered conditional properties", C1736.m4941(str2), c42052.f15705.m7000(str4), Long.valueOf(j7));
                listM108163 = Collections.EMPTY_LIST;
            } else {
                listM108163 = c521812.m10816("active=0 and app_id=? and trigger_event_name=? and abs(? - creation_timestamp) <= trigger_timeout", new String[]{str2, str4, String.valueOf(j7)});
            }
            ArrayList arrayList2 = new ArrayList(listM108163.size());
            Iterator it6 = listM108163.iterator();
            while (it6.hasNext()) {
                C3122 c31223 = (C3122) it6.next();
                if (c31223 != null) {
                    C3861 c3861 = c31223.f11895;
                    String str5 = c31223.f11892;
                    ᵩʛʽ.ᵝᵵᵺ(str5);
                    long j8 = j7;
                    String str6 = c31223.f11890;
                    String str7 = c3861.f14363;
                    Object objM8510 = c3861.m8510();
                    ᵩʛʽ.ᵝᵵᵺ(objM8510);
                    C5428 c5428 = new C5428(str5, str6, str7, j8, objM8510);
                    j7 = j8;
                    Object obj2 = c5428.f20349;
                    String str8 = c5428.f20350;
                    C5218 c521813 = this.f2738;
                    m2252(c521813);
                    if (c521813.m10789(c5428)) {
                        it = it6;
                        mo2272().f6935.m6040("User property triggered", c31223.f11892, c4205.f15705.m6999(str8), obj2);
                    } else {
                        it = it6;
                        mo2272().f6937.m6040("Too many active user properties, ignoring", C1736.m4941(c31223.f11892), c4205.f15705.m6999(str8), obj2);
                    }
                    C2850 c28504 = c31223.f11887;
                    if (c28504 != null) {
                        arrayList2.add(c28504);
                    }
                    c31223.f11895 = new C3861(c5428);
                    c31223.f11891 = true;
                    C5218 c521814 = this.f2738;
                    m2252(c521814);
                    c521814.m10824(c31223);
                    it6 = it;
                }
            }
            m2267(c2850M11081, c1331);
            int size2 = arrayList2.size();
            int i5 = 0;
            while (i5 < size2) {
                Object obj3 = arrayList2.get(i5);
                i5++;
                long j9 = j6;
                m2267(new C2850((C2850) obj3, j7, j9), c1331);
                j6 = j9;
            }
            C5218 c521815 = this.f2738;
            m2252(c521815);
            c521815.m10781();
            C5218 c521816 = this.f2738;
            m2252(c521816);
            c521816.m10819();
        } catch (Throwable th) {
            C5218 c521817 = this.f2738;
            m2252(c521817);
            c521817.m10819();
            throw th;
        }
    }

    /* renamed from: ᵷᵱ, reason: contains not printable characters */
    public final void m2304(C1331 c1331, long j) throws Throwable {
        C5218 c5218 = this.f2738;
        m2252(c5218);
        String str = c1331.f5474;
        ᵩʛʽ.ᵝᵵᵺ(str);
        C4869 c4869M10786 = c5218.m10786(str);
        if (c4869M10786 != null) {
            m2288();
            String str2 = c1331.f5471;
            String strM10292 = c4869M10786.m10292();
            boolean zIsEmpty = TextUtils.isEmpty(str2);
            boolean zIsEmpty2 = TextUtils.isEmpty(strM10292);
            if (!zIsEmpty && !zIsEmpty2) {
                ᵩʛʽ.ᵝᵵᵺ(str2);
                if (!str2.equals(strM10292)) {
                    mo2272().f6934.m6039(C1736.m4941(c4869M10786.m10261()), "New GMP App Id passed in. Removing cached database data. appId");
                    C5218 c52182 = this.f2738;
                    m2252(c52182);
                    C4205 c4205 = (C4205) ((ᵢˇᵭ) c52182).ᵧᵾˀˈ;
                    String strM10261 = c4869M10786.m10261();
                    c52182.m11201();
                    c52182.ˀᵗᵝᵭ();
                    ᵩʛʽ.ˏˋٴ(strM10261);
                    try {
                        SQLiteDatabase sQLiteDatabaseM10779 = c52182.m10779();
                        String[] strArr = {strM10261};
                        int iDelete = sQLiteDatabaseM10779.delete("events", "app_id=?", strArr) + sQLiteDatabaseM10779.delete("user_attributes", "app_id=?", strArr) + sQLiteDatabaseM10779.delete("conditional_properties", "app_id=?", strArr) + sQLiteDatabaseM10779.delete("apps", "app_id=?", strArr) + sQLiteDatabaseM10779.delete("raw_events", "app_id=?", strArr) + sQLiteDatabaseM10779.delete("raw_events_metadata", "app_id=?", strArr) + sQLiteDatabaseM10779.delete("event_filters", "app_id=?", strArr) + sQLiteDatabaseM10779.delete("property_filters", "app_id=?", strArr) + sQLiteDatabaseM10779.delete("audience_filter_values", "app_id=?", strArr) + sQLiteDatabaseM10779.delete("consent_settings", "app_id=?", strArr) + sQLiteDatabaseM10779.delete("default_event_params", "app_id=?", strArr) + sQLiteDatabaseM10779.delete("trigger_uris", "app_id=?", strArr) + sQLiteDatabaseM10779.delete("diagnostic_signals", "app_id=?", strArr);
                        if (c4205.f15726.m5353(null, AbstractC5018.f18631)) {
                            iDelete += sQLiteDatabaseM10779.delete("no_data_mode_events", "app_id=?", strArr);
                        }
                        if (iDelete > 0) {
                            C1736 c1736 = c4205.f15715;
                            C4205.m9132(c1736);
                            c1736.f6935.m6037("Deleted application data. app, records", strM10261, Integer.valueOf(iDelete));
                        }
                    } catch (SQLiteException e) {
                        C1736 c17362 = c4205.f15715;
                        C4205.m9132(c17362);
                        c17362.f6937.m6037("Error deleting application data. appId, error", C1736.m4941(strM10261), e);
                    }
                    c4869M10786 = null;
                }
            }
        }
        if (c4869M10786 != null) {
            boolean z = (c4869M10786.m10252() == -2147483648L || c4869M10786.m10252() == c1331.f5460) ? false : true;
            String strM10264 = c4869M10786.m10264();
            if (z || ((c4869M10786.m10252() != -2147483648L || strM10264 == null || strM10264.equals(c1331.f5482)) ? false : true)) {
                Bundle bundle = new Bundle();
                bundle.putString("_pv", strM10264);
                C2850 c2850 = new C2850("_au", new C3724(bundle), "auto", j, 0L);
                if (m2254().m5353(null, AbstractC5018.f18661)) {
                    m2269(c2850, c1331);
                } else {
                    m2303(c2850, c1331);
                }
            }
        }
    }

    /* JADX WARN: Removed duplicated region for block: B:113:0x0231  */
    /* JADX WARN: Removed duplicated region for block: B:17:0x006f A[PHI: r0 r11 r24
      0x006f: PHI (r0v114 java.util.List) = (r0v8 java.util.List), (r0v136 java.util.List) binds: [B:108:0x0225, B:16:0x006d] A[DONT_GENERATE, DONT_INLINE]
      0x006f: PHI (r11v55 android.database.Cursor) = (r11v5 android.database.Cursor), (r11v57 android.database.Cursor) binds: [B:108:0x0225, B:16:0x006d] A[DONT_GENERATE, DONT_INLINE]
      0x006f: PHI (r24v19 long) = (r24v2 long), (r24v20 long) binds: [B:108:0x0225, B:16:0x006d] A[DONT_GENERATE, DONT_INLINE]] */
    /* JADX WARN: Removed duplicated region for block: B:187:0x049b  */
    /* JADX WARN: Removed duplicated region for block: B:191:0x04a9  */
    /* JADX WARN: Removed duplicated region for block: B:224:0x058a  */
    /* JADX WARN: Removed duplicated region for block: B:233:0x05a5  */
    /* JADX WARN: Removed duplicated region for block: B:251:0x05fb  */
    /* JADX WARN: Removed duplicated region for block: B:254:0x0617  */
    /* JADX WARN: Removed duplicated region for block: B:257:0x0623  */
    /* JADX WARN: Removed duplicated region for block: B:261:0x0652  */
    /* JADX WARN: Removed duplicated region for block: B:305:0x07af  */
    /* JADX WARN: Removed duplicated region for block: B:315:0x0803  */
    /* JADX WARN: Removed duplicated region for block: B:317:0x0812  */
    /* JADX WARN: Removed duplicated region for block: B:378:0x0a7f  */
    /* JADX WARN: Removed duplicated region for block: B:438:0x07f7 A[EDGE_INSN: B:438:0x07f7->B:313:0x07f7 BREAK  A[LOOP:4: B:259:0x064e->B:312:0x07e9], SYNTHETIC] */
    /* JADX WARN: Removed duplicated region for block: B:440:0x07e9 A[SYNTHETIC] */
    /* JADX WARN: Removed duplicated region for block: B:475:? A[RETURN, SYNTHETIC] */
    /* JADX WARN: Removed duplicated region for block: B:477:? A[RETURN, SYNTHETIC] */
    /* JADX WARN: Removed duplicated region for block: B:478:? A[RETURN, SYNTHETIC] */
    /* JADX WARN: Type inference failed for: r11v2 */
    /* JADX WARN: Type inference failed for: r11v3, types: [boolean] */
    /* JADX WARN: Type inference failed for: r11v58 */
    /* renamed from: ᵸʓᵠ, reason: contains not printable characters */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
        To view partially-correct add '--show-bad-code' argument
    */
    public final void m2305(long r32, java.lang.String r34) throws java.lang.Throwable {
        /*
            Method dump skipped, instructions count: 2768
            To view this dump add '--comments-level debug' option
        */
        throw new UnsupportedOperationException("Method not decompiled: defpackage.C0524.m2305(long, java.lang.String):void");
    }

    /* renamed from: ᵸˑ, reason: contains not printable characters */
    public final Bundle m2306(String str, C2850 c2850) throws Throwable {
        Bundle bundle = new Bundle();
        bundle.putLong("_sid", c2850.f11009.f13901.getLong("_sid"));
        C5218 c5218 = this.f2738;
        m2252(c5218);
        C5428 c5428M10826 = c5218.m10826(str, "_sno");
        if (c5428M10826 != null) {
            Object obj = c5428M10826.f20349;
            if (obj instanceof Long) {
                bundle.putLong("_sno", ((Long) obj).longValue());
            }
        }
        return bundle;
    }

    @Override // defpackage.InterfaceC2183
    /* renamed from: ᵹᵝᵶ, reason: contains not printable characters */
    public final C1325 mo2307() {
        C4205 c4205 = this.f2728;
        ᵩʛʽ.ᵝᵵᵺ(c4205);
        C1325 c1325 = c4205.f15698;
        C4205.m9132(c1325);
        return c1325;
    }

    /* renamed from: ᵺʙ, reason: contains not printable characters */
    public final void m2308() {
        mo2307().m4042();
        if (this.f2739.isEmpty()) {
            return;
        }
        int i = 2;
        if (this.f2734 == null) {
            this.f2734 = new C4982(this, this.f2728, i);
        }
        if (this.f2734.f20566 != 0) {
            return;
        }
        mo2310().getClass();
        long jMax = Math.max(0L, ((Integer) AbstractC5018.f18630.m11195(null)).intValue() - (SystemClock.elapsedRealtime() - this.f2713));
        mo2272().f6935.m6039(Long.valueOf(jMax), "Scheduling notify next app runnable, delay in ms");
        if (this.f2734 == null) {
            this.f2734 = new C4982(this, this.f2728, i);
        }
        this.f2734.m11113(jMax);
    }

    /* renamed from: ᵺᵠ, reason: contains not printable characters */
    public final C3245 m2309() {
        C3245 c3245 = this.f2729;
        m2252(c3245);
        return c3245;
    }

    @Override // defpackage.InterfaceC2183
    /* renamed from: ᵻᵢﹳᵰ, reason: contains not printable characters */
    public final ˊᵻ mo2310() {
        C4205 c4205 = this.f2728;
        ᵩʛʽ.ᵝᵵᵺ(c4205);
        return c4205.f15721;
    }

    /* JADX WARN: Removed duplicated region for block: B:116:0x02d6 A[Catch: all -> 0x00fc, TryCatch #5 {all -> 0x00fc, blocks: (B:33:0x00dc, B:35:0x00ec, B:43:0x0103, B:47:0x0113, B:49:0x0122, B:55:0x0137, B:57:0x0144, B:59:0x014f, B:62:0x0158, B:65:0x016f, B:68:0x0188, B:71:0x01ac, B:74:0x01b9, B:76:0x01cf, B:114:0x02aa, B:116:0x02d6, B:117:0x02d9, B:119:0x02f8, B:161:0x03d4, B:162:0x03d7, B:170:0x0482, B:122:0x030e, B:127:0x032d, B:129:0x0335, B:131:0x033d, B:135:0x0350, B:140:0x036e, B:144:0x037a, B:147:0x0390, B:152:0x03b5, B:154:0x03bd, B:156:0x03c5, B:158:0x03cb, B:150:0x03a3, B:138:0x0361, B:125:0x031b, B:78:0x01de, B:80:0x020a, B:81:0x0215, B:83:0x021c, B:85:0x0222, B:87:0x022c, B:89:0x0232, B:91:0x0238, B:93:0x023e, B:94:0x0243, B:96:0x0255, B:98:0x025b, B:104:0x026b, B:110:0x0275, B:111:0x0286, B:112:0x0292, B:113:0x029e, B:163:0x0400, B:165:0x0434, B:166:0x0437, B:167:0x045d, B:169:0x0464, B:63:0x0163, B:58:0x014b, B:51:0x012c, B:54:0x0134), top: B:185:0x00dc, inners: #0, #3 }] */
    /* JADX WARN: Removed duplicated region for block: B:119:0x02f8 A[Catch: all -> 0x00fc, TRY_LEAVE, TryCatch #5 {all -> 0x00fc, blocks: (B:33:0x00dc, B:35:0x00ec, B:43:0x0103, B:47:0x0113, B:49:0x0122, B:55:0x0137, B:57:0x0144, B:59:0x014f, B:62:0x0158, B:65:0x016f, B:68:0x0188, B:71:0x01ac, B:74:0x01b9, B:76:0x01cf, B:114:0x02aa, B:116:0x02d6, B:117:0x02d9, B:119:0x02f8, B:161:0x03d4, B:162:0x03d7, B:170:0x0482, B:122:0x030e, B:127:0x032d, B:129:0x0335, B:131:0x033d, B:135:0x0350, B:140:0x036e, B:144:0x037a, B:147:0x0390, B:152:0x03b5, B:154:0x03bd, B:156:0x03c5, B:158:0x03cb, B:150:0x03a3, B:138:0x0361, B:125:0x031b, B:78:0x01de, B:80:0x020a, B:81:0x0215, B:83:0x021c, B:85:0x0222, B:87:0x022c, B:89:0x0232, B:91:0x0238, B:93:0x023e, B:94:0x0243, B:96:0x0255, B:98:0x025b, B:104:0x026b, B:110:0x0275, B:111:0x0286, B:112:0x0292, B:113:0x029e, B:163:0x0400, B:165:0x0434, B:166:0x0437, B:167:0x045d, B:169:0x0464, B:63:0x0163, B:58:0x014b, B:51:0x012c, B:54:0x0134), top: B:185:0x00dc, inners: #0, #3 }] */
    /* JADX WARN: Removed duplicated region for block: B:146:0x038d  */
    /* JADX WARN: Removed duplicated region for block: B:161:0x03d4 A[Catch: all -> 0x00fc, TryCatch #5 {all -> 0x00fc, blocks: (B:33:0x00dc, B:35:0x00ec, B:43:0x0103, B:47:0x0113, B:49:0x0122, B:55:0x0137, B:57:0x0144, B:59:0x014f, B:62:0x0158, B:65:0x016f, B:68:0x0188, B:71:0x01ac, B:74:0x01b9, B:76:0x01cf, B:114:0x02aa, B:116:0x02d6, B:117:0x02d9, B:119:0x02f8, B:161:0x03d4, B:162:0x03d7, B:170:0x0482, B:122:0x030e, B:127:0x032d, B:129:0x0335, B:131:0x033d, B:135:0x0350, B:140:0x036e, B:144:0x037a, B:147:0x0390, B:152:0x03b5, B:154:0x03bd, B:156:0x03c5, B:158:0x03cb, B:150:0x03a3, B:138:0x0361, B:125:0x031b, B:78:0x01de, B:80:0x020a, B:81:0x0215, B:83:0x021c, B:85:0x0222, B:87:0x022c, B:89:0x0232, B:91:0x0238, B:93:0x023e, B:94:0x0243, B:96:0x0255, B:98:0x025b, B:104:0x026b, B:110:0x0275, B:111:0x0286, B:112:0x0292, B:113:0x029e, B:163:0x0400, B:165:0x0434, B:166:0x0437, B:167:0x045d, B:169:0x0464, B:63:0x0163, B:58:0x014b, B:51:0x012c, B:54:0x0134), top: B:185:0x00dc, inners: #0, #3 }] */
    /* JADX WARN: Removed duplicated region for block: B:167:0x045d A[Catch: all -> 0x00fc, TryCatch #5 {all -> 0x00fc, blocks: (B:33:0x00dc, B:35:0x00ec, B:43:0x0103, B:47:0x0113, B:49:0x0122, B:55:0x0137, B:57:0x0144, B:59:0x014f, B:62:0x0158, B:65:0x016f, B:68:0x0188, B:71:0x01ac, B:74:0x01b9, B:76:0x01cf, B:114:0x02aa, B:116:0x02d6, B:117:0x02d9, B:119:0x02f8, B:161:0x03d4, B:162:0x03d7, B:170:0x0482, B:122:0x030e, B:127:0x032d, B:129:0x0335, B:131:0x033d, B:135:0x0350, B:140:0x036e, B:144:0x037a, B:147:0x0390, B:152:0x03b5, B:154:0x03bd, B:156:0x03c5, B:158:0x03cb, B:150:0x03a3, B:138:0x0361, B:125:0x031b, B:78:0x01de, B:80:0x020a, B:81:0x0215, B:83:0x021c, B:85:0x0222, B:87:0x022c, B:89:0x0232, B:91:0x0238, B:93:0x023e, B:94:0x0243, B:96:0x0255, B:98:0x025b, B:104:0x026b, B:110:0x0275, B:111:0x0286, B:112:0x0292, B:113:0x029e, B:163:0x0400, B:165:0x0434, B:166:0x0437, B:167:0x045d, B:169:0x0464, B:63:0x0163, B:58:0x014b, B:51:0x012c, B:54:0x0134), top: B:185:0x00dc, inners: #0, #3 }] */
    /* JADX WARN: Removed duplicated region for block: B:175:0x030e A[EXC_TOP_SPLITTER, SYNTHETIC] */
    /* JADX WARN: Removed duplicated region for block: B:57:0x0144 A[Catch: all -> 0x00fc, TryCatch #5 {all -> 0x00fc, blocks: (B:33:0x00dc, B:35:0x00ec, B:43:0x0103, B:47:0x0113, B:49:0x0122, B:55:0x0137, B:57:0x0144, B:59:0x014f, B:62:0x0158, B:65:0x016f, B:68:0x0188, B:71:0x01ac, B:74:0x01b9, B:76:0x01cf, B:114:0x02aa, B:116:0x02d6, B:117:0x02d9, B:119:0x02f8, B:161:0x03d4, B:162:0x03d7, B:170:0x0482, B:122:0x030e, B:127:0x032d, B:129:0x0335, B:131:0x033d, B:135:0x0350, B:140:0x036e, B:144:0x037a, B:147:0x0390, B:152:0x03b5, B:154:0x03bd, B:156:0x03c5, B:158:0x03cb, B:150:0x03a3, B:138:0x0361, B:125:0x031b, B:78:0x01de, B:80:0x020a, B:81:0x0215, B:83:0x021c, B:85:0x0222, B:87:0x022c, B:89:0x0232, B:91:0x0238, B:93:0x023e, B:94:0x0243, B:96:0x0255, B:98:0x025b, B:104:0x026b, B:110:0x0275, B:111:0x0286, B:112:0x0292, B:113:0x029e, B:163:0x0400, B:165:0x0434, B:166:0x0437, B:167:0x045d, B:169:0x0464, B:63:0x0163, B:58:0x014b, B:51:0x012c, B:54:0x0134), top: B:185:0x00dc, inners: #0, #3 }] */
    /* JADX WARN: Removed duplicated region for block: B:58:0x014b A[Catch: all -> 0x00fc, TryCatch #5 {all -> 0x00fc, blocks: (B:33:0x00dc, B:35:0x00ec, B:43:0x0103, B:47:0x0113, B:49:0x0122, B:55:0x0137, B:57:0x0144, B:59:0x014f, B:62:0x0158, B:65:0x016f, B:68:0x0188, B:71:0x01ac, B:74:0x01b9, B:76:0x01cf, B:114:0x02aa, B:116:0x02d6, B:117:0x02d9, B:119:0x02f8, B:161:0x03d4, B:162:0x03d7, B:170:0x0482, B:122:0x030e, B:127:0x032d, B:129:0x0335, B:131:0x033d, B:135:0x0350, B:140:0x036e, B:144:0x037a, B:147:0x0390, B:152:0x03b5, B:154:0x03bd, B:156:0x03c5, B:158:0x03cb, B:150:0x03a3, B:138:0x0361, B:125:0x031b, B:78:0x01de, B:80:0x020a, B:81:0x0215, B:83:0x021c, B:85:0x0222, B:87:0x022c, B:89:0x0232, B:91:0x0238, B:93:0x023e, B:94:0x0243, B:96:0x0255, B:98:0x025b, B:104:0x026b, B:110:0x0275, B:111:0x0286, B:112:0x0292, B:113:0x029e, B:163:0x0400, B:165:0x0434, B:166:0x0437, B:167:0x045d, B:169:0x0464, B:63:0x0163, B:58:0x014b, B:51:0x012c, B:54:0x0134), top: B:185:0x00dc, inners: #0, #3 }] */
    /* JADX WARN: Removed duplicated region for block: B:62:0x0158 A[Catch: all -> 0x00fc, TRY_ENTER, TryCatch #5 {all -> 0x00fc, blocks: (B:33:0x00dc, B:35:0x00ec, B:43:0x0103, B:47:0x0113, B:49:0x0122, B:55:0x0137, B:57:0x0144, B:59:0x014f, B:62:0x0158, B:65:0x016f, B:68:0x0188, B:71:0x01ac, B:74:0x01b9, B:76:0x01cf, B:114:0x02aa, B:116:0x02d6, B:117:0x02d9, B:119:0x02f8, B:161:0x03d4, B:162:0x03d7, B:170:0x0482, B:122:0x030e, B:127:0x032d, B:129:0x0335, B:131:0x033d, B:135:0x0350, B:140:0x036e, B:144:0x037a, B:147:0x0390, B:152:0x03b5, B:154:0x03bd, B:156:0x03c5, B:158:0x03cb, B:150:0x03a3, B:138:0x0361, B:125:0x031b, B:78:0x01de, B:80:0x020a, B:81:0x0215, B:83:0x021c, B:85:0x0222, B:87:0x022c, B:89:0x0232, B:91:0x0238, B:93:0x023e, B:94:0x0243, B:96:0x0255, B:98:0x025b, B:104:0x026b, B:110:0x0275, B:111:0x0286, B:112:0x0292, B:113:0x029e, B:163:0x0400, B:165:0x0434, B:166:0x0437, B:167:0x045d, B:169:0x0464, B:63:0x0163, B:58:0x014b, B:51:0x012c, B:54:0x0134), top: B:185:0x00dc, inners: #0, #3 }] */
    /* JADX WARN: Removed duplicated region for block: B:63:0x0163 A[Catch: all -> 0x00fc, TryCatch #5 {all -> 0x00fc, blocks: (B:33:0x00dc, B:35:0x00ec, B:43:0x0103, B:47:0x0113, B:49:0x0122, B:55:0x0137, B:57:0x0144, B:59:0x014f, B:62:0x0158, B:65:0x016f, B:68:0x0188, B:71:0x01ac, B:74:0x01b9, B:76:0x01cf, B:114:0x02aa, B:116:0x02d6, B:117:0x02d9, B:119:0x02f8, B:161:0x03d4, B:162:0x03d7, B:170:0x0482, B:122:0x030e, B:127:0x032d, B:129:0x0335, B:131:0x033d, B:135:0x0350, B:140:0x036e, B:144:0x037a, B:147:0x0390, B:152:0x03b5, B:154:0x03bd, B:156:0x03c5, B:158:0x03cb, B:150:0x03a3, B:138:0x0361, B:125:0x031b, B:78:0x01de, B:80:0x020a, B:81:0x0215, B:83:0x021c, B:85:0x0222, B:87:0x022c, B:89:0x0232, B:91:0x0238, B:93:0x023e, B:94:0x0243, B:96:0x0255, B:98:0x025b, B:104:0x026b, B:110:0x0275, B:111:0x0286, B:112:0x0292, B:113:0x029e, B:163:0x0400, B:165:0x0434, B:166:0x0437, B:167:0x045d, B:169:0x0464, B:63:0x0163, B:58:0x014b, B:51:0x012c, B:54:0x0134), top: B:185:0x00dc, inners: #0, #3 }] */
    /* JADX WARN: Removed duplicated region for block: B:65:0x016f A[Catch: all -> 0x00fc, TRY_LEAVE, TryCatch #5 {all -> 0x00fc, blocks: (B:33:0x00dc, B:35:0x00ec, B:43:0x0103, B:47:0x0113, B:49:0x0122, B:55:0x0137, B:57:0x0144, B:59:0x014f, B:62:0x0158, B:65:0x016f, B:68:0x0188, B:71:0x01ac, B:74:0x01b9, B:76:0x01cf, B:114:0x02aa, B:116:0x02d6, B:117:0x02d9, B:119:0x02f8, B:161:0x03d4, B:162:0x03d7, B:170:0x0482, B:122:0x030e, B:127:0x032d, B:129:0x0335, B:131:0x033d, B:135:0x0350, B:140:0x036e, B:144:0x037a, B:147:0x0390, B:152:0x03b5, B:154:0x03bd, B:156:0x03c5, B:158:0x03cb, B:150:0x03a3, B:138:0x0361, B:125:0x031b, B:78:0x01de, B:80:0x020a, B:81:0x0215, B:83:0x021c, B:85:0x0222, B:87:0x022c, B:89:0x0232, B:91:0x0238, B:93:0x023e, B:94:0x0243, B:96:0x0255, B:98:0x025b, B:104:0x026b, B:110:0x0275, B:111:0x0286, B:112:0x0292, B:113:0x029e, B:163:0x0400, B:165:0x0434, B:166:0x0437, B:167:0x045d, B:169:0x0464, B:63:0x0163, B:58:0x014b, B:51:0x012c, B:54:0x0134), top: B:185:0x00dc, inners: #0, #3 }] */
    /* renamed from: ᵽʛ, reason: contains not printable characters */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
        To view partially-correct add '--show-bad-code' argument
    */
    public final void m2311(defpackage.C1331 r41) throws java.lang.Throwable {
        /*
            Method dump skipped, instructions count: 1180
            To view this dump add '--comments-level debug' option
        */
        throw new UnsupportedOperationException("Method not decompiled: defpackage.C0524.m2311(ˊᵔʼ):void");
    }

    /* renamed from: ᵾᵬ, reason: contains not printable characters */
    public final boolean m2312(C0245 c0245) {
        ArrayList arrayList = new ArrayList(c0245.m1555());
        int i = -1;
        int i2 = -1;
        for (int i3 = 0; i3 < arrayList.size(); i3++) {
            if ("value".equals(((C5147) arrayList.get(i3)).m10615())) {
                i = i3;
            } else if ("currency".equals(((C5147) arrayList.get(i3)).m10615())) {
                i2 = i3;
            }
        }
        if (i == -1) {
            if (!m2254().m5353(null, AbstractC5018.f18715) || !"_iap".equals(c0245.m1562())) {
                return true;
            }
            m2247(c0245, "_c");
            m2248(c0245, 18, "value");
            return false;
        }
        if (!((C5147) arrayList.get(i)).m10629() && !((C5147) arrayList.get(i)).m10609()) {
            mo2272().f6940.m6038("Value must be specified with a numeric type.");
            c0245.m1560(i);
            m2247(c0245, "_c");
            m2248(c0245, 18, "value");
            return false;
        }
        if (i2 != -1) {
            String strM10621 = ((C5147) arrayList.get(i2)).m10621();
            if (strM10621.length() == 3) {
                int iCharCount = 0;
                while (iCharCount < strM10621.length()) {
                    int iCodePointAt = strM10621.codePointAt(iCharCount);
                    if (Character.isLetter(iCodePointAt)) {
                        iCharCount += Character.charCount(iCodePointAt);
                    }
                }
                return true;
            }
        }
        mo2272().f6940.m6038("Value parameter discarded. You must also supply a 3-letter ISO_4217 currency code in the currency parameter.");
        c0245.m1560(i);
        m2247(c0245, "_c");
        m2248(c0245, 19, "currency");
        return false;
    }

    /* renamed from: ᵿʗᵝʽ, reason: contains not printable characters */
    public final void m2313(String str, C1513 c1513, Bundle bundle, String str2) {
        int iM5356;
        List listM1500 = m2254().m5353(str2, AbstractC5018.f18621) ? AbstractC0220.m1500("_o", "_sn", "_sc", "_si", "deep_link_url") : AbstractC0220.m1500("_o", "_sn", "_sc", "_si");
        if (C4864.m10197(((C5147) c1513.f20589).m10615()) || C4864.m10197(str)) {
            iM5356 = m2254().m5356(str2, true);
        } else {
            C1904 c1904M2254 = m2254();
            c1904M2254.getClass();
            iM5356 = Math.max(Math.min(c1904M2254.m5346(str2, AbstractC5018.f18683), 500), 100);
        }
        long j = iM5356;
        long jCodePointCount = ((C5147) c1513.f20589).m10621().codePointCount(0, ((C5147) c1513.f20589).m10621().length());
        m2288();
        String strM10615 = ((C5147) c1513.f20589).m10615();
        m2254();
        String strM10194 = C4864.m10194(40, strM10615, true);
        if (jCodePointCount <= j || listM1500.contains(((C5147) c1513.f20589).m10615())) {
            return;
        }
        if ("_ev".equals(((C5147) c1513.f20589).m10615())) {
            m2288();
            bundle.putString("_ev", C4864.m10194(m2254().m5356(str2, true), ((C5147) c1513.f20589).m10621(), true));
            return;
        }
        mo2272().f6940.m6037("Param value is too long; discarded. Name, value length", strM10194, Long.valueOf(jCodePointCount));
        if (bundle.getLong("_err") == 0) {
            bundle.putLong("_err", 4L);
            if (bundle.getString("_ev") == null) {
                bundle.putString("_ev", strM10194);
                bundle.putLong("_el", jCodePointCount);
            }
        }
        bundle.remove(((C5147) c1513.f20589).m10615());
    }

    /* renamed from: ﹶـ, reason: contains not printable characters */
    public final C3365 m2314() {
        C3365 c3365 = this.f2725;
        m2252(c3365);
        return c3365;
    }

    /* renamed from: ﾞⁱ, reason: contains not printable characters */
    public final void m2315(C0245 c0245, String str, String str2) {
        ArrayList arrayList = new ArrayList(c0245.m1555());
        int i = 0;
        while (true) {
            if (i >= arrayList.size()) {
                i = -1;
                break;
            } else if (str.equals(((C5147) arrayList.get(i)).m10615())) {
                break;
            } else {
                i++;
            }
        }
        if (i == -1) {
            return;
        }
        double dM10618 = c0245.m1565(i).m10618() * 1000000.0d;
        if (dM10618 == 0.0d) {
            dM10618 = c0245.m1565(i).m10628() * 1000000.0d;
        }
        if (dM10618 > 9.223372036854776E18d || dM10618 < -9.223372036854776E18d) {
            mo2272().f6934.m6037(AbstractC4486.m9550("Data lost. Purchase ", str, " is too big. appId"), C1736.m4941(str2), Double.valueOf(dM10618));
            return;
        }
        c0245.m1560(i);
        C1513 c1513M10608 = C5147.m10608();
        c1513M10608.m4441(str);
        c1513M10608.m4443(Math.round(dM10618));
        c0245.m1553((C5147) c1513M10608.m11118());
    }
}
