(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) op:Equal rhs:{($ VSub_Number '$1')})]
            )
            (command.Sentence
              child: 
                (C {(printf)} {(SQ <'\\\\%o'>)} 
                  {
                    (word_part.ArithSubPart
                      anode: 
                        (arith_expr.ArithBinary
                          op_id: Arith_Slash
                          left: (arith_expr.ArithWord w:{($ VSub_DollarName '$n')})
                          right: (arith_expr.ArithWord w:{(Lit_Digits 16777216)})
                        )
                    )
                  }
                )
              terminator: <Op_Semi ';'>
            )
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:n)
                  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)})
                          )
                      )
                    }
                )
              ]
            )
            (command.Sentence
              child: 
                (C {(printf)} {(SQ <'\\\\%o'>)} 
                  {
                    (word_part.ArithSubPart
                      anode: 
                        (arith_expr.ArithBinary
                          op_id: Arith_Slash
                          left: (arith_expr.ArithWord w:{($ VSub_DollarName '$n')})
                          right: (arith_expr.ArithWord w:{(Lit_Digits 65536)})
                        )
                    )
                  }
                )
              terminator: <Op_Semi ';'>
            )
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:n)
                  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)})
                          )
                      )
                    }
                )
              ]
            )
            (command.Sentence
              child: 
                (C {(printf)} {(SQ <'\\\\%o'>)} 
                  {
                    (word_part.ArithSubPart
                      anode: 
                        (arith_expr.ArithBinary
                          op_id: Arith_Slash
                          left: (arith_expr.ArithWord w:{($ VSub_DollarName '$n')})
                          right: (arith_expr.ArithWord w:{(Lit_Digits 256)})
                        )
                    )
                  }
                )
              terminator: <Op_Semi ';'>
            )
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:n)
                  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)})
                          )
                      )
                    }
                )
              ]
            )
            (command.Sentence
              child: 
                (C {(printf)} {(SQ <'\\\\%o'>)} 
                  {(word_part.ArithSubPart anode:(arith_expr.ArithWord w:{($ VSub_DollarName '$n')}))}
                )
              terminator: <Op_Semi ';'>
            )
          ]
        )
    )
    (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 '$('>
                  )
                )
              }
            )
          ]
        )
    )
    (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'))})
              ]
            )
          ]
        )
    )
    (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>
                            )
                          ]
                        )
                      ]
                    )
                  ]
                )
                (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>
                            )
                          ]
                        )
                        (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>
                            )
                          ]
                        )
                      ]
                    )
                  ]
                )
                (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>
                            )
                          ]
                        )
                        (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>
                            )
                          ]
                        )
                      ]
                    )
                  ]
                )
              ]
            )
            (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') (')')}
                        )
                    )
                  )
                }
              ]
              redirects: [(redir.Redir op:<Redir_GreatAnd '>&'> fd:16777215 arg_word:{(2)})]
            )
            (command.ControlFlow token:<ControlFlow_Return return> arg_word:{(1)})
          ]
        )
    )
    (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)})
              ]
            )
          ]
        )
    )
    (command.FuncDef
      name: clear_packs
      body: (command.BraceGroup children:[(C {(rm)} {(-f)} {(.git/objects/pack/) (Lit_Other '*')})])
    )
  ]
)