(command.AndOr
  ops: [Op_DAmp]
  children: [
    (command.FuncDef
      name: _gprof
      body: 
        (command.BraceGroup
          children: [
            (command.Assignment
              keyword: Assign_Local
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:cur spids:[13])
                  op: Equal
                  spids: [13]
                )
                (assign_pair
                  lhs: (lhs_expr.LhsName name:prev spids:[15])
                  op: Equal
                  spids: [15]
                )
                (assign_pair
                  lhs: (lhs_expr.LhsName name:words spids:[17])
                  op: Equal
                  spids: [17]
                )
                (assign_pair
                  lhs: (lhs_expr.LhsName name:cword spids:[19])
                  op: Equal
                  spids: [19]
                )
                (assign_pair
                  lhs: (lhs_expr.LhsName name:split spids:[21])
                  op: Equal
                  spids: [21]
                )
              ]
              spids: [11]
            )
            (command.AndOr
              ops: [Op_DPipe]
              children: [
                (C {(_init_completion)} {(-s)})
                (command.ControlFlow token:<ControlFlow_Return return>)
              ]
            )
            (command.Case
              to_match: {($ VSub_DollarName '$cur')}
              arms: [
                (case_arm
                  pat_list: [
                    {(-A) (Lit_Other '*')}
                    {(-C) (Lit_Other '*')}
                    {(-J) (Lit_Other '*')}
                    {(-p) (Lit_Other '*')}
                    {(-P) (Lit_Other '*')}
                    {(-q) (Lit_Other '*')}
                    {(-Q) (Lit_Other '*')}
                    {(-n) (Lit_Other '*')}
                    {(-N) (Lit_Other '*')}
                    {(-d) (Lit_Other '*')}
                  ]
                  action: [(command.ControlFlow token:<ControlFlow_Return return>)]
                  spids: [41 70 76 16777215]
                )
                (case_arm
                  pat_list: [{(-S) (Lit_Other '*')}]
                  action: [
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:cur spids:[84])
                          op: Equal
                          rhs: 
                            {
                              (word_part.BracedVarSub
                                token: <VSub_Name cur>
                                suffix_op: 
                                  (suffix_op.Slice
                                    begin: (arith_expr.ArithWord w:{(Lit_Digits 2)})
                                  )
                                spids: [85 89]
                              )
                            }
                          spids: [84]
                        )
                      ]
                      spids: [84]
                    )
                    (C {(_filedir)})
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:COMPREPLY spids:[95])
                          op: Equal
                          rhs: 
                            {
                              (word_part.ArrayLiteralPart
                                words: [
                                  {
                                    (DQ 
                                      (word_part.BracedVarSub
                                        token: <VSub_Name COMPREPLY>
                                        bracket_op: (bracket_op.WholeArray op_id:Lit_At)
                                        suffix_op: 
                                          (suffix_op.PatSub
                                            pat: {}
                                            replace: {(-S)}
                                            replace_mode: Lit_Pound
                                            spids: [104]
                                          )
                                        spids: [99 108]
                                      )
                                    )
                                  }
                                ]
                              )
                            }
                          spids: [95]
                        )
                      ]
                      spids: [95]
                    )
                    (command.ControlFlow token:<ControlFlow_Return return>)
                  ]
                  spids: [79 81 117 16777215]
                )
                (case_arm
                  pat_list: [{(-O) (Lit_Other '*')}]
                  action: [
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:cur spids:[125])
                          op: Equal
                          rhs: 
                            {
                              (word_part.BracedVarSub
                                token: <VSub_Name cur>
                                suffix_op: 
                                  (suffix_op.Slice
                                    begin: (arith_expr.ArithWord w:{(Lit_Digits 2)})
                                  )
                                spids: [126 130]
                              )
                            }
                          spids: [125]
                        )
                      ]
                      spids: [125]
                    )
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:COMPREPLY spids:[133])
                          op: Equal
                          rhs: 
                            {
                              (word_part.ArrayLiteralPart
                                words: [
                                  {
                                    (word_part.CommandSubPart
                                      command_list: 
                                        (command.CommandList
                                          children: [
                                            (C {(compgen)} {(-P)} {(-O)} {(-W)} 
                                              {(SQ <'auto bsd 4.4bsd magic prof'>)} {(--)} {(DQ ($ VSub_DollarName '$cur'))}
                                            )
                                          ]
                                        )
                                      left_token: <Left_CommandSub '$('>
                                      spids: [136 158]
                                    )
                                  }
                                ]
                              )
                            }
                          spids: [133]
                        )
                      ]
                      spids: [133]
                    )
                    (command.ControlFlow token:<ControlFlow_Return return>)
                  ]
                  spids: [120 122 166 16777215]
                )
              ]
              spids: [34 38 169]
            )
            (command.Case
              to_match: {($ VSub_DollarName '$prev')}
              arms: [
                (case_arm
                  pat_list: [{(-I)} {(--directory-path)}]
                  action: [
                    (C {(_filedir)} {(-d)})
                    (command.ControlFlow token:<ControlFlow_Return return>)
                  ]
                  spids: [180 183 194 16777215]
                )
                (case_arm
                  pat_list: [{(-R)} {(--file-ordering)} {(--external-symbol-table)}]
                  action: [(C {(_filedir)}) (command.ControlFlow token:<ControlFlow_Return return>)]
                  spids: [197 202 211 16777215]
                )
                (case_arm
                  pat_list: [
                    {(-w)}
                    {(--width)}
                    {(-k)}
                    {(-m)}
                    {(--min-count)}
                    {(-h)}
                    {(--help)}
                    {(-e)}
                    {(-E)}
                    {(-f)}
                    {(-F)}
                  ]
                  action: [(command.ControlFlow token:<ControlFlow_Return return>)]
                  spids: [214 235 241 16777215]
                )
                (case_arm
                  pat_list: [{(--file-format)}]
                  action: [
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:COMPREPLY spids:[248])
                          op: Equal
                          rhs: 
                            {
                              (word_part.ArrayLiteralPart
                                words: [
                                  {
                                    (word_part.CommandSubPart
                                      command_list: 
                                        (command.CommandList
                                          children: [
                                            (C {(compgen)} {(-W)} {(SQ <'auto bsd 4.4bsd magic prof'>)} 
                                              {(--)} {(DQ ($ VSub_DollarName '$cur'))}
                                            )
                                          ]
                                        )
                                      left_token: <Left_CommandSub '$('>
                                      spids: [251 269]
                                    )
                                  }
                                ]
                              )
                            }
                          spids: [248]
                        )
                      ]
                      spids: [248]
                    )
                    (command.ControlFlow token:<ControlFlow_Return return>)
                  ]
                  spids: [244 245 277 16777215]
                )
              ]
              spids: [173 177 280]
            )
            (command.AndOr
              ops: [Op_DAmp]
              children: [
                (C {($ VSub_DollarName '$split')})
                (command.ControlFlow token:<ControlFlow_Return return>)
              ]
            )
            (command.If
              arms: [
                (if_arm
                  cond: [
                    (command.Sentence
                      child: 
                        (command.DBracket
                          expr: 
                            (bool_expr.BoolBinary
                              op_id: BoolBinary_GlobDEqual
                              left: {($ 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:[309])
                          op: Equal
                          rhs: 
                            {
                              (word_part.ArrayLiteralPart
                                words: [
                                  {
                                    (word_part.CommandSubPart
                                      command_list: 
                                        (command.CommandList
                                          children: [
                                            (C {(compgen)} {(-W)} 
                                              {
                                                (SQ <'--annotated-source --brief --exec-counts\n'> 
                                                  <
'            --file-info --directory-path --no-annotated-source --print-path\n'
                                                  > <'            --flat-profile --no-flat-profile --graph --no-graph --table-length=\n'> 
                                                  <
'            --separate-files --no-exec-counts --function-ordering\n'
                                                  > <'            --file-ordering --traditional --width= --all-lines --demangle\n'> 
                                                  <
'            --no-demangle --no-static --static-call-graph\n'
                                                  > <'            --ignore-non-functions -k --line --min-count= --time= --no-time=\n'> 
                                                  <
'            --external-symbol-table= --display-unused-functions --debug --help\n'
                                                  > <'            --file-format= --sum --version'>
                                                )
                                              } {(--)} {(DQ ($ VSub_DollarName '$cur'))}
                                            )
                                          ]
                                        )
                                      left_token: <Left_CommandSub '$('>
                                      spids: [312 336]
                                    )
                                  }
                                ]
                              )
                            }
                          spids: [309]
                        )
                      ]
                      spids: [309]
                    )
                    (command.AndOr
                      ops: [Op_DAmp]
                      children: [
                        (command.DBracket
                          expr: 
                            (bool_expr.BoolBinary
                              op_id: BoolBinary_GlobDEqual
                              left: {($ VSub_DollarName '$COMPREPLY')}
                              right: {(Lit_Other '*') (BoolBinary_GlobEqual '=')}
                            )
                        )
                        (C {(compopt)} {(-o)} {(nospace)})
                      ]
                    )
                    (command.ControlFlow token:<ControlFlow_Return return>)
                  ]
                  spids: [16777215 306]
                )
              ]
              spids: [16777215 364]
            )
            (C {(_filedir)})
          ]
          spids: [8]
        )
      spids: [4 7]
    )
    (C {(complete)} {(-F)} {(_gprof)} {(gprof)})
  ]
)