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

import androidx.compose.runtime.Composable


context(foo: Foo, bar: Bar, fooBar: FooBar)
@Composable
fun String.B(a: Int, b: String = "", c: Int = 1) { }

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

@Composable
@FunctionKeyMeta(key = -495795804, startOffset = 101, endOffset = 153)
context(foo: Foo, bar: Bar, fooBar: FooBar)
fun String.B(a: Int, b: String?, c: Int, %composer: Composer?, %changed: Int, %default: Int) {
  %composer = %composer.startRestartGroup(<>)
  sourceInformation(%composer, "C(B)N(foo,bar,fooBar,a,b,c):Test.kt")
  if (%composer.shouldExecute(%changed and 0b0001 != 0, %changed and 0b0001)) {
    if (%default and 0b0010 != 0) {
      b = ""
    }
    if (%default and 0b0100 != 0) {
      c = 1
    }
    if (isTraceInProgress()) {
      traceEventStart(<>, %changed, -1, <>)
    }
    if (isTraceInProgress()) {
      traceEventEnd()
    }
  } else {
    %composer.skipToGroupEnd()
  }
  %composer.endRestartGroup()?.updateScope { %composer: Composer?, %force: Int ->
    B(foo, bar, fooBar, a, b, c, %composer, updateChangedFlags(%changed or 0b0001), %default)
  }
}
