// File: /workspace/github_c_makefile_star2_O1/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
testq %rdi, %rdi
jne 0x28d41
movq 0x5f2d6(%rip), %rbp     # 0x87ff0
movq (%rbp), %rdi
leaq 0x49067(%rip), %rsi     # 0x71d8c
leaq 0x4907e(%rip), %rdx     # 0x71daa
movl $0x2532, %ecx           # imm = 0x2532
xorl %eax, %eax
callq 0x12d80
movq (%rbp), %rdi
callq 0x13780
testq %r12, %r12
jne 0x28d74
movq 0x5f2a3(%rip), %rbp     # 0x87ff0
movq (%rbp), %rdi
leaq 0x49034(%rip), %rsi     # 0x71d8c
leaq 0x4904b(%rip), %rdx     # 0x71daa
movl $0x2533, %ecx           # imm = 0x2533
xorl %eax, %eax
callq 0x12d80
movq (%rbp), %rdi
callq 0x13780
testq %r13, %r13
jne 0x28da7
movq 0x5f270(%rip), %rbp     # 0x87ff0
movq (%rbp), %rdi
leaq 0x49001(%rip), %rsi     # 0x71d8c
leaq 0x49018(%rip), %rdx     # 0x71daa
movl $0x2534, %ecx           # imm = 0x2534
xorl %eax, %eax
callq 0x12d80
movq (%rbp), %rdi
callq 0x13780
testq %r14, %r14
jne 0x28dda
movq 0x5f23d(%rip), %rbp     # 0x87ff0
movq (%rbp), %rdi
leaq 0x48fce(%rip), %rsi     # 0x71d8c
leaq 0x48fe5(%rip), %rdx     # 0x71daa
movl $0x2535, %ecx           # imm = 0x2535
xorl %eax, %eax
callq 0x12d80
movq (%rbp), %rdi
callq 0x13780
testq %r15, %r15
jne 0x28e0d
movq 0x5f20a(%rip), %rbp     # 0x87ff0
movq (%rbp), %rdi
leaq 0x48f9b(%rip), %rsi     # 0x71d8c
leaq 0x48fb2(%rip), %rdx     # 0x71daa
movl $0x2536, %ecx           # imm = 0x2536
xorl %eax, %eax
callq 0x12d80
movq (%rbp), %rdi
callq 0x13780
testq %r15, %r15
sete %al
testq %r14, %r14
sete %cl
testq %r13, %r13
sete %dl
testq %r12, %r12
sete %sil
testq %rbx, %rbx
sete %dil
orb %sil, %dil
orb %cl, %dl
orb %dil, %dl
orb %al, %dl
jne 0x28eb8
movl 0x40(%rsp), %eax
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), %ecx
movl %ecx, 0xe8(%rbx)
movl %eax, 0xec(%rbx)
movups 0x45a07(%rip), %xmm0    # 0x6e8a0
movups %xmm0, (%rbx)
xorl %eax, %eax
movq %rax, 0xd8(%rbx)
movq %rax, 0xc8(%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