(CommandList
  children: [
    (FuncDef
      name: uint32_octal
      body: 
        (BraceGroup
          children: [
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:n)
                  op: Equal
                  rhs: {($ VSub_Number "$1")}
                  spids: [36]
                )
              ]
              spids: [36]
            )
            (Sentence
              child: 
                (C {(printf)} {(SQ <"\\\\%o">)} 
                  {
                    (ArithSubPart
                      anode: 
                        (ArithBinary
                          op_id: Arith_Slash
                          left: (ArithWord w:{($ VSub_Name "$n")})
                          right: (ArithWord w:{(Lit_Digits 16777216)})
                        )
                      spids: [46 53]
                    )
                  }
                )
              terminator: <Op_Semi ";">
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:n)
                  op: Equal
                  rhs: 
                    {
                      (ArithSubPart
                        anode: 
                          (ArithBinary
                            op_id: Arith_Percent
                            left: (ArithVarRef name:n)
                            right: (ArithWord w:{(Lit_Digits 16777216)})
                          )
                        spids: [57 64]
                      )
                    }
                  spids: [56]
                )
              ]
              spids: [56]
            )
            (Sentence
              child: 
                (C {(printf)} {(SQ <"\\\\%o">)} 
                  {
                    (ArithSubPart
                      anode: 
                        (ArithBinary
                          op_id: Arith_Slash
                          left: (ArithWord w:{($ VSub_Name "$n")})
                          right: (ArithWord w:{(Lit_Digits 65536)})
                        )
                      spids: [73 80]
                    )
                  }
                )
              terminator: <Op_Semi ";">
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:n)
                  op: Equal
                  rhs: 
                    {
                      (ArithSubPart
                        anode: 
                          (ArithBinary
                            op_id: Arith_Percent
                            left: (ArithVarRef name:n)
                            right: (ArithWord w:{(Lit_Digits 65536)})
                          )
                        spids: [84 91]
                      )
                    }
                  spids: [83]
                )
              ]
              spids: [83]
            )
            (Sentence
              child: 
                (C {(printf)} {(SQ <"\\\\%o">)} 
                  {
                    (ArithSubPart
                      anode: 
                        (ArithBinary
                          op_id: Arith_Slash
                          left: (ArithWord w:{($ VSub_Name "$n")})
                          right: (ArithWord w:{(Lit_Digits 256)})
                        )
                      spids: [100 107]
                    )
                  }
                )
              terminator: <Op_Semi ";">
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:n)
                  op: Equal
                  rhs: 
                    {
                      (ArithSubPart
                        anode: 
                          (ArithBinary
                            op_id: Arith_Percent
                            left: (ArithVarRef name:n)
                            right: (ArithWord w:{(Lit_Digits 256)})
                          )
                        spids: [111 118]
                      )
                    }
                  spids: [110]
                )
              ]
              spids: [110]
            )
            (Sentence
              child: 
                (C {(printf)} {(SQ <"\\\\%o">)} 
                  {(ArithSubPart anode:(ArithWord w:{($ VSub_Name "$n")}) spids:[127131])}
                )
              terminator: <Op_Semi ";">
            )
          ]
          spids: [33]
        )
      spids: [28 32]
    )
    (FuncDef
      name: uint32_binary
      body: 
        (BraceGroup
          children: [
            (C {(printf)} 
              {
                (DQ 
                  (CommandSubPart
                    command_list: 
                      (CommandList
                        children: [(C {(uint32_octal)} {(DQ ($ VSub_Number "$1"))})]
                      )
                    left_token: <Left_CommandSub "$(">
                    spids: [151 157]
                  )
                )
              }
            )
          ]
          spids: [145]
        )
      spids: [140 144]
    )
    (FuncDef
      name: pack_header
      body: 
        (BraceGroup
          children: [
            (AndOr
              children: [
                (C {(printf)} {(SQ <PACK>)})
                (AndOr
                  children: [
                    (C {(printf)} {(SQ <"\\0\\0\\0\\2">)})
                    (C {(uint32_binary)} {(DQ ($ VSub_Number "$1"))})
                  ]
                  op_id: Op_DAmp
                )
              ]
              op_id: Op_DAmp
            )
          ]
          spids: [171]
        )
      spids: [166 170]
    )
    (FuncDef
      name: pack_obj
      body: 
        (BraceGroup
          children: [
            (Case
              to_match: {(DQ ($ VSub_Number "$1"))}
              arms: [
                (case_arm
                  pat_list: [{(e69de29bb2d1d6434b8b29ae775ad8c2e48c5391)}]
                  action: [
                    (Case
                      to_match: {(DQ ($ VSub_Number "$2"))}
                      arms: [
                        (case_arm
                          pat_list: [{(SQ )}]
                          action: [
                            (C {(printf)} {(SQ <"\\060\\170\\234\\003\\0\\0\\0\\0\\1">)})
                            (ControlFlow
                              token: <ControlFlow_Return return>
                            )
                          ]
                          spids: [-1 255 268 -1]
                        )
                      ]
                      spids: [244 250 271]
                    )
                  ]
                  spids: [240 241 274 -1]
                )
                (case_arm
                  pat_list: [{(e68fe8129b546b101aee9510c5328e7f21ca1d18)}]
                  action: [
                    (Case
                      to_match: {(DQ ($ VSub_Number "$2"))}
                      arms: [
                        (case_arm
                          pat_list: [{(SQ )}]
                          action: [
                            (C {(printf)} {(SQ <"\\062\\170\\234\\143\\267\\3\\0\\0\\116\\0\\106">)})
                            (ControlFlow
                              token: <ControlFlow_Return return>
                            )
                          ]
                          spids: [-1 297 310 -1]
                        )
                        (case_arm
                          pat_list: [{(01d7713666f4de822776c7622c10f1b07de280dc)}]
                          action: [
                            (AndOr
                              children: [
                                (C {(printf)} 
                                  {(SQ <"\\165\\1\\327\\161\\66\\146\\364\\336\\202\\47\\166">)}
                                )
                                (AndOr
                                  children: [
                                    (C {(printf)} 
                                      {
                                        (SQ <"\\307\\142\\54\\20\\361\\260\\175\\342\\200\\334\\170">)
                                      }
                                    )
                                    (C {(printf)} 
                                      {
                                        (SQ 
                                          <
"\\234\\143\\142\\142\\142\\267\\003\\0\\0\\151\\0\\114"
                                          >
                                        )
                                      }
                                    )
                                  ]
                                  op_id: Op_DAmp
                                )
                              ]
                              op_id: Op_DAmp
                            )
                            (ControlFlow
                              token: <ControlFlow_Return return>
                            )
                          ]
                          spids: [313 314 345 -1]
                        )
                      ]
                      spids: [286 292 348]
                    )
                  ]
                  spids: [282 283 351 -1]
                )
                (case_arm
                  pat_list: [{(01d7713666f4de822776c7622c10f1b07de280dc)}]
                  action: [
                    (Case
                      to_match: {(DQ ($ VSub_Number "$2"))}
                      arms: [
                        (case_arm
                          pat_list: [{(SQ )}]
                          action: [
                            (C {(printf)} {(SQ <"\\062\\170\\234\\143\\147\\0\\0\\0\\20\\0\\10">)})
                            (ControlFlow
                              token: <ControlFlow_Return return>
                            )
                          ]
                          spids: [-1 374 387 -1]
                        )
                        (case_arm
                          pat_list: [{(e68fe8129b546b101aee9510c5328e7f21ca1d18)}]
                          action: [
                            (AndOr
                              children: [
                                (C {(printf)} 
                                  {(SQ <"\\165\\346\\217\\350\\22\\233\\124\\153\\20\\32\\356">)}
                                )
                                (AndOr
                                  children: [
                                    (C {(printf)} 
                                      {
                                        (SQ 
                                          <
"\\225\\20\\305\\62\\216\\177\\41\\312\\35\\30\\170\\234"
                                          >
                                        )
                                      }
                                    )
                                    (C {(printf)} 
                                      {(SQ <"\\143\\142\\142\\142\\147\\0\\0\\0\\53\\0\\16">)}
                                    )
                                  ]
                                  op_id: Op_DAmp
                                )
                              ]
                              op_id: Op_DAmp
                            )
                            (ControlFlow
                              token: <ControlFlow_Return return>
                            )
                          ]
                          spids: [390 391 422 -1]
                        )
                      ]
                      spids: [363 369 425]
                    )
                  ]
                  spids: [359 360 428 -1]
                )
              ]
              spids: [227 233 431]
            )
            (SimpleCommand
              words: [
                {(echo)}
                {
                  (DQ ("BUG: don't know how to print ") ($ VSub_Number "$1") 
                    (BracedVarSub
                      token: <VSub_Number 2>
                      suffix_op: 
                        (StringUnary
                          op_id: VTest_ColonPlus
                          arg_word: {(" (from ") ($ VSub_Number "$2") (")")}
                        )
                      spids: [443 449]
                    )
                  )
                }
              ]
              redirects: [(Redir op_id:Redir_GreatAnd fd:-1 arg_word:{(2)} spids:[437])]
            )
            (ControlFlow token:<ControlFlow_Return return> arg_word:{(1)})
          ]
          spids: [224]
        )
      spids: [219 223]
    )
    (FuncDef
      name: pack_trailer
      body: 
        (BraceGroup
          children: [
            (AndOr
              children: [
                (SimpleCommand
                  words: [{(test-sha1)} {(-b)}]
                  redirects: [
                    (Redir
                      op_id: Redir_Less
                      fd: -1
                      arg_word: {(DQ ($ VSub_Number "$1"))}
                      spids: [475]
                    )
                    (Redir
                      op_id: Redir_Great
                      fd: -1
                      arg_word: {(trailer.tmp)}
                      spids: [480]
                    )
                  ]
                )
                (AndOr
                  children: [
                    (SimpleCommand
                      words: [{(cat)} {(trailer.tmp)}]
                      redirects: [
                        (Redir
                          op_id: Redir_DGreat
                          fd: -1
                          arg_word: {(DQ ($ VSub_Number "$1"))}
                          spids: [490]
                        )
                      ]
                    )
                    (C {(rm)} {(-f)} {(trailer.tmp)})
                  ]
                  op_id: Op_DAmp
                )
              ]
              op_id: Op_DAmp
            )
          ]
          spids: [468]
        )
      spids: [463 467]
    )
    (FuncDef
      name: clear_packs
      body: 
        (BraceGroup
          children: [(C {(rm)} {(-f)} {(.git/objects/pack/) (Lit_Other "*")})]
          spids: [521]
        )
      spids: [516 520]
    )
  ]
)