Skip to content

Instantly share code, notes, and snippets.

@matthunz
Created July 1, 2023 23:53
Show Gist options
  • Save matthunz/1d97b1aff5fa27851e7de0a5cc6eb602 to your computer and use it in GitHub Desktop.
Save matthunz/1d97b1aff5fa27851e7de0a5cc6eb602 to your computer and use it in GitHub Desktop.
@Composable
public static final void A(final int x, final int y, @Nullable Composer $composer, final int $changed) {
$composer = $composer.startRestartGroup(-1513727942);
ComposerKt.sourceInformation($composer, "C(A)32@866L4,33@875L4:MainActivity.kt#ptgicz");
int $dirty = $changed;
if (($changed & 14) == 0) {
$dirty = $changed | ($composer.changed(x) ? 4 : 2);
}
if (($changed & 112) == 0) {
$dirty |= $composer.changed(y) ? 32 : 16;
}
if (($dirty & 91) == 18 && $composer.getSkipping()) {
$composer.skipToGroupEnd();
} else {
if (ComposerKt.isTraceInProgress()) {
ComposerKt.traceEventStart(-1513727942, $dirty, -1, "com.example.myapplication.A (MainActivity.kt:31)");
}
B(x, $composer, 14 & $dirty);
B(y, $composer, 14 & $dirty >> 3);
if (ComposerKt.isTraceInProgress()) {
ComposerKt.traceEventEnd();
}
}
ScopeUpdateScope var10000 = $composer.endRestartGroup();
if (var10000 != null) {
var10000.updateScope((Function2)(new Function2() {
public final void invoke(@Nullable Composer $composer, int $force) {
MainActivityKt.A(x, y, $composer, $changed | 1);
}
}));
}
}
@Composable
public static final void B(final int n, @Nullable Composer $composer, final int $changed) {
$composer = $composer.startRestartGroup(909802136);
ComposerKt.sourceInformation($composer, "C(B):MainActivity.kt#ptgicz");
int $dirty = $changed;
if (($changed & 14) == 0) {
$dirty = $changed | ($composer.changed(n) ? 4 : 2);
}
if (($dirty & 11) == 2 && $composer.getSkipping()) {
$composer.skipToGroupEnd();
} else {
if (ComposerKt.isTraceInProgress()) {
ComposerKt.traceEventStart(909802136, $changed, -1, "com.example.myapplication.B (MainActivity.kt:37)");
}
System.out.println(n);
if (ComposerKt.isTraceInProgress()) {
ComposerKt.traceEventEnd();
}
}
ScopeUpdateScope var10000 = $composer.endRestartGroup();
if (var10000 != null) {
var10000.updateScope((Function2)(new Function2() {
public final void invoke(@Nullable Composer $composer, int $force) {
MainActivityKt.B(n, $composer, $changed | 1);
}
}));
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment