(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_cortex_a8_b.stdout>} {(DQ <'.*ffe:\t.* \tb.w\t.*000 <.*>'>)})
    (C {<check>} {<arm_cortex_a8_b.stdout>} {(DQ <'.000:\t.* \tb.w\t.*100 <_func>'>)})
    (C {<check>} {<arm_cortex_a8_b_cond.stdout>} {(DQ <'.*ffe:\t.* \tb.w\t.*000 <.*>'>)})
    (C {<check>} {<arm_cortex_a8_b_cond.stdout>} {(DQ <'.000:\t.* \tbeq.n\t.*006 <.*>'>)})
    (C {<check>} {<arm_cortex_a8_b_cond.stdout>} {(DQ <'.002:\t.* \tb.w\t.*002 <.*>'>)})
    (C {<check>} {<arm_cortex_a8_b_cond.stdout>} {(DQ <'.006:\t.* \tb.w\t.*100 <_func>'>)})
    (C {<check>} {<arm_cortex_a8_bl.stdout>} {(DQ <'.*ffe:\t.* \tbl\t.*000 <.*>'>)})
    (C {<check>} {<arm_cortex_a8_bl.stdout>} {(DQ <'.000:\t.* \tb.w\t.*100 <_func>'>)})
    (C {<check>} {<arm_cortex_a8_blx.stdout>} {(DQ <'.*ffe:\t.* \tblx\t.*000 <.*>'>)})
    (C {<check>} {<arm_cortex_a8_blx.stdout>} {(DQ <'.000:\t.* \tb\t.*100 <_func>'>)})
    (C {<check>} {<arm_cortex_a8_local.stdout>} {(DQ <'.*ffe:\t.* \tb.w\t.*000 <.*>'>)})
    (C {<check>} {<arm_cortex_a8_local.stdout>} {(DQ <'.000:\t.* \tbpl.n\t.*006 <.*>'>)})
    (C {<check>} {<arm_cortex_a8_local.stdout>} {(DQ <'.002:\t.* \tb.w\t.*002 <.*>'>)})
    (C {<check>} {<arm_cortex_a8_local.stdout>} {(DQ <'.006:\t.* \tb.w\t.*100 <.*>'>)})
    (command.ControlFlow token:<Id.ControlFlow_Exit exit> arg_word:{<0>})
  ]
)