// File: /workspace/github_cpp_makefile_star2_O2/donfreiday[P]gb/./imgui/stb_truetype.h
// Function: stbtt_GetGlyphShape(stbtt_fontinfo const*, int, stbtt_vertex**)
STBTT_DEF int stbtt_GetGlyphShape(const stbtt_fontinfo *info, int glyph_index, stbtt_vertex **pvertices)
{
   stbtt_int16 numberOfContours;
   stbtt_uint8 *endPtsOfContours;
   stbtt_uint8 *data = info->data;
   stbtt_vertex *vertices=0;
   int num_vertices=0;
   int g = stbtt__GetGlyfOffset(info, glyph_index);

   *pvertices = NULL;

   if (g < 0) return 0;

   numberOfContours = ttSHORT(data + g);

   if (numberOfContours > 0) {
      stbtt_uint8 flags=0,flagcount;
      stbtt_int32 ins, i,j=0,m,n, next_move, was_off=0, off, start_off=0;
      stbtt_int32 x,y,cx,cy,sx,sy, scx,scy;
      stbtt_uint8 *points;
      endPtsOfContours = (data + g + 10);
      ins = ttUSHORT(data + g + 10 + numberOfContours * 2);
      points = data + g + 10 + numberOfContours * 2 + 2 + ins;

      n = 1+ttUSHORT(endPtsOfContours + numberOfContours*2-2);

      m = n + 2*numberOfContours;  // a loose bound on how many vertices we might need
      vertices = (stbtt_vertex *) STBTT_malloc(m * sizeof(vertices[0]), info->userdata);
      if (vertices == 0)
         return 0;

      next_move = 0;
      flagcount=0;

      // in first pass, we load uninterpreted data into the allocated array
      // above, shifted to the end of the array so we won't overwrite it when
      // we create our final data starting from the front

      off = m - n; // starting offset for uninterpreted data, regardless of how m ends up being calculated

      // first load flags

      for (i=0; i < n; ++i) {
         if (flagcount == 0) {
            flags = *points++;
            if (flags & 8)
               flagcount = *points++;
         } else
            --flagcount;
         vertices[off+i].type = flags;
      }

      // now load x coordinates
      x=0;
      for (i=0; i < n; ++i) {
         flags = vertices[off+i].type;
         if (flags & 2) {
            stbtt_int16 dx = *points++;
            x += (flags & 16) ? dx : -dx; // ???
         } else {
            if (!(flags & 16)) {
               x = x + (stbtt_int16) (points[0]*256 + points[1]);
               points += 2;
            }
         }
         vertices[off+i].x = (stbtt_int16) x;
      }

      // now load y coordinates
      y=0;
      for (i=0; i < n; ++i) {
         flags = vertices[off+i].type;
         if (flags & 4) {
            stbtt_int16 dy = *points++;
            y += (flags & 32) ? dy : -dy; // ???
         } else {
            if (!(flags & 32)) {
               y = y + (stbtt_int16) (points[0]*256 + points[1]);
               points += 2;
            }
         }
         vertices[off+i].y = (stbtt_int16) y;
      }

      // now convert them to our format
      num_vertices=0;
      sx = sy = cx = cy = scx = scy = 0;
      for (i=0; i < n; ++i) {
         flags = vertices[off+i].type;
         x     = (stbtt_int16) vertices[off+i].x;
         y     = (stbtt_int16) vertices[off+i].y;

         if (next_move == i) {
            if (i != 0)
               num_vertices = stbtt__close_shape(vertices, num_vertices, was_off, start_off, sx,sy,scx,scy,cx,cy);

            // now start the new one               
            start_off = !(flags & 1);
            if (start_off) {
               // if we start off with an off-curve point, then when we need to find a point on the curve
               // where we can start, and we need to save some state for when we wraparound.
               scx = x;
               scy = y;
               if (!(vertices[off+i+1].type & 1)) {
                  // next point is also a curve point, so interpolate an on-point curve
                  sx = (x + (stbtt_int32) vertices[off+i+1].x) >> 1;
                  sy = (y + (stbtt_int32) vertices[off+i+1].y) >> 1;
               } else {
                  // otherwise just use the next point as our start point
                  sx = (stbtt_int32) vertices[off+i+1].x;
                  sy = (stbtt_int32) vertices[off+i+1].y;
                  ++i; // we're using point i+1 as the starting point, so skip it
               }
            } else {
               sx = x;
               sy = y;
            }
            stbtt_setvertex(&vertices[num_vertices++], STBTT_vmove,sx,sy,0,0);
            was_off = 0;
            next_move = 1 + ttUSHORT(endPtsOfContours+j*2);
            ++j;
         } else {
            if (!(flags & 1)) { // if it's a curve
               if (was_off) // two off-curve control points in a row means interpolate an on-curve midpoint
                  stbtt_setvertex(&vertices[num_vertices++], STBTT_vcurve, (cx+x)>>1, (cy+y)>>1, cx, cy);
               cx = x;
               cy = y;
               was_off = 1;
            } else {
               if (was_off)
                  stbtt_setvertex(&vertices[num_vertices++], STBTT_vcurve, x,y, cx, cy);
               else
                  stbtt_setvertex(&vertices[num_vertices++], STBTT_vline, x,y,0,0);
               was_off = 0;
            }
         }
      }
      num_vertices = stbtt__close_shape(vertices, num_vertices, was_off, start_off, sx,sy,scx,scy,cx,cy);
   } else if (numberOfContours == -1) {
      // Compound shapes.
      int more = 1;
      stbtt_uint8 *comp = data + g + 10;
      num_vertices = 0;
      vertices = 0;
      while (more) {
         stbtt_uint16 flags, gidx;
         int comp_num_verts = 0, i;
         stbtt_vertex *comp_verts = 0, *tmp = 0;
         float mtx[6] = {1,0,0,1,0,0}, m, n;
         
         flags = ttSHORT(comp); comp+=2;
         gidx = ttSHORT(comp); comp+=2;

         if (flags & 2) { // XY values
            if (flags & 1) { // shorts
               mtx[4] = ttSHORT(comp); comp+=2;
               mtx[5] = ttSHORT(comp); comp+=2;
            } else {
               mtx[4] = ttCHAR(comp); comp+=1;
               mtx[5] = ttCHAR(comp); comp+=1;
            }
         }
         else {
            // @TODO handle matching point
            STBTT_assert(0);
         }
         if (flags & (1<<3)) { // WE_HAVE_A_SCALE
            mtx[0] = mtx[3] = ttSHORT(comp)/16384.0f; comp+=2;
            mtx[1] = mtx[2] = 0;
         } else if (flags & (1<<6)) { // WE_HAVE_AN_X_AND_YSCALE
            mtx[0] = ttSHORT(comp)/16384.0f; comp+=2;
            mtx[1] = mtx[2] = 0;
            mtx[3] = ttSHORT(comp)/16384.0f; comp+=2;
         } else if (flags & (1<<7)) { // WE_HAVE_A_TWO_BY_TWO
            mtx[0] = ttSHORT(comp)/16384.0f; comp+=2;
            mtx[1] = ttSHORT(comp)/16384.0f; comp+=2;
            mtx[2] = ttSHORT(comp)/16384.0f; comp+=2;
            mtx[3] = ttSHORT(comp)/16384.0f; comp+=2;
         }
         
         // Find transformation scales.
         m = (float) STBTT_sqrt(mtx[0]*mtx[0] + mtx[1]*mtx[1]);
         n = (float) STBTT_sqrt(mtx[2]*mtx[2] + mtx[3]*mtx[3]);

         // Get indexed glyph.
         comp_num_verts = stbtt_GetGlyphShape(info, gidx, &comp_verts);
         if (comp_num_verts > 0) {
            // Transform vertices.
            for (i = 0; i < comp_num_verts; ++i) {
               stbtt_vertex* v = &comp_verts[i];
               stbtt_vertex_type x,y;
               x=v->x; y=v->y;
               v->x = (stbtt_vertex_type)(m * (mtx[0]*x + mtx[2]*y + mtx[4]));
               v->y = (stbtt_vertex_type)(n * (mtx[1]*x + mtx[3]*y + mtx[5]));
               x=v->cx; y=v->cy;
               v->cx = (stbtt_vertex_type)(m * (mtx[0]*x + mtx[2]*y + mtx[4]));
               v->cy = (stbtt_vertex_type)(n * (mtx[1]*x + mtx[3]*y + mtx[5]));
            }
            // Append vertices.
            tmp = (stbtt_vertex*)STBTT_malloc((num_vertices+comp_num_verts)*sizeof(stbtt_vertex), info->userdata);
            if (!tmp) {
               if (vertices) STBTT_free(vertices, info->userdata);
               if (comp_verts) STBTT_free(comp_verts, info->userdata);
               return 0;
            }
            if (num_vertices > 0) STBTT_memcpy(tmp, vertices, num_vertices*sizeof(stbtt_vertex));
            STBTT_memcpy(tmp+num_vertices, comp_verts, comp_num_verts*sizeof(stbtt_vertex));
            if (vertices) STBTT_free(vertices, info->userdata);
            vertices = tmp;
            STBTT_free(comp_verts, info->userdata);
            num_vertices += comp_num_verts;
         }
         // More components ?
         more = flags & (1<<5);
      }
   } else if (numberOfContours < 0) {
      // @TODO other compound variations?
      STBTT_assert(0);
   } else {
      // numberOfCounters == 0, do nothing
   }

   *pvertices = vertices;
   return num_vertices;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rdx, %r14
movq %rdi, %r15
movq 0x8(%rdi), %rbx
callq 0x2efa6
movq %r14, -0x88(%rbp)
andq $0x0, (%r14)
testl %eax, %eax
js 0x2f7a2
movl %eax, %eax
leaq (%rbx,%rax), %rdx
movzbl (%rbx,%rax), %ecx
shll $0x8, %ecx
movzbl 0x1(%rbx,%rax), %eax
orl %ecx, %eax
testw %ax, %ax
jle 0x2f403
xorl %r15d, %r15d
leal (%rax,%rax), %r14d
movzbl 0xa(%rdx,%r14), %r12d
movzbl 0xb(%rdx,%r14), %ecx
movq %rcx, -0x40(%rbp)
movzbl 0x8(%rdx,%r14), %ebx
shll $0x8, %ebx
movzbl 0x9(%rdx,%r14), %ecx
movq %rcx, -0x30(%rbp)
addl %ebx, %ecx
movq %rcx, -0x60(%rbp)
leal (%rcx,%rax,2), %eax
imull $0xa, %eax, %edi
addl $0xa, %edi
movq %rdx, %r13
callq 0x82c4
testq %rax, %rax
je 0x2f7a5
movq %rax, %rdi
leaq (%r14,%r13), %rax
addq $0xa, %rax
addq $0xa, %r13
movq %r13, -0x78(%rbp)
shll $0x8, %r12d
addq -0x40(%rbp), %r12
addq %r12, %rax
addq $0x2, %rax
movzwl %r14w, %edx
movq -0x30(%rbp), %rcx
addl %ebx, %ecx
incl %ecx
imulq $0xa, %rcx, %rcx
imulq $0xa, %rdx, %rdx
addq %rdi, %rdx
addq $0x8, %rdx
xorl %esi, %esi
xorl %r8d, %r8d
xorl %r9d, %r9d
cmpq %rsi, %rcx
je 0x2f13d
testb %r8b, %r8b
je 0x2f11a
decb %r8b
jmp 0x2f133
movb (%rax), %r9b
testb $0x8, %r9b
jne 0x2f12b
incq %rax
xorl %r8d, %r8d
jmp 0x2f133
movb 0x1(%rax), %r8b
addq $0x2, %rax
movb %r9b, (%rdx,%rsi)
addq $0xa, %rsi
jmp 0x2f10b
xorl %esi, %esi
xorl %r11d, %r11d
cmpq %rsi, %rcx
je 0x2f18e
movzbl (%rdx,%rsi), %r8d
testb $0x2, %r8b
jne 0x2f16a
testb $0x10, %r8b
jne 0x2f182
movzwl (%rax), %r8d
rolw $0x8, %r8w
addl %r8d, %r11d
addq $0x2, %rax
jmp 0x2f182
movzbl (%rax), %r9d
incq %rax
movl %r9d, %r10d
negl %r10d
testb $0x10, %r8b
cmovnel %r9d, %r10d
addl %r10d, %r11d
movw %r11w, -0x8(%rdx,%rsi)
addq $0xa, %rsi
jmp 0x2f142
xorl %esi, %esi
xorl %r11d, %r11d
cmpq %rsi, %rcx
je 0x2f1df
movzbl (%rdx,%rsi), %r8d
testb $0x4, %r8b
jne 0x2f1bb
testb $0x20, %r8b
jne 0x2f1d3
movzwl (%rax), %r8d
rolw $0x8, %r8w
addl %r8d, %r11d
addq $0x2, %rax
jmp 0x2f1d3
movzbl (%rax), %r9d
incq %rax
movl %r9d, %r10d
negl %r10d
testb $0x20, %r8b
cmovnel %r9d, %r10d
addl %r10d, %r11d
movw %r11w, -0x6(%rdx,%rsi)
addq $0xa, %rsi
jmp 0x2f193
xorl %edx, %edx
movl $0x0, -0x70(%rbp)
movq $0x0, -0x38(%rbp)
movq $0x0, -0x48(%rbp)
xorl %r8d, %r8d
xorl %r9d, %r9d
movq $0x0, -0x40(%rbp)
movq $0x0, -0x68(%rbp)
xorl %ecx, %ecx
movq $0x0, -0x58(%rbp)
xorl %eax, %eax
xorl %esi, %esi
movq %rdi, -0x30(%rbp)
movq %r14, -0x50(%rbp)
cmpl -0x60(%rbp), %eax
jg 0x2f3df
leal (%rax,%r14), %r10d
movslq %r10d, %r10
imulq $0xa, %r10, %r14
movzbl 0x8(%rdi,%r14), %r13d
movzwl (%rdi,%r14), %r10d
movzwl 0x2(%rdi,%r14), %ebx
movswl %r10w, %r12d
movswl %bx, %r15d
cmpl %eax, %ecx
jne 0x2f29a
movl %ecx, %ebx
testl %ecx, %ecx
je 0x2f275
movl -0x70(%rbp), %ecx
pushq -0x48(%rbp)
pushq -0x38(%rbp)
pushq -0x68(%rbp)
pushq -0x40(%rbp)
callq 0x2f7f5
addq $0x20, %rsp
movl %eax, %esi
movq -0x78(%rbp), %rdx
andl $0x1, %r13d
je 0x2f327
movl %r12d, %r8d
movl %r15d, %r9d
movq -0x40(%rbp), %r12
movq -0x68(%rbp), %r15
movq -0x30(%rbp), %rdi
jmp 0x2f386
movslq %esi, %r11
testb $0x1, %r13b
jne 0x2f2fa
testl %edx, %edx
movq -0x50(%rbp), %r14
je 0x2f34d
incl %esi
imulq $0xa, %r11, %rdx
movq -0x38(%rbp), %rbx
leal (%rbx,%r12), %r11d
shrl %r11d
movq -0x48(%rbp), %r13
leal (%r15,%r13), %r10d
shrl %r10d
movq -0x30(%rbp), %rdi
movb $0x3, 0x8(%rdi,%rdx)
movw %r11w, (%rdi,%rdx)
movw %r10w, 0x2(%rdi,%rdx)
movw %bx, 0x4(%rdi,%rdx)
movw %r13w, 0x6(%rdi,%rdx)
pushq $0x1
popq %rdx
movq %r12, -0x38(%rbp)
movq %r15, -0x48(%rbp)
jmp 0x2f3d8
imulq $0xa, %r11, %r11
addq -0x30(%rbp), %r11
testl %edx, %edx
movq -0x50(%rbp), %r14
je 0x2f35a
movb $0x3, 0x8(%r11)
movw %r10w, (%r11)
movw %bx, 0x2(%r11)
movq -0x38(%rbp), %rdx
movw %dx, 0x4(%r11)
movq -0x48(%rbp), %rdx
jmp 0x2f370
movq -0x30(%rbp), %rdi
addq %rdi, %r14
movswl 0xa(%r14), %r8d
testb $0x1, 0x12(%r14)
jne 0x2f37f
addl %r12d, %r8d
sarl %r8d
movswl 0xc(%r14), %r9d
addl %r15d, %r9d
sarl %r9d
jmp 0x2f386
pushq $0x1
popq %rdx
movq %r12, -0x38(%rbp)
movq %r15, -0x48(%rbp)
jmp 0x2f379
movb $0x2, 0x8(%r11)
movw %r10w, (%r11)
movw %bx, 0x2(%r11)
andw $0x0, 0x4(%r11)
xorl %edx, %edx
movw %dx, 0x6(%r11)
incl %esi
xorl %edx, %edx
movq -0x30(%rbp), %rdi
jmp 0x2f3d8
movswl 0xc(%r14), %r9d
incl %ebx
movl %ebx, %eax
xorl $0x1, %r13d
movslq %esi, %rcx
imulq $0xa, %rcx, %rcx
movb $0x1, 0x8(%rdi,%rcx)
movw %r8w, (%rdi,%rcx)
movw %r9w, 0x2(%rdi,%rcx)
andl $0x0, 0x4(%rdi,%rcx)
movq -0x58(%rbp), %r10
movslq %r10d, %r10
movzwl (%rdx,%r10,2), %ecx
rolw $0x8, %cx
incl %esi
movzwl %cx, %ecx
incl %ecx
incl %r10d
movq %r10, -0x58(%rbp)
xorl %edx, %edx
movl %r13d, -0x70(%rbp)
movq %r12, -0x40(%rbp)
movq %r15, -0x68(%rbp)
movq -0x50(%rbp), %r14
incl %eax
jmp 0x2f224
movl -0x70(%rbp), %ecx
pushq -0x48(%rbp)
pushq -0x38(%rbp)
pushq -0x68(%rbp)
pushq -0x40(%rbp)
callq 0x2f7f5
movq -0x30(%rbp), %r13
addq $0x20, %rsp
movl %eax, %r15d
jmp 0x2f77c
cmpw $-0x1, %ax
je 0x2f41d
testw %cx, %cx
js 0x2f7d6
xorl %r15d, %r15d
xorl %r13d, %r13d
jmp 0x2f77c
addq $0xa, %rdx
xorl %r14d, %r14d
pushq $0x1
popq %rbx
xorl %r13d, %r13d
movq %r15, -0x70(%rbp)
testl %ebx, %ebx
je 0x2f779
andq $0x0, -0x80(%rbp)
movzbl 0x1(%rdx), %ebx
testb $0x2, %bl
je 0x2f7b7
movzbl 0x4(%rdx), %eax
testb $0x1, %bl
jne 0x2f464
movsbl %al, %eax
cvtsi2ss %eax, %xmm0
movsbl 0x5(%rdx), %eax
cvtsi2ss %eax, %xmm1
pushq $0x6
jmp 0x2f486
movzwl %ax, %eax
shll $0x8, %eax
movzbl 0x5(%rdx), %ecx
orl %eax, %ecx
movswl %cx, %eax
cvtsi2ss %eax, %xmm0
movzwl 0x6(%rdx), %eax
rolw $0x8, %ax
cwtl
cvtsi2ss %eax, %xmm1
pushq $0x8
popq %rcx
addq %rdx, %rcx
testb $0x8, %bl
movss %xmm0, -0x40(%rbp)
movss %xmm1, -0x68(%rbp)
jne 0x2f4d1
testb $0x40, %bl
jne 0x2f509
testb %bl, %bl
js 0x2f553
xorps %xmm2, %xmm2
movss %xmm2, -0x50(%rbp)
movq %rcx, -0x30(%rbp)
movss 0x6ed6(%rip), %xmm0     # 0x36390
movss %xmm0, -0x58(%rbp)
xorps %xmm1, %xmm1
movss %xmm1, -0x38(%rbp)
movss %xmm0, -0x60(%rbp)
jmp 0x2f5ba
movzwl (%rcx), %eax
rolw $0x8, %ax
cwtl
cvtsi2ss %eax, %xmm1
mulss 0xc507(%rip), %xmm1     # 0x3b9ec
addq $0x2, %rcx
movq %rcx, -0x30(%rbp)
xorps %xmm0, %xmm0
movss %xmm0, -0x50(%rbp)
movss %xmm0, -0x38(%rbp)
movss %xmm1, -0x58(%rbp)
movss %xmm1, -0x60(%rbp)
jmp 0x2f5ba
movzwl (%rcx), %eax
rolw $0x8, %ax
cwtl
cvtsi2ss %eax, %xmm1
movzwl 0x2(%rcx), %eax
movss 0xc4cb(%rip), %xmm0     # 0x3b9ec
mulss %xmm0, %xmm1
movss %xmm1, -0x60(%rbp)
rolw $0x8, %ax
cwtl
cvtsi2ss %eax, %xmm1
mulss %xmm0, %xmm1
movss %xmm1, -0x58(%rbp)
addq $0x4, %rcx
movq %rcx, -0x30(%rbp)
xorps %xmm0, %xmm0
movss %xmm0, -0x50(%rbp)
movss %xmm0, -0x38(%rbp)
jmp 0x2f5ba
movzwl (%rcx), %eax
rolw $0x8, %ax
cwtl
cvtsi2ss %eax, %xmm1
movzwl 0x2(%rcx), %eax
rolw $0x8, %ax
cwtl
cvtsi2ss %eax, %xmm3
movzwl 0x4(%rcx), %eax
rolw $0x8, %ax
cwtl
cvtsi2ss %eax, %xmm2
movss 0xc46b(%rip), %xmm0     # 0x3b9ec
mulss %xmm0, %xmm1
movss %xmm1, -0x60(%rbp)
movzwl 0x6(%rcx), %eax
rolw $0x8, %ax
cwtl
cvtsi2ss %eax, %xmm1
mulss %xmm0, %xmm3
movss %xmm3, -0x38(%rbp)
mulss %xmm0, %xmm2
movss %xmm2, -0x50(%rbp)
mulss %xmm0, %xmm1
movss %xmm1, -0x58(%rbp)
addq $0x8, %rcx
movq %rcx, -0x30(%rbp)
movzwl 0x2(%rdx), %eax
rolw $0x8, %ax
movzwl %ax, %esi
movq %r15, %rdi
leaq -0x80(%rbp), %rdx
callq 0x2f02c
testl %eax, %eax
jle 0x2f767
movl %eax, %r12d
movl %ebx, -0x48(%rbp)
movss -0x38(%rbp), %xmm11
movaps %xmm11, %xmm0
mulss %xmm11, %xmm0
movss -0x60(%rbp), %xmm8
movaps %xmm8, %xmm1
mulss %xmm8, %xmm1
addss %xmm0, %xmm1
sqrtss %xmm1, %xmm0
movss -0x58(%rbp), %xmm10
movaps %xmm10, %xmm1
mulss %xmm10, %xmm1
movss -0x50(%rbp), %xmm9
movaps %xmm9, %xmm2
mulss %xmm9, %xmm2
addss %xmm1, %xmm2
sqrtss %xmm2, %xmm1
movq -0x80(%rbp), %rbx
movl %eax, %eax
imulq $0xa, %rax, %r15
xorl %eax, %eax
movss -0x40(%rbp), %xmm6
movss -0x68(%rbp), %xmm7
cmpq %rax, %r15
je 0x2f6fd
movswl (%rbx,%rax), %ecx
cvtsi2ss %ecx, %xmm2
movswl 0x2(%rbx,%rax), %ecx
cvtsi2ss %ecx, %xmm3
movaps %xmm9, %xmm4
mulss %xmm3, %xmm4
movaps %xmm8, %xmm5
mulss %xmm2, %xmm5
addss %xmm4, %xmm5
addss %xmm6, %xmm5
mulss %xmm0, %xmm5
cvttss2si %xmm5, %ecx
movw %cx, (%rbx,%rax)
mulss %xmm10, %xmm3
mulss %xmm11, %xmm2
addss %xmm3, %xmm2
addss %xmm7, %xmm2
mulss %xmm1, %xmm2
cvttss2si %xmm2, %ecx
movw %cx, 0x2(%rbx,%rax)
movswl 0x4(%rbx,%rax), %ecx
cvtsi2ss %ecx, %xmm2
movswl 0x6(%rbx,%rax), %ecx
cvtsi2ss %ecx, %xmm3
movaps %xmm9, %xmm4
mulss %xmm3, %xmm4
movaps %xmm8, %xmm5
mulss %xmm2, %xmm5
addss %xmm4, %xmm5
addss %xmm6, %xmm5
mulss %xmm0, %xmm5
cvttss2si %xmm5, %ecx
movw %cx, 0x4(%rbx,%rax)
mulss %xmm10, %xmm3
mulss %xmm11, %xmm2
addss %xmm3, %xmm2
addss %xmm7, %xmm2
mulss %xmm1, %xmm2
cvttss2si %xmm2, %ecx
movw %cx, 0x6(%rbx,%rax)
addq $0xa, %rax
jmp 0x2f641
addl %r14d, %r12d
imulq $0xa, %r12, %rdi
callq 0x82c4
testq %rax, %rax
je 0x2f788
movq %r14, %rcx
movq %rax, %r14
movl %ecx, %eax
testl %ecx, %ecx
jle 0x2f731
imulq $0xa, %rax, %rdx
movq %r14, %rdi
movq %r13, %rsi
movq %rax, -0x40(%rbp)
callq 0x7080
movq -0x40(%rbp), %rax
imulq $0xa, %rax, %rax
movq %r14, %rdi
addq %rax, %rdi
movq %rbx, %rsi
movq %r15, %rdx
callq 0x7080
testq %r13, %r13
je 0x2f753
movq %r13, %rdi
callq 0x8d0c
movq %rbx, %rdi
callq 0x8d0c
movq %r14, %r13
movq -0x70(%rbp), %r15
movl -0x48(%rbp), %ebx
jmp 0x2f76a
movl %r14d, %r12d
andl $0x20, %ebx
movq -0x30(%rbp), %rdx
movl %r12d, %r14d
jmp 0x2f42e
movq %r14, %r15
movq -0x88(%rbp), %rax
movq %r13, (%rax)
jmp 0x2f7a5
testq %r13, %r13
je 0x2f795
movq %r13, %rdi
callq 0x8d0c
testq %rbx, %rbx
je 0x2f7a2
movq %rbx, %rdi
callq 0x8d0c
xorl %r15d, %r15d
movl %r15d, %eax
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x8471(%rip), %rdi      # 0x37c2f
leaq 0x10730(%rip), %rsi     # 0x3fef5
leaq 0x10913(%rip), %rcx     # 0x400df
movl $0x570, %edx            # imm = 0x570
callq 0x7140
leaq 0x8452(%rip), %rdi      # 0x37c2f
leaq 0x10711(%rip), %rsi     # 0x3fef5
leaq 0x108f4(%rip), %rcx     # 0x400df
movl $0x5a5, %edx            # imm = 0x5A5
callq 0x7140