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

import androidx.compose.runtime.*

fun interface Consumer {
    fun consume(t: Int)
}

@Composable fun Test(int: Int) {
    Example {
        println(it)
    }
}

@Composable inline fun Example(consumer: Consumer) {
}

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

interface Consumer {
  abstract fun consume(t: Int)
}
@Composable
@FunctionKeyMeta(key = -1502623783, startOffset = 160, endOffset = 270)
fun Test(int: Int, %composer: Composer?, %changed: Int) {
  %composer = %composer.startRestartGroup(<>)
  sourceInformation(%composer, "C(Test)<Exampl...>:Test.kt")
  if (%composer.shouldExecute(%changed and 0b0001 != 0, %changed and 0b0001)) {
    if (isTraceInProgress()) {
      traceEventStart(<>, %changed, -1, <>)
    }
    Example(Consumer { it: Int ->
      println(it)
    }, %composer, 0b0110)
    if (isTraceInProgress()) {
      traceEventEnd()
    }
  } else {
    %composer.skipToGroupEnd()
  }
  %composer.endRestartGroup()?.updateScope { %composer: Composer?, %force: Int ->
    Test(int, %composer, updateChangedFlags(%changed or 0b0001))
  }
}
@Composable
@FunctionKeyMeta(key = -1139663906, startOffset = 303, endOffset = 350)
fun Example(consumer: Consumer, %composer: Composer?, %changed: Int) {
  sourceInformationMarkerStart(%composer, <>, "CC(Example):Test.kt")
  sourceInformationMarkerEnd(%composer)
}
