(command.CommandList
  children: [
    (command.Simple
      blame_tok: <echo>
      more_env: []
      words: [{<echo>} {(DQ <'*** BUILD KERNEL BEGIN ***'>)}]
      redirects: []
      do_fork: T
    )
    (command.ShAssignment
      left: <Id.Lit_VarLike 'SRC_DIR='>
      pairs: [
        (AssignPair
          left: <Id.Lit_VarLike 'SRC_DIR='>
          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'SRC_DIR='> name:SRC_DIR)
          op: assign_op.Equal
          rhs: 
            {
              (CommandSub
                left_token: <Id.Left_DollarParen '$('>
                child: 
                  (command.Simple
                    blame_tok: <pwd>
                    more_env: []
                    words: [{<pwd>}]
                    redirects: []
                    do_fork: T
                  )
                right: <Id.Eof_RParen _>
              )
            }
        )
      ]
      redirects: []
    )
    (command.ShAssignment
      left: <Id.Lit_VarLike 'JOB_FACTOR='>
      pairs: [
        (AssignPair
          left: <Id.Lit_VarLike 'JOB_FACTOR='>
          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'JOB_FACTOR='> name:JOB_FACTOR)
          op: assign_op.Equal
          rhs: 
            {
              (DQ 
                (CommandSub
                  left_token: <Id.Left_DollarParen '$('>
                  child: 
                    (command.Pipeline
                      children: [
                        (command.Simple
                          blame_tok: <grep>
                          more_env: []
                          words: [{<grep>} {<-i>} {<Id.Lit_Other '^'> <JOB_FACTOR>} {<.config>}]
                          redirects: []
                          do_fork: T
                        )
                        (command.Simple
                          blame_tok: <cut>
                          more_env: []
                          words: [{<cut>} {<-f2>} {<-d> (SQ <'='>)}]
                          redirects: []
                          do_fork: T
                        )
                      ]
                      ops: [<Id.Op_Pipe _>]
                    )
                  right: <Id.Eof_RParen _>
                )
              )
            }
        )
      ]
      redirects: []
    )
    (command.ShAssignment
      left: <Id.Lit_VarLike 'CFLAGS='>
      pairs: [
        (AssignPair
          left: <Id.Lit_VarLike 'CFLAGS='>
          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'CFLAGS='> name:CFLAGS)
          op: assign_op.Equal
          rhs: 
            {
              (DQ 
                (CommandSub
                  left_token: <Id.Left_DollarParen '$('>
                  child: 
                    (command.Pipeline
                      children: [
                        (command.Simple
                          blame_tok: <grep>
                          more_env: []
                          words: [{<grep>} {<-i>} {<Id.Lit_Other '^'> <CFLAGS>} {<.config>}]
                          redirects: []
                          do_fork: T
                        )
                        (command.Simple
                          blame_tok: <cut>
                          more_env: []
                          words: [{<cut>} {<-f2>} {<-d> (SQ <'='>)}]
                          redirects: []
                          do_fork: T
                        )
                      ]
                      ops: [<Id.Op_Pipe _>]
                    )
                  right: <Id.Eof_RParen _>
                )
              )
            }
        )
      ]
      redirects: []
    )
    (command.ShAssignment
      left: <Id.Lit_VarLike 'NUM_CORES='>
      pairs: [
        (AssignPair
          left: <Id.Lit_VarLike 'NUM_CORES='>
          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'NUM_CORES='> name:NUM_CORES)
          op: assign_op.Equal
          rhs: 
            {
              (CommandSub
                left_token: <Id.Left_DollarParen '$('>
                child: 
                  (command.Pipeline
                    children: [
                      (command.Simple
                        blame_tok: <grep>
                        more_env: []
                        words: [{<grep>} {<Id.Lit_Other '^'> <processor>} {<'/proc/cpuinfo'>}]
                        redirects: []
                        do_fork: T
                      )
                      (command.Simple
                        blame_tok: <wc>
                        more_env: []
                        words: [{<wc>} {<-l>}]
                        redirects: []
                        do_fork: T
                      )
                    ]
                    ops: [<Id.Op_Pipe _>]
                  )
                right: <Id.Eof_RParen _>
              )
            }
        )
      ]
      redirects: []
    )
    (command.ShAssignment
      left: <Id.Lit_VarLike 'NUM_JOBS='>
      pairs: [
        (AssignPair
          left: <Id.Lit_VarLike 'NUM_JOBS='>
          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'NUM_JOBS='> name:NUM_JOBS)
          op: assign_op.Equal
          rhs: 
            {
              (word_part.ArithSub
                left: <Id.Left_DollarDParen '$(('>
                anode: 
                  (arith_expr.Binary
                    op_id: Id.Arith_Star
                    left: ($ Id.Lit_ArithVarLike NUM_CORES)
                    right: ($ Id.Lit_ArithVarLike JOB_FACTOR)
                  )
                right: <Id.Right_DollarDParen _>
              )
            }
        )
      ]
      redirects: []
    )
    (command.Simple
      blame_tok: <cd>
      more_env: []
      words: [{<cd>} {<'work/kernel'>}]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <rm>
      more_env: []
      words: [{<rm>} {<-rf>} {<kernel_installed>}]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <mkdir>
      more_env: []
      words: [{<mkdir>} {<kernel_installed>}]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <cd>
      more_env: []
      words: [
        {<cd>}
        {
          (CommandSub
            left_token: <Id.Left_DollarParen '$('>
            child: 
              (command.Simple
                blame_tok: <ls>
                more_env: []
                words: [{<ls>} {<-d>} {<linux-> <Id.Lit_Star '*'>}]
                redirects: []
                do_fork: T
              )
            right: <Id.Eof_RParen _>
          )
        }
      ]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <echo>
      more_env: []
      words: [{<echo>} {(DQ <'Preparing kernel work area...'>)}]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <make>
      more_env: []
      words: [{<make>} {<mrproper>} {<-j>} {($ Id.VSub_DollarName NUM_JOBS)}]
      redirects: []
      do_fork: T
    )
    (command.ShAssignment
      left: <Id.Lit_VarLike 'USE_PREDEFINED_KERNEL_CONFIG='>
      pairs: [
        (AssignPair
          left: <Id.Lit_VarLike 'USE_PREDEFINED_KERNEL_CONFIG='>
          lhs: 
            (sh_lhs_expr.Name
              left: <Id.Lit_VarLike 'USE_PREDEFINED_KERNEL_CONFIG='>
              name: USE_PREDEFINED_KERNEL_CONFIG
            )
          op: assign_op.Equal
          rhs: 
            {
              (DQ 
                (CommandSub
                  left_token: <Id.Left_DollarParen '$('>
                  child: 
                    (command.Pipeline
                      children: [
                        (command.Simple
                          blame_tok: <grep>
                          more_env: []
                          words: [
                            {<grep>}
                            {<-i>}
                            {<Id.Lit_Other '^'> <USE_PREDEFINED_KERNEL_CONFIG>}
                            {($ Id.VSub_DollarName SRC_DIR) <'/.config'>}
                          ]
                          redirects: []
                          do_fork: T
                        )
                        (command.Simple
                          blame_tok: <cut>
                          more_env: []
                          words: [{<cut>} {<-f2>} {<-d> (SQ <'='>)}]
                          redirects: []
                          do_fork: T
                        )
                      ]
                      ops: [<Id.Op_Pipe _>]
                    )
                  right: <Id.Eof_RParen _>
                )
              )
            }
        )
      ]
      redirects: []
    )
    (command.If
      if_kw: <Id.KW_If if>
      arms: [
        (IfArm
          keyword: <Id.KW_If if>
          cond: 
            (condition.Shell
              commands: [
                (command.Sentence
                  child: 
                    (command.Simple
                      blame_tok: <Id.Lit_LBracket '['>
                      more_env: []
                      words: [
                        {<Id.Lit_LBracket '['>}
                        {(DQ ($ Id.VSub_DollarName USE_PREDEFINED_KERNEL_CONFIG))}
                        {<Id.Lit_Equals '='>}
                        {(DQ <true>)}
                        {<-a>}
                        {<Id.KW_Bang '!'>}
                        {<-f>}
                        {($ Id.VSub_DollarName SRC_DIR) <'/minimal_config/kernel.config'>}
                        {<Id.Lit_RBracket ']'>}
                      ]
                      redirects: []
                      do_fork: T
                    )
                  terminator: <Id.Op_Semi _>
                )
              ]
            )
          then_kw: <Id.KW_Then then>
          action: [
            (command.Simple
              blame_tok: <echo>
              more_env: []
              words: [
                {<echo>}
                {
                  (DQ <'Config file '> ($ Id.VSub_DollarName SRC_DIR) 
                    <'/minimal_config/kernel.config does not exist.'>
                  )
                }
              ]
              redirects: []
              do_fork: T
            )
            (command.ShAssignment
              left: <Id.Lit_VarLike 'USE_PREDEFINED_KERNEL_CONFIG='>
              pairs: [
                (AssignPair
                  left: <Id.Lit_VarLike 'USE_PREDEFINED_KERNEL_CONFIG='>
                  lhs: 
                    (sh_lhs_expr.Name
                      left: <Id.Lit_VarLike 'USE_PREDEFINED_KERNEL_CONFIG='>
                      name: USE_PREDEFINED_KERNEL_CONFIG
                    )
                  op: assign_op.Equal
                  rhs: {(DQ <false>)}
                )
              ]
              redirects: []
            )
          ]
          spids: [191 218]
        )
      ]
      else_action: []
      fi_kw: <Id.KW_Fi fi>
      redirects: []
    )
    (command.If
      if_kw: <Id.KW_If if>
      arms: [
        (IfArm
          keyword: <Id.KW_If if>
          cond: 
            (condition.Shell
              commands: [
                (command.Sentence
                  child: 
                    (command.Simple
                      blame_tok: <Id.Lit_LBracket '['>
                      more_env: []
                      words: [
                        {<Id.Lit_LBracket '['>}
                        {(DQ ($ Id.VSub_DollarName USE_PREDEFINED_KERNEL_CONFIG))}
                        {<Id.Lit_Equals '='>}
                        {(DQ <true>)}
                        {<Id.Lit_RBracket ']'>}
                      ]
                      redirects: []
                      do_fork: T
                    )
                  terminator: <Id.Op_Semi _>
                )
              ]
            )
          then_kw: <Id.KW_Then then>
          action: [
            (command.Simple
              blame_tok: <echo>
              more_env: []
              words: [
                {<echo>}
                {
                  (DQ <'Using config file '> ($ Id.VSub_DollarName SRC_DIR) 
                    <'/minimal_config/kernel.config'>
                  )
                }
              ]
              redirects: []
              do_fork: T
            )
            (command.Simple
              blame_tok: <cp>
              more_env: []
              words: [
                {<cp>}
                {<-f>}
                {($ Id.VSub_DollarName SRC_DIR) <'/minimal_config/kernel.config'>}
                {<.config>}
              ]
              redirects: []
              do_fork: T
            )
          ]
          spids: [238 256]
        )
      ]
      else_kw: <Id.KW_Else else>
      else_action: [
        (command.Simple
          blame_tok: <make>
          more_env: []
          words: [{<make>} {<defconfig>} {<-j>} {($ Id.VSub_DollarName NUM_JOBS)}]
          redirects: []
          do_fork: T
        )
        (command.Simple
          blame_tok: <echo>
          more_env: []
          words: [{<echo>} {(DQ <'Generated default kernel configuration.'>)}]
          redirects: []
          do_fork: T
        )
        (command.Simple
          blame_tok: <sed>
          more_env: []
          words: [
            {<sed>}
            {<-i>}
            {
              (DQ <'s/.*CONFIG_DEFAULT_HOSTNAME.*/CONFIG_DEFAULT_HOSTNAME='> 
                (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'> ch:'"') <minimal> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'> ch:'"') <'/'>
              )
            }
            {<.config>}
          ]
          redirects: []
          do_fork: T
        )
        (command.Simple
          blame_tok: <sed>
          more_env: []
          words: [{<sed>} {<-i>} {(DQ <'s/.*CONFIG_OVERLAY_FS.*/CONFIG_OVERLAY_FS=y/'>)} {<.config>}]
          redirects: []
          do_fork: T
        )
        (command.Simple
          blame_tok: <echo>
          more_env: []
          words: [{<echo>} {(DQ <'CONFIG_OVERLAY_FS_REDIRECT_DIR=y'>)}]
          redirects: [(Redir op:<Id.Redir_DGreat '>>'> loc:(redir_loc.Fd fd:1) arg:{<.config>})]
          do_fork: T
        )
        (command.Simple
          blame_tok: <echo>
          more_env: []
          words: [{<echo>} {(DQ <'CONFIG_OVERLAY_FS_INDEX=y'>)}]
          redirects: [(Redir op:<Id.Redir_DGreat '>>'> loc:(redir_loc.Fd fd:1) arg:{<.config>})]
          do_fork: T
        )
        (command.Simple
          blame_tok: <sed>
          more_env: []
          words: [
            {<sed>}
            {<-i>}
            {
              (DQ <'s/.*'> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\\\'> ch:'\\') 
                <'(CONFIG_KERNEL_.*'> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\\\'> ch:'\\') <')=y/'> 
                (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\\\'> ch:'\\') <'#'> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\\\'> ch:'\\') <' '> 
                (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\\\'> ch:'\\') <'1 is not set/'>
              )
            }
            {<.config>}
          ]
          redirects: []
          do_fork: T
        )
        (command.Simple
          blame_tok: <sed>
          more_env: []
          words: [{<sed>} {<-i>} {(DQ <'s/.*CONFIG_KERNEL_XZ.*/CONFIG_KERNEL_XZ=y/'>)} {<.config>}]
          redirects: []
          do_fork: T
        )
        (command.Simple
          blame_tok: <sed>
          more_env: []
          words: [{<sed>} {<-i>} {(DQ <'s/.*CONFIG_FB_VESA.*/CONFIG_FB_VESA=y/'>)} {<.config>}]
          redirects: []
          do_fork: T
        )
        (command.ShAssignment
          left: <Id.Lit_VarLike 'USE_BOOT_LOGO='>
          pairs: [
            (AssignPair
              left: <Id.Lit_VarLike 'USE_BOOT_LOGO='>
              lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'USE_BOOT_LOGO='> name:USE_BOOT_LOGO)
              op: assign_op.Equal
              rhs: 
                {
                  (DQ 
                    (CommandSub
                      left_token: <Id.Left_DollarParen '$('>
                      child: 
                        (command.Pipeline
                          children: [
                            (command.Simple
                              blame_tok: <grep>
                              more_env: []
                              words: [
                                {<grep>}
                                {<-i>}
                                {<Id.Lit_Other '^'> <USE_BOOT_LOGO>}
                                {($ Id.VSub_DollarName SRC_DIR) <'/.config'>}
                              ]
                              redirects: []
                              do_fork: T
                            )
                            (command.Simple
                              blame_tok: <cut>
                              more_env: []
                              words: [{<cut>} {<-f2>} {<-d> (SQ <'='>)}]
                              redirects: []
                              do_fork: T
                            )
                          ]
                          ops: [<Id.Op_Pipe _>]
                        )
                      right: <Id.Eof_RParen _>
                    )
                  )
                }
            )
          ]
          redirects: []
        )
        (command.If
          if_kw: <Id.KW_If if>
          arms: [
            (IfArm
              keyword: <Id.KW_If if>
              cond: 
                (condition.Shell
                  commands: [
                    (command.Sentence
                      child: 
                        (command.Simple
                          blame_tok: <Id.Lit_LBracket '['>
                          more_env: []
                          words: [
                            {<Id.Lit_LBracket '['>}
                            {(DQ ($ Id.VSub_DollarName USE_BOOT_LOGO))}
                            {<Id.Lit_Equals '='>}
                            {(DQ <true>)}
                            {<Id.Lit_RBracket ']'>}
                          ]
                          redirects: []
                          do_fork: T
                        )
                      terminator: <Id.Op_Semi _>
                    )
                  ]
                )
              then_kw: <Id.KW_Then then>
              action: [
                (command.Simple
                  blame_tok: <sed>
                  more_env: []
                  words: [
                    {<sed>}
                    {<-i>}
                    {(DQ <'s/.*CONFIG_LOGO_LINUX_CLUT224.*/CONFIG_LOGO_LINUX_CLUT224=y/'>)}
                    {<.config>}
                  ]
                  redirects: []
                  do_fork: T
                )
                (command.Simple
                  blame_tok: <echo>
                  more_env: []
                  words: [{<echo>} {(DQ <'Boot logo is enabled.'>)}]
                  redirects: []
                  do_fork: T
                )
              ]
              spids: [468 486]
            )
          ]
          else_kw: <Id.KW_Else else>
          else_action: [
            (command.Simple
              blame_tok: <sed>
              more_env: []
              words: [
                {<sed>}
                {<-i>}
                {
                  (DQ <'s/.*CONFIG_LOGO_LINUX_CLUT224.*/'> 
                    (word_part.EscapedLiteral
                      token: <Id.Lit_EscapedChar '\\\\'>
                      ch: '\\'
                    ) <'# CONFIG_LOGO_LINUX_CLUT224 is not set/'>
                  )
                }
                {<.config>}
              ]
              redirects: []
              do_fork: T
            )
            (command.Simple
              blame_tok: <echo>
              more_env: []
              words: [{<echo>} {(DQ <'Boot logo is disabled.'>)}]
              redirects: []
              do_fork: T
            )
          ]
          fi_kw: <Id.KW_Fi fi>
          redirects: []
        )
        (command.Simple
          blame_tok: <sed>
          more_env: []
          words: [
            {<sed>}
            {<-i>}
            {
              (DQ <'s/^CONFIG_DEBUG_KERNEL.*/'> 
                (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\\\'> ch:'\\') <'# CONFIG_DEBUG_KERNEL is not set/'>
              )
            }
            {<.config>}
          ]
          redirects: []
          do_fork: T
        )
        (command.Simple
          blame_tok: <sed>
          more_env: []
          words: [{<sed>} {<-i>} {(DQ <'s/.*CONFIG_EFI_STUB.*/CONFIG_EFI_STUB=y/'>)} {<.config>}]
          redirects: []
          do_fork: T
        )
        (command.Simple
          blame_tok: <echo>
          more_env: []
          words: [{<echo>} {(DQ <'CONFIG_APPLE_PROPERTIES=n'>)}]
          redirects: [(Redir op:<Id.Redir_DGreat '>>'> loc:(redir_loc.Fd fd:1) arg:{<.config>})]
          do_fork: T
        )
        (command.Simple
          blame_tok: <grep>
          more_env: []
          words: [{<grep>} {<-q>} {(DQ <'CONFIG_X86_32=y'>)} {<.config>}]
          redirects: []
          do_fork: T
        )
        (command.If
          if_kw: <Id.KW_If if>
          arms: [
            (IfArm
              keyword: <Id.KW_If if>
              cond: 
                (condition.Shell
                  commands: [
                    (command.Sentence
                      child: 
                        (command.Simple
                          blame_tok: <Id.Lit_LBracket '['>
                          more_env: []
                          words: [
                            {<Id.Lit_LBracket '['>}
                            {($ Id.VSub_QMark '?')}
                            {<Id.Lit_Equals '='>}
                            {<1>}
                            {<Id.Lit_RBracket ']'>}
                          ]
                          redirects: []
                          do_fork: T
                        )
                      terminator: <Id.Op_Semi _>
                    )
                  ]
                )
              then_kw: <Id.KW_Then then>
              action: [
                (command.Simple
                  blame_tok: <echo>
                  more_env: []
                  words: [{<echo>} {(DQ <'CONFIG_EFI_MIXED=y'>)}]
                  redirects: [(Redir op:<Id.Redir_DGreat '>>'> loc:(redir_loc.Fd fd:1) arg:{<.config>})]
                  do_fork: T
                )
              ]
              spids: [610 624]
            )
          ]
          else_action: []
          fi_kw: <Id.KW_Fi fi>
          redirects: []
        )
      ]
      fi_kw: <Id.KW_Fi fi>
      redirects: []
    )
    (command.Simple
      blame_tok: <echo>
      more_env: []
      words: [{<echo>} {(DQ <'Building kernel...'>)}]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <make>
      more_env: []
      words: [
        {<make>}
        {<Id.Lit_VarLike 'CFLAGS='> (DQ ($ Id.VSub_DollarName CFLAGS))}
        {<bzImage>}
        {<-j>}
        {($ Id.VSub_DollarName NUM_JOBS)}
      ]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <cp>
      more_env: []
      words: [
        {<cp>}
        {<'arch/x86/boot/bzImage'>}
        {($ Id.VSub_DollarName SRC_DIR) <'/work/kernel/kernel_installed/kernel'>}
      ]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <echo>
      more_env: []
      words: [{<echo>} {(DQ <'Generating kernel headers...'>)}]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <make>
      more_env: []
      words: [
        {<make>}
        {<Id.Lit_VarLike 'INSTALL_HDR_PATH='> ($ Id.VSub_DollarName SRC_DIR) 
          <'/work/kernel/kernel_installed'>
        }
        {<headers_install>}
        {<-j>}
        {($ Id.VSub_DollarName NUM_JOBS)}
      ]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <cd>
      more_env: []
      words: [{<cd>} {($ Id.VSub_DollarName SRC_DIR)}]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <echo>
      more_env: []
      words: [{<echo>} {(DQ <'*** BUILD KERNEL END ***'>)}]
      redirects: []
      do_fork: T
    )
  ]
)