//
// Source
// ------------------------------------------

import androidx.compose.runtime.Composable

@Composable fun Test() {
    run {
        if (true) {
            return@run
        } else {
            Test()
            return@run
        }
    }
}

//
// Transformed IR
// ------------------------------------------

@Composable
@FunctionKeyMeta(key = -1794342280, startOffset = 81, endOffset = 331)
fun Test(%composer: Composer?, %changed: Int) {
  %composer = %composer.startRestartGroup(<>)
  sourceInformation(%composer, "C(Test):Test.kt")
  if (%composer.shouldExecute(%changed != 0, %changed and 0b0001)) {
    if (isTraceInProgress()) {
      traceEventStart(<>, %changed, -1, <>)
    }
    run {
      if (true) {
        %composer.startReplaceGroup(<>)
        %composer.endReplaceGroup()
        return@run
      } else {
        %composer.startReplaceGroup(<>)
        sourceInformation(%composer, "<Test()>")
        Test(%composer, 0)
        %composer.endReplaceGroup()
        return@run
      }
    }
    if (isTraceInProgress()) {
      traceEventEnd()
    }
  } else {
    %composer.skipToGroupEnd()
  }
  %composer.endRestartGroup()?.updateScope { %composer: Composer?, %force: Int ->
    Test(%composer, updateChangedFlags(%changed or 0b0001))
  }
}
