(CommandList
  children: [
    (AndOr
      children: [
        (FuncDef
          name: _vncviewer_bootstrap
          body: 
            (BraceGroup
              children: [
                (Assignment
                  keyword: Assign_Local
                  pairs: [(assign_pair lhs:(LhsName name:fname) op:Equal spids:[13])]
                  spids: [11]
                )
                (Case
                  to_match: 
                    {
                      (CommandSubPart
                        command_list: (CommandList children:[(C {(_realcommand)} {(vncviewer)})])
                        left_token: <Left_CommandSub '$('>
                        spids: [18 22]
                      )
                    }
                  arms: [
                    (case_arm
                      pat_list: [{(Lit_Other '*') (xvnc4viewer)}]
                      action: [
                        (Assignment
                          keyword: Assign_None
                          pairs: [
                            (assign_pair
                              lhs: (LhsName name:fname)
                              op: Equal
                              rhs: {(_xvnc4viewer)}
                              spids: [31]
                            )
                          ]
                          spids: [31]
                        )
                      ]
                      spids: [27 29 34 16777215]
                    )
                    (case_arm
                      pat_list: [{(Lit_Other '*') (tightvncviewer)}]
                      action: [
                        (Assignment
                          keyword: Assign_None
                          pairs: [
                            (assign_pair
                              lhs: (LhsName name:fname)
                              op: Equal
                              rhs: {(_tightvncviewer)}
                              spids: [41]
                            )
                          ]
                          spids: [41]
                        )
                      ]
                      spids: [37 39 44 16777215]
                    )
                    (case_arm
                      pat_list: [{(Lit_Other '*')}]
                      action: [
                        (Assignment
                          keyword: Assign_None
                          pairs: [
                            (assign_pair
                              lhs: (LhsName name:fname)
                              op: Equal
                              rhs: {(_known_hosts)}
                              spids: [50]
                            )
                          ]
                          spids: [50]
                        )
                      ]
                      spids: [47 48 53 16777215]
                    )
                  ]
                  spids: [16 24 56]
                )
                (C {(complete)} {(-F)} {($ VSub_Name '$fname')} {(vncviewer)})
                (C {($ VSub_Name '$fname')})
                (C {(unset)} {(-f)} {(_vncviewer_bootstrap)})
              ]
              spids: [8]
            )
          spids: [4 7]
        )
        (C {(complete)} {(-F)} {(_vncviewer_bootstrap)} {(vncviewer)})
      ]
      op_id: Op_DAmp
    )
    (AndOr
      children: [
        (FuncDef
          name: _tightvncviewer
          body: 
            (BraceGroup
              children: [
                (Assignment
                  keyword: Assign_Local
                  pairs: [
                    (assign_pair lhs:(LhsName name:cur) op:Equal spids:[107])
                    (assign_pair lhs:(LhsName name:prev) op:Equal spids:[109])
                    (assign_pair lhs:(LhsName name:words) op:Equal spids:[111])
                    (assign_pair lhs:(LhsName name:cword) op:Equal spids:[113])
                  ]
                  spids: [105]
                )
                (AndOr
                  children: [(C {(_init_completion)}) (ControlFlow token:<ControlFlow_Return return>)]
                  op_id: Op_DPipe
                )
                (Case
                  to_match: {($ VSub_Name '$prev')}
                  arms: [
                    (case_arm
                      pat_list: [{(-passwd)}]
                      action: [
                        (C {(_filedir)})
                        (ControlFlow
                          token: <ControlFlow_Return return>
                          arg_word: {(0)}
                        )
                      ]
                      spids: [131 132 143 16777215]
                    )
                    (case_arm
                      pat_list: [{(-encodings)}]
                      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 <'copyrect tight hextile zlib corre rre\n'> 
                                                      <'                raw'>
                                                    )
                                                  } {(--)} {(DQ ($ VSub_Name '$cur'))}
                                                )
                                              ]
                                            )
                                          left_token: <Left_CommandSub '$('>
                                          spids: [153 170]
                                        )
                                      }
                                    ]
                                  )
                                }
                              spids: [150]
                            )
                          ]
                          spids: [150]
                        )
                        (ControlFlow
                          token: <ControlFlow_Return return>
                          arg_word: {(0)}
                        )
                      ]
                      spids: [146 147 180 16777215]
                    )
                    (case_arm
                      pat_list: [{(-via)}]
                      action: [
                        (C {(_known_hosts_real)} {(DQ ($ VSub_Name '$cur'))})
                        (ControlFlow
                          token: <ControlFlow_Return return>
                          arg_word: {(0)}
                        )
                      ]
                      spids: [183 184 199 16777215]
                    )
                  ]
                  spids: [124 128 202]
                )
                (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_None
                          pairs: [
                            (assign_pair
                              lhs: (LhsName name:COMPREPLY)
                              op: Equal
                              rhs: 
                                {
                                  (ArrayLiteralPart
                                    words: [
                                      {
                                        (CommandSubPart
                                          command_list: 
                                            (CommandList
                                              children: [
                                                (C {(compgen)} {(-W)} 
                                                  {
                                                    (SQ <'-help -listen -via -shared -noshared\n'> 
                                                      <
'            -viewonly -fullscreen -noraiseonbeep -passwd -encodings -bgr233\n'
                                                      > <'            -owncmap -truecolour -truecolor -depth -compresslevel -quality\n'> 
                                                      <
'            -nojpeg -nocursorshape -x11cursor'
                                                      >
                                                    )
                                                  } {(--)} {(DQ ($ VSub_Name '$cur'))}
                                                )
                                              ]
                                            )
                                          left_token: <Left_CommandSub '$('>
                                          spids: [229 248]
                                        )
                                      }
                                    ]
                                  )
                                }
                              spids: [226]
                            )
                          ]
                          spids: [226]
                        )
                      ]
                      spids: [16777215 223]
                    )
                  ]
                  else_action: [(C {(_known_hosts_real)} {(DQ ($ VSub_Name '$cur'))})]
                  spids: [253 263]
                )
              ]
              spids: [102]
            )
          spids: [98 101]
        )
        (C {(complete)} {(-F)} {(_tightvncviewer)} {(tightvncviewer)})
      ]
      op_id: Op_DAmp
    )
    (AndOr
      children: [
        (FuncDef
          name: _xvnc4viewer
          body: 
            (BraceGroup
              children: [
                (Assignment
                  keyword: Assign_Local
                  pairs: [
                    (assign_pair lhs:(LhsName name:cur) op:Equal spids:[297])
                    (assign_pair lhs:(LhsName name:prev) op:Equal spids:[299])
                    (assign_pair lhs:(LhsName name:words) op:Equal spids:[301])
                    (assign_pair lhs:(LhsName name:cword) op:Equal spids:[303])
                  ]
                  spids: [295]
                )
                (AndOr
                  children: [(C {(_init_completion)}) (ControlFlow token:<ControlFlow_Return return>)]
                  op_id: Op_DPipe
                )
                (Case
                  to_match: 
                    {
                      (BracedVarSub
                        token: <VSub_Name prev>
                        suffix_op: 
                          (PatSub
                            pat: {(--)}
                            replace: {(-)}
                            do_all: False
                            do_prefix: True
                            do_suffix: False
                          )
                        spids: [320 327]
                      )
                    }
                  arms: [
                    (case_arm
                      pat_list: [
                        {(-) (Lit_Other '[') (pP) (Lit_Other ']') (Lit_Other '[') (aA) (Lit_Other ']') 
                          (Lit_Other '[') (sS) (Lit_Other ']') (Lit_Other '[') (sS) (Lit_Other ']') (Lit_Other '[') (wW) (Lit_Other ']') 
                          (Lit_Other '[') (dD) (Lit_Other ']')
                        }
                        {(-) (Lit_Other '[') (pP) (Lit_Other ']') (Lit_Other '[') (aA) (Lit_Other ']') 
                          (Lit_Other '[') (sS) (Lit_Other ']') (Lit_Other '[') (sS) (Lit_Other ']') (Lit_Other '[') (wW) (Lit_Other ']') 
                          (Lit_Other '[') (oO) (Lit_Other ']') (Lit_Other '[') (rR) (Lit_Other ']') (Lit_Other '[') (dD) (Lit_Other ']') 
                          (Lit_Other '[') (fF) (Lit_Other ']') (Lit_Other '[') (iI) (Lit_Other ']') (Lit_Other '[') (lL) (Lit_Other ']') 
                          (Lit_Other '[') (eE) (Lit_Other ']')
                        }
                      ]
                      action: [
                        (C {(_filedir)})
                        (ControlFlow
                          token: <ControlFlow_Return return>
                          arg_word: {(0)}
                        )
                      ]
                      spids: [336 393 404 16777215]
                    )
                    (case_arm
                      pat_list: [
                        {(-) (Lit_Other '[') (pP) (Lit_Other ']') (Lit_Other '[') (rR) (Lit_Other ']') 
                          (Lit_Other '[') (eE) (Lit_Other ']') (Lit_Other '[') (fF) (Lit_Other ']') (Lit_Other '[') (eE) (Lit_Other ']') 
                          (Lit_Other '[') (rR) (Lit_Other ']') (Lit_Other '[') (rR) (Lit_Other ']') (Lit_Other '[') (eE) (Lit_Other ']') 
                          (Lit_Other '[') (dD) (Lit_Other ']') (Lit_Other '[') (eE) (Lit_Other ']') (Lit_Other '[') (nN) (Lit_Other ']') 
                          (Lit_Other '[') (cC) (Lit_Other ']') (Lit_Other '[') (oO) (Lit_Other ']') (Lit_Other '[') (dD) (Lit_Other ']') 
                          (Lit_Other '[') (iI) (Lit_Other ']') (Lit_Other '[') (nN) (Lit_Other ']') (Lit_Other '[') (gG) (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 <'zrle hextile raw'>)} {(--)} 
                                                  {(DQ ($ VSub_Name '$cur'))}
                                                )
                                              ]
                                            )
                                          left_token: <Left_CommandSub '$('>
                                          spids: [469 485]
                                        )
                                      }
                                    ]
                                  )
                                }
                              spids: [466]
                            )
                          ]
                          spids: [466]
                        )
                        (ControlFlow
                          token: <ControlFlow_Return return>
                          arg_word: {(0)}
                        )
                      ]
                      spids: [411 463 495 16777215]
                    )
                    (case_arm
                      pat_list: [
                        {(-) (Lit_Other '[') (vV) (Lit_Other ']') (Lit_Other '[') (iI) (Lit_Other ']') 
                          (Lit_Other '[') (aA) (Lit_Other ']')
                        }
                      ]
                      action: [
                        (C {(_known_hosts_real)} {(DQ ($ VSub_Name '$cur'))})
                        (ControlFlow
                          token: <ControlFlow_Return return>
                          arg_word: {(0)}
                        )
                      ]
                      spids: [502 512 527 16777215]
                    )
                  ]
                  spids: [318 329 530]
                )
                (If
                  arms: [
                    (if_arm
                      cond: [
                        (Sentence
                          child: 
                            (DBracket
                              expr: 
                                (LogicalOr
                                  left: 
                                    (BoolBinary
                                      op_id: BoolBinary_GlobDEqual
                                      left: {(DQ ($ VSub_Name '$cur'))}
                                      right: {(-) (Lit_Other '*')}
                                    )
                                  right: 
                                    (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:dash)
                              op: Equal
                              spids: [570]
                            )
                            (assign_pair
                              lhs: (LhsName name:options)
                              op: Equal
                              rhs: 
                                {
                                  (ArrayLiteralPart
                                    words: [
                                      {(AcceptClipboard)}
                                      {(AutoSelect)}
                                      {(DebugDelay)}
                                      {(display)}
                                      {(DotWhenNoCursor)}
                                      {(FullColor)}
                                      {(FullColour)}
                                      {(FullScreen)}
                                      {(geometry)}
                                      {(help)}
                                      {(listen)}
                                      {(Log)}
                                      {(LowColourLevel)}
                                      {(MenuKey)}
                                      {(name)}
                                      {(Parent)}
                                      {(passwd)}
                                      {(PasswordFile)}
                                      {(PointerEventInterval)}
                                      {(PreferredEncoding)}
                                      {(SendClipboard)}
                                      {(SendPrimary)}
                                      {(Shared)}
                                      {(UseLocalCursor)}
                                      {(via)}
                                      {(ViewOnly)}
                                      {(WMDecorationHeight)}
                                      {(WMDecorationWidth)}
                                      {(ZlibLevel)}
                                    ]
                                  )
                                }
                              spids: [572]
                            )
                          ]
                          spids: [568]
                        )
                        (AndOr
                          children: [
                            (DBracket
                              expr: 
                                (BoolBinary
                                  op_id: BoolBinary_GlobDEqual
                                  left: {(DQ ($ VSub_Name '$cur'))}
                                  right: {(--) (Lit_Other '*')}
                                )
                            )
                            (AndOr
                              children: [
                                (Assignment
                                  keyword: Assign_None
                                  pairs: [
                                    (assign_pair
                                      lhs: (LhsName name:dash)
                                      op: Equal
                                      rhs: {(--)}
                                      spids: [656]
                                    )
                                  ]
                                  spids: [656]
                                )
                                (Assignment
                                  keyword: Assign_None
                                  pairs: [
                                    (assign_pair
                                      lhs: (LhsName name:dash)
                                      op: Equal
                                      rhs: {(-)}
                                      spids: [661]
                                    )
                                  ]
                                  spids: [661]
                                )
                              ]
                              op_id: Op_DPipe
                            )
                          ]
                          op_id: Op_DAmp
                        )
                        (Assignment
                          keyword: Assign_Local
                          pairs: [
                            (assign_pair
                              lhs: (LhsName name:option)
                              op: Equal
                              spids: [668]
                            )
                            (assign_pair
                              lhs: (LhsName name:oldNoCaseMatch)
                              op: Equal
                              rhs: 
                                {
                                  (CommandSubPart
                                    command_list: 
                                      (CommandList
                                        children: [(C {(shopt)} {(-p)} {(nocasematch)})]
                                      )
                                    left_token: <Left_CommandSub '$('>
                                    spids: [671 677]
                                  )
                                }
                              spids: [670]
                            )
                          ]
                          spids: [666]
                        )
                        (C {(shopt)} {(-s)} {(nocasematch)})
                        (Assignment
                          keyword: Assign_None
                          pairs: [
                            (assign_pair
                              lhs: (LhsName name:COMPREPLY)
                              op: Equal
                              rhs: 
                                {
                                  (ArrayLiteralPart
                                    words: [
                                      {
                                        (CommandSubPart
                                          command_list: 
                                            (CommandList
                                              children: [
                                                (ForEach
                                                  iter_name: option
                                                  iter_words: [
                                                    {
                                                      (DQ 
                                                        (BracedVarSub
                                                          token: <VSub_Name options>
                                                          bracket_op: (WholeArray op_id:Lit_At)
                                                          spids: [699 704]
                                                        )
                                                      )
                                                    }
                                                  ]
                                                  do_arg_iter: False
                                                  body: 
                                                    (DoGroup
                                                      children: [
                                                        (AndOr
                                                          children: [
                                                            (DBracket
                                                              expr: 
                                                                (BoolBinary
                                                                  op_id: BoolBinary_GlobDEqual
                                                                  left: 
                                                                    {($ VSub_Name '$dash') 
                                                                      ($ VSub_Name '$option')
                                                                    }
                                                                  right: 
                                                                    {(DQ ($ VSub_Name '$cur')) 
                                                                      (Lit_Other '*')
                                                                    }
                                                                )
                                                            )
                                                            (C {(printf)} {(SQ <'%s\\n'>)} 
                                                              {($ VSub_Name '$dash') 
                                                                ($ VSub_Name '$option')
                                                              }
                                                            )
                                                          ]
                                                          op_id: Op_DAmp
                                                        )
                                                      ]
                                                      spids: [708 737]
                                                    )
                                                  spids: [697 706]
                                                )
                                              ]
                                            )
                                          left_token: <Left_CommandSub '$('>
                                          spids: [690 739]
                                        )
                                      }
                                    ]
                                  )
                                }
                              spids: [687]
                            )
                          ]
                          spids: [687]
                        )
                        (SimpleCommand
                          words: [{(eval)} {(DQ ($ VSub_Name '$oldNoCaseMatch'))}]
                          redirects: [
                            (Redir
                              op_id: Redir_Great
                              fd: 2
                              arg_word: {(/dev/null)}
                              spids: [750]
                            )
                          ]
                        )
                      ]
                      spids: [16777215 561]
                    )
                  ]
                  else_action: [(C {(_known_hosts_real)} {(DQ ($ VSub_Name '$cur'))})]
                  spids: [754 764]
                )
              ]
              spids: [292]
            )
          spids: [288 291]
        )
        (C {(complete)} {(-F)} {(_xvnc4viewer)} {(xvnc4viewer)})
      ]
      op_id: Op_DAmp
    )
  ]
)