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

import androidx.compose.runtime.*

@Composable
fun Test() {
   ReceiveValue(if (getCondition() && state) 0 else 1)
}

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

@Composable
@FunctionKeyMeta(key = -1794342280, startOffset = 95, endOffset = 188)
fun Test(%composer: Composer?, %changed: Int) {
  %composer = %composer.startRestartGroup(<>)
  if (%composer.shouldExecute(%changed != 0, %changed and 0b0001)) {
    ReceiveValue(if (getCondition(%composer, 0) && state) 0 else 1, %composer, 0)
  } else {
    %composer.skipToGroupEnd()
  }
  %composer.endRestartGroup()?.updateScope { %composer: Composer?, %force: Int ->
    Test(%composer, updateChangedFlags(%changed or 0b0001))
  }
}
