(CommandList
  children: [
    (AndOr
      ops: [Op_DPipe]
      children: [
        (C {(source)} {(sources/include.sh)})
        (ControlFlow token:<ControlFlow_Exit exit> arg_word:{(1)})
      ]
    )
    (C {(load_target)} {(DQ ($ VSub_Number '$1'))})
    (AndOr
      ops: [Op_DPipe]
      children: [(C {(check_for_base_arch)}) (ControlFlow token:<ControlFlow_Exit exit> arg_word:{(0)})]
    )
    (C {(check_prerequisite)} {(DQ (${ VSub_Name CC_PREFIX) (cc))})
    (AndOr
      ops: [Op_DAmp Op_DPipe]
      children: [
        (C {(mkdir)} {(-p)} 
          (BracedWordTree
            parts: [
              (DQ ($ VSub_Name '$STAGE_DIR'))
              (/)
              (BracedAltPart
                words: [{(tmp)} {(proc)} {(sys)} {(dev)} {(home)} {(mnt)} {(root)}]
              )
            ]
          )
        )
        (C {(chmod)} {(a) (Lit_Other '+') (rwxt)} {(DQ ($ VSub_Name '$STAGE_DIR') (/tmp))})
        (C {(dienow)})
      ]
    )
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:STAGE_USR)
          op: Equal
          rhs: {(DQ ($ VSub_Name '$STAGE_DIR') (/usr))}
          spids: [101]
        )
      ]
      spids: [101]
    )
    (ForEach
      iter_name: i
      iter_words: [{(bin)} {(sbin)} {(lib)} {(etc)}]
      do_arg_iter: F
      body: 
        (DoGroup
          children: [
            (AndOr
              ops: [Op_DAmp Op_DPipe]
              children: [
                (C {(mkdir)} {(-p)} {(DQ ($ VSub_Name '$STAGE_USR') (/) ($ VSub_Name '$i'))})
                (C {(ln)} {(-s)} {(DQ (usr/) ($ VSub_Name '$i'))} 
                  {(DQ ($ VSub_Name '$STAGE_DIR') (/) ($ VSub_Name '$i'))}
                )
                (C {(dienow)})
              ]
            )
          ]
          spids: [137 171]
        )
      spids: [128 16777215]
    )
    (AndOr
      ops: [Op_DAmp Op_DAmp Op_DPipe]
      children: [
        (C {(cp)} {(-r)} {(DQ ($ VSub_Name '$SOURCES') (/root-filesystem/.))} 
          {(DQ ($ VSub_Name '$STAGE_USR') (/))}
        )
        (SimpleCommand
          words: [
            {(echo)}
            {(-e)}
            {
              (DQ ('CROSS_TARGET=') ($ VSub_Name '$CROSS_TARGET') (Lit_Other '\\') ('nKARCH=') 
                ($ VSub_Name '$KARCH')
              )
            }
          ]
          redirects: [
            (Redir
              op_id: Redir_Great
              fd: 16777215
              arg_word: {(DQ ($ VSub_Name '$STAGE_USR') (/src/host-info))}
              spids: [206]
            )
          ]
        )
        (C {(cp)} {(DQ ($ VSub_Name '$SRCDIR')) (/MANIFEST)} {(DQ ($ VSub_Name '$STAGE_USR') (/src))})
        (C {(dienow)})
      ]
    )
    (If
      arms: [
        (if_arm
          cond: [
            (C {(Lit_Other '[')} {(KW_Bang '!')} {(-z)} {(DQ ($ VSub_Name '$MY_ROOT_OVERLAY'))} 
              {(Lit_Other ']')}
            )
          ]
          action: [
            (C {(cd)} {(DQ ($ VSub_Name '$TOP'))})
            (AndOr
              ops: [Op_DPipe]
              children: [
                (Pipeline
                  children: [
                    (C {(tar)} {(-c)} {(-C)} {(DQ ($ VSub_Name '$MY_ROOT_OVERLAY'))} {(.)})
                    (C {(tar)} {(-x)} {(-C)} {(DQ ($ VSub_Name '$STAGE_DIR'))})
                  ]
                  negated: F
                )
                (C {(dienow)})
              ]
            )
          ]
          spids: [16777215 255]
        )
      ]
      spids: [16777215 293]
    )
    (SimpleCommand
      words: [{(build_section)} {(busybox)}]
      more_env: [(env_pair name:STAGE_DIR val:{(DQ ($ VSub_Name '$STAGE_USR'))} spids:[300])]
    )
    (AndOr
      ops: [Op_DPipe]
      children: [
        (C {(cp)} {(DQ ($ VSub_Name '$WORK')) (/config-busybox)} 
          {(DQ ($ VSub_Name '$STAGE_USR')) (/src)}
        )
        (C {(dienow)})
      ]
    )
    (C {(build_section)} {(toybox)})
    (AndOr
      ops: [Op_DPipe]
      children: [
        (C {(DQ (${ VSub_Name CC_PREFIX) (cc))} 
          {(DQ (${ VSub_Name SOURCES) (/root-filesystem/src/hello.c))} {(-Os)} {($ VSub_Name '$CFLAGS')} {(-o)} {(DQ ($ VSub_Name '$STAGE_USR') (/bin/hello-dynamic))}
        )
        (C {(dienow)})
      ]
    )
    (If
      arms: [
        (if_arm
          cond: [
            (C {(Lit_Other '[')} {(DQ ($ VSub_Name '$BUILD_STATIC'))} {(KW_Bang '!') (Lit_Other '=')} 
              {(none)} {(Lit_Other ']')}
            )
          ]
          action: [
            (AndOr
              ops: [Op_DPipe]
              children: [
                (C {(DQ (${ VSub_Name CC_PREFIX) (cc))} 
                  {(DQ (${ VSub_Name SOURCES) (/root-filesystem/src/hello.c))} {(-Os)} {($ VSub_Name '$CFLAGS')} {(-static)} {(-o)} {(DQ ($ VSub_Name '$STAGE_USR') (/bin/hello-static))}
                )
                (C {(dienow)})
              ]
            )
            (Assignment
              keyword: Assign_None
              pairs: [(assign_pair lhs:(LhsName name:STATIC) op:Equal rhs:{(--static)} spids:[421])]
              spids: [421]
            )
          ]
          spids: [16777215 384]
        )
      ]
      else_action: [
        (Assignment
          keyword: Assign_None
          pairs: [(assign_pair lhs:(LhsName name:STATIC) op:Equal rhs:{(EmptyPart)} spids:[427])]
          spids: [427]
        )
      ]
      spids: [424 429]
    )
    (AndOr
      ops: [Op_DPipe]
      children: [
        (C {(DQ (${ VSub_Name CC_PREFIX) (cc))} {(DQ ($ VSub_Name '$SOURCES') (/toys/wrappy.c))} {(-Os)} 
          {($ VSub_Name '$CFLAGS')} {($ VSub_Name '$STATIC')} {(-o)} {(DQ ($ VSub_Name '$STAGE_USR') (/bin/record-commands-wrapper))}
        )
        (C {(dienow)})
      ]
    )
    (If
      arms: [
        (if_arm
          cond: [
            (AndOr
              ops: [Op_DPipe]
              children: [
                (Pipeline
                  children: [(C {(is_in_list)} {(toybox)} {($ VSub_Name '$BUILD_STATIC')})]
                  negated: T
                )
                (Pipeline
                  children: [(C {(is_in_list)} {(busybox)} {($ VSub_Name '$BUILD_STATIC')})]
                  negated: T
                )
              ]
            )
          ]
          action: [
            (C {(echo)} {(Copying)} {(compiler)} {(libraries...)})
            (AndOr
              ops: [Op_DPipe]
              children: [(C {(mkdir)} {(-p)} {(DQ ($ VSub_Name '$STAGE_USR') (/lib))}) (C {(dienow)})]
            )
            (Pipeline
              children: [
                (Subshell
                  child: 
                    (AndOr
                      ops: [Op_DPipe]
                      children: [
                        (C {(path_search)} 
                          {
                            (DQ 
                              (CommandSubPart
                                command_list: 
                                  (CommandList
                                    children: [
                                      (Pipeline
                                        children: [
                                          (C {(DQ (${ VSub_Name CC_PREFIX) (cc))} 
                                            {(--print-search-dirs)}
                                          )
                                          (C {(sed)} {(-n)} {(SQ <'s/^libraries: =*//p'>)})
                                        ]
                                        negated: F
                                      )
                                    ]
                                  )
                                left_token: <Left_CommandSub '$('>
                                spids: [524 543]
                              )
                            )
                          } {(DQ ('*.so*'))} {(SQ <'cp -H "$DIR/$FILE" "$STAGE_USR/lib/$FILE"'>)}
                        )
                        (C {(dienow)})
                      ]
                    )
                  spids: [518 561]
                )
                (C {(dotprogress)})
              ]
              negated: F
            )
            (AndOr
              ops: [Op_DAmp]
              children: [
                (C {(Lit_Other '[')} {(-z)} {(DQ ($ VSub_Name '$SKIP_STRIP'))} {(Lit_Other ']')})
                (C {(DQ (${ VSub_Name CC_PREFIX) (strip))} {(--strip-unneeded)} 
                  {(DQ ($ VSub_Name '$STAGE_USR')) (/lib/) (Lit_Other '*') (.so)}
                )
              ]
            )
          ]
          spids: [16777215 492]
        )
      ]
      spids: [16777215 598]
    )
    (AndOr
      ops: [Op_DAmp]
      children: [
        (C {(Lit_Other '[')} {(-z)} {(DQ ($ VSub_Name '$SKIP_STRIP'))} {(Lit_Other ']')})
        (C {(DQ (${ VSub_Name CC_PREFIX) (strip))} 
          (BracedWordTree
            parts: [
              (DQ ($ VSub_Name '$STAGE_USR'))
              (/)
              (BracedAltPart
                words: [{(bin/) (Lit_Other '*')} {(sbin/) (Lit_Other '*')}]
              )
            ]
          )
        )
      ]
    )
    (C {(create_stage_tarball)})
    (C {(echo)} {(-e)} {(DQ (Lit_Other '\\') ('e[0mBuild complete'))})
  ]
)