// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_draw_list_setup
NK_API void
nk_draw_list_setup(struct nk_draw_list *canvas, const struct nk_convert_config *config,
    struct nk_buffer *cmds, struct nk_buffer *vertices, struct nk_buffer *elements,
    enum nk_anti_aliasing line_aa, enum nk_anti_aliasing shape_aa)
{
    NK_ASSERT(canvas);
    NK_ASSERT(config);
    NK_ASSERT(cmds);
    NK_ASSERT(vertices);
    NK_ASSERT(elements);
    if (!canvas || !config || !cmds || !vertices || !elements)
        return;

    canvas->buffer = cmds;
    canvas->config = *config;
    canvas->elements = elements;
    canvas->vertices = vertices;
    canvas->line_AA = line_aa;
    canvas->shape_AA = shape_aa;
    canvas->clip_rect = nk_null_rect;

    canvas->cmd_offset = 0;
    canvas->element_count = 0;
    canvas->vertex_count = 0;
    canvas->cmd_offset = 0;
    canvas->cmd_count = 0;
    canvas->path_count = 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %r9d, 0x4(%rsp)
movq %r8, %r15
movq %rcx, %r14
movq %rdx, %r13
movq %rsi, %r12
movq %rdi, %rbx
movl 0x40(%rsp), %eax
movl %eax, (%rsp)
testq %rdi, %rdi
jne 0x28e34
movq 0x5e1e3(%rip), %rbp     # 0x86ff0
movq (%rbp), %rdi
leaq 0x47f84(%rip), %rsi     # 0x70d9c
leaq 0x47f9b(%rip), %rdx     # 0x70dba
movl $0x2532, %ecx           # imm = 0x2532
xorl %eax, %eax
callq 0x12d80
movq (%rbp), %rdi
callq 0x13780
testq %r12, %r12
jne 0x28e67
movq 0x5e1b0(%rip), %rbp     # 0x86ff0
movq (%rbp), %rdi
leaq 0x47f51(%rip), %rsi     # 0x70d9c
leaq 0x47f68(%rip), %rdx     # 0x70dba
movl $0x2533, %ecx           # imm = 0x2533
xorl %eax, %eax
callq 0x12d80
movq (%rbp), %rdi
callq 0x13780
testq %r13, %r13
jne 0x28e9a
movq 0x5e17d(%rip), %rbp     # 0x86ff0
movq (%rbp), %rdi
leaq 0x47f1e(%rip), %rsi     # 0x70d9c
leaq 0x47f35(%rip), %rdx     # 0x70dba
movl $0x2534, %ecx           # imm = 0x2534
xorl %eax, %eax
callq 0x12d80
movq (%rbp), %rdi
callq 0x13780
testq %r14, %r14
jne 0x28ecd
movq 0x5e14a(%rip), %rbp     # 0x86ff0
movq (%rbp), %rdi
leaq 0x47eeb(%rip), %rsi     # 0x70d9c
leaq 0x47f02(%rip), %rdx     # 0x70dba
movl $0x2535, %ecx           # imm = 0x2535
xorl %eax, %eax
callq 0x12d80
movq (%rbp), %rdi
callq 0x13780
testq %r15, %r15
je 0x28f86
testq %r14, %r14
sete %al
testq %r13, %r13
sete %cl
testq %r12, %r12
sete %dl
testq %rbx, %rbx
sete %sil
orb %dl, %sil
orb %al, %cl
orb %sil, %cl
jne 0x28f77
movq %r13, 0xb0(%rbx)
movups (%r12), %xmm0
movups 0x10(%r12), %xmm1
movups 0x20(%r12), %xmm2
movups 0x30(%r12), %xmm3
movups %xmm0, 0x70(%rbx)
movups %xmm1, 0x80(%rbx)
movups %xmm2, 0x90(%rbx)
movups %xmm3, 0xa0(%rbx)
movq %r15, 0xc0(%rbx)
movq %r14, 0xb8(%rbx)
movl 0x4(%rsp), %eax
movl %eax, 0xe8(%rbx)
movl (%rsp), %eax
movl %eax, 0xec(%rbx)
movups 0x44938(%rip), %xmm0    # 0x6d890
movups %xmm0, (%rbx)
xorl %eax, %eax
movq %rax, 0xc8(%rbx)
movq %rax, 0xd8(%rbx)
movl %eax, 0xd0(%rbx)
movl %eax, 0xe0(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x5e063(%rip), %rbx     # 0x86ff0
movq (%rbx), %rdi
leaq 0x47e05(%rip), %rsi     # 0x70d9c
leaq 0x47e1c(%rip), %rdx     # 0x70dba
movl $0x2536, %ecx           # imm = 0x2536
xorl %eax, %eax
callq 0x12d80
movq (%rbx), %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x13780