// File: /workspace/github_c_makefile_star2_O0/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:
subq $0x38, %rsp
movl 0x40(%rsp), %eax
movq %rdi, 0x30(%rsp)
movq %rsi, 0x28(%rsp)
movq %rdx, 0x20(%rsp)
movq %rcx, 0x18(%rsp)
movq %r8, 0x10(%rsp)
movl %r9d, 0xc(%rsp)
cmpq $0x0, 0x30(%rsp)
jne 0x34e41
movq 0x901db(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x7c581(%rip), %rsi     # 0xb13a0
leaq 0x7c598(%rip), %rdx     # 0xb13be
movl $0x2532, %ecx           # imm = 0x2532
movb $0x0, %al
callq 0x13ec0
movq 0x901b7(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x34e43
jmp 0x34e45
cmpq $0x0, 0x28(%rsp)
jne 0x34e80
movq 0x9019c(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x7c542(%rip), %rsi     # 0xb13a0
leaq 0x7c559(%rip), %rdx     # 0xb13be
movl $0x2533, %ecx           # imm = 0x2533
movb $0x0, %al
callq 0x13ec0
movq 0x90178(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x34e82
jmp 0x34e84
cmpq $0x0, 0x20(%rsp)
jne 0x34ebf
movq 0x9015d(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x7c503(%rip), %rsi     # 0xb13a0
leaq 0x7c51a(%rip), %rdx     # 0xb13be
movl $0x2534, %ecx           # imm = 0x2534
movb $0x0, %al
callq 0x13ec0
movq 0x90139(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x34ec1
jmp 0x34ec3
cmpq $0x0, 0x18(%rsp)
jne 0x34efe
movq 0x9011e(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x7c4c4(%rip), %rsi     # 0xb13a0
leaq 0x7c4db(%rip), %rdx     # 0xb13be
movl $0x2535, %ecx           # imm = 0x2535
movb $0x0, %al
callq 0x13ec0
movq 0x900fa(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x34f00
jmp 0x34f02
cmpq $0x0, 0x10(%rsp)
jne 0x34f3d
movq 0x900df(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x7c485(%rip), %rsi     # 0xb13a0
leaq 0x7c49c(%rip), %rdx     # 0xb13be
movl $0x2536, %ecx           # imm = 0x2536
movb $0x0, %al
callq 0x13ec0
movq 0x900bb(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x34f3f
cmpq $0x0, 0x30(%rsp)
je 0x34f67
cmpq $0x0, 0x28(%rsp)
je 0x34f67
cmpq $0x0, 0x20(%rsp)
je 0x34f67
cmpq $0x0, 0x18(%rsp)
je 0x34f67
cmpq $0x0, 0x10(%rsp)
jne 0x34f6c
jmp 0x3504b
movq 0x20(%rsp), %rcx
movq 0x30(%rsp), %rax
movq %rcx, 0xb0(%rax)
movq 0x30(%rsp), %rdi
addq $0x70, %rdi
movq 0x28(%rsp), %rsi
movl $0x40, %edx
callq 0x14160
movq 0x10(%rsp), %rcx
movq 0x30(%rsp), %rax
movq %rcx, 0xc0(%rax)
movq 0x18(%rsp), %rcx
movq 0x30(%rsp), %rax
movq %rcx, 0xb8(%rax)
movl 0xc(%rsp), %ecx
movq 0x30(%rsp), %rax
movl %ecx, 0xe8(%rax)
movl 0x40(%rsp), %ecx
movq 0x30(%rsp), %rax
movl %ecx, 0xec(%rax)
movq 0x30(%rsp), %rax
movq 0x78883(%rip), %rcx     # 0xad864
movq %rcx, (%rax)
movq 0x78881(%rip), %rcx     # 0xad86c
movq %rcx, 0x8(%rax)
movq 0x30(%rsp), %rax
movq $0x0, 0xd8(%rax)
movq 0x30(%rsp), %rax
movl $0x0, 0xc8(%rax)
movq 0x30(%rsp), %rax
movl $0x0, 0xcc(%rax)
movq 0x30(%rsp), %rax
movq $0x0, 0xd8(%rax)
movq 0x30(%rsp), %rax
movl $0x0, 0xd0(%rax)
movq 0x30(%rsp), %rax
movl $0x0, 0xe0(%rax)
addq $0x38, %rsp
retq