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

import androidx.compose.runtime.*

@Composable
fun <T> Ref(content: @Composable (T) -> Unit) {
    Ref<T>(::Fn)
    Ref(::IntFn)
}

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

@Composable
@FunctionKeyMeta(key = -165560361, startOffset = 84, endOffset = 203)
fun <T> Ref(content: Function3<T, Composer, Int, Unit>, %composer: Composer?, %changed: Int) {
  %composer = %composer.startRestartGroup(<>)
  sourceInformation(%composer, "C(Ref)N(content)<::Fn>,<Ref<T>...>,<::IntF...>,<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 <T> Fn(t: T?, %composer: Composer?, %changed: Int) {
          Fn(t, %composer, 0b1000 and %changed or 0b1110 and %changed, 0)
        }
        ::Fn
      }
      sourceInformationMarkerEnd(%composer)
      tmp0_group
    }, %composer, 0b0110)
    Ref(<block>{
      sourceInformationMarkerStart(%composer, <>, "CC(remember):Test.kt#9igjgp")
      val tmp1_group = %composer.cache(false) {
        @Composable
        fun IntFn(t: Int, %composer: Composer?, %changed: Int) {
          IntFn(t, %composer, 0b1110 and %changed, 0)
        }
        ::IntFn
      }
      sourceInformationMarkerEnd(%composer)
      tmp1_group
    }, %composer, 0b0110)
    if (isTraceInProgress()) {
      traceEventEnd()
    }
  } else {
    %composer.skipToGroupEnd()
  }
  %composer.endRestartGroup()?.updateScope { %composer: Composer?, %force: Int ->
    Ref(content, %composer, updateChangedFlags(%changed or 0b0001))
  }
}
