(command.AndOr
  ops: [Op_DAmp]
  children: [
    (command.FuncDef
      name: _rfkill
      body: 
        (command.BraceGroup
          children: [
            (command.Assignment
              keyword: Assign_Local
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:cur spids:[13])
                  op: Equal
                  spids: [13]
                )
                (assign_pair
                  lhs: (lhs_expr.LhsName name:prev spids:[15])
                  op: Equal
                  spids: [15]
                )
                (assign_pair
                  lhs: (lhs_expr.LhsName name:words spids:[17])
                  op: Equal
                  spids: [17]
                )
                (assign_pair
                  lhs: (lhs_expr.LhsName name:cword spids:[19])
                  op: Equal
                  spids: [19]
                )
              ]
              spids: [11]
            )
            (command.AndOr
              ops: [Op_DPipe]
              children: [
                (C {(_init_completion)})
                (command.ControlFlow token:<ControlFlow_Return return>)
              ]
            )
            (command.If
              arms: [
                (if_arm
                  cond: [
                    (command.Sentence
                      child: 
                        (command.DBracket
                          expr: 
                            (bool_expr.BoolBinary
                              op_id: BoolBinary_GlobDEqual
                              left: {(DQ ($ VSub_DollarName '$cur'))}
                              right: {(-) (Lit_Other '*')}
                            )
                        )
                      terminator: <Op_Semi ';'>
                    )
                  ]
                  action: [
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:COMPREPLY spids:[49])
                          op: Equal
                          rhs: 
                            {
                              (word_part.ArrayLiteralPart
                                words: [
                                  {
                                    (word_part.CommandSubPart
                                      command_list: 
                                        (command.CommandList
                                          children: [
                                            (C {(compgen)} {(-W)} {(SQ <--version>)} {(--)} 
                                              {(DQ ($ VSub_DollarName '$cur'))}
                                            )
                                          ]
                                        )
                                      left_token: <Left_CommandSub '$('>
                                      spids: [52 68]
                                    )
                                  }
                                ]
                              )
                            }
                          spids: [49]
                        )
                      ]
                      spids: [49]
                    )
                  ]
                  spids: [16777215 46]
                )
              ]
              else_action: [
                (command.Case
                  to_match: {($ VSub_DollarName '$cword')}
                  arms: [
                    (case_arm
                      pat_list: [{(1)}]
                      action: [
                        (command.Assignment
                          keyword: Assign_None
                          pairs: [
                            (assign_pair
                              lhs: (lhs_expr.LhsName name:COMPREPLY spids:[87])
                              op: Equal
                              rhs: 
                                {
                                  (word_part.ArrayLiteralPart
                                    words: [
                                      {
                                        (word_part.CommandSubPart
                                          command_list: 
                                            (command.CommandList
                                              children: [
                                                (C {(compgen)} {(-W)} 
                                                  {(DQ ('help event list block unblock'))} {(--)} {(DQ ($ VSub_DollarName '$cur'))}
                                                )
                                              ]
                                            )
                                          left_token: <Left_CommandSub '$('>
                                          spids: [90 108]
                                        )
                                      }
                                    ]
                                  )
                                }
                              spids: [87]
                            )
                          ]
                          spids: [87]
                        )
                      ]
                      spids: [83 84 113 16777215]
                    )
                    (case_arm
                      pat_list: [{(2)}]
                      action: [
                        (command.If
                          arms: [
                            (if_arm
                              cond: [
                                (command.Sentence
                                  child: 
                                    (command.DBracket
                                      expr: 
                                        (bool_expr.LogicalOr
                                          left: 
                                            (bool_expr.BoolBinary
                                              op_id: BoolBinary_GlobDEqual
                                              left: {($ VSub_DollarName '$prev')}
                                              right: {(block)}
                                            )
                                          right: 
                                            (bool_expr.BoolBinary
                                              op_id: BoolBinary_GlobDEqual
                                              left: {($ VSub_DollarName '$prev')}
                                              right: {(unblock)}
                                            )
                                        )
                                    )
                                  terminator: <Op_Semi ';'>
                                )
                              ]
                              action: [
                                (command.Assignment
                                  keyword: Assign_None
                                  pairs: [
                                    (assign_pair
                                      lhs: (lhs_expr.LhsName name:COMPREPLY spids:[144])
                                      op: Equal
                                      rhs: 
                                        {
                                          (word_part.ArrayLiteralPart
                                            words: [
                                              {
                                                (word_part.CommandSubPart
                                                  command_list: 
                                                    (command.CommandList
                                                      children: [
                                                        (C {(compgen)} {(-W)} 
                                                          {
                                                            (DQ 
                                                              (word_part.CommandSubPart
                                                                command_list: 
                                                                  (command.CommandList
                                                                    children: [
                                                                      (command.Pipeline
                                                                        children: [
                                                                          (C {($ VSub_Number '$1')} 
                                                                            {(list)}
                                                                          )
                                                                          (C {(awk)} 
                                                                            {(-F) (Lit_Other ':')} {(SQ <'/^[0-9]/ {print $1}'>)}
                                                                          )
                                                                        ]
                                                                        negated: F
                                                                      )
                                                                    ]
                                                                  )
                                                                left_token: <Left_CommandSub '$('>
                                                                spids: [154 171]
                                                              ) (' all wifi bluetooth uwb wimax ') ('                        wwan gps')
                                                            )
                                                          } {(--)} {(DQ ($ VSub_DollarName '$cur'))}
                                                        )
                                                      ]
                                                    )
                                                  left_token: <Left_CommandSub '$('>
                                                  spids: [147 183]
                                                )
                                              }
                                            ]
                                          )
                                        }
                                      spids: [144]
                                    )
                                  ]
                                  spids: [144]
                                )
                              ]
                              spids: [16777215 141]
                            )
                          ]
                          spids: [16777215 188]
                        )
                      ]
                      spids: [116 117 191 16777215]
                    )
                  ]
                  spids: [76 80 194]
                )
              ]
              spids: [73 197]
            )
          ]
          spids: [8]
        )
      spids: [4 7]
    )
    (C {(complete)} {(-F)} {(_rfkill)} {(rfkill)})
  ]
)