(CommandList
  children: [
    (FuncDef
      name: check
      body: 
        (BraceGroup
          children: [
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:file)
                  op: Equal
                  rhs: {($ VSub_Number '$1')}
                  spids: [78]
                )
              ]
              spids: [78]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:pattern)
                  op: Equal
                  rhs: {($ VSub_Number '$2')}
                  spids: [82]
                )
              ]
              spids: [82]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:found)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (C {(grep)} {(DQ ($ VSub_Name '$pattern'))} {($ VSub_Name '$file')})
                            ]
                          )
                        left_token: <Left_Backtick '`'>
                        spids: [88 96]
                      )
                    }
                  spids: [87]
                )
              ]
              spids: [87]
            )
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: (C {(test)} {(-z)} {(DQ ($ VSub_Name '$found'))})
                      terminator: <Op_Semi ';'>
                    )
                  ]
                  action: [
                    (C {(echo)} 
                      {
                        (DQ ('pattern ') (EscapedLiteralPart token:<Lit_EscapedChar '\\"'>) 
                          ($ VSub_Name '$pattern') (EscapedLiteralPart token:<Lit_EscapedChar '\\"'>) (' not found in file ') ($ VSub_Name '$file') (.)
                        )
                      }
                    )
                    (ControlFlow token:<ControlFlow_Exit exit> arg_word:{(1)})
                  ]
                  spids: [16777215 110]
                )
              ]
              spids: [16777215 131]
            )
          ]
          spids: [75]
        )
      spids: [71 74]
    )
    (C {(check)} {(arm_bl_in_range.stdout)} 
      {(DQ (' 4000004:\teb800000 \tbl\t200000c <_backward_target>'))}
    )
    (C {(check)} {(arm_bl_in_range.stdout)} 
      {(DQ (' 4000008:\teb7fffff \tbl\t600000c <_forward_target>'))}
    )
    (C {(check)} {(thumb_bl_in_range.stdout)} 
      {(DQ (' 800004:\tf400 f800 \tbl\t400008 <_backward_target>'))}
    )
    (C {(check)} {(thumb_bl_in_range.stdout)} 
      {(DQ (' 800008:\tf3ff ffff \tbl\tc0000a <_forward_target>'))}
    )
    (C {(check)} {(thumb2_bl_in_range.stdout)} 
      {(DQ (' 2000004:\tf400 d000 \tbl\t1000008 <_backward_target>'))}
    )
    (C {(check)} {(thumb2_bl_in_range.stdout)} 
      {(DQ (' 2000008:\tf3ff d7ff \tbl\t300000a <_forward_target>'))}
    )
    (C {(check)} {(thumb_blx_in_range.stdout)} 
      {(DQ (' 800006:\tf400 e800 \tblx\t400008 <_backward_target>'))}
    )
    (C {(check)} {(thumb_blx_in_range.stdout)} 
      {(DQ (' 80000c:\tf3ff effe \tblx\tc0000c <_forward_target>'))}
    )
    (C {(check)} {(thumb2_blx_in_range.stdout)} 
      {(DQ (' 2000006:\tf400 c000 \tblx\t1000008 <_backward_target>'))}
    )
    (C {(check)} {(thumb2_blx_in_range.stdout)} 
      {(DQ (' 200000c:\tf3ff c7fe \tblx\t300000c <_forward_target>'))}
    )
    (C {(check)} {(arm_thm_jump11.stdout)} {(DQ ('    8804:\te400      \tb.n\t8008 <_backward_target>'))})
    (C {(check)} {(arm_thm_jump11.stdout)} {(DQ ('    8806:\te3ff      \tb.n\t9008 <_forward_target>'))})
    (C {(check)} {(arm_thm_jump8.stdout)} 
      {(DQ ('    8104:\td080      \tbeq.n\t8008 <_backward_target>'))}
    )
    (C {(check)} {(arm_thm_jump8.stdout)} {(DQ ('    8106:\td07f      \tbeq.n\t8208 <_forward_target>'))})
    (ControlFlow token:<ControlFlow_Exit exit> arg_word:{(0)})
  ]
)