(CommandList
  children: [
    (FuncDef
      name: uint32_octal
      body: 
        (BraceGroup
          children: [
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:n spids:[36])
                  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 spids:[56])
                  op: Equal
                  rhs: 
                    {
                      (ArithSubPart
                        anode: 
                          (ArithBinary
                            op_id: Arith_Percent
                            left: (ArithVarRef token:<Lit_ArithVarLike 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 spids:[83])
                  op: Equal
                  rhs: 
                    {
                      (ArithSubPart
                        anode: 
                          (ArithBinary
                            op_id: Arith_Percent
                            left: (ArithVarRef token:<Lit_ArithVarLike 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 spids:[110])
                  op: Equal
                  rhs: 
                    {
                      (ArithSubPart
                        anode: 
                          (ArithBinary
                            op_id: Arith_Percent
                            left: (ArithVarRef token:<Lit_ArithVarLike 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:[127 131])}
                )
              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
              ops: [Op_DAmp Op_DAmp]
              children: [
                (C {(printf)} {(SQ <PACK>)})
                (C {(printf)} {(SQ <'\\0\\0\\0\\2'>)})
                (C {(uint32_binary)} {(DQ ($ VSub_Number '$1'))})
              ]
            )
          ]
          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: [253 255 268 16777215]
                        )
                      ]
                      spids: [244 250 271]
                    )
                  ]
                  spids: [240 241 274 16777215]
                )
                (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: [295 297 310 16777215]
                        )
                        (case_arm
                          pat_list: [{(01d7713666f4de822776c7622c10f1b07de280dc)}]
                          action: [
                            (AndOr
                              ops: [Op_DAmp Op_DAmp]
                              children: [
                                (C {(printf)} 
                                  {(SQ <'\\165\\1\\327\\161\\66\\146\\364\\336\\202\\47\\166'>)}
                                )
                                (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'>)}
                                )
                              ]
                            )
                            (ControlFlow
                              token: <ControlFlow_Return return>
                            )
                          ]
                          spids: [313 314 345 16777215]
                        )
                      ]
                      spids: [286 292 348]
                    )
                  ]
                  spids: [282 283 351 16777215]
                )
                (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: [372 374 387 16777215]
                        )
                        (case_arm
                          pat_list: [{(e68fe8129b546b101aee9510c5328e7f21ca1d18)}]
                          action: [
                            (AndOr
                              ops: [Op_DAmp Op_DAmp]
                              children: [
                                (C {(printf)} 
                                  {(SQ <'\\165\\346\\217\\350\\22\\233\\124\\153\\20\\32\\356'>)}
                                )
                                (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'>)})
                              ]
                            )
                            (ControlFlow
                              token: <ControlFlow_Return return>
                            )
                          ]
                          spids: [390 391 422 16777215]
                        )
                      ]
                      spids: [363 369 425]
                    )
                  ]
                  spids: [359 360 428 16777215]
                )
              ]
              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:<Redir_GreatAnd '>&'> fd:16777215 arg_word:{(2)})]
            )
            (ControlFlow token:<ControlFlow_Return return> arg_word:{(1)})
          ]
          spids: [224]
        )
      spids: [219 223]
    )
    (FuncDef
      name: pack_trailer
      body: 
        (BraceGroup
          children: [
            (AndOr
              ops: [Op_DAmp Op_DAmp]
              children: [
                (SimpleCommand
                  words: [{(test-sha1)} {(-b)}]
                  redirects: [
                    (Redir
                      op: <Redir_Less '<'>
                      fd: 16777215
                      arg_word: {(DQ ($ VSub_Number '$1'))}
                    )
                    (Redir
                      op: <Redir_Great '>'>
                      fd: 16777215
                      arg_word: {(trailer.tmp)}
                    )
                  ]
                )
                (SimpleCommand
                  words: [{(cat)} {(trailer.tmp)}]
                  redirects: [
                    (Redir
                      op: <Redir_DGreat '>>'>
                      fd: 16777215
                      arg_word: {(DQ ($ VSub_Number '$1'))}
                    )
                  ]
                )
                (C {(rm)} {(-f)} {(trailer.tmp)})
              ]
            )
          ]
          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]
    )
  ]
)