(command.CommandList
  children: [
    (command.AndOr
      ops: [Op_DPipe]
      children: [
        (command.DBracket
          expr: 
            (bool_expr.BoolBinary
              op_id: BoolBinary_GlobDEqual
              left: {($ VSub_DollarName '$OSTYPE')}
              right: {(Lit_Other '*') (freebsd) (Lit_Other '*')}
            )
        )
        (command.ControlFlow token:<ControlFlow_Return return> arg_word:{(1)})
      ]
    )
    (command.AndOr
      ops: [Op_DAmp]
      children: [
        (command.FuncDef
          name: _portsnap
          body: 
            (command.BraceGroup
              children: [
                (command.Assignment
                  keyword: Assign_Local
                  pairs: [
                    (assign_pair
                      lhs: (lhs_expr.LhsName name:cur spids:[32])
                      op: Equal
                      spids: [32]
                    )
                    (assign_pair
                      lhs: (lhs_expr.LhsName name:prev spids:[34])
                      op: Equal
                      spids: [34]
                    )
                    (assign_pair
                      lhs: (lhs_expr.LhsName name:words spids:[36])
                      op: Equal
                      spids: [36]
                    )
                    (assign_pair
                      lhs: (lhs_expr.LhsName name:cword spids:[38])
                      op: Equal
                      spids: [38]
                    )
                  ]
                  spids: [30]
                )
                (command.AndOr
                  ops: [Op_DPipe]
                  children: [
                    (C {(_init_completion)})
                    (command.ControlFlow token:<ControlFlow_Return return>)
                  ]
                )
                (command.Case
                  to_match: {($ VSub_DollarName '$prev')}
                  arms: [
                    (case_arm
                      pat_list: [{(-d)} {(-p)}]
                      action: [
                        (C {(_filedir)} {(-d)})
                        (command.ControlFlow
                          token: <ControlFlow_Return return>
                        )
                      ]
                      spids: [56 59 70 16777215]
                    )
                    (case_arm
                      pat_list: [{(-l)} {(-f)}]
                      action: [(C {(_filedir)}) (command.ControlFlow token:<ControlFlow_Return return>)]
                      spids: [73 76 85 16777215]
                    )
                  ]
                  spids: [49 53 88]
                )
                (command.Assignment
                  keyword: Assign_None
                  pairs: [
                    (assign_pair
                      lhs: (lhs_expr.LhsName name:COMPREPLY spids:[92])
                      op: Equal
                      rhs: 
                        {
                          (word_part.ArrayLiteralPart
                            words: [
                              {
                                (word_part.CommandSubPart
                                  command_list: 
                                    (command.CommandList
                                      children: [
                                        (C {(compgen)} {(-W)} {(DQ ('fetch cron extract update'))} {(--)} 
                                          {($ VSub_DollarName '$cur')}
                                        )
                                      ]
                                    )
                                  left_token: <Left_CommandSub '$('>
                                  spids: [95 107]
                                )
                              }
                            ]
                          )
                        }
                      spids: [92]
                    )
                  ]
                  spids: [92]
                )
              ]
              spids: [27]
            )
          spids: [23 26]
        )
        (C {(complete)} {(-F)} {(_portsnap)} {(portsnap)})
      ]
    )
  ]
)