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

import androidx.compose.runtime.*
import androidx.compose.foundation.layout.*

@Composable
fun Label(test: Boolean) {
    OuterComposableFunction {
        Column {
            if (test) return@OuterComposableFunction
        }
    }
}

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

@Composable
@ComposableTarget(applier = "androidx.compose.ui.UiComposable")
@FunctionKeyMeta(key = 1339463994, startOffset = 140, endOffset = 356)
fun Label(test: Boolean, %composer: Composer?, %changed: Int) {
  %composer = %composer.startRestartGroup(<>)
  val %dirty = %changed
  if (%changed and 0b0110 == 0) {
    %dirty = %dirty or if (%composer.changed(test)) 0b0100 else 0b0010
  }
  if (%composer.shouldExecute(%dirty and 0b0011 != 0b0010, %dirty and 0b0001)) {
    OuterComposableFunction(rememberComposableLambda(<>, true, { %composer: Composer?, %changed: Int ->
      val tmp0_marker = %composer.currentMarker
      if (%composer.shouldExecute(%changed and 0b0011 != 0b0010, %changed and 0b0001)) {
        Column(null, null, null, { %composer: Composer?, %changed: Int ->
          %composer.startReplaceGroup(<>)
          if (test) {
            %composer.endToMarker(tmp0_marker)
            return@rememberComposableLambda
          }
          %composer.endReplaceGroup()
        }, %composer, 0, 0b0111)
      } else {
        %composer.skipToGroupEnd()
      }
    }, %composer, 0b00110110), %composer, 0b0110)
  } else {
    %composer.skipToGroupEnd()
  }
  %composer.endRestartGroup()?.updateScope { %composer: Composer?, %force: Int ->
    Label(test, %composer, updateChangedFlags(%changed or 0b0001))
  }
}
