(command.CommandList
  children: [
    (command.FuncDef
      name: _nmcli_list
      body: 
        (command.BraceGroup
          children: [
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:COMPREPLY spids:[18])
                  op: Equal
                  rhs: 
                    {
                      (word_part.ArrayLiteralPart
                        words: [
                          {
                            (word_part.CommandSubPart
                              command_list: 
                                (command.CommandList
                                  children: [
                                    (C {(compgen)} {(-W)} {(SQ <'$1'>)} {(--)} 
                                      {(DQ ($ VSub_DollarName '$cur'))}
                                    )
                                  ]
                                )
                              left_token: <Left_CommandSub '$('>
                              spids: [21 37]
                            )
                          }
                        ]
                      )
                    }
                  spids: [18]
                )
              ]
              spids: [18]
            )
          ]
          spids: [15]
        )
      spids: [11 14]
    )
    (command.FuncDef
      name: _nmcli_con_id
      body: 
        (command.BraceGroup
          children: [
            (command.Assignment
              keyword: Assign_Local
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:IFS spids:[53])
                  op: Equal
                  rhs: 
                    {
                      (word_part.SingleQuotedPart
                        left: <Left_DollarSingleQuote "$'">
                        tokens: [<Char_OneChar '\\n'>]
                        spids: [54 56]
                      )
                    }
                  spids: [53]
                )
              ]
              spids: [51]
            )
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:COMPREPLY spids:[59])
                  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: [
                                                      (command.SimpleCommand
                                                        words: [{(nmcli)} {(con)} {(list)}]
                                                        redirects: [
                                                          (redir.Redir
                                                            op: <Redir_Great '2>'>
                                                            fd: 2
                                                            arg_word: {(/dev/null)}
                                                          )
                                                        ]
                                                      )
                                                      (C {(tail)} {(-n)} {(Lit_Other '+') (2)})
                                                      (C {(awk)} {(-F)} {(SQ <' {2,}'>)} 
                                                        {(SQ <'{print $1 }'>)}
                                                      )
                                                    ]
                                                    negated: F
                                                  )
                                                ]
                                              )
                                            left_token: <Left_CommandSub '$('>
                                            spids: [69 103]
                                          )
                                        )
                                      } {(--)} {(DQ ($ VSub_DollarName '$cur'))}
                                    )
                                  ]
                                )
                              left_token: <Left_CommandSub '$('>
                              spids: [62 112]
                            )
                          }
                        ]
                      )
                    }
                  spids: [59]
                )
              ]
              spids: [59]
            )
          ]
          spids: [48]
        )
      spids: [44 47]
    )
    (command.FuncDef
      name: _nmcli_con_uuid
      body: 
        (command.BraceGroup
          children: [
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:COMPREPLY spids:[126])
                  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: [
                                                      (command.SimpleCommand
                                                        words: [{(nmcli)} {(con)} {(list)}]
                                                        redirects: [
                                                          (redir.Redir
                                                            op: <Redir_Great '2>'>
                                                            fd: 2
                                                            arg_word: {(/dev/null)}
                                                          )
                                                        ]
                                                      )
                                                      (C {(tail)} {(-n)} {(Lit_Other '+') (2)})
                                                      (C {(awk)} {(-F)} {(SQ <' {2,}'>)} 
                                                        {(SQ <'{print $2}'>)}
                                                      )
                                                    ]
                                                    negated: F
                                                  )
                                                ]
                                              )
                                            left_token: <Left_CommandSub '$('>
                                            spids: [136 170]
                                          )
                                        )
                                      } {(--)} {(DQ ($ VSub_DollarName '$cur'))}
                                    )
                                  ]
                                )
                              left_token: <Left_CommandSub '$('>
                              spids: [129 179]
                            )
                          }
                        ]
                      )
                    }
                  spids: [126]
                )
              ]
              spids: [126]
            )
          ]
          spids: [123]
        )
      spids: [119 122]
    )
    (command.FuncDef
      name: _nmcli_ap_ssid
      body: 
        (command.BraceGroup
          children: [
            (command.Assignment
              keyword: Assign_Local
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:IFS spids:[195])
                  op: Equal
                  rhs: 
                    {
                      (word_part.SingleQuotedPart
                        left: <Left_DollarSingleQuote "$'">
                        tokens: [<Char_OneChar '\\n'>]
                        spids: [196 198]
                      )
                    }
                  spids: [195]
                )
              ]
              spids: [193]
            )
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:COMPREPLY spids:[201])
                  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: [
                                                      (command.SimpleCommand
                                                        words: [{(nmcli)} {(dev)} {(wifi)} {(list)}]
                                                        redirects: [
                                                          (redir.Redir
                                                            op: <Redir_Great '2>'>
                                                            fd: 2
                                                            arg_word: {(/dev/null)}
                                                          )
                                                        ]
                                                      )
                                                      (C {(tail)} {(-n)} {(Lit_Other '+') (2)})
                                                      (C {(awk)} {(-F)} {(SQ <' {2,}'>)} 
                                                        {(SQ <'{print $1}'>)}
                                                      )
                                                    ]
                                                    negated: F
                                                  )
                                                ]
                                              )
                                            left_token: <Left_CommandSub '$('>
                                            spids: [211 247]
                                          )
                                        )
                                      } {(--)} {(DQ ($ VSub_DollarName '$cur'))}
                                    )
                                  ]
                                )
                              left_token: <Left_CommandSub '$('>
                              spids: [204 256]
                            )
                          }
                        ]
                      )
                    }
                  spids: [201]
                )
              ]
              spids: [201]
            )
          ]
          spids: [190]
        )
      spids: [186 189]
    )
    (command.FuncDef
      name: _nmcli_ab_bssid
      body: 
        (command.BraceGroup
          children: [
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:COMPREPLY spids:[270])
                  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: [
                                                      (command.SimpleCommand
                                                        words: [{(nmcli)} {(dev)} {(wifi)} {(list)}]
                                                        redirects: [
                                                          (redir.Redir
                                                            op: <Redir_Great '2>'>
                                                            fd: 2
                                                            arg_word: {(/dev/null)}
                                                          )
                                                        ]
                                                      )
                                                      (C {(tail)} {(-n)} {(Lit_Other '+') (2)})
                                                      (C {(awk)} {(-F)} {(SQ <' {2,}'>)} 
                                                        {(SQ <'{print $2}'>)}
                                                      )
                                                    ]
                                                    negated: F
                                                  )
                                                ]
                                              )
                                            left_token: <Left_CommandSub '$('>
                                            spids: [280 316]
                                          )
                                        )
                                      } {(--)} {(DQ ($ VSub_DollarName '$cur'))}
                                    )
                                  ]
                                )
                              left_token: <Left_CommandSub '$('>
                              spids: [273 325]
                            )
                          }
                        ]
                      )
                    }
                  spids: [270]
                )
              ]
              spids: [270]
            )
          ]
          spids: [267]
        )
      spids: [263 266]
    )
    (command.AndOr
      ops: [Op_DAmp]
      children: [
        (command.FuncDef
          name: _nmcli
          body: 
            (command.BraceGroup
              children: [
                (command.Assignment
                  keyword: Assign_Local
                  pairs: [
                    (assign_pair
                      lhs: (lhs_expr.LhsName name:cur spids:[341])
                      op: Equal
                      spids: [341]
                    )
                    (assign_pair
                      lhs: (lhs_expr.LhsName name:prev spids:[343])
                      op: Equal
                      spids: [343]
                    )
                    (assign_pair
                      lhs: (lhs_expr.LhsName name:words spids:[345])
                      op: Equal
                      spids: [345]
                    )
                    (assign_pair
                      lhs: (lhs_expr.LhsName name:cword spids:[347])
                      op: Equal
                      spids: [347]
                    )
                  ]
                  spids: [339]
                )
                (command.AndOr
                  ops: [Op_DPipe]
                  children: [
                    (C {(_init_completion)})
                    (command.ControlFlow token:<ControlFlow_Return return>)
                  ]
                )
                (command.Case
                  to_match: {($ VSub_DollarName '$prev')}
                  arms: [
                    (case_arm
                      pat_list: [{(-m)} {(--mode)}]
                      action: [
                        (command.Assignment
                          keyword: Assign_None
                          pairs: [
                            (assign_pair
                              lhs: (lhs_expr.LhsName name:COMPREPLY spids:[371])
                              op: Equal
                              rhs: 
                                {
                                  (word_part.ArrayLiteralPart
                                    words: [
                                      {
                                        (word_part.CommandSubPart
                                          command_list: 
                                            (command.CommandList
                                              children: [
                                                (C {(compgen)} {(-W)} {(SQ <'tabular multiline'>)} {(--)} 
                                                  {(DQ ($ VSub_DollarName '$cur'))}
                                                )
                                              ]
                                            )
                                          left_token: <Left_CommandSub '$('>
                                          spids: [374 390]
                                        )
                                      }
                                    ]
                                  )
                                }
                              spids: [371]
                            )
                          ]
                          spids: [371]
                        )
                        (command.ControlFlow
                          token: <ControlFlow_Return return>
                          arg_word: {(0)}
                        )
                      ]
                      spids: [365 368 400 16777215]
                    )
                    (case_arm
                      pat_list: [{(-f)} {(--fields)}]
                      action: [
                        (command.Assignment
                          keyword: Assign_None
                          pairs: [
                            (assign_pair
                              lhs: (lhs_expr.LhsName name:COMPREPLY spids:[409])
                              op: Equal
                              rhs: 
                                {
                                  (word_part.ArrayLiteralPart
                                    words: [
                                      {
                                        (word_part.CommandSubPart
                                          command_list: 
                                            (command.CommandList
                                              children: [
                                                (C {(compgen)} {(-W)} {(SQ <'all common'>)} {(--)} 
                                                  {(DQ ($ VSub_DollarName '$cur'))}
                                                )
                                              ]
                                            )
                                          left_token: <Left_CommandSub '$('>
                                          spids: [412 428]
                                        )
                                      }
                                    ]
                                  )
                                }
                              spids: [409]
                            )
                          ]
                          spids: [409]
                        )
                        (command.ControlFlow
                          token: <ControlFlow_Return return>
                          arg_word: {(0)}
                        )
                      ]
                      spids: [403 406 438 16777215]
                    )
                    (case_arm
                      pat_list: [{(-e)} {(--escape)}]
                      action: [
                        (C {(_nmcli_list)} {(DQ ('yes no'))})
                        (command.ControlFlow
                          token: <ControlFlow_Return return>
                          arg_word: {(0)}
                        )
                      ]
                      spids: [441 444 459 16777215]
                    )
                    (case_arm
                      pat_list: [{(id)}]
                      action: [
                        (C {(_nmcli_con_id)})
                        (command.ControlFlow
                          token: <ControlFlow_Return return>
                          arg_word: {(0)}
                        )
                      ]
                      spids: [462 463 474 16777215]
                    )
                    (case_arm
                      pat_list: [{(uuid)}]
                      action: [
                        (C {(_nmcli_con_uuid)})
                        (command.ControlFlow
                          token: <ControlFlow_Return return>
                          arg_word: {(0)}
                        )
                      ]
                      spids: [477 478 489 16777215]
                    )
                    (case_arm
                      pat_list: [{(iface)}]
                      action: [
                        (C {(_available_interfaces)})
                        (command.ControlFlow
                          token: <ControlFlow_Return return>
                          arg_word: {(0)}
                        )
                      ]
                      spids: [492 493 504 16777215]
                    )
                    (case_arm
                      pat_list: [{(bssid)}]
                      action: [
                        (C {(_nmcli_ab_bssid)})
                        (command.ControlFlow
                          token: <ControlFlow_Return return>
                          arg_word: {(0)}
                        )
                      ]
                      spids: [507 508 519 16777215]
                    )
                    (case_arm
                      pat_list: [{(wep-key-type)}]
                      action: [
                        (C {(_nmcli_list)} {(DQ ('key phrase'))})
                        (command.ControlFlow
                          token: <ControlFlow_Return return>
                          arg_word: {(0)}
                        )
                      ]
                      spids: [522 523 538 16777215]
                    )
                  ]
                  spids: [358 362 541]
                )
                (command.If
                  arms: [
                    (if_arm
                      cond: [
                        (command.Sentence
                          child: 
                            (command.DBracket
                              expr: 
                                (bool_expr.BoolBinary
                                  op_id: BoolBinary_eq
                                  left: {($ VSub_DollarName '$cword')}
                                  right: {(1)}
                                )
                            )
                          terminator: <Op_Semi ';'>
                        )
                      ]
                      action: [
                        (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:[581])
                                      op: Equal
                                      rhs: 
                                        {
                                          (word_part.ArrayLiteralPart
                                            words: [
                                              {
                                                (word_part.CommandSubPart
                                                  command_list: 
                                                    (command.CommandList
                                                      children: [
                                                        (C {(compgen)} {(-W)} 
                                                          {
                                                            (SQ 
                                                              <
'--terse --pretty --mode --fields\n'
                                                              > <'                --escape --version --help'>
                                                            )
                                                          } {(--)} {(DQ ($ VSub_DollarName '$cur'))}
                                                        )
                                                      ]
                                                    )
                                                  left_token: <Left_CommandSub '$('>
                                                  spids: [584 601]
                                                )
                                              }
                                            ]
                                          )
                                        }
                                      spids: [581]
                                    )
                                  ]
                                  spids: [581]
                                )
                              ]
                              spids: [16777215 578]
                            )
                          ]
                          else_action: [
                            (command.Assignment
                              keyword: Assign_None
                              pairs: [
                                (assign_pair
                                  lhs: (lhs_expr.LhsName name:COMPREPLY spids:[609])
                                  op: Equal
                                  rhs: 
                                    {
                                      (word_part.ArrayLiteralPart
                                        words: [
                                          {
                                            (word_part.CommandSubPart
                                              command_list: 
                                                (command.CommandList
                                                  children: [
                                                    (C {(compgen)} {(-W)} {(DQ ('nm con dev'))} {(--)} 
                                                      {(DQ ($ VSub_DollarName '$cur'))}
                                                    )
                                                  ]
                                                )
                                              left_token: <Left_CommandSub '$('>
                                              spids: [612 628]
                                            )
                                          }
                                        ]
                                      )
                                    }
                                  spids: [609]
                                )
                              ]
                              spids: [609]
                            )
                          ]
                          spids: [606 633]
                        )
                      ]
                      spids: [16777215 559]
                    )
                  ]
                  else_action: [
                    (command.Assignment
                      keyword: Assign_Local
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:object spids:[641])
                          op: Equal
                          rhs: 
                            {
                              (word_part.BracedVarSub
                                token: <VSub_Name words>
                                bracket_op: 
                                  (bracket_op.ArrayIndex
                                    expr: (arith_expr.ArithWord w:{(Lit_Digits 1)})
                                  )
                                spids: [642 647]
                              )
                            }
                          spids: [641]
                        )
                      ]
                      spids: [639]
                    )
                    (command.Assignment
                      keyword: Assign_Local
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:command spids:[652])
                          op: Equal
                          rhs: 
                            {
                              (word_part.BracedVarSub
                                token: <VSub_Name words>
                                bracket_op: 
                                  (bracket_op.ArrayIndex
                                    expr: (arith_expr.ArithWord w:{(Lit_Digits 2)})
                                  )
                                spids: [653 658]
                              )
                            }
                          spids: [652]
                        )
                      ]
                      spids: [650]
                    )
                    (command.Case
                      to_match: {($ VSub_DollarName '$object')}
                      arms: [
                        (case_arm
                          pat_list: [{(nm)}]
                          action: [
                            (command.Case
                              to_match: {($ VSub_DollarName '$command')}
                              arms: [
                                (case_arm
                                  pat_list: [{(enable)}]
                                  action: [
                                    (C {(_nmcli_list)} {(DQ ('true false'))})
                                    (command.ControlFlow
                                      token: <ControlFlow_Return return>
                                      arg_word: {(0)}
                                    )
                                  ]
                                  spids: [680 681 696 16777215]
                                )
                                (case_arm
                                  pat_list: [{(sleep)}]
                                  action: [
                                    (C {(_nmcli_list)} {(DQ ('true false'))})
                                    (command.ControlFlow
                                      token: <ControlFlow_Return return>
                                      arg_word: {(0)}
                                    )
                                  ]
                                  spids: [699 700 715 16777215]
                                )
                                (case_arm
                                  pat_list: [{(wifi)}]
                                  action: [
                                    (C {(_nmcli_list)} {(DQ ('on off'))})
                                    (command.ControlFlow
                                      token: <ControlFlow_Return return>
                                      arg_word: {(0)}
                                    )
                                  ]
                                  spids: [718 719 734 16777215]
                                )
                                (case_arm
                                  pat_list: [{(wwan)}]
                                  action: [
                                    (C {(_nmcli_list)} {(DQ ('on off'))})
                                    (command.ControlFlow
                                      token: <ControlFlow_Return return>
                                      arg_word: {(0)}
                                    )
                                  ]
                                  spids: [737 738 753 16777215]
                                )
                                (case_arm
                                  pat_list: [{(wimax)}]
                                  action: [
                                    (C {(_nmcli_list)} {(DQ ('on off'))})
                                    (command.ControlFlow
                                      token: <ControlFlow_Return return>
                                      arg_word: {(0)}
                                    )
                                  ]
                                  spids: [756 757 772 16777215]
                                )
                              ]
                              spids: [673 677 775]
                            )
                            (command.Assignment
                              keyword: Assign_None
                              pairs: [
                                (assign_pair
                                  lhs: (lhs_expr.LhsName name:COMPREPLY spids:[779])
                                  op: Equal
                                  rhs: 
                                    {
                                      (word_part.ArrayLiteralPart
                                        words: [
                                          {
                                            (word_part.CommandSubPart
                                              command_list: 
                                                (command.CommandList
                                                  children: [
                                                    (C {(compgen)} {(-W)} 
                                                      {
                                                        (SQ <'status permissions enable sleep\n'> 
                                                          <'                    wifi wwan wimax'>
                                                        )
                                                      } {(--)} {(DQ ($ VSub_DollarName '$cur'))}
                                                    )
                                                  ]
                                                )
                                              left_token: <Left_CommandSub '$('>
                                              spids: [782 799]
                                            )
                                          }
                                        ]
                                      )
                                    }
                                  spids: [779]
                                )
                              ]
                              spids: [779]
                            )
                          ]
                          spids: [669 670 804 16777215]
                        )
                        (case_arm
                          pat_list: [{(con)}]
                          action: [
                            (command.Case
                              to_match: {($ VSub_DollarName '$command')}
                              arms: [
                                (case_arm
                                  pat_list: [{(list)}]
                                  action: [
                                    (command.Assignment
                                      keyword: Assign_None
                                      pairs: [
                                        (assign_pair
                                          lhs: (lhs_expr.LhsName name:COMPREPLY spids:[822])
                                          op: Equal
                                          rhs: 
                                            {
                                              (word_part.ArrayLiteralPart
                                                words: [
                                                  {
                                                    (word_part.CommandSubPart
                                                      command_list: 
                                                        (command.CommandList
                                                          children: [
                                                            (C {(compgen)} {(-W)} {(SQ <'id uuid'>)} 
                                                              {(--)} {(DQ ($ VSub_DollarName '$cur'))}
                                                            )
                                                          ]
                                                        )
                                                      left_token: <Left_CommandSub '$('>
                                                      spids: [825 841]
                                                    )
                                                  }
                                                ]
                                              )
                                            }
                                          spids: [822]
                                        )
                                      ]
                                      spids: [822]
                                    )
                                    (command.ControlFlow
                                      token: <ControlFlow_Return return>
                                      arg_word: {(0)}
                                    )
                                  ]
                                  spids: [818 819 851 16777215]
                                )
                                (case_arm
                                  pat_list: [{(up)}]
                                  action: [
                                    (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:[877])
                                                  op: Equal
                                                  rhs: 
                                                    {
                                                      (word_part.ArrayLiteralPart
                                                        words: [
                                                          {
                                                            (word_part.CommandSubPart
                                                              command_list: 
                                                                (command.CommandList
                                                                  children: [
                                                                    (C {(compgen)} {(-W)} 
                                                                      {(SQ <'--nowait --timeout'>)} {(--)} {(DQ ($ VSub_DollarName '$cur'))}
                                                                    )
                                                                  ]
                                                                )
                                                              left_token: <Left_CommandSub '$('>
                                                              spids: [880 898]
                                                            )
                                                          }
                                                        ]
                                                      )
                                                    }
                                                  spids: [877]
                                                )
                                              ]
                                              spids: [877]
                                            )
                                          ]
                                          spids: [16777215 874]
                                        )
                                      ]
                                      else_action: [
                                        (command.Assignment
                                          keyword: Assign_None
                                          pairs: [
                                            (assign_pair
                                              lhs: (lhs_expr.LhsName name:COMPREPLY spids:[906])
                                              op: Equal
                                              rhs: 
                                                {
                                                  (word_part.ArrayLiteralPart
                                                    words: [
                                                      {
                                                        (word_part.CommandSubPart
                                                          command_list: 
                                                            (command.CommandList
                                                              children: [
                                                                (C {(compgen)} {(-W)} 
                                                                  {(SQ <'id uuid iface ap nsp'>)} {(--)} {(DQ ($ VSub_DollarName '$cur'))}
                                                                )
                                                              ]
                                                            )
                                                          left_token: <Left_CommandSub '$('>
                                                          spids: [909 927]
                                                        )
                                                      }
                                                    ]
                                                  )
                                                }
                                              spids: [906]
                                            )
                                          ]
                                          spids: [906]
                                        )
                                      ]
                                      spids: [903 932]
                                    )
                                    (command.ControlFlow
                                      token: <ControlFlow_Return return>
                                      arg_word: {(0)}
                                    )
                                  ]
                                  spids: [854 855 940 16777215]
                                )
                                (case_arm
                                  pat_list: [{(down)}]
                                  action: [
                                    (command.Assignment
                                      keyword: Assign_None
                                      pairs: [
                                        (assign_pair
                                          lhs: (lhs_expr.LhsName name:COMPREPLY spids:[947])
                                          op: Equal
                                          rhs: 
                                            {
                                              (word_part.ArrayLiteralPart
                                                words: [
                                                  {
                                                    (word_part.CommandSubPart
                                                      command_list: 
                                                        (command.CommandList
                                                          children: [
                                                            (C {(compgen)} {(-W)} {(SQ <'id uuid'>)} 
                                                              {(--)} {(DQ ($ VSub_DollarName '$cur'))}
                                                            )
                                                          ]
                                                        )
                                                      left_token: <Left_CommandSub '$('>
                                                      spids: [950 966]
                                                    )
                                                  }
                                                ]
                                              )
                                            }
                                          spids: [947]
                                        )
                                      ]
                                      spids: [947]
                                    )
                                    (command.ControlFlow
                                      token: <ControlFlow_Return return>
                                      arg_word: {(0)}
                                    )
                                  ]
                                  spids: [943 944 976 16777215]
                                )
                                (case_arm
                                  pat_list: [{(delete)}]
                                  action: [
                                    (command.Assignment
                                      keyword: Assign_None
                                      pairs: [
                                        (assign_pair
                                          lhs: (lhs_expr.LhsName name:COMPREPLY spids:[983])
                                          op: Equal
                                          rhs: 
                                            {
                                              (word_part.ArrayLiteralPart
                                                words: [
                                                  {
                                                    (word_part.CommandSubPart
                                                      command_list: 
                                                        (command.CommandList
                                                          children: [
                                                            (C {(compgen)} {(-W)} {(SQ <'id uuid'>)} 
                                                              {(--)} {(DQ ($ VSub_DollarName '$cur'))}
                                                            )
                                                          ]
                                                        )
                                                      left_token: <Left_CommandSub '$('>
                                                      spids: [986 1002]
                                                    )
                                                  }
                                                ]
                                              )
                                            }
                                          spids: [983]
                                        )
                                      ]
                                      spids: [983]
                                    )
                                    (command.ControlFlow
                                      token: <ControlFlow_Return return>
                                      arg_word: {(0)}
                                    )
                                  ]
                                  spids: [979 980 1012 16777215]
                                )
                              ]
                              spids: [811 815 1015]
                            )
                            (command.Assignment
                              keyword: Assign_None
                              pairs: [
                                (assign_pair
                                  lhs: (lhs_expr.LhsName name:COMPREPLY spids:[1019])
                                  op: Equal
                                  rhs: 
                                    {
                                      (word_part.ArrayLiteralPart
                                        words: [
                                          {
                                            (word_part.CommandSubPart
                                              command_list: 
                                                (command.CommandList
                                                  children: [
                                                    (C {(compgen)} {(-W)} 
                                                      {(SQ <'list status up down delete'>)} {(--)} {(DQ ($ VSub_DollarName '$cur'))}
                                                    )
                                                  ]
                                                )
                                              left_token: <Left_CommandSub '$('>
                                              spids: [1022 1040]
                                            )
                                          }
                                        ]
                                      )
                                    }
                                  spids: [1019]
                                )
                              ]
                              spids: [1019]
                            )
                          ]
                          spids: [807 808 1045 16777215]
                        )
                        (case_arm
                          pat_list: [{(dev)}]
                          action: [
                            (command.Case
                              to_match: {($ VSub_DollarName '$command')}
                              arms: [
                                (case_arm
                                  pat_list: [{(list)}]
                                  action: [
                                    (command.Assignment
                                      keyword: Assign_None
                                      pairs: [
                                        (assign_pair
                                          lhs: (lhs_expr.LhsName name:COMPREPLY spids:[1063])
                                          op: Equal
                                          rhs: 
                                            {
                                              (word_part.ArrayLiteralPart
                                                words: [
                                                  {
                                                    (word_part.CommandSubPart
                                                      command_list: 
                                                        (command.CommandList
                                                          children: [
                                                            (C {(compgen)} {(-W)} {(SQ <iface>)} {(--)} 
                                                              {(DQ ($ VSub_DollarName '$cur'))}
                                                            )
                                                          ]
                                                        )
                                                      left_token: <Left_CommandSub '$('>
                                                      spids: [1066 1082]
                                                    )
                                                  }
                                                ]
                                              )
                                            }
                                          spids: [1063]
                                        )
                                      ]
                                      spids: [1063]
                                    )
                                    (command.ControlFlow
                                      token: <ControlFlow_Return return>
                                      arg_word: {(0)}
                                    )
                                  ]
                                  spids: [1059 1060 1092 16777215]
                                )
                                (case_arm
                                  pat_list: [{(disconnect)}]
                                  action: [
                                    (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:[1118])
                                                  op: Equal
                                                  rhs: 
                                                    {
                                                      (word_part.ArrayLiteralPart
                                                        words: [
                                                          {
                                                            (word_part.CommandSubPart
                                                              command_list: 
                                                                (command.CommandList
                                                                  children: [
                                                                    (C {(compgen)} {(-W)} 
                                                                      {(SQ <'--nowait --timeout'>)} {(--)} {(DQ ($ VSub_DollarName '$cur'))}
                                                                    )
                                                                  ]
                                                                )
                                                              left_token: <Left_CommandSub '$('>
                                                              spids: [1121 1139]
                                                            )
                                                          }
                                                        ]
                                                      )
                                                    }
                                                  spids: [1118]
                                                )
                                              ]
                                              spids: [1118]
                                            )
                                          ]
                                          spids: [16777215 1115]
                                        )
                                      ]
                                      else_action: [
                                        (command.Assignment
                                          keyword: Assign_None
                                          pairs: [
                                            (assign_pair
                                              lhs: (lhs_expr.LhsName name:COMPREPLY spids:[1147])
                                              op: Equal
                                              rhs: 
                                                {
                                                  (word_part.ArrayLiteralPart
                                                    words: [
                                                      {
                                                        (word_part.CommandSubPart
                                                          command_list: 
                                                            (command.CommandList
                                                              children: [
                                                                (C {(compgen)} {(-W)} {(SQ <iface>)} 
                                                                  {(--)} {(DQ ($ VSub_DollarName '$cur'))}
                                                                )
                                                              ]
                                                            )
                                                          left_token: <Left_CommandSub '$('>
                                                          spids: [1150 1166]
                                                        )
                                                      }
                                                    ]
                                                  )
                                                }
                                              spids: [1147]
                                            )
                                          ]
                                          spids: [1147]
                                        )
                                      ]
                                      spids: [1144 1171]
                                    )
                                    (command.ControlFlow
                                      token: <ControlFlow_Return return>
                                      arg_word: {(0)}
                                    )
                                  ]
                                  spids: [1095 1096 1179 16777215]
                                )
                                (case_arm
                                  pat_list: [{(wifi)}]
                                  action: [
                                    (command.Assignment
                                      keyword: Assign_Local
                                      pairs: [
                                        (assign_pair
                                          lhs: (lhs_expr.LhsName name:subcommand spids:[1188])
                                          op: Equal
                                          rhs: 
                                            {
                                              (word_part.BracedVarSub
                                                token: <VSub_Name words>
                                                bracket_op: 
                                                  (bracket_op.ArrayIndex
                                                    expr: (arith_expr.ArithWord w:{(Lit_Digits 3)})
                                                  )
                                                spids: [1189 1194]
                                              )
                                            }
                                          spids: [1188]
                                        )
                                      ]
                                      spids: [1186]
                                    )
                                    (command.Case
                                      to_match: {($ VSub_DollarName '$subcommand')}
                                      arms: [
                                        (case_arm
                                          pat_list: [{(list)}]
                                          action: [
                                            (command.Assignment
                                              keyword: Assign_None
                                              pairs: [
                                                (assign_pair
                                                  lhs: (lhs_expr.LhsName name:COMPREPLY spids:[1209])
                                                  op: Equal
                                                  rhs: 
                                                    {
                                                      (word_part.ArrayLiteralPart
                                                        words: [
                                                          {
                                                            (word_part.CommandSubPart
                                                              command_list: 
                                                                (command.CommandList
                                                                  children: [
                                                                    (C {(compgen)} {(-W)} 
                                                                      {(SQ <'iface bssid'>)} {(--)} {(DQ ($ VSub_DollarName '$cur'))}
                                                                    )
                                                                  ]
                                                                )
                                                              left_token: <Left_CommandSub '$('>
                                                              spids: [1212 1230]
                                                            )
                                                          }
                                                        ]
                                                      )
                                                    }
                                                  spids: [1209]
                                                )
                                              ]
                                              spids: [1209]
                                            )
                                            (command.ControlFlow
                                              token: <ControlFlow_Return return>
                                              arg_word: {(0)}
                                            )
                                          ]
                                          spids: [1205 1206 1240 16777215]
                                        )
                                        (case_arm
                                          pat_list: [{(connect)}]
                                          action: [
                                            (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: [1266]
                                                            )
                                                          op: Equal
                                                          rhs: 
                                                            {
                                                              (word_part.ArrayLiteralPart
                                                                words: [
                                                                  {
                                                                    (word_part.CommandSubPart
                                                                      command_list: 
                                                                        (command.CommandList
                                                                          children: [
                                                                            (C {(compgen)} {(-W)} 
                                                                              {
                                                                                (SQ <'--private\n'> 
                                                                                  <
'                                        --nowait --timeout'
                                                                                  >
                                                                                )
                                                                              } {(--)} {(DQ ($ VSub_DollarName '$cur'))}
                                                                            )
                                                                          ]
                                                                        )
                                                                      left_token: 
                                                                        <Left_CommandSub '$('>
                                                                      spids: [1269 1286]
                                                                    )
                                                                  }
                                                                ]
                                                              )
                                                            }
                                                          spids: [1266]
                                                        )
                                                      ]
                                                      spids: [1266]
                                                    )
                                                  ]
                                                  spids: [16777215 1263]
                                                )
                                              ]
                                              else_action: [
                                                (command.If
                                                  arms: [
                                                    (if_arm
                                                      cond: [
                                                        (command.Sentence
                                                          child: 
                                                            (command.DBracket
                                                              expr: 
                                                                (bool_expr.BoolBinary
                                                                  op_id: BoolBinary_GlobDEqual
                                                                  left: 
                                                                    {
                                                                      (DQ ($ VSub_DollarName '$prev'))
                                                                    }
                                                                  right: {(DQ (connect))}
                                                                )
                                                            )
                                                          terminator: <Op_Semi ';'>
                                                        )
                                                      ]
                                                      action: [(C {(_nmcli_ap_ssid)})]
                                                      spids: [16777215 1311]
                                                    )
                                                  ]
                                                  else_action: [
                                                    (command.Assignment
                                                      keyword: Assign_None
                                                      pairs: [
                                                        (assign_pair
                                                          lhs: 
                                                            (lhs_expr.LhsName
                                                              name: COMPREPLY
                                                              spids: [1320]
                                                            )
                                                          op: Equal
                                                          rhs: 
                                                            {
                                                              (word_part.ArrayLiteralPart
                                                                words: [
                                                                  {
                                                                    (word_part.CommandSubPart
                                                                      command_list: 
                                                                        (command.CommandList
                                                                          children: [
                                                                            (C {(compgen)} {(-W)} 
                                                                              {
                                                                                (SQ <'password\n'> 
                                                                                  <
'                                            wep-key-type iface bssid name'
                                                                                  >
                                                                                )
                                                                              } {(--)} {(DQ ($ VSub_DollarName '$cur'))}
                                                                            )
                                                                          ]
                                                                        )
                                                                      left_token: 
                                                                        <Left_CommandSub '$('>
                                                                      spids: [1323 1342]
                                                                    )
                                                                  }
                                                                ]
                                                              )
                                                            }
                                                          spids: [1320]
                                                        )
                                                      ]
                                                      spids: [1320]
                                                    )
                                                  ]
                                                  spids: [1317 1347]
                                                )
                                              ]
                                              spids: [1291 1350]
                                            )
                                            (command.ControlFlow
                                              token: <ControlFlow_Return return>
                                              arg_word: {(0)}
                                            )
                                          ]
                                          spids: [1243 1244 1358 16777215]
                                        )
                                      ]
                                      spids: [1198 1202 1361]
                                    )
                                    (command.Assignment
                                      keyword: Assign_None
                                      pairs: [
                                        (assign_pair
                                          lhs: (lhs_expr.LhsName name:COMPREPLY spids:[1365])
                                          op: Equal
                                          rhs: 
                                            {
                                              (word_part.ArrayLiteralPart
                                                words: [
                                                  {
                                                    (word_part.CommandSubPart
                                                      command_list: 
                                                        (command.CommandList
                                                          children: [
                                                            (C {(compgen)} {(-W)} {(SQ <'list connect'>)} 
                                                              {(--)} {(DQ ($ VSub_DollarName '$cur'))}
                                                            )
                                                          ]
                                                        )
                                                      left_token: <Left_CommandSub '$('>
                                                      spids: [1368 1384]
                                                    )
                                                  }
                                                ]
                                              )
                                            }
                                          spids: [1365]
                                        )
                                      ]
                                      spids: [1365]
                                    )
                                    (command.ControlFlow
                                      token: <ControlFlow_Return return>
                                      arg_word: {(0)}
                                    )
                                  ]
                                  spids: [1182 1183 1394 16777215]
                                )
                              ]
                              spids: [1052 1056 1397]
                            )
                            (command.Assignment
                              keyword: Assign_None
                              pairs: [
                                (assign_pair
                                  lhs: (lhs_expr.LhsName name:COMPREPLY spids:[1401])
                                  op: Equal
                                  rhs: 
                                    {
                                      (word_part.ArrayLiteralPart
                                        words: [
                                          {
                                            (word_part.CommandSubPart
                                              command_list: 
                                                (command.CommandList
                                                  children: [
                                                    (C {(compgen)} {(-W)} 
                                                      {(SQ <'status list disconnect wifi'>)} {(--)} {(DQ ($ VSub_DollarName '$cur'))}
                                                    )
                                                  ]
                                                )
                                              left_token: <Left_CommandSub '$('>
                                              spids: [1404 1422]
                                            )
                                          }
                                        ]
                                      )
                                    }
                                  spids: [1401]
                                )
                              ]
                              spids: [1401]
                            )
                          ]
                          spids: [1048 1049 1427 16777215]
                        )
                      ]
                      spids: [662 666 1430]
                    )
                  ]
                  spids: [636 1434]
                )
                (command.ControlFlow token:<ControlFlow_Return return> arg_word:{(0)})
              ]
              spids: [336]
            )
          spids: [332 335]
        )
        (C {(complete)} {(-F)} {(_nmcli)} {(nmcli)})
      ]
    )
  ]
)