// File: /workspace/github_cpp_makefile_star2_O3/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 0x78cc6
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
movq %r8, -0x40(%rbp)
movl 0x78(%rdi), %eax
cmpl 0x7c(%rdi), %eax
movq %rcx, -0x38(%rbp)
jne 0x78a83
movl %ebx, -0x2c(%rbp)
leal 0x1(%rax), %ebx
testl %eax, %eax
je 0x78a8c
movl %eax, %ecx
shrl $0x1f, %ecx
addl %eax, %ecx
sarl %ecx
addl %eax, %ecx
jmp 0x78a91
movq 0x80(%r14), %r12
jmp 0x78adf
movl $0x8, %ecx
cmpl %ebx, %ecx
cmovgl %ecx, %ebx
movslq %ebx, %rdi
shlq $0x3, %rdi
callq 0x41c63
movq %rax, %r12
movq 0x80(%r14), %rsi
testq %rsi, %rsi
je 0x78acd
movslq 0x78(%r14), %rdx
shlq $0x3, %rdx
movq %r12, %rdi
callq 0xc080
movq 0x80(%r14), %rdi
callq 0x41d3c
movq %r12, 0x80(%r14)
movl %ebx, 0x7c(%r14)
movl 0x78(%r14), %eax
movl -0x2c(%rbp), %ebx
cltq
movq (%r15), %rcx
movq %rcx, (%r12,%rax,8)
movl 0x78(%r14), %r12d
leal 0x1(%r12), %eax
movl %eax, 0x78(%r14)
cmpl 0x7c(%r14), %eax
jne 0x78b10
addl $0x2, %r12d
testl %eax, %eax
je 0x78b19
movl %eax, %ecx
shrl $0x1f, %ecx
addl %eax, %ecx
sarl %ecx
addl %eax, %ecx
jmp 0x78b1e
movq 0x80(%r14), %r15
jmp 0x78b6b
movl $0x8, %ecx
cmpl %r12d, %ecx
cmovgl %ecx, %r12d
movslq %r12d, %rdi
shlq $0x3, %rdi
callq 0x41c63
movq %rax, %r15
movq 0x80(%r14), %rsi
testq %rsi, %rsi
je 0x78b5c
movslq 0x78(%r14), %rdx
shlq $0x3, %rdx
movq %r15, %rdi
callq 0xc080
movq 0x80(%r14), %rdi
callq 0x41d3c
movq %r15, 0x80(%r14)
movl %r12d, 0x7c(%r14)
movl 0x78(%r14), %eax
cltq
movq (%r13), %rcx
movq %rcx, (%r15,%rax,8)
movl 0x78(%r14), %r12d
leal 0x1(%r12), %eax
movl %eax, 0x78(%r14)
cmpl 0x7c(%r14), %eax
jne 0x78b9d
addl $0x2, %r12d
testl %eax, %eax
je 0x78ba6
movl %eax, %ecx
shrl $0x1f, %ecx
addl %eax, %ecx
sarl %ecx
addl %eax, %ecx
jmp 0x78bab
movq 0x80(%r14), %r15
jmp 0x78bf8
movl $0x8, %ecx
cmpl %r12d, %ecx
cmovgl %ecx, %r12d
movslq %r12d, %rdi
shlq $0x3, %rdi
callq 0x41c63
movq %rax, %r15
movq 0x80(%r14), %rsi
testq %rsi, %rsi
je 0x78be9
movslq 0x78(%r14), %rdx
shlq $0x3, %rdx
movq %r15, %rdi
callq 0xc080
movq 0x80(%r14), %rdi
callq 0x41d3c
movq %r15, 0x80(%r14)
movl %r12d, 0x7c(%r14)
movl 0x78(%r14), %eax
movq -0x38(%rbp), %rcx
cltq
movq (%rcx), %rcx
movq %rcx, (%r15,%rax,8)
movl 0x78(%r14), %r12d
leal 0x1(%r12), %eax
movl %eax, 0x78(%r14)
cmpl 0x7c(%r14), %eax
jne 0x78c2d
addl $0x2, %r12d
testl %eax, %eax
je 0x78c36
movl %eax, %ecx
shrl $0x1f, %ecx
addl %eax, %ecx
sarl %ecx
addl %eax, %ecx
jmp 0x78c3b
movq 0x80(%r14), %r15
jmp 0x78c88
movl $0x8, %ecx
cmpl %r12d, %ecx
cmovgl %ecx, %r12d
movslq %r12d, %rdi
shlq $0x3, %rdi
callq 0x41c63
movq %rax, %r15
movq 0x80(%r14), %rsi
testq %rsi, %rsi
je 0x78c79
movslq 0x78(%r14), %rdx
shlq $0x3, %rdx
movq %r15, %rdi
callq 0xc080
movq 0x80(%r14), %rdi
callq 0x41d3c
movq %r15, 0x80(%r14)
movl %r12d, 0x7c(%r14)
movl 0x78(%r14), %eax
cltq
movq -0x40(%rbp), %rcx
movq (%rcx), %rcx
movq %rcx, (%r15,%rax,8)
movl 0x78(%r14), %edx
incl %edx
movl %edx, 0x78(%r14)
movq 0x80(%r14), %rsi
movq %r14, %rdi
movl %ebx, %ecx
callq 0x76d34
movl $0x0, 0x78(%r14)
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop