mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2025-01-09 13:43:22 +00:00
420 lines
28 KiB
Java
420 lines
28 KiB
Java
|
package androidx.compose.foundation.gestures;
|
||
|
|
||
|
import androidx.appcompat.app.AppCompatDelegate;
|
||
|
import androidx.compose.runtime.Composer;
|
||
|
import androidx.compose.runtime.ComposerKt;
|
||
|
import androidx.compose.runtime.EffectsKt;
|
||
|
import androidx.compose.runtime.SnapshotStateKt;
|
||
|
import androidx.compose.runtime.State;
|
||
|
import androidx.compose.ui.ComposedModifierKt;
|
||
|
import androidx.compose.ui.Modifier;
|
||
|
import androidx.compose.ui.input.pointer.PointerInputScope;
|
||
|
import androidx.compose.ui.input.pointer.SuspendingPointerInputFilterKt;
|
||
|
import androidx.compose.ui.platform.InspectableValueKt;
|
||
|
import androidx.compose.ui.platform.InspectorInfo;
|
||
|
import androidx.core.app.NotificationCompat;
|
||
|
import io.sentry.protocol.SentryThread;
|
||
|
import kotlin.Metadata;
|
||
|
import kotlin.Unit;
|
||
|
import kotlin.coroutines.Continuation;
|
||
|
import kotlin.coroutines.jvm.internal.DebugMetadata;
|
||
|
import kotlin.coroutines.jvm.internal.SuspendLambda;
|
||
|
import kotlin.jvm.functions.Function0;
|
||
|
import kotlin.jvm.functions.Function1;
|
||
|
import kotlin.jvm.functions.Function2;
|
||
|
import kotlin.jvm.functions.Function3;
|
||
|
import kotlin.jvm.internal.Intrinsics;
|
||
|
import kotlin.jvm.internal.Ref;
|
||
|
import kotlinx.coroutines.CoroutineScope;
|
||
|
import kotlinx.coroutines.channels.Channel;
|
||
|
import kotlinx.coroutines.channels.ChannelKt;
|
||
|
|
||
|
/* compiled from: Transformable.kt */
|
||
|
@Metadata(d1 = {"\u00006\n\u0000\n\u0002\u0010\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0010\u000b\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\u001aE\u0010\u0000\u001a\u00020\u0001*\u00020\u00022\f\u0010\u0003\u001a\b\u0012\u0004\u0012\u00020\u00050\u00042\f\u0010\u0006\u001a\b\u0012\u0004\u0012\u00020\b0\u00072\u0012\u0010\t\u001a\u000e\u0012\n\u0012\b\u0012\u0004\u0012\u00020\u00050\n0\u0004H\u0082@ø\u0001\u0000¢\u0006\u0002\u0010\u000b\u001a6\u0010\f\u001a\u00020\r*\u00020\r2\u0006\u0010\u000e\u001a\u00020\u000f2\f\u0010\t\u001a\b\u0012\u0004\u0012\u00020\u00050\n2\b\b\u0002\u0010\u0010\u001a\u00020\u00052\b\b\u0002\u0010\u0011\u001a\u00020\u0005H\u0007\u001a&\u0010\f\u001a\u00020\r*\u00020\r2\u0006\u0010\u000e\u001a\u00020\u000f2\b\b\u0002\u0010\u0010\u001a\u00020\u00052\b\b\u0002\u0010\u0011\u001a\u00020\u0005\u0082\u0002\u0004\n\u0002\b\u0019¨\u0006\u0012"}, d2 = {"detectZoom", "", "Landroidx/compose/ui/input/pointer/AwaitPointerEventScope;", "panZoomLock", "Landroidx/compose/runtime/State;", "", "channel", "Lkotlinx/coroutines/channels/Channel;", "Landroidx/compose/foundation/gestures/TransformEvent;", "canPan", "Lkotlin/Function0;", "(Landroidx/compose/ui/input/pointer/AwaitPointerEventScope;Landroidx/compose/runtime/State;Lkotlinx/coroutines/channels/Channel;Landroidx/compose/runtime/State;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "transformable", "Landroidx/compose/ui/Modifier;", SentryThread.JsonKeys.STATE, "Landroidx/compose/foundation/gestures/TransformableState;", "lockRotationOnZoomPan", "enabled", "foundation_release"}, k = 2, mv = {1, 8, 0}, xi = 48)
|
||
|
/* loaded from: classes.dex */
|
||
|
public final class TransformableKt {
|
||
|
public static /* synthetic */ Modifier transformable$default(Modifier modifier, TransformableState transformableState, boolean z, boolean z2, int i, Object obj) {
|
||
|
if ((i & 2) != 0) {
|
||
|
z = false;
|
||
|
}
|
||
|
if ((i & 4) != 0) {
|
||
|
z2 = true;
|
||
|
}
|
||
|
return transformable(modifier, transformableState, z, z2);
|
||
|
}
|
||
|
|
||
|
public static final Modifier transformable(Modifier modifier, TransformableState state, boolean z, boolean z2) {
|
||
|
Intrinsics.checkNotNullParameter(modifier, "<this>");
|
||
|
Intrinsics.checkNotNullParameter(state, "state");
|
||
|
return transformable(modifier, state, new Function0<Boolean>() { // from class: androidx.compose.foundation.gestures.TransformableKt$transformable$1
|
||
|
/* JADX WARN: Can't rename method to resolve collision */
|
||
|
@Override // kotlin.jvm.functions.Function0
|
||
|
public final Boolean invoke() {
|
||
|
return true;
|
||
|
}
|
||
|
}, z, z2);
|
||
|
}
|
||
|
|
||
|
public static /* synthetic */ Modifier transformable$default(Modifier modifier, TransformableState transformableState, Function0 function0, boolean z, boolean z2, int i, Object obj) {
|
||
|
if ((i & 4) != 0) {
|
||
|
z = false;
|
||
|
}
|
||
|
if ((i & 8) != 0) {
|
||
|
z2 = true;
|
||
|
}
|
||
|
return transformable(modifier, transformableState, function0, z, z2);
|
||
|
}
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: private */
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:18:0x02ad, code lost:
|
||
|
|
||
|
if (r5 != 0) goto L89;
|
||
|
*/
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:19:0x02af, code lost:
|
||
|
|
||
|
r2 = true;
|
||
|
*/
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:62:0x01fe, code lost:
|
||
|
|
||
|
if (r14.getValue().invoke().booleanValue() != false) goto L68;
|
||
|
*/
|
||
|
/* JADX WARN: Removed duplicated region for block: B:102:0x00b8 */
|
||
|
/* JADX WARN: Removed duplicated region for block: B:14:0x02a1 */
|
||
|
/* JADX WARN: Removed duplicated region for block: B:24:0x02c4 */
|
||
|
/* JADX WARN: Removed duplicated region for block: B:31:0x0122 A[RETURN] */
|
||
|
/* JADX WARN: Removed duplicated region for block: B:35:0x0132 */
|
||
|
/* JADX WARN: Removed duplicated region for block: B:41:0x0146 */
|
||
|
/* JADX WARN: Removed duplicated region for block: B:66:0x0225 */
|
||
|
/* JADX WARN: Removed duplicated region for block: B:76:0x0281 A[RETURN] */
|
||
|
/* JADX WARN: Removed duplicated region for block: B:77:0x0282 */
|
||
|
/* JADX WARN: Removed duplicated region for block: B:8:0x0028 */
|
||
|
/* JADX WARN: Removed duplicated region for block: B:90:0x0245 */
|
||
|
/* JADX WARN: Removed duplicated region for block: B:91:0x0143 A[SYNTHETIC] */
|
||
|
/* JADX WARN: Removed duplicated region for block: B:97:0x02b4 A[EDGE_INSN: B:97:0x02b4->B:96:0x02b4 BREAK A[LOOP:0: B:13:0x029f->B:16:0x02b1], SYNTHETIC] */
|
||
|
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:68:0x0282 -> B:12:0x0292). Please report as a decompilation issue!!! */
|
||
|
/*
|
||
|
Code decompiled incorrectly, please refer to instructions dump.
|
||
|
To view partially-correct add '--show-bad-code' argument
|
||
|
*/
|
||
|
public static final java.lang.Object detectZoom(androidx.compose.ui.input.pointer.AwaitPointerEventScope r29, androidx.compose.runtime.State<java.lang.Boolean> r30, kotlinx.coroutines.channels.Channel<androidx.compose.foundation.gestures.TransformEvent> r31, androidx.compose.runtime.State<? extends kotlin.jvm.functions.Function0<java.lang.Boolean>> r32, kotlin.coroutines.Continuation<? super kotlin.Unit> r33) {
|
||
|
/*
|
||
|
Method dump skipped, instructions count: 742
|
||
|
To view this dump add '--comments-level debug' option
|
||
|
*/
|
||
|
throw new UnsupportedOperationException("Method not decompiled: androidx.compose.foundation.gestures.TransformableKt.detectZoom(androidx.compose.ui.input.pointer.AwaitPointerEventScope, androidx.compose.runtime.State, kotlinx.coroutines.channels.Channel, androidx.compose.runtime.State, kotlin.coroutines.Continuation):java.lang.Object");
|
||
|
}
|
||
|
|
||
|
public static final Modifier transformable(Modifier modifier, final TransformableState state, final Function0<Boolean> canPan, final boolean z, final boolean z2) {
|
||
|
Intrinsics.checkNotNullParameter(modifier, "<this>");
|
||
|
Intrinsics.checkNotNullParameter(state, "state");
|
||
|
Intrinsics.checkNotNullParameter(canPan, "canPan");
|
||
|
return ComposedModifierKt.composed(modifier, InspectableValueKt.isDebugInspectorInfoEnabled() ? new Function1<InspectorInfo, Unit>() { // from class: androidx.compose.foundation.gestures.TransformableKt$transformable$$inlined$debugInspectorInfo$1
|
||
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||
|
{
|
||
|
super(1);
|
||
|
}
|
||
|
|
||
|
@Override // kotlin.jvm.functions.Function1
|
||
|
public /* bridge */ /* synthetic */ Unit invoke(InspectorInfo inspectorInfo) {
|
||
|
invoke2(inspectorInfo);
|
||
|
return Unit.INSTANCE;
|
||
|
}
|
||
|
|
||
|
/* renamed from: invoke, reason: avoid collision after fix types in other method */
|
||
|
public final void invoke2(InspectorInfo inspectorInfo) {
|
||
|
Intrinsics.checkNotNullParameter(inspectorInfo, "$this$null");
|
||
|
inspectorInfo.setName("transformable");
|
||
|
inspectorInfo.getProperties().set(SentryThread.JsonKeys.STATE, TransformableState.this);
|
||
|
inspectorInfo.getProperties().set("canPan", canPan);
|
||
|
inspectorInfo.getProperties().set("enabled", Boolean.valueOf(z2));
|
||
|
inspectorInfo.getProperties().set("lockRotationOnZoomPan", Boolean.valueOf(z));
|
||
|
}
|
||
|
} : InspectableValueKt.getNoInspectorInfo(), new Function3<Modifier, Composer, Integer, Modifier>() { // from class: androidx.compose.foundation.gestures.TransformableKt$transformable$3
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||
|
{
|
||
|
super(3);
|
||
|
}
|
||
|
|
||
|
@Override // kotlin.jvm.functions.Function3
|
||
|
public /* bridge */ /* synthetic */ Modifier invoke(Modifier modifier2, Composer composer, Integer num) {
|
||
|
return invoke(modifier2, composer, num.intValue());
|
||
|
}
|
||
|
|
||
|
public final Modifier invoke(Modifier composed, Composer composer, int i) {
|
||
|
Intrinsics.checkNotNullParameter(composed, "$this$composed");
|
||
|
composer.startReplaceableGroup(298661433);
|
||
|
ComposerKt.sourceInformation(composer, "C98@4744L43,99@4816L28,100@4867L66,121@5860L524:Transformable.kt#8bwon0");
|
||
|
if (ComposerKt.isTraceInProgress()) {
|
||
|
ComposerKt.traceEventStart(298661433, i, -1, "androidx.compose.foundation.gestures.transformable.<anonymous> (Transformable.kt:97)");
|
||
|
}
|
||
|
State rememberUpdatedState = SnapshotStateKt.rememberUpdatedState(Boolean.valueOf(z), composer, 0);
|
||
|
State rememberUpdatedState2 = SnapshotStateKt.rememberUpdatedState(canPan, composer, 0);
|
||
|
composer.startReplaceableGroup(-492369756);
|
||
|
ComposerKt.sourceInformation(composer, "CC(remember):Composables.kt#9igjgp");
|
||
|
Object rememberedValue = composer.rememberedValue();
|
||
|
if (rememberedValue == Composer.INSTANCE.getEmpty()) {
|
||
|
rememberedValue = ChannelKt.Channel$default(Integer.MAX_VALUE, null, null, 6, null);
|
||
|
composer.updateRememberedValue(rememberedValue);
|
||
|
}
|
||
|
composer.endReplaceableGroup();
|
||
|
Channel channel = (Channel) rememberedValue;
|
||
|
composer.startReplaceableGroup(-2015615917);
|
||
|
ComposerKt.sourceInformation(composer, "102@4969L822");
|
||
|
if (z2) {
|
||
|
EffectsKt.LaunchedEffect(state, new AnonymousClass1(channel, state, null), composer, 64);
|
||
|
}
|
||
|
composer.endReplaceableGroup();
|
||
|
composer.startReplaceableGroup(-492369756);
|
||
|
ComposerKt.sourceInformation(composer, "CC(remember):Composables.kt#9igjgp");
|
||
|
TransformableKt$transformable$3$block$1$1 rememberedValue2 = composer.rememberedValue();
|
||
|
if (rememberedValue2 == Composer.INSTANCE.getEmpty()) {
|
||
|
rememberedValue2 = new TransformableKt$transformable$3$block$1$1(rememberUpdatedState, channel, rememberUpdatedState2, null);
|
||
|
composer.updateRememberedValue(rememberedValue2);
|
||
|
}
|
||
|
composer.endReplaceableGroup();
|
||
|
Modifier.Companion pointerInput = z2 ? SuspendingPointerInputFilterKt.pointerInput(Modifier.INSTANCE, channel, (Function2<? super PointerInputScope, ? super Continuation<? super Unit>, ? extends Object>) rememberedValue2) : Modifier.INSTANCE;
|
||
|
if (ComposerKt.isTraceInProgress()) {
|
||
|
ComposerKt.traceEventEnd();
|
||
|
}
|
||
|
composer.endReplaceableGroup();
|
||
|
return pointerInput;
|
||
|
}
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
/* compiled from: Transformable.kt */
|
||
|
@Metadata(d1 = {"\u0000\n\n\u0000\n\u0002\u0010\u0002\n\u0002\u0018\u0002\u0010\u0000\u001a\u00020\u0001*\u00020\u0002H\u008a@"}, d2 = {"<anonymous>", "", "Lkotlinx/coroutines/CoroutineScope;"}, k = 3, mv = {1, 8, 0}, xi = 48)
|
||
|
@DebugMetadata(c = "androidx.compose.foundation.gestures.TransformableKt$transformable$3$1", f = "Transformable.kt", i = {0, 0, 1}, l = {105, AppCompatDelegate.FEATURE_SUPPORT_ACTION_BAR}, m = "invokeSuspend", n = {"$this$LaunchedEffect", NotificationCompat.CATEGORY_EVENT, "$this$LaunchedEffect"}, s = {"L$0", "L$1", "L$0"})
|
||
|
/* renamed from: androidx.compose.foundation.gestures.TransformableKt$transformable$3$1, reason: invalid class name */
|
||
|
/* loaded from: classes.dex */
|
||
|
public static final class AnonymousClass1 extends SuspendLambda implements Function2<CoroutineScope, Continuation<? super Unit>, Object> {
|
||
|
final /* synthetic */ Channel<TransformEvent> $channel;
|
||
|
final /* synthetic */ TransformableState $state;
|
||
|
private /* synthetic */ Object L$0;
|
||
|
Object L$1;
|
||
|
Object L$2;
|
||
|
int label;
|
||
|
|
||
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||
|
AnonymousClass1(Channel<TransformEvent> channel, TransformableState transformableState, Continuation<? super AnonymousClass1> continuation) {
|
||
|
super(2, continuation);
|
||
|
this.$channel = channel;
|
||
|
this.$state = transformableState;
|
||
|
}
|
||
|
|
||
|
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
|
||
|
public final Continuation<Unit> create(Object obj, Continuation<?> continuation) {
|
||
|
AnonymousClass1 anonymousClass1 = new AnonymousClass1(this.$channel, this.$state, continuation);
|
||
|
anonymousClass1.L$0 = obj;
|
||
|
return anonymousClass1;
|
||
|
}
|
||
|
|
||
|
@Override // kotlin.jvm.functions.Function2
|
||
|
public final Object invoke(CoroutineScope coroutineScope, Continuation<? super Unit> continuation) {
|
||
|
return ((AnonymousClass1) create(coroutineScope, continuation)).invokeSuspend(Unit.INSTANCE);
|
||
|
}
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
/* compiled from: Transformable.kt */
|
||
|
@Metadata(d1 = {"\u0000\n\n\u0000\n\u0002\u0010\u0002\n\u0002\u0018\u0002\u0010\u0000\u001a\u00020\u0001*\u00020\u0002H\u008a@"}, d2 = {"<anonymous>", "", "Landroidx/compose/foundation/gestures/TransformScope;"}, k = 3, mv = {1, 8, 0}, xi = 48)
|
||
|
@DebugMetadata(c = "androidx.compose.foundation.gestures.TransformableKt$transformable$3$1$1", f = "Transformable.kt", i = {0}, l = {113}, m = "invokeSuspend", n = {"$this$transform"}, s = {"L$0"})
|
||
|
/* renamed from: androidx.compose.foundation.gestures.TransformableKt$transformable$3$1$1, reason: invalid class name and collision with other inner class name */
|
||
|
/* loaded from: classes.dex */
|
||
|
public static final class C00101 extends SuspendLambda implements Function2<TransformScope, Continuation<? super Unit>, Object> {
|
||
|
final /* synthetic */ Channel<TransformEvent> $channel;
|
||
|
final /* synthetic */ Ref.ObjectRef<TransformEvent> $event;
|
||
|
private /* synthetic */ Object L$0;
|
||
|
Object L$1;
|
||
|
int label;
|
||
|
|
||
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||
|
C00101(Ref.ObjectRef<TransformEvent> objectRef, Channel<TransformEvent> channel, Continuation<? super C00101> continuation) {
|
||
|
super(2, continuation);
|
||
|
this.$event = objectRef;
|
||
|
this.$channel = channel;
|
||
|
}
|
||
|
|
||
|
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
|
||
|
public final Continuation<Unit> create(Object obj, Continuation<?> continuation) {
|
||
|
C00101 c00101 = new C00101(this.$event, this.$channel, continuation);
|
||
|
c00101.L$0 = obj;
|
||
|
return c00101;
|
||
|
}
|
||
|
|
||
|
@Override // kotlin.jvm.functions.Function2
|
||
|
public final Object invoke(TransformScope transformScope, Continuation<? super Unit> continuation) {
|
||
|
return ((C00101) create(transformScope, continuation)).invokeSuspend(Unit.INSTANCE);
|
||
|
}
|
||
|
|
||
|
/* JADX WARN: Multi-variable type inference failed */
|
||
|
/* JADX WARN: Removed duplicated region for block: B:18:0x0063 */
|
||
|
/* JADX WARN: Removed duplicated region for block: B:8:0x002f */
|
||
|
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:14:0x005d -> B:5:0x0060). Please report as a decompilation issue!!! */
|
||
|
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
|
||
|
/*
|
||
|
Code decompiled incorrectly, please refer to instructions dump.
|
||
|
To view partially-correct add '--show-bad-code' argument
|
||
|
*/
|
||
|
public final java.lang.Object invokeSuspend(java.lang.Object r7) {
|
||
|
/*
|
||
|
r6 = this;
|
||
|
java.lang.Object r0 = kotlin.coroutines.intrinsics.IntrinsicsKt.getCOROUTINE_SUSPENDED()
|
||
|
int r1 = r6.label
|
||
|
r2 = 1
|
||
|
if (r1 == 0) goto L1f
|
||
|
if (r1 != r2) goto L17
|
||
|
java.lang.Object r1 = r6.L$1
|
||
|
kotlin.jvm.internal.Ref$ObjectRef r1 = (kotlin.jvm.internal.Ref.ObjectRef) r1
|
||
|
java.lang.Object r3 = r6.L$0
|
||
|
androidx.compose.foundation.gestures.TransformScope r3 = (androidx.compose.foundation.gestures.TransformScope) r3
|
||
|
kotlin.ResultKt.throwOnFailure(r7)
|
||
|
goto L60
|
||
|
L17:
|
||
|
java.lang.IllegalStateException r6 = new java.lang.IllegalStateException
|
||
|
java.lang.String r7 = "call to 'resume' before 'invoke' with coroutine"
|
||
|
r6.<init>(r7)
|
||
|
throw r6
|
||
|
L1f:
|
||
|
kotlin.ResultKt.throwOnFailure(r7)
|
||
|
java.lang.Object r7 = r6.L$0
|
||
|
androidx.compose.foundation.gestures.TransformScope r7 = (androidx.compose.foundation.gestures.TransformScope) r7
|
||
|
r3 = r7
|
||
|
L27:
|
||
|
kotlin.jvm.internal.Ref$ObjectRef<androidx.compose.foundation.gestures.TransformEvent> r7 = r6.$event
|
||
|
T r7 = r7.element
|
||
|
boolean r7 = r7 instanceof androidx.compose.foundation.gestures.TransformEvent.TransformStopped
|
||
|
if (r7 != 0) goto L63
|
||
|
kotlin.jvm.internal.Ref$ObjectRef<androidx.compose.foundation.gestures.TransformEvent> r7 = r6.$event
|
||
|
T r7 = r7.element
|
||
|
boolean r1 = r7 instanceof androidx.compose.foundation.gestures.TransformEvent.TransformDelta
|
||
|
if (r1 == 0) goto L3a
|
||
|
androidx.compose.foundation.gestures.TransformEvent$TransformDelta r7 = (androidx.compose.foundation.gestures.TransformEvent.TransformDelta) r7
|
||
|
goto L3b
|
||
|
L3a:
|
||
|
r7 = 0
|
||
|
L3b:
|
||
|
if (r7 == 0) goto L4c
|
||
|
float r1 = r7.getZoomChange()
|
||
|
long r4 = r7.getPanChange()
|
||
|
float r7 = r7.getRotationChange()
|
||
|
r3.mo261transformByd4ec7I(r1, r4, r7)
|
||
|
L4c:
|
||
|
kotlin.jvm.internal.Ref$ObjectRef<androidx.compose.foundation.gestures.TransformEvent> r1 = r6.$event
|
||
|
kotlinx.coroutines.channels.Channel<androidx.compose.foundation.gestures.TransformEvent> r7 = r6.$channel
|
||
|
r4 = r6
|
||
|
kotlin.coroutines.Continuation r4 = (kotlin.coroutines.Continuation) r4
|
||
|
r6.L$0 = r3
|
||
|
r6.L$1 = r1
|
||
|
r6.label = r2
|
||
|
java.lang.Object r7 = r7.receive(r4)
|
||
|
if (r7 != r0) goto L60
|
||
|
return r0
|
||
|
L60:
|
||
|
r1.element = r7
|
||
|
goto L27
|
||
|
L63:
|
||
|
kotlin.Unit r6 = kotlin.Unit.INSTANCE
|
||
|
return r6
|
||
|
*/
|
||
|
throw new UnsupportedOperationException("Method not decompiled: androidx.compose.foundation.gestures.TransformableKt$transformable$3.AnonymousClass1.C00101.invokeSuspend(java.lang.Object):java.lang.Object");
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* JADX WARN: Multi-variable type inference failed */
|
||
|
/* JADX WARN: Removed duplicated region for block: B:11:0x003c */
|
||
|
/* JADX WARN: Removed duplicated region for block: B:19:0x0060 A[EXC_TOP_SPLITTER, SYNTHETIC] */
|
||
|
/* JADX WARN: Removed duplicated region for block: B:25:0x0082 */
|
||
|
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:18:0x0080 -> B:9:0x0036). Please report as a decompilation issue!!! */
|
||
|
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
|
||
|
/*
|
||
|
Code decompiled incorrectly, please refer to instructions dump.
|
||
|
To view partially-correct add '--show-bad-code' argument
|
||
|
*/
|
||
|
public final java.lang.Object invokeSuspend(java.lang.Object r10) {
|
||
|
/*
|
||
|
r9 = this;
|
||
|
java.lang.Object r0 = kotlin.coroutines.intrinsics.IntrinsicsKt.getCOROUTINE_SUSPENDED()
|
||
|
int r1 = r9.label
|
||
|
r2 = 2
|
||
|
r3 = 1
|
||
|
if (r1 == 0) goto L2f
|
||
|
if (r1 == r3) goto L1f
|
||
|
if (r1 != r2) goto L17
|
||
|
java.lang.Object r1 = r9.L$0
|
||
|
kotlinx.coroutines.CoroutineScope r1 = (kotlinx.coroutines.CoroutineScope) r1
|
||
|
kotlin.ResultKt.throwOnFailure(r10) // Catch: java.util.concurrent.CancellationException -> L15
|
||
|
L15:
|
||
|
r10 = r1
|
||
|
goto L36
|
||
|
L17:
|
||
|
java.lang.IllegalStateException r9 = new java.lang.IllegalStateException
|
||
|
java.lang.String r10 = "call to 'resume' before 'invoke' with coroutine"
|
||
|
r9.<init>(r10)
|
||
|
throw r9
|
||
|
L1f:
|
||
|
java.lang.Object r1 = r9.L$2
|
||
|
kotlin.jvm.internal.Ref$ObjectRef r1 = (kotlin.jvm.internal.Ref.ObjectRef) r1
|
||
|
java.lang.Object r4 = r9.L$1
|
||
|
kotlin.jvm.internal.Ref$ObjectRef r4 = (kotlin.jvm.internal.Ref.ObjectRef) r4
|
||
|
java.lang.Object r5 = r9.L$0
|
||
|
kotlinx.coroutines.CoroutineScope r5 = (kotlinx.coroutines.CoroutineScope) r5
|
||
|
kotlin.ResultKt.throwOnFailure(r10)
|
||
|
goto L58
|
||
|
L2f:
|
||
|
kotlin.ResultKt.throwOnFailure(r10)
|
||
|
java.lang.Object r10 = r9.L$0
|
||
|
kotlinx.coroutines.CoroutineScope r10 = (kotlinx.coroutines.CoroutineScope) r10
|
||
|
L36:
|
||
|
boolean r1 = kotlinx.coroutines.CoroutineScopeKt.isActive(r10)
|
||
|
if (r1 == 0) goto L82
|
||
|
kotlin.jvm.internal.Ref$ObjectRef r1 = new kotlin.jvm.internal.Ref$ObjectRef
|
||
|
r1.<init>()
|
||
|
kotlinx.coroutines.channels.Channel<androidx.compose.foundation.gestures.TransformEvent> r4 = r9.$channel
|
||
|
r5 = r9
|
||
|
kotlin.coroutines.Continuation r5 = (kotlin.coroutines.Continuation) r5
|
||
|
r9.L$0 = r10
|
||
|
r9.L$1 = r1
|
||
|
r9.L$2 = r1
|
||
|
r9.label = r3
|
||
|
java.lang.Object r4 = r4.receive(r5)
|
||
|
if (r4 != r0) goto L55
|
||
|
return r0
|
||
|
L55:
|
||
|
r5 = r10
|
||
|
r10 = r4
|
||
|
r4 = r1
|
||
|
L58:
|
||
|
r1.element = r10
|
||
|
T r10 = r4.element
|
||
|
boolean r10 = r10 instanceof androidx.compose.foundation.gestures.TransformEvent.TransformStarted
|
||
|
if (r10 == 0) goto L80
|
||
|
androidx.compose.foundation.gestures.TransformableState r10 = r9.$state // Catch: java.util.concurrent.CancellationException -> L80
|
||
|
androidx.compose.foundation.MutatePriority r1 = androidx.compose.foundation.MutatePriority.UserInput // Catch: java.util.concurrent.CancellationException -> L80
|
||
|
androidx.compose.foundation.gestures.TransformableKt$transformable$3$1$1 r6 = new androidx.compose.foundation.gestures.TransformableKt$transformable$3$1$1 // Catch: java.util.concurrent.CancellationException -> L80
|
||
|
kotlinx.coroutines.channels.Channel<androidx.compose.foundation.gestures.TransformEvent> r7 = r9.$channel // Catch: java.util.concurrent.CancellationException -> L80
|
||
|
r8 = 0
|
||
|
r6.<init>(r4, r7, r8) // Catch: java.util.concurrent.CancellationException -> L80
|
||
|
kotlin.jvm.functions.Function2 r6 = (kotlin.jvm.functions.Function2) r6 // Catch: java.util.concurrent.CancellationException -> L80
|
||
|
r4 = r9
|
||
|
kotlin.coroutines.Continuation r4 = (kotlin.coroutines.Continuation) r4 // Catch: java.util.concurrent.CancellationException -> L80
|
||
|
r9.L$0 = r5 // Catch: java.util.concurrent.CancellationException -> L80
|
||
|
r9.L$1 = r8 // Catch: java.util.concurrent.CancellationException -> L80
|
||
|
r9.L$2 = r8 // Catch: java.util.concurrent.CancellationException -> L80
|
||
|
r9.label = r2 // Catch: java.util.concurrent.CancellationException -> L80
|
||
|
java.lang.Object r10 = r10.transform(r1, r6, r4) // Catch: java.util.concurrent.CancellationException -> L80
|
||
|
if (r10 != r0) goto L80
|
||
|
return r0
|
||
|
L80:
|
||
|
r10 = r5
|
||
|
goto L36
|
||
|
L82:
|
||
|
kotlin.Unit r9 = kotlin.Unit.INSTANCE
|
||
|
return r9
|
||
|
*/
|
||
|
throw new UnsupportedOperationException("Method not decompiled: androidx.compose.foundation.gestures.TransformableKt$transformable$3.AnonymousClass1.invokeSuspend(java.lang.Object):java.lang.Object");
|
||
|
}
|
||
|
}
|
||
|
});
|
||
|
}
|
||
|
}
|