alexandroid/decompiled/jadx/sources/io/reactivex/rxjava3/internal/util/MergerBiFunction.java
KaKi87 a47fad5135 📦 Add decompiled Alexa 2.2.730155.0 (jadx, apktool, Hermes strings)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-07 00:04:16 +01:00

96 lines
3 KiB
Java

package io.reactivex.rxjava3.internal.util;
import io.reactivex.rxjava3.functions.BiFunction;
import java.util.Comparator;
import java.util.List;
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
/* loaded from: classes10.dex */
public final class MergerBiFunction<T> implements BiFunction<List<T>, List<T>, List<T>> {
final Comparator<? super T> comparator;
public MergerBiFunction(Comparator<? super T> comparator) {
this.comparator = comparator;
}
/* JADX WARN: Code restructure failed: missing block: B:50:0x0037, code lost:
r3 = null;
*/
@Override // io.reactivex.rxjava3.functions.BiFunction
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public java.util.List<T> apply(java.util.List<T> r6, java.util.List<T> r7) {
/*
r5 = this;
int r0 = r6.size()
int r1 = r7.size()
int r1 = r1 + r0
if (r1 != 0) goto L11
java.util.ArrayList r5 = new java.util.ArrayList
r5.<init>()
return r5
L11:
java.util.ArrayList r0 = new java.util.ArrayList
r0.<init>(r1)
java.util.Iterator r6 = r6.iterator()
java.util.Iterator r7 = r7.iterator()
boolean r1 = r6.hasNext()
r2 = 0
if (r1 == 0) goto L2a
java.lang.Object r1 = r6.next()
goto L2b
L2a:
r1 = r2
L2b:
boolean r3 = r7.hasNext()
if (r3 == 0) goto L36
java.lang.Object r3 = r7.next()
goto L37
L36:
r3 = r2
L37:
if (r1 == 0) goto L61
if (r3 == 0) goto L61
java.util.Comparator<? super T> r4 = r5.comparator
int r4 = r4.compare(r1, r3)
if (r4 >= 0) goto L53
r0.add(r1)
boolean r1 = r6.hasNext()
if (r1 == 0) goto L51
java.lang.Object r1 = r6.next()
goto L37
L51:
r1 = r2
goto L37
L53:
r0.add(r3)
boolean r3 = r7.hasNext()
if (r3 == 0) goto L36
java.lang.Object r3 = r7.next()
goto L37
L61:
if (r1 == 0) goto L74
r0.add(r1)
L66:
boolean r5 = r6.hasNext()
if (r5 == 0) goto L85
java.lang.Object r5 = r6.next()
r0.add(r5)
goto L66
L74:
r0.add(r3)
L77:
boolean r5 = r7.hasNext()
if (r5 == 0) goto L85
java.lang.Object r5 = r7.next()
r0.add(r5)
goto L77
L85:
return r0
*/
throw new UnsupportedOperationException("Method not decompiled: io.reactivex.rxjava3.internal.util.MergerBiFunction.apply(java.util.List, java.util.List):java.util.List");
}
}