(command.CommandList
  children: [
    (command.FuncDef
      name: uint32_octal
      body: 
        (command.BraceGroup
          children: [
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:n spids:[44])
                  op: Equal
                  rhs: {($ VSub_Number '$1')}
                  spids: [44]
                )
              ]
              spids: [44]
            )
            (command.Sentence
              child: 
                (C {(printf)} {(SQ <'\\\\%o'>)} 
                  {
                    (word_part.ArithSubPart
                      anode: 
                        (arith_expr.ArithBinary
                          op_id: Arith_Slash
                          left: (arith_expr.ArithWord w:{($ VSub_Name '$n')})
                          right: (arith_expr.ArithWord w:{(Lit_Digits 16777216)})
                        )
                      spids: [54 61]
                    )
                  }
                )
              terminator: <Op_Semi ';'>
            )
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:n spids:[64])
                  op: Equal
                  rhs: 
                    {
                      (word_part.ArithSubPart
                        anode: 
                          (arith_expr.ArithBinary
                            op_id: Arith_Percent
                            left: (arith_expr.ArithVarRef token:<Lit_ArithVarLike n>)
                            right: (arith_expr.ArithWord w:{(Lit_Digits 16777216)})
                          )
                        spids: [65 72]
                      )
                    }
                  spids: [64]
                )
              ]
              spids: [64]
            )
            (command.Sentence
              child: 
                (C {(printf)} {(SQ <'\\\\%o'>)} 
                  {
                    (word_part.ArithSubPart
                      anode: 
                        (arith_expr.ArithBinary
                          op_id: Arith_Slash
                          left: (arith_expr.ArithWord w:{($ VSub_Name '$n')})
                          right: (arith_expr.ArithWord w:{(Lit_Digits 65536)})
                        )
                      spids: [81 88]
                    )
                  }
                )
              terminator: <Op_Semi ';'>
            )
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:n spids:[91])
                  op: Equal
                  rhs: 
                    {
                      (word_part.ArithSubPart
                        anode: 
                          (arith_expr.ArithBinary
                            op_id: Arith_Percent
                            left: (arith_expr.ArithVarRef token:<Lit_ArithVarLike n>)
                            right: (arith_expr.ArithWord w:{(Lit_Digits 65536)})
                          )
                        spids: [92 99]
                      )
                    }
                  spids: [91]
                )
              ]
              spids: [91]
            )
            (command.Sentence
              child: 
                (C {(printf)} {(SQ <'\\\\%o'>)} 
                  {
                    (word_part.ArithSubPart
                      anode: 
                        (arith_expr.ArithBinary
                          op_id: Arith_Slash
                          left: (arith_expr.ArithWord w:{($ VSub_Name '$n')})
                          right: (arith_expr.ArithWord w:{(Lit_Digits 256)})
                        )
                      spids: [108 115]
                    )
                  }
                )
              terminator: <Op_Semi ';'>
            )
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:n spids:[118])
                  op: Equal
                  rhs: 
                    {
                      (word_part.ArithSubPart
                        anode: 
                          (arith_expr.ArithBinary
                            op_id: Arith_Percent
                            left: (arith_expr.ArithVarRef token:<Lit_ArithVarLike n>)
                            right: (arith_expr.ArithWord w:{(Lit_Digits 256)})
                          )
                        spids: [119 126]
                      )
                    }
                  spids: [118]
                )
              ]
              spids: [118]
            )
            (command.Sentence
              child: 
                (C {(printf)} {(SQ <'\\\\%o'>)} 
                  {
                    (word_part.ArithSubPart
                      anode: (arith_expr.ArithWord w:{($ VSub_Name '$n')})
                      spids: [135 139]
                    )
                  }
                )
              terminator: <Op_Semi ';'>
            )
          ]
          spids: [41]
        )
      spids: [36 40]
    )
    (command.FuncDef
      name: uint32_binary
      body: 
        (command.BraceGroup
          children: [
            (C {(printf)} 
              {
                (DQ 
                  (word_part.CommandSubPart
                    command_list: 
                      (command.CommandList
                        children: [(C {(uint32_octal)} {(DQ ($ VSub_Number '$1'))})]
                      )
                    left_token: <Left_CommandSub '$('>
                    spids: [159 165]
                  )
                )
              }
            )
          ]
          spids: [153]
        )
      spids: [148 152]
    )
    (command.FuncDef
      name: pack_header
      body: 
        (command.BraceGroup
          children: [
            (command.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: [179]
        )
      spids: [174 178]
    )
    (command.FuncDef
      name: pack_obj
      body: 
        (command.BraceGroup
          children: [
            (command.Case
              to_match: {(DQ ($ VSub_Number '$1'))}
              arms: [
                (case_arm
                  pat_list: [{(e69de29bb2d1d6434b8b29ae775ad8c2e48c5391)}]
                  action: [
                    (command.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'>)})
                            (command.ControlFlow
                              token: <ControlFlow_Return return>
                            )
                          ]
                          spids: [261 263 276 16777215]
                        )
                      ]
                      spids: [252 258 279]
                    )
                  ]
                  spids: [248 249 282 16777215]
                )
                (case_arm
                  pat_list: [{(e68fe8129b546b101aee9510c5328e7f21ca1d18)}]
                  action: [
                    (command.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'>)})
                            (command.ControlFlow
                              token: <ControlFlow_Return return>
                            )
                          ]
                          spids: [303 305 318 16777215]
                        )
                        (case_arm
                          pat_list: [{(01d7713666f4de822776c7622c10f1b07de280dc)}]
                          action: [
                            (command.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'>)}
                                )
                              ]
                            )
                            (command.ControlFlow
                              token: <ControlFlow_Return return>
                            )
                          ]
                          spids: [321 322 353 16777215]
                        )
                      ]
                      spids: [294 300 356]
                    )
                  ]
                  spids: [290 291 359 16777215]
                )
                (case_arm
                  pat_list: [{(01d7713666f4de822776c7622c10f1b07de280dc)}]
                  action: [
                    (command.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'>)})
                            (command.ControlFlow
                              token: <ControlFlow_Return return>
                            )
                          ]
                          spids: [380 382 395 16777215]
                        )
                        (case_arm
                          pat_list: [{(e68fe8129b546b101aee9510c5328e7f21ca1d18)}]
                          action: [
                            (command.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'>)})
                              ]
                            )
                            (command.ControlFlow
                              token: <ControlFlow_Return return>
                            )
                          ]
                          spids: [398 399 430 16777215]
                        )
                      ]
                      spids: [371 377 433]
                    )
                  ]
                  spids: [367 368 436 16777215]
                )
              ]
              spids: [235 241 439]
            )
            (command.SimpleCommand
              words: [
                {(echo)}
                {
                  (DQ ("BUG: don't know how to print ") ($ VSub_Number '$1') 
                    (word_part.BracedVarSub
                      token: <VSub_Number 2>
                      suffix_op: 
                        (suffix_op.StringUnary
                          op_id: VTest_ColonPlus
                          arg_word: {(' (from ') ($ VSub_Number '$2') (')')}
                        )
                      spids: [451 457]
                    )
                  )
                }
              ]
              redirects: [(redir.Redir op:<Redir_GreatAnd '>&'> fd:16777215 arg_word:{(2)})]
            )
            (command.ControlFlow token:<ControlFlow_Return return> arg_word:{(1)})
          ]
          spids: [232]
        )
      spids: [227 231]
    )
    (command.FuncDef
      name: pack_trailer
      body: 
        (command.BraceGroup
          children: [
            (command.AndOr
              ops: [Op_DAmp Op_DAmp]
              children: [
                (command.SimpleCommand
                  words: [{(test-sha1)} {(-b)}]
                  redirects: [
                    (redir.Redir
                      op: <Redir_Less '<'>
                      fd: 16777215
                      arg_word: {(DQ ($ VSub_Number '$1'))}
                    )
                    (redir.Redir
                      op: <Redir_Great '>'>
                      fd: 16777215
                      arg_word: {(trailer.tmp)}
                    )
                  ]
                )
                (command.SimpleCommand
                  words: [{(cat)} {(trailer.tmp)}]
                  redirects: [
                    (redir.Redir
                      op: <Redir_DGreat '>>'>
                      fd: 16777215
                      arg_word: {(DQ ($ VSub_Number '$1'))}
                    )
                  ]
                )
                (C {(rm)} {(-f)} {(trailer.tmp)})
              ]
            )
          ]
          spids: [476]
        )
      spids: [471 475]
    )
    (command.FuncDef
      name: clear_packs
      body: 
        (command.BraceGroup
          children: [(C {(rm)} {(-f)} {(.git/objects/pack/) (Lit_Other '*')})]
          spids: [529]
        )
      spids: [524 528]
    )
  ]
)