LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O3/Ciaxur[P]yagb-emu/include/imgui/imgui_draw.cpp
// Function: ImFont::GrowIndex(int)
void ImFont::GrowIndex(int new_size)
{
    IM_ASSERT(IndexAdvanceX.Size == IndexLookup.Size);
    if (new_size <= IndexLookup.Size)
        return;
    IndexAdvanceX.resize(new_size, -1.0f);
    IndexLookup.resize(new_size, (ImWchar)-1);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl (%rdi), %eax
cmpl 0x18(%rdi), %eax
jne 0x816c9
movl %esi, %ebx
cmpl %esi, %eax
jge 0x816ba
movq %rdi, %r14
movl 0x4(%rdi), %ecx
cmpl %ebx, %ecx
jge 0x8161b
testl %ecx, %ecx
je 0x815d3
movl %ecx, %r12d
shrl $0x1f, %r12d
addl %ecx, %r12d
sarl %r12d
addl %ecx, %r12d
jmp 0x815d9
movl $0x8, %r12d
cmpl %ebx, %r12d
cmovlel %ebx, %r12d
movslq %r12d, %rdi
shlq $0x2, %rdi
callq 0x41c63
movq %rax, %r15
movq 0x8(%r14), %rsi
testq %rsi, %rsi
je 0x81610
movslq (%r14), %rdx
shlq $0x2, %rdx
movq %r15, %rdi
callq 0xc080
movq 0x8(%r14), %rdi
callq 0x41d3c
movq %r15, 0x8(%r14)
movl %r12d, 0x4(%r14)
movl (%r14), %eax
movslq %ebx, %r12
cmpl %ebx, %eax
jge 0x81637
cltq
movq 0x8(%r14), %rcx
movl $0xbf800000, (%rcx,%rax,4) # imm = 0xBF800000
incq %rax
cmpq %rax, %r12
jne 0x81624
movl %ebx, (%r14)
movl 0x1c(%r14), %eax
cmpl %ebx, %eax
jge 0x8169c
testl %eax, %eax
je 0x81658
movl %eax, %r13d
shrl $0x1f, %r13d
addl %eax, %r13d
sarl %r13d
addl %eax, %r13d
jmp 0x8165e
movl $0x8, %r13d
cmpl %ebx, %r13d
cmovlel %ebx, %r13d
movslq %r13d, %rdi
addq %rdi, %rdi
callq 0x41c63
movq %rax, %r15
movq 0x20(%r14), %rsi
testq %rsi, %rsi
je 0x81694
movslq 0x18(%r14), %rdx
addq %rdx, %rdx
movq %r15, %rdi
callq 0xc080
movq 0x20(%r14), %rdi
callq 0x41d3c
movq %r15, 0x20(%r14)
movl %r13d, 0x1c(%r14)
movslq 0x18(%r14), %rax
cmpl %ebx, %eax
jge 0x816b6
movq 0x20(%r14), %rcx
movw $0xffff, (%rcx,%rax,2)  # imm = 0xFFFF
incq %rax
cmpq %rax, %r12
jne 0x816a4
movl %ebx, 0x18(%r14)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x4c627(%rip), %rdi     # 0xcdcf7
leaq 0x4bacf(%rip), %rsi     # 0xcd1a6
leaq 0x4c640(%rip), %rcx     # 0xcdd1e
movl $0xb9d, %edx            # imm = 0xB9D
callq 0xc140
// File: /workspace/github_cpp_makefile_star2_O3/Ciaxur[P]yagb-emu/include/imgui/imgui_draw.cpp
// Function: ImFont::FindGlyph(unsigned short) const
const ImFontGlyph* ImFont::FindGlyph(ImWchar c) const
{
    if (c >= (size_t)IndexLookup.Size)
        return FallbackGlyph;
    const ImWchar i = IndexLookup.Data[c];
    if (i == (ImWchar)-1)
        return FallbackGlyph;
    return &Glyphs.Data[i];
}

// Assembly:
movl %esi, %eax
movslq 0x18(%rdi), %rcx
cmpq %rcx, %rax
jae 0x8170d
pushq %rbp
movq %rsp, %rbp
movq 0x20(%rdi), %rcx
movzwl (%rcx,%rax,2), %eax
cmpq $0xffff, %rax           # imm = 0xFFFF
jne 0x81712
movq 0x38(%rdi), %rax
jmp 0x8171d
movq 0x38(%rdi), %rax
retq
leaq (%rax,%rax,4), %rax
shll $0x3, %eax
addq 0x30(%rdi), %rax
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/Ciaxur[P]yagb-emu/include/imgui/imgui_draw.cpp
// Function: ImFont::IsGlyphRangeUnused(unsigned int, unsigned int)
bool ImFont::IsGlyphRangeUnused(unsigned int c_begin, unsigned int c_last)
{
    unsigned int page_begin = (c_begin / 4096);
    unsigned int page_last = (c_last / 4096);
    for (unsigned int page_n = page_begin; page_n <= page_last; page_n++)
        if ((page_n >> 3) < sizeof(Used4kPagesMap))
            if (Used4kPagesMap[page_n >> 3] & (1 << (page_n & 7)))
                return false;
    return true;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
shrl $0xc, %esi
shrl $0xc, %edx
movb $0x1, %al
cmpl %edx, %esi
ja 0x817ad
leal 0x1(%rdx), %ecx
xorl %eax, %eax
cmpl $0xf, %esi
ja 0x8179c
movl %esi, %r8d
shrl $0x3, %r8d
movzbl 0x68(%rdi,%r8), %r8d
movl %esi, %r9d
andl $0x7, %r9d
btl %r9d, %r8d
jb 0x817ad
cmpl %edx, %esi
leal 0x1(%rsi), %r8d
setae %al
movl %r8d, %esi
cmpl %r8d, %ecx
jne 0x8177d
andb $0x1, %al
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/Ciaxur[P]yagb-emu/include/imgui/imgui_draw.cpp
// Function: ImFont::AddRemapChar(unsigned short, unsigned short, bool)
void ImFont::AddRemapChar(ImWchar dst, ImWchar src, bool overwrite_dst)
{
    IM_ASSERT(IndexLookup.Size > 0);    // Currently this can only be called AFTER the font has been built, aka after calling ImFontAtlas::GetTexDataAs*() function.
    unsigned int index_size = (unsigned int)IndexLookup.Size;

    if (dst < index_size && IndexLookup.Data[dst] == (ImWchar)-1 && !overwrite_dst) // 'dst' already exists
        return;
    if (src >= index_size && dst >= index_size) // both 'dst' and 'src' don't exist -> no-op
        return;

    GrowIndex(dst + 1);
    IndexLookup[dst] = (src < index_size) ? IndexLookup.Data[src] : (ImWchar)-1;
    IndexAdvanceX[dst] = (src < index_size) ? IndexAdvanceX.Data[src] : 1.0f;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl 0x18(%rdi), %r12d
testl %r12d, %r12d
jle 0x81885
movl %edx, %r14d
movq %rdi, %rbx
movzwl %si, %r15d
cmpl %r15d, %r12d
jbe 0x81832
movq 0x20(%rbx), %rax
cmpw $-0x1, (%rax,%r15,2)
sete %al
xorb $0x1, %cl
testb %cl, %al
jne 0x81876
movzwl %r14w, %r13d
leal 0x1(%r15), %esi
movq %rbx, %rdi
callq 0x81590
cmpl %r13d, %r12d
ja 0x81847
cmpl %r15d, 0x18(%rbx)
jle 0x818a4
movq 0x20(%rbx), %rax
movw $0xffff, (%rax,%r15,2)  # imm = 0xFFFF
movss 0x337b4(%rip), %xmm0    # 0xb4fe4
jmp 0x81867
movzwl %r14w, %eax
cmpl %eax, %r12d
jbe 0x81876
leal 0x1(%r15), %esi
movq %rbx, %rdi
callq 0x81590
cmpl %r15d, 0x18(%rbx)
jle 0x818a4
movq 0x20(%rbx), %rax
movzwl %r14w, %ecx
movzwl (%rax,%rcx,2), %edx
movw %dx, (%rax,%r15,2)
movq 0x8(%rbx), %rax
movss (%rax,%rcx,4), %xmm0
cmpl %r15d, (%rbx)
jle 0x818bb
movq 0x8(%rbx), %rax
movss %xmm0, (%rax,%r15,4)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x4c4ae(%rip), %rdi     # 0xcdd3a
leaq 0x4b913(%rip), %rsi     # 0xcd1a6
leaq 0x4c4b5(%rip), %rcx     # 0xcdd4f
movl $0xbd4, %edx            # imm = 0xBD4
callq 0xc140
leaq 0x37dcd(%rip), %rdi     # 0xb9678
leaq 0x37dd9(%rip), %rsi     # 0xb968b
leaq 0x4d0db(%rip), %rcx     # 0xce994
jmp 0x818d0
leaq 0x37db6(%rip), %rdi     # 0xb9678
leaq 0x37dc2(%rip), %rsi     # 0xb968b
leaq 0x4d4ed(%rip), %rcx     # 0xcedbd
movl $0x65c, %edx            # imm = 0x65C
callq 0xc140
// File: /workspace/github_cpp_makefile_star2_O3/Ciaxur[P]yagb-emu/include/imgui/imgui_draw.cpp
// Function: ImFont::RenderChar(ImDrawList*, float, ImVec2, unsigned int, unsigned short) const
void ImFont::RenderChar(ImDrawList* draw_list, float size, ImVec2 pos, ImU32 col, ImWchar c) const
{
    const ImFontGlyph* glyph = FindGlyph(c);
    if (!glyph || !glyph->Visible)
        return;
    float scale = (size >= 0.0f) ? (size / FontSize) : 1.0f;
    pos.x = IM_FLOOR(pos.x);
    pos.y = IM_FLOOR(pos.y);
    draw_list->PrimReserve(6, 4);
    draw_list->PrimRectUV(ImVec2(pos.x + glyph->X0 * scale, pos.y + glyph->Y0 * scale), ImVec2(pos.x + glyph->X1 * scale, pos.y + glyph->Y1 * scale), ImVec2(glyph->U0, glyph->V0), ImVec2(glyph->U1, glyph->V1), col);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x58, %rsp
movl %edx, %ebx
movq %rsi, %r14
movl %ecx, %eax
movslq 0x18(%rdi), %rcx
cmpq %rcx, %rax
jae 0x81ccf
movq 0x20(%rdi), %rcx
movzwl (%rcx,%rax,2), %eax
cmpq $0xffff, %rax           # imm = 0xFFFF
jne 0x81cd5
movq 0x38(%rdi), %r15
jmp 0x81ce1
leaq (%rax,%rax,4), %r15
shll $0x3, %r15d
addq 0x30(%rdi), %r15
testq %r15, %r15
je 0x81dc0
cmpl $0x0, (%r15)
jns 0x81dc0
movaps %xmm0, %xmm2
divss 0x14(%rdi), %xmm2
xorps %xmm3, %xmm3
cmpnless %xmm0, %xmm3
movss 0x332d8(%rip), %xmm0    # 0xb4fe4
andps %xmm3, %xmm0
andnps %xmm2, %xmm3
orps %xmm3, %xmm0
movaps %xmm0, -0x40(%rbp)
cvttps2dq %xmm1, %xmm0
cvtdq2ps %xmm0, %xmm0
movaps %xmm0, -0x30(%rbp)
shufps $0x55, %xmm1, %xmm1     # xmm1 = xmm1[1,1,1,1]
cvttps2dq %xmm1, %xmm0
cvtdq2ps %xmm0, %xmm0
movaps %xmm0, -0x50(%rbp)
movq %r14, %rdi
movl $0x6, %esi
movl $0x4, %edx
callq 0x75e52
movss 0x8(%r15), %xmm0
movaps -0x40(%rbp), %xmm2
mulss %xmm2, %xmm0
movaps -0x30(%rbp), %xmm3
addss %xmm3, %xmm0
movss 0xc(%r15), %xmm1
mulss %xmm2, %xmm1
movaps -0x50(%rbp), %xmm4
addss %xmm4, %xmm1
leaq -0x70(%rbp), %rsi
movss %xmm0, (%rsi)
movss %xmm1, 0x4(%rsi)
movss 0x10(%r15), %xmm0
mulss %xmm2, %xmm0
addss %xmm3, %xmm0
mulss 0x14(%r15), %xmm2
addss %xmm4, %xmm2
leaq -0x68(%rbp), %rdx
movss %xmm0, (%rdx)
movss %xmm2, 0x4(%rdx)
movq 0x18(%r15), %rax
leaq -0x60(%rbp), %rcx
movq %rax, (%rcx)
movq 0x20(%r15), %rax
leaq -0x58(%rbp), %r8
movq %rax, (%r8)
movq %r14, %rdi
movl %ebx, %r9d
callq 0x760d2
addq $0x58, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/Ciaxur[P]yagb-emu/include/imgui/imgui_draw.cpp
// Function: ImGui::RenderArrowPointingAt(ImDrawList*, ImVec2, ImVec2, int, unsigned int)
void ImGui::RenderArrowPointingAt(ImDrawList* draw_list, ImVec2 pos, ImVec2 half_sz, ImGuiDir direction, ImU32 col)
{
    switch (direction)
    {
    case ImGuiDir_Left:  draw_list->AddTriangleFilled(ImVec2(pos.x + half_sz.x, pos.y - half_sz.y), ImVec2(pos.x + half_sz.x, pos.y + half_sz.y), pos, col); return;
    case ImGuiDir_Right: draw_list->AddTriangleFilled(ImVec2(pos.x - half_sz.x, pos.y + half_sz.y), ImVec2(pos.x - half_sz.x, pos.y - half_sz.y), pos, col); return;
    case ImGuiDir_Up:    draw_list->AddTriangleFilled(ImVec2(pos.x + half_sz.x, pos.y + half_sz.y), ImVec2(pos.x - half_sz.x, pos.y + half_sz.y), pos, col); return;
    case ImGuiDir_Down:  draw_list->AddTriangleFilled(ImVec2(pos.x - half_sz.x, pos.y - half_sz.y), ImVec2(pos.x + half_sz.x, pos.y - half_sz.y), pos, col); return;
    case ImGuiDir_None: case ImGuiDir_COUNT: break; // Fix warnings
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movlps %xmm0, -0x8(%rbp)
cmpl $0x3, %esi
ja 0x82576
movl %edx, %r8d
movaps %xmm0, %xmm2
shufps $0x55, %xmm0, %xmm2     # xmm2 = xmm2[1,1],xmm0[1,1]
movl %esi, %eax
leaq 0x44531(%rip), %rcx     # 0xc69f4
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movaps %xmm1, %xmm3
addss %xmm0, %xmm3
shufps $0x55, %xmm1, %xmm1     # xmm1 = xmm1[1,1,1,1]
movaps %xmm2, %xmm0
subss %xmm1, %xmm0
leaq -0x18(%rbp), %rsi
movss %xmm3, (%rsi)
movss %xmm0, 0x4(%rsi)
addss %xmm2, %xmm1
leaq -0x10(%rbp), %rdx
movss %xmm3, (%rdx)
movss %xmm1, 0x4(%rdx)
jmp 0x8256d
movaps %xmm1, %xmm2
addps %xmm0, %xmm2
leaq -0x18(%rbp), %rsi
movss %xmm2, (%rsi)
shufps $0x55, %xmm2, %xmm2     # xmm2 = xmm2[1,1,1,1]
movss %xmm2, 0x4(%rsi)
subss %xmm1, %xmm0
jmp 0x82560
movaps %xmm0, %xmm2
subps %xmm1, %xmm2
leaq -0x18(%rbp), %rsi
movss %xmm2, (%rsi)
shufps $0x55, %xmm2, %xmm2     # xmm2 = xmm2[1,1,1,1]
movss %xmm2, 0x4(%rsi)
addss %xmm0, %xmm1
leaq -0x10(%rbp), %rdx
movss %xmm1, (%rdx)
jmp 0x82568
subss %xmm1, %xmm0
shufps $0x55, %xmm1, %xmm1     # xmm1 = xmm1[1,1,1,1]
movaps %xmm1, %xmm3
addss %xmm2, %xmm3
leaq -0x18(%rbp), %rsi
movss %xmm0, (%rsi)
movss %xmm3, 0x4(%rsi)
subss %xmm1, %xmm2
leaq -0x10(%rbp), %rdx
movss %xmm0, (%rdx)
movss %xmm2, 0x4(%rdx)
leaq -0x8(%rbp), %rcx
callq 0x78ed6
addq $0x20, %rsp
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/Ciaxur[P]yagb-emu/include/imgui/imstb_truetype.h
// Function: stbtt__find_table(unsigned char*, unsigned int, char const*)
static stbtt_uint32 stbtt__find_table(stbtt_uint8 *data, stbtt_uint32 fontstart, const char *tag)
{
   stbtt_int32 num_tables = ttUSHORT(data+fontstart+4);
   stbtt_uint32 tabledir = fontstart + 12;
   stbtt_int32 i;
   for (i=0; i < num_tables; ++i) {
      stbtt_uint32 loc = tabledir + 16*i;
      if (stbtt_tag(data+loc+0, tag))
         return ttULONG(data+loc+8);
   }
   return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movl %esi, %eax
movzwl 0x4(%rdi,%rax), %ecx
rolw $0x8, %cx
xorl %eax, %eax
testw %cx, %cx
je 0x833f7
movzwl %cx, %r8d
movsbl (%rdx), %ecx
movl %r8d, %r8d
addl $0xc, %esi
movl %esi, %esi
movzbl (%rdi,%rsi), %r9d
cmpl %ecx, %r9d
jne 0x833ef
movzbl 0x1(%rdi,%rsi), %r9d
movsbl 0x1(%rdx), %r10d
cmpl %r10d, %r9d
jne 0x833ef
movzbl 0x2(%rdi,%rsi), %r9d
movsbl 0x2(%rdx), %r10d
cmpl %r10d, %r9d
jne 0x833ef
movzbl 0x3(%rdi,%rsi), %r9d
movsbl 0x3(%rdx), %r10d
cmpl %r10d, %r9d
je 0x833f9
addl $0x10, %esi
decq %r8
jne 0x833b3
popq %rbp
retq
movl 0x8(%rdi,%rsi), %eax
bswapl %eax
jmp 0x833f7
// File: /workspace/github_cpp_makefile_star2_O3/Ciaxur[P]yagb-emu/include/imgui/imstb_truetype.h
// Function: stbtt__cff_get_index(stbtt__buf*)
static stbtt__buf stbtt__cff_get_index(stbtt__buf *b)
{
   int count, start, offsize;
   start = b->cursor;
   count = stbtt__buf_get16(b);
   if (count) {
      offsize = stbtt__buf_get8(b);
      STBTT_assert(offsize >= 1 && offsize <= 4);
      stbtt__buf_skip(b, offsize * count);
      stbtt__buf_skip(b, stbtt__buf_get(b, offsize) - 1);
   }
   return stbtt__buf_range(b, start, b->cursor - start);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movl 0x8(%rdi), %r14d
movl 0xc(%rdi), %ecx
xorl %esi, %esi
movl $0x2, %edx
movl %r14d, %eax
cmpl %ecx, %eax
jge 0x83466
movq (%rbx), %rdi
movslq %eax, %r8
incl %eax
movl %eax, 0x8(%rbx)
movzbl (%rdi,%r8), %edi
jmp 0x83468
xorl %edi, %edi
shll $0x8, %esi
orl %edi, %esi
decl %edx
jne 0x83450
testl %esi, %esi
je 0x834db
cmpl %ecx, %eax
jge 0x83520
movq (%rbx), %rcx
leal 0x1(%rax), %edx
movl %edx, 0x8(%rbx)
cltq
movzbl (%rcx,%rax), %r15d
leal -0x1(%r15), %eax
cmpb $0x4, %al
jae 0x83520
imull %r15d, %esi
movq %rbx, %rdi
callq 0x83401
movl 0x8(%rbx), %ecx
movl 0xc(%rbx), %eax
xorl %esi, %esi
cmpl %eax, %ecx
jge 0x834c2
movq (%rbx), %rdx
movslq %ecx, %rdi
incl %ecx
movl %ecx, 0x8(%rbx)
movzbl (%rdx,%rdi), %edx
jmp 0x834c4
xorl %edx, %edx
shll $0x8, %esi
orl %edx, %esi
decl %r15d
jne 0x834ad
decl %esi
movq %rbx, %rdi
callq 0x83401
movl 0x8(%rbx), %eax
movl %eax, %ecx
subl %r14d, %ecx
movl %ecx, %edx
orl %r14d, %edx
js 0x83511
movl 0xc(%rbx), %edx
cmpl %r14d, %edx
setl %sil
cmpl %eax, %edx
setl %dl
xorl %eax, %eax
orb %sil, %dl
movl $0x0, %edx
jne 0x83515
movq (%rbx), %rax
addq %r14, %rax
shlq $0x20, %rcx
movq %rcx, %rdx
jmp 0x83515
xorl %eax, %eax
xorl %edx, %edx
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
leaq 0x4aa2a(%rip), %rdi     # 0xcdf51
leaq 0x4a9c4(%rip), %rsi     # 0xcdef2
leaq 0x4aa39(%rip), %rcx     # 0xcdf6e
movl $0x49c, %edx            # imm = 0x49C
callq 0xc140
// File: /workspace/github_cpp_makefile_star2_O3/Ciaxur[P]yagb-emu/include/imgui/imstb_truetype.h
// Function: stbtt__cff_index_get(stbtt__buf, int)
static stbtt__buf stbtt__cff_index_get(stbtt__buf b, int i)
{
   int count, offsize, start, end;
   stbtt__buf_seek(&b, 0);
   count = stbtt__buf_get16(&b);
   offsize = stbtt__buf_get8(&b);
   STBTT_assert(i >= 0 && i < count);
   STBTT_assert(offsize >= 1 && offsize <= 4);
   stbtt__buf_skip(&b, i*offsize);
   start = stbtt__buf_get(&b, offsize);
   end = stbtt__buf_get(&b, offsize);
   return stbtt__buf_range(&b, 2+(count+1)*offsize+start, end - start);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
testq %rsi, %rsi
js 0x83641
shrq $0x20, %rsi
xorl %r8d, %r8d
movl $0x2, %ecx
xorl %eax, %eax
cmpl %esi, %r8d
jge 0x8356c
movslq %r8d, %r9
incl %r8d
movzbl (%rdi,%r9), %r9d
jmp 0x8356f
xorl %r9d, %r9d
shll $0x8, %eax
orl %r9d, %eax
decl %ecx
jne 0x8355a
cmpl %esi, %r8d
jge 0x83589
movslq %r8d, %rcx
incl %r8d
movb (%rdi,%rcx), %cl
jmp 0x8358b
xorl %ecx, %ecx
testl %edx, %edx
js 0x83660
cmpl %edx, %eax
jle 0x83660
leal -0x1(%rcx), %r9d
cmpb $0x4, %r9b
jae 0x8367f
movzbl %cl, %ecx
imull %ecx, %edx
addl %r8d, %edx
cmpl %esi, %edx
ja 0x83641
xorl %r8d, %r8d
movl %ecx, %r9d
cmpl %esi, %edx
jge 0x835d0
movslq %edx, %r10
incl %edx
movzbl (%rdi,%r10), %r10d
jmp 0x835d3
xorl %r10d, %r10d
shll $0x8, %r8d
orl %r10d, %r8d
decl %r9d
jne 0x835c0
xorl %r9d, %r9d
movl %ecx, %r10d
cmpl %esi, %edx
jge 0x835f5
movslq %edx, %r11
incl %edx
movzbl (%rdi,%r11), %r11d
jmp 0x835f8
xorl %r11d, %r11d
shll $0x8, %r9d
orl %r11d, %r9d
decl %r10d
jne 0x835e5
incl %eax
imull %ecx, %eax
leal (%rax,%r8), %ecx
addl $0x2, %ecx
subl %r8d, %r9d
movl %r9d, %eax
orl %ecx, %eax
js 0x8363b
xorl %eax, %eax
subl %ecx, %esi
jl 0x8363d
movl $0x0, %edx
cmpl %r9d, %esi
jl 0x8363f
movl %ecx, %eax
addq %rax, %rdi
shlq $0x20, %r9
movq %rdi, %rax
movq %r9, %rdx
jmp 0x8363f
xorl %eax, %eax
xorl %edx, %edx
popq %rbp
retq
leaq 0x4a8c9(%rip), %rdi     # 0xcdf11
leaq 0x4a8a3(%rip), %rsi     # 0xcdef2
leaq 0x4a8d3(%rip), %rcx     # 0xcdf29
movl $0x46c, %edx            # imm = 0x46C
callq 0xc140
leaq 0x4a935(%rip), %rdi     # 0xcdf9c
leaq 0x4a884(%rip), %rsi     # 0xcdef2
leaq 0x4a93b(%rip), %rcx     # 0xcdfb0
movl $0x4e1, %edx            # imm = 0x4E1
callq 0xc140
leaq 0x4a8cb(%rip), %rdi     # 0xcdf51
leaq 0x4a865(%rip), %rsi     # 0xcdef2
leaq 0x4a91c(%rip), %rcx     # 0xcdfb0
movl $0x4e2, %edx            # imm = 0x4E2
callq 0xc140
// File: /workspace/github_cpp_makefile_star2_O3/Ciaxur[P]yagb-emu/include/imgui/imstb_truetype.h
// Function: stbtt__dict_get_ints(stbtt__buf*, int, int, unsigned int*)
static void stbtt__dict_get_ints(stbtt__buf *b, int key, int outcount, stbtt_uint32 *out)
{
   int i;
   stbtt__buf operands = stbtt__dict_get(b, key);
   for (i = 0; i < outcount && operands.cursor < operands.size; i++)
      out[i] = stbtt__cff_int(&operands);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl 0xc(%rdi), %eax
testl %eax, %eax
js 0x83831
movq %rdi, %r15
movl $0x0, 0x8(%rdi)
je 0x83822
movq %rcx, %rbx
movl %edx, %r14d
movl %esi, %r12d
xorl %r13d, %r13d
cmpl %eax, %r13d
jge 0x83776
movq (%r15), %rsi
movslq %r13d, %rdi
movb (%rsi,%rdi), %dl
movl %r13d, %ecx
cmpb $0x1c, %dl
jb 0x8377e
movq %r15, %rdi
cmpb $0x1e, %dl
jne 0x83757
movl $0x1, %esi
callq 0x83401
movl 0x8(%r15), %ecx
movl 0xc(%r15), %eax
movl %eax, %edx
cmpl %eax, %ecx
cmovgl %ecx, %edx
jge 0x83764
movslq %ecx, %rsi
movslq %edx, %rdx
movq (%r15), %rdi
decq %rdx
leaq 0x1(%rsi), %rcx
leal 0x1(%rsi), %r8d
movl %r8d, 0x8(%r15)
movzbl (%rdi,%rsi), %r8d
movl %r8d, %r9d
notl %r9d
testb $0xf, %r9b
je 0x83764
andl $-0x10, %r8d
cmpl $0xf0, %r8d
je 0x83764
cmpq %rsi, %rdx
movq %rcx, %rsi
jne 0x83723
jmp 0x83764
callq 0x83964
movl 0x8(%r15), %ecx
movl 0xc(%r15), %eax
cmpl %eax, %ecx
jge 0x837b1
movq (%r15), %rsi
movslq %ecx, %rdi
movb (%rsi,%rdi), %dl
jmp 0x836eb
movl %r13d, %edx
movl %r13d, %ecx
jmp 0x837b3
movslq %ecx, %rdx
incq %rdx
movl %edx, 0x8(%r15)
movzbl (%rsi,%rdi), %edi
cmpl $0xc, %edi
jne 0x837b5
movl $0x100, %edi            # imm = 0x100
cmpl %eax, %edx
jge 0x837b5
leal 0x2(%rcx), %r8d
movl %r8d, 0x8(%r15)
movzbl (%rsi,%rdx), %edi
orl $0x100, %edi            # imm = 0x100
movl %r8d, %edx
jmp 0x837b5
movl %ecx, %edx
xorl %edi, %edi
cmpl %r12d, %edi
je 0x837c7
movl %edx, %r13d
cmpl %eax, %edx
jl 0x836d6
jmp 0x83822
movl %ecx, %edx
subl %r13d, %edx
movl %edx, %esi
orl %r13d, %esi
js 0x83822
cmpl %r13d, %eax
jl 0x83822
cmpl %ecx, %eax
jl 0x83822
movl %r13d, %eax
addq (%r15), %rax
shlq $0x20, %rdx
movq %rax, -0x38(%rbp)
movq %rdx, -0x30(%rbp)
testl %r14d, %r14d
jle 0x83822
cmpl %r13d, %ecx
je 0x83822
movl %r14d, %r15d
movl $0x1, %r12d
leaq -0x38(%rbp), %r14
movq %r14, %rdi
callq 0x83964
movl %eax, -0x4(%rbx,%r12,4)
cmpq %r15, %r12
jae 0x83822
incq %r12
movl -0x2c(%rbp), %eax
cmpl %eax, -0x30(%rbp)
jl 0x83805
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x4a6d9(%rip), %rdi     # 0xcdf11
leaq 0x4a6b3(%rip), %rsi     # 0xcdef2
leaq 0x4a6e3(%rip), %rcx     # 0xcdf29
movl $0x46c, %edx            # imm = 0x46C
callq 0xc140
// File: /workspace/github_cpp_makefile_star2_O3/Ciaxur[P]yagb-emu/include/imgui/imstb_truetype.h
// Function: stbtt__get_subrs(stbtt__buf, stbtt__buf)
static stbtt__buf stbtt__get_subrs(stbtt__buf cff, stbtt__buf fontdict)
{
   stbtt_uint32 subrsoff = 0, private_loc[2] = { 0, 0 };
   stbtt__buf pdict;
   stbtt__dict_get_ints(&fontdict, 18, 2, private_loc);
   if (!private_loc[1] || !private_loc[0]) return stbtt__new_buf(NULL, 0);
   pdict = stbtt__buf_range(&cff, private_loc[1], private_loc[0]);
   stbtt__dict_get_ints(&pdict, 19, 1, &subrsoff);
   if (!subrsoff) return stbtt__new_buf(NULL, 0);
   stbtt__buf_seek(&cff, private_loc[1]+subrsoff);
   return stbtt__cff_get_index(&cff);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x48, %rsp
movq %rsi, %rbx
movq %rdi, %r14
movq %rdi, -0x30(%rbp)
movq %rsi, -0x28(%rbp)
leaq -0x58(%rbp), %rdi
movq %rdx, (%rdi)
movq %rcx, 0x8(%rdi)
movl $0x0, -0x1c(%rbp)
leaq -0x38(%rbp), %r15
movq $0x0, (%r15)
movl $0x12, %esi
movl $0x2, %edx
movq %r15, %rcx
callq 0x8369e
movl (%r15), %ecx
movl 0x4(%r15), %r15d
testq %r15, %r15
setne %al
testl %ecx, %ecx
setne %sil
andb %al, %sil
xorl %eax, %eax
movl $0x0, %edx
cmpb $0x1, %sil
jne 0x8393a
movl %ecx, %eax
shrq $0x20, %rbx
movl %eax, %ecx
orl %r15d, %ecx
js 0x838f3
movl %ebx, %ecx
subl %r15d, %ecx
setl %dl
cmpl %eax, %ecx
setl %sil
xorl %ecx, %ecx
orb %dl, %sil
movl $0x0, %edx
jne 0x838f7
addq %r15, %r14
shlq $0x20, %rax
movq %r14, %rcx
movq %rax, %rdx
jmp 0x838f7
xorl %ecx, %ecx
xorl %edx, %edx
leaq -0x48(%rbp), %rdi
movq %rcx, (%rdi)
movq %rdx, 0x8(%rdi)
leaq -0x1c(%rbp), %r14
movl $0x13, %esi
movl $0x1, %edx
movq %r14, %rcx
callq 0x8369e
movl (%r14), %eax
testl %eax, %eax
je 0x83936
addl %r15d, %eax
js 0x83945
cmpl %ebx, %eax
jg 0x83945
leaq -0x30(%rbp), %rdi
movl %eax, 0x8(%rdi)
callq 0x83432
jmp 0x8393a
xorl %eax, %eax
xorl %edx, %edx
addq $0x48, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
leaq 0x4a5c5(%rip), %rdi     # 0xcdf11
leaq 0x4a59f(%rip), %rsi     # 0xcdef2
leaq 0x4a5cf(%rip), %rcx     # 0xcdf29
movl $0x46c, %edx            # imm = 0x46C
callq 0xc140
// File: /workspace/github_cpp_makefile_star2_O3/Ciaxur[P]yagb-emu/include/imgui/imstb_truetype.h
// Function: stbtt__cff_int(stbtt__buf*)
static stbtt_uint32 stbtt__cff_int(stbtt__buf *b)
{
   int b0 = stbtt__buf_get8(b);
   if (b0 >= 32 && b0 <= 246)       return b0 - 139;
   else if (b0 >= 247 && b0 <= 250) return (b0 - 247)*256 + stbtt__buf_get8(b) + 108;
   else if (b0 >= 251 && b0 <= 254) return -(b0 - 251)*256 - stbtt__buf_get8(b) - 108;
   else if (b0 == 28)               return stbtt__buf_get16(b);
   else if (b0 == 29)               return stbtt__buf_get32(b);
   STBTT_assert(0);
   return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movslq 0x8(%rdi), %rax
movl 0xc(%rdi), %edx
cmpl %edx, %eax
jge 0x83a5d
movq (%rdi), %rcx
leaq 0x1(%rax), %rsi
movl %esi, 0x8(%rdi)
movzbl (%rcx,%rax), %r8d
leal -0x20(%r8), %r9d
cmpb $-0x2a, %r9b
ja 0x8399f
addl $0xffffff75, %r8d       # imm = 0xFFFFFF75
movl %r8d, %eax
jmp 0x83a5b
leal 0x9(%r8), %r9d
cmpb $0x3, %r9b
ja 0x839cd
shll $0x8, %r8d
xorl %r9d, %r9d
cmpl %edx, %esi
jge 0x839bf
addl $0x2, %eax
movl %eax, 0x8(%rdi)
movzbl (%rcx,%rsi), %r9d
leal (%r8,%r9), %eax
addl $0xffff096c, %eax       # imm = 0xFFFF096C
jmp 0x83a5b
leal 0x5(%r8), %r9d
cmpb $0x3, %r9b
ja 0x839fb
xorl %r9d, %r9d
cmpl %edx, %esi
jge 0x839ea
leal 0x2(%rax), %edx
movl %edx, 0x8(%rdi)
movzbl 0x1(%rcx,%rax), %r9d
shll $0x8, %r8d
orl %r9d, %r8d
movl $0xfa94, %eax           # imm = 0xFA94
subl %r8d, %eax
jmp 0x83a5b
cmpl $0x1c, %r8d
je 0x83a32
cmpl $0x1d, %r8d
jne 0x83a5d
xorl %eax, %eax
movl $0x4, %r8d
cmpl %edx, %esi
jge 0x83a22
movslq %esi, %r9
incl %esi
movl %esi, 0x8(%rdi)
movzbl (%rcx,%r9), %r9d
jmp 0x83a25
xorl %r9d, %r9d
shll $0x8, %eax
orl %r9d, %eax
decl %r8d
jne 0x83a0f
jmp 0x83a5b
xorl %eax, %eax
movl $0x2, %r8d
cmpl %edx, %esi
jge 0x83a4d
movslq %esi, %r9
incl %esi
movl %esi, 0x8(%rdi)
movzbl (%rcx,%r9), %r9d
jmp 0x83a50
xorl %r9d, %r9d
shll $0x8, %eax
orl %r9d, %eax
decl %r8d
jne 0x83a3a
popq %rbp
retq
leaq 0x34688(%rip), %rdi     # 0xb80ec
leaq 0x4a487(%rip), %rsi     # 0xcdef2
leaq 0x4a56f(%rip), %rcx     # 0xcdfe1
movl $0x4ab, %edx            # imm = 0x4AB
callq 0xc140
// File: /workspace/github_cpp_makefile_star2_O3/Ciaxur[P]yagb-emu/include/imgui/imstb_truetype.h
// Function: stbtt__GetGlyfOffset(stbtt_fontinfo const*, int)
static int stbtt__GetGlyfOffset(const stbtt_fontinfo *info, int glyph_index)
{
   int g1,g2;

   STBTT_assert(!info->cff.size);

   if (glyph_index >= info->numGlyphs) return -1; // glyph index out of range
   if (info->indexToLocFormat >= 2)    return -1; // unknown index->glyph map format

   if (info->indexToLocFormat == 0) {
      g1 = info->glyf + ttUSHORT(info->data + info->loca + glyph_index * 2) * 2;
      g2 = info->glyf + ttUSHORT(info->data + info->loca + glyph_index * 2 + 2) * 2;
   } else {
      g1 = info->glyf + ttULONG (info->data + info->loca + glyph_index * 4);
      g2 = info->glyf + ttULONG (info->data + info->loca + glyph_index * 4 + 4);
   }

   return g1==g2 ? -1 : g1; // if length is 0, return -1
}

// Assembly:
cmpl $0x0, 0x4c(%rdi)
jne 0x83ae2
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
cmpl %esi, 0x14(%rdi)
jle 0x83ae1
movl 0x38(%rdi), %r8d
cmpl $0x1, %r8d
jg 0x83ae1
movslq 0x18(%rdi), %rdx
addq 0x8(%rdi), %rdx
movl 0x20(%rdi), %ecx
movslq %esi, %rsi
testl %r8d, %r8d
je 0x83ab6
movl (%rdx,%rsi,4), %eax
movl 0x4(%rdx,%rsi,4), %edx
bswapl %eax
bswapl %edx
jmp 0x83ad5
movzbl (%rdx,%rsi,2), %eax
movzbl 0x1(%rdx,%rsi,2), %edi
shll $0x9, %eax
leal (%rax,%rdi,2), %eax
movzbl 0x2(%rdx,%rsi,2), %edi
movzbl 0x3(%rdx,%rsi,2), %edx
shll $0x9, %edi
leal (%rdi,%rdx,2), %edx
addl %eax, %ecx
cmpl %edx, %eax
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
cmovnel %ecx, %eax
retq
pushq %rbp
movq %rsp, %rbp
leaq 0x4a5e7(%rip), %rdi     # 0xce0d4
leaq 0x4a3fe(%rip), %rsi     # 0xcdef2
leaq 0x4a5e9(%rip), %rcx     # 0xce0e4
movl $0x624, %edx            # imm = 0x624
callq 0xc140
// File: /workspace/github_cpp_makefile_star2_O3/Ciaxur[P]yagb-emu/include/imgui/imstb_truetype.h
// Function: stbtt__csctx_v(stbtt__csctx*, unsigned char, int, int, int, int, int, int)
static void stbtt__csctx_v(stbtt__csctx *c, stbtt_uint8 type, stbtt_int32 x, stbtt_int32 y, stbtt_int32 cx, stbtt_int32 cy, stbtt_int32 cx1, stbtt_int32 cy1)
{
   if (c->bounds) {
      stbtt__track_vertex(c, x, y);
      if (type == STBTT_vcubic) {
         stbtt__track_vertex(c, cx, cy);
         stbtt__track_vertex(c, cx1, cy1);
      }
   } else {
      stbtt_setvertex(&c->pvertices[c->num_vertices], type, x, y, cx, cy);
      c->pvertices[c->num_vertices].cx1 = (stbtt_int16) cx1;
      c->pvertices[c->num_vertices].cy1 = (stbtt_int16) cy1;
   }
   c->num_vertices++;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %r9d, %r15d
movl %r8d, %r13d
movl %esi, %r14d
movq %rdi, %rbx
movl 0x18(%rbp), %r8d
movl 0x10(%rbp), %r12d
cmpl $0x0, (%rdi)
je 0x84a37
movq %rbx, %rdi
movl %edx, %esi
movl %ecx, %edx
callq 0x84a82
cmpb $0x4, %r14b
jne 0x84a70
movq %rbx, %rdi
movl %r13d, %esi
movl %r15d, %edx
callq 0x84a82
movq %rbx, %rdi
movl %r12d, %esi
movl 0x18(%rbp), %edx
callq 0x84a82
jmp 0x84a70
movq 0x28(%rbx), %rax
movslq 0x30(%rbx), %rsi
leaq (%rsi,%rsi), %rdi
shlq $0x4, %rsi
subq %rdi, %rsi
movb %r14b, 0xc(%rax,%rsi)
movw %dx, (%rax,%rsi)
movw %cx, 0x2(%rax,%rsi)
movw %r13w, 0x4(%rax,%rsi)
movw %r15w, 0x6(%rax,%rsi)
movw %r12w, 0x8(%rax,%rsi)
movw %r8w, 0xa(%rax,%rsi)
incl 0x30(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/Ciaxur[P]yagb-emu/include/imgui/imstb_truetype.h
// Function: stbtt__track_vertex(stbtt__csctx*, int, int)
static void stbtt__track_vertex(stbtt__csctx *c, stbtt_int32 x, stbtt_int32 y)
{
   if (x > c->max_x || !c->started) c->max_x = x;
   if (y > c->max_y || !c->started) c->max_y = y;
   if (x < c->min_x || !c->started) c->min_x = x;
   if (y < c->min_y || !c->started) c->min_y = y;
   c->started = 1;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
cmpl %esi, 0x1c(%rdi)
jl 0x84a91
cmpl $0x0, 0x4(%rdi)
jne 0x84a94
movl %esi, 0x1c(%rdi)
cmpl %edx, 0x24(%rdi)
jl 0x84a9f
cmpl $0x0, 0x4(%rdi)
jne 0x84aa2
movl %edx, 0x24(%rdi)
cmpl %esi, 0x18(%rdi)
jg 0x84aad
cmpl $0x0, 0x4(%rdi)
jne 0x84ab0
movl %esi, 0x18(%rdi)
cmpl %edx, 0x20(%rdi)
jg 0x84abb
cmpl $0x0, 0x4(%rdi)
jne 0x84abe
movl %edx, 0x20(%rdi)
movl $0x1, 0x4(%rdi)
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/Ciaxur[P]yagb-emu/include/imgui/imstb_rectpack.h
// Function: stbrp__skyline_find_min_y(stbrp_context*, stbrp_node*, int, int, int*)
static int stbrp__skyline_find_min_y(stbrp_context *c, stbrp_node *first, int x0, int width, int *pwaste)
{
   stbrp_node *node = first;
   int x1 = x0 + width;
   int min_y, visited_width, waste_area;

   STBRP__NOTUSED(c);

   STBRP_ASSERT(first->x <= x0);

   #if 0
   // skip in case we're past the node
   while (node->next->x <= x0)
      ++node;
   #else
   STBRP_ASSERT(node->next->x > x0); // we ended up handling this in the caller for efficiency
   #endif

   STBRP_ASSERT(node->x <= x0);

   min_y = 0;
   waste_area = 0;
   visited_width = 0;
   while (node->x < x1) {
      if (node->y > min_y) {
         // raise min_y higher.
         // we've accounted for all waste up to min_y,
         // but we'll now add more waste for everything we've visted
         waste_area += visited_width * (node->y - min_y);
         min_y = node->y;
         // the first time through, visited_width might be reduced
         if (node->x < x0)
            visited_width += node->next->x - x0;
         else
            visited_width += node->next->x - node->x;
      } else {
         // add waste area
         int under_width = node->next->x - node->x;
         if (under_width + visited_width > width)
            under_width = width - visited_width;
         waste_area += under_width * (min_y - node->y);
         visited_width += under_width;
      }
      node = node->next;
   }

   *pwaste = waste_area;
   return min_y;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movzwl (%rdi), %r11d
cmpl %esi, %r11d
jg 0x84bc3
movq 0x8(%rdi), %rax
movzwl (%rax), %eax
cmpl %esi, %eax
jbe 0x84be2
leal (%rdx,%rsi), %r8d
xorl %eax, %eax
movl $0x0, %r9d
cmpl %r11d, %r8d
jle 0x84bb7
xorl %r9d, %r9d
xorl %r10d, %r10d
xorl %r15d, %r15d
movzwl 0x2(%rdi), %eax
movl %r15d, %ebx
subl %eax, %ebx
jge 0x84b7b
movl %eax, %ebx
subl %r15d, %ebx
imull %r10d, %ebx
movq 0x8(%rdi), %rdi
movzwl (%rdi), %r14d
movl %r14d, %r12d
cmpl %esi, %r11d
jge 0x84ba3
subl %esi, %r12d
jmp 0x84ba6
movq 0x8(%rdi), %rdi
movzwl (%rdi), %r14d
movl %r14d, %eax
subl %r11d, %eax
leal (%rax,%r10), %r11d
movl %edx, %r12d
subl %r10d, %r12d
cmpl %edx, %r11d
cmovlel %eax, %r12d
imull %r12d, %ebx
movl %r15d, %eax
jmp 0x84ba6
subl %r11d, %r12d
addl %ebx, %r9d
addl %r12d, %r10d
movl %r14d, %r11d
movl %eax, %r15d
cmpl %r14d, %r8d
ja 0x84b52
movl %r9d, (%rcx)
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
leaq 0x4966a(%rip), %rdi     # 0xce234
leaq 0x4956d(%rip), %rsi     # 0xce13e
leaq 0x4966b(%rip), %rcx     # 0xce243
movl $0x12f, %edx            # imm = 0x12F
callq 0xc140
leaq 0x496a8(%rip), %rdi     # 0xce291
leaq 0x4954e(%rip), %rsi     # 0xce13e
leaq 0x4964c(%rip), %rcx     # 0xce243
movl $0x136, %edx            # imm = 0x136
callq 0xc140
// File: /workspace/github_cpp_makefile_star2_O3/Ciaxur[P]yagb-emu/include/imgui/imstb_truetype.h
// Function: stbtt__close_shape(stbtt_vertex*, int, int, int, int, int, int, int, int, int)
static int stbtt__close_shape(stbtt_vertex *vertices, int num_vertices, int was_off, int start_off,
    stbtt_int32 sx, stbtt_int32 sy, stbtt_int32 scx, stbtt_int32 scy, stbtt_int32 cx, stbtt_int32 cy)
{
   if (start_off) {
      if (was_off)
         stbtt_setvertex(&vertices[num_vertices++], STBTT_vcurve, (cx+scx)>>1, (cy+scy)>>1, cx,cy);
      stbtt_setvertex(&vertices[num_vertices++], STBTT_vcurve, sx,sy,scx,scy);
   } else {
      if (was_off)
         stbtt_setvertex(&vertices[num_vertices++], STBTT_vcurve,sx,sy,cx,cy);
      else
         stbtt_setvertex(&vertices[num_vertices++], STBTT_vline,sx,sy,0,0);
   }
   return num_vertices;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movl %esi, %eax
movl 0x28(%rbp), %r10d
movl 0x20(%rbp), %r11d
testl %ecx, %ecx
je 0x85617
movl 0x18(%rbp), %ecx
movl 0x10(%rbp), %ebx
testl %edx, %edx
je 0x855ee
movslq %eax, %rdx
incl %eax
leaq (%rdx,%rdx), %rsi
shlq $0x4, %rdx
subq %rsi, %rdx
leal (%r11,%rbx), %esi
shrl %esi
leal (%r10,%rcx), %r14d
shrl %r14d
movb $0x3, 0xc(%rdi,%rdx)
movw %si, (%rdi,%rdx)
movw %r14w, 0x2(%rdi,%rdx)
movw %r11w, 0x4(%rdi,%rdx)
movw %r10w, 0x6(%rdi,%rdx)
movslq %eax, %rsi
movq %rsi, %r10
shlq $0x4, %r10
subq %rsi, %r10
subq %rsi, %r10
movb $0x3, 0xc(%rdi,%r10)
movw %r8w, (%rdi,%r10)
movw %r9w, 0x2(%rdi,%r10)
movw %bx, 0x4(%rdi,%r10)
jmp 0x8565a
movslq %eax, %rsi
movq %rsi, %rcx
shlq $0x4, %rcx
subq %rsi, %rcx
subq %rsi, %rcx
addq %rdi, %rcx
testl %edx, %edx
je 0x85645
movb $0x3, 0xc(%rcx)
movw %r8w, (%rcx)
movw %r9w, 0x2(%rcx)
movw %r11w, 0x4(%rcx)
movl %r10d, %ecx
jmp 0x8565a
movb $0x2, 0xc(%rcx)
movw %r8w, (%rcx)
movw %r9w, 0x2(%rcx)
movw $0x0, 0x4(%rcx)
xorl %ecx, %ecx
leaq (%rsi,%rsi), %rdx
shlq $0x4, %rsi
subq %rdx, %rsi
movw %cx, 0x6(%rdi,%rsi)
incl %eax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/Ciaxur[P]yagb-emu/include/imgui/imstb_truetype.h
// Function: stbtt__tesselate_curve(stbtt__point*, int*, float, float, float, float, float, float, float, int)
static int stbtt__tesselate_curve(stbtt__point *points, int *num_points, float x0, float y0, float x1, float y1, float x2, float y2, float objspace_flatness_squared, int n)
{
   // midpoint
   float mx = (x0 + 2*x1 + x2)/4;
   float my = (y0 + 2*y1 + y2)/4;
   // versus directly drawn line
   float dx = (x0+x2)/2 - mx;
   float dy = (y0+y2)/2 - my;
   if (n > 16) // 65536 segments on one curve better be enough!
      return 1;
   if (dx*dx+dy*dy > objspace_flatness_squared) { // half-pixel error allowed... need to be smaller if AA
      stbtt__tesselate_curve(points, num_points, x0,y0, (x0+x1)/2.0f,(y0+y1)/2.0f, mx,my, objspace_flatness_squared,n+1);
      stbtt__tesselate_curve(points, num_points, mx,my, (x1+x2)/2.0f,(y1+y2)/2.0f, x2,y2, objspace_flatness_squared,n+1);
   } else {
      stbtt__add_point(points, *num_points,x2,y2);
      *num_points = *num_points+1;
   }
   return 1;
}

// Assembly:
cmpl $0x10, %edx
jg 0x857fa
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
movl %edx, %r14d
movaps %xmm3, %xmm7
movaps %xmm2, %xmm8
movq %rsi, %rbx
movq %rdi, %r15
movaps %xmm3, %xmm11
addss %xmm7, %xmm11
addss %xmm1, %xmm11
movaps %xmm2, %xmm10
addss %xmm8, %xmm10
addss %xmm0, %xmm10
incl %r14d
movss 0x2f945(%rip), %xmm9    # 0xb5004
movss %xmm5, -0x24(%rbp)
movss %xmm4, -0x20(%rbp)
movss %xmm6, -0x1c(%rbp)
addss %xmm5, %xmm11
addss %xmm4, %xmm10
movss 0x2f90c(%rip), %xmm3    # 0xb4fec
mulss %xmm3, %xmm10
mulss %xmm3, %xmm11
movaps %xmm1, %xmm2
addss %xmm5, %xmm2
mulss %xmm9, %xmm2
subss %xmm11, %xmm2
movaps %xmm0, %xmm3
addss %xmm4, %xmm3
mulss %xmm9, %xmm3
subss %xmm10, %xmm3
mulss %xmm2, %xmm2
mulss %xmm3, %xmm3
addss %xmm2, %xmm3
ucomiss %xmm6, %xmm3
jbe 0x857d7
movaps %xmm0, %xmm2
addss %xmm8, %xmm2
mulss %xmm9, %xmm2
movaps %xmm1, %xmm3
addss %xmm7, %xmm3
mulss %xmm9, %xmm3
movq %r15, %rdi
movq %rbx, %rsi
movaps %xmm10, %xmm4
movaps %xmm11, %xmm5
movss -0x1c(%rbp), %xmm6
movl %r14d, %edx
movss %xmm7, -0x34(%rbp)
movss %xmm8, -0x30(%rbp)
movss %xmm10, -0x28(%rbp)
movss %xmm11, -0x2c(%rbp)
callq 0x85671
movss 0x2f88f(%rip), %xmm9    # 0xb5004
movss -0x30(%rbp), %xmm8
movss -0x34(%rbp), %xmm7
movss -0x1c(%rbp), %xmm6
movss -0x20(%rbp), %xmm4
movss -0x24(%rbp), %xmm5
addss %xmm4, %xmm8
mulss %xmm9, %xmm8
addss %xmm5, %xmm7
mulss %xmm9, %xmm7
movaps %xmm8, %xmm10
addss %xmm8, %xmm10
movss -0x28(%rbp), %xmm0
addss %xmm0, %xmm10
movaps %xmm7, %xmm11
addss %xmm7, %xmm11
movss -0x2c(%rbp), %xmm1
addss %xmm1, %xmm11
incl %r14d
cmpl $0x12, %r14d
jne 0x856ce
jmp 0x857f0
movslq (%rbx), %rax
testq %r15, %r15
je 0x857ec
movss %xmm4, (%r15,%rax,8)
movss %xmm5, 0x4(%r15,%rax,8)
incl %eax
movl %eax, (%rbx)
addq $0x28, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/Ciaxur[P]yagb-emu/include/imgui/imgui_draw.cpp
// Function: stb__match(unsigned char const*, unsigned int)
static void stb__match(const unsigned char *data, unsigned int length)
{
    // INVERSE of memmove... write each byte before copying the next...
    IM_ASSERT(stb__dout + length <= stb__barrier_out_e);
    if (stb__dout + length > stb__barrier_out_e) { stb__dout += length; return; }
    if (data < stb__barrier_out_b) { stb__dout = stb__barrier_out_e+1; return; }
    while (length--) *stb__dout++ = *data++;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq 0x7c992(%rip), %rax     # 0x1027c8
movl %esi, %ecx
leaq (%rax,%rcx), %r8
movq 0x7c975(%rip), %rdx     # 0x1027b8
cmpq %rdx, %r8
ja 0x85e7a
cmpq %rdi, 0x7c971(%rip)     # 0x1027c0
jbe 0x85e56
incq %rdx
jmp 0x85e71
testl %esi, %esi
je 0x85e78
xorl %edx, %edx
movb (%rdi,%rdx), %sil
movb %sil, (%rax,%rdx)
incq %rdx
cmpl %edx, %ecx
jne 0x85e5c
addq %rdx, %rax
movq %rax, %rdx
movq %rdx, 0x7c950(%rip)     # 0x1027c8
popq %rbp
retq
leaq 0x48a32(%rip), %rdi     # 0xce8b3
leaq 0x4731e(%rip), %rsi     # 0xcd1a6
leaq 0x48a4d(%rip), %rcx     # 0xce8dc
movl $0xe6f, %edx            # imm = 0xE6F
callq 0xc140
// File: /workspace/github_cpp_makefile_star2_O3/Ciaxur[P]yagb-emu/include/imgui/imgui_draw.cpp
// Function: stb__lit(unsigned char const*, unsigned int)
static void stb__lit(const unsigned char *data, unsigned int length)
{
    IM_ASSERT(stb__dout + length <= stb__barrier_out_e);
    if (stb__dout + length > stb__barrier_out_e) { stb__dout += length; return; }
    if (data < stb__barrier_in_b) { stb__dout = stb__barrier_out_e+1; return; }
    memcpy(stb__dout, data, length);
    stb__dout += length;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rax
movq 0x7c91f(%rip), %rdi     # 0x1027c8
movl %esi, %edx
leaq (%rdi,%rdx), %rbx
movq 0x7c902(%rip), %rcx     # 0x1027b8
cmpq %rcx, %rbx
ja 0x85ee2
cmpq %rax, 0x7c8ee(%rip)     # 0x1027b0
jbe 0x85ecc
incq %rcx
movq %rcx, %rbx
jmp 0x85ed4
movq %rax, %rsi
callq 0xc080
movq %rbx, 0x7c8ed(%rip)     # 0x1027c8
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
leaq 0x489ca(%rip), %rdi     # 0xce8b3
leaq 0x472b6(%rip), %rsi     # 0xcd1a6
leaq 0x48a1a(%rip), %rcx     # 0xce911
movl $0xe77, %edx            # imm = 0xE77
callq 0xc140
nop
// File: /workspace/github_cpp_makefile_star2_O3/Ciaxur[P]yagb-emu/include/imgui/imgui_tables.cpp
// Function: ImGui::TableBeginInitMemory(ImGuiTable*, int)
void ImGui::TableBeginInitMemory(ImGuiTable* table, int columns_count)
{
    // Allocate single buffer for our arrays
    ImSpanAllocator<3> span_allocator;
    span_allocator.ReserveBytes(0, columns_count * sizeof(ImGuiTableColumn));
    span_allocator.ReserveBytes(1, columns_count * sizeof(ImGuiTableColumnIdx));
    span_allocator.ReserveBytes(2, columns_count * sizeof(ImGuiTableCellData));
    table->RawData = IM_ALLOC(span_allocator.GetArenaSizeInBytes());
    memset(table->RawData, 0, span_allocator.GetArenaSizeInBytes());
    span_allocator.SetArenaBasePtr(table->RawData);
    span_allocator.GetSpan(0, &table->Columns);
    span_allocator.GetSpan(1, &table->DisplayOrderToIndex);
    span_allocator.GetSpan(2, &table->RowCellData);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rdi, %rbx
imull $0x68, %esi, %r15d
imull $0x69, %esi, %r12d
imull $0x71, %esi, %eax
movslq %eax, %r14
movq %r14, %rdi
callq 0x41c63
movq %rax, 0x8(%rbx)
movq %rax, %rdi
xorl %esi, %esi
movq %r14, %rdx
callq 0xc260
movq 0x8(%rbx), %rax
movslq %r15d, %rcx
addq %rax, %rcx
movq %rax, 0x10(%rbx)
movq %rcx, 0x18(%rbx)
movslq %r12d, %rdx
addq %rax, %rdx
movq %rcx, 0x20(%rbx)
movq %rdx, 0x28(%rbx)
addq %r14, %rax
movq %rdx, 0x30(%rbx)
movq %rax, 0x38(%rbx)
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/Ciaxur[P]yagb-emu/include/imgui/imgui_tables.cpp
// Function: ImGui::TableGetColumnWidthAuto(ImGuiTable*, ImGuiTableColumn*)
float ImGui::TableGetColumnWidthAuto(ImGuiTable* table, ImGuiTableColumn* column)
{
    const float content_width_body = ImMax(column->ContentMaxXFrozen, column->ContentMaxXUnfrozen) - column->WorkMinX;
    const float content_width_headers = column->ContentMaxXHeadersIdeal - column->WorkMinX;
    float width_auto = content_width_body;
    if (!(column->Flags & ImGuiTableColumnFlags_NoHeaderWidth))
        width_auto = ImMax(width_auto, content_width_headers);

    // Non-resizable fixed columns preserve their requested width
    if ((column->Flags & ImGuiTableColumnFlags_WidthFixed) && column->InitStretchWeightOrWidth > 0.0f)
        if (!(table->Flags & ImGuiTableFlags_Resizable) || (column->Flags & ImGuiTableColumnFlags_NoResize))
            width_auto = column->InitStretchWeightOrWidth;

    return ImMax(width_auto, table->MinColumnWidth);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movss 0x40(%rsi), %xmm0
movss 0x44(%rsi), %xmm2
movaps %xmm2, %xmm1
cmpless %xmm0, %xmm1
andps %xmm1, %xmm0
andnps %xmm2, %xmm1
orps %xmm0, %xmm1
movss 0x34(%rsi), %xmm0
subss %xmm0, %xmm1
movl (%rsi), %eax
btl $0xb, %eax
jb 0x8878f
movss 0x4c(%rsi), %xmm2
subss %xmm0, %xmm2
movaps %xmm2, %xmm0
cmpless %xmm1, %xmm0
movaps %xmm0, %xmm3
andnps %xmm2, %xmm3
andps %xmm1, %xmm0
orps %xmm3, %xmm0
movaps %xmm0, %xmm1
testb $0x8, %al
je 0x887af
movss 0x1c(%rsi), %xmm0
xorps %xmm2, %xmm2
ucomiss %xmm2, %xmm0
jbe 0x887af
testb $0x10, %al
jne 0x887ac
movl 0x4(%rdi), %eax
andl $0x1, %eax
jne 0x887af
movaps %xmm0, %xmm1
movss 0xb4(%rdi), %xmm2
movaps %xmm2, %xmm0
cmpless %xmm1, %xmm0
andps %xmm0, %xmm1
andnps %xmm2, %xmm0
orps %xmm1, %xmm0
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/Ciaxur[P]yagb-emu/include/imgui/imgui_tables.cpp
// Function: ImGui::TableOpenContextMenu(int)
void ImGui::TableOpenContextMenu(int column_n)
{
    ImGuiContext& g = *GImGui;
    ImGuiTable* table = g.CurrentTable;
    if (column_n == -1 && table->CurrentColumn != -1)   // When called within a column automatically use this one (for consistency)
        column_n = table->CurrentColumn;
    if (column_n == table->ColumnsCount)                // To facilitate using with TableGetHoveredColumn()
        column_n = -1;
    IM_ASSERT(column_n >= -1 && column_n < table->ColumnsCount);
    if (table->Flags & (ImGuiTableFlags_Resizable | ImGuiTableFlags_Reorderable | ImGuiTableFlags_Hideable))
    {
        table->IsContextPopupOpen = true;
        table->ContextPopupColumn = (ImGuiTableColumnIdx)column_n;
        table->InstanceInteracted = table->InstanceCurrent;
        const ImGuiID context_menu_id = ImHashStr("##ContextMenu", 0, table->ID);
        OpenPopupEx(context_menu_id, ImGuiPopupFlags_None);
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
leaq 0x71a86(%rip), %rax     # 0xfbcd0
movq (%rax), %rax
movq 0x20a8(%rax), %rax
cmpl $-0x1, %edi
jne 0x8a25c
movl 0x74(%rax), %edi
movl 0x6c(%rax), %edx
cmpl %edx, %edi
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
cmovnel %edi, %ecx
cmpl $-0x1, %ecx
jl 0x8a2a9
cmpl %edx, %ecx
jge 0x8a2a9
testb $0x7, 0x4(%rax)
je 0x8a2a7
movb $0x1, 0x24d(%rax)
movb %cl, 0x23f(%rax)
movzwl 0x78(%rax), %ecx
movw %cx, 0x7a(%rax)
movl (%rax), %edx
leaq 0x44ecf(%rip), %rdi     # 0xcf165
xorl %esi, %esi
callq 0x42033
movl %eax, %edi
xorl %esi, %esi
popq %rbp
jmp 0x56cc5
popq %rbp
retq
leaq 0x45cdc(%rip), %rdi     # 0xcff8c
leaq 0x44bd3(%rip), %rsi     # 0xcee8a
leaq 0x45cff(%rip), %rcx     # 0xcffbd
movl $0xb4f, %edx            # imm = 0xB4F
callq 0xc140
// File: /workspace/github_cpp_makefile_star2_O3/Ciaxur[P]yagb-emu/include/imgui/imgui_tables.cpp
// Function: ImGui::TableSetupScrollFreeze(int, int)
void ImGui::TableSetupScrollFreeze(int columns, int rows)
{
    ImGuiContext& g = *GImGui;
    ImGuiTable* table = g.CurrentTable;
    IM_ASSERT(table != NULL && "Need to call TableSetupColumn() after BeginTable()!");
    IM_ASSERT(table->IsLayoutLocked == false && "Need to call TableSetupColumn() before first row!");
    IM_ASSERT(columns >= 0 && columns < IMGUI_TABLE_MAX_COLUMNS);
    IM_ASSERT(rows >= 0 && rows < 128); // Arbitrary limit

    table->FreezeColumnsRequest = (table->Flags & ImGuiTableFlags_ScrollX) ? (ImGuiTableColumnIdx)columns : 0;
    table->FreezeColumnsCount = (table->InnerWindow->Scroll.x != 0.0f) ? table->FreezeColumnsRequest : 0;
    table->FreezeRowsRequest = (table->Flags & ImGuiTableFlags_ScrollY) ? (ImGuiTableColumnIdx)rows : 0;
    table->FreezeRowsCount = (table->InnerWindow->Scroll.y != 0.0f) ? table->FreezeRowsRequest : 0;
    table->IsUnfrozenRows = (table->FreezeRowsCount == 0); // Make sure this is set before TableUpdateLayout() so ImGuiListClipper can benefit from it.b
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
leaq 0x708fb(%rip), %rax     # 0xfbcd0
movq (%rax), %rax
movq 0x20a8(%rax), %rax
testq %rax, %rax
je 0x8b46b
cmpb $0x0, 0x248(%rax)
jne 0x8b48a
cmpl $0x40, %edi
jae 0x8b4a9
cmpl $0x80, %esi
jae 0x8b4c8
movl 0x4(%rax), %ecx
xorl %edx, %edx
btl $0x18, %ecx
cmovael %edx, %edi
movb %dil, 0x242(%rax)
movq 0x1d0(%rax), %r8
xorps %xmm0, %xmm0
ucomiss 0x5c(%r8), %xmm0
movl $0x0, %r9d
cmovnel %edi, %r9d
cmovpl %edi, %r9d
movb %r9b, 0x243(%rax)
btl $0x19, %ecx
cmovael %edx, %esi
movb %sil, 0x240(%rax)
ucomiss 0x60(%r8), %xmm0
cmovnel %esi, %edx
cmovpl %esi, %edx
movb %dl, 0x241(%rax)
testb %dl, %dl
sete 0x253(%rax)
popq %rbp
retq
leaq 0x43f88(%rip), %rdi     # 0xcf3fa
leaq 0x43a11(%rip), %rsi     # 0xcee8a
leaq 0x441bc(%rip), %rcx     # 0xcf63c
movl $0x58f, %edx            # imm = 0x58F
callq 0xc140
leaq 0x441d8(%rip), %rdi     # 0xcf669
leaq 0x439f2(%rip), %rsi     # 0xcee8a
leaq 0x4419d(%rip), %rcx     # 0xcf63c
movl $0x590, %edx            # imm = 0x590
callq 0xc140
leaq 0x4420f(%rip), %rdi     # 0xcf6bf
leaq 0x439d3(%rip), %rsi     # 0xcee8a
leaq 0x4417e(%rip), %rcx     # 0xcf63c
movl $0x591, %edx            # imm = 0x591
callq 0xc140
leaq 0x4420d(%rip), %rdi     # 0xcf6dc
leaq 0x439b4(%rip), %rsi     # 0xcee8a
leaq 0x4415f(%rip), %rcx     # 0xcf63c
movl $0x592, %edx            # imm = 0x592
callq 0xc140
// File: /workspace/github_cpp_makefile_star2_O3/Ciaxur[P]yagb-emu/include/imgui/imgui_tables.cpp
// Function: ImGui::TableGetColumnName(int)
const char* ImGui::TableGetColumnName(int column_n)
{
    ImGuiContext& g = *GImGui;
    ImGuiTable* table = g.CurrentTable;
    if (!table)
        return NULL;
    if (column_n < 0)
        column_n = table->CurrentColumn;
    return TableGetColumnName(table, column_n);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movl %edi, %esi
leaq 0x707b9(%rip), %rax     # 0xfbcd0
movq (%rax), %rax
movq 0x20a8(%rax), %rdi
testq %rdi, %rdi
je 0x8b533
testl %esi, %esi
jns 0x8b52d
movl 0x74(%rdi), %esi
popq %rbp
jmp 0x8b537
xorl %eax, %eax
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/Ciaxur[P]yagb-emu/include/imgui/imgui_tables.cpp
// Function: ImGui::TableGetColumnName(ImGuiTable const*, int)
const char* ImGui::TableGetColumnName(const ImGuiTable* table, int column_n)
{
    if (table->IsLayoutLocked == false && column_n >= table->DeclColumnsCount)
        return ""; // NameOffset is invalid at this point
    const ImGuiTableColumn* column = &table->Columns[column_n];
    if (column->NameOffset == -1)
        return "";
    return &table->ColumnsNames.Buf[column->NameOffset];
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
cmpb $0x0, 0x248(%rdi)
leaq 0x299d4(%rip), %rax     # 0xb4f1d
jne 0x8b556
movsbl 0x233(%rdi), %ecx
cmpl %esi, %ecx
jle 0x8b58a
testl %esi, %esi
js 0x8b58c
movslq %esi, %rcx
imulq $0x68, %rcx, %rcx
addq 0x10(%rdi), %rcx
cmpq 0x18(%rdi), %rcx
jae 0x8b58c
movswl 0x50(%rcx), %ecx
cmpl $-0x1, %ecx
je 0x8b58a
testw %cx, %cx
js 0x8b5ab
cmpl %ecx, 0x1d8(%rdi)
jle 0x8b5ab
movl %ecx, %eax
addq 0x1e0(%rdi), %rax
popq %rbp
retq
leaq 0x2f125(%rip), %rdi     # 0xba6b8
leaq 0x2e0a5(%rip), %rsi     # 0xb963f
leaq 0x45513(%rip), %rcx     # 0xd0ab4
movl $0x20f, %edx            # imm = 0x20F
callq 0xc140
leaq 0x2e0c6(%rip), %rdi     # 0xb9678
leaq 0x2e0d2(%rip), %rsi     # 0xb968b
leaq 0x45544(%rip), %rcx     # 0xd0b04
movl $0x65d, %edx            # imm = 0x65D
callq 0xc140