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

import androidx.compose.runtime.Composable
import androidx.compose.runtime.ReadOnlyComposable
import androidx.compose.runtime.key
import androidx.compose.runtime.NonRestartableComposable


@NonRestartableComposable @Composable
fun Example(x: Int): Int {
    if (x > 0) {
        return R()
    }
    return R()
}

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

@NonRestartableComposable
@Composable
@FunctionKeyMeta(key = -170087108, startOffset = 227, endOffset = 312)
fun Example(x: Int, %composer: Composer?, %changed: Int): Int {
  %composer.startReplaceGroup(<>)
  sourceInformation(%composer, "C(Example)N(x)<R()>:Test.kt")
  if (isTraceInProgress()) {
    traceEventStart(<>, %changed, -1, <>)
  }
  if (x > 0) {
    %composer.startReplaceGroup(<>)
    sourceInformation(%composer, "<R()>")
    val tmp1_return = R(%composer, 0)
    %composer.endReplaceGroup()
    if (isTraceInProgress()) {
      traceEventEnd()
    }
    %composer.endReplaceGroup()
    return tmp1_return
  } else {
    %composer.startReplaceGroup(<>)
    %composer.endReplaceGroup()
  }
  val tmp0 = R(%composer, 0)
  if (isTraceInProgress()) {
    traceEventEnd()
  }
  %composer.endReplaceGroup()
  return tmp0
}
