(CommandList
  children: [
    (AndOr
      children: [
        (C {(source)} {(sources/include.sh)})
        (AndOr
          children: [(C {(load_target)} {(DQ ($ VSub_Number "$1"))}) (C {(exit)} {(1)})]
          op_id: Op_DPipe
        )
      ]
      op_id: Op_DAmp
    )
    (AndOr children:[(C {(check_for_base_arch)})(C {(exit)} {(0)})] op_id:Op_DPipe)
    (C {(check_prerequisite)} {(DQ (${ VSub_Name CC_PREFIX) (cc))})
    (AndOr
      children: [
        (C {(Lit_Other "[")} {(-z)} {(DQ ($ VSub_Name "$HOST_ARCH"))} {(Lit_Other "]")})
        (AndOr
          children: [
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:HOST_ARCH)
                  op: Equal
                  rhs: {(DQ ($ VSub_Name "$ARCH"))}
                  spids: [74]
                )
              ]
              spids: [74]
            )
            (AndOr
              children: [
                (Assignment
                  keyword: Assign_None
                  pairs: [
                    (assign_pair
                      lhs: (LhsName name:STAGE_DIR)
                      op: Equal
                      rhs: {(DQ ($ VSub_Name "$STAGE_DIR") (/usr))}
                      spids: [81]
                    )
                  ]
                  spids: [81]
                )
                (C {(check_prerequisite)} {(DQ (${ VSub_Name HOST_ARCH) (-cc))})
              ]
              op_id: Op_DPipe
            )
          ]
          op_id: Op_DAmp
        )
      ]
      op_id: Op_DAmp
    )
    (AndOr
      children: [(C {(mkdir)} {(-p)} {(DQ ($ VSub_Name "$STAGE_DIR") (/bin))}) (C {(dienow)})]
      op_id: Op_DPipe
    )
    (If
      arms: [
        (if_arm
          cond: [
            (C {(Lit_Other "[")} {(KW_Bang "!")} {(-z)} {(DQ ($ VSub_Name "$KARCH"))} {(Lit_Other "]")})
          ]
          action: [
            (C {(build_section)} {(linux-headers)})
            (If
              arms: [
                (if_arm
                  cond: [
                    (AndOr
                      children: [
                        (C {(Lit_Other "[")} {(-z)} {(DQ ($ VSub_Name "$UCLIBC_CONFIG"))} 
                          {(Lit_Other "]")}
                        )
                        (C {(Lit_Other "[")} {(KW_Bang "!")} {(-z)} {(DQ ($ VSub_Name "$MUSL"))} 
                          {(Lit_Other "]")}
                        )
                      ]
                      op_id: Op_DPipe
                    )
                  ]
                  action: [(C {(build_section)} {(musl)})]
                  spids: [-1 167]
                )
              ]
              else_action: [(C {(build_section)} {(uClibc)})]
              spids: [176 184]
            )
          ]
          spids: [-1 132]
        )
      ]
      spids: [-1 186]
    )
    (C {(build_section)} {(binutils)})
    (AndOr
      children: [
        (C {(Lit_Other "[")} {(KW_Bang "!")} {(-z)} {(DQ ($ VSub_Name "$ELF2FLT"))} {(Lit_Other "]")})
        (C {(build_section)} {(elf2flt)})
      ]
      op_id: Op_DAmp
    )
    (C {(build_section)} {(gcc)})
    (C {(build_section)} {(ccwrap)})
    (C {(export)} 
      {
        (DQ 
          (CommandSubPart
            command_list: 
              (CommandList
                children: [
                  (Pipeline
                    children: [(C {(echo)} {($ VSub_Name "$ARCH")}) (C {(sed)} {(SQ <s/-/_/g>)})]
                    negated: False
                  )
                ]
              )
            left_token: <Left_CommandSub "$(">
            spids: [234 246]
          )
        ) (Lit_VarLike "_CCWRAP_TOPDIR=") (DQ ($ VSub_Name "$STAGE_DIR"))
      }
    )
    (If
      arms: [
        (if_arm
          cond: [
            (C {(Lit_Other "[")} {(KW_Bang "!")} {(-z)} {(DQ ($ VSub_Name "$KARCH"))} {(Lit_Other "]")})
          ]
          action: [
            (AndOr
              children: [
                (C {(Lit_Other "[")} {(-z)} {(DQ ($ VSub_Name "$NO_CPLUSPLUS"))} {(Lit_Other "]")})
                (C {(build_section)} {(uClibc) (Lit_Other "+") (Lit_Other "+")})
              ]
              op_id: Op_DAmp
            )
            (If
              arms: [
                (if_arm
                  cond: [
                    (C {(Lit_Other "[")} {(-z)} {(DQ ($ VSub_Name "$TOOLCHAIN_PREFIX"))} 
                      {(Lit_Other "]")}
                    )
                  ]
                  action: [
                    (C {(build_section)} {(make)})
                    (C {(build_section)} {(bash)})
                    (C {(build_section)} {(distcc)})
                    (AndOr
                      children: [
                        (C {(cp)} {(DQ ($ VSub_Name "$SOURCES") (/toys/hdainit.sh))} 
                          {(DQ ($ VSub_Name "$STAGE_DIR") (/../init))}
                        )
                        (AndOr
                          children: [
                            (C {(mv)} 
                              (BracedWordTree
                                parts: [
                                  (DQ ($ VSub_Name "$STAGE_DIR"))
                                  (/)
                                  (BracedAltPart
                                    words: [{(man)} {(share/man)}]
                                  )
                                ]
                              )
                            )
                            (C {(dienow)})
                          ]
                          op_id: Op_DPipe
                        )
                      ]
                      op_id: Op_DAmp
                    )
                  ]
                  spids: [-1 318]
                )
              ]
              spids: [-1 368]
            )
          ]
          spids: [-1 268]
        )
      ]
      spids: [-1 370]
    )
    (AndOr
      children: [
        (C {(rm)} {(-rf)} 
          (BracedWordTree
            parts: [
              (DQ ($ VSub_Name "$STAGE_DIR"))
              (/)
              (BracedAltPart
                words: [{(info)} {(libexec/gcc/) (Lit_Other "*") (/) (Lit_Other "*") (/install-tools)}]
              )
            ]
          )
        )
        (C {(dienow)})
      ]
      op_id: Op_DPipe
    )
    (If
      arms: [
        (if_arm
          cond: [(C {(Lit_Other "[")} {(-z)} {(DQ ($ VSub_Name "$SKIP_STRIP"))} {(Lit_Other "]")})]
          action: [
            (C {(DQ (${ VSub_Name ARCH) (-strip))} {(--strip-unneeded)} 
              {(DQ ($ VSub_Name "$STAGE_DIR")) (/lib/) (Lit_Other "*") (.so)}
            )
            (C {(DQ (${ VSub_Name ARCH) (-strip))} 
              (BracedWordTree
                parts: [
                  (DQ ($ VSub_Name "$STAGE_DIR"))
                  (/)
                  (BracedAltPart
                    words: [{(bin/) (Lit_Other "*")} {(sbin/) (Lit_Other "*")}]
                  )
                ]
              )
            )
          ]
          spids: [-1 410]
        )
      ]
      spids: [-1 449]
    )
    (C {(create_stage_tarball)})
  ]
)