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

import androidx.compose.runtime.*

@Composable
fun Ref(content: @Composable () -> Int) {
    Ref(::Fn)
}

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

@Composable
@FunctionKeyMeta(key = -176876488, startOffset = 84, endOffset = 165)
fun Ref(content: Function2<Composer, Int, Int>, %composer: Composer?, %changed: Int) {
  %composer = %composer.startRestartGroup(<>)
  sourceInformation(%composer, "C(Ref)N(content)<::Fn>,<Ref(::...>:Test.kt")
  if (%composer.shouldExecute(%changed and 0b0001 != 0, %changed and 0b0001)) {
    if (isTraceInProgress()) {
      traceEventStart(<>, %changed, -1, <>)
    }
    Ref(<block>{
      sourceInformationMarkerStart(%composer, <>, "CC(remember):Test.kt#9igjgp")
      val tmp0_group = %composer.cache(false) {
        @Composable
        fun Fn(%composer: Composer?, %changed: Int): Int {
          %composer.startReplaceGroup(<>)
          sourceInformation(%composer, "C(Fn):Test.kt")
          val tmp0 = Fn(0, %composer, 0, 0b0001)
          %composer.endReplaceGroup()
          return tmp0
        }
        ::Fn
      }
      sourceInformationMarkerEnd(%composer)
      tmp0_group
    }, %composer, 0b0110)
    if (isTraceInProgress()) {
      traceEventEnd()
    }
  } else {
    %composer.skipToGroupEnd()
  }
  %composer.endRestartGroup()?.updateScope { %composer: Composer?, %force: Int ->
    Ref(content, %composer, updateChangedFlags(%changed or 0b0001))
  }
}
