(command.CommandList
  children: [
    (command.If
      arms: [
        (if_arm
          cond: [
            (command.Sentence
              child: 
                (C {(Lit_Other '[')} {(DQ ($ VSub_DollarName '$KBUILD_VERBOSE'))} {(Lit_Other '=')} 
                  {(DQ (1))} {(Lit_Other ']')}
                )
              terminator: <Op_Semi ';'>
            )
          ]
          action: [(C {(set)} {(-x)})]
        )
      ]
    )
    (command.Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (lhs_expr.LhsName name:ignore)
          op: Equal
          rhs: 
            {
              (DQ 
                (word_part.CommandSubPart
                  command_list: 
                    (command.CommandList
                      children: [
                        (command.Pipeline
                          children: [
                            (C {(echo)} {(DQ ($ VSub_DollarName '$RCS_FIND_IGNORE'))})
                            (C {(sed)} {(SQ <'s|\\\\||g'>)})
                          ]
                          negated: F
                        )
                      ]
                    )
                  left_token: <Left_CommandSub '$('>
                )
              )
            }
        )
      ]
    )
    (command.Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (lhs_expr.LhsName name:ignore)
          op: Equal
          rhs: {(DQ ($ VSub_DollarName '$ignore') (' ( -name *.mod.c ) -prune -o'))}
        )
      ]
    )
    (command.If
      arms: [
        (if_arm
          cond: [
            (command.Sentence
              child: 
                (C {(Lit_Other '[')} {(DQ (${ VSub_Name KBUILD_SRC))} {(Lit_Other '=')} {(DQ )} 
                  {(Lit_Other ']')}
                )
              terminator: <Op_Semi ';'>
            )
          ]
          action: [
            (command.Assignment
              keyword: Assign_None
              pairs: [(assign_pair lhs:(lhs_expr.LhsName name:tree) op:Equal rhs:(word.EmptyWord))]
            )
          ]
        )
      ]
      else_action: [
        (command.Assignment
          keyword: Assign_None
          pairs: [
            (assign_pair
              lhs: (lhs_expr.LhsName name:tree)
              op: Equal
              rhs: {(${ VSub_Name srctree) (/)}
            )
          ]
        )
      ]
    )
    (command.Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (lhs_expr.LhsName name:ignore)
          op: Equal
          rhs: 
            {
              (DQ ($ VSub_DollarName '$ignore') (' ( -path ') (${ VSub_Name tree) ('tools ) -prune -o'))
            }
        )
      ]
    )
    (command.FuncDef
      name: find_all_archs
      body: 
        (command.BraceGroup
          children: [
            (command.Assignment
              keyword: Assign_None
              pairs: [(assign_pair lhs:(lhs_expr.LhsName name:ALLSOURCE_ARCHS) op:Equal rhs:{(DQ )})]
            )
            (command.ForEach
              iter_name: arch
              iter_words: [
                {
                  (word_part.CommandSubPart
                    command_list: 
                      (command.CommandList
                        children: [(C {(ls)} {(${ VSub_Name tree) (arch)})]
                      )
                    left_token: <Left_Backtick '`'>
                  )
                }
              ]
              do_arg_iter: F
              body: 
                (command.DoGroup
                  children: [
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:ALLSOURCE_ARCHS)
                          op: Equal
                          rhs: 
                            {(DQ (${ VSub_Name ALLSOURCE_ARCHS) (' ')) 
                              (word_part.BracedVarSub
                                token: <VSub_Name arch>
                                suffix_op: 
                                  (suffix_op.StringUnary
                                    op_id: VOp1_DPound
                                    arg_word: 
                                      {(word_part.EscapedLiteralPart token:<Lit_EscapedChar '\\/'>)}
                                  )
                              )
                            }
                        )
                      ]
                    )
                  ]
                )
            )
          ]
        )
    )
    (command.If
      arms: [
        (if_arm
          cond: [
            (command.Sentence
              child: 
                (C {(Lit_Other '[')} {(DQ (${ VSub_Name ALLSOURCE_ARCHS))} {(Lit_Other '=')} {(DQ )} 
                  {(Lit_Other ']')}
                )
              terminator: <Op_Semi ';'>
            )
          ]
          action: [
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:ALLSOURCE_ARCHS)
                  op: Equal
                  rhs: {(${ VSub_Name SRCARCH)}
                )
              ]
            )
          ]
        )
        (if_arm
          cond: [
            (command.Sentence
              child: 
                (C {(Lit_Other '[')} {(DQ (${ VSub_Name ALLSOURCE_ARCHS))} {(Lit_Other '=')} {(DQ (all))} 
                  {(Lit_Other ']')}
                )
              terminator: <Op_Semi ';'>
            )
          ]
          action: [(C {(find_all_archs)})]
        )
      ]
    )
    (command.FuncDef
      name: find_arch_sources
      body: 
        (command.BraceGroup
          children: [
            (command.ForEach
              iter_name: i
              iter_words: [{($ VSub_DollarName '$archincludedir')}]
              do_arg_iter: F
              body: 
                (command.DoGroup
                  children: [
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:prune)
                          op: Equal
                          rhs: 
                            {
                              (DQ ($ VSub_DollarName '$prune') (' -wholename ') 
                                ($ VSub_DollarName '$i') (' -prune -o')
                              )
                            }
                        )
                      ]
                    )
                  ]
                )
            )
            (command.Sentence
              child: 
                (C {(find)} {(${ VSub_Name tree) (arch/) ($ VSub_Number '$1')} 
                  {($ VSub_DollarName '$ignore')} {($ VSub_DollarName '$subarchprune')} {($ VSub_DollarName '$prune')} {(-name)} {(DQ ($ VSub_Number '$2'))} 
                  {(-not)} {(-type)} {(l)} {(-print)}
                )
              terminator: <Op_Semi ';'>
            )
          ]
        )
    )
    (command.FuncDef
      name: find_arch_include_sources
      body: 
        (command.BraceGroup
          children: [
            (command.Sentence
              child: 
                (command.Assignment
                  keyword: Assign_None
                  pairs: [
                    (assign_pair
                      lhs: (lhs_expr.LhsName name:include)
                      op: Equal
                      rhs: 
                        {
                          (word_part.CommandSubPart
                            command_list: 
                              (command.CommandList
                                children: [
                                  (C {(find)} {(${ VSub_Name tree) (arch/) ($ VSub_Number '$1') (/)} 
                                    {($ VSub_DollarName '$subarchprune')} {(-name)} {(include)} {(-type)} {(d)} {(-print)}
                                  )
                                ]
                              )
                            left_token: <Left_CommandSub '$('>
                          )
                        }
                    )
                  ]
                )
              terminator: <Op_Semi ';'>
            )
            (command.If
              arms: [
                (if_arm
                  cond: [
                    (command.Sentence
                      child: 
                        (C {(Lit_Other '[')} {(-n)} {(DQ ($ VSub_DollarName '$include'))} 
                          {(Lit_Other ']')}
                        )
                      terminator: <Op_Semi ';'>
                    )
                  ]
                  action: [
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:archincludedir)
                          op: Equal
                          rhs: 
                            {
                              (DQ ($ VSub_DollarName '$archincludedir') (' ') 
                                ($ VSub_DollarName '$include')
                              )
                            }
                        )
                      ]
                    )
                    (command.Sentence
                      child: 
                        (C {(find)} {($ VSub_DollarName '$include')} {($ VSub_DollarName '$ignore')} 
                          {(-name)} {(DQ ($ VSub_Number '$2'))} {(-not)} {(-type)} {(l)} {(-print)}
                        )
                      terminator: <Op_Semi ';'>
                    )
                  ]
                )
              ]
            )
          ]
        )
    )
    (command.FuncDef
      name: find_include_sources
      body: 
        (command.BraceGroup
          children: [
            (command.Sentence
              child: 
                (C {(find)} {(${ VSub_Name tree) (include)} {($ VSub_DollarName '$ignore')} {(-name)} 
                  {(config)} {(-prune)} {(-o)} {(-name)} {(DQ ($ VSub_Number '$1'))} {(-not)} {(-type)} {(l)} {(-print)}
                )
              terminator: <Op_Semi ';'>
            )
          ]
        )
    )
    (command.FuncDef
      name: find_other_sources
      body: 
        (command.BraceGroup
          children: [
            (command.Sentence
              child: 
                (C {(find)} {(${ VSub_Name tree) (Lit_Other '*')} {($ VSub_DollarName '$ignore')} 
                  {(word_part.EscapedLiteralPart token:<Lit_EscapedChar '\\('>)} {(-name)} {(include)} {(-o)} {(-name)} {(arch)} {(-o)} {(-name)} {(SQ <'.tmp_*'>)} 
                  {(word_part.EscapedLiteralPart token:<Lit_EscapedChar '\\)'>)} {(-prune)} {(-o)} {(-name)} {(DQ ($ VSub_Number '$1'))} {(-not)} {(-type)} {(l)} {(-print)}
                )
              terminator: <Op_Semi ';'>
            )
          ]
        )
    )
    (command.FuncDef
      name: find_sources
      body: 
        (command.BraceGroup
          children: [(C {(find_arch_sources)} {($ VSub_Number '$1')} {(DQ ($ VSub_Number '$2'))})]
        )
    )
    (command.FuncDef
      name: all_sources
      body: 
        (command.BraceGroup
          children: [
            (C {(find_arch_include_sources)} {(${ VSub_Name SRCARCH)} {(SQ <'*.[chS]'>)})
            (command.If
              arms: [
                (if_arm
                  cond: [
                    (command.Sentence
                      child: 
                        (C {(Lit_Other '[')} {(KW_Bang '!')} {(-z)} 
                          {(DQ ($ VSub_DollarName '$archinclude'))} {(Lit_Other ']')}
                        )
                      terminator: <Op_Semi ';'>
                    )
                  ]
                  action: [
                    (C {(find_arch_include_sources)} {($ VSub_DollarName '$archinclude')} 
                      {(SQ <'*.[chS]'>)}
                    )
                  ]
                )
              ]
            )
            (C {(find_include_sources)} {(SQ <'*.[chS]'>)})
            (command.ForEach
              iter_name: arch
              iter_words: [{($ VSub_DollarName '$ALLSOURCE_ARCHS')}]
              do_arg_iter: F
              body: 
                (command.DoGroup
                  children: [(C {(find_sources)} {($ VSub_DollarName '$arch')} {(SQ <'*.[chS]'>)})]
                )
            )
            (C {(find_other_sources)} {(SQ <'*.[chS]'>)})
          ]
        )
    )
    (command.FuncDef
      name: all_compiled_sources
      body: 
        (command.BraceGroup
          children: [
            (command.ForEach
              iter_name: i
              iter_words: [
                {
                  (word_part.CommandSubPart
                    command_list: (command.CommandList children:[(C {(all_sources)})])
                    left_token: <Left_CommandSub '$('>
                  )
                }
              ]
              do_arg_iter: F
              body: 
                (command.DoGroup
                  children: [
                    (command.Case
                      to_match: {(DQ ($ VSub_DollarName '$i'))}
                      arms: [
                        (case_arm
                          pat_list: [{(Lit_Other '*') (.) (Lit_Other '[') (cS) (Lit_Other ']')}]
                          action: [
                            (command.Assignment
                              keyword: Assign_None
                              pairs: [
                                (assign_pair
                                  lhs: (lhs_expr.LhsName name:j)
                                  op: Equal
                                  rhs: 
                                    {
                                      (word_part.BracedVarSub
                                        token: <VSub_Name i>
                                        suffix_op: 
                                          (suffix_op.PatSub
                                            pat: 
                                              {
                                                (word_part.EscapedLiteralPart
                                                  token: <Lit_EscapedChar '\\.'>
                                                ) ('[cS]')
                                              }
                                            replace: 
                                              {
                                                (word_part.EscapedLiteralPart
                                                  token: <Lit_EscapedChar '\\.'>
                                                ) (o)
                                              }
                                            replace_mode: Undefined_Tok
                                          )
                                      )
                                    }
                                )
                              ]
                            )
                            (command.If
                              arms: [
                                (if_arm
                                  cond: [
                                    (command.Sentence
                                      child: 
                                        (C {(Lit_Other '[')} {(-e)} {($ VSub_DollarName '$j')} 
                                          {(Lit_Other ']')}
                                        )
                                      terminator: <Op_Semi ';'>
                                    )
                                  ]
                                  action: [(C {(echo)} {($ VSub_DollarName '$i')})]
                                )
                              ]
                            )
                          ]
                        )
                        (case_arm
                          pat_list: [{(Lit_Other '*')}]
                          action: [(C {(echo)} {($ VSub_DollarName '$i')})]
                        )
                      ]
                    )
                  ]
                )
            )
          ]
        )
    )
    (command.FuncDef
      name: all_target_sources
      body: 
        (command.BraceGroup
          children: [
            (command.If
              arms: [
                (if_arm
                  cond: [
                    (command.Sentence
                      child: 
                        (C {(Lit_Other '[')} {(-n)} {(DQ ($ VSub_DollarName '$COMPILED_SOURCE'))} 
                          {(Lit_Other ']')}
                        )
                      terminator: <Op_Semi ';'>
                    )
                  ]
                  action: [(C {(all_compiled_sources)})]
                )
              ]
              else_action: [(C {(all_sources)})]
            )
          ]
        )
    )
    (command.FuncDef
      name: all_kconfigs
      body: 
        (command.BraceGroup
          children: [
            (command.ForEach
              iter_name: arch
              iter_words: [{($ VSub_DollarName '$ALLSOURCE_ARCHS')}]
              do_arg_iter: F
              body: 
                (command.DoGroup
                  children: [(C {(find_sources)} {($ VSub_DollarName '$arch')} {(SQ <'Kconfig*'>)})]
                )
            )
            (C {(find_other_sources)} {(SQ <'Kconfig*'>)})
          ]
        )
    )
    (command.FuncDef
      name: docscope
      body: 
        (command.BraceGroup
          children: [
            (command.Subshell
              command_list: 
                (command.CommandList
                  children: [
                    (command.Sentence
                      child: 
                        (C {(echo)} {(word_part.EscapedLiteralPart token:<Lit_EscapedChar '\\-'>) (k)})
                      terminator: <Op_Semi ';'>
                    )
                    (command.Sentence
                      child: 
                        (C {(echo)} {(word_part.EscapedLiteralPart token:<Lit_EscapedChar '\\-'>) (q)})
                      terminator: <Op_Semi ';'>
                    )
                    (C {(all_target_sources)})
                  ]
                )
              redirects: [(redir.Redir op:<Redir_Great '>'> fd:16777215 arg_word:{(cscope.files)})]
            )
            (C {(cscope)} {(-b)} {(-f)} {(cscope.out)})
          ]
        )
    )
    (command.FuncDef
      name: dogtags
      body: 
        (command.BraceGroup
          children: [
            (command.Pipeline
              children: [(C {(all_target_sources)}) (C {(gtags)} {(-i)} {(-f)} {(-)})]
              negated: F
            )
          ]
        )
    )
    (command.Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (lhs_expr.LhsName name:regex_asm)
          op: Equal
          rhs: 
            {
              (word_part.ArrayLiteralPart
                words: [{(SQ <'/^\\(ENTRY\\|_GLOBAL\\)(\\([[:alnum:]_\\\\]*\\)).*/\\2/'>)}]
              )
            }
        )
      ]
    )
    (command.Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (lhs_expr.LhsName name:regex_c)
          op: Equal
          rhs: 
            {
              (word_part.ArrayLiteralPart
                words: [
                  {(SQ <'/^SYSCALL_DEFINE[0-9](\\([[:alnum:]_]*\\).*/sys_\\1/'>)}
                  {(SQ <'/^COMPAT_SYSCALL_DEFINE[0-9](\\([[:alnum:]_]*\\).*/compat_sys_\\1/'>)}
                  {(SQ <'/^TRACE_EVENT(\\([[:alnum:]_]*\\).*/trace_\\1/'>)}
                  {(SQ <'/^TRACE_EVENT(\\([[:alnum:]_]*\\).*/trace_\\1_rcuidle/'>)}
                  {(SQ <'/^DEFINE_EVENT([^,)]*, *\\([[:alnum:]_]*\\).*/trace_\\1/'>)}
                  {(SQ <'/^DEFINE_EVENT([^,)]*, *\\([[:alnum:]_]*\\).*/trace_\\1_rcuidle/'>)}
                  {(SQ <'/^DEFINE_INSN_CACHE_OPS(\\([[:alnum:]_]*\\).*/get_\\1_slot/'>)}
                  {(SQ <'/^DEFINE_INSN_CACHE_OPS(\\([[:alnum:]_]*\\).*/free_\\1_slot/'>)}
                  {(SQ <'/^PAGEFLAG(\\([[:alnum:]_]*\\).*/Page\\1/'>)}
                  {(SQ <'/^PAGEFLAG(\\([[:alnum:]_]*\\).*/SetPage\\1/'>)}
                  {(SQ <'/^PAGEFLAG(\\([[:alnum:]_]*\\).*/ClearPage\\1/'>)}
                  {(SQ <'/^TESTSETFLAG(\\([[:alnum:]_]*\\).*/TestSetPage\\1/'>)}
                  {(SQ <'/^TESTPAGEFLAG(\\([[:alnum:]_]*\\).*/Page\\1/'>)}
                  {(SQ <'/^SETPAGEFLAG(\\([[:alnum:]_]*\\).*/SetPage\\1/'>)}
                  {(SQ <'/\\<__SETPAGEFLAG(\\([[:alnum:]_]*\\).*/__SetPage\\1/'>)}
                  {(SQ <'/\\<TESTCLEARFLAG(\\([[:alnum:]_]*\\).*/TestClearPage\\1/'>)}
                  {(SQ <'/\\<__TESTCLEARFLAG(\\([[:alnum:]_]*\\).*/TestClearPage\\1/'>)}
                  {(SQ <'/\\<CLEARPAGEFLAG(\\([[:alnum:]_]*\\).*/ClearPage\\1/'>)}
                  {(SQ <'/\\<__CLEARPAGEFLAG(\\([[:alnum:]_]*\\).*/__ClearPage\\1/'>)}
                  {(SQ <'/^__PAGEFLAG(\\([[:alnum:]_]*\\).*/__SetPage\\1/'>)}
                  {(SQ <'/^__PAGEFLAG(\\([[:alnum:]_]*\\).*/__ClearPage\\1/'>)}
                  {(SQ <'/^PAGEFLAG_FALSE(\\([[:alnum:]_]*\\).*/Page\\1/'>)}
                  {(SQ <'/\\<TESTSCFLAG(\\([[:alnum:]_]*\\).*/TestSetPage\\1/'>)}
                  {(SQ <'/\\<TESTSCFLAG(\\([[:alnum:]_]*\\).*/TestClearPage\\1/'>)}
                  {(SQ <'/\\<SETPAGEFLAG_NOOP(\\([[:alnum:]_]*\\).*/SetPage\\1/'>)}
                  {(SQ <'/\\<CLEARPAGEFLAG_NOOP(\\([[:alnum:]_]*\\).*/ClearPage\\1/'>)}
                  {(SQ <'/\\<__CLEARPAGEFLAG_NOOP(\\([[:alnum:]_]*\\).*/__ClearPage\\1/'>)}
                  {(SQ <'/\\<TESTCLEARFLAG_FALSE(\\([[:alnum:]_]*\\).*/TestClearPage\\1/'>)}
                  {(SQ <'/^PAGE_MAPCOUNT_OPS(\\([[:alnum:]_]*\\).*/Page\\1/'>)}
                  {(SQ <'/^PAGE_MAPCOUNT_OPS(\\([[:alnum:]_]*\\).*/__SetPage\\1/'>)}
                  {(SQ <'/^PAGE_MAPCOUNT_OPS(\\([[:alnum:]_]*\\).*/__ClearPage\\1/'>)}
                  {(SQ <'/^TASK_PFA_TEST([^,]*, *\\([[:alnum:]_]*\\))/task_\\1/'>)}
                  {(SQ <'/^TASK_PFA_SET([^,]*, *\\([[:alnum:]_]*\\))/task_set_\\1/'>)}
                  {(SQ <'/^TASK_PFA_CLEAR([^,]*, *\\([[:alnum:]_]*\\))/task_clear_\\1/'>)}
                  {(SQ <'/^DEF_MMIO_\\(IN\\|OUT\\)_[XD](\\([[:alnum:]_]*\\),[^)]*)/\\2/'>)}
                  {(SQ <'/^DEBUGGER_BOILERPLATE(\\([[:alnum:]_]*\\))/\\1/'>)}
                  {(SQ <'/^DEF_PCI_AC_\\(\\|NO\\)RET(\\([[:alnum:]_]*\\).*/\\2/'>)}
                  {(SQ <'/^PCI_OP_READ(\\(\\w*\\).*[1-4])/pci_bus_read_config_\\1/'>)}
                  {(SQ <'/^PCI_OP_WRITE(\\(\\w*\\).*[1-4])/pci_bus_write_config_\\1/'>)}
                  {(SQ <'/\\<DEFINE_\\(MUTEX\\|SEMAPHORE\\|SPINLOCK\\)(\\([[:alnum:]_]*\\)/\\2/v/'>)}
                  {
                    (SQ 
                      <
'/\\<DEFINE_\\(RAW_SPINLOCK\\|RWLOCK\\|SEQLOCK\\)(\\([[:alnum:]_]*\\)/\\2/v/'
                      >
                    )
                  }
                  {(SQ <'/\\<DECLARE_\\(RWSEM\\|COMPLETION\\)(\\([[:alnum:]_]\\+\\)/\\2/v/'>)}
                  {(SQ <'/\\<DECLARE_BITMAP(\\([[:alnum:]_]*\\)/\\1/v/'>)}
                  {(SQ <'/\\(^\\|\\s\\)\\(\\|L\\|H\\)LIST_HEAD(\\([[:alnum:]_]*\\)/\\3/v/'>)}
                  {(SQ <'/\\(^\\|\\s\\)RADIX_TREE(\\([[:alnum:]_]*\\)/\\2/v/'>)}
                  {(SQ <'/\\<DEFINE_PER_CPU([^,]*, *\\([[:alnum:]_]*\\)/\\1/v/'>)}
                  {(SQ <'/\\<DEFINE_PER_CPU_SHARED_ALIGNED([^,]*, *\\([[:alnum:]_]*\\)/\\1/v/'>)}
                  {(SQ <'/\\<DECLARE_WAIT_QUEUE_HEAD(\\([[:alnum:]_]*\\)/\\1/v/'>)}
                  {
                    (SQ 
                      <'/\\<DECLARE_\\(TASKLET\\|WORK\\|DELAYED_WORK\\)(\\([[:alnum:]_]*\\)/\\2/v/'>
                    )
                  }
                  {(SQ <'/\\(^\\s\\)OFFSET(\\([[:alnum:]_]*\\)/\\2/v/'>)}
                  {(SQ <'/\\(^\\s\\)DEFINE(\\([[:alnum:]_]*\\)/\\2/v/'>)}
                  {(SQ <'/\\<DEFINE_HASHTABLE(\\([[:alnum:]_]*\\)/\\1/v/'>)}
                ]
              )
            }
        )
      ]
    )
    (command.Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (lhs_expr.LhsName name:regex_kconfig)
          op: Equal
          rhs: 
            {
              (word_part.ArrayLiteralPart
                words: [
                  {(SQ <'/^[[:blank:]]*\\(menu\\|\\)config[[:blank:]]\\+\\([[:alnum:]_]\\+\\)/\\2/'>)}
                  {
                    (SQ 
                      <
'/^[[:blank:]]*\\(menu\\|\\)config[[:blank:]]\\+\\([[:alnum:]_]\\+\\)/CONFIG_\\2/'
                      >
                    )
                  }
                ]
              )
            }
        )
      ]
    )
    (command.FuncDef
      name: setup_regex
      body: 
        (command.BraceGroup
          children: [
            (command.Assignment
              keyword: Assign_Local
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:mode)
                  op: Equal
                  rhs: {($ VSub_Number '$1')}
                )
                (assign_pair lhs:(lhs_expr.LhsName name:lang) op:Equal)
                (assign_pair lhs:(lhs_expr.LhsName name:tmp) op:Equal rhs:{(word_part.ArrayLiteralPart)})
                (assign_pair lhs:(lhs_expr.LhsName name:r) op:Equal)
              ]
            )
            (C {(shift)})
            (command.Assignment
              keyword: Assign_None
              pairs: [(assign_pair lhs:(lhs_expr.LhsName name:regex) op:Equal rhs:{(word_part.ArrayLiteralPart)})]
            )
            (command.ForEach
              iter_name: lang
              do_arg_iter: T
              body: 
                (command.DoGroup
                  children: [
                    (command.Case
                      to_match: {(DQ ($ VSub_DollarName '$lang'))}
                      arms: [
                        (case_arm
                          pat_list: [{(asm)}]
                          action: [
                            (command.Assignment
                              keyword: Assign_None
                              pairs: [
                                (assign_pair
                                  lhs: (lhs_expr.LhsName name:tmp)
                                  op: Equal
                                  rhs: 
                                    {
                                      (word_part.ArrayLiteralPart
                                        words: [
                                          {
                                            (DQ 
                                              (word_part.BracedVarSub
                                                token: <VSub_Name regex_asm>
                                                bracket_op: (bracket_op.WholeArray op_id:Lit_At)
                                              )
                                            )
                                          }
                                        ]
                                      )
                                    }
                                )
                              ]
                            )
                          ]
                        )
                        (case_arm
                          pat_list: [{(c)}]
                          action: [
                            (command.Assignment
                              keyword: Assign_None
                              pairs: [
                                (assign_pair
                                  lhs: (lhs_expr.LhsName name:tmp)
                                  op: Equal
                                  rhs: 
                                    {
                                      (word_part.ArrayLiteralPart
                                        words: [
                                          {
                                            (DQ 
                                              (word_part.BracedVarSub
                                                token: <VSub_Name regex_c>
                                                bracket_op: (bracket_op.WholeArray op_id:Lit_At)
                                              )
                                            )
                                          }
                                        ]
                                      )
                                    }
                                )
                              ]
                            )
                          ]
                        )
                        (case_arm
                          pat_list: [{(kconfig)}]
                          action: [
                            (command.Assignment
                              keyword: Assign_None
                              pairs: [
                                (assign_pair
                                  lhs: (lhs_expr.LhsName name:tmp)
                                  op: Equal
                                  rhs: 
                                    {
                                      (word_part.ArrayLiteralPart
                                        words: [
                                          {
                                            (DQ 
                                              (word_part.BracedVarSub
                                                token: <VSub_Name regex_kconfig>
                                                bracket_op: (bracket_op.WholeArray op_id:Lit_At)
                                              )
                                            )
                                          }
                                        ]
                                      )
                                    }
                                )
                              ]
                            )
                          ]
                        )
                      ]
                    )
                    (command.ForEach
                      iter_name: r
                      iter_words: [
                        {
                          (DQ 
                            (word_part.BracedVarSub
                              token: <VSub_Name tmp>
                              bracket_op: (bracket_op.WholeArray op_id:Lit_At)
                            )
                          )
                        }
                      ]
                      do_arg_iter: F
                      body: 
                        (command.DoGroup
                          children: [
                            (command.If
                              arms: [
                                (if_arm
                                  cond: [
                                    (command.Sentence
                                      child: 
                                        (C {(test)} {(DQ ($ VSub_DollarName '$mode'))} {(Lit_Other '=')} 
                                          {(DQ (exuberant))}
                                        )
                                      terminator: <Op_Semi ';'>
                                    )
                                  ]
                                  action: [
                                    (command.Assignment
                                      keyword: Assign_None
                                      pairs: [
                                        (assign_pair
                                          lhs: 
                                            (lhs_expr.LhsIndexedName
                                              name: regex
                                              index: 
                                                (arith_expr.ArithWord
                                                  w: 
                                                    {
                                                      (word_part.BracedVarSub
                                                        token: <VSub_Name regex>
                                                        prefix_op: VSub_Pound
                                                        bracket_op: 
                                                          (bracket_op.WholeArray
                                                            op_id: Lit_At
                                                          )
                                                      )
                                                    }
                                                )
                                            )
                                          op: Equal
                                          rhs: 
                                            {
                                              (DQ (--regex-) ($ VSub_DollarName '$lang') ('=') 
                                                (${ VSub_Name r) (b)
                                              )
                                            }
                                        )
                                      ]
                                    )
                                  ]
                                )
                              ]
                              else_action: [
                                (command.Case
                                  to_match: {(DQ ($ VSub_DollarName '$r'))}
                                  arms: [
                                    (case_arm
                                      pat_list: [
                                        {(/) (Lit_Other '*') (/) (Lit_Other '*') (/) (Lit_Other '?') (/)}
                                      ]
                                      action: [
                                        (command.Assignment
                                          keyword: Assign_None
                                          pairs: [
                                            (assign_pair
                                              lhs: (lhs_expr.LhsName name:r)
                                              op: Equal
                                              rhs: 
                                                {
                                                  (word_part.BracedVarSub
                                                    token: <VSub_Name r>
                                                    suffix_op: 
                                                      (suffix_op.StringUnary
                                                        op_id: VOp1_Percent
                                                        arg_word: {('?') (Lit_Slash /)}
                                                      )
                                                  )
                                                }
                                            )
                                          ]
                                        )
                                      ]
                                    )
                                  ]
                                )
                                (command.Case
                                  to_match: {(DQ ($ VSub_DollarName '$r'))}
                                  arms: [
                                    (case_arm
                                      pat_list: [{(/) (Lit_Other '^') (Lit_Other '*')}]
                                    )
                                    (case_arm
                                      pat_list: [{(Lit_Other '*')}]
                                      action: [
                                        (command.Assignment
                                          keyword: Assign_None
                                          pairs: [
                                            (assign_pair
                                              lhs: (lhs_expr.LhsName name:r)
                                              op: Equal
                                              rhs: 
                                                {
                                                  (DQ ('/^[^#]*') 
                                                    (word_part.BracedVarSub
                                                      token: <VSub_Name r>
                                                      suffix_op: 
                                                        (suffix_op.StringUnary
                                                          op_id: VOp1_Pound
                                                          arg_word: {(Lit_Slash /)}
                                                        )
                                                    )
                                                  )
                                                }
                                            )
                                          ]
                                        )
                                      ]
                                    )
                                  ]
                                )
                                (command.Assignment
                                  keyword: Assign_None
                                  pairs: [
                                    (assign_pair
                                      lhs: 
                                        (lhs_expr.LhsIndexedName
                                          name: regex
                                          index: 
                                            (arith_expr.ArithWord
                                              w: 
                                                {
                                                  (word_part.BracedVarSub
                                                    token: <VSub_Name regex>
                                                    prefix_op: VSub_Pound
                                                    bracket_op: (bracket_op.WholeArray op_id:Lit_At)
                                                  )
                                                }
                                            )
                                        )
                                      op: Equal
                                      rhs: {(DQ ('--regex=') ($ VSub_DollarName '$r'))}
                                    )
                                  ]
                                )
                              ]
                            )
                          ]
                        )
                    )
                  ]
                )
            )
          ]
        )
    )
    (command.FuncDef
      name: exuberant
      body: 
        (command.BraceGroup
          children: [
            (C {(setup_regex)} {(exuberant)} {(asm)} {(c)})
            (command.Pipeline
              children: [
                (C {(all_target_sources)})
                (C {(xargs)} {($ VSub_Number '$1')} {(-a)} {(-I)} 
                  {(__initdata) (Lit_Comma ',') (__exitdata) (Lit_Comma ',') (__initconst) 
                    (Lit_Comma ',')
                  } {(-I)} {(__initdata_memblock)} {(-I)} 
                  {(__refdata) (Lit_Comma ',') (__attribute) (Lit_Comma ',') (__maybe_unused) 
                    (Lit_Comma ',') (__always_unused)
                  } {(-I)} {(__acquires) (Lit_Comma ',') (__releases) (Lit_Comma ',') (__deprecated)} {(-I)} 
                  {(__read_mostly) (Lit_Comma ',') (__aligned) (Lit_Comma ',') (____cacheline_aligned)} {(-I)} {(____cacheline_aligned_in_smp)} {(-I)} 
                  {(__cacheline_aligned) (Lit_Comma ',') (__cacheline_aligned_in_smp)} {(-I)} {(____cacheline_internodealigned_in_smp)} {(-I)} 
                  {(__used) (Lit_Comma ',') (__packed) (Lit_Comma ',') (__packed2__) (Lit_Comma ',') 
                    (__must_check) (Lit_Comma ',') (__must_hold)
                  } {(-I)} {(EXPORT_SYMBOL) (Lit_Comma ',') (EXPORT_SYMBOL_GPL) (Lit_Comma ',') (ACPI_EXPORT_SYMBOL)} {(-I)} 
                  {(DEFINE_TRACE) (Lit_Comma ',') (EXPORT_TRACEPOINT_SYMBOL) (Lit_Comma ',') 
                    (EXPORT_TRACEPOINT_SYMBOL_GPL)
                  } {(-I)} {(static) (Lit_Comma ',') (const)} {(--extra) (Lit_Other '=') (Lit_Other '+') (f)} 
                  {(--c-kinds) (Lit_Other '=') (Lit_Other '+') (px)} {(--langmap) (Lit_Other '=') (c) (Lit_Other ':') (Lit_Other '+') (.h)} 
                  {
                    (DQ 
                      (word_part.BracedVarSub
                        token: <VSub_Name regex>
                        bracket_op: (bracket_op.WholeArray op_id:Lit_At)
                      )
                    )
                  }
                )
              ]
              negated: F
            )
            (C {(setup_regex)} {(exuberant)} {(kconfig)})
            (command.Pipeline
              children: [
                (C {(all_kconfigs)})
                (C {(xargs)} {($ VSub_Number '$1')} {(-a)} {(--langdef) (Lit_Other '=') (kconfig)} 
                  {(--language-force) (Lit_Other '=') (kconfig)} {(DQ (word_part.BracedVarSub token:<VSub_Name regex> bracket_op:(bracket_op.WholeArray op_id:Lit_At)))}
                )
              ]
              negated: F
            )
          ]
        )
    )
    (command.FuncDef
      name: emacs
      body: 
        (command.BraceGroup
          children: [
            (C {(setup_regex)} {(emacs)} {(asm)} {(c)})
            (command.Pipeline
              children: [
                (C {(all_target_sources)})
                (C {(xargs)} {($ VSub_Number '$1')} {(-a)} 
                  {
                    (DQ 
                      (word_part.BracedVarSub
                        token: <VSub_Name regex>
                        bracket_op: (bracket_op.WholeArray op_id:Lit_At)
                      )
                    )
                  }
                )
              ]
              negated: F
            )
            (C {(setup_regex)} {(emacs)} {(kconfig)})
            (command.Pipeline
              children: [
                (C {(all_kconfigs)})
                (C {(xargs)} {($ VSub_Number '$1')} {(-a)} 
                  {
                    (DQ 
                      (word_part.BracedVarSub
                        token: <VSub_Name regex>
                        bracket_op: (bracket_op.WholeArray op_id:Lit_At)
                      )
                    )
                  }
                )
              ]
              negated: F
            )
          ]
        )
    )
    (command.FuncDef
      name: xtags
      body: 
        (command.BraceGroup
          children: [
            (command.If
              arms: [
                (if_arm
                  cond: [
                    (command.Sentence
                      child: 
                        (command.Pipeline
                          children: [
                            (command.SimpleCommand
                              words: [{($ VSub_Number '$1')} {(--version)}]
                              redirects: [(redir.Redir op:<Redir_GreatAnd '2>&'> fd:2 arg_word:{(1)})]
                            )
                            (C {(grep)} {(-iq)} {(exuberant)})
                          ]
                          negated: F
                        )
                      terminator: <Op_Semi ';'>
                    )
                  ]
                  action: [(C {(exuberant)} {($ VSub_Number '$1')})]
                )
                (if_arm
                  cond: [
                    (command.Sentence
                      child: 
                        (command.Pipeline
                          children: [
                            (command.SimpleCommand
                              words: [{($ VSub_Number '$1')} {(--version)}]
                              redirects: [(redir.Redir op:<Redir_GreatAnd '2>&'> fd:2 arg_word:{(1)})]
                            )
                            (C {(grep)} {(-iq)} {(emacs)})
                          ]
                          negated: F
                        )
                      terminator: <Op_Semi ';'>
                    )
                  ]
                  action: [(C {(emacs)} {($ VSub_Number '$1')})]
                )
              ]
              else_action: [
                (command.Pipeline
                  children: [(C {(all_target_sources)}) (C {(xargs)} {($ VSub_Number '$1')} {(-a)})]
                  negated: F
                )
              ]
            )
          ]
        )
    )
    (command.If
      arms: [
        (if_arm
          cond: [
            (command.Sentence
              child: 
                (C {(Lit_Other '[')} {(DQ (${ VSub_Name ARCH))} {(Lit_Other '=')} {(DQ (um))} 
                  {(Lit_Other ']')}
                )
              terminator: <Op_Semi ';'>
            )
          ]
          action: [
            (command.If
              arms: [
                (if_arm
                  cond: [
                    (command.Sentence
                      child: 
                        (C {(Lit_Other '[')} {(DQ ($ VSub_DollarName '$SUBARCH'))} {(Lit_Other '=')} 
                          {(DQ (i386))} {(Lit_Other ']')}
                        )
                      terminator: <Op_Semi ';'>
                    )
                  ]
                  action: [
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:archinclude)
                          op: Equal
                          rhs: {(x86)}
                        )
                      ]
                    )
                  ]
                )
                (if_arm
                  cond: [
                    (command.Sentence
                      child: 
                        (C {(Lit_Other '[')} {(DQ ($ VSub_DollarName '$SUBARCH'))} {(Lit_Other '=')} 
                          {(DQ (x86_64))} {(Lit_Other ']')}
                        )
                      terminator: <Op_Semi ';'>
                    )
                  ]
                  action: [
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:archinclude)
                          op: Equal
                          rhs: {(x86)}
                        )
                      ]
                    )
                  ]
                )
              ]
              else_action: [
                (command.Assignment
                  keyword: Assign_None
                  pairs: [
                    (assign_pair
                      lhs: (lhs_expr.LhsName name:archinclude)
                      op: Equal
                      rhs: {(${ VSub_Name SUBARCH)}
                    )
                  ]
                )
              ]
            )
          ]
        )
        (if_arm
          cond: [
            (command.Sentence
              child: 
                (C {(Lit_Other '[')} {(DQ (${ VSub_Name SRCARCH))} {(Lit_Other '=')} {(DQ (arm))} {(-a)} 
                  {(DQ (${ VSub_Name SUBARCH))} {(KW_Bang '!') (Lit_Other '=')} {(DQ )} {(Lit_Other ']')}
                )
              terminator: <Op_Semi ';'>
            )
          ]
          action: [
            (command.Sentence
              child: 
                (command.Assignment
                  keyword: Assign_None
                  pairs: [
                    (assign_pair
                      lhs: (lhs_expr.LhsName name:subarchdir)
                      op: Equal
                      rhs: 
                        {
                          (word_part.CommandSubPart
                            command_list: 
                              (command.CommandList
                                children: [
                                  (C {(find)} 
                                    {(${ VSub_Name tree) (arch/) ($ VSub_DollarName '$SRCARCH') (/)} {(-name)} {(DQ ('mach-*'))} {(-type)} {(d)} {(-o)} {(-name)} {(DQ ('plat-*'))} {(-type)} {(d)}
                                  )
                                ]
                              )
                            left_token: <Left_CommandSub '$('>
                          )
                        }
                    )
                  ]
                )
              terminator: <Op_Semi ';'>
            )
            (command.ForEach
              iter_name: i
              iter_words: [{($ VSub_DollarName '$subarchdir')}]
              do_arg_iter: F
              body: 
                (command.DoGroup
                  children: [
                    (command.Case
                      to_match: {(DQ ($ VSub_DollarName '$i'))}
                      arms: [
                        (case_arm
                          pat_list: [{(Lit_Other '*') (DQ (mach-)) (${ VSub_Name SUBARCH)}]
                        )
                        (case_arm
                          pat_list: [{(Lit_Other '*') (DQ (plat-)) (${ VSub_Name SUBARCH)}]
                        )
                        (case_arm
                          pat_list: [{(Lit_Other '*')}]
                          action: [
                            (command.Assignment
                              keyword: Assign_None
                              pairs: [
                                (assign_pair
                                  lhs: (lhs_expr.LhsName name:subarchprune)
                                  op: Equal
                                  rhs: 
                                    {
                                      (DQ ($ VSub_DollarName '$subarchprune') (' ') 
                                        ('\t\t\t\t\t\t-wholename ') ($ VSub_DollarName '$i') (' -prune -o')
                                      )
                                    }
                                )
                              ]
                            )
                          ]
                        )
                      ]
                    )
                  ]
                )
            )
          ]
        )
      ]
    )
    (command.Assignment
      keyword: Assign_None
      pairs: [(assign_pair lhs:(lhs_expr.LhsName name:remove_structs) op:Equal rhs:(word.EmptyWord))]
    )
    (command.Case
      to_match: {(DQ ($ VSub_Number '$1'))}
      arms: [
        (case_arm pat_list:[{(DQ (cscope))}] action:[(C {(docscope)})])
        (case_arm pat_list:[{(DQ (gtags))}] action:[(C {(dogtags)})])
        (case_arm
          pat_list: [{(DQ (tags))}]
          action: [
            (C {(rm)} {(-f)} {(tags)})
            (C {(xtags)} {(ctags)})
            (command.Assignment
              keyword: Assign_None
              pairs: [(assign_pair lhs:(lhs_expr.LhsName name:remove_structs) op:Equal rhs:{(y)})]
            )
          ]
        )
        (case_arm
          pat_list: [{(DQ (TAGS))}]
          action: [
            (C {(rm)} {(-f)} {(TAGS)})
            (C {(xtags)} {(etags)})
            (command.Assignment
              keyword: Assign_None
              pairs: [(assign_pair lhs:(lhs_expr.LhsName name:remove_structs) op:Equal rhs:{(y)})]
            )
          ]
        )
      ]
    )
    (command.If
      arms: [
        (if_arm
          cond: [
            (command.Sentence
              child: 
                (C {(Lit_Other '[')} {(-n)} {(DQ ($ VSub_DollarName '$remove_structs'))} 
                  {(Lit_Other ']')}
                )
              terminator: <Op_Semi ';'>
            )
          ]
          action: [
            (command.SimpleCommand
              words: [
                {(sed)}
                {(-i)}
                {(-e)}
                {(SQ <'/^\\([a-zA-Z_][a-zA-Z0-9_]*\\)\\t.*\\t\\/\\^struct \\1;.*\\$\\/;"\\tx$/d'>)}
                {($ VSub_Number '$1')}
              ]
              more_env: [(env_pair name:LANG val:{(C)})]
            )
          ]
        )
      ]
    )
  ]
)