package o;

import android.util.Log;
import java.util.concurrent.atomic.AtomicReference;
import org.json.JSONObject;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.Xb, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C0598Xb {
    public Object a;
    public Object b;
    public Object c;
    public Object d;
    public Object e;
    public Object f;
    public Object g;
    public Object h;
    public Object i;

    public C2975y70 a(int i) {
        try {
            if (AbstractC2462sn.b(2, i)) {
                return null;
            }
            JSONObject jSONObjectC = ((OD) this.e).C();
            if (jSONObjectC == null) {
                Log.isLoggable("FirebaseCrashlytics", 3);
                return null;
            }
            WT wt = (WT) this.c;
            wt.getClass();
            C2975y70 c2975y70D = (jSONObjectC.getInt("settings_version") != 3 ? new C0688a6(15) : new C2616uQ(14)).d((C2616uQ) wt.m, jSONObjectC);
            jSONObjectC.toString();
            Log.isLoggable("FirebaseCrashlytics", 3);
            ((C2616uQ) this.d).getClass();
            long jCurrentTimeMillis = System.currentTimeMillis();
            if (!AbstractC2462sn.b(3, i) && c2975y70D.c < jCurrentTimeMillis) {
                Log.isLoggable("FirebaseCrashlytics", 2);
                return null;
            }
            try {
                Log.isLoggable("FirebaseCrashlytics", 2);
                return c2975y70D;
            } catch (Exception unused) {
                return c2975y70D;
            }
        } catch (Exception unused2) {
            return null;
        }
    }

    public C2975y70 b() {
        return (C2975y70) ((AtomicReference) this.h).get();
    }

    /* JADX WARN: Removed duplicated region for block: B:129:0x042b  */
    /* JADX WARN: Removed duplicated region for block: B:162:0x0411 A[SYNTHETIC] */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
        To view partially-correct add '--show-bad-code' argument
    */
    public void c(o.C2156pc r47, int r48) {
        /*
            Method dump skipped, instructions count: 1197
            To view this dump add '--comments-level debug' option
        */
        throw new UnsupportedOperationException("Method not decompiled: o.C0598Xb.c(o.pc, int):void");
    }
}
