(command.CommandList
  children: [
    (command.AndOr
      ops: [Id.Op_DPipe]
      children: [
        (command.DBracket
          expr: 
            (bool_expr.Binary
              op_id: Id.BoolBinary_GlobDEqual
              left: {($ Id.VSub_DollarName '$OSTYPE')}
              right: {<Id.Lit_Other '*'> <freebsd> <Id.Lit_Other '*'>}
            )
        )
        (command.ControlFlow token:<Id.ControlFlow_Return return> arg_word:{<1>})
      ]
    )
    (command.AndOr
      ops: [Id.Op_DAmp]
      children: [
        (command.ShFunction
          name: _kldload
          body: 
            (BraceGroup
              children: [
                (C {<local>} {<cur>} {<prev>} {<words>} {<cword>})
                (command.AndOr
                  ops: [Id.Op_DPipe]
                  children: [
                    (C {<_init_completion>})
                    (command.ControlFlow token:<Id.ControlFlow_Return return>)
                  ]
                )
                (C {<local>} {<Id.Lit_VarLike 'moddir='> <'/modules/'>})
                (command.AndOr
                  ops: [Id.Op_DPipe]
                  children: [
                    (command.DBracket
                      expr: 
                        (bool_expr.Unary
                          op_id: Id.BoolUnary_d
                          child: {($ Id.VSub_DollarName '$moddir')}
                        )
                    )
                    (command.ShAssignment
                      pairs: [
                        (assign_pair
                          lhs: (sh_lhs_expr.Name name:moddir)
                          op: assign_op.Equal
                          rhs: {<'/boot/kernel/'>}
                          spids: [65]
                        )
                      ]
                    )
                  ]
                )
                (C {<compopt>} {<-o>} {<filenames>})
                (command.ShAssignment
                  pairs: [
                    (assign_pair
                      lhs: (sh_lhs_expr.Name name:COMPREPLY)
                      op: assign_op.Equal
                      rhs: 
                        {
                          (sh_array_literal
                            left: <Id.Op_LParen _>
                            words: [
                              {
                                (command_sub
                                  left_token: <Id.Left_DollarParen '$('>
                                  child: 
                                    (C {<compgen>} {<-f>} 
                                      {
                                        (DQ ($ Id.VSub_DollarName '$moddir') 
                                          ($ Id.VSub_DollarName '$cur')
                                        )
                                      }
                                    )
                                )
                              }
                            ]
                          )
                        }
                      spids: [77]
                    )
                  ]
                )
                (command.ShAssignment
                  pairs: [
                    (assign_pair
                      lhs: (sh_lhs_expr.Name name:COMPREPLY)
                      op: assign_op.Equal
                      rhs: 
                        {
                          (sh_array_literal
                            left: <Id.Op_LParen _>
                            words: [
                              {
                                (braced_var_sub
                                  token: <Id.VSub_Name COMPREPLY>
                                  bracket_op: (bracket_op.WholeArray op_id:Id.Lit_At)
                                  suffix_op: 
                                    (suffix_op.Unary
                                      tok: <Id.VOp1_Pound '#'>
                                      arg_word: {($ Id.VSub_DollarName '$moddir')}
                                    )
                                )
                              }
                            ]
                          )
                        }
                      spids: [96]
                    )
                  ]
                )
                (command.ShAssignment
                  pairs: [
                    (assign_pair
                      lhs: (sh_lhs_expr.Name name:COMPREPLY)
                      op: assign_op.Equal
                      rhs: 
                        {
                          (sh_array_literal
                            left: <Id.Op_LParen _>
                            words: [
                              {
                                (braced_var_sub
                                  token: <Id.VSub_Name COMPREPLY>
                                  bracket_op: (bracket_op.WholeArray op_id:Id.Lit_At)
                                  suffix_op: 
                                    (suffix_op.Unary
                                      tok: <Id.VOp1_Percent '%'>
                                      arg_word: {<.ko>}
                                    )
                                )
                              }
                            ]
                          )
                        }
                      spids: [111]
                    )
                  ]
                )
                (command.ControlFlow
                  token: <Id.ControlFlow_Return return>
                  arg_word: {<0>}
                )
              ]
            )
        )
        (C {<complete>} {<-F>} {<_kldload>} {<kldload>})
      ]
    )
  ]
)