(CommandList
  children: [
    (Assignment
      keyword: Assign_None
      pairs: [(assign_pair lhs:(LhsName name:tmpfiles) op:Equal rhs:{(DQ )} spids:[7])]
      spids: [7]
    )
    (C {(trap)} {(SQ <'rm -fr $tmpfiles'>)} {(1)} {(2)} {(3)} {(15)})
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:tmpfiles)
          op: Equal
          rhs: {(DQ ($ VSub_Name '$tmpfiles') (' t-select-out.out t-select-out.tmp'))}
          spids: [26]
        )
      ]
      spids: [26]
    )
    (C {(rm)} {(-f)} {(t-select-out.tmp)})
    (SimpleCommand
      words: [{(./test-select-fd) (${ VSub_Name EXEEXT)} {(w)} {(1)} {(t-select-out.tmp)}]
      redirects: [(Redir op_id:Redir_Great fd:-1 arg_word:{(t-select-out.out)} spids:[54])]
    )
    (AndOr
      children: [
        (C {(test)} 
          {
            (CommandSubPart
              command_list: (CommandList children:[(C {(cat)} {(t-select-out.tmp)})])
              left_token: <Left_Backtick '`'>
              spids: [60 64]
            )
          } {(Lit_Other '=')} {(DQ (1))}
        )
        (C {(exit)} {(1)})
      ]
      op_id: Op_DPipe
    )
    (If
      arms: [
        (if_arm
          cond: [(Sentence child:(C {(false)}) terminator:<Op_Semi ';'>)]
          action: [
            (C {(rm)} {(-f)} {(t-select-out.tmp)})
            (Subshell
              child: 
                (Pipeline
                  children: [
                    (BraceGroup
                      children: [
                        (Sentence
                          child: (C {(echo)} {(abc)})
                          terminator: <Op_Semi ';'>
                        )
                        (Sentence
                          child: 
                            (C {(./test-select-fd) (${ VSub_Name EXEEXT)} {(w)} {(1)} 
                              {(t-select-out.tmp)}
                            )
                          terminator: <Op_Semi ';'>
                        )
                      ]
                      spids: [103]
                    )
                    (BraceGroup
                      children: [
                        (Sentence
                          child: (C {(sleep)} {(1)})
                          terminator: <Op_Semi ';'>
                        )
                        (Sentence child:(C {(cat)}) terminator:<Op_Semi ';'>)
                      ]
                      spids: [126]
                    )
                  ]
                  negated: False
                )
              redirects: [(Redir op_id:Redir_Great fd:-1 arg_word:{(/dev/null)} spids:[140])]
              spids: [101 138]
            )
            (AndOr
              children: [
                (C {(test)} 
                  {
                    (CommandSubPart
                      command_list: (CommandList children:[(C {(cat)} {(t-select-out.tmp)})])
                      left_token: <Left_Backtick '`'>
                      spids: [147 151]
                    )
                  } {(Lit_Other '=')} {(DQ (0))}
                )
                (C {(exit)} {(1)})
              ]
              op_id: Op_DPipe
            )
          ]
          spids: [-1 88]
        )
      ]
      spids: [-1 165]
    )
    (C {(rm)} {(-f)} {(t-select-out.tmp)})
    (Subshell
      child: 
        (Pipeline
          children: [
            (BraceGroup
              children: [
                (Sentence child:(C {(sleep)} {(1)}) terminator:<Op_Semi ';'>)
                (Sentence child:(C {(echo)} {(abc)}) terminator:<Op_Semi ';'>)
                (Sentence
                  child: 
                    (C {(./test-select-fd) (${ VSub_Name EXEEXT)} {(w)} {(1)} {(t-select-out.tmp)})
                  terminator: <Op_Semi ';'>
                )
              ]
              spids: [176]
            )
            (C {(cat)})
          ]
          negated: False
        )
      redirects: [(Redir op_id:Redir_Great fd:-1 arg_word:{(/dev/null)} spids:[207])]
      spids: [174 205]
    )
    (AndOr
      children: [
        (C {(test)} 
          {
            (CommandSubPart
              command_list: (CommandList children:[(C {(cat)} {(t-select-out.tmp)})])
              left_token: <Left_Backtick '`'>
              spids: [213 217]
            )
          } {(Lit_Other '=')} {(DQ (1))}
        )
        (C {(exit)} {(1)})
      ]
      op_id: Op_DPipe
    )
    (C {(rm)} {(-f)} {(t-select-out.tmp)})
    (SimpleCommand
      words: [{(./test-select-fd) (${ VSub_Name EXEEXT)} {(w)} {(1)} {(t-select-out.tmp)}]
      redirects: [(Redir op_id:Redir_Great fd:-1 arg_word:{(/dev/null)} spids:[253])]
    )
    (AndOr
      children: [
        (C {(test)} 
          {
            (CommandSubPart
              command_list: (CommandList children:[(C {(cat)} {(t-select-out.tmp)})])
              left_token: <Left_Backtick '`'>
              spids: [259 263]
            )
          } {(Lit_Other '=')} {(DQ (1))}
        )
        (C {(exit)} {(1)})
      ]
      op_id: Op_DPipe
    )
    (C {(rm)} {(-fr)} {($ VSub_Name '$tmpfiles')})
    (C {(exit)} {(0)})
  ]
)