// File: /workspace/github_cpp_makefile_star2_O3/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 0x46b7f(%rip), %rax     # 0x55480
movq 0x1758(%rax), %r15
movb $0x1, 0x72(%r15)
movss 0x1718(%rax), %xmm1
movss 0x2eacf(%rip), %xmm2    # 0x3d3ec
mulss %xmm1, %xmm2
movss 0x2eaa3(%rip), %xmm3    # 0x3d3cc
addss %xmm3, %xmm2
cvttps2dq %xmm2, %xmm2
cvtdq2ps %xmm2, %xmm2
movaps %xmm1, %xmm4
subss %xmm2, %xmm4
movss 0x2eaad(%rip), %xmm5    # 0x3d3f0
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 0x2ea3b(%rip), %xmm0    # 0x3d39c
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), %ecx
cmpl 0x74(%r12), %ecx
movaps %xmm0, -0x40(%rbp)
movaps %xmm6, -0x60(%rbp)
jne 0xe9d3
leal 0x1(%rcx), %r13d
testl %ecx, %ecx
movaps %xmm4, -0x50(%rbp)
movaps %xmm2, -0x70(%rbp)
je 0xe9da
movl %ecx, %edx
shrl $0x1f, %edx
addl %ecx, %edx
sarl %edx
addl %ecx, %edx
jmp 0xe9df
movq 0x78(%r12), %r14
jmp 0xea56
movl $0x8, %edx
cmpl %r13d, %edx
cmovgl %edx, %r13d
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
movq 0x46a62(%rip), %rax     # 0x55480
testq %rdi, %rdi
je 0xea29
decl 0x334(%rax)
callq *0xd8(%rax)
movq %r14, 0x78(%r12)
movl %r13d, 0x74(%r12)
movl 0x70(%r12), %ecx
movss 0x2e9aa(%rip), %xmm5    # 0x3d3f0
movaps -0x40(%rbp), %xmm0
movaps -0x50(%rbp), %xmm4
movaps -0x60(%rbp), %xmm6
movaps -0x70(%rbp), %xmm2
mulss %xmm4, %xmm5
movaps %xmm6, %xmm1
addss %xmm4, %xmm1
addss %xmm4, %xmm4
leal 0x1(%rcx), %eax
movl %eax, 0x70(%r12)
movslq %ecx, %rax
movss %xmm6, (%r14,%rax,8)
movss %xmm2, 0x4(%r14,%rax,8)
movq 0x270(%r15), %r12
movl 0x70(%r12), %eax
cmpl 0x74(%r12), %eax
jne 0xeab2
leal 0x1(%rax), %r13d
testl %eax, %eax
movss %xmm5, -0x2c(%rbp)
movaps %xmm4, -0x50(%rbp)
movaps %xmm1, -0x80(%rbp)
je 0xeabc
movl %eax, %ecx
shrl $0x1f, %ecx
addl %eax, %ecx
sarl %ecx
addl %eax, %ecx
jmp 0xeac1
movq 0x78(%r12), %r14
jmp 0xeb3c
movl $0x8, %ecx
cmpl %r13d, %ecx
cmovgl %ecx, %r13d
movslq %r13d, %rdi
shlq $0x3, %rdi
movq 0x469aa(%rip), %rax     # 0x55480
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
movq 0x46979(%rip), %rax     # 0x55480
testq %rdi, %rdi
je 0xeb12
decl 0x334(%rax)
callq *0xd8(%rax)
movq %r14, 0x78(%r12)
movl %r13d, 0x74(%r12)
movl 0x70(%r12), %eax
movss -0x2c(%rbp), %xmm5
movaps -0x40(%rbp), %xmm0
movaps -0x50(%rbp), %xmm4
movaps -0x60(%rbp), %xmm6
movaps -0x80(%rbp), %xmm1
addss %xmm6, %xmm5
leal 0x1(%rax), %ecx
movl %ecx, 0x70(%r12)
cltq
movss %xmm1, (%r14,%rax,8)
movss %xmm0, 0x4(%r14,%rax,8)
subss %xmm4, %xmm0
movq 0x270(%r15), %r12
movl 0x70(%r12), %eax
cmpl 0x74(%r12), %eax
jne 0xeb8c
leal 0x1(%rax), %r13d
testl %eax, %eax
movss %xmm5, -0x2c(%rbp)
movaps %xmm0, -0x40(%rbp)
je 0xeb93
movl %eax, %ecx
shrl $0x1f, %ecx
addl %eax, %ecx
sarl %ecx
addl %eax, %ecx
jmp 0xeb98
movq 0x78(%r12), %r14
jmp 0xec07
movl $0x8, %ecx
cmpl %r13d, %ecx
cmovgl %ecx, %r13d
movslq %r13d, %rdi
shlq $0x3, %rdi
movq 0x468d3(%rip), %rax     # 0x55480
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
movq 0x468a2(%rip), %rax     # 0x55480
testq %rdi, %rdi
je 0xebe9
decl 0x334(%rax)
callq *0xd8(%rax)
movq %r14, 0x78(%r12)
movl %r13d, 0x74(%r12)
movl 0x70(%r12), %eax
movss -0x2c(%rbp), %xmm5
movaps -0x40(%rbp), %xmm0
leal 0x1(%rax), %ecx
movl %ecx, 0x70(%r12)
cltq
movss %xmm5, (%r14,%rax,8)
movss %xmm0, 0x4(%r14,%rax,8)
movq 0x270(%r15), %r14
movq 0x78(%r14), %rsi
movl 0x70(%r14), %edx
movss 0x2e75b(%rip), %xmm0    # 0x3d390
movq %r14, %rdi
movl %ebx, %ecx
xorl %r8d, %r8d
movl $0x1, %r9d
callq 0x2dc76
cmpl $0x0, 0x74(%r14)
jns 0xeca3
movq 0x4682a(%rip), %rax     # 0x55480
incl 0x334(%rax)
xorl %edi, %edi
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
movq 0x467fa(%rip), %rax     # 0x55480
testq %rdi, %rdi
je 0xec91
decl 0x334(%rax)
callq *0xd8(%rax)
movq %rbx, 0x78(%r14)
movl $0x0, 0x74(%r14)
movl $0x0, 0x70(%r14)
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq