(AndOr
  ops: [Op_DAmp]
  children: [
    (FuncDef
      name: _rdesktop
      body: 
        (BraceGroup
          children: [
            (Assignment
              keyword: Assign_Local
              pairs: [
                (assign_pair lhs:(LhsName name:cur) op:Equal spids:[13])
                (assign_pair lhs:(LhsName name:prev) op:Equal spids:[15])
                (assign_pair lhs:(LhsName name:words) op:Equal spids:[17])
                (assign_pair lhs:(LhsName name:cword) op:Equal spids:[19])
              ]
              spids: [11]
            )
            (AndOr
              ops: [Op_DPipe]
              children: [
                (C {(_init_completion)} {(-n)} {(Lit_Other ':')})
                (ControlFlow token:<ControlFlow_Return return>)
              ]
            )
            (Case
              to_match: {($ VSub_Name '$prev')}
              arms: [
                (case_arm
                  pat_list: [{(-k)}]
                  action: [
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:COMPREPLY)
                          op: Equal
                          rhs: 
                            {
                              (ArrayLiteralPart
                                words: [
                                  {
                                    (CommandSubPart
                                      command_list: 
                                        (CommandList
                                          children: [
                                            (Pipeline
                                              children: [
                                                (SimpleCommand
                                                  words: [
                                                    {(command)}
                                                    {(ls)}
                                                    {(/usr/share/rdesktop/keymaps)}
                                                  ]
                                                  redirects: [
                                                    (Redir
                                                      op: <Redir_Great '2>'>
                                                      fd: 2
                                                      arg_word: {(/dev/null)}
                                                    )
                                                  ]
                                                )
                                                (C {(command)} {(grep)} {(-E)} {(-v)} 
                                                  {(SQ <'(common|modifiers)'>)}
                                                )
                                              ]
                                              negated: F
                                            )
                                          ]
                                        )
                                      left_token: <Left_CommandSub '$('>
                                      spids: [48 77]
                                    )
                                  }
                                ]
                              )
                            }
                          spids: [45]
                        )
                      ]
                      spids: [45]
                    )
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:COMPREPLY)
                          op: PlusEqual
                          rhs: 
                            {
                              (ArrayLiteralPart
                                words: [
                                  {
                                    (CommandSubPart
                                      command_list: 
                                        (CommandList
                                          children: [
                                            (SimpleCommand
                                              words: [
                                                {(command)}
                                                {(ls)}
                                                {($ VSub_Name '$HOME') (/.rdesktop/keymaps)}
                                              ]
                                              redirects: [
                                                (Redir
                                                  op: <Redir_Great '2>'>
                                                  fd: 2
                                                  arg_word: {(/dev/null)}
                                                )
                                              ]
                                            )
                                          ]
                                        )
                                      left_token: <Left_CommandSub '$('>
                                      spids: [85 97]
                                    )
                                  }
                                ]
                              )
                            }
                          spids: [82]
                        )
                      ]
                      spids: [82]
                    )
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:COMPREPLY)
                          op: PlusEqual
                          rhs: 
                            {
                              (ArrayLiteralPart
                                words: [
                                  {
                                    (CommandSubPart
                                      command_list: 
                                        (CommandList
                                          children: [
                                            (SimpleCommand
                                              words: [{(command)} {(ls)} {(./keymaps)}]
                                              redirects: [
                                                (Redir
                                                  op: <Redir_Great '2>'>
                                                  fd: 2
                                                  arg_word: {(/dev/null)}
                                                )
                                              ]
                                            )
                                          ]
                                        )
                                      left_token: <Left_CommandSub '$('>
                                      spids: [105 116]
                                    )
                                  }
                                ]
                              )
                            }
                          spids: [102]
                        )
                      ]
                      spids: [102]
                    )
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:COMPREPLY)
                          op: Equal
                          rhs: 
                            {
                              (ArrayLiteralPart
                                words: [
                                  {
                                    (CommandSubPart
                                      command_list: 
                                        (CommandList
                                          children: [
                                            (C {(compgen)} {(-W)} {(SQ <'${COMPREPLY[@]}'>)} {(--)} 
                                              {(DQ ($ VSub_Name '$cur'))}
                                            )
                                          ]
                                        )
                                      left_token: <Left_CommandSub '$('>
                                      spids: [124 140]
                                    )
                                  }
                                ]
                              )
                            }
                          spids: [121]
                        )
                      ]
                      spids: [121]
                    )
                    (ControlFlow token:<ControlFlow_Return return> arg_word:{(0)})
                  ]
                  spids: [41 42 150 16777215]
                )
                (case_arm
                  pat_list: [{(-a)}]
                  action: [
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:COMPREPLY)
                          op: Equal
                          rhs: 
                            {
                              (ArrayLiteralPart
                                words: [
                                  {
                                    (CommandSubPart
                                      command_list: 
                                        (CommandList
                                          children: [
                                            (C {(compgen)} {(-W)} {(SQ <'8 15 16 24'>)} {(--)} 
                                              {(DQ ($ VSub_Name '$cur'))}
                                            )
                                          ]
                                        )
                                      left_token: <Left_CommandSub '$('>
                                      spids: [160 176]
                                    )
                                  }
                                ]
                              )
                            }
                          spids: [157]
                        )
                      ]
                      spids: [157]
                    )
                    (ControlFlow token:<ControlFlow_Return return> arg_word:{(0)})
                  ]
                  spids: [153 154 186 16777215]
                )
                (case_arm
                  pat_list: [{(-x)}]
                  action: [
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:COMPREPLY)
                          op: Equal
                          rhs: 
                            {
                              (ArrayLiteralPart
                                words: [
                                  {
                                    (CommandSubPart
                                      command_list: 
                                        (CommandList
                                          children: [
                                            (C {(compgen)} {(-W)} {(SQ <'broadband modem lan'>)} {(--)} 
                                              {(DQ ($ VSub_Name '$cur'))}
                                            )
                                          ]
                                        )
                                      left_token: <Left_CommandSub '$('>
                                      spids: [196 212]
                                    )
                                  }
                                ]
                              )
                            }
                          spids: [193]
                        )
                      ]
                      spids: [193]
                    )
                    (ControlFlow token:<ControlFlow_Return return> arg_word:{(0)})
                  ]
                  spids: [189 190 222 16777215]
                )
                (case_arm
                  pat_list: [{(-r)}]
                  action: [
                    (Case
                      to_match: {($ VSub_Name '$cur')}
                      arms: [
                        (case_arm
                          pat_list: [{(sound) (Lit_Other ':') (Lit_Other '*')}]
                          action: [
                            (Assignment
                              keyword: Assign_None
                              pairs: [
                                (assign_pair
                                  lhs: (LhsName name:COMPREPLY)
                                  op: Equal
                                  rhs: 
                                    {
                                      (ArrayLiteralPart
                                        words: [
                                          {
                                            (CommandSubPart
                                              command_list: 
                                                (CommandList
                                                  children: [
                                                    (C {(compgen)} {(-W)} {(SQ <'local off remote'>)} 
                                                      {(--)} 
                                                      {
                                                        (DQ 
                                                          (BracedVarSub
                                                            token: <VSub_Name cur>
                                                            suffix_op: 
                                                              (StringUnary
                                                                op_id: VOp1_Pound
                                                                arg_word: {('sound:')}
                                                              )
                                                            spids: [260 264]
                                                          )
                                                        )
                                                      }
                                                    )
                                                  ]
                                                )
                                              left_token: <Left_CommandSub '$('>
                                              spids: [245 267]
                                            )
                                          }
                                        ]
                                      )
                                    }
                                  spids: [242]
                                )
                              ]
                              spids: [242]
                            )
                          ]
                          spids: [236 239 272 16777215]
                        )
                        (case_arm
                          pat_list: [{(Lit_Other '*') (Lit_Other ':') (Lit_Other '*')}]
                          spids: [275 278 281 16777215]
                        )
                        (case_arm
                          pat_list: [{(Lit_Other '*')}]
                          action: [
                            (Assignment
                              keyword: Assign_None
                              pairs: [
                                (assign_pair
                                  lhs: (LhsName name:COMPREPLY)
                                  op: Equal
                                  rhs: 
                                    {
                                      (ArrayLiteralPart
                                        words: [
                                          {
                                            (CommandSubPart
                                              command_list: 
                                                (CommandList
                                                  children: [
                                                    (C {(compgen)} {(-W)} 
                                                      {
                                                        (SQ <'comport: disk: lptport:\n'> 
                                                          <
'                        printer: sound: lspci scard'
                                                          >
                                                        )
                                                      } {(--)} {(DQ ($ VSub_Name '$cur'))}
                                                    )
                                                  ]
                                                )
                                              left_token: <Left_CommandSub '$('>
                                              spids: [291 308]
                                            )
                                          }
                                        ]
                                      )
                                    }
                                  spids: [288]
                                )
                              ]
                              spids: [288]
                            )
                            (AndOr
                              ops: [Op_DAmp]
                              children: [
                                (DBracket
                                  expr: 
                                    (BoolBinary
                                      op_id: BoolBinary_GlobDEqual
                                      left: {($ VSub_Name '$COMPREPLY')}
                                      right: {(Lit_Other '*') (Lit_Other ':')}
                                    )
                                )
                                (C {(compopt)} {(-o)} {(nospace)})
                              ]
                            )
                          ]
                          spids: [284 285 333 16777215]
                        )
                      ]
                      spids: [229 233 336]
                    )
                    (ControlFlow token:<ControlFlow_Return return> arg_word:{(0)})
                  ]
                  spids: [225 226 344 16777215]
                )
                (case_arm
                  pat_list: [{(-u)} {(-d)} {(-s)} {(-c)} {(-p)} {(-n)} {(-g)} {(-S)} {(-T)} {(-X)}]
                  action: [(ControlFlow token:<ControlFlow_Return return> arg_word:{(0)})]
                  spids: [347 366 374 16777215]
                )
              ]
              spids: [34 38 377]
            )
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (DBracket
                          expr: 
                            (BoolBinary
                              op_id: BoolBinary_GlobDEqual
                              left: {(DQ ($ VSub_Name '$cur'))}
                              right: {(-) (Lit_Other '*')}
                            )
                        )
                      terminator: <Op_Semi ';'>
                    )
                  ]
                  action: [
                    (Assignment
                      keyword: Assign_Local
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:opts)
                          op: Equal
                          rhs: 
                            {
                              (ArrayLiteralPart
                                words: [
                                  {
                                    (CommandSubPart
                                      command_list: 
                                        (CommandList
                                          children: [(C {(_parse_help)} {(DQ ($ VSub_Number '$1'))})]
                                        )
                                      left_token: <Left_CommandSub '$('>
                                      spids: [405 413]
                                    )
                                  }
                                ]
                              )
                            }
                          spids: [402]
                        )
                      ]
                      spids: [400]
                    )
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:COMPREPLY)
                          op: Equal
                          rhs: 
                            {
                              (ArrayLiteralPart
                                words: [
                                  {
                                    (CommandSubPart
                                      command_list: 
                                        (CommandList
                                          children: [
                                            (C {(compgen)} {(-W)} {(SQ <'${opts[@]%:}'>)} {(--)} 
                                              {(DQ ($ VSub_Name '$cur'))}
                                            )
                                          ]
                                        )
                                      left_token: <Left_CommandSub '$('>
                                      spids: [421 437]
                                    )
                                  }
                                ]
                              )
                            }
                          spids: [418]
                        )
                      ]
                      spids: [418]
                    )
                  ]
                  spids: [16777215 397]
                )
              ]
              else_action: [(C {(_known_hosts_real)} {(DQ ($ VSub_Name '$cur'))})]
              spids: [442 452]
            )
          ]
          spids: [8]
        )
      spids: [4 7]
    )
    (C {(complete)} {(-F)} {(_rdesktop)} {(rdesktop)})
  ]
)