package com.ironsource.adqualitysdk.sdk.i; import android.content.Context; import android.os.Handler; import android.os.HandlerThread; import android.view.ViewConfiguration; import java.util.HashMap; /* loaded from: classes4.dex */ public class je { /* renamed from: ﻛ, reason: contains not printable characters */ private static int f2661 = 1; /* renamed from: k, reason: contains not printable characters */ private static int f2662 = 0; /* renamed from: ヌ, reason: contains not printable characters */ private static long f2663 = 6456033239502888262L; /* renamed from: メ, reason: contains not printable characters */ private static Handler f2664; /* renamed from: ﻐ, reason: contains not printable characters */ private id f2665; public interface a { /* renamed from: k, reason: contains not printable characters */ void mo3207(); } public interface c { /* renamed from: ヌ, reason: contains not printable characters */ void mo3208(String str); } /* renamed from: ﻛ, reason: contains not printable characters */ public static /* synthetic */ void m3195(je jeVar, a aVar) { int i = f2662 + 69; f2661 = i % 128; int i2 = i % 2; jeVar.m3194(aVar); int i3 = f2662 + 71; f2661 = i3 % 128; if (i3 % 2 == 0) { throw null; } } /* renamed from: メ, reason: contains not printable characters */ public static Handler m3196() { Handler handler; synchronized (je.class) { try { if (f2664 == null) { HandlerThread handlerThread = new HandlerThread(m3197("्आ쪏\ud7acۨ㑀㰝揄簴䖞ꤹ\uf8cf\ue32e킮∻瘰噤ꭅ齙", ViewConfiguration.getKeyRepeatTimeout() >> 16).intern()); handlerThread.start(); f2664 = new Handler(handlerThread.getLooper()); } handler = f2664; } catch (Throwable th) { throw th; } } return handler; } public je(Context context, String str, String str2) { this.f2665 = new id(context, str, str2); } /* renamed from: ヌ, reason: contains not printable characters */ public final int m3204(String str) { int i = f2662 + 61; f2661 = i % 128; int i2 = i % 2; int m3015 = this.f2665.m3015(str); int i3 = f2661 + 7; f2662 = i3 % 128; if (i3 % 2 == 0) { return m3015; } throw null; } /* renamed from: ﻐ, reason: contains not printable characters */ public final HashMap m3198(String str, int i) { int i2 = f2662 + 39; f2661 = i2 % 128; int i3 = i2 % 2; HashMap m3014 = this.f2665.m3014(str, i); int i4 = f2662 + 73; f2661 = i4 % 128; if (i4 % 2 != 0) { return m3014; } throw null; } /* renamed from: ﻛ, reason: contains not printable characters */ public final String m3199(String str) { int i = f2662 + 101; f2661 = i % 128; int i2 = i % 2; String m3016 = this.f2665.m3016(str); int i3 = f2662 + 17; f2661 = i3 % 128; if (i3 % 2 != 0) { return m3016; } throw null; } /* renamed from: メ, reason: contains not printable characters */ public final void m3206(final String str, final c cVar) { m3196().post(new io() { // from class: com.ironsource.adqualitysdk.sdk.i.je.4 @Override // com.ironsource.adqualitysdk.sdk.i.io /* renamed from: k */ public final void mo933() { final String m3199 = je.this.m3199(str); t.m3514(new io() { // from class: com.ironsource.adqualitysdk.sdk.i.je.4.3 @Override // com.ironsource.adqualitysdk.sdk.i.io /* renamed from: k */ public final void mo933() { cVar.mo3208(m3199); } }); } }); int i = f2662 + 111; f2661 = i % 128; if (i % 2 == 0) { throw null; } } /* renamed from: k, reason: contains not printable characters */ public final void m3201(String str) { int i = f2661 + 91; f2662 = i % 128; if (i % 2 == 0) { this.f2665.m3013(str); } else { this.f2665.m3013(str); int i2 = 80 / 0; } } /* renamed from: k, reason: contains not printable characters */ public final void m3202(String str, String str2) { int i = f2661 + 95; f2662 = i % 128; if (i % 2 == 0) { this.f2665.m3017(str, str2); } else { this.f2665.m3017(str, str2); int i2 = 27 / 0; } } /* renamed from: k, reason: contains not printable characters */ public final void m3203(final String str, final String str2, final a aVar) { m3196().post(new io() { // from class: com.ironsource.adqualitysdk.sdk.i.je.1 @Override // com.ironsource.adqualitysdk.sdk.i.io /* renamed from: k */ public final void mo933() { je.this.m3202(str, str2); je.m3195(je.this, aVar); } }); int i = f2662 + 49; f2661 = i % 128; if (i % 2 == 0) { throw null; } } /* renamed from: ﻛ, reason: contains not printable characters */ public final void m3200(String str, String str2) { int i = f2661 + 25; f2662 = i % 128; int i2 = i % 2; m3202(str, str2); m3202(m3193(str), Long.toString(jp.m3253())); int i3 = f2661 + 9; f2662 = i3 % 128; int i4 = i3 % 2; } /* renamed from: ヌ, reason: contains not printable characters */ public final void m3205(final String str, final String str2, final a aVar) { m3196().post(new io() { // from class: com.ironsource.adqualitysdk.sdk.i.je.2 @Override // com.ironsource.adqualitysdk.sdk.i.io /* renamed from: k */ public final void mo933() { je.this.m3200(str, str2); je.m3195(je.this, aVar); } }); int i = f2661 + 103; f2662 = i % 128; int i2 = i % 2; } /* renamed from: ﻐ, reason: contains not printable characters */ private static String m3193(String str) { StringBuilder sb = new StringBuilder(); sb.append(str); sb.append(m3197("ȲȜ担翯浫\ud877垆迖睞\uedc4슿ᓹ\ue863磭䦲", ViewConfiguration.getJumpTapTimeout() >> 16).intern()); String obj = sb.toString(); int i = f2661 + 81; f2662 = i % 128; if (i % 2 == 0) { return obj; } throw null; } /* renamed from: ﻐ, reason: contains not printable characters */ private void m3194(a aVar) { if (aVar != null) { t.m3514(new io(aVar) { // from class: com.ironsource.adqualitysdk.sdk.i.je.3 @Override // com.ironsource.adqualitysdk.sdk.i.io /* renamed from: k */ public final void mo933() { } }); int i = f2661 + 11; f2662 = i % 128; int i2 = i % 2; } int i3 = f2661 + 101; f2662 = i3 % 128; if (i3 % 2 != 0) { throw null; } } /* renamed from: メ, reason: contains not printable characters */ private static String m3197(String str, int i) { String str2; char[] cArr = str; if (str != null) { cArr = str.toCharArray(); } char[] cArr2 = cArr; synchronized (i.f2325) { try { char[] m2999 = i.m2999(f2663, cArr2, i); i.f2324 = 4; while (true) { int i2 = i.f2324; if (i2 < m2999.length) { i.f2323 = i2 - 4; m2999[i.f2324] = (char) ((m2999[r1] ^ m2999[r1 % 4]) ^ (i.f2323 * f2663)); i.f2324++; } else { str2 = new String(m2999, 4, m2999.length - 4); } } } catch (Throwable th) { throw th; } } return str2; } }