(command.CommandList
  children: [
    (command.ShFunction
      name: check
      body: 
        (BraceGroup
          children: [
            (command.If
              arms: [
                (if_arm
                  cond: 
                    (condition.Shell
                      commands: [
                        (command.Pipeline
                          children: [
                            (C {<grep>} {<-q>} {(DQ ($ Id.VSub_Number '$2'))} 
                              {(DQ ($ Id.VSub_Number '$1'))}
                            )
                          ]
                          negated: T
                        )
                      ]
                    )
                  action: [
                    (C {<echo>} 
                      {(DQ <'Did not find expected instruction in '> ($ Id.VSub_Number '$1') <':'>)}
                    )
                    (C {<echo>} {(DQ <'   '> ($ Id.VSub_Number '$2'))})
                    (C {<echo>} {(DQ )})
                    (C {<echo>} {(DQ <'Actual instructions below:'>)})
                    (C {<cat>} {(DQ ($ Id.VSub_Number '$1'))})
                    (command.ControlFlow
                      token: <Id.ControlFlow_Exit exit>
                      arg_word: {<1>}
                    )
                  ]
                  spids: [72 89]
                )
              ]
            )
          ]
        )
    )
    (C {<check>} {<arm_fix_v4bx.stdout>} {(DQ <'.*00:\t.* \tmov\tpc, r0'>)})
    (C {<check>} {<arm_fix_v4bx.stdout>} {(DQ <'.*04:\t.* \tmov\tpc, pc'>)})
    (C {<check>} {<arm_fix_v4bx_interworking.stdout>} {(DQ <'.*00:\t.* \tb\t.*00 <.*>'>)})
    (C {<check>} {<arm_fix_v4bx_interworking.stdout>} {(DQ <'.*04:\t.* \tmov\tpc, pc'>)})
    (C {<check>} {<arm_fix_v4bx_interworking.stdout>} {(DQ <'.*00:\t.* \ttst\tr0, #1'>)})
    (C {<check>} {<arm_fix_v4bx_interworking.stdout>} {(DQ <'.*04:\t.* \tmoveq\tpc, r0'>)})
    (C {<check>} {<arm_fix_v4bx_interworking.stdout>} {(DQ <'.*08:\t.* \tbx\tr0'>)})
    (C {<check>} {<arm_no_fix_v4bx.stdout>} {(DQ <'.*00:\t.* \tbx\tr0'>)})
    (C {<check>} {<arm_no_fix_v4bx.stdout>} {(DQ <'.*04:\t.* \tbx\tpc'>)})
    (command.ControlFlow token:<Id.ControlFlow_Exit exit> arg_word:{<0>})
  ]
)