(CommandList
  children: [
    (AndOr
      children: [
        (FuncDef
          name: _insmod
          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
                )
                (If
                  arms: [
                    (if_arm
                      cond: [
                        (Sentence
                          child: 
                            (DBracket
                              expr: 
                                (BoolBinary
                                  op_id: BoolBinary_eq
                                  left: {($ VSub_Name '$cword')}
                                  right: {(1)}
                                )
                            )
                          terminator: <Op_Semi ';'>
                        )
                      ]
                      action: [(C {(_filedir)} {(SQ <'@(?(k)o?(.gz))'>)})]
                      spids: [16777215 47]
                    )
                  ]
                  else_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)} 
                                              {
                                                (DQ 
                                                  (CommandSubPart
                                                    command_list: 
                                                      (CommandList
                                                        children: [
                                                          (Pipeline
                                                            children: [
                                                              (SimpleCommand
                                                                words: [
                                                                  {(modinfo)}
                                                                  {(-p)}
                                                                  {
                                                                    (BracedVarSub
                                                                      token: <VSub_Name words>
                                                                      bracket_op: 
                                                                        (ArrayIndex
                                                                          expr: 
                                                                            (ArithWord
                                                                              w: {(Lit_Digits 1)}
                                                                            )
                                                                        )
                                                                      spids: [87 92]
                                                                    )
                                                                  }
                                                                ]
                                                                redirects: [
                                                                  (Redir
                                                                    op_id: Redir_Great
                                                                    fd: 2
                                                                    arg_word: {(/dev/null)}
                                                                    spids: [94]
                                                                  )
                                                                ]
                                                                more_env: [
                                                                  (env_pair
                                                                    name: PATH
                                                                    val: 
                                                                      {
                                                                        (DQ ($ VSub_Name '$PATH') 
                                                                          (':/sbin')
                                                                        )
                                                                      }
                                                                    spids: [75]
                                                                  )
                                                                ]
                                                              )
                                                              (C {(cut)} {(-d) (Lit_Other ':')} {(-f1)})
                                                            ]
                                                            negated: False
                                                          )
                                                        ]
                                                      )
                                                    left_token: <Left_CommandSub '$('>
                                                    spids: [73 106]
                                                  )
                                                )
                                              } {(--)} {(DQ ($ VSub_Name '$cur'))}
                                            )
                                          ]
                                        )
                                      left_token: <Left_CommandSub '$('>
                                      spids: [66 115]
                                    )
                                  }
                                ]
                              )
                            }
                          spids: [63]
                        )
                      ]
                      spids: [63]
                    )
                  ]
                  spids: [57 120]
                )
              ]
              spids: [8]
            )
          spids: [4 7]
        )
        (C {(complete)} {(-F)} {(_insmod)} {(insmod)} {(insmod.static)})
      ]
      op_id: Op_DAmp
    )
  ]
)