(CommandList
  children: [
    (C {(set)} {(-e)})
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:cur_ksyms_file)
          op: Equal
          rhs: {(DQ (include/generated/autoksyms.h))}
          spids: [59]
        )
      ]
      spids: [59]
    )
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:new_ksyms_file)
          op: Equal
          rhs: {(DQ (include/generated/autoksyms.h.tmpnew))}
          spids: [64]
        )
      ]
      spids: [64]
    )
    (FuncDef
      name: info
      body: 
        (BraceGroup
          children: [
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (C {(Lit_Other '[')} {(DQ ($ VSub_Name '$quiet'))} 
                          {(KW_Bang '!') (Lit_Other '=')} {(DQ (silent_))} {(Lit_Other ']')}
                        )
                      terminator: <Op_Semi ';'>
                    )
                  ]
                  action: [
                    (C {(printf)} {(DQ ('  %-7s %s') (EscapedLiteralPart token:<Lit_EscapedChar '\\n'>))} 
                      {(DQ ($ VSub_Number '$1'))} {(DQ ($ VSub_Number '$2'))}
                    )
                  ]
                  spids: [-1 95]
                )
              ]
              spids: [-1 114]
            )
          ]
          spids: [74]
        )
      spids: [70 73]
    )
    (C {(info)} {(DQ (CHK))} {(DQ ($ VSub_Name '$cur_ksyms_file'))})
    (Case
      to_match: {(DQ ($ VSub_Name '$KBUILD_VERBOSE'))}
      arms: [
        (case_arm
          pat_list: [{(Lit_Other '*') (1) (Lit_Other '*')}]
          action: [(C {(set)} {(-x)})]
          spids: [141 144 152 -1]
        )
      ]
      spids: [133 139 154]
    )
    (Case
      to_match: {(DQ (${ VSub_Name KCONFIG_CONFIG))}
      arms: [
        (case_arm
          pat_list: [{(Lit_Other '*') (/) (Lit_Other '*')}]
          action: [(C {(.)} {(DQ (${ VSub_Name KCONFIG_CONFIG))})]
          spids: [170 173 185 -1]
        )
        (case_arm
          pat_list: [{(Lit_Other '*')}]
          action: [(C {(.)} {(DQ (./) (${ VSub_Name KCONFIG_CONFIG))})]
          spids: [187 188 -1 204]
        )
      ]
      spids: [160 168 204]
    )
    (If
      arms: [
        (if_arm
          cond: [
            (Sentence
              child: 
                (C {(Lit_Other '[')} {(-e)} {(DQ ($ VSub_Name '$cur_ksyms_file'))} {(Lit_Other ']')})
              terminator: <Op_Semi ';'>
            )
          ]
          action: [
            (Sentence
              child: (C {(touch)} {(DQ ($ VSub_Name '$cur_ksyms_file'))})
              terminator: <Op_Semi ';'>
            )
          ]
          spids: [-1 223]
        )
      ]
      spids: [-1 232]
    )
    (SimpleCommand
      words: [{(cat)}]
      redirects: [
        (Redir
          op_id: Redir_Great
          fd: -1
          arg_word: {(DQ ($ VSub_Name '$new_ksyms_file'))}
          spids: [243]
        )
        (HereDoc
          op_id: Redir_DLess
          fd: -1
          body: {(DQ ('/*\n') (' * Automatically generated file; DO NOT EDIT.\n') (' */\n') ('\n'))}
          do_expansion: True
          here_end: EOT
          was_filled: True
          spids: [249]
        )
      ]
    )
    (Pipeline
      children: [
        (C {(sed)} {(-ns)} {(-e)} {(SQ <'3{s/ /\\n/g;/^$/!p;}'>)} 
          {(DQ ($ VSub_Name '$MODVERDIR')) (/) (Lit_Other '*') (.mod)}
        )
        (C {(sort)} {(-u)})
        (While
          cond: [(Sentence child:(C {(read)} {(sym)}) terminator:<Op_Semi ';'>)]
          body: 
            (DoGroup
              children: [
                (If
                  arms: [
                    (if_arm
                      cond: [
                        (Sentence
                          child: 
                            (C {(Lit_Other '[')} {(-n)} 
                              {(DQ ($ VSub_Name '$CONFIG_HAVE_UNDERSCORE_SYMBOL_PREFIX'))} {(Lit_Other ']')}
                            )
                          terminator: <Op_Semi ';'>
                        )
                      ]
                      action: [
                        (Assignment
                          keyword: Assign_None
                          pairs: [
                            (assign_pair
                              lhs: (LhsName name:sym)
                              op: Equal
                              rhs: 
                                {
                                  (DQ 
                                    (BracedVarSub
                                      token: <VSub_Name sym>
                                      suffix_op: (StringUnary op_id:VOp1_Pound arg_word:{(_)})
                                      spids: [311 315]
                                    )
                                  )
                                }
                              spids: [309]
                            )
                          ]
                          spids: [309]
                        )
                      ]
                      spids: [-1 306]
                    )
                  ]
                  spids: [-1 319]
                )
                (C {(echo)} {(DQ ('#define __KSYM_') (${ VSub_Name sym) (' 1'))})
              ]
              spids: [290 332]
            )
          redirects: [
            (Redir
              op_id: Redir_DGreat
              fd: -1
              arg_word: {(DQ ($ VSub_Name '$new_ksyms_file'))}
              spids: [334]
            )
          ]
        )
      ]
      negated: False
    )
    (If
      arms: [
        (if_arm
          cond: [
            (Sentence
              child: 
                (C {(Lit_Other '[')} {(-n)} {(DQ ($ VSub_Name '$CONFIG_MODVERSIONS'))} {(Lit_Other ']')})
              terminator: <Op_Semi ';'>
            )
          ]
          action: [
            (SimpleCommand
              words: [{(echo)} {(DQ ('#define __KSYM_module_layout 1'))}]
              redirects: [
                (Redir
                  op_id: Redir_DGreat
                  fd: -1
                  arg_word: {(DQ ($ VSub_Name '$new_ksyms_file'))}
                  spids: [366]
                )
              ]
            )
          ]
          spids: [-1 357]
        )
      ]
      spids: [-1 372]
    )
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:changed)
          op: Equal
          rhs: 
            {
              (CommandSubPart
                command_list: 
                  (CommandList
                    children: [
                      (Assignment
                        keyword: Assign_None
                        pairs: [(assign_pair lhs:(LhsName name:count) op:Equal rhs:{(0)} spids:[384])]
                        spids: [384]
                      )
                      (Pipeline
                        children: [
                          (C {(sort)} {(DQ ($ VSub_Name '$cur_ksyms_file'))} 
                            {(DQ ($ VSub_Name '$new_ksyms_file'))}
                          )
                          (C {(uniq)} {(-u)})
                          (C {(sed)} {(-n)} {(SQ <'s/^#define __KSYM_\\(.*\\) 1/\\1/p'>)})
                          (C {(tr)} {(DQ (A-Z_))} {(DQ (a-z/))})
                          (While
                            cond: [(Sentence child:(C {(read)} {(sympath)}) terminator:<Op_Semi ';'>)]
                            body: 
                              (DoGroup
                                children: [
                                  (If
                                    arms: [
                                      (if_arm
                                        cond: [
                                          (Sentence
                                            child: 
                                              (C {(Lit_Other '[')} {(-z)} {(DQ ($ VSub_Name '$sympath'))} 
                                                {(Lit_Other ']')}
                                              )
                                            terminator: <Op_Semi ';'>
                                          )
                                        ]
                                        action: [
                                          (Sentence
                                            child: (ControlFlow token:<ControlFlow_Continue continue>)
                                            terminator: <Op_Semi ';'>
                                          )
                                        ]
                                        spids: [-1 450]
                                      )
                                    ]
                                    spids: [-1 455]
                                  )
                                  (Assignment
                                    keyword: Assign_None
                                    pairs: [
                                      (assign_pair
                                        lhs: (LhsName name:depfile)
                                        op: Equal
                                        rhs: {(DQ (include/config/ksym/) (${ VSub_Name sympath) (.h))}
                                        spids: [458]
                                      )
                                    ]
                                    spids: [458]
                                  )
                                  (C {(mkdir)} {(-p)} 
                                    {
                                      (DQ 
                                        (CommandSubPart
                                          command_list: 
                                            (CommandList
                                              children: [(C {(dirname)} {(DQ ($ VSub_Name '$depfile'))})]
                                            )
                                          left_token: <Left_CommandSub '$('>
                                          spids: [473 479]
                                        )
                                      )
                                    }
                                  )
                                  (C {(touch)} {(DQ ($ VSub_Name '$depfile'))})
                                  (C {(echo)} 
                                    {
                                      (ArithSubPart
                                        anode: 
                                          (BinaryAssign
                                            op_id: Arith_PlusEqual
                                            left: (LhsName name:count)
                                            right: (ArithWord w:{(Lit_Digits 1)})
                                          )
                                        spids: [492 499]
                                      )
                                    }
                                  )
                                ]
                                spids: [434 501]
                              )
                          )
                          (C {(tail)} {(-1)})
                        ]
                        negated: False
                      )
                    ]
                  )
                left_token: <Left_CommandSub '$('>
                spids: [382 509]
              )
            }
          spids: [381]
        )
      ]
      spids: [381]
    )
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:changed)
          op: Equal
          rhs: 
            {
              (BracedVarSub
                token: <VSub_Name changed>
                suffix_op: (StringUnary op_id:VTest_ColonHyphen arg_word:{(0)})
                spids: [512 516]
              )
            }
          spids: [511]
        )
      ]
      spids: [511]
    )
    (If
      arms: [
        (if_arm
          cond: [
            (Sentence
              child: (C {(Lit_Other '[')} {($ VSub_Name '$changed')} {(-gt)} {(0)} {(Lit_Other ']')})
              terminator: <Op_Semi ';'>
            )
          ]
          action: [
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:old)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (AndOr
                                children: [
                                  (C {(grep)} {(-c)} {(DQ ('^#define __KSYM_'))} 
                                    {(DQ ($ VSub_Name '$cur_ksyms_file'))}
                                  )
                                  (C {(true)})
                                ]
                                op_id: Op_DPipe
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [540 556]
                      )
                    }
                  spids: [539]
                )
              ]
              spids: [539]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:new)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (AndOr
                                children: [
                                  (C {(grep)} {(-c)} {(DQ ('^#define __KSYM_'))} 
                                    {(DQ ($ VSub_Name '$new_ksyms_file'))}
                                  )
                                  (C {(true)})
                                ]
                                op_id: Op_DPipe
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [560 576]
                      )
                    }
                  spids: [559]
                )
              ]
              spids: [559]
            )
            (C {(info)} {(DQ (KSYMS))} 
              {
                (DQ ('symbols: before=') ($ VSub_Name '$old') (', after=') ($ VSub_Name '$new') 
                  (', changed=') ($ VSub_Name '$changed')
                )
              }
            )
            (C {(info)} {(DQ (UPD))} {(DQ ($ VSub_Name '$cur_ksyms_file'))})
            (C {(mv)} {(-f)} {(DQ ($ VSub_Name '$new_ksyms_file'))} {(DQ ($ VSub_Name '$cur_ksyms_file'))})
            (C {(exec)} {($ VSub_At '$@')})
          ]
          spids: [-1 532]
        )
      ]
      else_action: [(C {(rm)} {(-f)} {(DQ ($ VSub_Name '$new_ksyms_file'))})]
      spids: [627 638]
    )
  ]
)