(CommandList
  children: [
    (AndOr
      children: [
        (FuncDef
          name: _cfrun
          body: 
            (BraceGroup
              children: [
                (Assignment
                  keyword: Assign_Local
                  pairs: [
                    (assign_pair lhs:(LhsName name:cur) op:Equal spids:[13])
                    (assign_pair lhs:(LhsName name:prev) op:Equal spids:[15])
                    (assign_pair lhs:(LhsName name:words) op:Equal spids:[17])
                    (assign_pair lhs:(LhsName name:cword) op:Equal spids:[19])
                  ]
                  spids: [11]
                )
                (AndOr
                  children: [(C {(_init_completion)}) (ControlFlow token:<ControlFlow_Return return>)]
                  op_id: Op_DPipe
                )
                (Assignment
                  keyword: Assign_Local
                  pairs: [
                    (assign_pair lhs:(LhsName name:i) op:Equal spids:[32])
                    (assign_pair
                      lhs: (LhsName name:section)
                      op: Equal
                      rhs: {(1)}
                      spids: [34]
                    )
                  ]
                  spids: [30]
                )
                (ForExpr
                  init: 
                    (BinaryAssign
                      op_id: Arith_Equal
                      left: (LhsName name:i)
                      right: (ArithWord w:{(Lit_Digits 1)})
                    )
                  cond: 
                    (ArithBinary
                      op_id: Arith_Less
                      left: (ArithVarRef name:i)
                      right: (ArithVarRef name:cword)
                    )
                  update: (UnaryAssign op_id:Node_PostDPlus child:(LhsName name:i))
                  body: 
                    (DoGroup
                      children: [
                        (If
                          arms: [
                            (if_arm
                              cond: [
                                (Sentence
                                  child: 
                                    (DBracket
                                      expr: 
                                        (BoolBinary
                                          op_id: BoolBinary_GlobDEqual
                                          left: 
                                            {
                                              (DQ 
                                                (BracedVarSub
                                                  token: <VSub_Name words>
                                                  bracket_op: (ArrayIndex expr:(ArithVarRef name:i))
                                                  spids: [69 74]
                                                )
                                              )
                                            }
                                          right: {(--)}
                                        )
                                    )
                                  terminator: <Op_Semi ';'>
                                )
                              ]
                              action: [
                                (Assignment
                                  keyword: Assign_None
                                  pairs: [
                                    (assign_pair
                                      lhs: (LhsName name:section)
                                      op: Equal
                                      rhs: 
                                        {
                                          (ArithSubPart
                                            anode: 
                                              (ArithBinary
                                                op_id: Arith_Plus
                                                left: (ArithVarRef name:section)
                                                right: (ArithWord w:{(Lit_Digits 1)})
                                              )
                                            spids: [88 95]
                                          )
                                        }
                                      spids: [87]
                                    )
                                  ]
                                  spids: [87]
                                )
                              ]
                              spids: [16777215 84]
                            )
                          ]
                          spids: [16777215 98]
                        )
                      ]
                      spids: [61 101]
                    )
                )
                (Case
                  to_match: {($ VSub_Name '$section')}
                  arms: [
                    (case_arm
                      pat_list: [{(1)}]
                      action: [
                        (Case
                          to_match: {($ VSub_Name '$prev')}
                          arms: [
                            (case_arm
                              pat_list: [{(-f)}]
                              action: [
                                (C {(_filedir)})
                                (ControlFlow
                                  token: <ControlFlow_Return return>
                                  arg_word: {(0)}
                                )
                              ]
                              spids: [123 124 135 16777215]
                            )
                          ]
                          spids: [116 120 138]
                        )
                        (If
                          arms: [
                            (if_arm
                              cond: [
                                (Sentence
                                  child: 
                                    (DBracket
                                      expr: 
                                        (BoolBinary
                                          op_id: BoolBinary_GlobDEqual
                                          left: {(DQ ($ VSub_Name '$cur'))}
                                          right: {(-) (Lit_Other '*')}
                                        )
                                    )
                                  terminator: <Op_Semi ';'>
                                )
                              ]
                              action: [
                                (Assignment
                                  keyword: Assign_None
                                  pairs: [
                                    (assign_pair
                                      lhs: (LhsName name:COMPREPLY)
                                      op: Equal
                                      rhs: 
                                        {
                                          (ArrayLiteralPart
                                            words: [
                                              {
                                                (CommandSubPart
                                                  command_list: 
                                                    (CommandList
                                                      children: [
                                                        (C {(compgen)} {(-W)} 
                                                          {(SQ <'-f -h -d -S -T -v'>)} {(--)} {(DQ ($ VSub_Name '$cur'))}
                                                        )
                                                      ]
                                                    )
                                                  left_token: <Left_CommandSub '$('>
                                                  spids: [164 180]
                                                )
                                              }
                                            ]
                                          )
                                        }
                                      spids: [161]
                                    )
                                  ]
                                  spids: [161]
                                )
                              ]
                              spids: [16777215 158]
                            )
                          ]
                          else_action: [
                            (Assignment
                              keyword: Assign_None
                              pairs: [
                                (assign_pair
                                  lhs: (LhsName name:hostfile)
                                  op: Equal
                                  rhs: 
                                    {
                                      (BracedVarSub
                                        token: <VSub_Name CFINPUTS>
                                        suffix_op: 
                                          (StringUnary
                                            op_id: VTest_ColonHyphen
                                            arg_word: 
                                              {(Lit_Slash /) (var) (Lit_Slash /) (lib) (Lit_Slash /) 
                                                (cfengine) (Lit_Slash /) (inputs)
                                              }
                                          )
                                        spids: [189 200]
                                      ) (/cfrun.hosts)
                                    }
                                  spids: [188]
                                )
                              ]
                              spids: [188]
                            )
                            (ForExpr
                              init: 
                                (BinaryAssign
                                  op_id: Arith_Equal
                                  left: (LhsName name:i)
                                  right: (ArithWord w:{(Lit_Digits 1)})
                                )
                              cond: 
                                (ArithBinary
                                  op_id: Arith_Less
                                  left: (ArithVarRef name:i)
                                  right: (ArithVarRef name:cword)
                                )
                              update: (UnaryAssign op_id:Node_PostDPlus child:(LhsName name:i))
                              body: 
                                (DoGroup
                                  children: [
                                    (If
                                      arms: [
                                        (if_arm
                                          cond: [
                                            (Sentence
                                              child: 
                                                (DBracket
                                                  expr: 
                                                    (BoolBinary
                                                      op_id: BoolBinary_GlobDEqual
                                                      left: 
                                                        {
                                                          (DQ 
                                                            (BracedVarSub
                                                              token: <VSub_Name words>
                                                              bracket_op: 
                                                                (ArrayIndex
                                                                  expr: (ArithVarRef name:i)
                                                                )
                                                              spids: [235 240]
                                                            )
                                                          )
                                                        }
                                                      right: {(BoolUnary_f -f)}
                                                    )
                                                )
                                              terminator: <Op_Semi ';'>
                                            )
                                          ]
                                          action: [
                                            (Assignment
                                              keyword: Assign_None
                                              pairs: [
                                                (assign_pair
                                                  lhs: (LhsName name:hostfile)
                                                  op: Equal
                                                  rhs: 
                                                    {
                                                      (BracedVarSub
                                                        token: <VSub_Name words>
                                                        bracket_op: 
                                                          (ArrayIndex
                                                            expr: 
                                                              (ArithBinary
                                                                op_id: Arith_Plus
                                                                left: (ArithVarRef name:i)
                                                                right: (ArithWord w:{(Lit_Digits 1)})
                                                              )
                                                          )
                                                        spids: [254 261]
                                                      )
                                                    }
                                                  spids: [253]
                                                )
                                              ]
                                              spids: [253]
                                            )
                                            (ControlFlow
                                              token: <ControlFlow_Break break>
                                            )
                                          ]
                                          spids: [16777215 250]
                                        )
                                      ]
                                      spids: [16777215 267]
                                    )
                                  ]
                                  spids: [227 270]
                                )
                            )
                            (AndOr
                              children: [
                                (DBracket
                                  expr: 
                                    (LogicalNot
                                      child: 
                                        (BoolUnary
                                          op_id: BoolUnary_f
                                          child: {($ VSub_Name '$hostfile')}
                                        )
                                    )
                                )
                                (ControlFlow
                                  token: <ControlFlow_Return return>
                                  arg_word: {(0)}
                                )
                              ]
                              op_id: Op_DAmp
                            )
                            (Assignment
                              keyword: Assign_None
                              pairs: [
                                (assign_pair
                                  lhs: (LhsName name:COMPREPLY)
                                  op: Equal
                                  rhs: 
                                    {
                                      (ArrayLiteralPart
                                        words: [
                                          {
                                            (CommandSubPart
                                              command_list: 
                                                (CommandList
                                                  children: [
                                                    (C {(compgen)} {(-W)} 
                                                      {
                                                        (DQ 
                                                          (CommandSubPart
                                                            command_list: 
                                                              (CommandList
                                                                children: [
                                                                  (C {(command)} {(grep)} {(-v)} {(-E)} 
                                                                    {(SQ <'(=|^$|^#)'>)} {($ VSub_Name '$hostfile')}
                                                                  )
                                                                ]
                                                              )
                                                            left_token: <Left_CommandSub '$('>
                                                            spids: [300 318]
                                                          )
                                                        )
                                                      } {(--)} {(DQ ($ VSub_Name '$cur'))}
                                                    )
                                                  ]
                                                )
                                              left_token: <Left_CommandSub '$('>
                                              spids: [294 327]
                                            )
                                          }
                                        ]
                                      )
                                    }
                                  spids: [291]
                                )
                              ]
                              spids: [291]
                            )
                          ]
                          spids: [185 332]
                        )
                      ]
                      spids: [112 113 335 16777215]
                    )
                    (case_arm
                      pat_list: [{(2)}]
                      action: [
                        (Assignment
                          keyword: Assign_None
                          pairs: [
                            (assign_pair
                              lhs: (LhsName name:COMPREPLY)
                              op: Equal
                              rhs: 
                                {
                                  (ArrayLiteralPart
                                    words: [
                                      {
                                        (CommandSubPart
                                          command_list: 
                                            (CommandList
                                              children: [
                                                (C {(compgen)} {(-W)} {(SQ <'$( _parse_help cfagent )'>)} 
                                                  {(--)} {(DQ ($ VSub_Name '$cur'))}
                                                )
                                              ]
                                            )
                                          left_token: <Left_CommandSub '$('>
                                          spids: [345 361]
                                        )
                                      }
                                    ]
                                  )
                                }
                              spids: [342]
                            )
                          ]
                          spids: [342]
                        )
                      ]
                      spids: [338 339 366 16777215]
                    )
                  ]
                  spids: [105 109 369]
                )
              ]
              spids: [8]
            )
          spids: [4 7]
        )
        (C {(complete)} {(-F)} {(_cfrun)} {(cfrun)})
      ]
      op_id: Op_DAmp
    )
  ]
)