// File: /workspace/github_c_makefile_star2_O0/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_convert
NK_API nk_flags
nk_convert(struct nk_context *ctx, struct nk_buffer *cmds,
    struct nk_buffer *vertices, struct nk_buffer *elements,
    const struct nk_convert_config *config)
{
    nk_flags res = NK_CONVERT_SUCCESS;
    const struct nk_command *cmd;
    NK_ASSERT(ctx);
    NK_ASSERT(cmds);
    NK_ASSERT(vertices);
    NK_ASSERT(elements);
    NK_ASSERT(config);
    NK_ASSERT(config->vertex_layout);
    NK_ASSERT(config->vertex_size);
    if (!ctx || !cmds || !vertices || !elements || !config || !config->vertex_layout)
        return NK_CONVERT_INVALID_PARAM;

    nk_draw_list_setup(&ctx->draw_list, config, cmds, vertices, elements,
        config->line_AA, config->shape_AA);
    nk_foreach(cmd, ctx)
    {
#ifdef NK_INCLUDE_COMMAND_USERDATA
        ctx->draw_list.userdata = cmd->userdata;
#endif
        switch (cmd->type) {
        case NK_COMMAND_NOP: break;
        case NK_COMMAND_SCISSOR: {
            const struct nk_command_scissor *s = (const struct nk_command_scissor*)cmd;
            nk_draw_list_add_clip(&ctx->draw_list, nk_rect(s->x, s->y, s->w, s->h));
        } break;
        case NK_COMMAND_LINE: {
            const struct nk_command_line *l = (const struct nk_command_line*)cmd;
            nk_draw_list_stroke_line(&ctx->draw_list, nk_vec2(l->begin.x, l->begin.y),
                nk_vec2(l->end.x, l->end.y), l->color, l->line_thickness);
        } break;
        case NK_COMMAND_CURVE: {
            const struct nk_command_curve *q = (const struct nk_command_curve*)cmd;
            nk_draw_list_stroke_curve(&ctx->draw_list, nk_vec2(q->begin.x, q->begin.y),
                nk_vec2(q->ctrl[0].x, q->ctrl[0].y), nk_vec2(q->ctrl[1].x,
                q->ctrl[1].y), nk_vec2(q->end.x, q->end.y), q->color,
                config->curve_segment_count, q->line_thickness);
        } break;
        case NK_COMMAND_RECT: {
            const struct nk_command_rect *r = (const struct nk_command_rect*)cmd;
            nk_draw_list_stroke_rect(&ctx->draw_list, nk_rect(r->x, r->y, r->w, r->h),
                r->color, (float)r->rounding, r->line_thickness);
        } break;
        case NK_COMMAND_RECT_FILLED: {
            const struct nk_command_rect_filled *r = (const struct nk_command_rect_filled*)cmd;
            nk_draw_list_fill_rect(&ctx->draw_list, nk_rect(r->x, r->y, r->w, r->h),
                r->color, (float)r->rounding);
        } break;
        case NK_COMMAND_RECT_MULTI_COLOR: {
            const struct nk_command_rect_multi_color *r = (const struct nk_command_rect_multi_color*)cmd;
            nk_draw_list_fill_rect_multi_color(&ctx->draw_list, nk_rect(r->x, r->y, r->w, r->h),
                r->left, r->top, r->right, r->bottom);
        } break;
        case NK_COMMAND_CIRCLE: {
            const struct nk_command_circle *c = (const struct nk_command_circle*)cmd;
            nk_draw_list_stroke_circle(&ctx->draw_list, nk_vec2((float)c->x + (float)c->w/2,
                (float)c->y + (float)c->h/2), (float)c->w/2, c->color,
                config->circle_segment_count, c->line_thickness);
        } break;
        case NK_COMMAND_CIRCLE_FILLED: {
            const struct nk_command_circle_filled *c = (const struct nk_command_circle_filled *)cmd;
            nk_draw_list_fill_circle(&ctx->draw_list, nk_vec2((float)c->x + (float)c->w/2,
                (float)c->y + (float)c->h/2), (float)c->w/2, c->color,
                config->circle_segment_count);
        } break;
        case NK_COMMAND_ARC: {
            const struct nk_command_arc *c = (const struct nk_command_arc*)cmd;
            nk_draw_list_path_line_to(&ctx->draw_list, nk_vec2(c->cx, c->cy));
            nk_draw_list_path_arc_to(&ctx->draw_list, nk_vec2(c->cx, c->cy), c->r,
                c->a[0], c->a[1], config->arc_segment_count);
            nk_draw_list_path_stroke(&ctx->draw_list, c->color, NK_STROKE_CLOSED, c->line_thickness);
        } break;
        case NK_COMMAND_ARC_FILLED: {
            const struct nk_command_arc_filled *c = (const struct nk_command_arc_filled*)cmd;
            nk_draw_list_path_line_to(&ctx->draw_list, nk_vec2(c->cx, c->cy));
            nk_draw_list_path_arc_to(&ctx->draw_list, nk_vec2(c->cx, c->cy), c->r,
                c->a[0], c->a[1], config->arc_segment_count);
            nk_draw_list_path_fill(&ctx->draw_list, c->color);
        } break;
        case NK_COMMAND_TRIANGLE: {
            const struct nk_command_triangle *t = (const struct nk_command_triangle*)cmd;
            nk_draw_list_stroke_triangle(&ctx->draw_list, nk_vec2(t->a.x, t->a.y),
                nk_vec2(t->b.x, t->b.y), nk_vec2(t->c.x, t->c.y), t->color,
                t->line_thickness);
        } break;
        case NK_COMMAND_TRIANGLE_FILLED: {
            const struct nk_command_triangle_filled *t = (const struct nk_command_triangle_filled*)cmd;
            nk_draw_list_fill_triangle(&ctx->draw_list, nk_vec2(t->a.x, t->a.y),
                nk_vec2(t->b.x, t->b.y), nk_vec2(t->c.x, t->c.y), t->color);
        } break;
        case NK_COMMAND_POLYGON: {
            int i;
            const struct nk_command_polygon*p = (const struct nk_command_polygon*)cmd;
            for (i = 0; i < p->point_count; ++i) {
                struct nk_vec2 pnt = nk_vec2((float)p->points[i].x, (float)p->points[i].y);
                nk_draw_list_path_line_to(&ctx->draw_list, pnt);
            }
            nk_draw_list_path_stroke(&ctx->draw_list, p->color, NK_STROKE_CLOSED, p->line_thickness);
        } break;
        case NK_COMMAND_POLYGON_FILLED: {
            int i;
            const struct nk_command_polygon_filled *p = (const struct nk_command_polygon_filled*)cmd;
            for (i = 0; i < p->point_count; ++i) {
                struct nk_vec2 pnt = nk_vec2((float)p->points[i].x, (float)p->points[i].y);
                nk_draw_list_path_line_to(&ctx->draw_list, pnt);
            }
            nk_draw_list_path_fill(&ctx->draw_list, p->color);
        } break;
        case NK_COMMAND_POLYLINE: {
            int i;
            const struct nk_command_polyline *p = (const struct nk_command_polyline*)cmd;
            for (i = 0; i < p->point_count; ++i) {
                struct nk_vec2 pnt = nk_vec2((float)p->points[i].x, (float)p->points[i].y);
                nk_draw_list_path_line_to(&ctx->draw_list, pnt);
            }
            nk_draw_list_path_stroke(&ctx->draw_list, p->color, NK_STROKE_OPEN, p->line_thickness);
        } break;
        case NK_COMMAND_TEXT: {
            const struct nk_command_text *t = (const struct nk_command_text*)cmd;
            nk_draw_list_add_text(&ctx->draw_list, t->font, nk_rect(t->x, t->y, t->w, t->h),
                t->string, t->length, t->height, t->foreground);
        } break;
        case NK_COMMAND_IMAGE: {
            const struct nk_command_image *i = (const struct nk_command_image*)cmd;
            nk_draw_list_add_image(&ctx->draw_list, i->img, nk_rect(i->x, i->y, i->w, i->h), i->col);
        } break;
        case NK_COMMAND_CUSTOM: {
            const struct nk_command_custom *c = (const struct nk_command_custom*)cmd;
            c->callback(&ctx->draw_list, c->x, c->y, c->w, c->h, c->callback_data);
        } break;
        default: break;
        }
    }
    res |= (cmds->needed > cmds->allocated + (cmds->memory.size - cmds->size)) ? NK_CONVERT_COMMAND_BUFFER_FULL: 0;
    res |= (vertices->needed > vertices->allocated) ? NK_CONVERT_VERTEX_BUFFER_FULL: 0;
    res |= (elements->needed > elements->allocated) ? NK_CONVERT_ELEMENT_BUFFER_FULL: 0;
    return res;
}

// Assembly:
subq $0x2b8, %rsp            # imm = 0x2B8
movq %rdi, 0x2a8(%rsp)
movq %rsi, 0x2a0(%rsp)
movq %rdx, 0x298(%rsp)
movq %rcx, 0x290(%rsp)
movq %r8, 0x288(%rsp)
movl $0x0, 0x284(%rsp)
cmpq $0x0, 0x2a8(%rsp)
jne 0x3ae58
movq 0x8a1c4(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x7656a(%rip), %rsi     # 0xb13a0
leaq 0x76581(%rip), %rdx     # 0xb13be
movl $0x29b7, %ecx           # imm = 0x29B7
movb $0x0, %al
callq 0x13ec0
movq 0x8a1a0(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x3ae5a
jmp 0x3ae5c
cmpq $0x0, 0x2a0(%rsp)
jne 0x3ae9a
movq 0x8a182(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x76528(%rip), %rsi     # 0xb13a0
leaq 0x7653f(%rip), %rdx     # 0xb13be
movl $0x29b8, %ecx           # imm = 0x29B8
movb $0x0, %al
callq 0x13ec0
movq 0x8a15e(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x3ae9c
jmp 0x3ae9e
cmpq $0x0, 0x298(%rsp)
jne 0x3aedc
movq 0x8a140(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x764e6(%rip), %rsi     # 0xb13a0
leaq 0x764fd(%rip), %rdx     # 0xb13be
movl $0x29b9, %ecx           # imm = 0x29B9
movb $0x0, %al
callq 0x13ec0
movq 0x8a11c(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x3aede
jmp 0x3aee0
cmpq $0x0, 0x290(%rsp)
jne 0x3af1e
movq 0x8a0fe(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x764a4(%rip), %rsi     # 0xb13a0
leaq 0x764bb(%rip), %rdx     # 0xb13be
movl $0x29ba, %ecx           # imm = 0x29BA
movb $0x0, %al
callq 0x13ec0
movq 0x8a0da(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x3af20
jmp 0x3af22
cmpq $0x0, 0x288(%rsp)
jne 0x3af60
movq 0x8a0bc(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x76462(%rip), %rsi     # 0xb13a0
leaq 0x76479(%rip), %rdx     # 0xb13be
movl $0x29bb, %ecx           # imm = 0x29BB
movb $0x0, %al
callq 0x13ec0
movq 0x8a098(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x3af62
jmp 0x3af64
movq 0x288(%rsp), %rax
cmpq $0x0, 0x28(%rax)
jne 0x3afa6
movq 0x8a076(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x7641c(%rip), %rsi     # 0xb13a0
leaq 0x76433(%rip), %rdx     # 0xb13be
movl $0x29bc, %ecx           # imm = 0x29BC
movb $0x0, %al
callq 0x13ec0
movq 0x8a052(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x3afa8
jmp 0x3afaa
movq 0x288(%rsp), %rax
cmpq $0x0, 0x30(%rax)
jne 0x3afec
movq 0x8a030(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x763d6(%rip), %rsi     # 0xb13a0
leaq 0x763ed(%rip), %rdx     # 0xb13be
movl $0x29bd, %ecx           # imm = 0x29BD
movb $0x0, %al
callq 0x13ec0
movq 0x8a00c(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x3afee
cmpq $0x0, 0x2a8(%rsp)
je 0x3b034
cmpq $0x0, 0x2a0(%rsp)
je 0x3b034
cmpq $0x0, 0x298(%rsp)
je 0x3b034
cmpq $0x0, 0x290(%rsp)
je 0x3b034
cmpq $0x0, 0x288(%rsp)
je 0x3b034
movq 0x288(%rsp), %rax
cmpq $0x0, 0x28(%rax)
jne 0x3b044
movl $0x1, 0x2b4(%rsp)
jmp 0x3bf20
movq 0x2a8(%rsp), %rdi
addq $0x30e0, %rdi           # imm = 0x30E0
movq 0x288(%rsp), %rsi
movq 0x2a0(%rsp), %rdx
movq 0x298(%rsp), %rcx
movq 0x290(%rsp), %r8
movq 0x288(%rsp), %rax
movl 0x4(%rax), %r9d
movq 0x288(%rsp), %rax
movl 0x8(%rax), %eax
movl %eax, (%rsp)
callq 0x13830
movq 0x2a8(%rsp), %rdi
callq 0x138f0
movq %rax, 0x278(%rsp)
cmpq $0x0, 0x278(%rsp)
je 0x3be5e
movq 0x278(%rsp), %rax
movl (%rax), %eax
movq %rax, 0xc0(%rsp)
subq $0x12, %rax
ja 0x3be38
movq 0xc0(%rsp), %rax
leaq 0x72557(%rip), %rcx     # 0xad638
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
jmp 0x3be3a
movq 0x278(%rsp), %rax
movq %rax, 0x270(%rsp)
movq 0x2a8(%rsp), %rax
addq $0x30e0, %rax           # imm = 0x30E0
movq %rax, 0xb8(%rsp)
movq 0x270(%rsp), %rax
movswl 0x10(%rax), %ecx
cvtsi2ss %ecx, %xmm0
movswl 0x12(%rax), %ecx
cvtsi2ss %ecx, %xmm1
movzwl 0x14(%rax), %ecx
cvtsi2ss %ecx, %xmm2
movzwl 0x16(%rax), %eax
cvtsi2ss %eax, %xmm3
callq 0x151a0
movq 0xb8(%rsp), %rdi
movlpd %xmm0, 0x260(%rsp)
movlpd %xmm1, 0x268(%rsp)
movsd 0x260(%rsp), %xmm0
movsd 0x268(%rsp), %xmm1
callq 0x38720
jmp 0x3be3a
movq 0x278(%rsp), %rax
movq %rax, 0x258(%rsp)
movq 0x2a8(%rsp), %rax
addq $0x30e0, %rax           # imm = 0x30E0
movq %rax, 0xb0(%rsp)
movq 0x258(%rsp), %rax
movswl 0x12(%rax), %ecx
cvtsi2ss %ecx, %xmm0
movswl 0x14(%rax), %eax
cvtsi2ss %eax, %xmm1
callq 0x13460
movlpd %xmm0, 0x250(%rsp)
movq 0x258(%rsp), %rax
movswl 0x16(%rax), %ecx
cvtsi2ss %ecx, %xmm0
movswl 0x18(%rax), %eax
cvtsi2ss %eax, %xmm1
callq 0x13460
movq 0xb0(%rsp), %rdi
movlpd %xmm0, 0x248(%rsp)
movq 0x258(%rsp), %rax
movzwl 0x10(%rax), %ecx
cvtsi2ss %ecx, %xmm2
movsd 0x250(%rsp), %xmm0
movsd 0x248(%rsp), %xmm1
movl 0x1a(%rax), %esi
callq 0x132c0
jmp 0x3be3a
movq 0x278(%rsp), %rax
movq %rax, 0x240(%rsp)
movq 0x2a8(%rsp), %rax
addq $0x30e0, %rax           # imm = 0x30E0
movq %rax, 0xa8(%rsp)
movq 0x240(%rsp), %rax
movswl 0x12(%rax), %ecx
cvtsi2ss %ecx, %xmm0
movswl 0x14(%rax), %eax
cvtsi2ss %eax, %xmm1
callq 0x13460
movlpd %xmm0, 0x238(%rsp)
movq 0x240(%rsp), %rax
movswl 0x1a(%rax), %ecx
cvtsi2ss %ecx, %xmm0
movswl 0x1c(%rax), %eax
cvtsi2ss %eax, %xmm1
callq 0x13460
movlpd %xmm0, 0x230(%rsp)
movq 0x240(%rsp), %rax
movswl 0x1e(%rax), %ecx
cvtsi2ss %ecx, %xmm0
movswl 0x20(%rax), %eax
cvtsi2ss %eax, %xmm1
callq 0x13460
movlpd %xmm0, 0x228(%rsp)
movq 0x240(%rsp), %rax
movswl 0x16(%rax), %ecx
cvtsi2ss %ecx, %xmm0
movswl 0x18(%rax), %eax
cvtsi2ss %eax, %xmm1
callq 0x13460
movq 0xa8(%rsp), %rdi
movlpd %xmm0, 0x220(%rsp)
movq 0x240(%rsp), %rax
movq 0x288(%rsp), %rcx
movl 0x14(%rcx), %edx
movzwl 0x10(%rax), %ecx
cvtsi2ss %ecx, %xmm4
movsd 0x238(%rsp), %xmm0
movsd 0x230(%rsp), %xmm1
movsd 0x228(%rsp), %xmm2
movsd 0x220(%rsp), %xmm3
movl 0x22(%rax), %esi
callq 0x138c0
jmp 0x3be3a
movq 0x278(%rsp), %rax
movq %rax, 0x218(%rsp)
movq 0x2a8(%rsp), %rax
addq $0x30e0, %rax           # imm = 0x30E0
movq %rax, 0xa0(%rsp)
movq 0x218(%rsp), %rax
movswl 0x14(%rax), %ecx
cvtsi2ss %ecx, %xmm0
movswl 0x16(%rax), %ecx
cvtsi2ss %ecx, %xmm1
movzwl 0x18(%rax), %ecx
cvtsi2ss %ecx, %xmm2
movzwl 0x1a(%rax), %eax
cvtsi2ss %eax, %xmm3
callq 0x151a0
movq 0xa0(%rsp), %rdi
movlpd %xmm0, 0x208(%rsp)
movlpd %xmm1, 0x210(%rsp)
movq 0x218(%rsp), %rax
movzwl 0x10(%rax), %ecx
cvtsi2ss %ecx, %xmm2
movzwl 0x12(%rax), %ecx
cvtsi2ss %ecx, %xmm3
movsd 0x208(%rsp), %xmm0
movsd 0x210(%rsp), %xmm1
movl 0x1c(%rax), %esi
callq 0x137a0
jmp 0x3be3a
movq 0x278(%rsp), %rax
movq %rax, 0x200(%rsp)
movq 0x2a8(%rsp), %rax
addq $0x30e0, %rax           # imm = 0x30E0
movq %rax, 0x98(%rsp)
movq 0x200(%rsp), %rax
movswl 0x12(%rax), %ecx
cvtsi2ss %ecx, %xmm0
movswl 0x14(%rax), %ecx
cvtsi2ss %ecx, %xmm1
movzwl 0x16(%rax), %ecx
cvtsi2ss %ecx, %xmm2
movzwl 0x18(%rax), %eax
cvtsi2ss %eax, %xmm3
callq 0x151a0
movq 0x98(%rsp), %rdi
movlpd %xmm0, 0x1f0(%rsp)
movlpd %xmm1, 0x1f8(%rsp)
movq 0x200(%rsp), %rax
movzwl 0x10(%rax), %ecx
cvtsi2ss %ecx, %xmm2
movsd 0x1f0(%rsp), %xmm0
movsd 0x1f8(%rsp), %xmm1
movl 0x1a(%rax), %esi
callq 0x141b0
jmp 0x3be3a
movq 0x278(%rsp), %rax
movq %rax, 0x1e8(%rsp)
movq 0x2a8(%rsp), %rax
addq $0x30e0, %rax           # imm = 0x30E0
movq %rax, 0x90(%rsp)
movq 0x1e8(%rsp), %rax
movswl 0x10(%rax), %ecx
cvtsi2ss %ecx, %xmm0
movswl 0x12(%rax), %ecx
cvtsi2ss %ecx, %xmm1
movzwl 0x14(%rax), %ecx
cvtsi2ss %ecx, %xmm2
movzwl 0x16(%rax), %eax
cvtsi2ss %eax, %xmm3
callq 0x151a0
movq 0x90(%rsp), %rdi
movlpd %xmm0, 0x1d8(%rsp)
movlpd %xmm1, 0x1e0(%rsp)
movq 0x1e8(%rsp), %rax
movq %rax, %rsi
movq %rax, %rdx
movq %rax, %rcx
movsd 0x1d8(%rsp), %xmm0
movsd 0x1e0(%rsp), %xmm1
movl 0x18(%rsi), %esi
movl 0x1c(%rdx), %edx
movl 0x24(%rcx), %ecx
movl 0x20(%rax), %r8d
callq 0x14a40
jmp 0x3be3a
movq 0x278(%rsp), %rax
movq %rax, 0x1d0(%rsp)
movq 0x2a8(%rsp), %rax
addq $0x30e0, %rax           # imm = 0x30E0
movq %rax, 0x80(%rsp)
movq 0x1d0(%rsp), %rax
movswl 0x10(%rax), %ecx
cvtsi2ss %ecx, %xmm0
movzwl 0x16(%rax), %ecx
cvtsi2ss %ecx, %xmm1
movss 0x71fb4(%rip), %xmm3    # 0xad514
movss %xmm3, 0x8c(%rsp)
mulss %xmm3, %xmm1
addss %xmm1, %xmm0
movswl 0x12(%rax), %ecx
cvtsi2ss %ecx, %xmm1
movzwl 0x18(%rax), %eax
cvtsi2ss %eax, %xmm2
mulss %xmm3, %xmm2
addss %xmm2, %xmm1
callq 0x13460
movq 0x80(%rsp), %rdi
movaps %xmm0, %xmm1
movss 0x8c(%rsp), %xmm0
movlpd %xmm1, 0x1c8(%rsp)
movq 0x1d0(%rsp), %rax
movzwl 0x16(%rax), %ecx
cvtsi2ss %ecx, %xmm1
mulss %xmm0, %xmm1
movq 0x288(%rsp), %rcx
movl 0xc(%rcx), %edx
movzwl 0x14(%rax), %ecx
cvtsi2ss %ecx, %xmm2
movsd 0x1c8(%rsp), %xmm0
movl 0x1a(%rax), %esi
callq 0x14950
jmp 0x3be3a
movq 0x278(%rsp), %rax
movq %rax, 0x1c0(%rsp)
movq 0x2a8(%rsp), %rax
addq $0x30e0, %rax           # imm = 0x30E0
movq %rax, 0x70(%rsp)
movq 0x1c0(%rsp), %rax
movswl 0x10(%rax), %ecx
cvtsi2ss %ecx, %xmm0
movzwl 0x14(%rax), %ecx
cvtsi2ss %ecx, %xmm1
movss 0x71ee9(%rip), %xmm3    # 0xad514
movss %xmm3, 0x7c(%rsp)
mulss %xmm3, %xmm1
addss %xmm1, %xmm0
movswl 0x12(%rax), %ecx
cvtsi2ss %ecx, %xmm1
movzwl 0x16(%rax), %eax
cvtsi2ss %eax, %xmm2
mulss %xmm3, %xmm2
addss %xmm2, %xmm1
callq 0x13460
movq 0x70(%rsp), %rdi
movaps %xmm0, %xmm1
movss 0x7c(%rsp), %xmm0
movlpd %xmm1, 0x1b8(%rsp)
movq 0x1c0(%rsp), %rax
movzwl 0x14(%rax), %ecx
cvtsi2ss %ecx, %xmm1
mulss %xmm0, %xmm1
movq 0x288(%rsp), %rcx
movl 0xc(%rcx), %edx
movsd 0x1b8(%rsp), %xmm0
movl 0x18(%rax), %esi
callq 0x13130
jmp 0x3be3a
movq 0x278(%rsp), %rax
movq %rax, 0x1b0(%rsp)
movq 0x2a8(%rsp), %rax
addq $0x30e0, %rax           # imm = 0x30E0
movq %rax, 0x60(%rsp)
movq 0x1b0(%rsp), %rax
movswl 0x10(%rax), %ecx
cvtsi2ss %ecx, %xmm0
movswl 0x12(%rax), %eax
cvtsi2ss %eax, %xmm1
callq 0x13460
movq 0x60(%rsp), %rdi
movlpd %xmm0, 0x1a8(%rsp)
movsd 0x1a8(%rsp), %xmm0
callq 0x13a50
movq 0x2a8(%rsp), %rax
addq $0x30e0, %rax           # imm = 0x30E0
movq %rax, 0x68(%rsp)
movq 0x1b0(%rsp), %rax
movswl 0x10(%rax), %ecx
cvtsi2ss %ecx, %xmm0
movswl 0x12(%rax), %eax
cvtsi2ss %eax, %xmm1
callq 0x13460
movq 0x68(%rsp), %rdi
movlpd %xmm0, 0x1a0(%rsp)
movq 0x1b0(%rsp), %rax
movzwl 0x14(%rax), %ecx
cvtsi2ss %ecx, %xmm1
movss 0x18(%rax), %xmm2
movss 0x1c(%rax), %xmm3
movq 0x288(%rsp), %rax
movl 0x10(%rax), %esi
movsd 0x1a0(%rsp), %xmm0
callq 0x14630
movq 0x2a8(%rsp), %rdi
addq $0x30e0, %rdi           # imm = 0x30E0
movq 0x1b0(%rsp), %rax
movzwl 0x16(%rax), %ecx
cvtsi2ss %ecx, %xmm0
movl 0x20(%rax), %esi
movl $0x1, %edx
callq 0x14dd0
jmp 0x3be3a
movq 0x278(%rsp), %rax
movq %rax, 0x198(%rsp)
movq 0x2a8(%rsp), %rax
addq $0x30e0, %rax           # imm = 0x30E0
movq %rax, 0x50(%rsp)
movq 0x198(%rsp), %rax
movswl 0x10(%rax), %ecx
cvtsi2ss %ecx, %xmm0
movswl 0x12(%rax), %eax
cvtsi2ss %eax, %xmm1
callq 0x13460
movq 0x50(%rsp), %rdi
movlpd %xmm0, 0x190(%rsp)
movsd 0x190(%rsp), %xmm0
callq 0x13a50
movq 0x2a8(%rsp), %rax
addq $0x30e0, %rax           # imm = 0x30E0
movq %rax, 0x58(%rsp)
movq 0x198(%rsp), %rax
movswl 0x10(%rax), %ecx
cvtsi2ss %ecx, %xmm0
movswl 0x12(%rax), %eax
cvtsi2ss %eax, %xmm1
callq 0x13460
movq 0x58(%rsp), %rdi
movlpd %xmm0, 0x188(%rsp)
movq 0x198(%rsp), %rax
movzwl 0x14(%rax), %ecx
cvtsi2ss %ecx, %xmm1
movss 0x18(%rax), %xmm2
movss 0x1c(%rax), %xmm3
movq 0x288(%rsp), %rax
movl 0x10(%rax), %esi
movsd 0x188(%rsp), %xmm0
callq 0x14630
movq 0x2a8(%rsp), %rdi
addq $0x30e0, %rdi           # imm = 0x30E0
movq 0x198(%rsp), %rax
movl 0x20(%rax), %esi
callq 0x138e0
jmp 0x3be3a
movq 0x278(%rsp), %rax
movq %rax, 0x180(%rsp)
movq 0x2a8(%rsp), %rax
addq $0x30e0, %rax           # imm = 0x30E0
movq %rax, 0x48(%rsp)
movq 0x180(%rsp), %rax
movswl 0x12(%rax), %ecx
cvtsi2ss %ecx, %xmm0
movswl 0x14(%rax), %eax
cvtsi2ss %eax, %xmm1
callq 0x13460
movlpd %xmm0, 0x178(%rsp)
movq 0x180(%rsp), %rax
movswl 0x16(%rax), %ecx
cvtsi2ss %ecx, %xmm0
movswl 0x18(%rax), %eax
cvtsi2ss %eax, %xmm1
callq 0x13460
movlpd %xmm0, 0x170(%rsp)
movq 0x180(%rsp), %rax
movswl 0x1a(%rax), %ecx
cvtsi2ss %ecx, %xmm0
movswl 0x1c(%rax), %eax
cvtsi2ss %eax, %xmm1
callq 0x13460
movq 0x48(%rsp), %rdi
movlpd %xmm0, 0x168(%rsp)
movq 0x180(%rsp), %rax
movzwl 0x10(%rax), %ecx
cvtsi2ss %ecx, %xmm3
movsd 0x178(%rsp), %xmm0
movsd 0x170(%rsp), %xmm1
movsd 0x168(%rsp), %xmm2
movl 0x1e(%rax), %esi
callq 0x13bb0
jmp 0x3be3a
movq 0x278(%rsp), %rax
movq %rax, 0x160(%rsp)
movq 0x2a8(%rsp), %rax
addq $0x30e0, %rax           # imm = 0x30E0
movq %rax, 0x40(%rsp)
movq 0x160(%rsp), %rax
movswl 0x10(%rax), %ecx
cvtsi2ss %ecx, %xmm0
movswl 0x12(%rax), %eax
cvtsi2ss %eax, %xmm1
callq 0x13460
movlpd %xmm0, 0x158(%rsp)
movq 0x160(%rsp), %rax
movswl 0x14(%rax), %ecx
cvtsi2ss %ecx, %xmm0
movswl 0x16(%rax), %eax
cvtsi2ss %eax, %xmm1
callq 0x13460
movlpd %xmm0, 0x150(%rsp)
movq 0x160(%rsp), %rax
movswl 0x18(%rax), %ecx
cvtsi2ss %ecx, %xmm0
movswl 0x1a(%rax), %eax
cvtsi2ss %eax, %xmm1
callq 0x13460
movq 0x40(%rsp), %rdi
movlpd %xmm0, 0x148(%rsp)
movq 0x160(%rsp), %rax
movsd 0x158(%rsp), %xmm0
movsd 0x150(%rsp), %xmm1
movsd 0x148(%rsp), %xmm2
movl 0x1c(%rax), %esi
callq 0x13b50
jmp 0x3be3a
movq 0x278(%rsp), %rax
movq %rax, 0x138(%rsp)
movl $0x0, 0x144(%rsp)
movl 0x144(%rsp), %eax
movq 0x138(%rsp), %rcx
movzwl 0x16(%rcx), %ecx
cmpl %ecx, %eax
jge 0x3babf
movq 0x138(%rsp), %rax
movslq 0x144(%rsp), %rcx
movswl 0x18(%rax,%rcx,4), %edx
cvtsi2ss %edx, %xmm0
movswl 0x1a(%rax,%rcx,4), %eax
cvtsi2ss %eax, %xmm1
callq 0x13460
movlpd %xmm0, 0x130(%rsp)
movq 0x2a8(%rsp), %rdi
addq $0x30e0, %rdi           # imm = 0x30E0
movsd 0x130(%rsp), %xmm0
callq 0x13a50
movl 0x144(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x144(%rsp)
jmp 0x3ba48
movq 0x2a8(%rsp), %rdi
addq $0x30e0, %rdi           # imm = 0x30E0
movq 0x138(%rsp), %rax
movzwl 0x14(%rax), %ecx
cvtsi2ss %ecx, %xmm0
movl 0x10(%rax), %esi
movl $0x1, %edx
callq 0x14dd0
jmp 0x3be3a
movq 0x278(%rsp), %rax
movq %rax, 0x120(%rsp)
movl $0x0, 0x12c(%rsp)
movl 0x12c(%rsp), %eax
movq 0x120(%rsp), %rcx
movzwl 0x14(%rcx), %ecx
cmpl %ecx, %eax
jge 0x3bb82
movq 0x120(%rsp), %rax
movslq 0x12c(%rsp), %rcx
movswl 0x16(%rax,%rcx,4), %edx
cvtsi2ss %edx, %xmm0
movswl 0x18(%rax,%rcx,4), %eax
cvtsi2ss %eax, %xmm1
callq 0x13460
movlpd %xmm0, 0x118(%rsp)
movq 0x2a8(%rsp), %rdi
addq $0x30e0, %rdi           # imm = 0x30E0
movsd 0x118(%rsp), %xmm0
callq 0x13a50
movl 0x12c(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x12c(%rsp)
jmp 0x3bb0b
movq 0x2a8(%rsp), %rdi
addq $0x30e0, %rdi           # imm = 0x30E0
movq 0x120(%rsp), %rax
movl 0x10(%rax), %esi
callq 0x138e0
jmp 0x3be3a
movq 0x278(%rsp), %rax
movq %rax, 0x108(%rsp)
movl $0x0, 0x114(%rsp)
movl 0x114(%rsp), %eax
movq 0x108(%rsp), %rcx
movzwl 0x16(%rcx), %ecx
cmpl %ecx, %eax
jge 0x3bc38
movq 0x108(%rsp), %rax
movslq 0x114(%rsp), %rcx
movswl 0x18(%rax,%rcx,4), %edx
cvtsi2ss %edx, %xmm0
movswl 0x1a(%rax,%rcx,4), %eax
cvtsi2ss %eax, %xmm1
callq 0x13460
movlpd %xmm0, 0x100(%rsp)
movq 0x2a8(%rsp), %rdi
addq $0x30e0, %rdi           # imm = 0x30E0
movsd 0x100(%rsp), %xmm0
callq 0x13a50
movl 0x114(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x114(%rsp)
jmp 0x3bbc1
movq 0x2a8(%rsp), %rdi
addq $0x30e0, %rdi           # imm = 0x30E0
movq 0x108(%rsp), %rax
movzwl 0x14(%rax), %ecx
cvtsi2ss %ecx, %xmm0
movl 0x10(%rax), %esi
xorl %edx, %edx
callq 0x14dd0
jmp 0x3be3a
movq 0x278(%rsp), %rax
movq %rax, 0xf8(%rsp)
movq 0x2a8(%rsp), %rax
addq $0x30e0, %rax           # imm = 0x30E0
movq %rax, 0x30(%rsp)
movq 0xf8(%rsp), %rax
movq 0x10(%rax), %rcx
movq %rcx, 0x38(%rsp)
movswl 0x20(%rax), %ecx
cvtsi2ss %ecx, %xmm0
movswl 0x22(%rax), %ecx
cvtsi2ss %ecx, %xmm1
movzwl 0x24(%rax), %ecx
cvtsi2ss %ecx, %xmm2
movzwl 0x26(%rax), %eax
cvtsi2ss %eax, %xmm3
callq 0x151a0
movq 0x30(%rsp), %rdi
movq 0x38(%rsp), %rsi
movlpd %xmm0, 0xe8(%rsp)
movlpd %xmm1, 0xf0(%rsp)
movq 0xf8(%rsp), %rax
movq %rax, %rdx
addq $0x30, %rdx
movl 0x2c(%rax), %ecx
movss 0x28(%rax), %xmm2
movsd 0xe8(%rsp), %xmm0
movsd 0xf0(%rsp), %xmm1
movl 0x1c(%rax), %r8d
callq 0x13790
jmp 0x3be3a
movq 0x278(%rsp), %rax
movq %rax, 0xe0(%rsp)
movq 0x2a8(%rsp), %rax
addq $0x30e0, %rax           # imm = 0x30E0
movq %rax, 0x28(%rsp)
movq 0xe0(%rsp), %rax
movq %rax, %rcx
addq $0x18, %rcx
movq %rcx, 0x20(%rsp)
movswl 0x10(%rax), %ecx
cvtsi2ss %ecx, %xmm0
movswl 0x12(%rax), %ecx
cvtsi2ss %ecx, %xmm1
movzwl 0x14(%rax), %ecx
cvtsi2ss %ecx, %xmm2
movzwl 0x16(%rax), %eax
cvtsi2ss %eax, %xmm3
callq 0x151a0
movq 0x20(%rsp), %rcx
movq 0x28(%rsp), %rdi
movlpd %xmm0, 0xd0(%rsp)
movlpd %xmm1, 0xd8(%rsp)
movq 0xe0(%rsp), %rax
movsd 0xd0(%rsp), %xmm0
movsd 0xd8(%rsp), %xmm1
movl 0x30(%rax), %esi
movq 0x10(%rcx), %rdx
movq %rsp, %rax
movq %rdx, 0x10(%rax)
movups (%rcx), %xmm2
movups %xmm2, (%rax)
callq 0x13290
jmp 0x3be3a
movq 0x278(%rsp), %rax
movq %rax, 0xc8(%rsp)
movq 0xc8(%rsp), %rax
movq 0x20(%rax), %rax
movq 0x2a8(%rsp), %rdi
addq $0x30e0, %rdi           # imm = 0x30E0
movq 0xc8(%rsp), %rcx
movw 0x10(%rcx), %si
movq 0xc8(%rsp), %rcx
movw 0x12(%rcx), %dx
movq 0xc8(%rsp), %rcx
movw 0x14(%rcx), %cx
movq 0xc8(%rsp), %r8
movw 0x16(%r8), %r8w
movq 0xc8(%rsp), %r9
movq 0x18(%r9), %r9
movswl %si, %esi
movswl %dx, %edx
movzwl %cx, %ecx
movzwl %r8w, %r8d
callq *%rax
jmp 0x3be3a
jmp 0x3be3a
jmp 0x3be3c
movq 0x2a8(%rsp), %rdi
movq 0x278(%rsp), %rsi
callq 0x134a0
movq %rax, 0x278(%rsp)
jmp 0x3b0a7
movq 0x2a0(%rsp), %rax
movq 0x60(%rax), %rdx
movq 0x2a0(%rsp), %rax
movq 0x58(%rax), %rsi
movq 0x2a0(%rsp), %rax
movq 0x48(%rax), %rax
movq 0x2a0(%rsp), %rcx
subq 0x70(%rcx), %rax
addq %rax, %rsi
xorl %eax, %eax
movl $0x2, %ecx
cmpq %rsi, %rdx
cmoval %ecx, %eax
orl 0x284(%rsp), %eax
movl %eax, 0x284(%rsp)
movq 0x298(%rsp), %rax
movq 0x60(%rax), %rdx
movq 0x298(%rsp), %rax
movq 0x58(%rax), %rsi
xorl %eax, %eax
movl $0x4, %ecx
cmpq %rsi, %rdx
cmoval %ecx, %eax
orl 0x284(%rsp), %eax
movl %eax, 0x284(%rsp)
movq 0x290(%rsp), %rax
movq 0x60(%rax), %rdx
movq 0x290(%rsp), %rax
movq 0x58(%rax), %rsi
xorl %eax, %eax
movl $0x8, %ecx
cmpq %rsi, %rdx
cmoval %ecx, %eax
orl 0x284(%rsp), %eax
movl %eax, 0x284(%rsp)
movl 0x284(%rsp), %eax
movl %eax, 0x2b4(%rsp)
movl 0x2b4(%rsp), %eax
addq $0x2b8, %rsp            # imm = 0x2B8
retq
nop