mirror of
https://github.com/VibedByKaKi/alexandroid.git
synced 2026-11-13 17:37:16 +01:00
93 lines
4.5 KiB
Java
93 lines
4.5 KiB
Java
package androidx.compose.material;
|
|
|
|
import androidx.exifinterface.media.ExifInterface;
|
|
import java.util.Map;
|
|
import kotlin.Metadata;
|
|
import kotlin.Unit;
|
|
import kotlin.coroutines.Continuation;
|
|
import kotlinx.coroutines.flow.FlowCollector;
|
|
|
|
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
|
|
@Metadata(d1 = {"\u0000\u0016\n\u0000\n\u0002\u0010\u0002\n\u0002\b\u0002\n\u0002\u0010$\n\u0002\u0010\u0007\n\u0002\b\u0002\u0010\u0000\u001a\u00020\u0001\"\u0004\b\u0000\u0010\u00022\u0012\u0010\u0003\u001a\u000e\u0012\u0004\u0012\u00020\u0005\u0012\u0004\u0012\u0002H\u00020\u0004H\u008a@¢\u0006\u0004\b\u0006\u0010\u0007"}, d2 = {"<anonymous>", "", ExifInterface.GPS_DIRECTION_TRUE, "anchors", "", "", "emit", "(Ljava/util/Map;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;"}, k = 3, mv = {1, 8, 0}, xi = 48)
|
|
/* loaded from: classes.dex */
|
|
public final class SwipeableState$snapTo$2<T> implements FlowCollector {
|
|
final /* synthetic */ T $targetValue;
|
|
final /* synthetic */ SwipeableState<T> this$0;
|
|
|
|
public SwipeableState$snapTo$2(T t, SwipeableState<T> swipeableState) {
|
|
this.$targetValue = t;
|
|
this.this$0 = swipeableState;
|
|
}
|
|
|
|
/* JADX WARN: Removed duplicated region for block: B:15:0x0035 */
|
|
/* JADX WARN: Removed duplicated region for block: B:8:0x0023 */
|
|
@org.jetbrains.annotations.Nullable
|
|
/*
|
|
Code decompiled incorrectly, please refer to instructions dump.
|
|
To view partially-correct add '--show-bad-code' argument
|
|
*/
|
|
public final java.lang.Object emit(@org.jetbrains.annotations.NotNull java.util.Map<java.lang.Float, ? extends T> r5, @org.jetbrains.annotations.NotNull kotlin.coroutines.Continuation<? super kotlin.Unit> r6) {
|
|
/*
|
|
r4 = this;
|
|
boolean r0 = r6 instanceof androidx.compose.material.SwipeableState$snapTo$2$emit$1
|
|
if (r0 == 0) goto L13
|
|
r0 = r6
|
|
androidx.compose.material.SwipeableState$snapTo$2$emit$1 r0 = (androidx.compose.material.SwipeableState$snapTo$2$emit$1) r0
|
|
int r1 = r0.label
|
|
r2 = -2147483648(0xffffffff80000000, float:-0.0)
|
|
r3 = r1 & r2
|
|
if (r3 == 0) goto L13
|
|
int r1 = r1 - r2
|
|
r0.label = r1
|
|
goto L18
|
|
L13:
|
|
androidx.compose.material.SwipeableState$snapTo$2$emit$1 r0 = new androidx.compose.material.SwipeableState$snapTo$2$emit$1
|
|
r0.<init>(r4, r6)
|
|
L18:
|
|
java.lang.Object r6 = r0.result
|
|
java.lang.Object r1 = kotlin.coroutines.intrinsics.IntrinsicsKt.getCOROUTINE_SUSPENDED()
|
|
int r2 = r0.label
|
|
r3 = 1
|
|
if (r2 == 0) goto L35
|
|
if (r2 != r3) goto L2d
|
|
java.lang.Object r4 = r0.L$0
|
|
androidx.compose.material.SwipeableState$snapTo$2 r4 = (androidx.compose.material.SwipeableState$snapTo$2) r4
|
|
kotlin.ResultKt.throwOnFailure(r6)
|
|
goto L51
|
|
L2d:
|
|
java.lang.String r4 = "call to 'resume' before 'invoke' with coroutine"
|
|
rx.Single$$ExternalSyntheticBUOutline0.m$2(r4)
|
|
r4 = 0
|
|
return r4
|
|
L35:
|
|
kotlin.ResultKt.throwOnFailure(r6)
|
|
T r6 = r4.$targetValue
|
|
java.lang.Float r5 = androidx.compose.material.SwipeableKt.access$getOffset(r5, r6)
|
|
if (r5 == 0) goto L5b
|
|
androidx.compose.material.SwipeableState<T> r6 = r4.this$0
|
|
float r5 = r5.floatValue()
|
|
r0.L$0 = r4
|
|
r0.label = r3
|
|
java.lang.Object r5 = androidx.compose.material.SwipeableState.access$snapInternalToOffset(r6, r5, r0)
|
|
if (r5 != r1) goto L51
|
|
return r1
|
|
L51:
|
|
androidx.compose.material.SwipeableState<T> r5 = r4.this$0
|
|
T r4 = r4.$targetValue
|
|
androidx.compose.material.SwipeableState.access$setCurrentValue(r5, r4)
|
|
kotlin.Unit r4 = kotlin.Unit.INSTANCE
|
|
return r4
|
|
L5b:
|
|
java.lang.String r4 = "The target value must have an associated anchor."
|
|
rx.Single$$ExternalSyntheticBUOutline0.m$3(r4)
|
|
r4 = 0
|
|
return r4
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: androidx.compose.material.SwipeableState$snapTo$2.emit(java.util.Map, kotlin.coroutines.Continuation):java.lang.Object");
|
|
}
|
|
|
|
@Override // kotlinx.coroutines.flow.FlowCollector
|
|
public /* bridge */ /* synthetic */ Object emit(Object obj, Continuation continuation) {
|
|
return emit((Map) obj, (Continuation<? super Unit>) continuation);
|
|
}
|
|
}
|