(CommandList
  children: [
    (AndOr
      children: [
        (DBracket
          expr: 
            (BoolBinary
              op_id: BoolBinary_GlobDEqual
              left: {($ VSub_Name '$OSTYPE')}
              right: {(Lit_Other '*') (freebsd) (Lit_Other '*')}
            )
        )
        (ControlFlow token:<ControlFlow_Return return> arg_word:{(1)})
      ]
      op_id: Op_DPipe
    )
    (AndOr
      children: [
        (FuncDef
          name: _kldunload
          body: 
            (BraceGroup
              children: [
                (Assignment
                  keyword: Assign_Local
                  pairs: [
                    (assign_pair lhs:(LhsName name:cur) op:Equal spids:[32])
                    (assign_pair lhs:(LhsName name:prev) op:Equal spids:[34])
                    (assign_pair lhs:(LhsName name:words) op:Equal spids:[36])
                    (assign_pair lhs:(LhsName name:cword) op:Equal spids:[38])
                  ]
                  spids: [30]
                )
                (AndOr
                  children: [(C {(_init_completion)}) (ControlFlow token:<ControlFlow_Return return>)]
                  op_id: Op_DPipe
                )
                (Assignment
                  keyword: Assign_None
                  pairs: [
                    (assign_pair
                      lhs: (LhsName name:COMPREPLY)
                      op: Equal
                      rhs: 
                        {
                          (ArrayLiteralPart
                            words: [
                              {
                                (CommandSubPart
                                  command_list: 
                                    (CommandList
                                      children: [
                                        (Pipeline
                                          children: [
                                            (C {(kldstat)})
                                            (C {(sed)} {(-ne)} 
                                              {
                                                (DQ ('s/^.*[ ') (Lit_Other '$') ("'") (Lit_Other '\\') 
                                                  ("t']") (Lit_Other '\\') ('{1,') (Lit_Other '\\') ('}') (Lit_Other '\\') ('(') ($ VSub_Name '$cur') ('[a-z_]') 
                                                  (Lit_Other '\\') ('{1,') (Lit_Other '\\') ('}') (Lit_Other '\\') (').ko') (Lit_Other '$') (/) (Lit_Other '\\') (1/p)
                                                )
                                              }
                                            )
                                          ]
                                          negated: False
                                        )
                                      ]
                                    )
                                  left_token: <Left_CommandSub '$('>
                                  spids: [52 90]
                                )
                              }
                            ]
                          )
                        }
                      spids: [49]
                    )
                  ]
                  spids: [49]
                )
              ]
              spids: [27]
            )
          spids: [23 26]
        )
        (C {(complete)} {(-F)} {(_kldunload)} {(kldunload)})
      ]
      op_id: Op_DAmp
    )
  ]
)