// File: /workspace/github_c_makefile_star2_O2/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 0x275ab
movq 0x5da6c(%rip), %rbp     # 0x84ff0
movq (%rbp), %rdi
leaq 0x4277d(%rip), %rsi     # 0x69d0c
leaq 0x42794(%rip), %rdx     # 0x69d2a
movl $0x2532, %ecx           # imm = 0x2532
xorl %eax, %eax
callq 0x12ea0
movq (%rbp), %rdi
callq 0x13960
testq %r12, %r12
jne 0x275de
movq 0x5da39(%rip), %rbp     # 0x84ff0
movq (%rbp), %rdi
leaq 0x4274a(%rip), %rsi     # 0x69d0c
leaq 0x42761(%rip), %rdx     # 0x69d2a
movl $0x2533, %ecx           # imm = 0x2533
xorl %eax, %eax
callq 0x12ea0
movq (%rbp), %rdi
callq 0x13960
testq %r13, %r13
jne 0x27611
movq 0x5da06(%rip), %rbp     # 0x84ff0
movq (%rbp), %rdi
leaq 0x42717(%rip), %rsi     # 0x69d0c
leaq 0x4272e(%rip), %rdx     # 0x69d2a
movl $0x2534, %ecx           # imm = 0x2534
xorl %eax, %eax
callq 0x12ea0
movq (%rbp), %rdi
callq 0x13960
testq %r14, %r14
jne 0x27644
movq 0x5d9d3(%rip), %rbp     # 0x84ff0
movq (%rbp), %rdi
leaq 0x426e4(%rip), %rsi     # 0x69d0c
leaq 0x426fb(%rip), %rdx     # 0x69d2a
movl $0x2535, %ecx           # imm = 0x2535
xorl %eax, %eax
callq 0x12ea0
movq (%rbp), %rdi
callq 0x13960
testq %r15, %r15
jne 0x27677
movq 0x5d9a0(%rip), %rbp     # 0x84ff0
movq (%rbp), %rdi
leaq 0x426b1(%rip), %rsi     # 0x69d0c
leaq 0x426c8(%rip), %rdx     # 0x69d2a
movl $0x2536, %ecx           # imm = 0x2536
xorl %eax, %eax
callq 0x12ea0
movq (%rbp), %rdi
callq 0x13960
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 0x27728
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 0x3f119(%rip), %xmm0    # 0x66820
movups %xmm0, (%rbx)
andq $0x0, 0xc8(%rbx)
andq $0x0, 0xd8(%rbx)
andl $0x0, 0xd0(%rbx)
andl $0x0, 0xe0(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq