// File: /workspace/github_cpp_makefile_star2_O1/donfreiday[P]gb/./imgui/imgui.cpp
// Function: ImGui::RenderCheckMark(ImVec2, unsigned int)
void ImGui::RenderCheckMark(ImVec2 pos, ImU32 col)
{
    ImGuiState& g = *GImGui;
    ImGuiWindow* window = GetCurrentWindow();

    ImVec2 a, b, c;
    float start_x = (float)(int)(g.FontSize * 0.307f + 0.5f);
    float rem_third = (float)(int)((g.FontSize - start_x) / 3.0f);
    a.x = pos.x + 0.5f + start_x;
    b.x = a.x + rem_third;
    c.x = a.x + rem_third * 3.0f;
    b.y = pos.y - 1.0f + (float)(int)(g.Font->Ascent * (g.FontSize / g.Font->FontSize) + 0.5f) + (float)(int)(g.Font->DisplayOffset.y);
    a.y = b.y - rem_third;
    c.y = b.y - rem_third * 2.0f;

    window->DrawList->PathLineTo(a);
    window->DrawList->PathLineTo(b);
    window->DrawList->PathLineTo(c);
    window->DrawList->PathStroke(col, false);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movl %edi, %ebx
movq 0x4695c(%rip), %rax     # 0x55490
movq 0x1758(%rax), %r15
movb $0x1, 0x72(%r15)
movss 0x1718(%rax), %xmm1
movss 0x2e888(%rip), %xmm2    # 0x3d3d8
mulss %xmm1, %xmm2
movss 0x2e860(%rip), %xmm3    # 0x3d3bc
addss %xmm3, %xmm2
cvttps2dq %xmm2, %xmm2
cvtdq2ps %xmm2, %xmm2
movaps %xmm1, %xmm4
subss %xmm2, %xmm4
movss 0x2e866(%rip), %xmm5    # 0x3d3dc
divss %xmm5, %xmm4
cvttps2dq %xmm4, %xmm4
cvtdq2ps %xmm4, %xmm4
movaps %xmm0, %xmm6
addss %xmm3, %xmm6
shufps $0x55, %xmm0, %xmm0     # xmm0 = xmm0[1,1,1,1]
addss 0x2e7f8(%rip), %xmm0    # 0x3d38c
addss %xmm2, %xmm6
movq 0x1710(%rax), %rcx
divss (%rcx), %xmm1
mulss 0x24(%rcx), %xmm1
addss %xmm3, %xmm1
cvttps2dq %xmm1, %xmm1
cvtdq2ps %xmm1, %xmm1
addss %xmm0, %xmm1
movss 0xc(%rcx), %xmm0
cvttps2dq %xmm0, %xmm0
cvtdq2ps %xmm0, %xmm0
addss %xmm1, %xmm0
movaps %xmm0, %xmm2
subss %xmm4, %xmm2
movq 0x270(%r15), %r12
movl 0x70(%r12), %r13d
movl 0x74(%r12), %ecx
cmpl %ecx, %r13d
jne 0xec93
incl %r13d
testl %ecx, %ecx
je 0xebfc
movl %ecx, %edx
shrl $0x1f, %edx
addl %ecx, %edx
sarl %edx
addl %ecx, %edx
jmp 0xec01
movl $0x8, %edx
cmpl %r13d, %edx
cmovgl %edx, %r13d
cmpl %r13d, %ecx
jge 0xec93
movaps %xmm2, -0x40(%rbp)
movaps %xmm6, -0x60(%rbp)
movaps %xmm4, -0x70(%rbp)
movaps %xmm0, -0x50(%rbp)
movslq %r13d, %rdi
shlq $0x3, %rdi
incl 0x334(%rax)
callq *0xd0(%rax)
movq %rax, %r14
movq 0x78(%r12), %rsi
movslq 0x70(%r12), %rdx
shlq $0x3, %rdx
movq %rax, %rdi
callq 0x7080
movq 0x78(%r12), %rdi
testq %rdi, %rdi
je 0xec64
movq 0x46832(%rip), %rax     # 0x55490
decl 0x334(%rax)
movq 0x46825(%rip), %rax     # 0x55490
callq *0xd8(%rax)
movq %r14, 0x78(%r12)
movl %r13d, 0x74(%r12)
movss 0x2e759(%rip), %xmm5    # 0x3d3dc
movaps -0x50(%rbp), %xmm0
movaps -0x70(%rbp), %xmm4
movaps -0x60(%rbp), %xmm6
movaps -0x40(%rbp), %xmm2
mulss %xmm4, %xmm5
movaps %xmm6, %xmm1
addss %xmm4, %xmm1
addss %xmm4, %xmm4
movq 0x78(%r12), %rax
movslq 0x70(%r12), %rcx
leal 0x1(%rcx), %edx
movl %edx, 0x70(%r12)
movss %xmm6, (%rax,%rcx,8)
movss %xmm2, 0x4(%rax,%rcx,8)
movq 0x270(%r15), %r12
movl 0x70(%r12), %r13d
movl 0x74(%r12), %eax
cmpl %eax, %r13d
jne 0xed8d
incl %r13d
testl %eax, %eax
je 0xeced
movl %eax, %ecx
shrl $0x1f, %ecx
addl %eax, %ecx
sarl %ecx
addl %eax, %ecx
jmp 0xecf2
movl $0x8, %ecx
cmpl %r13d, %ecx
cmovgl %ecx, %r13d
cmpl %r13d, %eax
jge 0xed8d
movaps %xmm1, -0x80(%rbp)
movaps %xmm6, -0x60(%rbp)
movaps %xmm4, -0x70(%rbp)
movaps %xmm0, -0x50(%rbp)
movss %xmm5, -0x40(%rbp)
movslq %r13d, %rdi
shlq $0x3, %rdi
movq 0x4676b(%rip), %rax     # 0x55490
incl 0x334(%rax)
callq *0xd0(%rax)
movq %rax, %r14
movq 0x78(%r12), %rsi
movslq 0x70(%r12), %rdx
shlq $0x3, %rdx
movq %rax, %rdi
callq 0x7080
movq 0x78(%r12), %rdi
testq %rdi, %rdi
je 0xed61
movq 0x46735(%rip), %rax     # 0x55490
decl 0x334(%rax)
movq 0x46728(%rip), %rax     # 0x55490
callq *0xd8(%rax)
movq %r14, 0x78(%r12)
movl %r13d, 0x74(%r12)
movss -0x40(%rbp), %xmm5
movaps -0x50(%rbp), %xmm0
movaps -0x70(%rbp), %xmm4
movaps -0x60(%rbp), %xmm6
movaps -0x80(%rbp), %xmm1
addss %xmm6, %xmm5
movq 0x78(%r12), %rax
movslq 0x70(%r12), %rcx
leal 0x1(%rcx), %edx
movl %edx, 0x70(%r12)
movss %xmm1, (%rax,%rcx,8)
movss %xmm0, 0x4(%rax,%rcx,8)
subss %xmm4, %xmm0
movq 0x270(%r15), %r12
movl 0x70(%r12), %r13d
movl 0x74(%r12), %eax
cmpl %eax, %r13d
jne 0xee64
incl %r13d
testl %eax, %eax
je 0xede0
movl %eax, %ecx
shrl $0x1f, %ecx
addl %eax, %ecx
sarl %ecx
addl %eax, %ecx
jmp 0xede5
movl $0x8, %ecx
cmpl %r13d, %ecx
cmovgl %ecx, %r13d
cmpl %r13d, %eax
jge 0xee64
movaps %xmm0, -0x50(%rbp)
movss %xmm5, -0x40(%rbp)
movslq %r13d, %rdi
shlq $0x3, %rdi
movq 0x46688(%rip), %rax     # 0x55490
incl 0x334(%rax)
callq *0xd0(%rax)
movq %rax, %r14
movq 0x78(%r12), %rsi
movslq 0x70(%r12), %rdx
shlq $0x3, %rdx
movq %rax, %rdi
callq 0x7080
movq 0x78(%r12), %rdi
testq %rdi, %rdi
je 0xee44
movq 0x46652(%rip), %rax     # 0x55490
decl 0x334(%rax)
movq 0x46645(%rip), %rax     # 0x55490
callq *0xd8(%rax)
movq %r14, 0x78(%r12)
movl %r13d, 0x74(%r12)
movss -0x40(%rbp), %xmm5
movaps -0x50(%rbp), %xmm0
movq 0x78(%r12), %rax
movslq 0x70(%r12), %rcx
leal 0x1(%rcx), %edx
movl %edx, 0x70(%r12)
movss %xmm5, (%rax,%rcx,8)
movss %xmm0, 0x4(%rax,%rcx,8)
movq 0x270(%r15), %r14
movq 0x78(%r14), %rsi
movl 0x70(%r14), %edx
xorl %r15d, %r15d
movss 0x2e4e5(%rip), %xmm0    # 0x3d380
movq %r14, %rdi
movl %ebx, %ecx
xorl %r8d, %r8d
movl $0x1, %r9d
callq 0x2e1f4
movl 0x74(%r14), %eax
testl %eax, %eax
jns 0xef24
movl %eax, %ecx
shrl $0x1f, %ecx
addl %eax, %ecx
sarl %ecx
addl %eax, %ecx
testl %ecx, %ecx
cmovgl %ecx, %r15d
leaq (,%r15,8), %rdi
movq 0x465ba(%rip), %rax     # 0x55490
incl 0x334(%rax)
callq *0xd0(%rax)
movq %rax, %rbx
movq 0x78(%r14), %rsi
movslq 0x70(%r14), %rdx
shlq $0x3, %rdx
movq %rax, %rdi
callq 0x7080
movq 0x78(%r14), %rdi
testq %rdi, %rdi
je 0xef0f
movq 0x46587(%rip), %rax     # 0x55490
decl 0x334(%rax)
movq 0x4657a(%rip), %rax     # 0x55490
callq *0xd8(%rax)
movq %rbx, 0x78(%r14)
movl %r15d, 0x74(%r14)
movl $0x0, 0x70(%r14)
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq