(CommandList
  children: [
    (AndOr
      children: [
        (FuncDef
          name: _abook
          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
                )
                (AndOr
                  children: [
                    (DBracket
                      expr: 
                        (LogicalAnd
                          left: 
                            (BoolBinary
                              op_id: BoolBinary_eq
                              left: {($ VSub_Name '$cword')}
                              right: {(1)}
                            )
                          right: (BoolUnary op_id:BoolUnary_z child:{(DQ ($ VSub_Name '$cur'))})
                        )
                    )
                    (BraceGroup
                      children: [
                        (C {(compopt)} {(-o)} {(nospace)})
                        (Assignment
                          keyword: Assign_None
                          pairs: [
                            (assign_pair
                              lhs: (LhsName name:COMPREPLY)
                              op: Equal
                              rhs: {(ArrayLiteralPart words:[{(DQ (-))}])}
                              spids: [65]
                            )
                          ]
                          spids: [65]
                        )
                        (ControlFlow
                          token: <ControlFlow_Return return>
                          arg_word: {(0)}
                        )
                      ]
                      spids: [55]
                    )
                  ]
                  op_id: Op_DAmp
                )
                (Case
                  to_match: {($ VSub_Name '$cur')}
                  arms: [
                    (case_arm
                      pat_list: [{(-) (Lit_Other '*')}]
                      action: [
                        (C {(_longopt)} {(abook)})
                        (ControlFlow
                          token: <ControlFlow_Return return>
                          arg_word: {(0)}
                        )
                      ]
                      spids: [91 93 106 16777215]
                    )
                  ]
                  spids: [84 88 109]
                )
                (Case
                  to_match: {($ VSub_Name '$prev')}
                  arms: [
                    (case_arm
                      pat_list: [{(--informat)}]
                      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: [
                                                                  (C {($ VSub_Number '$1')} 
                                                                    {(--formats)}
                                                                  )
                                                                  (C {(sed)} {(-n)} {(-e)} 
                                                                    {(SQ <'s/^'>) 
                                                                      (SQ <Lit_EscapedChar '\\t'>) (SQ <'\\([a-z]*\\).*/\\1/p'>)
                                                                    } {(-e)} {(SQ <'/^$/q'>)}
                                                                  )
                                                                ]
                                                                negated: False
                                                              )
                                                            ]
                                                          )
                                                        left_token: <Left_CommandSub '$('>
                                                        spids: [134 164]
                                                      )
                                                    )
                                                  } {(--)} {(DQ ($ VSub_Name '$cur'))}
                                                )
                                              ]
                                            )
                                          left_token: <Left_CommandSub '$('>
                                          spids: [127 173]
                                        )
                                      }
                                    ]
                                  )
                                }
                              spids: [124]
                            )
                          ]
                          spids: [124]
                        )
                        (ControlFlow
                          token: <ControlFlow_Return return>
                          arg_word: {(0)}
                        )
                      ]
                      spids: [120 121 183 16777215]
                    )
                    (case_arm
                      pat_list: [{(--outformat)}]
                      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: [
                                                                  (C {($ VSub_Number '$1')} 
                                                                    {(--formats)}
                                                                  )
                                                                  (C {(sed)} {(-n)} {(-e)} 
                                                                    {(SQ <'/^$/,$s/^'>) 
                                                                      (SQ <Lit_EscapedChar '\\t'>) (SQ <'\\([a-z]*\\).*/\\1/p'>)
                                                                    }
                                                                  )
                                                                ]
                                                                negated: False
                                                              )
                                                            ]
                                                          )
                                                        left_token: <Left_CommandSub '$('>
                                                        spids: [200 224]
                                                      )
                                                    )
                                                  } {(--)} {(DQ ($ VSub_Name '$cur'))}
                                                )
                                              ]
                                            )
                                          left_token: <Left_CommandSub '$('>
                                          spids: [193 233]
                                        )
                                      }
                                    ]
                                  )
                                }
                              spids: [190]
                            )
                          ]
                          spids: [190]
                        )
                        (ControlFlow
                          token: <ControlFlow_Return return>
                          arg_word: {(0)}
                        )
                      ]
                      spids: [186 187 243 16777215]
                    )
                    (case_arm
                      pat_list: [{(--infile)}]
                      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)} {(stdin)} {(--)} 
                                                  {(DQ ($ VSub_Name '$cur'))}
                                                )
                                              ]
                                            )
                                          left_token: <Left_CommandSub '$('>
                                          spids: [253 267]
                                        )
                                      }
                                    ]
                                  )
                                }
                              spids: [250]
                            )
                          ]
                          spids: [250]
                        )
                        (C {(_filedir)})
                        (ControlFlow
                          token: <ControlFlow_Return return>
                          arg_word: {(0)}
                        )
                      ]
                      spids: [246 247 280 16777215]
                    )
                    (case_arm
                      pat_list: [{(--outfile)}]
                      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)} {(stdout)} {(--)} 
                                                  {(DQ ($ VSub_Name '$cur'))}
                                                )
                                              ]
                                            )
                                          left_token: <Left_CommandSub '$('>
                                          spids: [290 304]
                                        )
                                      }
                                    ]
                                  )
                                }
                              spids: [287]
                            )
                          ]
                          spids: [287]
                        )
                        (C {(_filedir)})
                        (ControlFlow
                          token: <ControlFlow_Return return>
                          arg_word: {(0)}
                        )
                      ]
                      spids: [283 284 317 16777215]
                    )
                    (case_arm
                      pat_list: [{(--config)} {(--datafile)}]
                      action: [
                        (C {(_filedir)})
                        (ControlFlow
                          token: <ControlFlow_Return return>
                          arg_word: {(0)}
                        )
                      ]
                      spids: [320 323 334 16777215]
                    )
                  ]
                  spids: [113 117 337]
                )
              ]
              spids: [8]
            )
          spids: [4 7]
        )
        (C {(complete)} {(-F)} {(_abook)} {(abook)})
      ]
      op_id: Op_DAmp
    )
  ]
)