mirror of
https://github.com/VibedByKaKi/alexandroid.git
synced 2026-11-13 09:27:16 +01:00
123 lines
7.5 KiB
Java
123 lines
7.5 KiB
Java
package androidx.compose.runtime;
|
|
|
|
import androidx.exifinterface.media.ExifInterface;
|
|
import com.amazon.alexa.ra.core.data.fragments.SmartFragmentContent;
|
|
import kotlin.Metadata;
|
|
import kotlin.Unit;
|
|
import kotlin.coroutines.CoroutineContext;
|
|
import kotlin.jvm.functions.Function1;
|
|
import kotlin.jvm.internal.SourceDebugExtension;
|
|
import org.jetbrains.annotations.NotNull;
|
|
|
|
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
|
|
@Metadata(d1 = {"\u00004\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0010\u0001\n\u0000\n\u0002\u0018\u0002\n\u0002\u0010\u0002\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\b\u0005\b\u0002\u0018\u0000*\u0004\b\u0000\u0010\u00012\b\u0012\u0004\u0012\u0002H\u00010\u00022\b\u0012\u0004\u0012\u0002H\u00010\u0003B\u001d\u0012\f\u0010\u0004\u001a\b\u0012\u0004\u0012\u00028\u00000\u0003\u0012\u0006\u0010\u0005\u001a\u00020\u0006¢\u0006\u0004\b\u0007\u0010\bJ\u001c\u0010\u000b\u001a\u00020\f2\f\u0010\r\u001a\b\u0012\u0004\u0012\u00020\u000f0\u000eH\u0096@¢\u0006\u0002\u0010\u0010J\u000e\u0010\u0011\u001a\u00028\u0000H\u0096\u0003¢\u0006\u0002\u0010\u0012J\u0015\u0010\u0013\u001a\u000e\u0012\u0004\u0012\u00028\u0000\u0012\u0004\u0012\u00020\u000f0\u0014H\u0096\u0003R\u0014\u0010\u0005\u001a\u00020\u0006X\u0096\u0004¢\u0006\b\n\u0000\u001a\u0004\b\t\u0010\nR\u0018\u0010\u0015\u001a\u00028\u0000X\u0096\u000f¢\u0006\f\u001a\u0004\b\u0016\u0010\u0012\"\u0004\b\u0017\u0010\u0018¨\u0006\u0019"}, d2 = {"Landroidx/compose/runtime/ProduceStateScopeImpl;", ExifInterface.GPS_DIRECTION_TRUE, "Landroidx/compose/runtime/ProduceStateScope;", "Landroidx/compose/runtime/MutableState;", "state", "coroutineContext", "Lkotlin/coroutines/CoroutineContext;", "<init>", "(Landroidx/compose/runtime/MutableState;Lkotlin/coroutines/CoroutineContext;)V", "getCoroutineContext", "()Lkotlin/coroutines/CoroutineContext;", "awaitDispose", "", "onDispose", "Lkotlin/Function0;", "", "(Lkotlin/jvm/functions/Function0;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "component1", "()Ljava/lang/Object;", "component2", "Lkotlin/Function1;", "value", "getValue", "setValue", "(Ljava/lang/Object;)V", SmartFragmentContent.RUNTIME}, k = 1, mv = {2, 0, 0}, xi = 48)
|
|
@SourceDebugExtension({"SMAP\nProduceState.kt\nKotlin\n*S Kotlin\n*F\n+ 1 ProduceState.kt\nandroidx/compose/runtime/ProduceStateScopeImpl\n+ 2 CancellableContinuation.kt\nkotlinx/coroutines/CancellableContinuationKt\n*L\n1#1,207:1\n318#2,11:208\n*S KotlinDebug\n*F\n+ 1 ProduceState.kt\nandroidx/compose/runtime/ProduceStateScopeImpl\n*L\n49#1:208,11\n*E\n"})
|
|
/* loaded from: classes13.dex */
|
|
final class ProduceStateScopeImpl<T> implements ProduceStateScope<T>, MutableState<T> {
|
|
private final /* synthetic */ MutableState<T> $$delegate_0;
|
|
|
|
@NotNull
|
|
private final CoroutineContext coroutineContext;
|
|
|
|
public ProduceStateScopeImpl(@NotNull MutableState<T> mutableState, @NotNull CoroutineContext coroutineContext) {
|
|
this.$$delegate_0 = mutableState;
|
|
this.coroutineContext = coroutineContext;
|
|
}
|
|
|
|
/* JADX WARN: Removed duplicated region for block: B:18:0x0036 */
|
|
/* JADX WARN: Removed duplicated region for block: B:9:0x0023 */
|
|
@Override // androidx.compose.runtime.ProduceStateScope
|
|
@org.jetbrains.annotations.Nullable
|
|
/*
|
|
Code decompiled incorrectly, please refer to instructions dump.
|
|
To view partially-correct add '--show-bad-code' argument
|
|
*/
|
|
public java.lang.Object awaitDispose(@org.jetbrains.annotations.NotNull kotlin.jvm.functions.Function0<kotlin.Unit> r5, @org.jetbrains.annotations.NotNull kotlin.coroutines.Continuation<?> r6) {
|
|
/*
|
|
r4 = this;
|
|
boolean r0 = r6 instanceof androidx.compose.runtime.ProduceStateScopeImpl$awaitDispose$1
|
|
if (r0 == 0) goto L13
|
|
r0 = r6
|
|
androidx.compose.runtime.ProduceStateScopeImpl$awaitDispose$1 r0 = (androidx.compose.runtime.ProduceStateScopeImpl$awaitDispose$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.runtime.ProduceStateScopeImpl$awaitDispose$1 r0 = new androidx.compose.runtime.ProduceStateScopeImpl$awaitDispose$1
|
|
r0.<init>(r4, r6)
|
|
L18:
|
|
java.lang.Object r4 = r0.result
|
|
java.lang.Object r6 = kotlin.coroutines.intrinsics.IntrinsicsKt.getCOROUTINE_SUSPENDED()
|
|
int r1 = r0.label
|
|
r2 = 1
|
|
if (r1 == 0) goto L36
|
|
if (r1 == r2) goto L2c
|
|
java.lang.String r4 = "call to 'resume' before 'invoke' with coroutine"
|
|
rx.Single$$ExternalSyntheticBUOutline0.m$2(r4)
|
|
r4 = 0
|
|
return r4
|
|
L2c:
|
|
java.lang.Object r5 = r0.L$0
|
|
kotlin.jvm.functions.Function0 r5 = (kotlin.jvm.functions.Function0) r5
|
|
kotlin.ResultKt.throwOnFailure(r4) // Catch: java.lang.Throwable -> L34
|
|
goto L59
|
|
L34:
|
|
r4 = move-exception
|
|
goto L5f
|
|
L36:
|
|
kotlin.ResultKt.throwOnFailure(r4)
|
|
r0.L$0 = r5 // Catch: java.lang.Throwable -> L34
|
|
r0.label = r2 // Catch: java.lang.Throwable -> L34
|
|
kotlinx.coroutines.CancellableContinuationImpl r4 = new kotlinx.coroutines.CancellableContinuationImpl // Catch: java.lang.Throwable -> L34
|
|
kotlin.coroutines.Continuation r1 = kotlin.coroutines.intrinsics.IntrinsicsKt.intercepted(r0) // Catch: java.lang.Throwable -> L34
|
|
r4.<init>(r1, r2) // Catch: java.lang.Throwable -> L34
|
|
r4.initCancellability() // Catch: java.lang.Throwable -> L34
|
|
java.lang.Object r4 = r4.getResult() // Catch: java.lang.Throwable -> L34
|
|
java.lang.Object r1 = kotlin.coroutines.intrinsics.IntrinsicsKt.getCOROUTINE_SUSPENDED() // Catch: java.lang.Throwable -> L34
|
|
if (r4 != r1) goto L56
|
|
kotlin.coroutines.jvm.internal.DebugProbesKt.probeCoroutineSuspended(r0) // Catch: java.lang.Throwable -> L34
|
|
L56:
|
|
if (r4 != r6) goto L59
|
|
return r6
|
|
L59:
|
|
kotlin.KotlinNothingValueException r4 = new kotlin.KotlinNothingValueException // Catch: java.lang.Throwable -> L34
|
|
r4.<init>() // Catch: java.lang.Throwable -> L34
|
|
throw r4 // Catch: java.lang.Throwable -> L34
|
|
L5f:
|
|
r5.invoke()
|
|
throw r4
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: androidx.compose.runtime.ProduceStateScopeImpl.awaitDispose(kotlin.jvm.functions.Function0, kotlin.coroutines.Continuation):java.lang.Object");
|
|
}
|
|
|
|
@Override // androidx.compose.runtime.MutableState
|
|
public T component1() {
|
|
return this.$$delegate_0.component1();
|
|
}
|
|
|
|
@Override // androidx.compose.runtime.MutableState
|
|
@NotNull
|
|
public Function1<T, Unit> component2() {
|
|
return this.$$delegate_0.component2();
|
|
}
|
|
|
|
@Override // kotlinx.coroutines.CoroutineScope
|
|
@NotNull
|
|
public CoroutineContext getCoroutineContext() {
|
|
return this.coroutineContext;
|
|
}
|
|
|
|
@Override // androidx.compose.runtime.MutableState, androidx.compose.runtime.State
|
|
public T getValue() {
|
|
return this.$$delegate_0.getValue();
|
|
}
|
|
|
|
@Override // androidx.compose.runtime.MutableState
|
|
public void setValue(T t) {
|
|
this.$$delegate_0.setValue(t);
|
|
}
|
|
}
|