// File: /workspace/github_cpp_makefile_star2_O3/Ciaxur[P]yagb-emu/include/imgui/imgui_draw.cpp
// Function: ImGui::RenderCheckMark(ImDrawList*, ImVec2, unsigned int, float)
void ImGui::RenderCheckMark(ImDrawList* draw_list, ImVec2 pos, ImU32 col, float sz)
{
    float thickness = ImMax(sz / 5.0f, 1.0f);
    sz -= thickness * 0.5f;
    pos += ImVec2(thickness * 0.25f, thickness * 0.25f);

    float third = sz / 3.0f;
    float bx = pos.x + third;
    float by = pos.y + sz - third * 0.5f;
    draw_list->PathLineTo(ImVec2(bx - third, by - third));
    draw_list->PathLineTo(ImVec2(bx, by));
    draw_list->PathLineTo(ImVec2(bx + third * 2.0f, by - third * 2.0f));
    draw_list->PathStroke(col, false, thickness);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x70, %rsp
movl %esi, %r14d
movq %rdi, %rbx
movaps %xmm1, %xmm3
divss 0x33912(%rip), %xmm3    # 0xb5894
maxss 0x3305a(%rip), %xmm3    # 0xb4fe4
movss 0x33072(%rip), %xmm4    # 0xb5004
movaps %xmm3, %xmm2
mulss %xmm4, %xmm2
subss %xmm2, %xmm1
movss 0x33047(%rip), %xmm2    # 0xb4fec
movss %xmm3, -0x24(%rbp)
mulss %xmm3, %xmm2
movaps %xmm0, %xmm3
addss %xmm2, %xmm3
shufps $0x55, %xmm0, %xmm0     # xmm0 = xmm0[1,1,1,1]
addss %xmm2, %xmm0
addss %xmm1, %xmm0
divss 0x33027(%rip), %xmm1    # 0xb4ff0
addss %xmm1, %xmm3
mulss %xmm1, %xmm4
subss %xmm4, %xmm0
movaps %xmm3, -0x50(%rbp)
subss %xmm1, %xmm3
movaps %xmm0, -0x60(%rbp)
movaps %xmm0, %xmm2
movaps %xmm1, -0x40(%rbp)
subss %xmm1, %xmm2
movl 0x78(%rdi), %eax
cmpl 0x7c(%rdi), %eax
jne 0x82011
leal 0x1(%rax), %r12d
testl %eax, %eax
movaps %xmm3, -0x80(%rbp)
movaps %xmm2, -0x70(%rbp)
je 0x8201a
movl %eax, %ecx
shrl $0x1f, %ecx
addl %eax, %ecx
sarl %ecx
addl %eax, %ecx
jmp 0x8201f
movq 0x80(%rbx), %r15
jmp 0x82073
movl $0x8, %ecx
cmpl %r12d, %ecx
cmovgl %ecx, %r12d
movslq %r12d, %rdi
shlq $0x3, %rdi
callq 0x41c63
movq %rax, %r15
movq 0x80(%rbx), %rsi
testq %rsi, %rsi
je 0x8205d
movslq 0x78(%rbx), %rdx
shlq $0x3, %rdx
movq %r15, %rdi
callq 0xc080
movq 0x80(%rbx), %rdi
callq 0x41d3c
movq %r15, 0x80(%rbx)
movl %r12d, 0x7c(%rbx)
movl 0x78(%rbx), %eax
movaps -0x80(%rbp), %xmm3
movaps -0x70(%rbp), %xmm2
movaps 0x32f46(%rip), %xmm0    # 0xb4fc0
xorps -0x40(%rbp), %xmm0
movaps %xmm0, -0x90(%rbp)
cltq
movss %xmm3, (%r15,%rax,8)
movss %xmm2, 0x4(%r15,%rax,8)
movl 0x78(%rbx), %r12d
leal 0x1(%r12), %eax
movl %eax, 0x78(%rbx)
cmpl 0x7c(%rbx), %eax
jne 0x820ba
addl $0x2, %r12d
testl %eax, %eax
je 0x820c3
movl %eax, %ecx
shrl $0x1f, %ecx
addl %eax, %ecx
sarl %ecx
addl %eax, %ecx
jmp 0x820c8
movq 0x80(%rbx), %r15
jmp 0x82114
movl $0x8, %ecx
cmpl %r12d, %ecx
cmovgl %ecx, %r12d
movslq %r12d, %rdi
shlq $0x3, %rdi
callq 0x41c63
movq %rax, %r15
movq 0x80(%rbx), %rsi
testq %rsi, %rsi
je 0x82106
movslq 0x78(%rbx), %rdx
shlq $0x3, %rdx
movq %r15, %rdi
callq 0xc080
movq 0x80(%rbx), %rdi
callq 0x41d3c
movq %r15, 0x80(%rbx)
movl %r12d, 0x7c(%rbx)
movl 0x78(%rbx), %eax
cltq
movaps -0x50(%rbp), %xmm0
movss %xmm0, (%r15,%rax,8)
movaps -0x60(%rbp), %xmm0
movss %xmm0, 0x4(%r15,%rax,8)
movl 0x78(%rbx), %r12d
leal 0x1(%r12), %eax
movl %eax, 0x78(%rbx)
cmpl 0x7c(%rbx), %eax
jne 0x82151
addl $0x2, %r12d
testl %eax, %eax
je 0x8215a
movl %eax, %ecx
shrl $0x1f, %ecx
addl %eax, %ecx
sarl %ecx
addl %eax, %ecx
jmp 0x8215f
movq 0x80(%rbx), %r15
jmp 0x821ab
movl $0x8, %ecx
cmpl %r12d, %ecx
cmovgl %ecx, %r12d
movslq %r12d, %rdi
shlq $0x3, %rdi
callq 0x41c63
movq %rax, %r15
movq 0x80(%rbx), %rsi
testq %rsi, %rsi
je 0x8219d
movslq 0x78(%rbx), %rdx
shlq $0x3, %rdx
movq %r15, %rdi
callq 0xc080
movq 0x80(%rbx), %rdi
callq 0x41d3c
movq %r15, 0x80(%rbx)
movl %r12d, 0x7c(%rbx)
movl 0x78(%rbx), %eax
movaps -0x90(%rbp), %xmm1
addss %xmm1, %xmm1
addss -0x60(%rbp), %xmm1
movaps -0x40(%rbp), %xmm0
addss %xmm0, %xmm0
addss -0x50(%rbp), %xmm0
cltq
movss %xmm0, (%r15,%rax,8)
movss %xmm1, 0x4(%r15,%rax,8)
movl 0x78(%rbx), %edx
incl %edx
movl %edx, 0x78(%rbx)
movq 0x80(%rbx), %rsi
movq %rbx, %rdi
movl %r14d, %ecx
xorl %r8d, %r8d
movss -0x24(%rbp), %xmm0
callq 0x76296
movl $0x0, 0x78(%rbx)
addq $0x70, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq