Initial import of ADIF API reverse-engineering toolkit

This commit is contained in:
2025-12-16 08:37:56 +01:00
commit 60388529c1
11486 changed files with 1086536 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
package J0;
/* loaded from: classes.dex */
public final class a extends m3.l {
}

View File

@@ -0,0 +1,20 @@
package J0;
import r3.C0576h;
/* loaded from: classes.dex */
public final class b extends r3.p {
/* renamed from: a, reason: collision with root package name */
public Exception f919a;
@Override // r3.p, r3.I
public final long read(C0576h c0576h, long j4) {
try {
return super.read(c0576h, j4);
} catch (Exception e4) {
this.f919a = e4;
throw e4;
}
}
}

View File

@@ -0,0 +1,27 @@
package J0;
import kotlinx.coroutines.sync.Semaphore;
import kotlinx.coroutines.sync.SemaphoreKt;
/* loaded from: classes.dex */
public final class c {
/* renamed from: a, reason: collision with root package name */
public final l f920a;
/* renamed from: b, reason: collision with root package name */
public final Semaphore f921b;
public c(int i, l lVar) {
this.f920a = lVar;
this.f921b = SemaphoreKt.Semaphore$default(i, 0, 2, null);
}
public final boolean equals(Object obj) {
return obj instanceof c;
}
public final int hashCode() {
return c.class.hashCode();
}
}

View File

@@ -0,0 +1,37 @@
package J0;
import kotlin.coroutines.jvm.internal.ContinuationImpl;
import kotlin.jvm.internal.IntCompanionObject;
import kotlinx.coroutines.sync.Semaphore;
/* loaded from: classes.dex */
public final class d extends ContinuationImpl {
/* renamed from: a, reason: collision with root package name */
public Object f922a;
/* renamed from: b, reason: collision with root package name */
public Semaphore f923b;
/* renamed from: c, reason: collision with root package name */
public /* synthetic */ Object f924c;
/* renamed from: d, reason: collision with root package name */
public final /* synthetic */ f f925d;
/* renamed from: e, reason: collision with root package name */
public int f926e;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public d(f fVar, ContinuationImpl continuationImpl) {
super(continuationImpl);
this.f925d = fVar;
}
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
public final Object invokeSuspend(Object obj) {
this.f924c = obj;
this.f926e |= IntCompanionObject.MIN_VALUE;
return this.f925d.a(this);
}
}

View File

@@ -0,0 +1,63 @@
package J0;
import kotlin.jvm.functions.Function0;
import kotlin.jvm.internal.Lambda;
/* loaded from: classes.dex */
public final class e extends Lambda implements Function0 {
/* renamed from: a, reason: collision with root package name */
public final /* synthetic */ int f927a;
/* renamed from: b, reason: collision with root package name */
public final /* synthetic */ Object f928b;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public /* synthetic */ e(Object obj, int i) {
super(0);
this.f927a = i;
this.f928b = obj;
}
/* JADX WARN: Code restructure failed: missing block: B:32:0x00c4, code lost:
r6 = kotlin.text.StringsKt__StringsKt.lastIndexOf$default((java.lang.CharSequence) r5, "!", 0, false, 6, (java.lang.Object) null);
*/
/* JADX WARN: Code restructure failed: missing block: B:372:0x0450, code lost:
if (J0.n.f950a.contains(r6) != false) goto L181;
*/
/* JADX WARN: Finally extract failed */
/* JADX WARN: Removed duplicated region for block: B:224:0x048e A[EXC_TOP_SPLITTER, SYNTHETIC] */
/* JADX WARN: Removed duplicated region for block: B:227:0x0499 */
/* JADX WARN: Removed duplicated region for block: B:231:0x04ab */
/* JADX WARN: Removed duplicated region for block: B:259:0x0600 */
/* JADX WARN: Removed duplicated region for block: B:296:0x06c1 */
/* JADX WARN: Removed duplicated region for block: B:361:0x06ca */
/* JADX WARN: Removed duplicated region for block: B:362:0x049b */
/* JADX WARN: Removed duplicated region for block: B:363:0x049d */
/* JADX WARN: Removed duplicated region for block: B:364:0x049f */
/* JADX WARN: Type inference failed for: r0v3, types: [kotlin.jvm.functions.Function0, kotlin.jvm.internal.Lambda] */
/* JADX WARN: Type inference failed for: r2v1, types: [r3.p, r3.I, J0.b] */
/* JADX WARN: Type inference failed for: r3v30, types: [x0.d, java.lang.Object] */
@Override // kotlin.jvm.functions.Function0
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final java.lang.Object invoke() {
/*
Method dump skipped, instructions count: 1786
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: J0.e.invoke():java.lang.Object");
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
/* JADX WARN: Multi-variable type inference failed */
public e(Function0 function0) {
super(0);
this.f927a = 9;
this.f928b = (Lambda) function0;
}
}

View File

@@ -0,0 +1,124 @@
package J0;
import kotlinx.coroutines.sync.Semaphore;
/* loaded from: classes.dex */
public final class f {
/* renamed from: a, reason: collision with root package name */
public final p f929a;
/* renamed from: b, reason: collision with root package name */
public final S0.o f930b;
/* renamed from: c, reason: collision with root package name */
public final Semaphore f931c;
/* renamed from: d, reason: collision with root package name */
public final l f932d;
public f(p pVar, S0.o oVar, Semaphore semaphore, l lVar) {
this.f929a = pVar;
this.f930b = oVar;
this.f931c = semaphore;
this.f932d = lVar;
}
/* JADX WARN: Code restructure failed: missing block: B:33:0x0055, code lost:
if (r8.acquire(r0) == r1) goto L25;
*/
/* JADX WARN: Removed duplicated region for block: B:28:0x006c */
/* JADX WARN: Removed duplicated region for block: B:32:0x0046 */
/* JADX WARN: Removed duplicated region for block: B:8:0x0024 */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final java.lang.Object a(kotlin.coroutines.jvm.internal.ContinuationImpl r8) {
/*
r7 = this;
boolean r0 = r8 instanceof J0.d
if (r0 == 0) goto L13
r0 = r8
J0.d r0 = (J0.d) r0
int r1 = r0.f926e
r2 = -2147483648(0xffffffff80000000, float:-0.0)
r3 = r1 & r2
if (r3 == 0) goto L13
int r1 = r1 - r2
r0.f926e = r1
goto L18
L13:
J0.d r0 = new J0.d
r0.<init>(r7, r8)
L18:
java.lang.Object r8 = r0.f924c
java.lang.Object r1 = kotlin.coroutines.intrinsics.IntrinsicsKt.getCOROUTINE_SUSPENDED()
int r2 = r0.f926e
r3 = 2
r4 = 1
if (r2 == 0) goto L46
if (r2 == r4) goto L3a
if (r2 != r3) goto L32
java.lang.Object r7 = r0.f922a
kotlinx.coroutines.sync.Semaphore r7 = (kotlinx.coroutines.sync.Semaphore) r7
kotlin.ResultKt.throwOnFailure(r8) // Catch: java.lang.Throwable -> L30
goto L6f
L30:
r8 = move-exception
goto L79
L32:
java.lang.IllegalStateException r7 = new java.lang.IllegalStateException
java.lang.String r8 = "call to 'resume' before 'invoke' with coroutine"
r7.<init>(r8)
throw r7
L3a:
kotlinx.coroutines.sync.Semaphore r7 = r0.f923b
java.lang.Object r2 = r0.f922a
J0.f r2 = (J0.f) r2
kotlin.ResultKt.throwOnFailure(r8)
r8 = r7
r7 = r2
goto L58
L46:
kotlin.ResultKt.throwOnFailure(r8)
r0.f922a = r7
kotlinx.coroutines.sync.Semaphore r8 = r7.f931c
r0.f923b = r8
r0.f926e = r4
java.lang.Object r2 = r8.acquire(r0)
if (r2 != r1) goto L58
goto L6b
L58:
J0.e r2 = new J0.e // Catch: java.lang.Throwable -> L75
r5 = 0
r2.<init>(r7, r5) // Catch: java.lang.Throwable -> L75
r0.f922a = r8 // Catch: java.lang.Throwable -> L75
r7 = 0
r0.f923b = r7 // Catch: java.lang.Throwable -> L75
r0.f926e = r3 // Catch: java.lang.Throwable -> L75
java.lang.Object r7 = kotlinx.coroutines.InterruptibleKt.runInterruptible$default(r7, r2, r0, r4, r7) // Catch: java.lang.Throwable -> L75
if (r7 != r1) goto L6c
L6b:
return r1
L6c:
r6 = r8
r8 = r7
r7 = r6
L6f:
J0.h r8 = (J0.h) r8 // Catch: java.lang.Throwable -> L30
r7.release()
return r8
L75:
r7 = move-exception
r6 = r8
r8 = r7
r7 = r6
L79:
r7.release()
throw r8
*/
throw new UnsupportedOperationException("Method not decompiled: J0.f.a(kotlin.coroutines.jvm.internal.ContinuationImpl):java.lang.Object");
}
}

View File

@@ -0,0 +1,54 @@
package J0;
import kotlin.enums.EnumEntries;
import kotlin.enums.EnumEntriesKt;
/* JADX WARN: Failed to restore enum class, 'enum' modifier and super class removed */
/* JADX WARN: Unknown enum class pattern. Please report as an issue! */
/* loaded from: classes.dex */
public final class g {
/* renamed from: a, reason: collision with root package name */
public static final g f933a;
/* renamed from: b, reason: collision with root package name */
public static final g f934b;
/* renamed from: c, reason: collision with root package name */
public static final g f935c;
/* renamed from: d, reason: collision with root package name */
public static final g f936d;
/* renamed from: e, reason: collision with root package name */
public static final /* synthetic */ g[] f937e;
/* renamed from: f, reason: collision with root package name */
public static final /* synthetic */ EnumEntries f938f;
/* JADX WARN: Type inference failed for: r0v0, types: [java.lang.Enum, J0.g] */
/* JADX WARN: Type inference failed for: r1v1, types: [java.lang.Enum, J0.g] */
/* JADX WARN: Type inference failed for: r2v2, types: [java.lang.Enum, J0.g] */
/* JADX WARN: Type inference failed for: r3v2, types: [java.lang.Enum, J0.g] */
static {
?? r02 = new Enum("MEMORY_CACHE", 0);
f933a = r02;
?? r12 = new Enum("MEMORY", 1);
f934b = r12;
?? r22 = new Enum("DISK", 2);
f935c = r22;
?? r32 = new Enum("NETWORK", 3);
f936d = r32;
g[] gVarArr = {r02, r12, r22, r32};
f937e = gVarArr;
f938f = EnumEntriesKt.enumEntries(gVarArr);
}
public static g valueOf(String str) {
return (g) Enum.valueOf(g.class, str);
}
public static g[] values() {
return (g[]) f937e.clone();
}
}

View File

@@ -0,0 +1,34 @@
package J0;
import android.graphics.drawable.BitmapDrawable;
import kotlin.jvm.internal.Intrinsics;
/* loaded from: classes.dex */
public final class h {
/* renamed from: a, reason: collision with root package name */
public final BitmapDrawable f939a;
/* renamed from: b, reason: collision with root package name */
public final boolean f940b;
public h(BitmapDrawable bitmapDrawable, boolean z3) {
this.f939a = bitmapDrawable;
this.f940b = z3;
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof h)) {
return false;
}
h hVar = (h) obj;
return Intrinsics.areEqual(this.f939a, hVar.f939a) && this.f940b == hVar.f940b;
}
public final int hashCode() {
return Boolean.hashCode(this.f940b) + (this.f939a.hashCode() * 31);
}
}

View File

@@ -0,0 +1,21 @@
package J0;
/* loaded from: classes.dex */
public abstract /* synthetic */ class i {
public static final /* synthetic */ int[] $EnumSwitchMapping$0;
static {
int[] iArr = new int[T0.g.values().length];
try {
T0.g gVar = T0.g.f1638a;
iArr[0] = 1;
} catch (NoSuchFieldError unused) {
}
try {
T0.g gVar2 = T0.g.f1638a;
iArr[1] = 2;
} catch (NoSuchFieldError unused2) {
}
$EnumSwitchMapping$0 = iArr;
}
}

View File

@@ -0,0 +1,19 @@
package J0;
/* loaded from: classes.dex */
public final class j {
/* renamed from: c, reason: collision with root package name */
public static final j f941c = new j(false, 0);
/* renamed from: a, reason: collision with root package name */
public final boolean f942a;
/* renamed from: b, reason: collision with root package name */
public final int f943b;
public j(boolean z3, int i) {
this.f942a = z3;
this.f943b = i;
}
}

View File

@@ -0,0 +1,59 @@
package J0;
import java.io.InputStream;
/* loaded from: classes.dex */
public final class k extends InputStream {
/* renamed from: a, reason: collision with root package name */
public final InputStream f944a;
/* renamed from: b, reason: collision with root package name */
public int f945b = 1073741824;
public k(InputStream inputStream) {
this.f944a = inputStream;
}
@Override // java.io.InputStream
public final int available() {
return this.f945b;
}
@Override // java.io.InputStream, java.io.Closeable, java.lang.AutoCloseable
public final void close() {
this.f944a.close();
}
@Override // java.io.InputStream
public final int read() {
int read = this.f944a.read();
if (read == -1) {
this.f945b = 0;
}
return read;
}
@Override // java.io.InputStream
public final long skip(long j4) {
return this.f944a.skip(j4);
}
@Override // java.io.InputStream
public final int read(byte[] bArr) {
int read = this.f944a.read(bArr);
if (read == -1) {
this.f945b = 0;
}
return read;
}
@Override // java.io.InputStream
public final int read(byte[] bArr, int i, int i4) {
int read = this.f944a.read(bArr, i, i4);
if (read == -1) {
this.f945b = 0;
}
return read;
}
}

View File

@@ -0,0 +1,39 @@
package J0;
import kotlin.enums.EnumEntries;
import kotlin.enums.EnumEntriesKt;
/* JADX WARN: Failed to restore enum class, 'enum' modifier and super class removed */
/* JADX WARN: Unknown enum class pattern. Please report as an issue! */
/* loaded from: classes.dex */
public final class l {
/* renamed from: a, reason: collision with root package name */
public static final l f946a;
/* renamed from: b, reason: collision with root package name */
public static final /* synthetic */ l[] f947b;
/* renamed from: c, reason: collision with root package name */
public static final /* synthetic */ EnumEntries f948c;
/* JADX WARN: Type inference failed for: r0v0, types: [java.lang.Enum, J0.l] */
/* JADX WARN: Type inference failed for: r1v1, types: [java.lang.Enum, J0.l] */
/* JADX WARN: Type inference failed for: r2v2, types: [java.lang.Enum, J0.l] */
static {
?? r02 = new Enum("IGNORE", 0);
?? r12 = new Enum("RESPECT_PERFORMANCE", 1);
f946a = r12;
l[] lVarArr = {r02, r12, new Enum("RESPECT_ALL", 2)};
f947b = lVarArr;
f948c = EnumEntriesKt.enumEntries(lVarArr);
}
public static l valueOf(String str) {
return (l) Enum.valueOf(l.class, str);
}
public static l[] values() {
return (l[]) f947b.clone();
}
}

View File

@@ -0,0 +1,10 @@
package J0;
import android.graphics.Paint;
/* loaded from: classes.dex */
public abstract class m {
/* renamed from: a, reason: collision with root package name */
public static final Paint f949a = new Paint(3);
}

View File

@@ -0,0 +1,11 @@
package J0;
import java.util.Set;
import kotlin.collections.SetsKt;
/* loaded from: classes.dex */
public abstract class n {
/* renamed from: a, reason: collision with root package name */
public static final Set f950a = SetsKt.setOf((Object[]) new String[]{"image/jpeg", "image/webp", "image/heic", "image/heif"});
}

View File

@@ -0,0 +1,71 @@
package J0;
import a.AbstractC0105a;
import r3.C;
import r3.InterfaceC0578j;
import r3.z;
/* loaded from: classes.dex */
public final class o extends p {
/* renamed from: a, reason: collision with root package name */
public final z f951a;
/* renamed from: b, reason: collision with root package name */
public final r3.n f952b;
/* renamed from: c, reason: collision with root package name */
public final String f953c;
/* renamed from: d, reason: collision with root package name */
public final K0.i f954d;
/* renamed from: e, reason: collision with root package name */
public boolean f955e;
/* renamed from: f, reason: collision with root package name */
public C f956f;
public o(z zVar, r3.n nVar, String str, K0.i iVar) {
this.f951a = zVar;
this.f952b = nVar;
this.f953c = str;
this.f954d = iVar;
}
@Override // java.io.Closeable, java.lang.AutoCloseable
public final synchronized void close() {
try {
this.f955e = true;
C c4 = this.f956f;
if (c4 != null) {
W0.f.a(c4);
}
K0.i iVar = this.f954d;
if (iVar != null) {
W0.f.a(iVar);
}
} catch (Throwable th) {
throw th;
}
}
@Override // J0.p
public final m3.l d() {
return null;
}
@Override // J0.p
public final synchronized InterfaceC0578j e() {
if (this.f955e) {
throw new IllegalStateException("closed");
}
C c4 = this.f956f;
if (c4 != null) {
return c4;
}
C d4 = AbstractC0105a.d(this.f952b.h(this.f951a));
this.f956f = d4;
return d4;
}
}

View File

@@ -0,0 +1,11 @@
package J0;
import java.io.Closeable;
import r3.InterfaceC0578j;
/* loaded from: classes.dex */
public abstract class p implements Closeable {
public abstract m3.l d();
public abstract InterfaceC0578j e();
}

View File

@@ -0,0 +1,50 @@
package J0;
import android.content.Context;
import android.graphics.Bitmap;
import com.adif.elcanomovil.serviceStorage.preferences.SharedPreferenceStorage;
import java.io.File;
import kotlin.jvm.functions.Function0;
import kotlin.jvm.internal.Lambda;
/* loaded from: classes.dex */
public final class q extends Lambda implements Function0 {
/* renamed from: a, reason: collision with root package name */
public final /* synthetic */ int f957a;
/* renamed from: b, reason: collision with root package name */
public final /* synthetic */ Context f958b;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public /* synthetic */ q(Context context, int i) {
super(0);
this.f957a = i;
this.f958b = context;
}
@Override // kotlin.jvm.functions.Function0
public final Object invoke() {
Context context = this.f958b;
switch (this.f957a) {
case 0:
Bitmap.Config[] configArr = W0.f.f1887a;
File cacheDir = context.getCacheDir();
if (cacheDir == null) {
throw new IllegalStateException("cacheDir == null");
}
cacheDir.mkdirs();
return cacheDir;
case 1:
Bitmap.Config[] configArr2 = W0.f.f1887a;
File cacheDir2 = context.getCacheDir();
if (cacheDir2 == null) {
throw new IllegalStateException("cacheDir == null");
}
cacheDir2.mkdirs();
return cacheDir2;
default:
return context.getApplicationContext().getSharedPreferences(SharedPreferenceStorage.PREFS_NAME, 0);
}
}
}

View File

@@ -0,0 +1,12 @@
package J0;
/* loaded from: classes.dex */
public final class r extends m3.l {
/* renamed from: a, reason: collision with root package name */
public final int f959a;
public r(int i) {
this.f959a = i;
}
}

View File

@@ -0,0 +1,58 @@
package J0;
import kotlin.jvm.functions.Function0;
import kotlin.jvm.internal.Intrinsics;
import r3.InterfaceC0578j;
import r3.u;
/* loaded from: classes.dex */
public final class s extends p {
/* renamed from: a, reason: collision with root package name */
public final m3.l f960a;
/* renamed from: b, reason: collision with root package name */
public boolean f961b;
/* renamed from: c, reason: collision with root package name */
public final InterfaceC0578j f962c;
public s(InterfaceC0578j interfaceC0578j, Function0 function0, m3.l lVar) {
this.f960a = lVar;
this.f962c = interfaceC0578j;
}
@Override // java.io.Closeable, java.lang.AutoCloseable
public final synchronized void close() {
this.f961b = true;
InterfaceC0578j interfaceC0578j = this.f962c;
if (interfaceC0578j != null) {
W0.f.a(interfaceC0578j);
}
}
@Override // J0.p
public final m3.l d() {
return this.f960a;
}
@Override // J0.p
public final synchronized InterfaceC0578j e() {
InterfaceC0578j interfaceC0578j;
try {
if (this.f961b) {
throw new IllegalStateException("closed");
}
interfaceC0578j = this.f962c;
if (interfaceC0578j == null) {
u uVar = r3.n.f8299a;
Intrinsics.checkNotNull(null);
uVar.h(null);
throw null;
}
} catch (Throwable th) {
throw th;
}
return interfaceC0578j;
}
}