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

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


import androidx.compose.runtime.ExplicitGroupsComposable

@Composable
@ExplicitGroupsComposable
fun A(foo: Foo) {
    foo.b()
}

@Composable
@ExplicitGroupsComposable
inline fun Foo.b(label: String = "") {
    c(this, label)
}

@Composable
@ExplicitGroupsComposable
inline fun c(foo: Foo, label: String) {
    print(label)
}

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

@Composable
@ExplicitGroupsComposable
@FunctionKeyMeta(key = -433742449, startOffset = 249, endOffset = 280)
fun A(foo: Foo, %composer: Composer?, %changed: Int) {
  sourceInformationMarkerStart(%composer, <>, "C(A)<b()>:Test.kt")
  if (isTraceInProgress()) {
    traceEventStart(<>, %changed, -1, <>)
  }
  foo.b(null, %composer, 0b1110 and %changed, 0b0001)
  if (isTraceInProgress()) {
    traceEventEnd()
  }
  sourceInformationMarkerEnd(%composer)
}
@Composable
@ExplicitGroupsComposable
@FunctionKeyMeta(key = -1783581965, startOffset = 327, endOffset = 379)
fun Foo.b(label: String?, %composer: Composer?, %changed: Int, %default: Int) {
  sourceInformationMarkerStart(%composer, <>, "CC(b)<c(this...>:Test.kt")
  if (%default and 0b0001 != 0) {
    label = ""
  }
  c(<this>, label as String, %composer, 0b1110 and %changed or 0b01110000 and %changed)
  sourceInformationMarkerEnd(%composer)
}
@Composable
@ExplicitGroupsComposable
@FunctionKeyMeta(key = -1344500170, startOffset = 426, endOffset = 477)
fun c(foo: Foo, label: String, %composer: Composer?, %changed: Int) {
  sourceInformationMarkerStart(%composer, <>, "CC(c):Test.kt")
  print(label)
  sourceInformationMarkerEnd(%composer)
}
