LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O3/srajangarg[P]raytracer/src/core/stb_image.hpp
// Function: stbi_info_from_file
STBIDEF int stbi_info_from_file(FILE *f, int *x, int *y, int *comp)
{
   int r;
   stbi__context s;
   long pos = ftell(f);
   stbi__start_file(&s, f);
   r = stbi__info_main(&s,x,y,comp);
   fseek(f,pos,SEEK_SET);
   return r;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xd8, %rsp
movq %rcx, %rbx
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %r12
callq 0x4030
movq %rax, %r13
movq %rsp, %rbp
movq %rbp, %rdi
movq %r12, %rsi
callq 0x142fc
movq %rbp, %rdi
movq %r15, %rsi
movq %r14, %rdx
movq %rbx, %rcx
callq 0x15a7a
movl %eax, %ebx
movq %r12, %rdi
movq %r13, %rsi
xorl %edx, %edx
callq 0x4350
movl %ebx, %eax
addq $0xd8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/srajangarg[P]raytracer/src/core/stb_image.hpp
// Function: stbi__pnm_test(stbi__context*)
static int      stbi__pnm_test(stbi__context *s)
{
   char p, t;
   p = (char) stbi__get8(s);
   t = (char) stbi__get8(s);
   if (p != 'P' || (t != '5' && t != '6')) {
       stbi__rewind( s );
       return 0;
   }
   return 1;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
movq 0xb8(%rdi), %rcx
movq 0xc0(%rdi), %rax
cmpq %rax, %rcx
jae 0x1b85c
leaq 0x1(%rcx), %rdx
movq %rdx, 0xb8(%rbx)
movb (%rcx), %bpl
movq %rdx, %rcx
jmp 0x1b8a8
cmpl $0x0, 0x30(%rbx)
je 0x1b881
movq 0x28(%rbx), %rdi
leaq 0x38(%rbx), %r14
movl 0x34(%rbx), %edx
movq %r14, %rsi
callq *0x10(%rbx)
testl %eax, %eax
je 0x1b885
cltq
addq %r14, %rax
movb (%r14), %bpl
jmp 0x1b896
xorl %ebp, %ebp
jmp 0x1b8a8
movl $0x0, 0x30(%rbx)
leaq 0x39(%rbx), %rax
movb $0x0, 0x38(%rbx)
xorl %ebp, %ebp
movq %rax, 0xc0(%rbx)
leaq 0x39(%rbx), %rcx
movq %rcx, 0xb8(%rbx)
cmpq %rax, %rcx
jae 0x1b8bc
leaq 0x1(%rcx), %rax
movq %rax, 0xb8(%rbx)
movb (%rcx), %cl
jmp 0x1b904
cmpl $0x0, 0x30(%rbx)
je 0x1b917
movq 0x28(%rbx), %rdi
leaq 0x38(%rbx), %r14
movl 0x34(%rbx), %edx
movq %r14, %rsi
callq *0x10(%rbx)
testl %eax, %eax
je 0x1b8e1
cltq
addq %r14, %rax
movb (%r14), %cl
jmp 0x1b8f2
movl $0x0, 0x30(%rbx)
leaq 0x39(%rbx), %rax
movb $0x0, 0x38(%rbx)
xorl %ecx, %ecx
movq %rax, 0xc0(%rbx)
leaq 0x39(%rbx), %rax
movq %rax, 0xb8(%rbx)
cmpb $0x50, %bpl
jne 0x1b917
addb $-0x37, %cl
movl $0x1, %eax
cmpb $-0x3, %cl
ja 0x1b927
movups 0xc8(%rbx), %xmm0
movups %xmm0, 0xb8(%rbx)
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/srajangarg[P]raytracer/src/core/stb_image.hpp
// Function: stbi__pnm_load(stbi__context*, int*, int*, int*, int)
static stbi_uc *stbi__pnm_load(stbi__context *s, int *x, int *y, int *comp, int req_comp)
{
   stbi_uc *out;
   if (!stbi__pnm_info(s, (int *)&s->img_x, (int *)&s->img_y, (int *)&s->img_n))
      return 0;
   *x = s->img_x;
   *y = s->img_y;
   *comp = s->img_n;

   out = (stbi_uc *) stbi__malloc(s->img_n * s->img_x * s->img_y);
   if (!out) return stbi__errpuc("outofmem", "Out of memory");
   stbi__getn(s, out, s->img_n * s->img_x * s->img_y);

   if (req_comp && req_comp != s->img_n) {
      out = stbi__convert_format(out, s->img_n, req_comp, s->img_x, s->img_y);
      if (out == NULL) return out; // stbi__convert_format frees input on failure
   }
   return out;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %r8d, %ebx
movq %rcx, %r12
movq %rdx, %r13
movq %rsi, %rbp
movq %rdi, %r14
leaq 0x4(%rdi), %rdx
leaq 0x8(%rdi), %r15
movq %rdi, %rsi
movq %r15, %rcx
callq 0x2258a
testl %eax, %eax
je 0x1b9d2
movl (%r14), %eax
movl %eax, (%rbp)
movl 0x4(%r14), %eax
movl %eax, (%r13)
movl 0x8(%r14), %r13d
movl %r13d, (%r12)
imull (%r14), %r13d
imull 0x4(%r14), %r13d
movq %r13, %rdi
callq 0x43f0
testq %rax, %rax
je 0x1b9c4
movq %rax, %r12
movq %r14, %rdi
movq %rax, %rsi
movl %r13d, %edx
callq 0x20a46
testl %ebx, %ebx
je 0x1b9d5
movl (%r15), %esi
cmpl %ebx, %esi
je 0x1b9d5
movl (%r14), %ecx
movl 0x4(%r14), %r8d
movq %r12, %rdi
movl %ebx, %edx
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x20612
leaq 0x108fe(%rip), %rax     # 0x2c2c9
movq %rax, 0x1b9be(%rip)     # 0x37390
xorl %r12d, %r12d
movq %r12, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/srajangarg[P]raytracer/src/core/stb_image.hpp
// Function: stbi__hdr_to_ldr(float*, int, int, int)
static stbi_uc *stbi__hdr_to_ldr(float   *data, int x, int y, int comp)
{
   int i,k,n;
   stbi_uc *output = (stbi_uc *) stbi__malloc(x * y * comp);
   if (output == NULL) { STBI_FREE(data); return stbi__errpuc("outofmem", "Out of memory"); }
   // compute number of non-alpha components
   if (comp & 1) n = comp; else n = comp-1;
   for (i=0; i < x*y; ++i) {
      for (k=0; k < n; ++k) {
         float z = (float) pow(data[i*comp+k]*stbi__h2l_scale_i, stbi__h2l_gamma_i) * 255 + 0.5f;
         if (z < 0) z = 0;
         if (z > 255) z = 255;
         output[i*comp + k] = (stbi_uc) stbi__float2int(z);
      }
      if (k < comp) {
         float z = data[i*comp+k] * 255 + 0.5f;
         if (z < 0) z = 0;
         if (z > 255) z = 255;
         output[i*comp + k] = (stbi_uc) stbi__float2int(z);
      }
   }
   STBI_FREE(data);
   return output;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movl %esi, %ebp
movq %rdi, %rbx
imull %edx, %ebp
movl %ebp, %eax
movq %rcx, 0x18(%rsp)
imull %ecx, %eax
movslq %eax, %rdi
callq 0x43f0
movq %rax, 0x10(%rsp)
testq %rax, %rax
je 0x1c2ea
movq %rbx, 0x8(%rsp)
testl %ebp, %ebp
jle 0x1c2de
movq 0x18(%rsp), %rcx
movl %ecx, %eax
andl $0x1, %eax
leal (%rcx,%rax), %r12d
decl %r12d
movslq %ecx, %rsi
movl %ebp, %eax
movq %rax, 0x30(%rsp)
movl %r12d, %ebx
leaq (,%rsi,4), %rax
movq %rax, 0x28(%rsp)
xorl %r15d, %r15d
movss 0xf9c4(%rip), %xmm2     # 0x2bbd0
movss 0xf9c4(%rip), %xmm3     # 0x2bbd8
movq 0x10(%rsp), %rbp
movq 0x8(%rsp), %r14
movq %rsi, 0x20(%rsp)
movl $0x0, %eax
testl %r12d, %r12d
jle 0x1c28a
xorl %r13d, %r13d
movss (%r14,%r13,4), %xmm0
mulss 0x1b10e(%rip), %xmm0    # 0x3734c
movss 0x1b102(%rip), %xmm1    # 0x37348
callq 0x44d0
movss 0xf985(%rip), %xmm3     # 0x2bbd8
movss 0xf975(%rip), %xmm2     # 0x2bbd0
mulss %xmm2, %xmm0
addss %xmm3, %xmm0
xorps %xmm1, %xmm1
maxss %xmm0, %xmm1
movaps %xmm2, %xmm0
minss %xmm1, %xmm0
cvttss2si %xmm0, %eax
movb %al, (%rbp,%r13)
incq %r13
cmpq %r13, %rbx
jne 0x1c230
movl %r12d, %eax
movq 0x20(%rsp), %rsi
cmpl 0x18(%rsp), %eax
jge 0x1c2c8
movq %r15, %rcx
imulq %rsi, %rcx
movl %eax, %eax
addq %rcx, %rax
movq 0x8(%rsp), %rcx
movss (%rcx,%rax,4), %xmm0
mulss %xmm2, %xmm0
addss %xmm3, %xmm0
xorps %xmm1, %xmm1
maxss %xmm0, %xmm1
movaps %xmm2, %xmm0
minss %xmm1, %xmm0
cvttss2si %xmm0, %ecx
movq 0x10(%rsp), %rdx
movb %cl, (%rdx,%rax)
incq %r15
addq 0x28(%rsp), %r14
addq %rsi, %rbp
cmpq 0x30(%rsp), %r15
jne 0x1c223
movq 0x8(%rsp), %rdi
callq 0x4380
jmp 0x1c300
movq %rbx, %rdi
callq 0x4380
leaq 0xffd0(%rip), %rax      # 0x2c2c9
movq %rax, 0x1b090(%rip)     # 0x37390
movq 0x10(%rsp), %rax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/srajangarg[P]raytracer/src/core/stb_image.hpp
// Function: stbi__decode_jpeg_header(stbi__jpeg*, int)
static int stbi__decode_jpeg_header(stbi__jpeg *z, int scan)
{
   int m;
   z->marker = STBI__MARKER_none; // initialize cached marker to empty
   m = stbi__get_marker(z);
   if (!stbi__SOI(m)) return stbi__err("no SOI","Corrupt JPEG");
   if (scan == STBI__SCAN_type) return 1;
   m = stbi__get_marker(z);
   while (!stbi__SOF(m)) {
      if (!stbi__process_marker(z,m)) return 0;
      m = stbi__get_marker(z);
      while (m == STBI__MARKER_none) {
         // some files have extra padding after their blocks, so ok, we'll scan
         if (stbi__at_eof(z->s)) return stbi__err("no SOF", "Corrupt JPEG");
         m = stbi__get_marker(z);
      }
   }
   z->progressive = stbi__SOF_progressive(m);
   if (!stbi__process_frame_header(z, scan)) return 0;
   return 1;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %esi, %ebx
movq %rdi, %r14
movb $-0x1, 0x4728(%rdi)
callq 0x1d7c8
cmpb $-0x28, %al
jne 0x1d1df
movl $0x1, %ebp
cmpl $0x1, %ebx
je 0x1d1ef
movq %r14, %rdi
callq 0x1d7c8
movzbl %al, %esi
movl %esi, %ecx
andl $-0x2, %ecx
cmpl $0xc0, %ecx
sete %cl
cmpb $-0x3e, %sil
sete %dl
orb %cl, %dl
jne 0x1d1bd
xorl %ebp, %ebp
movq %r14, %rdi
callq 0x1d8e1
testl %eax, %eax
je 0x1d1ef
movq %r14, %rdi
callq 0x1d7c8
cmpb $-0x1, %al
jne 0x1d1a9
movq (%r14), %r15
cmpq $0x0, 0x10(%r15)
je 0x1d197
movq 0x28(%r15), %rdi
callq *0x20(%r15)
testl %eax, %eax
je 0x1d16e
cmpl $0x0, 0x30(%r15)
je 0x1d1fc
movq 0xb8(%r15), %rax
cmpq 0xc0(%r15), %rax
jb 0x1d16e
jmp 0x1d1fc
cmpb $-0x3e, %al
je 0x1d1bd
movzbl %al, %esi
movl %esi, %ecx
andl $-0x2, %ecx
cmpl $0xc0, %ecx
jne 0x1d15e
xorl %ecx, %ecx
cmpb $-0x3e, %al
sete %cl
movl %ecx, 0x4730(%r14)
movq %r14, %rdi
movl %ebx, %esi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x1de79
leaq 0xf00c(%rip), %rax      # 0x2c1f2
movq %rax, 0x1a1a3(%rip)     # 0x37390
xorl %ebp, %ebp
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
leaq 0xeff6(%rip), %rax      # 0x2c1f9
movq %rax, 0x1a186(%rip)     # 0x37390
jmp 0x1d1ef
// File: /workspace/github_cpp_makefile_star2_O3/srajangarg[P]raytracer/src/core/stb_image.hpp
// Function: stbi__YCbCr_to_RGB_row(unsigned char*, unsigned char const*, unsigned char const*, unsigned char const*, int, int)
static void stbi__YCbCr_to_RGB_row(stbi_uc *out, const stbi_uc *y, const stbi_uc *pcb, const stbi_uc *pcr, int count, int step)
{
   int i;
   for (i=0; i < count; ++i) {
      int y_fixed = (y[i] << 20) + (1<<19); // rounding
      int r,g,b;
      int cr = pcr[i] - 128;
      int cb = pcb[i] - 128;
      r = y_fixed +  cr* float2fixed(1.40200f);
      g = y_fixed + (cr*-float2fixed(0.71414f)) + ((cb*-float2fixed(0.34414f)) & 0xffff0000);
      b = y_fixed                               +   cb* float2fixed(1.77200f);
      r >>= 20;
      g >>= 20;
      b >>= 20;
      if ((unsigned) r > 255) { if (r < 0) r = 0; else r = 255; }
      if ((unsigned) g > 255) { if (g < 0) g = 0; else g = 255; }
      if ((unsigned) b > 255) { if (b < 0) b = 0; else b = 255; }
      out[0] = (stbi_uc)r;
      out[1] = (stbi_uc)g;
      out[2] = (stbi_uc)b;
      out[3] = 255;
      out += step;
   }
}

// Assembly:
testl %r8d, %r8d
jle 0x1d721
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movslq %r9d, %rax
movl %r8d, %r8d
addq $0x3, %rdi
xorl %r9d, %r9d
xorl %r10d, %r10d
movl $0xff, %ebp
movzbl (%rsi,%r10), %ebx
shll $0x14, %ebx
movzbl (%rcx,%r10), %r14d
addl $-0x80, %r14d
imull $0x166f00, %r14d, %r11d # imm = 0x166F00
addl %ebx, %r11d
addl $0x80000, %r11d         # imm = 0x80000
sarl $0x14, %r11d
testl %r11d, %r11d
cmovlel %r9d, %r11d
cmpl %ebp, %r11d
jl 0x1d697
movl $0xff, %r11d
movzbl (%rdx,%r10), %r15d
addl $-0x80, %r15d
imull $0xfff49300, %r14d, %r14d # imm = 0xFFF49300
leal (%r14,%rbx), %r12d
addl $0x80000, %r12d         # imm = 0x80000
imull $0xfffa7e00, %r15d, %r14d # imm = 0xFFFA7E00
andl $0xffff0000, %r14d      # imm = 0xFFFF0000
addl %r12d, %r14d
sarl $0x14, %r14d
testl %r14d, %r14d
jg 0x1d6cf
xorl %r14d, %r14d
cmpl %ebp, %r14d
jl 0x1d6da
movl $0xff, %r14d
imull $0x1c5a00, %r15d, %r15d # imm = 0x1C5A00
addl %r15d, %ebx
addl $0x80000, %ebx          # imm = 0x80000
sarl $0x14, %ebx
testl %ebx, %ebx
cmovlel %r9d, %ebx
cmpl %ebp, %ebx
jl 0x1d6fc
movl $0xff, %ebx
movb %r11b, -0x3(%rdi)
movb %r14b, -0x2(%rdi)
movb %bl, -0x1(%rdi)
movb $-0x1, (%rdi)
incq %r10
addq %rax, %rdi
cmpq %r10, %r8
jne 0x1d65f
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/srajangarg[P]raytracer/src/core/stb_image.hpp
// Function: stbi__resample_row_hv_2(unsigned char*, unsigned char*, unsigned char*, int, int)
static stbi_uc *stbi__resample_row_hv_2(stbi_uc *out, stbi_uc *in_near, stbi_uc *in_far, int w, int hs)
{
   // need to generate 2x2 samples for every one in input
   int i,t0,t1;
   if (w == 1) {
      out[0] = out[1] = stbi__div4(3*in_near[0] + in_far[0] + 2);
      return out;
   }

   t1 = 3*in_near[0] + in_far[0];
   out[0] = stbi__div4(t1+2);
   for (i=1; i < w; ++i) {
      t0 = t1;
      t1 = 3*in_near[i]+in_far[i];
      out[i*2-1] = stbi__div16(3*t0 + t1 + 8);
      out[i*2  ] = stbi__div16(3*t1 + t0 + 8);
   }
   out[w*2-1] = stbi__div4(t1+2);

   STBI_NOTUSED(hs);

   return out;
}

// Assembly:
movq %rdi, %rax
movzbl (%rsi), %edi
movzbl (%rdx), %r8d
cmpl $0x1, %ecx
jne 0x1d749
movzwl %di, %ecx
leal (%rcx,%rcx,2), %ecx
movzwl %r8w, %edx
addl %edx, %ecx
addl $0x2, %ecx
shrl $0x2, %ecx
movb %cl, 0x1(%rax)
movb %cl, (%rax)
retq
movzwl %di, %edi
leal (%rdi,%rdi,2), %edi
movzwl %r8w, %r8d
leal (%r8,%rdi), %r9d
addl $0x2, %r9d
shrl $0x2, %r9d
movb %r9b, (%rax)
cmpl $0x2, %ecx
jl 0x1d7bf
addl %r8d, %edi
movl %ecx, %r8d
movl $0x1, %r9d
movl %edi, %r10d
movzbl (%rsi,%r9), %edi
leal (%rdi,%rdi,2), %r11d
movzbl (%rdx,%r9), %edi
addl %r11d, %edi
leal (%r10,%r10,2), %r11d
addl %edi, %r11d
addl $0x8, %r11d
shrl $0x4, %r11d
movb %r11b, -0x1(%rax,%r9,2)
leal (%rdi,%rdi,2), %r11d
addl %r11d, %r10d
addl $0x8, %r10d
shrl $0x4, %r10d
movb %r10b, (%rax,%r9,2)
incq %r9
cmpq %r9, %r8
jne 0x1d773
addl $0x2, %edi
shrl $0x2, %edi
movl %edi, %r9d
movslq %ecx, %rcx
movb %r9b, -0x1(%rax,%rcx,2)
retq
// File: /workspace/github_cpp_makefile_star2_O3/srajangarg[P]raytracer/src/core/stb_image.hpp
// Function: stbi__get_marker(stbi__jpeg*)
static stbi_uc stbi__get_marker(stbi__jpeg *j)
{
   stbi_uc x;
   if (j->marker != STBI__MARKER_none) { x = j->marker; j->marker = STBI__MARKER_none; return x; }
   x = stbi__get8(j->s);
   if (x != 0xff) return STBI__MARKER_none;
   while (x == 0xff)
      x = stbi__get8(j->s);
   return x;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
movb 0x4728(%rdi), %al
cmpb $-0x1, %al
je 0x1d7e6
movb $-0x1, 0x4728(%rbx)
jmp 0x1d8db
movq (%rbx), %r15
movq 0xb8(%r15), %rax
cmpq 0xc0(%r15), %rax
jae 0x1d808
leaq 0x1(%rax), %rcx
movq %rcx, 0xb8(%r15)
movb (%rax), %cl
jmp 0x1d85c
cmpl $0x0, 0x30(%r15)
je 0x1d830
movq 0x28(%r15), %rdi
leaq 0x38(%r15), %r14
movl 0x34(%r15), %edx
movq %r14, %rsi
callq *0x10(%r15)
testl %eax, %eax
je 0x1d837
cltq
addq %r14, %rax
movb (%r14), %cl
jmp 0x1d84a
movb $-0x1, %al
jmp 0x1d8db
movl $0x0, 0x30(%r15)
leaq 0x39(%r15), %rax
movb $0x0, 0x38(%r15)
xorl %ecx, %ecx
movq %rax, 0xc0(%r15)
leaq 0x39(%r15), %rax
movq %rax, 0xb8(%r15)
movb $-0x1, %al
cmpb $-0x1, %cl
jne 0x1d8db
movq (%rbx), %r15
movq 0xb8(%r15), %rax
cmpq 0xc0(%r15), %rax
jae 0x1d885
leaq 0x1(%rax), %rcx
movq %rcx, 0xb8(%r15)
movb (%rax), %al
jmp 0x1d8d3
cmpl $0x0, 0x30(%r15)
je 0x1d8d9
movq 0x28(%r15), %rdi
leaq 0x38(%r15), %r14
movl 0x34(%r15), %edx
movq %r14, %rsi
callq *0x10(%r15)
testl %eax, %eax
je 0x1d8ae
movslq %eax, %rcx
addq %r14, %rcx
movb (%r14), %al
jmp 0x1d8c1
movl $0x0, 0x30(%r15)
leaq 0x39(%r15), %rcx
movb $0x0, 0x38(%r15)
xorl %eax, %eax
movq %rcx, 0xc0(%r15)
leaq 0x39(%r15), %rcx
movq %rcx, 0xb8(%r15)
cmpb $-0x1, %al
je 0x1d863
jmp 0x1d8db
xorl %eax, %eax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/srajangarg[P]raytracer/src/core/stb_image.hpp
// Function: stbi__get8(stbi__context*)
stbi_inline static stbi_uc stbi__get8(stbi__context *s)
{
   if (s->img_buffer < s->img_buffer_end)
      return *s->img_buffer++;
   if (s->read_from_callbacks) {
      stbi__refill_buffer(s);
      return *s->img_buffer++;
   }
   return 0;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0xb8(%rdi), %rax
cmpq 0xc0(%rdi), %rax
jae 0x1e4c2
leaq 0x1(%rax), %rcx
movq %rcx, 0xb8(%rbx)
movb (%rax), %al
jmp 0x1e50f
cmpl $0x0, 0x30(%rbx)
je 0x1e4e8
movq 0x28(%rbx), %rdi
leaq 0x38(%rbx), %r14
movl 0x34(%rbx), %edx
movq %r14, %rsi
callq *0x10(%rbx)
testl %eax, %eax
je 0x1e4ec
movslq %eax, %rcx
addq %r14, %rcx
movb (%r14), %al
jmp 0x1e4fd
xorl %eax, %eax
jmp 0x1e50f
movl $0x0, 0x30(%rbx)
leaq 0x39(%rbx), %rcx
movb $0x0, 0x38(%rbx)
xorl %eax, %eax
movq %rcx, 0xc0(%rbx)
leaq 0x39(%rbx), %rcx
movq %rcx, 0xb8(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O3/srajangarg[P]raytracer/src/core/stb_image.hpp
// Function: stbi__build_huffman(stbi__huffman*, int*)
static int stbi__build_huffman(stbi__huffman *h, int *count)
{
   int i,j,k=0,code;
   // build size list for each symbol (from JPEG spec)
   for (i=0; i < 16; ++i)
      for (j=0; j < count[i]; ++j)
         h->size[k++] = (stbi_uc) (i+1);
   h->size[k] = 0;

   // compute actual symbols (from jpeg spec)
   code = 0;
   k = 0;
   for(j=1; j <= 16; ++j) {
      // compute delta to add to code to compute symbol id
      h->delta[j] = k - code;
      if (h->size[k] == j) {
         while (h->size[k] == j)
            h->code[k++] = (stbi__uint16) (code++);
         if (code-1 >= (1 << j)) return stbi__err("bad code lengths","Corrupt JPEG");
      }
      // compute largest code + 1 for this size, preshifted as needed later
      h->maxcode[j] = code << (16-j);
      code <<= 1;
   }
   h->maxcode[j] = 0xffffffff;

   // build non-spec acceleration table; 255 is flag for not-accelerated
   memset(h->fast, 255, 1 << FAST_BITS);
   for (i=0; i < k; ++i) {
      int s = h->size[i];
      if (s <= FAST_BITS) {
         int c = h->code[i] << (FAST_BITS-s);
         int m = 1 << (FAST_BITS-s);
         for (j=0; j < m; ++j) {
            h->fast[c+j] = (stbi_uc) i;
         }
      }
   }
   return 1;
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x500(%rdi), %rax
xorl %ecx, %ecx
xorl %edx, %edx
cmpl $0x0, (%rsi,%rcx,4)
jle 0x1e635
leal 0x1(%rcx), %edi
movslq %edx, %r8
addq %rax, %r8
xorl %r9d, %r9d
movb %dil, (%r8,%r9)
incq %r9
cmpl (%rsi,%rcx,4), %r9d
jl 0x1e625
addl %r9d, %edx
incq %rcx
cmpq $0x10, %rcx
jne 0x1e613
movslq %edx, %rax
movb $0x0, 0x500(%rbx,%rax)
leaq 0x200(%rbx), %rdx
leaq 0x501(%rbx), %rsi
xorl %edi, %edi
movl $0x1, %eax
xorl %ebp, %ebp
movl %ebp, %ecx
subl %edi, %ecx
movl %ecx, 0x64c(%rbx,%rax,4)
movslq %ebp, %rcx
movzbl 0x500(%rbx,%rcx), %r8d
cmpq %r8, %rax
jne 0x1e6b2
leaq (%rdx,%rcx,2), %r8
addq %rsi, %rcx
movw %di, (%r8)
incl %edi
movzbl (%rcx), %r9d
addq $0x2, %r8
incl %ebp
incq %rcx
cmpq %r9, %rax
je 0x1e683
movl $0x1, %r8d
movl %eax, %ecx
shll %cl, %r8d
leal -0x1(%rdi), %ecx
cmpl %r8d, %ecx
jge 0x1e73c
movb $0x10, %cl
subb %al, %cl
movl %edi, %r8d
shll %cl, %r8d
movl %r8d, 0x604(%rbx,%rax,4)
addl %edi, %edi
incq %rax
cmpq $0x11, %rax
jne 0x1e660
movl $0xffffffff, 0x648(%rbx) # imm = 0xFFFFFFFF
movl $0x200, %edx            # imm = 0x200
movq %rbx, %rdi
movl $0xff, %esi
callq 0x41c0
movl $0x1, %eax
testl %ebp, %ebp
jle 0x1e74c
movl %ebp, %edx
xorl %esi, %esi
movzbl 0x500(%rbx,%rsi), %r8d
cmpq $0x9, %r8
ja 0x1e732
movzwl 0x200(%rbx,%rsi,2), %edi
movl $0x9, %ecx
subq %r8, %rcx
shlq %cl, %rdi
addq %rbx, %rdi
xorl %r8d, %r8d
movb %sil, (%rdi,%r8)
incq %r8
movl %r8d, %r9d
shrl %cl, %r9d
testl %r9d, %r9d
je 0x1e720
incq %rsi
cmpq %rdx, %rsi
jne 0x1e6f8
jmp 0x1e74c
leaq 0xdb03(%rip), %rax      # 0x2c246
movq %rax, 0x18c46(%rip)     # 0x37390
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/srajangarg[P]raytracer/src/core/stb_image.hpp
// Function: stbi__skip(stbi__context*, int)
static void stbi__skip(stbi__context *s, int n)
{
   if (n < 0) {
      s->img_buffer = s->img_buffer_end;
      return;
   }
   if (s->io.read) {
      int blen = (int) (s->img_buffer_end - s->img_buffer);
      if (blen < n) {
         s->img_buffer = s->img_buffer_end;
         (s->io.skip)(s->io_user_data, n - blen);
         return;
      }
   }
   s->img_buffer += n;
}

// Assembly:
testl %esi, %esi
js 0x1e78c
cmpq $0x0, 0x10(%rdi)
je 0x1e795
movq 0xb8(%rdi), %rcx
movq 0xc0(%rdi), %rdx
movl %edx, %r8d
subl %ecx, %r8d
movl %esi, %eax
subl %r8d, %eax
jle 0x1e79c
movq %rdx, 0xb8(%rdi)
movq 0x18(%rdi), %rcx
movq 0x28(%rdi), %rdi
movl %eax, %esi
jmpq *%rcx
movq 0xc0(%rdi), %rax
jmp 0x1e7a1
movq 0xb8(%rdi), %rcx
movl %esi, %eax
addq %rcx, %rax
movq %rax, 0xb8(%rdi)
retq
// File: /workspace/github_cpp_makefile_star2_O3/srajangarg[P]raytracer/src/core/stb_image.hpp
// Function: stbi__cleanup_jpeg(stbi__jpeg*)
static void stbi__cleanup_jpeg(stbi__jpeg *j)
{
   int i;
   for (i=0; i < j->s->img_n; ++i) {
      if (j->img_comp[i].raw_data) {
         STBI_FREE(j->img_comp[i].raw_data);
         j->img_comp[i].raw_data = NULL;
         j->img_comp[i].data = NULL;
      }
      if (j->img_comp[i].raw_coeff) {
         STBI_FREE(j->img_comp[i].raw_coeff);
         j->img_comp[i].raw_coeff = 0;
         j->img_comp[i].coeff = 0;
      }
      if (j->img_comp[i].linebuf) {
         STBI_FREE(j->img_comp[i].linebuf);
         j->img_comp[i].linebuf = NULL;
      }
   }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq (%rdi), %rax
cmpl $0x0, 0x8(%rax)
jle 0x1e81e
movq %rdi, %rbx
leaq 0x45f0(%rdi), %r14
xorl %r15d, %r15d
xorl %r12d, %r12d
movq -0x18(%r14), %rdi
testq %rdi, %rdi
je 0x1e7e0
callq 0x4380
xorps %xmm0, %xmm0
movups %xmm0, -0x20(%r14)
movq -0x10(%r14), %rdi
testq %rdi, %rdi
je 0x1e7f5
callq 0x4380
movq %r15, -0x10(%r14)
movq %r15, (%r14)
movq -0x8(%r14), %rdi
testq %rdi, %rdi
je 0x1e80b
callq 0x4380
movq $0x0, -0x8(%r14)
incq %r12
movq (%rbx), %rax
movslq 0x8(%rax), %rax
addq $0x60, %r14
cmpq %rax, %r12
jl 0x1e7ca
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/srajangarg[P]raytracer/src/core/stb_image.hpp
// Function: stbi__resample_row_v_2(unsigned char*, unsigned char*, unsigned char*, int, int)
static stbi_uc* stbi__resample_row_v_2(stbi_uc *out, stbi_uc *in_near, stbi_uc *in_far, int w, int hs)
{
   // need to generate two samples vertically for every one in input
   int i;
   STBI_NOTUSED(hs);
   for (i=0; i < w; ++i)
      out[i] = stbi__div4(3*in_near[i] + in_far[i] + 2);
   return out;
}

// Assembly:
movq %rdi, %rax
testl %ecx, %ecx
jle 0x1e85e
movl %ecx, %ecx
xorl %edi, %edi
movzbl (%rsi,%rdi), %r8d
leal (%r8,%r8,2), %r8d
movzbl (%rdx,%rdi), %r9d
addl %r9d, %r8d
addl $0x2, %r8d
shrl $0x2, %r8d
movb %r8b, (%rax,%rdi)
incq %rdi
cmpq %rdi, %rcx
jne 0x1e839
retq
// File: /workspace/github_cpp_makefile_star2_O3/srajangarg[P]raytracer/src/core/stb_image.hpp
// Function: stbi__resample_row_h_2(unsigned char*, unsigned char*, unsigned char*, int, int)
static stbi_uc*  stbi__resample_row_h_2(stbi_uc *out, stbi_uc *in_near, stbi_uc *in_far, int w, int hs)
{
   // need to generate two samples horizontally for every one in input
   int i;
   stbi_uc *input = in_near;

   if (w == 1) {
      // if only one sample, can't do any interpolation
      out[0] = out[1] = input[0];
      return out;
   }

   out[0] = input[0];
   out[1] = stbi__div4(input[0]*3 + input[1] + 2);
   for (i=1; i < w-1; ++i) {
      int n = 3*input[i]+2;
      out[i*2+0] = stbi__div4(n+input[i-1]);
      out[i*2+1] = stbi__div4(n+input[i+1]);
   }
   out[i*2+0] = stbi__div4(input[w-2]*3 + input[w-1] + 2);
   out[i*2+1] = input[w-1];

   STBI_NOTUSED(in_far);
   STBI_NOTUSED(hs);

   return out;
}

// Assembly:
movq %rdi, %rax
movb (%rsi), %dl
cmpl $0x1, %ecx
jne 0x1e86f
movb %dl, 0x1(%rax)
movb %dl, (%rax)
retq
movzbl %dl, %edx
movb %dl, (%rax)
movzwl %dx, %edx
leal (%rdx,%rdx,2), %edx
movzbl 0x1(%rsi), %edi
addl %edi, %edx
addl $0x2, %edx
shrl $0x2, %edx
movb %dl, 0x1(%rax)
leal -0x1(%rcx), %edx
movl $0x2, %edi
cmpl $0x3, %ecx
jl 0x1e8de
movl %edx, %edi
decq %rdi
xorl %r8d, %r8d
movzbl 0x1(%rsi,%r8), %r9d
leal (%r9,%r9,2), %r9d
movzbl (%rsi,%r8), %r10d
addl %r9d, %r10d
addl $0x2, %r10d
shrl $0x2, %r10d
movb %r10b, 0x2(%rax,%r8,2)
movzbl 0x2(%rsi,%r8), %r10d
addl %r10d, %r9d
addl $0x2, %r9d
shrl $0x2, %r9d
movb %r9b, 0x3(%rax,%r8,2)
incq %r8
cmpq %r8, %rdi
jne 0x1e89e
leal (%rdx,%rdx), %edi
movslq %ecx, %rcx
movzbl -0x2(%rsi,%rcx), %ecx
leal (%rcx,%rcx,2), %ecx
movslq %edx, %rdx
movzbl (%rsi,%rdx), %r8d
addl %r8d, %ecx
addl $0x2, %ecx
shrl $0x2, %ecx
movl %edi, %edi
movb %cl, (%rax,%rdi)
movb (%rsi,%rdx), %cl
movb %cl, 0x1(%rax,%rdi)
retq
// File: /workspace/github_cpp_makefile_star2_O3/srajangarg[P]raytracer/src/core/stb_image.hpp
// Function: stbi__grow_buffer_unsafe(stbi__jpeg*)
static void stbi__grow_buffer_unsafe(stbi__jpeg *j)
{
   do {
      int b = j->nomore ? 0 : stbi__get8(j->s);
      if (b == 0xff) {
         int c = stbi__get8(j->s);
         if (c != 0) {
            j->marker = (unsigned char) c;
            j->nomore = 1;
            return;
         }
      }
      j->code_buffer |= b << (24 - j->code_bits);
      j->code_bits += 8;
   } while (j->code_bits <= 24);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
xorl %eax, %eax
cmpl $0x0, 0x472c(%rbx)
jne 0x1f3ee
movq (%rbx), %r15
movq 0xb8(%r15), %rcx
cmpq 0xc0(%r15), %rcx
jae 0x1f314
leaq 0x1(%rcx), %rax
movq %rax, 0xb8(%r15)
movb (%rcx), %al
jmp 0x1f366
cmpl $0x0, 0x30(%r15)
je 0x1f3ee
movq 0x28(%r15), %rdi
leaq 0x38(%r15), %r14
movl 0x34(%r15), %edx
movq %r14, %rsi
callq *0x10(%r15)
testl %eax, %eax
je 0x1f341
movslq %eax, %rcx
addq %r14, %rcx
movb (%r14), %al
jmp 0x1f354
movl $0x0, 0x30(%r15)
leaq 0x39(%r15), %rcx
movb $0x0, 0x38(%r15)
xorl %eax, %eax
movq %rcx, 0xc0(%r15)
leaq 0x39(%r15), %rcx
movq %rcx, 0xb8(%r15)
cmpb $-0x1, %al
je 0x1f36f
movzbl %al, %eax
jmp 0x1f3ee
movq (%rbx), %r15
movq 0xb8(%r15), %rax
cmpq 0xc0(%r15), %rax
jae 0x1f391
leaq 0x1(%rax), %rcx
movq %rcx, 0xb8(%r15)
movb (%rax), %cl
jmp 0x1f3e5
cmpl $0x0, 0x30(%r15)
je 0x1f3b9
movq 0x28(%r15), %rdi
leaq 0x38(%r15), %r14
movl 0x34(%r15), %edx
movq %r14, %rsi
callq *0x10(%r15)
testl %eax, %eax
je 0x1f3c0
cltq
addq %r14, %rax
movb (%r14), %cl
jmp 0x1f3d3
movl $0xff, %eax
jmp 0x1f3ee
movl $0x0, 0x30(%r15)
leaq 0x39(%r15), %rax
movb $0x0, 0x38(%r15)
xorl %ecx, %ecx
movq %rax, 0xc0(%r15)
leaq 0x39(%r15), %rax
movq %rax, 0xb8(%r15)
movl $0xff, %eax
testb %cl, %cl
jne 0x1f418
movl 0x4724(%rbx), %edx
movb $0x18, %cl
subb %dl, %cl
shll %cl, %eax
orl %eax, 0x4720(%rbx)
leal 0x8(%rdx), %eax
movl %eax, 0x4724(%rbx)
cmpl $0x11, %edx
jl 0x1f2e3
popq %rbx
popq %r14
popq %r15
retq
movb %cl, 0x4728(%rbx)
movl $0x1, 0x472c(%rbx)
jmp 0x1f412
// File: /workspace/github_cpp_makefile_star2_O3/srajangarg[P]raytracer/src/core/stb_image.hpp
// Function: stbi__check_png_header(stbi__context*)
static int stbi__check_png_header(stbi__context *s)
{
   static stbi_uc png_sig[8] = { 137,80,78,71,13,10,26,10 };
   int i;
   for (i=0; i < 8; ++i)
      if (stbi__get8(s) != png_sig[i]) return stbi__err("bad png sig","Not a PNG");
   return 1;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdi, %rbx
leaq 0x38(%rdi), %r14
leaq 0x39(%rdi), %r15
movq 0xb8(%rdi), %rcx
movq 0xc0(%rdi), %rax
xorl %r12d, %r12d
leaq 0xd3d2(%rip), %r13      # 0x2cada
cmpq %rax, %rcx
jae 0x1f71f
leaq 0x1(%rcx), %rsi
movq %rsi, 0xb8(%rbx)
movb (%rcx), %dl
movq %rsi, %rcx
jmp 0x1f765
cmpl $0x0, 0x30(%rbx)
je 0x1f740
movq 0x28(%rbx), %rdi
movl 0x34(%rbx), %edx
movq %r14, %rsi
callq *0x10(%rbx)
testl %eax, %eax
je 0x1f744
cltq
addq %r14, %rax
movb (%r14), %dl
jmp 0x1f754
xorl %edx, %edx
jmp 0x1f765
movl $0x0, 0x30(%rbx)
movb $0x0, 0x38(%rbx)
xorl %edx, %edx
movq %r15, %rax
movq %rax, 0xc0(%rbx)
movq %r15, 0xb8(%rbx)
movq %r15, %rcx
cmpb (%r12,%r13), %dl
jne 0x1f77b
incq %r12
cmpq $0x8, %r12
jne 0x1f708
movl $0x1, %eax
jmp 0x1f78b
leaq 0xcce9(%rip), %rax      # 0x2c46b
movq %rax, 0x17c07(%rip)     # 0x37390
xorl %eax, %eax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/srajangarg[P]raytracer/src/core/stb_image.hpp
// Function: stbi__getn(stbi__context*, unsigned char*, int)
static int stbi__getn(stbi__context *s, stbi_uc *buffer, int n)
{
   if (s->io.read) {
      int blen = (int) (s->img_buffer_end - s->img_buffer);
      if (blen < n) {
         int res, count;

         memcpy(buffer, s->img_buffer, blen);

         count = (s->io.read)(s->io_user_data, (char*) buffer + blen, n - blen);
         res = (count == (n-blen));
         s->img_buffer = s->img_buffer_end;
         return res;
      }
   }

   if (s->img_buffer+n <= s->img_buffer_end) {
      memcpy(buffer, s->img_buffer, n);
      s->img_buffer += n;
      return 1;
   } else
      return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
cmpq $0x0, 0x10(%rdi)
je 0x20aaa
movq 0xb8(%rbx), %rsi
movq 0xc0(%rbx), %rcx
movq %rcx, %rax
subq %rsi, %rax
movl %edx, %ebp
subl %eax, %ebp
jle 0x20ab8
movslq %eax, %r15
movq %r14, %rdi
movq %r15, %rdx
callq 0x4290
movq 0x28(%rbx), %rdi
addq %r15, %r14
movq %r14, %rsi
movl %ebp, %edx
callq *0x10(%rbx)
movl %eax, %ecx
xorl %eax, %eax
cmpl %ebp, %ecx
sete %al
movq 0xc0(%rbx), %rcx
movq %rcx, 0xb8(%rbx)
jmp 0x20add
movq 0xb8(%rbx), %rsi
movq 0xc0(%rbx), %rcx
movslq %edx, %r15
leaq (%rsi,%r15), %rdx
xorl %eax, %eax
cmpq %rcx, %rdx
ja 0x20add
movq %r14, %rdi
movq %r15, %rdx
callq 0x4290
addq %r15, 0xb8(%rbx)
movl $0x1, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/srajangarg[P]raytracer/src/core/stb_image.hpp
// Function: stbi__de_iphone(stbi__png*)
static void stbi__de_iphone(stbi__png *z)
{
   stbi__context *s = z->s;
   stbi__uint32 i, pixel_count = s->img_x * s->img_y;
   stbi_uc *p = z->out;

   if (s->img_out_n == 3) {  // convert bgr to rgb
      for (i=0; i < pixel_count; ++i) {
         stbi_uc t = p[0];
         p[0] = p[2];
         p[2] = t;
         p += 3;
      }
   } else {
      STBI_ASSERT(s->img_out_n == 4);
      if (stbi__unpremultiply_on_load) {
         // convert bgr to rgb and unpremultiply
         for (i=0; i < pixel_count; ++i) {
            stbi_uc a = p[3];
            stbi_uc t = p[0];
            if (a) {
               p[0] = p[2] * 255 / a;
               p[1] = p[1] * 255 / a;
               p[2] =  t   * 255 / a;
            } else {
               p[0] = p[2];
               p[2] = t;
            }
            p += 4;
         }
      } else {
         // convert bgr to rgb
         for (i=0; i < pixel_count; ++i) {
            stbi_uc t = p[0];
            p[0] = p[2];
            p[2] = t;
            p += 4;
         }
      }
   }
}

// Assembly:
pushq %rax
movl 0x4(%rdi), %eax
movl 0xc(%rdi), %ecx
imull (%rdi), %eax
cmpl $0x4, %ecx
je 0x20b1f
cmpl $0x3, %ecx
jne 0x20bbb
testl %eax, %eax
je 0x20bb9
movb (%rsi), %cl
movb 0x2(%rsi), %dl
movb %dl, (%rsi)
movb %cl, 0x2(%rsi)
addq $0x3, %rsi
decl %eax
jne 0x20b08
jmp 0x20bb9
cmpl $0x0, 0x16876(%rip)     # 0x3739c
je 0x20b9a
testl %eax, %eax
je 0x20bb9
movl %eax, %ecx
xorl %edi, %edi
movzbl 0x3(%rsi,%rdi,4), %r8d
movb (%rsi,%rdi,4), %al
movb 0x2(%rsi,%rdi,4), %dl
testw %r8w, %r8w
je 0x20b8a
movzbl %al, %r9d
movzbl %dl, %eax
movzwl %ax, %edx
movl %edx, %eax
shll $0x8, %eax
subl %edx, %eax
xorl %edx, %edx
divw %r8w
movb %al, (%rsi,%rdi,4)
movzbl 0x1(%rsi,%rdi,4), %edx
movl %edx, %eax
shll $0x8, %eax
subl %edx, %eax
xorl %edx, %edx
divw %r8w
movb %al, 0x1(%rsi,%rdi,4)
movzwl %r9w, %edx
movl %edx, %eax
shll $0x8, %eax
subl %edx, %eax
xorl %edx, %edx
divw %r8w
jmp 0x20b8d
movb %dl, (%rsi,%rdi,4)
movb %al, 0x2(%rsi,%rdi,4)
incq %rdi
cmpl %edi, %ecx
jne 0x20b34
jmp 0x20bb9
testl %eax, %eax
je 0x20bb9
movl %eax, %eax
xorl %ecx, %ecx
movb (%rsi,%rcx,4), %dl
movb 0x2(%rsi,%rcx,4), %dil
movb %dil, (%rsi,%rcx,4)
movb %dl, 0x2(%rsi,%rcx,4)
incq %rcx
cmpl %ecx, %eax
jne 0x20ba2
popq %rax
retq
leaq 0xbae4(%rip), %rdi      # 0x2c6a6
leaq 0xb7d0(%rip), %rsi      # 0x2c399
leaq 0xbae8(%rip), %rcx      # 0x2c6b8
movl $0x10c1, %edx           # imm = 0x10C1
callq 0x41f0
// File: /workspace/github_cpp_makefile_star2_O3/srajangarg[P]raytracer/src/core/stb_image.hpp
// Function: stbi__fill_gif_background(stbi__gif*, int, int, int, int)
static void stbi__fill_gif_background(stbi__gif *g, int x0, int y0, int x1, int y1)
{
   int x, y;
   stbi_uc *c = g->pal[g->bgindex];
   for (y = y0; y < y1; y += 4 * g->w) {
      for (x = x0; x < x1; x += 4) {
         stbi_uc *p  = &g->out[y + x];
         p[0] = c[2];
         p[1] = c[1];
         p[2] = c[0];
         p[3] = 0;
      }
   }
}

// Assembly:
cmpl %r8d, %edx
jge 0x2213e
pushq %rbp
pushq %r14
pushq %rbx
movslq 0x1c(%rdi), %rax
movslq %esi, %r9
movslq %ecx, %r10
cmpl %ecx, %esi
jge 0x2212e
movslq %edx, %r11
addq $0x3, %r11
movq %r9, %rbx
movq 0x8(%rdi), %r14
addq %r11, %r14
movb 0x32(%rdi,%rax,4), %bpl
movb %bpl, -0x3(%rbx,%r14)
movb 0x31(%rdi,%rax,4), %bpl
movb %bpl, -0x2(%rbx,%r14)
movb 0x30(%rdi,%rax,4), %bpl
movb %bpl, -0x1(%rbx,%r14)
movb $0x0, (%rbx,%r14)
addq $0x4, %rbx
cmpq %r10, %rbx
jl 0x220fb
movl (%rdi), %r11d
leal (%rdx,%r11,4), %edx
cmpl %r8d, %edx
jl 0x220ed
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/srajangarg[P]raytracer/src/core/stb_image.hpp
// Function: stbi__gif_parse_colortable(stbi__context*, unsigned char (*) [4], int, int)
static void stbi__gif_parse_colortable(stbi__context *s, stbi_uc pal[256][4], int num_entries, int transp)
{
   int i;
   for (i=0; i < num_entries; ++i) {
      pal[i][2] = stbi__get8(s);
      pal[i][1] = stbi__get8(s);
      pal[i][0] = stbi__get8(s);
      pal[i][3] = transp == i ? 0 : 255;
   }
}

// Assembly:
testl %edx, %edx
jle 0x222d9
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x38(%rdi), %r15
leaq 0x39(%rdi), %r12
movl %ecx, %eax
movq %rax, (%rsp)
movl %edx, %ebp
xorl %r13d, %r13d
movq 0xb8(%r14), %rax
cmpq 0xc0(%r14), %rax
jae 0x2218a
leaq 0x1(%rax), %rcx
movq %rcx, 0xb8(%r14)
movb (%rax), %al
jmp 0x221d3
cmpl $0x0, 0x30(%r14)
je 0x221af
movq 0x28(%r14), %rdi
movl 0x34(%r14), %edx
movq %r15, %rsi
callq *0x10(%r14)
testl %eax, %eax
je 0x221b3
movslq %eax, %rcx
addq %r15, %rcx
movb (%r15), %al
jmp 0x221c5
xorl %eax, %eax
jmp 0x221d3
movl $0x0, 0x30(%r14)
movb $0x0, 0x38(%r14)
xorl %eax, %eax
movq %r12, %rcx
movq %rcx, 0xc0(%r14)
movq %r12, 0xb8(%r14)
movb %al, 0x2(%rbx,%r13,4)
movq 0xb8(%r14), %rax
cmpq 0xc0(%r14), %rax
jae 0x221f7
leaq 0x1(%rax), %rcx
movq %rcx, 0xb8(%r14)
movb (%rax), %al
jmp 0x22240
cmpl $0x0, 0x30(%r14)
je 0x2221c
movq 0x28(%r14), %rdi
movl 0x34(%r14), %edx
movq %r15, %rsi
callq *0x10(%r14)
testl %eax, %eax
je 0x22220
movslq %eax, %rcx
addq %r15, %rcx
movb (%r15), %al
jmp 0x22232
xorl %eax, %eax
jmp 0x22240
movl $0x0, 0x30(%r14)
movb $0x0, 0x38(%r14)
xorl %eax, %eax
movq %r12, %rcx
movq %rcx, 0xc0(%r14)
movq %r12, 0xb8(%r14)
movb %al, 0x1(%rbx,%r13,4)
movq 0xb8(%r14), %rax
cmpq 0xc0(%r14), %rax
jae 0x22264
leaq 0x1(%rax), %rcx
movq %rcx, 0xb8(%r14)
movb (%rax), %al
jmp 0x222ad
cmpl $0x0, 0x30(%r14)
je 0x22289
movq 0x28(%r14), %rdi
movl 0x34(%r14), %edx
movq %r15, %rsi
callq *0x10(%r14)
testl %eax, %eax
je 0x2228d
movslq %eax, %rcx
addq %r15, %rcx
movb (%r15), %al
jmp 0x2229f
xorl %eax, %eax
jmp 0x222ad
movl $0x0, 0x30(%r14)
movb $0x0, 0x38(%r14)
xorl %eax, %eax
movq %r12, %rcx
movq %rcx, 0xc0(%r14)
movq %r12, 0xb8(%r14)
movb %al, (%rbx,%r13,4)
cmpq %r13, (%rsp)
setne %al
negb %al
movb %al, 0x3(%rbx,%r13,4)
incq %r13
cmpq %r13, %rbp
jne 0x2216b
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/srajangarg[P]raytracer/src/core/stb_image.hpp
// Function: stbi__out_gif_code(stbi__gif*, unsigned short)
static void stbi__out_gif_code(stbi__gif *g, stbi__uint16 code)
{
   stbi_uc *p, *c;

   // recurse to decode the prefixes, since the linked-list is backwards,
   // and working backwards through an interleaved image would be nasty
   if (g->codes[code].prefix >= 0)
      stbi__out_gif_code(g, g->codes[code].prefix);

   if (g->cur_y >= g->max_y) return;

   p = &g->out[g->cur_x + g->cur_y];
   c = &g->color_table[g->codes[code].suffix * 4];

   if (c[3] >= 128) {
      p[0] = c[2];
      p[1] = c[1];
      p[2] = c[0];
      p[3] = c[3];
   }
   g->cur_x += 4;

   if (g->cur_x >= g->max_x) {
      g->cur_x = g->start_x;
      g->cur_y += g->step;

      while (g->cur_y >= g->max_y && g->parse > 0) {
         g->step = (1 << g->parse) * g->line_size;
         g->cur_y = g->start_y + (g->step >> 1);
         --g->parse;
      }
   }
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movl %esi, %r14d
movzwl 0x830(%rdi,%r14,4), %eax
testw %ax, %ax
js 0x222fd
movzwl %ax, %esi
movq %rbx, %rdi
callq 0x222da
movslq 0x4858(%rbx), %rcx
cmpl 0x4850(%rbx), %ecx
jge 0x223c4
movq 0x4830(%rbx), %rax
movzbl 0x833(%rbx,%r14,4), %edx
cmpb $0x0, 0x3(%rax,%rdx,4)
jns 0x22353
movq 0x8(%rbx), %rsi
movslq 0x4854(%rbx), %rdi
addq %rcx, %rdi
movb 0x2(%rax,%rdx,4), %cl
movb %cl, (%rsi,%rdi)
movb 0x1(%rax,%rdx,4), %cl
movb %cl, 0x1(%rsi,%rdi)
movb (%rax,%rdx,4), %cl
movb %cl, 0x2(%rsi,%rdi)
movb 0x3(%rax,%rdx,4), %al
movb %al, 0x3(%rsi,%rdi)
movl 0x4854(%rbx), %eax
addl $0x4, %eax
movl %eax, 0x4854(%rbx)
cmpl 0x484c(%rbx), %eax
jl 0x223c4
movl 0x4844(%rbx), %ecx
movl 0x4850(%rbx), %eax
movl %ecx, 0x4854(%rbx)
movl 0x4858(%rbx), %ecx
addl 0x483c(%rbx), %ecx
movl %ecx, 0x4858(%rbx)
cmpl %eax, %ecx
jl 0x223c4
movl 0x4838(%rbx), %ecx
testl %ecx, %ecx
jle 0x223c4
movl 0x485c(%rbx), %edx
shll %cl, %edx
movl %edx, 0x483c(%rbx)
sarl %edx
addl 0x4848(%rbx), %edx
movl %edx, 0x4858(%rbx)
decl %ecx
movl %ecx, 0x4838(%rbx)
cmpl %eax, %edx
jge 0x22398
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O3/srajangarg[P]raytracer/src/core/stb_image.hpp
// Function: stbi__pic_is4(stbi__context*, char const*)
static int stbi__pic_is4(stbi__context *s,const char *str)
{
   int i;
   for (i=0; i<4; ++i)
      if (stbi__get8(s) != (stbi_uc)str[i])
         return 0;

   return 1;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x38(%rdi), %r15
leaq 0x39(%rdi), %r12
movq 0xb8(%rdi), %rcx
movq 0xc0(%rdi), %rax
xorl %r13d, %r13d
cmpq %rax, %rcx
jae 0x2240b
leaq 0x1(%rcx), %rsi
movq %rsi, 0xb8(%r14)
movb (%rcx), %dl
movq %rsi, %rcx
jmp 0x22456
cmpl $0x0, 0x30(%r14)
je 0x2242f
movq 0x28(%r14), %rdi
movl 0x34(%r14), %edx
movq %r15, %rsi
callq *0x10(%r14)
testl %eax, %eax
je 0x22433
cltq
addq %r15, %rax
movb (%r15), %dl
jmp 0x22445
xorl %edx, %edx
jmp 0x22456
movl $0x0, 0x30(%r14)
movb $0x0, 0x38(%r14)
xorl %edx, %edx
movq %r12, %rax
movq %rax, 0xc0(%r14)
movq %r12, 0xb8(%r14)
movq %r12, %rcx
cmpb (%rbx,%r13), %dl
jne 0x2246c
incq %r13
cmpq $0x4, %r13
jne 0x223f4
movl $0x1, %eax
jmp 0x2246e
xorl %eax, %eax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/srajangarg[P]raytracer/src/core/stb_image.hpp
// Function: stbi__readval(stbi__context*, int, unsigned char*)
static stbi_uc *stbi__readval(stbi__context *s, int channel, stbi_uc *dest)
{
   int mask=0x80, i;

   for (i=0; i<4; ++i, mask>>=1) {
      if (channel & mask) {
         if (stbi__at_eof(s)) return stbi__errpuc("bad file","PIC file too short");
         dest[i]=stbi__get8(s);
      }
   }

   return dest;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movl %esi, %ebp
movq %rdi, %r14
leaq 0x38(%rdi), %r15
leaq 0x39(%rdi), %rax
movq %rax, (%rsp)
movl $0x80, %r13d
xorl %r12d, %r12d
testl %ebp, %r13d
je 0x22556
cmpq $0x0, 0x10(%r14)
je 0x224c7
movq 0x28(%r14), %rdi
callq *0x20(%r14)
testl %eax, %eax
je 0x224df
cmpl $0x0, 0x30(%r14)
je 0x22568
movq 0xb8(%r14), %rax
movq 0xc0(%r14), %rcx
cmpq %rcx, %rax
jb 0x224ed
jmp 0x22568
movq 0xb8(%r14), %rax
movq 0xc0(%r14), %rcx
cmpq %rcx, %rax
jae 0x22501
leaq 0x1(%rax), %rcx
movq %rcx, 0xb8(%r14)
movb (%rax), %al
jmp 0x22552
cmpl $0x0, 0x30(%r14)
je 0x2252a
movq 0x28(%r14), %rdi
movl 0x34(%r14), %edx
movq %r15, %rsi
callq *0x10(%r14)
testl %eax, %eax
je 0x2252e
movslq %eax, %rcx
addq %r15, %rcx
movb (%r15), %al
movq (%rsp), %rdx
jmp 0x22544
xorl %eax, %eax
jmp 0x22552
movl $0x0, 0x30(%r14)
movb $0x0, 0x38(%r14)
xorl %eax, %eax
movq (%rsp), %rdx
movq %rdx, %rcx
movq %rcx, 0xc0(%r14)
movq %rdx, 0xb8(%r14)
movb %al, (%rbx,%r12)
incq %r12
shrl %r13d
cmpq $0x4, %r12
jne 0x224a0
jmp 0x22578
leaq 0xa30d(%rip), %rax      # 0x2c87c
movq %rax, 0x14e1a(%rip)     # 0x37390
xorl %ebx, %ebx
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/srajangarg[P]raytracer/src/core/stb_image.hpp
// Function: stbi__pnm_skip_whitespace(stbi__context*, char*)
static void     stbi__pnm_skip_whitespace(stbi__context *s, char *c)
{
   for (;;) {
      while (!stbi__at_eof(s) && stbi__pnm_isspace(*c))
         *c = (char) stbi__get8(s);

      if (stbi__at_eof(s) || *c != '#')
         break;

      while (!stbi__at_eof(s) && *c != '\n' && *c != '\r' )
         *c = (char) stbi__get8(s);
   }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x38(%rdi), %r15
leaq 0x39(%rdi), %r12
cmpq $0x0, 0x10(%r14)
je 0x227c6
movq 0x28(%r14), %rdi
callq *0x20(%r14)
testl %eax, %eax
je 0x227d6
cmpl $0x0, 0x30(%r14)
je 0x22838
movq 0xb8(%r14), %rax
cmpq 0xc0(%r14), %rax
jae 0x22838
movzbl (%rbx), %eax
leal -0x9(%rax), %ecx
cmpl $0x5, %ecx
jae 0x22833
movq 0xb8(%r14), %rax
cmpq 0xc0(%r14), %rax
jae 0x22803
leaq 0x1(%rax), %rcx
movq %rcx, 0xb8(%r14)
movb (%rax), %al
jmp 0x2294d
cmpl $0x0, 0x30(%r14)
je 0x22929
movq 0x28(%r14), %rdi
movl 0x34(%r14), %edx
movq %r15, %rsi
callq *0x10(%r14)
testl %eax, %eax
je 0x2292d
movslq %eax, %rcx
addq %r15, %rcx
movb (%r15), %al
jmp 0x2293f
cmpl $0x20, %eax
je 0x227e1
cmpq $0x0, 0x10(%r14)
je 0x22856
movq 0x28(%r14), %rdi
callq *0x20(%r14)
testl %eax, %eax
je 0x2286a
cmpl $0x0, 0x30(%r14)
je 0x22954
movq 0xb8(%r14), %rax
cmpq 0xc0(%r14), %rax
jae 0x22954
cmpb $0x23, (%rbx)
jne 0x22954
cmpq $0x0, 0x10(%r14)
je 0x22891
movq 0x28(%r14), %rdi
callq *0x20(%r14)
testl %eax, %eax
je 0x228a5
cmpl $0x0, 0x30(%r14)
je 0x227ac
movq 0xb8(%r14), %rax
cmpq 0xc0(%r14), %rax
jae 0x227ac
movzbl (%rbx), %eax
cmpl $0xa, %eax
je 0x227ac
cmpl $0xd, %eax
je 0x227ac
movq 0xb8(%r14), %rax
cmpq 0xc0(%r14), %rax
jae 0x228d9
leaq 0x1(%rax), %rcx
movq %rcx, 0xb8(%r14)
movb (%rax), %al
jmp 0x22922
cmpl $0x0, 0x30(%r14)
je 0x228fe
movq 0x28(%r14), %rdi
movl 0x34(%r14), %edx
movq %r15, %rsi
callq *0x10(%r14)
testl %eax, %eax
je 0x22902
movslq %eax, %rcx
addq %r15, %rcx
movb (%r15), %al
jmp 0x22914
xorl %eax, %eax
jmp 0x22922
movl $0x0, 0x30(%r14)
movb $0x0, 0x38(%r14)
xorl %eax, %eax
movq %r12, %rcx
movq %rcx, 0xc0(%r14)
movq %r12, 0xb8(%r14)
movb %al, (%rbx)
jmp 0x22873
xorl %eax, %eax
jmp 0x2294d
movl $0x0, 0x30(%r14)
movb $0x0, 0x38(%r14)
xorl %eax, %eax
movq %r12, %rcx
movq %rcx, 0xc0(%r14)
movq %r12, 0xb8(%r14)
movb %al, (%rbx)
jmp 0x227ac
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/srajangarg[P]raytracer/src/core/stb_image.hpp
// Function: stbi__pnm_getinteger(stbi__context*, char*)
static int      stbi__pnm_getinteger(stbi__context *s, char *c)
{
   int value = 0;

   while (!stbi__at_eof(s) && stbi__pnm_isdigit(*c)) {
      value = value*10 + (*c - '0');
      *c = (char) stbi__get8(s);
   }

   return value;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x38(%rdi), %r15
leaq 0x39(%rdi), %r13
xorl %r12d, %r12d
cmpq $0x0, 0x10(%r14)
je 0x2299a
movq 0x28(%r14), %rdi
callq *0x20(%r14)
testl %eax, %eax
je 0x229ae
cmpl $0x0, 0x30(%r14)
je 0x22a30
movq 0xb8(%r14), %rax
cmpq 0xc0(%r14), %rax
jae 0x22a30
movzbl (%rbx), %ebp
leal -0x3a(%rbp), %eax
cmpb $-0xa, %al
jb 0x22a30
movq 0xb8(%r14), %rax
cmpq 0xc0(%r14), %rax
jae 0x229d7
leaq 0x1(%rax), %rcx
movq %rcx, 0xb8(%r14)
movb (%rax), %al
jmp 0x22a20
cmpl $0x0, 0x30(%r14)
je 0x229fc
movq 0x28(%r14), %rdi
movl 0x34(%r14), %edx
movq %r15, %rsi
callq *0x10(%r14)
testl %eax, %eax
je 0x22a00
movslq %eax, %rcx
addq %r15, %rcx
movb (%r15), %al
jmp 0x22a12
xorl %eax, %eax
jmp 0x22a20
movl $0x0, 0x30(%r14)
movb $0x0, 0x38(%r14)
xorl %eax, %eax
movq %r13, %rcx
movq %rcx, 0xc0(%r14)
movq %r13, 0xb8(%r14)
leal (%r12,%r12,4), %ecx
leal -0x30(%rbp,%rcx,2), %r12d
movb %al, (%rbx)
jmp 0x2297c
movl %r12d, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/srajangarg[P]raytracer/src/core/stb_image.hpp
// Function: stbi__hdr_gettoken(stbi__context*, char*)
static char *stbi__hdr_gettoken(stbi__context *z, char *buffer)
{
   int len=0;
   char c = '\0';

   c = (char) stbi__get8(z);

   while (!stbi__at_eof(z) && c != '\n') {
      buffer[len++] = c;
      if (len == STBI__HDR_BUFLEN-1) {
         // flush to end of line
         while (!stbi__at_eof(z) && stbi__get8(z) != '\n')
            ;
         break;
      }
      c = (char) stbi__get8(z);
   }

   buffer[len] = 0;
   return buffer;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq 0xb8(%rdi), %rcx
movq 0xc0(%rdi), %rax
cmpq %rax, %rcx
jae 0x22a79
leaq 0x1(%rcx), %rdx
movq %rdx, 0xb8(%r14)
movb (%rcx), %bpl
movq %rdx, %rcx
jmp 0x22aca
cmpl $0x0, 0x30(%r14)
je 0x22aa1
movq 0x28(%r14), %rdi
leaq 0x38(%r14), %r15
movl 0x34(%r14), %edx
movq %r15, %rsi
callq *0x10(%r14)
testl %eax, %eax
je 0x22aa5
cltq
addq %r15, %rax
movb (%r15), %bpl
jmp 0x22ab8
xorl %ebp, %ebp
jmp 0x22aca
movl $0x0, 0x30(%r14)
leaq 0x39(%r14), %rax
movb $0x0, 0x38(%r14)
xorl %ebp, %ebp
movq %rax, 0xc0(%r14)
leaq 0x39(%r14), %rcx
movq %rcx, 0xb8(%r14)
leaq 0x38(%r14), %r15
leaq 0x39(%r14), %r12
xorl %r13d, %r13d
cmpq $0x0, 0x10(%r14)
je 0x22b01
movq 0x28(%r14), %rdi
callq *0x20(%r14)
testl %eax, %eax
je 0x22b09
cmpl $0x0, 0x30(%r14)
je 0x22c4f
movq 0xb8(%r14), %rcx
movq 0xc0(%r14), %rax
cmpq %rax, %rcx
setb %al
jmp 0x22b0b
movb $0x1, %al
cmpb $0xa, %bpl
je 0x22c4f
testb %al, %al
je 0x22c4f
movb %bpl, (%rbx,%r13)
cmpq $0x3fe, %r13            # imm = 0x3FE
je 0x22ba3
movq 0xb8(%r14), %rcx
movq 0xc0(%r14), %rax
cmpq %rax, %rcx
jae 0x22b50
leaq 0x1(%rcx), %rdx
movq %rdx, 0xb8(%r14)
movb (%rcx), %bpl
movq %rdx, %rcx
jmp 0x22b9b
cmpl $0x0, 0x30(%r14)
je 0x22b74
movq 0x28(%r14), %rdi
movl 0x34(%r14), %edx
movq %r15, %rsi
callq *0x10(%r14)
testl %eax, %eax
je 0x22b78
cltq
addq %r15, %rax
movb (%r15), %bpl
jmp 0x22b8a
xorl %ebp, %ebp
jmp 0x22b9b
movl $0x0, 0x30(%r14)
movb $0x0, 0x38(%r14)
xorl %ebp, %ebp
movq %r12, %rax
movq %rax, 0xc0(%r14)
movq %r12, 0xb8(%r14)
movq %r12, %rcx
incq %r13
jmp 0x22ad5
cmpq $0x0, 0x10(%r14)
je 0x22bc1
movq 0x28(%r14), %rdi
callq *0x20(%r14)
testl %eax, %eax
je 0x22bd6
cmpl $0x0, 0x30(%r14)
je 0x22c49
movq 0xb8(%r14), %rax
movq 0xc0(%r14), %rcx
cmpq %rcx, %rax
jb 0x22be4
jmp 0x22c49
movq 0xb8(%r14), %rax
movq 0xc0(%r14), %rcx
cmpq %rcx, %rax
jae 0x22bf8
leaq 0x1(%rax), %rcx
movq %rcx, 0xb8(%r14)
movb (%rax), %al
jmp 0x22c41
cmpl $0x0, 0x30(%r14)
je 0x22c1d
movq 0x28(%r14), %rdi
movl 0x34(%r14), %edx
movq %r15, %rsi
callq *0x10(%r14)
testl %eax, %eax
je 0x22c21
movslq %eax, %rcx
addq %r15, %rcx
movb (%r15), %al
jmp 0x22c33
xorl %eax, %eax
jmp 0x22c41
movl $0x0, 0x30(%r14)
movb $0x0, 0x38(%r14)
xorl %eax, %eax
movq %r12, %rcx
movq %rcx, 0xc0(%r14)
movq %r12, 0xb8(%r14)
cmpb $0xa, %al
jne 0x22ba3
movl $0x3ff, %r13d           # imm = 0x3FF
movb $0x0, (%rbx,%r13)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq