// File: /workspace/github_c_makefile_star2_O0/archer1357[P]Offline-Raytracer/stb_image_write.c
// Function: stbi_write_png_to_mem
unsigned char *stbi_write_png_to_mem(unsigned char *pixels, int stride_bytes, int x, int y, int n, int *out_len)
{
   int ctype[5] = { -1, 0, 4, 2, 6 };
   unsigned char sig[8] = { 137,80,78,71,13,10,26,10 };
   unsigned char *out,*o, *filt, *zlib;
   signed char *line_buffer;
   int i,j,k,p,zlen;

   if (stride_bytes == 0)
      stride_bytes = x * n;

   filt = (unsigned char *) malloc((x*n+1) * y); if (!filt) return 0;
   line_buffer = (signed char *) malloc(x * n); if (!line_buffer) { free(filt); return 0; }
   for (j=0; j < y; ++j) {
      static int mapping[] = { 0,1,2,3,4 };
      static int firstmap[] = { 0,1,0,5,6 };
      int *mymap = j ? mapping : firstmap;
      int best = 0, bestval = 0x7fffffff;
      for (p=0; p < 2; ++p) {
         for (k= p?best:0; k < 5; ++k) {
            int type = mymap[k],est=0;
            unsigned char *z = pixels + stride_bytes*j;
            for (i=0; i < n; ++i)
               switch (type) {
                  case 0: line_buffer[i] = z[i]; break;
                  case 1: line_buffer[i] = z[i]; break;
                  case 2: line_buffer[i] = z[i] - z[i-stride_bytes]; break;
                  case 3: line_buffer[i] = z[i] - (z[i-stride_bytes]>>1); break;
                  case 4: line_buffer[i] = (signed char) (z[i] - stbiw__paeth(0,z[i-stride_bytes],0)); break;
                  case 5: line_buffer[i] = z[i]; break;
                  case 6: line_buffer[i] = z[i]; break;
               }
            for (i=n; i < x*n; ++i) {
               switch (type) {
                  case 0: line_buffer[i] = z[i]; break;
                  case 1: line_buffer[i] = z[i] - z[i-n]; break;
                  case 2: line_buffer[i] = z[i] - z[i-stride_bytes]; break;
                  case 3: line_buffer[i] = z[i] - ((z[i-n] + z[i-stride_bytes])>>1); break;
                  case 4: line_buffer[i] = z[i] - stbiw__paeth(z[i-n], z[i-stride_bytes], z[i-stride_bytes-n]); break;
                  case 5: line_buffer[i] = z[i] - (z[i-n]>>1); break;
                  case 6: line_buffer[i] = z[i] - stbiw__paeth(z[i-n], 0,0); break;
               }
            }
            if (p) break;
            for (i=0; i < x*n; ++i)
               est += abs((signed char) line_buffer[i]);
            if (est < bestval) { bestval = est; best = k; }
         }
      }
      // when we get here, best contains the filter type, and line_buffer contains the data
      filt[j*(x*n+1)] = (unsigned char) best;
      memcpy(filt+j*(x*n+1)+1, line_buffer, x*n);
   }
   free(line_buffer);
   zlib = stbi_zlib_compress(filt, y*( x*n+1), &zlen, 8); // increase 8 to get smaller but use more memory
   free(filt);
   if (!zlib) return 0;

   // each tag requires 12 bytes of overhead
   out = (unsigned char *) malloc(8 + 12+13 + 12+zlen + 12); 
   if (!out) return 0;
   *out_len = 8 + 12+13 + 12+zlen + 12;

   o=out;
   memcpy(o,sig,8); o+= 8;
   stbiw__wp32(o, 13); // header length
   stbiw__wptag(o, "IHDR");
   stbiw__wp32(o, x);
   stbiw__wp32(o, y);
   *o++ = 8;
   *o++ = (unsigned char) ctype[n];
   *o++ = 0;
   *o++ = 0;
   *o++ = 0;
   stbiw__wpcrc(&o,13);

   stbiw__wp32(o, zlen);
   stbiw__wptag(o, "IDAT");
   memcpy(o, zlib, zlen); o += zlen; free(zlib);
   stbiw__wpcrc(&o, zlen);

   stbiw__wp32(o,0);
   stbiw__wptag(o, "IEND");
   stbiw__wpcrc(&o,0);

   assert(o == out + *out_len);

   return out;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xd0, %rsp
movq %rdi, -0x10(%rbp)
movl %esi, -0x14(%rbp)
movl %edx, -0x18(%rbp)
movl %ecx, -0x1c(%rbp)
movl %r8d, -0x20(%rbp)
movq %r9, -0x28(%rbp)
movq 0xc61b9(%rip), %rax     # 0x4e5d60
movq %rax, -0x40(%rbp)
movq 0xc61b6(%rip), %rax     # 0x4e5d68
movq %rax, -0x38(%rbp)
movl 0xc61b4(%rip), %eax     # 0x4e5d70
movl %eax, -0x30(%rbp)
movq 0xc6316(%rip), %rax     # 0x4e5edc
movq %rax, -0x48(%rbp)
cmpl $0x0, -0x14(%rbp)
jne 0x41fbda
movl -0x18(%rbp), %eax
imull -0x20(%rbp), %eax
movl %eax, -0x14(%rbp)
movl -0x18(%rbp), %eax
imull -0x20(%rbp), %eax
addl $0x1, %eax
imull -0x1c(%rbp), %eax
movslq %eax, %rdi
callq 0x452d20
movq %rax, -0x60(%rbp)
cmpq $0x0, -0x60(%rbp)
jne 0x41fc08
movq $0x0, -0x8(%rbp)
jmp 0x42051d
movl -0x18(%rbp), %eax
imull -0x20(%rbp), %eax
movslq %eax, %rdi
callq 0x452d20
movq %rax, -0x70(%rbp)
cmpq $0x0, -0x70(%rbp)
jne 0x41fc38
movq -0x60(%rbp), %rdi
callq 0x453060
movq $0x0, -0x8(%rbp)
jmp 0x42051d
movl $0x0, -0x78(%rbp)
movl -0x78(%rbp), %eax
cmpl -0x1c(%rbp), %eax
jge 0x42018a
movl -0x78(%rbp), %edx
leaq 0x106a0b(%rip), %rax    # 0x526660
leaq 0x1069e4(%rip), %rcx    # 0x526640
cmpl $0x0, %edx
cmovneq %rcx, %rax
movq %rax, -0x90(%rbp)
movl $0x0, -0x94(%rbp)
movl $0x7fffffff, -0x98(%rbp) # imm = 0x7FFFFFFF
movl $0x0, -0x80(%rbp)
cmpl $0x2, -0x80(%rbp)
jge 0x42012a
cmpl $0x0, -0x80(%rbp)
je 0x41fca3
movl -0x94(%rbp), %eax
movl %eax, -0xac(%rbp)
jmp 0x41fcad
xorl %eax, %eax
movl %eax, -0xac(%rbp)
jmp 0x41fcad
movl -0xac(%rbp), %eax
movl %eax, -0x7c(%rbp)
cmpl $0x5, -0x7c(%rbp)
jge 0x42011a
movq -0x90(%rbp), %rax
movslq -0x7c(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -0x9c(%rbp)
movl $0x0, -0xa0(%rbp)
movq -0x10(%rbp), %rax
movl -0x14(%rbp), %ecx
imull -0x78(%rbp), %ecx
movslq %ecx, %rcx
addq %rcx, %rax
movq %rax, -0xa8(%rbp)
movl $0x0, -0x74(%rbp)
movl -0x74(%rbp), %eax
cmpl -0x20(%rbp), %eax
jge 0x41fe75
movl -0x9c(%rbp), %eax
movq %rax, -0xb8(%rbp)
subq $0x6, %rax
ja 0x41fe65
movq -0xb8(%rbp), %rax
leaq 0xc5fbe(%rip), %rcx     # 0x4e5cec
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq -0xa8(%rbp), %rax
movslq -0x74(%rbp), %rcx
movb (%rax,%rcx), %dl
movq -0x70(%rbp), %rax
movslq -0x74(%rbp), %rcx
movb %dl, (%rax,%rcx)
jmp 0x41fe65
movq -0xa8(%rbp), %rax
movslq -0x74(%rbp), %rcx
movb (%rax,%rcx), %dl
movq -0x70(%rbp), %rax
movslq -0x74(%rbp), %rcx
movb %dl, (%rax,%rcx)
jmp 0x41fe65
movq -0xa8(%rbp), %rax
movslq -0x74(%rbp), %rcx
movzbl (%rax,%rcx), %eax
movq -0xa8(%rbp), %rcx
movl -0x74(%rbp), %edx
subl -0x14(%rbp), %edx
movslq %edx, %rdx
movzbl (%rcx,%rdx), %ecx
subl %ecx, %eax
movb %al, %dl
movq -0x70(%rbp), %rax
movslq -0x74(%rbp), %rcx
movb %dl, (%rax,%rcx)
jmp 0x41fe65
movq -0xa8(%rbp), %rax
movslq -0x74(%rbp), %rcx
movzbl (%rax,%rcx), %eax
movq -0xa8(%rbp), %rcx
movl -0x74(%rbp), %edx
subl -0x14(%rbp), %edx
movslq %edx, %rdx
movzbl (%rcx,%rdx), %ecx
sarl %ecx
subl %ecx, %eax
movb %al, %dl
movq -0x70(%rbp), %rax
movslq -0x74(%rbp), %rcx
movb %dl, (%rax,%rcx)
jmp 0x41fe65
movq -0xa8(%rbp), %rax
movslq -0x74(%rbp), %rcx
movzbl (%rax,%rcx), %eax
movl %eax, -0xbc(%rbp)
movq -0xa8(%rbp), %rax
movl -0x74(%rbp), %ecx
subl -0x14(%rbp), %ecx
movslq %ecx, %rcx
movzbl (%rax,%rcx), %esi
xorl %edx, %edx
movl %edx, %edi
callq 0x420530
movb %al, %cl
movl -0xbc(%rbp), %eax
movzbl %cl, %ecx
subl %ecx, %eax
movb %al, %dl
movq -0x70(%rbp), %rax
movslq -0x74(%rbp), %rcx
movb %dl, (%rax,%rcx)
jmp 0x41fe65
movq -0xa8(%rbp), %rax
movslq -0x74(%rbp), %rcx
movb (%rax,%rcx), %dl
movq -0x70(%rbp), %rax
movslq -0x74(%rbp), %rcx
movb %dl, (%rax,%rcx)
jmp 0x41fe65
movq -0xa8(%rbp), %rax
movslq -0x74(%rbp), %rcx
movb (%rax,%rcx), %dl
movq -0x70(%rbp), %rax
movslq -0x74(%rbp), %rcx
movb %dl, (%rax,%rcx)
jmp 0x41fe67
movl -0x74(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x74(%rbp)
jmp 0x41fcfd
movl -0x20(%rbp), %eax
movl %eax, -0x74(%rbp)
movl -0x74(%rbp), %eax
movl -0x18(%rbp), %ecx
imull -0x20(%rbp), %ecx
cmpl %ecx, %eax
jge 0x4200a0
movl -0x9c(%rbp), %eax
movq %rax, -0xc8(%rbp)
subq $0x6, %rax
ja 0x420090
movq -0xc8(%rbp), %rax
leaq 0xc5e1e(%rip), %rcx     # 0x4e5cd0
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq -0xa8(%rbp), %rax
movslq -0x74(%rbp), %rcx
movb (%rax,%rcx), %dl
movq -0x70(%rbp), %rax
movslq -0x74(%rbp), %rcx
movb %dl, (%rax,%rcx)
jmp 0x420090
movq -0xa8(%rbp), %rax
movslq -0x74(%rbp), %rcx
movzbl (%rax,%rcx), %eax
movq -0xa8(%rbp), %rcx
movl -0x74(%rbp), %edx
subl -0x20(%rbp), %edx
movslq %edx, %rdx
movzbl (%rcx,%rdx), %ecx
subl %ecx, %eax
movb %al, %dl
movq -0x70(%rbp), %rax
movslq -0x74(%rbp), %rcx
movb %dl, (%rax,%rcx)
jmp 0x420090
movq -0xa8(%rbp), %rax
movslq -0x74(%rbp), %rcx
movzbl (%rax,%rcx), %eax
movq -0xa8(%rbp), %rcx
movl -0x74(%rbp), %edx
subl -0x14(%rbp), %edx
movslq %edx, %rdx
movzbl (%rcx,%rdx), %ecx
subl %ecx, %eax
movb %al, %dl
movq -0x70(%rbp), %rax
movslq -0x74(%rbp), %rcx
movb %dl, (%rax,%rcx)
jmp 0x420090
movq -0xa8(%rbp), %rax
movslq -0x74(%rbp), %rcx
movzbl (%rax,%rcx), %eax
movq -0xa8(%rbp), %rcx
movl -0x74(%rbp), %edx
subl -0x20(%rbp), %edx
movslq %edx, %rdx
movzbl (%rcx,%rdx), %ecx
movq -0xa8(%rbp), %rdx
movl -0x74(%rbp), %esi
subl -0x14(%rbp), %esi
movslq %esi, %rsi
movzbl (%rdx,%rsi), %edx
addl %edx, %ecx
sarl %ecx
subl %ecx, %eax
movb %al, %dl
movq -0x70(%rbp), %rax
movslq -0x74(%rbp), %rcx
movb %dl, (%rax,%rcx)
jmp 0x420090
movq -0xa8(%rbp), %rax
movslq -0x74(%rbp), %rcx
movzbl (%rax,%rcx), %eax
movl %eax, -0xcc(%rbp)
movq -0xa8(%rbp), %rax
movl -0x74(%rbp), %ecx
subl -0x20(%rbp), %ecx
movslq %ecx, %rcx
movzbl (%rax,%rcx), %edi
movq -0xa8(%rbp), %rax
movl -0x74(%rbp), %ecx
subl -0x14(%rbp), %ecx
movslq %ecx, %rcx
movzbl (%rax,%rcx), %esi
movq -0xa8(%rbp), %rax
movl -0x74(%rbp), %ecx
subl -0x14(%rbp), %ecx
subl -0x20(%rbp), %ecx
movslq %ecx, %rcx
movzbl (%rax,%rcx), %edx
callq 0x420530
movb %al, %cl
movl -0xcc(%rbp), %eax
movzbl %cl, %ecx
subl %ecx, %eax
movb %al, %dl
movq -0x70(%rbp), %rax
movslq -0x74(%rbp), %rcx
movb %dl, (%rax,%rcx)
jmp 0x420090
movq -0xa8(%rbp), %rax
movslq -0x74(%rbp), %rcx
movzbl (%rax,%rcx), %eax
movq -0xa8(%rbp), %rcx
movl -0x74(%rbp), %edx
subl -0x20(%rbp), %edx
movslq %edx, %rdx
movzbl (%rcx,%rdx), %ecx
sarl %ecx
subl %ecx, %eax
movb %al, %dl
movq -0x70(%rbp), %rax
movslq -0x74(%rbp), %rcx
movb %dl, (%rax,%rcx)
jmp 0x420090
movq -0xa8(%rbp), %rax
movslq -0x74(%rbp), %rcx
movzbl (%rax,%rcx), %eax
movl %eax, -0xd0(%rbp)
movq -0xa8(%rbp), %rax
movl -0x74(%rbp), %ecx
subl -0x20(%rbp), %ecx
movslq %ecx, %rcx
movzbl (%rax,%rcx), %edi
xorl %edx, %edx
movl %edx, %esi
callq 0x420530
movb %al, %cl
movl -0xd0(%rbp), %eax
movzbl %cl, %ecx
subl %ecx, %eax
movb %al, %dl
movq -0x70(%rbp), %rax
movslq -0x74(%rbp), %rcx
movb %dl, (%rax,%rcx)
jmp 0x420092
movl -0x74(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x74(%rbp)
jmp 0x41fe7b
cmpl $0x0, -0x80(%rbp)
je 0x4200a8
jmp 0x42011a
movl $0x0, -0x74(%rbp)
movl -0x74(%rbp), %eax
movl -0x18(%rbp), %ecx
imull -0x20(%rbp), %ecx
cmpl %ecx, %eax
jge 0x4200e7
movq -0x70(%rbp), %rax
movslq -0x74(%rbp), %rcx
movsbl (%rax,%rcx), %eax
movl %eax, %ecx
negl %ecx
cmovnsl %ecx, %eax
addl -0xa0(%rbp), %eax
movl %eax, -0xa0(%rbp)
movl -0x74(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x74(%rbp)
jmp 0x4200af
movl -0xa0(%rbp), %eax
cmpl -0x98(%rbp), %eax
jge 0x42010a
movl -0xa0(%rbp), %eax
movl %eax, -0x98(%rbp)
movl -0x7c(%rbp), %eax
movl %eax, -0x94(%rbp)
jmp 0x42010c
movl -0x7c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x7c(%rbp)
jmp 0x41fcb6
jmp 0x42011c
movl -0x80(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x80(%rbp)
jmp 0x41fc85
movl -0x94(%rbp), %eax
movb %al, %dl
movq -0x60(%rbp), %rax
movl -0x78(%rbp), %ecx
movl -0x18(%rbp), %esi
imull -0x20(%rbp), %esi
addl $0x1, %esi
imull %esi, %ecx
movslq %ecx, %rcx
movb %dl, (%rax,%rcx)
movq -0x60(%rbp), %rdi
movl -0x78(%rbp), %eax
movl -0x18(%rbp), %ecx
imull -0x20(%rbp), %ecx
addl $0x1, %ecx
imull %ecx, %eax
cltq
addq %rax, %rdi
addq $0x1, %rdi
movq -0x70(%rbp), %rsi
movl -0x18(%rbp), %eax
imull -0x20(%rbp), %eax
movslq %eax, %rdx
callq 0x401058
movl -0x78(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x78(%rbp)
jmp 0x41fc3f
movq -0x70(%rbp), %rdi
callq 0x453060
movq -0x60(%rbp), %rdi
movl -0x1c(%rbp), %esi
movl -0x18(%rbp), %eax
imull -0x20(%rbp), %eax
addl $0x1, %eax
imull %eax, %esi
leaq -0x84(%rbp), %rdx
movl $0x8, %ecx
callq 0x41eb50
movq %rax, -0x68(%rbp)
movq -0x60(%rbp), %rdi
callq 0x453060
cmpq $0x0, -0x68(%rbp)
jne 0x4201d9
movq $0x0, -0x8(%rbp)
jmp 0x42051d
movl -0x84(%rbp), %eax
addl $0x2d, %eax
addl $0xc, %eax
movslq %eax, %rdi
callq 0x452d20
movq %rax, -0x50(%rbp)
cmpq $0x0, -0x50(%rbp)
jne 0x420205
movq $0x0, -0x8(%rbp)
jmp 0x42051d
movl -0x84(%rbp), %ecx
addl $0x2d, %ecx
addl $0xc, %ecx
movq -0x28(%rbp), %rax
movl %ecx, (%rax)
movq -0x50(%rbp), %rax
movq %rax, -0x58(%rbp)
movq -0x58(%rbp), %rax
movq -0x48(%rbp), %rcx
movq %rcx, (%rax)
movq -0x58(%rbp), %rax
addq $0x8, %rax
movq %rax, -0x58(%rbp)
movq -0x58(%rbp), %rax
movb $0x0, (%rax)
movq -0x58(%rbp), %rax
movb $0x0, 0x1(%rax)
movq -0x58(%rbp), %rax
movb $0x0, 0x2(%rax)
movq -0x58(%rbp), %rax
movb $0xd, 0x3(%rax)
movq -0x58(%rbp), %rax
addq $0x4, %rax
movq %rax, -0x58(%rbp)
movb 0xc539e(%rip), %cl      # 0x4e5605
movq -0x58(%rbp), %rax
movb %cl, (%rax)
movb 0xc5393(%rip), %cl      # 0x4e5606
movq -0x58(%rbp), %rax
movb %cl, 0x1(%rax)
movb 0xc5387(%rip), %cl      # 0x4e5607
movq -0x58(%rbp), %rax
movb %cl, 0x2(%rax)
movb 0xc537b(%rip), %cl      # 0x4e5608
movq -0x58(%rbp), %rax
movb %cl, 0x3(%rax)
movq -0x58(%rbp), %rax
addq $0x4, %rax
movq %rax, -0x58(%rbp)
movl -0x18(%rbp), %eax
sarl $0x18, %eax
movb %al, %cl
movq -0x58(%rbp), %rax
movb %cl, (%rax)
movl -0x18(%rbp), %eax
sarl $0x10, %eax
movb %al, %cl
movq -0x58(%rbp), %rax
movb %cl, 0x1(%rax)
movl -0x18(%rbp), %eax
sarl $0x8, %eax
movb %al, %cl
movq -0x58(%rbp), %rax
movb %cl, 0x2(%rax)
movl -0x18(%rbp), %eax
movb %al, %cl
movq -0x58(%rbp), %rax
movb %cl, 0x3(%rax)
movq -0x58(%rbp), %rax
addq $0x4, %rax
movq %rax, -0x58(%rbp)
movl -0x1c(%rbp), %eax
sarl $0x18, %eax
movb %al, %cl
movq -0x58(%rbp), %rax
movb %cl, (%rax)
movl -0x1c(%rbp), %eax
sarl $0x10, %eax
movb %al, %cl
movq -0x58(%rbp), %rax
movb %cl, 0x1(%rax)
movl -0x1c(%rbp), %eax
sarl $0x8, %eax
movb %al, %cl
movq -0x58(%rbp), %rax
movb %cl, 0x2(%rax)
movl -0x1c(%rbp), %eax
movb %al, %cl
movq -0x58(%rbp), %rax
movb %cl, 0x3(%rax)
movq -0x58(%rbp), %rax
addq $0x4, %rax
movq %rax, -0x58(%rbp)
movq -0x58(%rbp), %rax
movq %rax, %rcx
addq $0x1, %rcx
movq %rcx, -0x58(%rbp)
movb $0x8, (%rax)
movslq -0x20(%rbp), %rax
movl -0x40(%rbp,%rax,4), %eax
movb %al, %cl
movq -0x58(%rbp), %rax
movq %rax, %rdx
addq $0x1, %rdx
movq %rdx, -0x58(%rbp)
movb %cl, (%rax)
movq -0x58(%rbp), %rax
movq %rax, %rcx
addq $0x1, %rcx
movq %rcx, -0x58(%rbp)
movb $0x0, (%rax)
movq -0x58(%rbp), %rax
movq %rax, %rcx
addq $0x1, %rcx
movq %rcx, -0x58(%rbp)
movb $0x0, (%rax)
movq -0x58(%rbp), %rax
movq %rax, %rcx
addq $0x1, %rcx
movq %rcx, -0x58(%rbp)
movb $0x0, (%rax)
leaq -0x58(%rbp), %rdi
movl $0xd, %esi
callq 0x4205b0
movl -0x84(%rbp), %eax
sarl $0x18, %eax
movb %al, %cl
movq -0x58(%rbp), %rax
movb %cl, (%rax)
movl -0x84(%rbp), %eax
sarl $0x10, %eax
movb %al, %cl
movq -0x58(%rbp), %rax
movb %cl, 0x1(%rax)
movl -0x84(%rbp), %eax
sarl $0x8, %eax
movb %al, %cl
movq -0x58(%rbp), %rax
movb %cl, 0x2(%rax)
movl -0x84(%rbp), %eax
movb %al, %cl
movq -0x58(%rbp), %rax
movb %cl, 0x3(%rax)
movq -0x58(%rbp), %rax
addq $0x4, %rax
movq %rax, -0x58(%rbp)
movb 0xc52f0(%rip), %cl      # 0x4e56df
movq -0x58(%rbp), %rax
movb %cl, (%rax)
movb 0xc52e5(%rip), %cl      # 0x4e56e0
movq -0x58(%rbp), %rax
movb %cl, 0x1(%rax)
movb 0xc52d9(%rip), %cl      # 0x4e56e1
movq -0x58(%rbp), %rax
movb %cl, 0x2(%rax)
movb 0xc52cd(%rip), %cl      # 0x4e56e2
movq -0x58(%rbp), %rax
movb %cl, 0x3(%rax)
movq -0x58(%rbp), %rax
addq $0x4, %rax
movq %rax, -0x58(%rbp)
movq -0x58(%rbp), %rdi
movq -0x68(%rbp), %rsi
movslq -0x84(%rbp), %rdx
callq 0x401058
movl -0x84(%rbp), %ecx
movq -0x58(%rbp), %rax
movslq %ecx, %rcx
addq %rcx, %rax
movq %rax, -0x58(%rbp)
movq -0x68(%rbp), %rdi
callq 0x453060
movl -0x84(%rbp), %esi
leaq -0x58(%rbp), %rdi
callq 0x4205b0
movq -0x58(%rbp), %rax
movb $0x0, (%rax)
movq -0x58(%rbp), %rax
movb $0x0, 0x1(%rax)
movq -0x58(%rbp), %rax
movb $0x0, 0x2(%rax)
movq -0x58(%rbp), %rax
movb $0x0, 0x3(%rax)
movq -0x58(%rbp), %rax
addq $0x4, %rax
movq %rax, -0x58(%rbp)
movb 0xc5976(%rip), %cl      # 0x4e5e0f
movq -0x58(%rbp), %rax
movb %cl, (%rax)
movb 0xc596b(%rip), %cl      # 0x4e5e10
movq -0x58(%rbp), %rax
movb %cl, 0x1(%rax)
movb 0xc595f(%rip), %cl      # 0x4e5e11
movq -0x58(%rbp), %rax
movb %cl, 0x2(%rax)
movb 0xc5953(%rip), %cl      # 0x4e5e12
movq -0x58(%rbp), %rax
movb %cl, 0x3(%rax)
movq -0x58(%rbp), %rax
addq $0x4, %rax
movq %rax, -0x58(%rbp)
leaq -0x58(%rbp), %rdi
xorl %esi, %esi
callq 0x4205b0
movq -0x58(%rbp), %rax
movq -0x50(%rbp), %rcx
movq -0x28(%rbp), %rdx
movslq (%rdx), %rdx
addq %rdx, %rcx
cmpq %rcx, %rax
jne 0x4204f6
jmp 0x420515
leaq 0xc5917(%rip), %rdi     # 0x4e5e14
leaq 0xc58b5(%rip), %rsi     # 0x4e5db9
movl $0x1a7, %edx            # imm = 0x1A7
leaq 0xc5918(%rip), %rcx     # 0x4e5e28
callq 0x42dfd0
movq -0x50(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
addq $0xd0, %rsp
popq %rbp
retq
nopw (%rax,%rax)