(command.AndOr
  ops: [Id.Op_DAmp]
  children: [
    (command.ShFunction
      name: _gprof
      body: 
        (command.BraceGroup
          children: [
            (C {(local)} {(cur)} {(prev)} {(words)} {(cword)} {(split)})
            (command.AndOr
              ops: [Id.Op_DPipe]
              children: [
                (C {(_init_completion)} {(-s)})
                (command.ControlFlow
                  token: (Token id:Id.ControlFlow_Return val:return span_id:30)
                )
              ]
            )
            (command.Case
              to_match: {($ Id.VSub_DollarName '$cur')}
              arms: [
                (case_arm
                  pat_list: [
                    {(-A) (Id.Lit_Star '*')}
                    {(-C) (Id.Lit_Star '*')}
                    {(-J) (Id.Lit_Star '*')}
                    {(-p) (Id.Lit_Star '*')}
                    {(-P) (Id.Lit_Star '*')}
                    {(-q) (Id.Lit_Star '*')}
                    {(-Q) (Id.Lit_Star '*')}
                    {(-n) (Id.Lit_Star '*')}
                    {(-N) (Id.Lit_Star '*')}
                    {(-d) (Id.Lit_Star '*')}
                  ]
                  action: [
                    (command.ControlFlow
                      token: (Token id:Id.ControlFlow_Return val:return span_id:73)
                    )
                  ]
                  spids: [41 70 76 -1]
                )
                (case_arm
                  pat_list: [{(-S) (Id.Lit_Star '*')}]
                  action: [
                    (command.ShAssignment
                      pairs: [
                        (assign_pair
                          lhs: (sh_lhs_expr.Name name:cur)
                          op: assign_op.Equal
                          rhs: 
                            {
                              (braced_var_sub
                                token: (Token id:Id.VSub_Name val:cur span_id:86)
                                suffix_op: 
                                  (suffix_op.Slice
                                    begin: (arith_expr.ArithWord w:{(Id.Lit_Digits 2)})
                                  )
                              )
                            }
                          spids: [84]
                        )
                      ]
                    )
                    (C {(_filedir)})
                    (command.ShAssignment
                      pairs: [
                        (assign_pair
                          lhs: (sh_lhs_expr.Name name:COMPREPLY)
                          op: assign_op.Equal
                          rhs: 
                            {
                              (sh_array_literal
                                left: (Token id:Id.Op_LParen val:'(' span_id:96)
                                words: [
                                  {
                                    (DQ 
                                      (braced_var_sub
                                        token: (Token id:Id.VSub_Name val:COMPREPLY span_id:100)
                                        bracket_op: (bracket_op.WholeArray op_id:Id.Lit_At)
                                        suffix_op: 
                                          (suffix_op.PatSub
                                            pat: {}
                                            replace: {(-S)}
                                            replace_mode: Id.Lit_Pound
                                          )
                                      )
                                    )
                                  }
                                ]
                              )
                            }
                          spids: [95]
                        )
                      ]
                    )
                    (command.ControlFlow
                      token: (Token id:Id.ControlFlow_Return val:return span_id:114)
                    )
                  ]
                  spids: [79 81 117 -1]
                )
                (case_arm
                  pat_list: [{(-O) (Id.Lit_Star '*')}]
                  action: [
                    (command.ShAssignment
                      pairs: [
                        (assign_pair
                          lhs: (sh_lhs_expr.Name name:cur)
                          op: assign_op.Equal
                          rhs: 
                            {
                              (braced_var_sub
                                token: (Token id:Id.VSub_Name val:cur span_id:127)
                                suffix_op: 
                                  (suffix_op.Slice
                                    begin: (arith_expr.ArithWord w:{(Id.Lit_Digits 2)})
                                  )
                              )
                            }
                          spids: [125]
                        )
                      ]
                    )
                    (command.ShAssignment
                      pairs: [
                        (assign_pair
                          lhs: (sh_lhs_expr.Name name:COMPREPLY)
                          op: assign_op.Equal
                          rhs: 
                            {
                              (sh_array_literal
                                left: (Token id:Id.Op_LParen val:'(' span_id:134)
                                words: [
                                  {
                                    (command_sub
                                      left_token: (Token id:Id.Left_DollarParen val:'$(' span_id:136)
                                      command_list: 
                                        (command.CommandList
                                          children: [
                                            (C {(compgen)} {(-P)} {(-O)} {(-W)} 
                                              {
                                                (SQ 
                                                  (Token
                                                    id: Id.Lit_Chars
                                                    val: 'auto bsd 4.4bsd magic prof'
                                                    span_id: 147
                                                  )
                                                )
                                              } {(--)} {(DQ ($ Id.VSub_DollarName '$cur'))}
                                            )
                                          ]
                                        )
                                    )
                                  }
                                ]
                              )
                            }
                          spids: [133]
                        )
                      ]
                    )
                    (command.ControlFlow
                      token: (Token id:Id.ControlFlow_Return val:return span_id:163)
                    )
                  ]
                  spids: [120 122 166 -1]
                )
              ]
            )
            (command.Case
              to_match: {($ Id.VSub_DollarName '$prev')}
              arms: [
                (case_arm
                  pat_list: [{(-I)} {(--directory-path)}]
                  action: [
                    (C {(_filedir)} {(-d)})
                    (command.ControlFlow
                      token: (Token id:Id.ControlFlow_Return val:return span_id:191)
                    )
                  ]
                  spids: [180 183 194 -1]
                )
                (case_arm
                  pat_list: [{(-R)} {(--file-ordering)} {(--external-symbol-table)}]
                  action: [
                    (C {(_filedir)})
                    (command.ControlFlow
                      token: (Token id:Id.ControlFlow_Return val:return span_id:208)
                    )
                  ]
                  spids: [197 202 211 -1]
                )
                (case_arm
                  pat_list: [
                    {(-w)}
                    {(--width)}
                    {(-k)}
                    {(-m)}
                    {(--min-count)}
                    {(-h)}
                    {(--help)}
                    {(-e)}
                    {(-E)}
                    {(-f)}
                    {(-F)}
                  ]
                  action: [
                    (command.ControlFlow
                      token: (Token id:Id.ControlFlow_Return val:return span_id:238)
                    )
                  ]
                  spids: [214 235 241 -1]
                )
                (case_arm
                  pat_list: [{(--file-format)}]
                  action: [
                    (command.ShAssignment
                      pairs: [
                        (assign_pair
                          lhs: (sh_lhs_expr.Name name:COMPREPLY)
                          op: assign_op.Equal
                          rhs: 
                            {
                              (sh_array_literal
                                left: (Token id:Id.Op_LParen val:'(' span_id:249)
                                words: [
                                  {
                                    (command_sub
                                      left_token: (Token id:Id.Left_DollarParen val:'$(' span_id:251)
                                      command_list: 
                                        (command.CommandList
                                          children: [
                                            (C {(compgen)} {(-W)} 
                                              {
                                                (SQ 
                                                  (Token
                                                    id: Id.Lit_Chars
                                                    val: 'auto bsd 4.4bsd magic prof'
                                                    span_id: 258
                                                  )
                                                )
                                              } {(--)} {(DQ ($ Id.VSub_DollarName '$cur'))}
                                            )
                                          ]
                                        )
                                    )
                                  }
                                ]
                              )
                            }
                          spids: [248]
                        )
                      ]
                    )
                    (command.ControlFlow
                      token: (Token id:Id.ControlFlow_Return val:return span_id:274)
                    )
                  ]
                  spids: [244 245 277 -1]
                )
              ]
            )
            (command.AndOr
              ops: [Id.Op_DAmp]
              children: [
                (C {($ Id.VSub_DollarName '$split')})
                (command.ControlFlow
                  token: (Token id:Id.ControlFlow_Return val:return span_id:288)
                )
              ]
            )
            (command.If
              arms: [
                (if_arm
                  cond: [
                    (command.Sentence
                      child: 
                        (command.DBracket
                          expr: 
                            (bool_expr.Binary
                              op_id: Id.BoolBinary_GlobDEqual
                              left: {($ Id.VSub_DollarName '$cur')}
                              right: {(-) (Id.Lit_Other '*')}
                            )
                        )
                      terminator: (Token id:Id.Op_Semi val:';' span_id:304)
                    )
                  ]
                  action: [
                    (command.ShAssignment
                      pairs: [
                        (assign_pair
                          lhs: (sh_lhs_expr.Name name:COMPREPLY)
                          op: assign_op.Equal
                          rhs: 
                            {
                              (sh_array_literal
                                left: (Token id:Id.Op_LParen val:'(' span_id:310)
                                words: [
                                  {
                                    (command_sub
                                      left_token: (Token id:Id.Left_DollarParen val:'$(' span_id:312)
                                      command_list: 
                                        (command.CommandList
                                          children: [
                                            (C {(compgen)} {(-W)} 
                                              {
                                                (SQ 
                                                  (Token
                                                    id: Id.Lit_Chars
                                                    val: 
'--annotated-source --brief --exec-counts\n'
                                                    span_id: 319
                                                  ) 
                                                  (Token
                                                    id: Id.Lit_Chars
                                                    val: 
'            --file-info --directory-path --no-annotated-source --print-path\n'
                                                    span_id: 320
                                                  ) 
                                                  (Token
                                                    id: Id.Lit_Chars
                                                    val: 
'            --flat-profile --no-flat-profile --graph --no-graph --table-length=\n'
                                                    span_id: 321
                                                  ) 
                                                  (Token
                                                    id: Id.Lit_Chars
                                                    val: 
'            --separate-files --no-exec-counts --function-ordering\n'
                                                    span_id: 322
                                                  ) 
                                                  (Token
                                                    id: Id.Lit_Chars
                                                    val: 
'            --file-ordering --traditional --width= --all-lines --demangle\n'
                                                    span_id: 323
                                                  ) (Token id:Id.Lit_Chars val:'            --no-demangle --no-static --static-call-graph\n' span_id:324) 
                                                  (Token
                                                    id: Id.Lit_Chars
                                                    val: 
'            --ignore-non-functions -k --line --min-count= --time= --no-time=\n'
                                                    span_id: 325
                                                  ) 
                                                  (Token
                                                    id: Id.Lit_Chars
                                                    val: 
'            --external-symbol-table= --display-unused-functions --debug --help\n'
                                                    span_id: 326
                                                  ) (Token id:Id.Lit_Chars val:'            --file-format= --sum --version' span_id:327)
                                                )
                                              } {(--)} {(DQ ($ Id.VSub_DollarName '$cur'))}
                                            )
                                          ]
                                        )
                                    )
                                  }
                                ]
                              )
                            }
                          spids: [309]
                        )
                      ]
                    )
                    (command.AndOr
                      ops: [Id.Op_DAmp]
                      children: [
                        (command.DBracket
                          expr: 
                            (bool_expr.Binary
                              op_id: Id.BoolBinary_GlobDEqual
                              left: {($ Id.VSub_DollarName '$COMPREPLY')}
                              right: {(Id.Lit_Other '*') (Id.BoolBinary_GlobEqual '=')}
                            )
                        )
                        (C {(compopt)} {(-o)} {(nospace)})
                      ]
                    )
                    (command.ControlFlow
                      token: (Token id:Id.ControlFlow_Return val:return span_id:361)
                    )
                  ]
                  spids: [292 306]
                )
              ]
            )
            (C {(_filedir)})
          ]
        )
    )
    (C {(complete)} {(-F)} {(_gprof)} {(gprof)})
  ]
)