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

import androidx.compose.runtime.*

@Composable
fun Test() {
    key(1) {
        return
        Test()
    }
}

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

@Composable
@FunctionKeyMeta(key = -1794342280, startOffset = 84, endOffset = 207)
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, <>)
    }
    %composer.startMovableGroup(<>, 1)
    sourceInformation(%composer, "<Test()>")
    %composer.endMovableGroup()
    if (isTraceInProgress()) {
      traceEventEnd()
    }
    %composer.endRestartGroup()?.updateScope { %composer: Composer?, %force: Int ->
      Test(%composer, updateChangedFlags(%changed or 0b0001))
    }
    return
    Test(%composer, 0)
    %composer.endMovableGroup()
    if (isTraceInProgress()) {
      traceEventEnd()
    }
  } else {
    %composer.skipToGroupEnd()
  }
  %composer.endRestartGroup()?.updateScope { %composer: Composer?, %force: Int ->
    Test(%composer, updateChangedFlags(%changed or 0b0001))
  }
}
