// File: /workspace/github_c_makefile_star2_O3/ggerganov[P]font-rasterizer/./stb_truetype.h
// Function: stbtt__run_charstring
static int stbtt__run_charstring(const stbtt_fontinfo *info, int glyph_index, stbtt__csctx *c)
{
   int in_header = 1, maskbits = 0, subr_stack_height = 0, sp = 0, v, i, b0;
   int has_subrs = 0, clear_stack;
   float s[48];
   stbtt__buf subr_stack[10], subrs = info->subrs, b;
   float f;

#define STBTT__CSERR(s) (0)

   // this currently ignores the initial width value, which isn't needed if we have hmtx
   b = stbtt__cff_index_get(info->charstrings, glyph_index);
   while (b.cursor < b.size) {
      i = 0;
      clear_stack = 1;
      b0 = stbtt__buf_get8(&b);
      switch (b0) {
      // @TODO implement hinting
      case 0x13: // hintmask
      case 0x14: // cntrmask
         if (in_header)
            maskbits += (sp / 2); // implicit "vstem"
         in_header = 0;
         stbtt__buf_skip(&b, (maskbits + 7) / 8);
         break;

      case 0x01: // hstem
      case 0x03: // vstem
      case 0x12: // hstemhm
      case 0x17: // vstemhm
         maskbits += (sp / 2);
         break;

      case 0x15: // rmoveto
         in_header = 0;
         if (sp < 2) return STBTT__CSERR("rmoveto stack");
         stbtt__csctx_rmove_to(c, s[sp-2], s[sp-1]);
         break;
      case 0x04: // vmoveto
         in_header = 0;
         if (sp < 1) return STBTT__CSERR("vmoveto stack");
         stbtt__csctx_rmove_to(c, 0, s[sp-1]);
         break;
      case 0x16: // hmoveto
         in_header = 0;
         if (sp < 1) return STBTT__CSERR("hmoveto stack");
         stbtt__csctx_rmove_to(c, s[sp-1], 0);
         break;

      case 0x05: // rlineto
         if (sp < 2) return STBTT__CSERR("rlineto stack");
         for (; i + 1 < sp; i += 2)
            stbtt__csctx_rline_to(c, s[i], s[i+1]);
         break;

      // hlineto/vlineto and vhcurveto/hvcurveto alternate horizontal and vertical
      // starting from a different place.

      case 0x07: // vlineto
         if (sp < 1) return STBTT__CSERR("vlineto stack");
         goto vlineto;
      case 0x06: // hlineto
         if (sp < 1) return STBTT__CSERR("hlineto stack");
         for (;;) {
            if (i >= sp) break;
            stbtt__csctx_rline_to(c, s[i], 0);
            i++;
      vlineto:
            if (i >= sp) break;
            stbtt__csctx_rline_to(c, 0, s[i]);
            i++;
         }
         break;

      case 0x1F: // hvcurveto
         if (sp < 4) return STBTT__CSERR("hvcurveto stack");
         goto hvcurveto;
      case 0x1E: // vhcurveto
         if (sp < 4) return STBTT__CSERR("vhcurveto stack");
         for (;;) {
            if (i + 3 >= sp) break;
            stbtt__csctx_rccurve_to(c, 0, s[i], s[i+1], s[i+2], s[i+3], (sp - i == 5) ? s[i + 4] : 0.0f);
            i += 4;
      hvcurveto:
            if (i + 3 >= sp) break;
            stbtt__csctx_rccurve_to(c, s[i], 0, s[i+1], s[i+2], (sp - i == 5) ? s[i+4] : 0.0f, s[i+3]);
            i += 4;
         }
         break;

      case 0x08: // rrcurveto
         if (sp < 6) return STBTT__CSERR("rcurveline stack");
         for (; i + 5 < sp; i += 6)
            stbtt__csctx_rccurve_to(c, s[i], s[i+1], s[i+2], s[i+3], s[i+4], s[i+5]);
         break;

      case 0x18: // rcurveline
         if (sp < 8) return STBTT__CSERR("rcurveline stack");
         for (; i + 5 < sp - 2; i += 6)
            stbtt__csctx_rccurve_to(c, s[i], s[i+1], s[i+2], s[i+3], s[i+4], s[i+5]);
         if (i + 1 >= sp) return STBTT__CSERR("rcurveline stack");
         stbtt__csctx_rline_to(c, s[i], s[i+1]);
         break;

      case 0x19: // rlinecurve
         if (sp < 8) return STBTT__CSERR("rlinecurve stack");
         for (; i + 1 < sp - 6; i += 2)
            stbtt__csctx_rline_to(c, s[i], s[i+1]);
         if (i + 5 >= sp) return STBTT__CSERR("rlinecurve stack");
         stbtt__csctx_rccurve_to(c, s[i], s[i+1], s[i+2], s[i+3], s[i+4], s[i+5]);
         break;

      case 0x1A: // vvcurveto
      case 0x1B: // hhcurveto
         if (sp < 4) return STBTT__CSERR("(vv|hh)curveto stack");
         f = 0.0;
         if (sp & 1) { f = s[i]; i++; }
         for (; i + 3 < sp; i += 4) {
            if (b0 == 0x1B)
               stbtt__csctx_rccurve_to(c, s[i], f, s[i+1], s[i+2], s[i+3], 0.0);
            else
               stbtt__csctx_rccurve_to(c, f, s[i], s[i+1], s[i+2], 0.0, s[i+3]);
            f = 0.0;
         }
         break;

      case 0x0A: // callsubr
         if (!has_subrs) {
            if (info->fdselect.size)
               subrs = stbtt__cid_get_glyph_subrs(info, glyph_index);
            has_subrs = 1;
         }
         // fallthrough
      case 0x1D: // callgsubr
         if (sp < 1) return STBTT__CSERR("call(g|)subr stack");
         v = (int) s[--sp];
         if (subr_stack_height >= 10) return STBTT__CSERR("recursion limit");
         subr_stack[subr_stack_height++] = b;
         b = stbtt__get_subr(b0 == 0x0A ? subrs : info->gsubrs, v);
         if (b.size == 0) return STBTT__CSERR("subr not found");
         b.cursor = 0;
         clear_stack = 0;
         break;

      case 0x0B: // return
         if (subr_stack_height <= 0) return STBTT__CSERR("return outside subr");
         b = subr_stack[--subr_stack_height];
         clear_stack = 0;
         break;

      case 0x0E: // endchar
         stbtt__csctx_close_shape(c);
         return 1;

      case 0x0C: { // two-byte escape
         float dx1, dx2, dx3, dx4, dx5, dx6, dy1, dy2, dy3, dy4, dy5, dy6;
         float dx, dy;
         int b1 = stbtt__buf_get8(&b);
         switch (b1) {
         // @TODO These "flex" implementations ignore the flex-depth and resolution,
         // and always draw beziers.
         case 0x22: // hflex
            if (sp < 7) return STBTT__CSERR("hflex stack");
            dx1 = s[0];
            dx2 = s[1];
            dy2 = s[2];
            dx3 = s[3];
            dx4 = s[4];
            dx5 = s[5];
            dx6 = s[6];
            stbtt__csctx_rccurve_to(c, dx1, 0, dx2, dy2, dx3, 0);
            stbtt__csctx_rccurve_to(c, dx4, 0, dx5, -dy2, dx6, 0);
            break;

         case 0x23: // flex
            if (sp < 13) return STBTT__CSERR("flex stack");
            dx1 = s[0];
            dy1 = s[1];
            dx2 = s[2];
            dy2 = s[3];
            dx3 = s[4];
            dy3 = s[5];
            dx4 = s[6];
            dy4 = s[7];
            dx5 = s[8];
            dy5 = s[9];
            dx6 = s[10];
            dy6 = s[11];
            //fd is s[12]
            stbtt__csctx_rccurve_to(c, dx1, dy1, dx2, dy2, dx3, dy3);
            stbtt__csctx_rccurve_to(c, dx4, dy4, dx5, dy5, dx6, dy6);
            break;

         case 0x24: // hflex1
            if (sp < 9) return STBTT__CSERR("hflex1 stack");
            dx1 = s[0];
            dy1 = s[1];
            dx2 = s[2];
            dy2 = s[3];
            dx3 = s[4];
            dx4 = s[5];
            dx5 = s[6];
            dy5 = s[7];
            dx6 = s[8];
            stbtt__csctx_rccurve_to(c, dx1, dy1, dx2, dy2, dx3, 0);
            stbtt__csctx_rccurve_to(c, dx4, 0, dx5, dy5, dx6, -(dy1+dy2+dy5));
            break;

         case 0x25: // flex1
            if (sp < 11) return STBTT__CSERR("flex1 stack");
            dx1 = s[0];
            dy1 = s[1];
            dx2 = s[2];
            dy2 = s[3];
            dx3 = s[4];
            dy3 = s[5];
            dx4 = s[6];
            dy4 = s[7];
            dx5 = s[8];
            dy5 = s[9];
            dx6 = dy6 = s[10];
            dx = dx1+dx2+dx3+dx4+dx5;
            dy = dy1+dy2+dy3+dy4+dy5;
            if (STBTT_fabs(dx) > STBTT_fabs(dy))
               dy6 = -dy;
            else
               dx6 = -dx;
            stbtt__csctx_rccurve_to(c, dx1, dy1, dx2, dy2, dx3, dy3);
            stbtt__csctx_rccurve_to(c, dx4, dy4, dx5, dy5, dx6, dy6);
            break;

         default:
            return STBTT__CSERR("unimplemented");
         }
      } break;

      default:
         if (b0 != 255 && b0 != 28 && (b0 < 32 || b0 > 254))
            return STBTT__CSERR("reserved operator");

         // push immediate
         if (b0 == 255) {
            f = (float)(stbtt_int32)stbtt__buf_get32(&b) / 0x10000;
         } else {
            stbtt__buf_skip(&b, -1);
            f = (float)(stbtt_int16)stbtt__cff_int(&b);
         }
         if (sp >= 48) return STBTT__CSERR("push stack overflow");
         s[sp++] = f;
         clear_stack = 0;
         break;
      }
      if (clear_stack) sp = 0;
   }
   return STBTT__CSERR("no endchar");

#undef STBTT__CSERR
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x208, %rsp            # imm = 0x208
movq %rdx, %rbx
movl %esi, %r14d
movq %rdi, %r12
movq 0x70(%rdi), %r15
movq 0x78(%rdi), %r13
movq 0x50(%rdi), %rdi
movq 0x58(%r12), %rsi
movl %r14d, %edx
callq 0xb4c2
movq %rax, -0x50(%rbp)
movq %rdx, -0x48(%rbp)
movq %rdx, %r9
shrq $0x20, %r9
cmpl %r9d, %edx
jge 0xb480
movq %r13, -0x170(%rbp)
movq %r15, -0x178(%rbp)
movq %r14, -0x188(%rbp)
leal 0x1(%r14), %ecx
movq %rcx, -0x180(%rbp)
movl $0x1, -0x38(%rbp)
leaq 0x28ff(%rip), %r13      # 0xd08c
movq $0x0, -0x68(%rbp)
movq $0x0, -0x60(%rbp)
xorl %r15d, %r15d
movl $0x0, -0x54(%rbp)
movq %r12, -0x168(%rbp)
movq -0x50(%rbp), %rsi
movslq %edx, %rdi
leaq 0x1(%rdi), %rcx
movl %ecx, -0x48(%rbp)
movb (%rsi,%rdi), %r14b
movzbl %r14b, %edi
leal -0x1(%rdi), %r8d
cmpl $0x1e, %r8d
ja 0xa8ae
movslq (%r13,%r8,4), %rdi
addq %r13, %rdi
jmpq *%rdi
movl %r15d, %eax
shrl $0x1f, %eax
addl %r15d, %eax
sarl %eax
movq -0x68(%rbp), %rcx
addl %eax, %ecx
movq %rcx, -0x68(%rbp)
jmp 0xaec2
cmpl $0x0, -0x38(%rbp)
je 0xae91
movl %r15d, %edx
shrl $0x1f, %edx
addl %r15d, %edx
sarl %edx
movq -0x68(%rbp), %rsi
addl %edx, %esi
movq %rsi, %rdx
jmp 0xae95
cmpl $0x4, %r15d
jl 0xb480
movl %r15d, %r13d
andl $0x1, %r13d
leal 0x3(%r13), %eax
cmpl %r15d, %eax
jae 0xa8a6
xorps %xmm1, %xmm1
testl %r13d, %r13d
je 0xa843
movss -0x140(%rbp), %xmm1
leal 0x3(%r13), %eax
movss -0x140(%rbp,%r13,4), %xmm7
movss -0x13c(%rbp,%r13,4), %xmm2
movss -0x138(%rbp,%r13,4), %xmm3
movss -0x140(%rbp,%rax,4), %xmm6
cmpb $0x1b, %r14b
jne 0xa882
xorps %xmm5, %xmm5
movq %rbx, %rdi
movaps %xmm7, %xmm0
movaps %xmm6, %xmm4
jmp 0xa891
xorps %xmm4, %xmm4
movq %rbx, %rdi
movaps %xmm1, %xmm0
movaps %xmm7, %xmm1
movaps %xmm6, %xmm5
callq 0xb6bb
addq $0x4, %r13
leal 0x3(%r13), %eax
xorps %xmm1, %xmm1
cmpl %r15d, %eax
jl 0xa843
xorl %r15d, %r15d
jmp 0xac91
cmpl $0xff, %edi
je 0xa8ed
cmpb $0x20, %r14b
jb 0xb480
cmpb $-0x1, %r14b
je 0xa8ed
testl %edx, %edx
js 0xb4a3
cmpl %edx, %r9d
jl 0xb4a3
movl %edx, -0x48(%rbp)
leaq -0x50(%rbp), %rdi
callq 0xb751
cwtl
xorps %xmm0, %xmm0
cvtsi2ss %eax, %xmm0
jmp 0xa924
xorl %edx, %edx
movl $0x4, %edi
cmpl %r9d, %ecx
jge 0xa905
movslq %ecx, %r8
incl %ecx
movzbl (%rsi,%r8), %r8d
jmp 0xa908
xorl %r8d, %r8d
shll $0x8, %edx
orl %r8d, %edx
decl %edi
jne 0xa8f4
movl %ecx, -0x48(%rbp)
xorps %xmm0, %xmm0
cvtsi2ss %edx, %xmm0
mulss 0x41fc(%rip), %xmm0     # 0xeb20
cmpl $0x2f, %r15d
jg 0xb480
movslq %r15d, %rax
incl %r15d
movss %xmm0, -0x140(%rbp,%rax,4)
jmp 0xaec5
movl -0x54(%rbp), %r11d
jmp 0xb1ed
movl $0x1, %r11d
cmpl $0x0, -0x54(%rbp)
jne 0xb1ed
movl 0x9c(%r12), %eax
testl %eax, %eax
je 0xb1ed
js 0xb4a3
movq 0x90(%r12), %rcx
movzbl (%rcx), %edx
testl %edx, %edx
movq -0x180(%rbp), %rsi
je 0xb19d
cmpl $0x3, %edx
jne 0xaa5d
xorl %esi, %esi
movl $0x1, %edi
movl $0x2, %edx
cmpl %eax, %edi
jge 0xa9b0
movslq %edi, %r8
incl %edi
movzbl (%rcx,%r8), %r8d
jmp 0xa9b3
xorl %r8d, %r8d
shll $0x8, %esi
orl %r8d, %esi
decl %edx
jne 0xa9a0
xorl %r8d, %r8d
movl $0x2, %edx
cmpl %eax, %edi
jge 0xa9d5
movslq %edi, %r9
incl %edi
movzbl (%rcx,%r9), %r9d
jmp 0xa9d8
xorl %r9d, %r9d
shll $0x8, %r8d
orl %r9d, %r8d
decl %edx
jne 0xa9c5
testl %esi, %esi
jle 0xaa5d
xorl %r9d, %r9d
movq %r12, %r13
cmpl %eax, %edi
jge 0xa9fc
movslq %edi, %rdx
incl %edi
movzbl (%rcx,%rdx), %edx
jmp 0xa9fe
xorl %edx, %edx
xorl %r10d, %r10d
movl $0x2, %r11d
cmpl %eax, %edi
jge 0xaa17
movslq %edi, %r12
incl %edi
movzbl (%rcx,%r12), %r12d
jmp 0xaa1a
xorl %r12d, %r12d
shll $0x8, %r10d
orl %r12d, %r10d
decl %r11d
jne 0xaa07
movq -0x188(%rbp), %r11
cmpl %r11d, %r8d
setle %r8b
cmpl %r11d, %r10d
setg %r11b
andb %r8b, %r11b
cmpb $0x1, %r11b
movq %r13, %r12
leaq 0x2640(%rip), %r13      # 0xd08c
je 0xb1af
incl %r9d
movl %r10d, %r8d
cmpl %esi, %r9d
jne 0xa9ea
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
jmp 0xb1af
xorl %eax, %eax
cmpl $0x8, %r15d
jl 0xb482
leal -0x6(%r15), %r14d
movl $0x2, %esi
xorl %r13d, %r13d
movq %rsi, %r12
movss -0x148(%rbp,%rsi,4), %xmm0
movss -0x144(%rbp,%rsi,4), %xmm1
addss 0x10(%rbx), %xmm0
movss %xmm0, 0x10(%rbx)
addss 0x14(%rbx), %xmm1
movss %xmm1, 0x14(%rbx)
cvttss2si %xmm0, %edx
cvttss2si %xmm1, %ecx
movq %rbx, %rdi
movl $0x2, %esi
xorl %r8d, %r8d
xorl %r9d, %r9d
pushq %r13
pushq %r13
callq 0xb869
addq $0x10, %rsp
leaq 0x2(%r12), %rsi
incq %r12
cmpq %r14, %r12
jb 0xaa7f
leaq 0x3(%rsi), %rcx
cmpl %r15d, %ecx
movq -0x168(%rbp), %r12
leaq 0x259f(%rip), %r13      # 0xd08c
movl $0x0, %eax
jge 0xb482
movss -0x148(%rbp,%rsi,4), %xmm0
movss -0x144(%rbp,%rsi,4), %xmm1
movl %esi, %edx
andl $-0x2, %edx
movss -0x140(%rbp,%rdx,4), %xmm2
leal 0x1(%rsi), %edx
movss -0x140(%rbp,%rdx,4), %xmm3
addl $0x2, %esi
andl $-0x2, %esi
movss -0x140(%rbp,%rsi,4), %xmm4
movl %ecx, %eax
movss -0x140(%rbp,%rax,4), %xmm5
movq %rbx, %rdi
callq 0xb6bb
jmp 0xaec2
xorl %eax, %eax
testl %r15d, %r15d
jg 0xb3c3
jmp 0xb482
xorl %eax, %eax
cmpl %r9d, %ecx
jge 0xb482
addl $0x2, %edx
movl %edx, -0x48(%rbp)
movzbl (%rsi,%rcx), %edx
addl $-0x22, %edx
cmpl $0x3, %edx
ja 0xb482
leaq 0x2585(%rip), %rcx      # 0xd108
movslq (%rcx,%rdx,4), %rdx
addq %rcx, %rdx
jmpq *%rdx
cmpl $0x7, %r15d
jl 0xb482
movss -0x140(%rbp), %xmm0
movss -0x13c(%rbp), %xmm2
movss -0x138(%rbp), %xmm3
movaps %xmm3, -0x80(%rbp)
movss -0x134(%rbp), %xmm4
movss -0x130(%rbp), %xmm1
movss %xmm1, -0x30(%rbp)
movss -0x12c(%rbp), %xmm1
movss %xmm1, -0x2c(%rbp)
movss -0x128(%rbp), %xmm1
movss %xmm1, -0x34(%rbp)
xorps %xmm1, %xmm1
xorps %xmm5, %xmm5
movq %rbx, %rdi
callq 0xb6bb
movaps -0x80(%rbp), %xmm3
xorps 0x3f36(%rip), %xmm3     # 0xeb30
xorps %xmm1, %xmm1
xorps %xmm5, %xmm5
movq %rbx, %rdi
movss -0x30(%rbp), %xmm0
movss -0x2c(%rbp), %xmm2
movss -0x34(%rbp), %xmm4
jmp 0xab41
xorl %eax, %eax
testl %r15d, %r15d
jg 0xb41f
jmp 0xb482
cmpl $0x2, %r15d
jl 0xb480
movl %r15d, %r14d
movl $0x1, %r13d
movss -0x144(%rbp,%r13,4), %xmm0
movss -0x140(%rbp,%r13,4), %xmm1
addss 0x10(%rbx), %xmm0
movss %xmm0, 0x10(%rbx)
addss 0x14(%rbx), %xmm1
movss %xmm1, 0x14(%rbx)
cvttss2si %xmm0, %edx
cvttss2si %xmm1, %ecx
xorl %r15d, %r15d
movq %rbx, %rdi
movl $0x2, %esi
xorl %r8d, %r8d
xorl %r9d, %r9d
pushq %r15
pushq %r15
callq 0xb869
addq $0x10, %rsp
addq $0x2, %r13
cmpq %r14, %r13
jb 0xac3a
leaq 0x23f4(%rip), %r13      # 0xd08c
jmp 0xaec5
testl %r15d, %r15d
jle 0xb480
decl %r15d
movss -0x140(%rbp,%r15,4), %xmm1
xorps %xmm0, %xmm0
jmp 0xae87
movq -0x60(%rbp), %rax
testl %eax, %eax
jle 0xb480
decl %eax
movq %rax, -0x60(%rbp)
shlq $0x4, %rax
movups -0x230(%rbp,%rax), %xmm0
movaps %xmm0, -0x50(%rbp)
jmp 0xaec5
xorl %eax, %eax
cmpl $0x8, %r15d
jl 0xb482
movl %r15d, %r12d
addq $-0xd, %r12
movq $-0x6, %r14
movss -0x128(%rbp,%r14,4), %xmm0
movss -0x124(%rbp,%r14,4), %xmm1
movss -0x120(%rbp,%r14,4), %xmm2
movss -0x11c(%rbp,%r14,4), %xmm3
movss -0x118(%rbp,%r14,4), %xmm4
movss -0x114(%rbp,%r14,4), %xmm5
movq %rbx, %rdi
callq 0xb6bb
addq $0x6, %r14
cmpq %r12, %r14
jl 0xacfc
leal 0x7(%r14), %eax
cmpl %r15d, %eax
movq -0x168(%rbp), %r12
movl $0x0, %eax
jge 0xb482
movss -0x128(%rbp,%r14,4), %xmm0
movss -0x124(%rbp,%r14,4), %xmm1
addss 0x10(%rbx), %xmm0
movss %xmm0, 0x10(%rbx)
addss 0x14(%rbx), %xmm1
movss %xmm1, 0x14(%rbx)
cvttss2si %xmm0, %edx
cvttss2si %xmm1, %ecx
xorl %r15d, %r15d
movq %rbx, %rdi
movl $0x2, %esi
xorl %r8d, %r8d
xorl %r9d, %r9d
pushq %r15
pushq %r15
callq 0xb869
addq $0x10, %rsp
jmp 0xaec5
cmpl $0x6, %r15d
jl 0xb480
movl %r15d, %r14d
movl $0x5, %r15d
movss -0x154(%rbp,%r15,4), %xmm0
movss -0x150(%rbp,%r15,4), %xmm1
movss -0x14c(%rbp,%r15,4), %xmm2
movss -0x148(%rbp,%r15,4), %xmm3
movss -0x144(%rbp,%r15,4), %xmm4
movss -0x140(%rbp,%r15,4), %xmm5
movq %rbx, %rdi
callq 0xb6bb
addq $0x6, %r15
cmpq %r14, %r15
jb 0xadc8
jmp 0xaec2
cmpl $0x2, %r15d
jl 0xb480
leal -0x2(%r15), %eax
movss -0x140(%rbp,%rax,4), %xmm0
decl %r15d
movss -0x140(%rbp,%r15,4), %xmm1
jmp 0xae87
xorl %r14d, %r14d
movl $0x0, %eax
cmpl $0x4, %r15d
jge 0xb35f
jmp 0xb482
xorl %r14d, %r14d
movl $0x0, %eax
cmpl $0x4, %r15d
jge 0xb300
jmp 0xb482
testl %r15d, %r15d
jle 0xb480
decl %r15d
movss -0x140(%rbp,%r15,4), %xmm0
xorps %xmm1, %xmm1
movq %rbx, %rdi
callq 0xb652
jmp 0xaebb
movq -0x68(%rbp), %rdx
leal 0x7(%rdx), %esi
movq %rdx, -0x68(%rbp)
addl $0xe, %edx
testl %esi, %esi
cmovnsl %esi, %edx
sarl $0x3, %edx
addl %ecx, %edx
js 0xb4a3
cmpl %edx, %r9d
jl 0xb4a3
movl %edx, -0x48(%rbp)
movl $0x0, -0x38(%rbp)
xorl %r15d, %r15d
movl -0x48(%rbp), %edx
movl -0x44(%rbp), %r9d
cmpl %r9d, %edx
jl 0xa7ae
jmp 0xb480
cmpl $0x9, %r15d
jl 0xb482
movss -0x140(%rbp), %xmm0
movss -0x13c(%rbp), %xmm6
movaps %xmm6, -0x150(%rbp)
movss -0x138(%rbp), %xmm2
movss -0x134(%rbp), %xmm3
movss %xmm3, -0x160(%rbp)
movss -0x130(%rbp), %xmm4
movss -0x12c(%rbp), %xmm1
movss %xmm1, -0x34(%rbp)
movss -0x128(%rbp), %xmm1
movss %xmm1, -0x30(%rbp)
movss -0x124(%rbp), %xmm1
movss %xmm1, -0x80(%rbp)
movss -0x120(%rbp), %xmm1
movss %xmm1, -0x2c(%rbp)
xorps %xmm5, %xmm5
movq %rbx, %rdi
movaps %xmm6, %xmm1
callq 0xb6bb
movaps -0x150(%rbp), %xmm5
addss -0x160(%rbp), %xmm5
movss -0x80(%rbp), %xmm3
addss %xmm3, %xmm5
xorps 0x3bb4(%rip), %xmm5     # 0xeb30
xorps %xmm1, %xmm1
movq %rbx, %rdi
movss -0x34(%rbp), %xmm0
movss -0x30(%rbp), %xmm2
movss -0x2c(%rbp), %xmm4
jmp 0xab41
cmpl $0xb, %r15d
jl 0xb482
movss -0x140(%rbp), %xmm0
movss -0x13c(%rbp), %xmm1
movss -0x138(%rbp), %xmm2
movss -0x134(%rbp), %xmm3
movss -0x130(%rbp), %xmm4
movss -0x12c(%rbp), %xmm5
movss -0x128(%rbp), %xmm10
movss -0x124(%rbp), %xmm11
movss -0x120(%rbp), %xmm12
movss -0x11c(%rbp), %xmm13
movss -0x118(%rbp), %xmm6
movaps %xmm0, %xmm7
addss %xmm2, %xmm7
addss %xmm4, %xmm7
addss %xmm10, %xmm7
addss %xmm12, %xmm7
movaps %xmm1, %xmm14
addss %xmm3, %xmm14
addss %xmm5, %xmm14
addss %xmm11, %xmm14
addss %xmm13, %xmm14
movaps %xmm7, %xmm8
movaps 0x3b0b(%rip), %xmm9     # 0xeb40
andps %xmm9, %xmm8
movaps %xmm14, %xmm15
andps %xmm9, %xmm15
ucomiss %xmm15, %xmm8
movss %xmm10, -0x34(%rbp)
movss %xmm11, -0x30(%rbp)
movss %xmm12, -0x2c(%rbp)
movss %xmm13, -0x80(%rbp)
ja 0xb139
movaps %xmm6, -0x150(%rbp)
movaps 0x3abe(%rip), %xmm9     # 0xeb30
jmp 0xb14d
cmpl $0xd, %r15d
jl 0xb482
movss -0x140(%rbp), %xmm0
movss -0x13c(%rbp), %xmm1
movss -0x138(%rbp), %xmm2
movss -0x134(%rbp), %xmm3
movss -0x130(%rbp), %xmm4
movss -0x12c(%rbp), %xmm5
movss -0x128(%rbp), %xmm6
movss %xmm6, -0x34(%rbp)
movss -0x124(%rbp), %xmm6
movss %xmm6, -0x30(%rbp)
movss -0x120(%rbp), %xmm6
movss %xmm6, -0x2c(%rbp)
movss -0x11c(%rbp), %xmm6
movss %xmm6, -0x80(%rbp)
movss -0x118(%rbp), %xmm6
movss %xmm6, -0x150(%rbp)
movss -0x114(%rbp), %xmm6
movss %xmm6, -0x160(%rbp)
movq %rbx, %rdi
callq 0xb6bb
movq %rbx, %rdi
movss -0x34(%rbp), %xmm0
movss -0x30(%rbp), %xmm1
movss -0x2c(%rbp), %xmm2
movss -0x80(%rbp), %xmm3
movss -0x150(%rbp), %xmm4
movss -0x160(%rbp), %xmm5
jmp 0xab41
movaps 0x39ef(%rip), %xmm9     # 0xeb30
xorps %xmm9, %xmm14
movaps %xmm14, -0x150(%rbp)
xorps %xmm9, %xmm7
cmpltss %xmm8, %xmm15
andps %xmm15, %xmm6
andnps %xmm7, %xmm15
orps %xmm6, %xmm15
movaps %xmm15, -0x160(%rbp)
movq %rbx, %rdi
callq 0xb6bb
movq %rbx, %rdi
movss -0x34(%rbp), %xmm0
movss -0x30(%rbp), %xmm1
movss -0x2c(%rbp), %xmm2
movss -0x80(%rbp), %xmm3
movaps -0x160(%rbp), %xmm4
movaps -0x150(%rbp), %xmm5
jmp 0xab41
cmpl %eax, %esi
ja 0xb4a3
xorl %edx, %edx
cmpl %eax, %esi
jae 0xb1af
movzbl (%rcx,%rsi), %edx
movq 0x80(%r12), %rdi
movq 0x88(%r12), %rsi
callq 0xb4c2
movq %rdx, %rcx
movq 0x40(%r12), %rdi
movq 0x48(%r12), %rsi
movq %rax, %rdx
callq 0xb950
movq %rax, -0x178(%rbp)
movq %rdx, -0x170(%rbp)
movl $0x1, %r11d
xorl %eax, %eax
testl %r15d, %r15d
movq -0x60(%rbp), %rcx
jle 0xb482
cmpl $0x9, %ecx
jg 0xb482
decl %r15d
cvttss2si -0x140(%rbp,%r15,4), %eax
movq -0x60(%rbp), %rdx
movslq %edx, %rcx
shlq $0x4, %rcx
movaps -0x50(%rbp), %xmm0
movups %xmm0, -0x230(%rbp,%rcx)
movq -0x170(%rbp), %r8
movq -0x178(%rbp), %rdi
cmpb $0xa, %r14b
je 0xb247
movq 0x60(%r12), %rdi
movq 0x68(%r12), %r8
testq %r8, %r8
js 0xb4a3
incl %edx
movq %rdx, -0x60(%rbp)
movq %r8, %rdx
shrq $0x20, %rdx
xorl %esi, %esi
movl $0x2, %r9d
xorl %ecx, %ecx
cmpl %edx, %esi
jge 0xb277
movslq %esi, %r10
incl %esi
movzbl (%rdi,%r10), %r10d
jmp 0xb27a
xorl %r10d, %r10d
shll $0x8, %ecx
orl %r10d, %ecx
decl %r9d
jne 0xb267
xorl %edx, %edx
cmpl $0x4d8, %ecx            # imm = 0x4D8
setge %dl
shll $0xa, %edx
orl $0x6b, %edx
cmpl $0x846c, %ecx           # imm = 0x846C
movl $0x8000, %r9d           # imm = 0x8000
cmovgel %r9d, %edx
addl %eax, %edx
sets %al
cmpl %ecx, %edx
setge %cl
orb %al, %cl
movl $0x0, %eax
movl $0x0, %ecx
jne 0xb2de
movabsq $0x7fffffff00000000, %rax # imm = 0x7FFFFFFF00000000
andq %rax, %r8
movl %esi, %esi
orq %r8, %rsi
movl %r11d, %r14d
callq 0xb4c2
movl %r14d, %r11d
movq %rdx, %rcx
movq %rax, -0x50(%rbp)
movq %rcx, -0x48(%rbp)
shrq $0x20, %rcx
je 0xb480
movl $0x0, -0x48(%rbp)
movl %r11d, -0x54(%rbp)
jmp 0xaec5
leal 0x3(%r14), %eax
cmpl %r15d, %eax
jge 0xaec2
movslq %r14d, %rcx
movss -0x140(%rbp,%rcx,4), %xmm1
movss -0x13c(%rbp,%rcx,4), %xmm2
movss -0x138(%rbp,%rcx,4), %xmm3
cltq
movss -0x140(%rbp,%rax,4), %xmm4
movl %r15d, %eax
subl %r14d, %eax
addl $0x4, %r14d
xorps %xmm5, %xmm5
cmpl $0x5, %eax
jne 0xb354
movslq %r14d, %rax
movss -0x140(%rbp,%rax,4), %xmm5
xorps %xmm0, %xmm0
movq %rbx, %rdi
callq 0xb6bb
leal 0x3(%r14), %eax
cmpl %r15d, %eax
jge 0xaec2
movslq %r14d, %rcx
movss -0x140(%rbp,%rcx,4), %xmm0
movss -0x13c(%rbp,%rcx,4), %xmm2
movss -0x138(%rbp,%rcx,4), %xmm3
movl %r15d, %ecx
subl %r14d, %ecx
addl $0x4, %r14d
xorps %xmm4, %xmm4
cmpl $0x5, %ecx
jne 0xb3a8
movslq %r14d, %rcx
movss -0x140(%rbp,%rcx,4), %xmm4
cltq
movss -0x140(%rbp,%rax,4), %xmm5
xorps %xmm1, %xmm1
movq %rbx, %rdi
callq 0xb6bb
jmp 0xb300
cmpl %r15d, %eax
jge 0xaec2
movslq %eax, %rcx
movss -0x140(%rbp,%rcx,4), %xmm0
addss 0x10(%rbx), %xmm0
movss %xmm0, 0x10(%rbx)
movss 0x14(%rbx), %xmm1
addss 0x36d1(%rip), %xmm1     # 0xeac0
movss %xmm1, 0x14(%rbx)
cvttss2si %xmm0, %edx
cvttss2si %xmm1, %ecx
movl %eax, %r14d
movq %rbx, %rdi
movl $0x2, %esi
xorl %r8d, %r8d
xorl %r9d, %r9d
xorl %eax, %eax
pushq %rax
pushq %rax
callq 0xb869
movl %r14d, %eax
addq $0x10, %rsp
incl %eax
cmpl %r15d, %eax
jge 0xaec2
movslq %eax, %rcx
movss -0x140(%rbp,%rcx,4), %xmm0
movss 0x10(%rbx), %xmm1
addss 0x367f(%rip), %xmm1     # 0xeac0
movss %xmm1, 0x10(%rbx)
addss 0x14(%rbx), %xmm0
movss %xmm0, 0x14(%rbx)
cvttss2si %xmm1, %edx
cvttss2si %xmm0, %ecx
movl %eax, %r14d
movq %rbx, %rdi
movl $0x2, %esi
xorl %r8d, %r8d
xorl %r9d, %r9d
xorl %eax, %eax
pushq %rax
pushq %rax
callq 0xb869
movl %r14d, %eax
addq $0x10, %rsp
incl %eax
jmp 0xb3c3
xorl %eax, %eax
addq $0x208, %rsp            # imm = 0x208
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rbx, %rdi
callq 0xb711
movl $0x1, %eax
jmp 0xb482
leaq 0x3bb0(%rip), %rdi      # 0xf05a
leaq 0x37b7(%rip), %rsi      # 0xec68
leaq 0x3bba(%rip), %rcx      # 0xf072
movl $0x45b, %edx            # imm = 0x45B
callq 0x10c0