(command.If
  arms: [
    (if_arm
      cond: 
        (condition.Shell
          commands: [
            (command.Sentence
              child: 
                (command.DParen
                  child: 
                    (arith_expr.Binary
                      op_id: Id.Arith_Less
                      left: {($ Id.VSub_Pound '$#')}
                      right: {<Id.Lit_Digits 2>}
                    )
                )
              terminator: <Id.Op_Semi _>
            )
          ]
        )
      action: [
        (C {<echo>} {(DQ <'Usage: '> ($ Id.VSub_Number '$0') <' compilerlist.txt benchfile.cpp'>)})
      ]
      spids: [4 16]
    )
  ]
  else_action: [
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name name:compilerlist)
          op: assign_op.Equal
          rhs: {($ Id.VSub_Number '$1')}
          spids: [30]
        )
      ]
    )
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name name:benchfile)
          op: assign_op.Equal
          rhs: {($ Id.VSub_Number '$2')}
          spids: [33]
        )
      ]
    )
    (command.ShAssignment
      pairs: [(assign_pair lhs:(sh_lhs_expr.Name name:g) op:assign_op.Equal rhs:{<0>} spids:[37])]
    )
    (C {<source>} {($ Id.VSub_DollarName '$compilerlist')})
    (command.ForExpr
      init: 
        (arith_expr.BinaryAssign
          op_id: Id.Arith_Equal
          left: <Id.Lit_ArithVarLike i>
          right: {<Id.Lit_Digits 0>}
        )
      cond: 
        (arith_expr.Binary
          op_id: Id.Arith_Less
          left: <Id.Lit_ArithVarLike i>
          right: <Id.Lit_ArithVarLike g>
        )
      update: (arith_expr.UnaryAssign op_id:Id.Arith_DPlus child:<Id.Lit_ArithVarLike i>)
      body: 
        (command.DoGroup
          children: [
            (command.ShAssignment
              pairs: [
                (assign_pair
                  lhs: (sh_lhs_expr.Name name:compiler)
                  op: assign_op.Equal
                  rhs: 
                    {
                      (command_sub
                        left_token: <Id.Left_Backtick '`'>
                        child: 
                          (command.Pipeline
                            children: [
                              (C {<echo>} 
                                {
                                  (braced_var_sub
                                    token: <Id.VSub_Name CLIST>
                                    bracket_op: 
                                      (bracket_op.ArrayIndex
                                        expr: {($ Id.VSub_DollarName '$i')}
                                      )
                                  )
                                }
                              )
                              (C {<cut>} {<-d>} {(DQ <' '>)} {<-f>} {<1>})
                            ]
                            negated: F
                          )
                      )
                    }
                  spids: [79]
                )
              ]
            )
            (command.If
              arms: [
                (if_arm
                  cond: 
                    (condition.Shell
                      commands: [
                        (command.Sentence
                          child: 
                            (C {<Id.Lit_LBracket '['>} {<-e>} 
                              {
                                (command_sub
                                  left_token: <Id.Left_Backtick '`'>
                                  child: (C {<which>} {($ Id.VSub_DollarName '$compiler')})
                                )
                              } {<Id.Lit_RBracket ']'>}
                            )
                          terminator: <Id.Op_Semi _>
                        )
                      ]
                    )
                  action: [
                    (C {<echo>} 
                      {
                        (DQ 
                          (braced_var_sub
                            token: <Id.VSub_Name CLIST>
                            bracket_op: (bracket_op.ArrayIndex expr:{($ Id.VSub_DollarName '$i')})
                          )
                        )
                      }
                    )
                    (command.AndOr
                      ops: [Id.Op_DAmp]
                      children: [
                        (C 
                          {
                            (braced_var_sub
                              token: <Id.VSub_Name CLIST>
                              bracket_op: (bracket_op.ArrayIndex expr:{($ Id.VSub_DollarName '$i')})
                            )
                          } {($ Id.VSub_DollarName '$benchfile')} {<-I..>} {<-o>} {<.bench>}
                        )
                        (command.Simple
                          words: [{<'./.bench'>}]
                          redirects: [
                            (redir
                              op: <Id.Redir_Great '2>'>
                              loc: (redir_loc.Fd fd:2)
                              arg: {<'/dev/null'>}
                            )
                          ]
                          do_fork: T
                        )
                      ]
                    )
                    (C {<echo>} {(DQ )})
                  ]
                  spids: [108 125]
                )
              ]
              else_action: [
                (C {<echo>} {(DQ <'compiler not found: '> ($ Id.VSub_DollarName '$compiler'))})
              ]
            )
          ]
        )
    )
  ]
)