(CommandList
  children: [
    (AndOr
      children: [
        (FuncDef
          name: _bk
          body: 
            (BraceGroup
              children: [
                (Assignment
                  keyword: Assign_Local
                  pairs: [
                    (assign_pair lhs:(LhsName name:cur) op:Equal spids:[16])
                    (assign_pair lhs:(LhsName name:prev) op:Equal spids:[18])
                    (assign_pair lhs:(LhsName name:words) op:Equal spids:[20])
                    (assign_pair lhs:(LhsName name:cword) op:Equal spids:[22])
                  ]
                  spids: [14]
                )
                (AndOr
                  children: [(C {(_init_completion)}) (ControlFlow token:<ControlFlow_Return return>)]
                  op_id: Op_DPipe
                )
                (Assignment
                  keyword: Assign_Local
                  pairs: [
                    (assign_pair
                      lhs: (LhsName name:BKCMDS)
                      op: Equal
                      rhs: 
                        {
                          (DQ 
                            (CommandSubPart
                              command_list: 
                                (CommandList
                                  children: [
                                    (Pipeline
                                      children: [
                                        (SimpleCommand
                                          words: [{(bk)} {(help)} {(topics)}]
                                          redirects: [
                                            (Redir
                                              op_id: Redir_Great
                                              fd: 2
                                              arg_word: {(/dev/null)}
                                              spids: [45]
                                            )
                                          ]
                                        )
                                        (C {(awk)} {(SQ <'/^  bk/ { print $4 }'>)})
                                        (C {(xargs)} {(printf)} {(SQ <'%s '>)})
                                      ]
                                      negated: False
                                    )
                                  ]
                                )
                              left_token: <Left_CommandSub '$('>
                              spids: [37 68]
                            )
                          )
                        }
                      spids: [35]
                    )
                  ]
                  spids: [33]
                )
                (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 ($ VSub_Name '$BKCMDS'))} {(--)} 
                                          {(DQ ($ VSub_Name '$cur'))}
                                        )
                                      ]
                                    )
                                  left_token: <Left_CommandSub '$('>
                                  spids: [76 92]
                                )
                              }
                            ]
                          )
                        }
                      spids: [73]
                    )
                  ]
                  spids: [73]
                )
                (C {(_filedir)})
                (ControlFlow token:<ControlFlow_Return return> arg_word:{(0)})
              ]
              spids: [11]
            )
          spids: [7 10]
        )
        (C {(complete)} {(-F)} {(_bk)} {(bk)})
      ]
      op_id: Op_DAmp
    )
  ]
)