package X; import android.content.Context; import android.os.Handler; import com.bytedance.covode.number.Covode; import kotlin.g.b.m; /* renamed from: X.FRd reason: case insensitive filesystem */ public class RunnableC38944FRd implements Runnable { public final /* synthetic */ AnonymousClass0M5 LIZ; public final /* synthetic */ AnonymousClass0M3 LIZIZ; static { Covode.recordClassIndex(19437); } public RunnableC38944FRd(AnonymousClass0M3 r1, AnonymousClass0M5 r2) { this.LIZIZ = r1; this.LIZ = r2; } /* JADX WARNING: Code restructure failed: missing block: B:36:0x00b0, code lost: if (r3.equals("8660") == false) goto L_0x006f; */ /* JADX WARNING: Code restructure failed: missing block: B:41:0x00e6, code lost: if (r3.equals("1180") != false) goto L_0x00e8; */ public final void run() { Context context = this.LIZ.LJIILJJIL; C38945FRe fRe = C38945FRe.LJIIIIZZ; C49681Jf4 jf4 = new C49681Jf4(); C21090sc.LIZ(context, jf4); synchronized (fRe) { try { if (!C38945FRe.LJII) { C38945FRe.LJ = new C38942FRb(jf4); AbstractC38941FRa fRa = C38945FRe.LJ; if (fRa == null) { m.LIZ(""); } C38945FRe.LIZLLL = new Handler(fRa.LJIIJJI()); AbstractC38941FRa fRa2 = C38945FRe.LJ; if (fRa2 == null) { m.LIZ(""); } C38945FRe.LJI = fRa2.LIZ(); FRY fry = FRY.LIZIZ; C21090sc.LIZ(context); synchronized (fry) { try { FRY.LIZ = new FRW(context); } catch (Throwable th) { throw th; } } String LIZIZ2 = FRY.LIZIZ.LIZIZ("settings"); if (LIZIZ2 != null) { C38945FRe.LJIIIIZZ.LIZJ(LIZIZ2); } C38946FRf fRf = C38946FRf.LIZ; AbstractC38941FRa fRa3 = C38945FRe.LJ; if (fRa3 == null) { m.LIZ(""); } String LIZJ = fRa3.LIZJ(); if (LIZJ != null) { int hashCode = LIZJ.hashCode(); if (hashCode != 1508632) { if (hashCode != 1509441) { if (hashCode == 1721912) { } } else if (LIZJ.equals("1233")) { fRf.LIZ(EnumC38943FRc.USA_EAST.getValue(), "https://verification-va.tiktokv.com"); C38947FRg.LIZ.optJSONObject("common").optJSONObject("host").put(EnumC38943FRc.USA_EAST.getValue(), "https://vcs-va.tiktokv.com"); } } fRf.LIZ(EnumC38943FRc.SINGAPOER.getValue(), "https://verify-sg.tiktokv.com"); C38947FRg.LIZ.optJSONObject("common").optJSONObject("host").put(EnumC38943FRc.SINGAPOER.getValue(), "https://vcs-sg.tiktokv.com"); } if (C38945FRe.LJIIIIZZ.LIZIZ("common").optInt("skip_launch", 0) == 1) { C38945FRe fRe2 = C38945FRe.LJIIIIZZ; fRe2.LIZ(fRe2.LIZ(true)); } else { C38945FRe.LJIIIIZZ.LIZ(0); } C38945FRe.LJII = true; } } finally { } } C38945FRe.LJIIIIZZ.LIZ(C38953FRm.LIZ); } }