// File: /workspace/github_cpp_makefile_star2_O1/Ciaxur[P]yagb-emu/include/imgui/imgui_draw.cpp
// Function: ImDrawList::AddQuadFilled(ImVec2 const&, ImVec2 const&, ImVec2 const&, ImVec2 const&, unsigned int)
void ImDrawList::AddQuadFilled(const ImVec2& p1, const ImVec2& p2, const ImVec2& p3, const ImVec2& p4, ImU32 col)
{
    if ((col & IM_COL32_A_MASK) == 0)
        return;

    PathLineTo(p1);
    PathLineTo(p2);
    PathLineTo(p3);
    PathLineTo(p4);
    PathFillConvex(col);
}

// Assembly:
cmpl $0x1000000, %r9d        # imm = 0x1000000
jb 0x7a4cb
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %r9d, %ebx
movq %rdx, %r13
movq %rsi, %r15
movq %rdi, %r14
movl 0x78(%rdi), %r12d
movl 0x7c(%rdi), %eax
cmpl %eax, %r12d
jne 0x7a2b6
incl %r12d
testl %eax, %eax
je 0x7a24e
movl %eax, %edx
shrl $0x1f, %edx
addl %eax, %edx
sarl %edx
addl %eax, %edx
jmp 0x7a253
movl $0x8, %edx
cmpl %r12d, %edx
cmovgl %edx, %r12d
cmpl %r12d, %eax
jge 0x7a2b6
movq %rcx, -0x30(%rbp)
movq %r8, -0x38(%rbp)
movslq %r12d, %rdi
shlq $0x3, %rdi
callq 0x424fb
movq 0x80(%r14), %rsi
testq %rsi, %rsi
je 0x7a2a3
movslq 0x78(%r14), %rdx
shlq $0x3, %rdx
movq %rax, %rdi
movq %rax, -0x40(%rbp)
callq 0xc080
movq 0x80(%r14), %rdi
callq 0x425d4
movq -0x40(%rbp), %rax
movq %rax, 0x80(%r14)
movl %r12d, 0x7c(%r14)
movq -0x38(%rbp), %r8
movq -0x30(%rbp), %rcx
movq 0x80(%r14), %rax
movslq 0x78(%r14), %rsi
movq (%r15), %rdx
movq %rdx, (%rax,%rsi,8)
movl 0x78(%r14), %r12d
movl 0x7c(%r14), %eax
leal 0x1(%r12), %edx
movl %edx, 0x78(%r14)
cmpl %eax, %edx
jne 0x7a355
addl $0x2, %r12d
testl %eax, %eax
je 0x7a2f2
movl %eax, %edx
shrl $0x1f, %edx
addl %eax, %edx
sarl %edx
addl %eax, %edx
jmp 0x7a2f7
movl $0x8, %edx
cmpl %r12d, %edx
cmovgl %edx, %r12d
cmpl %r12d, %eax
jge 0x7a355
movq %rcx, -0x30(%rbp)
movq %r8, -0x38(%rbp)
movslq %r12d, %rdi
shlq $0x3, %rdi
callq 0x424fb
movq %rax, %r15
movq 0x80(%r14), %rsi
testq %rsi, %rsi
je 0x7a342
movslq 0x78(%r14), %rdx
shlq $0x3, %rdx
movq %r15, %rdi
callq 0xc080
movq 0x80(%r14), %rdi
callq 0x425d4
movq %r15, 0x80(%r14)
movl %r12d, 0x7c(%r14)
movq -0x38(%rbp), %r8
movq -0x30(%rbp), %rcx
movq 0x80(%r14), %rax
movslq 0x78(%r14), %rsi
movq (%r13), %rdx
movq %rdx, (%rax,%rsi,8)
movl 0x78(%r14), %r12d
movl 0x7c(%r14), %eax
leal 0x1(%r12), %edx
movl %edx, 0x78(%r14)
cmpl %eax, %edx
jne 0x7a3f3
addl $0x2, %r12d
testl %eax, %eax
je 0x7a392
movl %eax, %edx
shrl $0x1f, %edx
addl %eax, %edx
sarl %edx
addl %eax, %edx
jmp 0x7a397
movl $0x8, %edx
cmpl %r12d, %edx
cmovgl %edx, %r12d
cmpl %r12d, %eax
jge 0x7a3f3
movq %rcx, -0x30(%rbp)
movq %r8, %r13
movslq %r12d, %rdi
shlq $0x3, %rdi
callq 0x424fb
movq %rax, %r15
movq 0x80(%r14), %rsi
testq %rsi, %rsi
je 0x7a3e1
movslq 0x78(%r14), %rdx
shlq $0x3, %rdx
movq %r15, %rdi
callq 0xc080
movq 0x80(%r14), %rdi
callq 0x425d4
movq %r15, 0x80(%r14)
movl %r12d, 0x7c(%r14)
movq %r13, %r8
movq -0x30(%rbp), %rcx
movq 0x80(%r14), %rax
movslq 0x78(%r14), %rsi
movq (%rcx), %rdx
movq %rdx, (%rax,%rsi,8)
movl 0x78(%r14), %r12d
movl 0x7c(%r14), %eax
leal 0x1(%r12), %ecx
movl %ecx, 0x78(%r14)
cmpl %eax, %ecx
jne 0x7a488
addl $0x2, %r12d
testl %eax, %eax
je 0x7a42f
movl %eax, %ecx
shrl $0x1f, %ecx
addl %eax, %ecx
sarl %ecx
addl %eax, %ecx
jmp 0x7a434
movl $0x8, %ecx
cmpl %r12d, %ecx
cmovgl %ecx, %r12d
cmpl %r12d, %eax
jge 0x7a488
movq %r8, %r13
movslq %r12d, %rdi
shlq $0x3, %rdi
callq 0x424fb
movq %rax, %r15
movq 0x80(%r14), %rsi
testq %rsi, %rsi
je 0x7a47a
movslq 0x78(%r14), %rdx
shlq $0x3, %rdx
movq %r15, %rdi
callq 0xc080
movq 0x80(%r14), %rdi
callq 0x425d4
movq %r15, 0x80(%r14)
movl %r12d, 0x7c(%r14)
movq %r13, %r8
movq 0x80(%r14), %rax
movslq 0x78(%r14), %rcx
movq (%r8), %rdx
movq %rdx, (%rax,%rcx,8)
movl 0x78(%r14), %edx
incl %edx
movl %edx, 0x78(%r14)
movq 0x80(%r14), %rsi
movq %r14, %rdi
movl %ebx, %ecx
callq 0x78432
movl $0x0, 0x78(%r14)
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq