(CommandList
  children: [
    (FuncDef
      name: _smartctl_quietmode
      body: 
        (BraceGroup
          children: [
            (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 <'errorsonly silent noserial'>)} {(--)} 
                                      {(DQ ($ VSub_Name '$cur'))}
                                    )
                                  ]
                                )
                              left_token: <Left_CommandSub '$('>
                              spids: [14 30]
                            )
                          }
                        ]
                      )
                    }
                  spids: [11]
                )
              ]
              spids: [11]
            )
          ]
          spids: [8]
        )
      spids: [4 7]
    )
    (FuncDef
      name: _smartctl_device
      body: 
        (BraceGroup
          children: [
            (Case
              to_match: {($ VSub_Name '$cur')}
              arms: [
                (case_arm
                  pat_list: [
                    {(areca) (Lit_Other '*')}
                    {(3ware) (Lit_Other '*')}
                    {(megaraid) (Lit_Other '*')}
                    {(cciss) (Lit_Other '*')}
                  ]
                  action: [
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:COMPREPLY)
                          op: PlusEqual
                          rhs: 
                            {
                              (ArrayLiteralPart
                                words: [
                                  {
                                    (BracedVarSub
                                      token: <VSub_Name cur>
                                      suffix_op: (StringUnary op_id:VOp1_DPercent arg_word:{(',*')})
                                      spids: [67 71]
                                    ) (Lit_Comma ',') (Lit_LBrace '{') (0..31) (Lit_RBrace '}')
                                  }
                                ]
                              )
                            }
                          spids: [64]
                        )
                      ]
                      spids: [64]
                    )
                    (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: [83 99]
                                    )
                                  }
                                ]
                              )
                            }
                          spids: [80]
                        )
                      ]
                      spids: [80]
                    )
                  ]
                  spids: [50 61 104 16777215]
                )
                (case_arm
                  pat_list: [{(hpt) (Lit_Other '*')}]
                  action: [
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:COMPREPLY)
                          op: PlusEqual
                          rhs: 
                            {
                              (ArrayLiteralPart
                                words: [
                                  {(hpt) (Lit_Comma ',') (Lit_LBrace '{') (1..4) (Lit_RBrace '}') (/) 
                                    (Lit_LBrace '{') (1..8) (Lit_RBrace '}')
                                  }
                                  {(hpt) (Lit_Comma ',') (Lit_LBrace '{') (1..4) (Lit_RBrace '}') (/) 
                                    (Lit_LBrace '{') (1..8) (Lit_RBrace '}') (/) (Lit_LBrace '{') (1..5) (Lit_RBrace '}')
                                  }
                                ]
                              )
                            }
                          spids: [112]
                        )
                      ]
                      spids: [112]
                    )
                    (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: [145 161]
                                    )
                                  }
                                ]
                              )
                            }
                          spids: [142]
                        )
                      ]
                      spids: [142]
                    )
                  ]
                  spids: [107 109 166 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)} 
                                              {
                                                (DQ ('ata scsi sat usbcypress usbjmicron\n') 
                                                  (
'                usbsunplus marvell areca 3ware hpt megaraid cciss auto test'
                                                  )
                                                )
                                              } {(--)} {(DQ ($ VSub_Name '$cur'))}
                                            )
                                          ]
                                        )
                                      left_token: <Left_CommandSub '$('>
                                      spids: [176 195]
                                    )
                                  }
                                ]
                              )
                            }
                          spids: [173]
                        )
                      ]
                      spids: [173]
                    )
                    (Case
                      to_match: 
                        {
                          (DQ 
                            (BracedVarSub
                              token: <VSub_Name COMPREPLY>
                              bracket_op: (WholeArray op_id:Lit_At)
                              spids: [203 208]
                            )
                          )
                        }
                      arms: [
                        (case_arm
                          pat_list: [{(areca)} {(3ware)} {(hpt)} {(megaraid)} {(cciss)}]
                          action: [(C {(compopt)} {(-o)} {(nospace)})]
                          spids: [214 223 233 16777215]
                        )
                      ]
                      spids: [200 211 236]
                    )
                  ]
                  spids: [169 170 239 16777215]
                )
              ]
              spids: [43 47 242]
            )
          ]
          spids: [40]
        )
      spids: [36 39]
    )
    (FuncDef
      name: _smartctl_tolerance
      body: 
        (BraceGroup
          children: [
            (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 <'normal conservative permissive verypermissive'>)} {(--)} {(DQ ($ VSub_Name '$cur'))}
                                    )
                                  ]
                                )
                              left_token: <Left_CommandSub '$('>
                              spids: [256 274]
                            )
                          }
                        ]
                      )
                    }
                  spids: [253]
                )
              ]
              spids: [253]
            )
          ]
          spids: [250]
        )
      spids: [246 249]
    )
    (FuncDef
      name: _smartctl_badsum
      body: 
        (BraceGroup
          children: [
            (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 <'warn exit ignore'>)} {(--)} 
                                      {(DQ ($ VSub_Name '$cur'))}
                                    )
                                  ]
                                )
                              left_token: <Left_CommandSub '$('>
                              spids: [290 306]
                            )
                          }
                        ]
                      )
                    }
                  spids: [287]
                )
              ]
              spids: [287]
            )
          ]
          spids: [284]
        )
      spids: [280 283]
    )
    (FuncDef
      name: _smartctl_report
      body: 
        (BraceGroup
          children: [
            (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 <'ioctl ataioctl scsiioctl'>)} {(--)} 
                                      {(DQ ($ VSub_Name '$cur'))}
                                    )
                                  ]
                                )
                              left_token: <Left_CommandSub '$('>
                              spids: [322 338]
                            )
                          }
                        ]
                      )
                    }
                  spids: [319]
                )
              ]
              spids: [319]
            )
          ]
          spids: [316]
        )
      spids: [312 315]
    )
    (FuncDef
      name: _smartctl_powermode
      body: 
        (BraceGroup
          children: [
            (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 <'never sleep standby idle'>)} {(--)} 
                                      {(DQ ($ VSub_Name '$cur'))}
                                    )
                                  ]
                                )
                              left_token: <Left_CommandSub '$('>
                              spids: [354 370]
                            )
                          }
                        ]
                      )
                    }
                  spids: [351]
                )
              ]
              spids: [351]
            )
          ]
          spids: [348]
        )
      spids: [344 347]
    )
    (FuncDef
      name: _smartctl_feature
      body: 
        (BraceGroup
          children: [
            (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 <'on off'>)} {(--)} 
                                      {(DQ ($ VSub_Name '$cur'))}
                                    )
                                  ]
                                )
                              left_token: <Left_CommandSub '$('>
                              spids: [386 402]
                            )
                          }
                        ]
                      )
                    }
                  spids: [383]
                )
              ]
              spids: [383]
            )
          ]
          spids: [380]
        )
      spids: [376 379]
    )
    (FuncDef
      name: _smartctl_log
      body: 
        (BraceGroup
          children: [
            (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 <'error selftest selective directory background\n'> 
                                          <
'        sasphy sasphy,reset sataphy sataphy,reset scttemp scttempsts\n'
                                          > <'        scttemphist scterc gplog smartlog xerror xselftest'>
                                        )
                                      } {(--)} {(DQ ($ VSub_Name '$cur'))}
                                    )
                                  ]
                                )
                              left_token: <Left_CommandSub '$('>
                              spids: [418 436]
                            )
                          }
                        ]
                      )
                    }
                  spids: [415]
                )
              ]
              spids: [415]
            )
          ]
          spids: [412]
        )
      spids: [408 411]
    )
    (FuncDef
      name: _smartctl_vendorattribute
      body: 
        (BraceGroup
          children: [
            (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 9,minutes 9,seconds 9,halfminutes 9,temp\n'> 
                                          <
'        192,emergencyretractcyclect 193,loadunload 194,10xCelsius 194,unknown\n'
                                          > <'        198,offlinescanuncsectorct 200,writeerrorcount 201,detectedtacount\n'> <'        220,temp'>
                                        )
                                      } {(--)} {(DQ ($ VSub_Name '$cur'))}
                                    )
                                  ]
                                )
                              left_token: <Left_CommandSub '$('>
                              spids: [452 471]
                            )
                          }
                        ]
                      )
                    }
                  spids: [449]
                )
              ]
              spids: [449]
            )
          ]
          spids: [446]
        )
      spids: [442 445]
    )
    (FuncDef
      name: _smartctl_firmwarebug
      body: 
        (BraceGroup
          children: [
            (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 <'none samsung samsung2 samsung3 swapid'>)} {(--)} {(DQ ($ VSub_Name '$cur'))}
                                    )
                                  ]
                                )
                              left_token: <Left_CommandSub '$('>
                              spids: [487 505]
                            )
                          }
                        ]
                      )
                    }
                  spids: [484]
                )
              ]
              spids: [484]
            )
          ]
          spids: [481]
        )
      spids: [477 480]
    )
    (FuncDef
      name: _smartctl_presets
      body: 
        (BraceGroup
          children: [
            (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 <'use ignore show showall'>)} {(--)} 
                                      {(DQ ($ VSub_Name '$cur'))}
                                    )
                                  ]
                                )
                              left_token: <Left_CommandSub '$('>
                              spids: [521 537]
                            )
                          }
                        ]
                      )
                    }
                  spids: [518]
                )
              ]
              spids: [518]
            )
          ]
          spids: [515]
        )
      spids: [511 514]
    )
    (FuncDef
      name: _smartctl_test
      body: 
        (BraceGroup
          children: [
            (AndOr
              children: [
                (DBracket
                  expr: 
                    (BoolBinary
                      op_id: BoolBinary_GlobDEqual
                      left: {($ VSub_Name '$cur')}
                      right: {(ExtGlobPart op:<ExtGlob_At '@('> spids:[556 562]) (Lit_Comma ',')}
                    )
                )
                (ControlFlow token:<ControlFlow_Return return> arg_word:{(0)})
              ]
              op_id: Op_DAmp
            )
            (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 <'offline short long conveyance select,\n'> 
                                          <
'        select,redo select,next afterselect,on afterselect,off pending,\n'
                                          > <'        scttempint, vendor,'>
                                        )
                                      } {(--)} {(DQ ($ VSub_Name '$cur'))}
                                    )
                                  ]
                                )
                              left_token: <Left_CommandSub '$('>
                              spids: [577 595]
                            )
                          }
                        ]
                      )
                    }
                  spids: [574]
                )
              ]
              spids: [574]
            )
            (AndOr
              children: [
                (DBracket
                  expr: 
                    (BoolBinary
                      op_id: BoolBinary_GlobDEqual
                      left: {($ VSub_Name '$COMPREPLY')}
                      right: {(Lit_Other '*') (Lit_Comma ',')}
                    )
                )
                (C {(compopt)} {(-o)} {(nospace)})
              ]
              op_id: Op_DAmp
            )
          ]
          spids: [547]
        )
      spids: [543 546]
    )
    (FuncDef
      name: _smartctl_drivedb
      body: 
        (BraceGroup
          children: [
            (Assignment
              keyword: Assign_Local
              pairs: [(assign_pair lhs:(LhsName name:prefix) op:Equal rhs:{(SQ )} spids:[630])]
              spids: [628]
            )
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (DBracket
                          expr: 
                            (BoolBinary
                              op_id: BoolBinary_GlobDEqual
                              left: {($ VSub_Name '$cur')}
                              right: {(Lit_Other '+') (Lit_Other '*')}
                            )
                        )
                      terminator: <Op_Semi ';'>
                    )
                  ]
                  action: [
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:prefix)
                          op: Equal
                          rhs: {(Lit_Other '+')}
                          spids: [651]
                        )
                      ]
                      spids: [651]
                    )
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:cur)
                          op: Equal
                          rhs: 
                            {
                              (DQ 
                                (BracedVarSub
                                  token: <VSub_Name cur>
                                  suffix_op: (StringUnary op_id:VOp1_Pound arg_word:{('+')})
                                  spids: [657 661]
                                )
                              )
                            }
                          spids: [655]
                        )
                      ]
                      spids: [655]
                    )
                  ]
                  spids: [16777215 648]
                )
              ]
              spids: [16777215 665]
            )
            (C {(_filedir)} {(h)})
            (AndOr
              children: [
                (DBracket
                  expr: (BoolUnary op_id:BoolUnary_n child:{($ VSub_Name '$prefix')})
                )
                (Assignment
                  keyword: Assign_None
                  pairs: [
                    (assign_pair
                      lhs: (LhsName name:COMPREPLY)
                      op: Equal
                      rhs: 
                        {
                          (ArrayLiteralPart
                            words: [
                              {
                                (DQ 
                                  (BracedVarSub
                                    token: <VSub_Name COMPREPLY>
                                    bracket_op: (WholeArray op_id:Lit_At)
                                    suffix_op: 
                                      (PatSub
                                        pat: {}
                                        replace: {($ VSub_Name '$prefix')}
                                        do_all: False
                                        do_prefix: True
                                        do_suffix: False
                                      )
                                    spids: [687 696]
                                  )
                                )
                              }
                            ]
                          )
                        }
                      spids: [683]
                    )
                  ]
                  spids: [683]
                )
              ]
              op_id: Op_DAmp
            )
          ]
          spids: [625]
        )
      spids: [621 624]
    )
    (AndOr
      children: [
        (FuncDef
          name: _smartctl
          body: 
            (BraceGroup
              children: [
                (Assignment
                  keyword: Assign_Local
                  pairs: [
                    (assign_pair lhs:(LhsName name:cur) op:Equal spids:[713])
                    (assign_pair lhs:(LhsName name:prev) op:Equal spids:[715])
                    (assign_pair lhs:(LhsName name:words) op:Equal spids:[717])
                    (assign_pair lhs:(LhsName name:cword) op:Equal spids:[719])
                    (assign_pair lhs:(LhsName name:split) op:Equal spids:[721])
                  ]
                  spids: [711]
                )
                (AndOr
                  children: [
                    (C {(_init_completion)} {(-s)})
                    (ControlFlow token:<ControlFlow_Return return>)
                  ]
                  op_id: Op_DPipe
                )
                (Case
                  to_match: {($ VSub_Name '$prev')}
                  arms: [
                    (case_arm
                      pat_list: [{(-q)} {(--quietmode)}]
                      action: [(C {(_smartctl_quietmode)})]
                      spids: [741 744 750 16777215]
                    )
                    (case_arm
                      pat_list: [{(-d)} {(--device)}]
                      action: [
                        (C {(_smartctl_device)})
                        (ControlFlow
                          token: <ControlFlow_Return return>
                          arg_word: {(0)}
                        )
                      ]
                      spids: [753 756 767 16777215]
                    )
                    (case_arm
                      pat_list: [{(-T)} {(--tolerance)}]
                      action: [
                        (C {(_smartctl_tolerance)})
                        (ControlFlow
                          token: <ControlFlow_Return return>
                          arg_word: {(0)}
                        )
                      ]
                      spids: [770 773 784 16777215]
                    )
                    (case_arm
                      pat_list: [{(-b)} {(--badsum)}]
                      action: [
                        (C {(_smartctl_badsum)})
                        (ControlFlow
                          token: <ControlFlow_Return return>
                          arg_word: {(0)}
                        )
                      ]
                      spids: [787 790 801 16777215]
                    )
                    (case_arm
                      pat_list: [{(-r)} {(--report)}]
                      action: [
                        (C {(_smartctl_report)})
                        (ControlFlow
                          token: <ControlFlow_Return return>
                          arg_word: {(0)}
                        )
                      ]
                      spids: [804 807 818 16777215]
                    )
                    (case_arm
                      pat_list: [{(-n)} {(--nocheck)}]
                      action: [
                        (C {(_smartctl_powermode)})
                        (ControlFlow
                          token: <ControlFlow_Return return>
                          arg_word: {(0)}
                        )
                      ]
                      spids: [821 824 835 16777215]
                    )
                    (case_arm
                      pat_list: [{(-s)} {(--smart)} {(-o)} {(--offlineauto)} {(-S)} {(--saveauto)}]
                      action: [
                        (C {(_smartctl_feature)})
                        (ControlFlow
                          token: <ControlFlow_Return return>
                          arg_word: {(0)}
                        )
                      ]
                      spids: [838 849 860 16777215]
                    )
                    (case_arm
                      pat_list: [{(-l)} {(--log)}]
                      action: [
                        (C {(_smartctl_log)})
                        (ControlFlow
                          token: <ControlFlow_Return return>
                          arg_word: {(0)}
                        )
                      ]
                      spids: [863 866 877 16777215]
                    )
                    (case_arm
                      pat_list: [{(-v)} {(--vendorattribute)}]
                      action: [
                        (C {(_smartctl_vendorattribute)})
                        (ControlFlow
                          token: <ControlFlow_Return return>
                          arg_word: {(0)}
                        )
                      ]
                      spids: [880 883 894 16777215]
                    )
                    (case_arm
                      pat_list: [{(-F)} {(--firmwarebug)}]
                      action: [
                        (C {(_smartctl_firmwarebug)})
                        (ControlFlow
                          token: <ControlFlow_Return return>
                          arg_word: {(0)}
                        )
                      ]
                      spids: [897 900 911 16777215]
                    )
                    (case_arm
                      pat_list: [{(-P)} {(--presets)}]
                      action: [
                        (C {(_smartctl_presets)})
                        (ControlFlow
                          token: <ControlFlow_Return return>
                          arg_word: {(0)}
                        )
                      ]
                      spids: [914 917 928 16777215]
                    )
                    (case_arm
                      pat_list: [{(-B)} {(--drivedb)}]
                      action: [
                        (C {(_smartctl_drivedb)})
                        (ControlFlow
                          token: <ControlFlow_Return return>
                          arg_word: {(0)}
                        )
                      ]
                      spids: [931 934 945 16777215]
                    )
                    (case_arm
                      pat_list: [{(-t)} {(--test)}]
                      action: [
                        (C {(_smartctl_test)})
                        (ControlFlow
                          token: <ControlFlow_Return return>
                          arg_word: {(0)}
                        )
                      ]
                      spids: [948 951 962 16777215]
                    )
                  ]
                  spids: [734 738 965]
                )
                (AndOr
                  children: [
                    (C {($ VSub_Name '$split')})
                    (ControlFlow token:<ControlFlow_Return return> arg_word:{(0)})
                  ]
                  op_id: Op_DAmp
                )
                (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 --version --info --all --xall\n'> 
                                                      <
'            --scan --scan-open --quietmode= --device= --tolerance= --badsum=\n'
                                                      > <'            --report= --nocheck= --smart= --offlineauto= --saveauto= --health\n'> 
                                                      <
'            --capabilities --attributes --log= --vendorattribute=\n'
                                                      > <'            --firmwarebug= --presets= --drivedb= --test= --captive --abort'>
                                                    )
                                                  } {(--)} {(DQ ($ VSub_Name '$cur'))}
                                                )
                                              ]
                                            )
                                          left_token: <Left_CommandSub '$('>
                                          spids: [1001 1023]
                                        )
                                      }
                                    ]
                                  )
                                }
                              spids: [998]
                            )
                          ]
                          spids: [998]
                        )
                        (AndOr
                          children: [
                            (DBracket
                              expr: 
                                (BoolBinary
                                  op_id: BoolBinary_GlobDEqual
                                  left: {($ VSub_Name '$COMPREPLY')}
                                  right: {(Lit_Other '*') (BoolBinary_GlobEqual '=')}
                                )
                            )
                            (C {(compopt)} {(-o)} {(nospace)})
                          ]
                          op_id: Op_DAmp
                        )
                      ]
                      spids: [16777215 995]
                    )
                  ]
                  else_action: [
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:cur)
                          op: Equal
                          rhs: 
                            {
                              (BracedVarSub
                                token: <VSub_Name cur>
                                suffix_op: 
                                  (StringUnary
                                    op_id: VTest_ColonEquals
                                    arg_word: {(Lit_Slash /) (dev) (Lit_Slash /)}
                                  )
                                spids: [1052 1058]
                              )
                            }
                          spids: [1051]
                        )
                      ]
                      spids: [1051]
                    )
                    (C {(_filedir)})
                  ]
                  spids: [1048 1064]
                )
              ]
              spids: [708]
            )
          spids: [704 707]
        )
        (C {(complete)} {(-F)} {(_smartctl)} {(smartctl)})
      ]
      op_id: Op_DAmp
    )
  ]
)