FILE fqName:<root> fileName:/callWithReorderedArguments.kt
  FUN name:foo visibility:public modality:FINAL <> (a:kotlin.Int, b:kotlin.Int) returnType:kotlin.Unit flags:[]
    VALUE_PARAMETER name:a index:0 type:kotlin.Int flags:[]
    VALUE_PARAMETER name:b index:1 type:kotlin.Int flags:[]
    BLOCK_BODY
  FUN name:noReorder1 visibility:public modality:FINAL <> () returnType:kotlin.Int flags:[]
    BLOCK_BODY
      RETURN type=kotlin.Nothing from='FUN name:noReorder1 visibility:public modality:FINAL <> () returnType:kotlin.Int flags:[]'
        CONST Int type=kotlin.Int value=1
  FUN name:noReorder2 visibility:public modality:FINAL <> () returnType:kotlin.Int flags:[]
    BLOCK_BODY
      RETURN type=kotlin.Nothing from='FUN name:noReorder2 visibility:public modality:FINAL <> () returnType:kotlin.Int flags:[]'
        CONST Int type=kotlin.Int value=2
  FUN name:reordered1 visibility:public modality:FINAL <> () returnType:kotlin.Int flags:[]
    BLOCK_BODY
      RETURN type=kotlin.Nothing from='FUN name:reordered1 visibility:public modality:FINAL <> () returnType:kotlin.Int flags:[]'
        CONST Int type=kotlin.Int value=1
  FUN name:reordered2 visibility:public modality:FINAL <> () returnType:kotlin.Int flags:[]
    BLOCK_BODY
      RETURN type=kotlin.Nothing from='FUN name:reordered2 visibility:public modality:FINAL <> () returnType:kotlin.Int flags:[]'
        CONST Int type=kotlin.Int value=2
  FUN name:test visibility:public modality:FINAL <> () returnType:kotlin.Unit flags:[]
    BLOCK_BODY
      CALL 'FUN name:foo visibility:public modality:FINAL <> (a:kotlin.Int, b:kotlin.Int) returnType:kotlin.Unit flags:[]' type=kotlin.Unit origin=null
        a: CALL 'FUN name:noReorder1 visibility:public modality:FINAL <> () returnType:kotlin.Int flags:[]' type=kotlin.Int origin=null
        b: CALL 'FUN name:noReorder2 visibility:public modality:FINAL <> () returnType:kotlin.Int flags:[]' type=kotlin.Int origin=null
      BLOCK type=kotlin.Unit origin=ARGUMENTS_REORDERING_FOR_CALL
        VAR IR_TEMPORARY_VARIABLE name:tmp0_b type:kotlin.Int flags:[val]
          CALL 'FUN name:reordered1 visibility:public modality:FINAL <> () returnType:kotlin.Int flags:[]' type=kotlin.Int origin=null
        VAR IR_TEMPORARY_VARIABLE name:tmp1_a type:kotlin.Int flags:[val]
          CALL 'FUN name:reordered2 visibility:public modality:FINAL <> () returnType:kotlin.Int flags:[]' type=kotlin.Int origin=null
        CALL 'FUN name:foo visibility:public modality:FINAL <> (a:kotlin.Int, b:kotlin.Int) returnType:kotlin.Unit flags:[]' type=kotlin.Unit origin=null
          a: GET_VAR 'VAR IR_TEMPORARY_VARIABLE name:tmp1_a type:kotlin.Int flags:[val]' type=kotlin.Int origin=null
          b: GET_VAR 'VAR IR_TEMPORARY_VARIABLE name:tmp0_b type:kotlin.Int flags:[val]' type=kotlin.Int origin=null
      BLOCK type=kotlin.Unit origin=ARGUMENTS_REORDERING_FOR_CALL
        VAR IR_TEMPORARY_VARIABLE name:tmp2_b type:kotlin.Int flags:[val]
          CONST Int type=kotlin.Int value=1
        VAR IR_TEMPORARY_VARIABLE name:tmp3_a type:kotlin.Int flags:[val]
          CALL 'FUN name:reordered2 visibility:public modality:FINAL <> () returnType:kotlin.Int flags:[]' type=kotlin.Int origin=null
        CALL 'FUN name:foo visibility:public modality:FINAL <> (a:kotlin.Int, b:kotlin.Int) returnType:kotlin.Unit flags:[]' type=kotlin.Unit origin=null
          a: GET_VAR 'VAR IR_TEMPORARY_VARIABLE name:tmp3_a type:kotlin.Int flags:[val]' type=kotlin.Int origin=null
          b: GET_VAR 'VAR IR_TEMPORARY_VARIABLE name:tmp2_b type:kotlin.Int flags:[val]' type=kotlin.Int origin=null
