// File: /workspace/github_c_makefile_star2_O0/space222[P]silo/./nuklear.h
// Function: nk_panel_begin(nk_context*, char const*, nk_panel_type)
NK_LIB int
nk_panel_begin(struct nk_context *ctx, const char *title, enum nk_panel_type panel_type)
{
    struct nk_input *in;
    struct nk_window *win;
    struct nk_panel *layout;
    struct nk_command_buffer *out;
    const struct nk_style *style;
    const struct nk_user_font *font;

    struct nk_vec2 scrollbar_size;
    struct nk_vec2 panel_padding;

    NK_ASSERT(ctx);
    NK_ASSERT(ctx->current);
    NK_ASSERT(ctx->current->layout);
    if (!ctx || !ctx->current || !ctx->current->layout) return 0;
    nk_zero(ctx->current->layout, sizeof(*ctx->current->layout));
    if ((ctx->current->flags & NK_WINDOW_HIDDEN) || (ctx->current->flags & NK_WINDOW_CLOSED)) {
        nk_zero(ctx->current->layout, sizeof(struct nk_panel));
        ctx->current->layout->type = panel_type;
        return 0;
    }
    /* pull state into local stack */
    style = &ctx->style;
    font = style->font;
    win = ctx->current;
    layout = win->layout;
    out = &win->buffer;
    in = (win->flags & NK_WINDOW_NO_INPUT) ? 0: &ctx->input;
#ifdef NK_INCLUDE_COMMAND_USERDATA
    win->buffer.userdata = ctx->userdata;
#endif
    /* pull style configuration into local stack */
    scrollbar_size = style->window.scrollbar_size;
    panel_padding = nk_panel_get_padding(style, panel_type);

    /* window movement */
    if ((win->flags & NK_WINDOW_MOVABLE) && !(win->flags & NK_WINDOW_ROM)) {
        int left_mouse_down;
        int left_mouse_clicked;
        int left_mouse_click_in_cursor;

        /* calculate draggable window space */
        struct nk_rect header;
        header.x = win->bounds.x;
        header.y = win->bounds.y;
        header.w = win->bounds.w;
        if (nk_panel_has_header(win->flags, title)) {
            header.h = font->height + 2.0f * style->window.header.padding.y;
            header.h += 2.0f * style->window.header.label_padding.y;
        } else header.h = panel_padding.y;

        /* window movement by dragging */
        left_mouse_down = in->mouse.buttons[NK_BUTTON_LEFT].down;
        left_mouse_clicked = (int)in->mouse.buttons[NK_BUTTON_LEFT].clicked;
        left_mouse_click_in_cursor = nk_input_has_mouse_click_down_in_rect(in,
            NK_BUTTON_LEFT, header, nk_true);
        if (left_mouse_down && left_mouse_click_in_cursor && !left_mouse_clicked) {
            win->bounds.x = win->bounds.x + in->mouse.delta.x;
            win->bounds.y = win->bounds.y + in->mouse.delta.y;
            in->mouse.buttons[NK_BUTTON_LEFT].clicked_pos.x += in->mouse.delta.x;
            in->mouse.buttons[NK_BUTTON_LEFT].clicked_pos.y += in->mouse.delta.y;
            ctx->style.cursor_active = ctx->style.cursors[NK_CURSOR_MOVE];
        }
    }

    /* setup panel */
    layout->type = panel_type;
    layout->flags = win->flags;
    layout->bounds = win->bounds;
    layout->bounds.x += panel_padding.x;
    layout->bounds.w -= 2*panel_padding.x;
    if (win->flags & NK_WINDOW_BORDER) {
        layout->border = nk_panel_get_border(style, win->flags, panel_type);
        layout->bounds = nk_shrink_rect(layout->bounds, layout->border);
    } else layout->border = 0;
    layout->at_y = layout->bounds.y;
    layout->at_x = layout->bounds.x;
    layout->max_x = 0;
    layout->header_height = 0;
    layout->footer_height = 0;
    nk_layout_reset_min_row_height(ctx);
    layout->row.index = 0;
    layout->row.columns = 0;
    layout->row.ratio = 0;
    layout->row.item_width = 0;
    layout->row.tree_depth = 0;
    layout->row.height = panel_padding.y;
    layout->has_scrolling = nk_true;
    if (!(win->flags & NK_WINDOW_NO_SCROLLBAR))
        layout->bounds.w -= scrollbar_size.x;
    if (!nk_panel_is_nonblock(panel_type)) {
        layout->footer_height = 0;
        if (!(win->flags & NK_WINDOW_NO_SCROLLBAR) || win->flags & NK_WINDOW_SCALABLE)
            layout->footer_height = scrollbar_size.y;
        layout->bounds.h -= layout->footer_height;
    }

    /* panel header */
    if (nk_panel_has_header(win->flags, title))
    {
        struct nk_text text;
        struct nk_rect header;
        const struct nk_style_item *background = 0;

        /* calculate header bounds */
        header.x = win->bounds.x;
        header.y = win->bounds.y;
        header.w = win->bounds.w;
        header.h = font->height + 2.0f * style->window.header.padding.y;
        header.h += (2.0f * style->window.header.label_padding.y);

        /* shrink panel by header */
        layout->header_height = header.h;
        layout->bounds.y += header.h;
        layout->bounds.h -= header.h;
        layout->at_y += header.h;

        /* select correct header background and text color */
        if (ctx->active == win) {
            background = &style->window.header.active;
            text.text = style->window.header.label_active;
        } else if (nk_input_is_mouse_hovering_rect(&ctx->input, header)) {
            background = &style->window.header.hover;
            text.text = style->window.header.label_hover;
        } else {
            background = &style->window.header.normal;
            text.text = style->window.header.label_normal;
        }

        /* draw header background */
        header.h += 1.0f;
        if (background->type == NK_STYLE_ITEM_IMAGE) {
            text.background = nk_rgba(0,0,0,0);
            nk_draw_image(&win->buffer, header, &background->data.image, nk_white);
        } else {
            text.background = background->data.color;
            nk_fill_rect(out, header, 0, background->data.color);
        }

        /* window close button */
        {struct nk_rect button;
        button.y = header.y + style->window.header.padding.y;
        button.h = header.h - 2 * style->window.header.padding.y;
        button.w = button.h;
        if (win->flags & NK_WINDOW_CLOSABLE) {
            nk_flags ws = 0;
            if (style->window.header.align == NK_HEADER_RIGHT) {
                button.x = (header.w + header.x) - (button.w + style->window.header.padding.x);
                header.w -= button.w + style->window.header.spacing.x + style->window.header.padding.x;
            } else {
                button.x = header.x + style->window.header.padding.x;
                header.x += button.w + style->window.header.spacing.x + style->window.header.padding.x;
            }

            if (nk_do_button_symbol(&ws, &win->buffer, button,
                style->window.header.close_symbol, NK_BUTTON_DEFAULT,
                &style->window.header.close_button, in, style->font) && !(win->flags & NK_WINDOW_ROM))
            {
                layout->flags |= NK_WINDOW_HIDDEN;
                layout->flags &= (nk_flags)~NK_WINDOW_MINIMIZED;
            }
        }

        /* window minimize button */
        if (win->flags & NK_WINDOW_MINIMIZABLE) {
            nk_flags ws = 0;
            if (style->window.header.align == NK_HEADER_RIGHT) {
                button.x = (header.w + header.x) - button.w;
                if (!(win->flags & NK_WINDOW_CLOSABLE)) {
                    button.x -= style->window.header.padding.x;
                    header.w -= style->window.header.padding.x;
                }
                header.w -= button.w + style->window.header.spacing.x;
            } else {
                button.x = header.x;
                header.x += button.w + style->window.header.spacing.x + style->window.header.padding.x;
            }
            if (nk_do_button_symbol(&ws, &win->buffer, button, (layout->flags & NK_WINDOW_MINIMIZED)?
                style->window.header.maximize_symbol: style->window.header.minimize_symbol,
                NK_BUTTON_DEFAULT, &style->window.header.minimize_button, in, style->font) && !(win->flags & NK_WINDOW_ROM))
                layout->flags = (layout->flags & NK_WINDOW_MINIMIZED) ?
                    layout->flags & (nk_flags)~NK_WINDOW_MINIMIZED:
                    layout->flags | NK_WINDOW_MINIMIZED;
        }}

        {/* window header title */
        int text_len = nk_strlen(title);
        struct nk_rect label = {0,0,0,0};
        float t = font->width(font->userdata, font->height, title, text_len);
        text.padding = nk_vec2(0,0);

        label.x = header.x + style->window.header.padding.x;
        label.x += style->window.header.label_padding.x;
        label.y = header.y + style->window.header.label_padding.y;
        label.h = font->height + 2 * style->window.header.label_padding.y;
        label.w = t + 2 * style->window.header.spacing.x;
        label.w = NK_CLAMP(0, label.w, header.x + header.w - label.x);
        nk_widget_text(out, label,(const char*)title, text_len, &text, NK_TEXT_LEFT, font);}
    }

    /* draw window background */
    if (!(layout->flags & NK_WINDOW_MINIMIZED) && !(layout->flags & NK_WINDOW_DYNAMIC)) {
        struct nk_rect body;
        body.x = win->bounds.x;
        body.w = win->bounds.w;
        body.y = (win->bounds.y + layout->header_height);
        body.h = (win->bounds.h - layout->header_height);
        if (style->window.fixed_background.type == NK_STYLE_ITEM_IMAGE)
            nk_draw_image(out, body, &style->window.fixed_background.data.image, nk_white);
        else nk_fill_rect(out, body, 0, style->window.fixed_background.data.color);
    }

    /* set clipping rectangle */
    {struct nk_rect clip;
    layout->clip = layout->bounds;
    nk_unify(&clip, &win->buffer.clip, layout->clip.x, layout->clip.y,
        layout->clip.x + layout->clip.w, layout->clip.y + layout->clip.h);
    nk_push_scissor(out, clip);
    layout->clip = clip;}
    return !(layout->flags & NK_WINDOW_HIDDEN) && !(layout->flags & NK_WINDOW_MINIMIZED);
}

// Assembly:
subq $0x268, %rsp            # imm = 0x268
movq %rdi, 0x258(%rsp)
movq %rsi, 0x250(%rsp)
movl %edx, 0x24c(%rsp)
cmpq $0x0, 0x258(%rsp)
je 0x1553b
jmp 0x1555a
leaq 0x32fdd(%rip), %rdi     # 0x4851f
leaq 0x2fe6a(%rip), %rsi     # 0x453b3
movl $0x3cff, %edx           # imm = 0x3CFF
leaq 0x34fee(%rip), %rcx     # 0x4a543
callq 0x20a0
movq 0x258(%rsp), %rax
cmpq $0x0, 0x3fe8(%rax)
je 0x1556e
jmp 0x1558d
leaq 0x31984(%rip), %rdi     # 0x46ef9
leaq 0x2fe37(%rip), %rsi     # 0x453b3
movl $0x3d00, %edx           # imm = 0x3D00
leaq 0x34fbb(%rip), %rcx     # 0x4a543
callq 0x20a0
movq 0x258(%rsp), %rax
movq 0x3fe8(%rax), %rax
cmpq $0x0, 0xa8(%rax)
je 0x155a8
jmp 0x155c7
leaq 0x31ac6(%rip), %rdi     # 0x47075
leaq 0x2fdfd(%rip), %rsi     # 0x453b3
movl $0x3d01, %edx           # imm = 0x3D01
leaq 0x34f81(%rip), %rcx     # 0x4a543
callq 0x20a0
cmpq $0x0, 0x258(%rsp)
je 0x155fd
movq 0x258(%rsp), %rax
cmpq $0x0, 0x3fe8(%rax)
je 0x155fd
movq 0x258(%rsp), %rax
movq 0x3fe8(%rax), %rax
cmpq $0x0, 0xa8(%rax)
jne 0x1560d
movl $0x0, 0x264(%rsp)
jmp 0x168e4
movq 0x258(%rsp), %rax
movq 0x3fe8(%rax), %rax
movq 0xa8(%rax), %rdi
movl $0x1c0, %esi            # imm = 0x1C0
callq 0x8150
movq 0x258(%rsp), %rax
movq 0x3fe8(%rax), %rax
movl 0x48(%rax), %eax
andl $0x2000, %eax           # imm = 0x2000
cmpl $0x0, %eax
jne 0x15665
movq 0x258(%rsp), %rax
movq 0x3fe8(%rax), %rax
movl 0x48(%rax), %eax
andl $0x4000, %eax           # imm = 0x4000
cmpl $0x0, %eax
je 0x156b4
movq 0x258(%rsp), %rax
movq 0x3fe8(%rax), %rax
movq 0xa8(%rax), %rdi
movl $0x1c0, %esi            # imm = 0x1C0
callq 0x8150
movl 0x24c(%rsp), %ecx
movq 0x258(%rsp), %rax
movq 0x3fe8(%rax), %rax
movq 0xa8(%rax), %rax
movl %ecx, (%rax)
movl $0x0, 0x264(%rsp)
jmp 0x168e4
movq 0x258(%rsp), %rax
addq $0x168, %rax            # imm = 0x168
movq %rax, 0x220(%rsp)
movq 0x220(%rsp), %rax
movq (%rax), %rax
movq %rax, 0x218(%rsp)
movq 0x258(%rsp), %rax
movq 0x3fe8(%rax), %rax
movq %rax, 0x238(%rsp)
movq 0x238(%rsp), %rax
movq 0xa8(%rax), %rax
movq %rax, 0x230(%rsp)
movq 0x238(%rsp), %rax
addq $0x68, %rax
movq %rax, 0x228(%rsp)
movq 0x238(%rsp), %rax
movl 0x48(%rax), %eax
andl $0x400, %eax            # imm = 0x400
cmpl $0x0, %eax
je 0x1573d
xorl %eax, %eax
movq %rax, 0x28(%rsp)
jmp 0x1574a
movq 0x258(%rsp), %rax
movq %rax, 0x28(%rsp)
movq 0x28(%rsp), %rax
movq %rax, 0x240(%rsp)
movq 0x220(%rsp), %rax
movq 0x1d2c(%rax), %rax
movq %rax, 0x210(%rsp)
movq 0x220(%rsp), %rdi
movl 0x24c(%rsp), %esi
callq 0x1c630
movlpd %xmm0, 0x200(%rsp)
movq 0x200(%rsp), %rax
movq %rax, 0x208(%rsp)
movq 0x238(%rsp), %rax
movl 0x48(%rax), %eax
andl $0x2, %eax
cmpl $0x0, %eax
je 0x159ed
movq 0x238(%rsp), %rax
movl 0x48(%rax), %eax
andl $0x1000, %eax           # imm = 0x1000
cmpl $0x0, %eax
jne 0x159ed
movq 0x238(%rsp), %rax
movss 0x4c(%rax), %xmm0
movss %xmm0, 0x1e4(%rsp)
movq 0x238(%rsp), %rax
movss 0x50(%rax), %xmm0
movss %xmm0, 0x1e8(%rsp)
movq 0x238(%rsp), %rax
movss 0x54(%rax), %xmm0
movss %xmm0, 0x1ec(%rsp)
movq 0x238(%rsp), %rax
movl 0x48(%rax), %edi
movq 0x250(%rsp), %rsi
callq 0x38340
cmpl $0x0, %eax
je 0x15884
movq 0x218(%rsp), %rax
movss 0x8(%rax), %xmm1
movq 0x220(%rsp), %rax
movss 0x1c88(%rax), %xmm0
addss %xmm0, %xmm0
addss %xmm1, %xmm0
movss %xmm0, 0x1f0(%rsp)
movq 0x220(%rsp), %rax
movss 0x1c90(%rax), %xmm0
movss 0x1f0(%rsp), %xmm1
addss %xmm0, %xmm0
addss %xmm1, %xmm0
movss %xmm0, 0x1f0(%rsp)
jmp 0x15896
movss 0x20c(%rsp), %xmm0
movss %xmm0, 0x1f0(%rsp)
movq 0x240(%rsp), %rax
movl 0x104(%rax), %eax
movl %eax, 0x1fc(%rsp)
movq 0x240(%rsp), %rax
movl 0x108(%rax), %eax
movl %eax, 0x1f8(%rsp)
movq 0x240(%rsp), %rdi
movups 0x1e4(%rsp), %xmm0
movaps %xmm0, 0x1d0(%rsp)
movsd 0x1d0(%rsp), %xmm0
movsd 0x1d8(%rsp), %xmm1
xorl %eax, %eax
xorl %esi, %esi
movl $0x1, %edx
callq 0xd4d0
movl %eax, 0x1f4(%rsp)
cmpl $0x0, 0x1fc(%rsp)
je 0x159eb
cmpl $0x0, 0x1f4(%rsp)
je 0x159eb
cmpl $0x0, 0x1f8(%rsp)
jne 0x159eb
movq 0x238(%rsp), %rax
movss 0x4c(%rax), %xmm0
movq 0x240(%rsp), %rax
addss 0x154(%rax), %xmm0
movq 0x238(%rsp), %rax
movss %xmm0, 0x4c(%rax)
movq 0x238(%rsp), %rax
movss 0x50(%rax), %xmm0
movq 0x240(%rsp), %rax
addss 0x158(%rax), %xmm0
movq 0x238(%rsp), %rax
movss %xmm0, 0x50(%rax)
movq 0x240(%rsp), %rax
movss 0x154(%rax), %xmm0
movq 0x240(%rsp), %rax
addss 0x10c(%rax), %xmm0
movss %xmm0, 0x10c(%rax)
movq 0x240(%rsp), %rax
movss 0x158(%rax), %xmm0
movq 0x240(%rsp), %rax
addss 0x110(%rax), %xmm0
movss %xmm0, 0x110(%rax)
movq 0x258(%rsp), %rax
movq 0x180(%rax), %rcx
movq 0x258(%rsp), %rax
movq %rcx, 0x1a8(%rax)
jmp 0x159ed
movl 0x24c(%rsp), %ecx
movq 0x230(%rsp), %rax
movl %ecx, (%rax)
movq 0x238(%rsp), %rax
movl 0x48(%rax), %ecx
movq 0x230(%rsp), %rax
movl %ecx, 0x4(%rax)
movq 0x238(%rsp), %rcx
movq 0x230(%rsp), %rax
movq 0x4c(%rcx), %rdx
movq %rdx, 0x8(%rax)
movq 0x54(%rcx), %rcx
movq %rcx, 0x10(%rax)
movss 0x208(%rsp), %xmm0
movq 0x230(%rsp), %rax
addss 0x8(%rax), %xmm0
movss %xmm0, 0x8(%rax)
movss 0x208(%rsp), %xmm1
movq 0x230(%rsp), %rax
movss 0x10(%rax), %xmm0
addss %xmm1, %xmm1
subss %xmm1, %xmm0
movss %xmm0, 0x10(%rax)
movq 0x238(%rsp), %rax
movl 0x48(%rax), %eax
andl $0x1, %eax
cmpl $0x0, %eax
je 0x15b21
movq 0x220(%rsp), %rdi
movq 0x238(%rsp), %rax
movl 0x48(%rax), %esi
movl 0x24c(%rsp), %edx
callq 0x383d0
movq 0x230(%rsp), %rax
movss %xmm0, 0x3c(%rax)
movq 0x230(%rsp), %rax
movups 0x8(%rax), %xmm0
movaps %xmm0, 0x1b0(%rsp)
movq 0x230(%rsp), %rax
movss 0x3c(%rax), %xmm2
movsd 0x1b0(%rsp), %xmm0
movsd 0x1b8(%rsp), %xmm1
callq 0x31050
movlpd %xmm0, 0x1c0(%rsp)
movlpd %xmm1, 0x1c8(%rsp)
movq 0x230(%rsp), %rax
movq 0x1c0(%rsp), %rcx
movq %rcx, 0x8(%rax)
movq 0x1c8(%rsp), %rcx
movq %rcx, 0x10(%rax)
jmp 0x15b31
movq 0x230(%rsp), %rax
xorps %xmm0, %xmm0
movss %xmm0, 0x3c(%rax)
movq 0x230(%rsp), %rax
movss 0xc(%rax), %xmm0
movq 0x230(%rsp), %rax
movss %xmm0, 0x2c(%rax)
movq 0x230(%rsp), %rax
movss 0x8(%rax), %xmm0
movq 0x230(%rsp), %rax
movss %xmm0, 0x28(%rax)
movq 0x230(%rsp), %rax
xorps %xmm0, %xmm0
movss %xmm0, 0x30(%rax)
movq 0x230(%rsp), %rax
xorps %xmm0, %xmm0
movss %xmm0, 0x38(%rax)
movq 0x230(%rsp), %rax
xorps %xmm0, %xmm0
movss %xmm0, 0x34(%rax)
movq 0x258(%rsp), %rdi
callq 0x11d40
movq 0x230(%rsp), %rax
movl $0x0, 0x74(%rax)
movq 0x230(%rsp), %rax
movl $0x0, 0x80(%rax)
movq 0x230(%rsp), %rax
movq $0x0, 0x88(%rax)
movq 0x230(%rsp), %rax
xorps %xmm0, %xmm0
movss %xmm0, 0x90(%rax)
movq 0x230(%rsp), %rax
movl $0x0, 0xb0(%rax)
movss 0x20c(%rsp), %xmm0
movq 0x230(%rsp), %rax
movss %xmm0, 0x78(%rax)
movq 0x230(%rsp), %rax
movl $0x1, 0x40(%rax)
movq 0x238(%rsp), %rax
movl 0x48(%rax), %eax
andl $0x20, %eax
cmpl $0x0, %eax
jne 0x15c52
movss 0x210(%rsp), %xmm1
movq 0x230(%rsp), %rax
movss 0x10(%rax), %xmm0
subss %xmm1, %xmm0
movss %xmm0, 0x10(%rax)
movl 0x24c(%rsp), %edi
callq 0x384f0
cmpl $0x0, %eax
jne 0x15cd2
movq 0x230(%rsp), %rax
xorps %xmm0, %xmm0
movss %xmm0, 0x34(%rax)
movq 0x238(%rsp), %rax
movl 0x48(%rax), %eax
andl $0x20, %eax
cmpl $0x0, %eax
je 0x15c99
movq 0x238(%rsp), %rax
movl 0x48(%rax), %eax
andl $0x4, %eax
cmpl $0x0, %eax
je 0x15caf
movss 0x214(%rsp), %xmm0
movq 0x230(%rsp), %rax
movss %xmm0, 0x34(%rax)
movq 0x230(%rsp), %rax
movss 0x34(%rax), %xmm1
movq 0x230(%rsp), %rax
movss 0x14(%rax), %xmm0
subss %xmm1, %xmm0
movss %xmm0, 0x14(%rax)
movq 0x238(%rsp), %rax
movl 0x48(%rax), %edi
movq 0x250(%rsp), %rsi
callq 0x38340
cmpl $0x0, %eax
je 0x166cd
movq $0x0, 0x188(%rsp)
movq 0x238(%rsp), %rax
movss 0x4c(%rax), %xmm0
movss %xmm0, 0x190(%rsp)
movq 0x238(%rsp), %rax
movss 0x50(%rax), %xmm0
movss %xmm0, 0x194(%rsp)
movq 0x238(%rsp), %rax
movss 0x54(%rax), %xmm0
movss %xmm0, 0x198(%rsp)
movq 0x218(%rsp), %rax
movss 0x8(%rax), %xmm1
movq 0x220(%rsp), %rax
movss 0x1c88(%rax), %xmm0
addss %xmm0, %xmm0
addss %xmm1, %xmm0
movss %xmm0, 0x19c(%rsp)
movq 0x220(%rsp), %rax
movss 0x1c90(%rax), %xmm0
movss 0x19c(%rsp), %xmm1
addss %xmm0, %xmm0
addss %xmm1, %xmm0
movss %xmm0, 0x19c(%rsp)
movss 0x19c(%rsp), %xmm0
movq 0x230(%rsp), %rax
movss %xmm0, 0x38(%rax)
movss 0x19c(%rsp), %xmm0
movq 0x230(%rsp), %rax
addss 0xc(%rax), %xmm0
movss %xmm0, 0xc(%rax)
movss 0x19c(%rsp), %xmm1
movq 0x230(%rsp), %rax
movss 0x14(%rax), %xmm0
subss %xmm1, %xmm0
movss %xmm0, 0x14(%rax)
movss 0x19c(%rsp), %xmm0
movq 0x230(%rsp), %rax
addss 0x2c(%rax), %xmm0
movss %xmm0, 0x2c(%rax)
movq 0x258(%rsp), %rax
movq 0x3fe0(%rax), %rax
cmpq 0x238(%rsp), %rax
jne 0x15e51
movq 0x220(%rsp), %rax
addq $0x1aa8, %rax           # imm = 0x1AA8
addq $0x40, %rax
movq %rax, 0x188(%rsp)
movq 0x220(%rsp), %rax
movl 0x1c7c(%rax), %eax
movl %eax, 0x1ac(%rsp)
jmp 0x15ee3
movq 0x258(%rsp), %rdi
movups 0x190(%rsp), %xmm0
movaps %xmm0, 0x170(%rsp)
movsd 0x170(%rsp), %xmm0
movsd 0x178(%rsp), %xmm1
callq 0xd770
cmpl $0x0, %eax
je 0x15eb6
movq 0x220(%rsp), %rax
addq $0x1aa8, %rax           # imm = 0x1AA8
addq $0x20, %rax
movq %rax, 0x188(%rsp)
movq 0x220(%rsp), %rax
movl 0x1c78(%rax), %eax
movl %eax, 0x1ac(%rsp)
jmp 0x15ee1
movq 0x220(%rsp), %rax
addq $0x1aa8, %rax           # imm = 0x1AA8
movq %rax, 0x188(%rsp)
movq 0x220(%rsp), %rax
movl 0x1c74(%rax), %eax
movl %eax, 0x1ac(%rsp)
jmp 0x15ee3
movss 0x2f139(%rip), %xmm0    # 0x45024
addss 0x19c(%rsp), %xmm0
movss %xmm0, 0x19c(%rsp)
movq 0x188(%rsp), %rax
cmpl $0x1, (%rax)
jne 0x15f7f
xorl %ecx, %ecx
movl %ecx, %edi
movl %ecx, %esi
movl %ecx, %edx
callq 0x57b0
movl %eax, 0x16c(%rsp)
movl 0x16c(%rsp), %eax
movl %eax, 0x1a8(%rsp)
movq 0x238(%rsp), %rdi
addq $0x68, %rdi
movups 0x190(%rsp), %xmm0
movaps %xmm0, 0x150(%rsp)
movq 0x188(%rsp), %rsi
addq $0x8, %rsi
movl $0xffffffff, 0x14c(%rsp) # imm = 0xFFFFFFFF
movsd 0x150(%rsp), %xmm0
movsd 0x158(%rsp), %xmm1
movl 0x14c(%rsp), %edx
callq 0xc3c0
jmp 0x15fdc
movq 0x188(%rsp), %rax
movl 0x8(%rax), %eax
movl %eax, 0x1a8(%rsp)
movq 0x228(%rsp), %rdi
movups 0x190(%rsp), %xmm0
movaps %xmm0, 0x130(%rsp)
movq 0x188(%rsp), %rax
movl 0x8(%rax), %eax
movl %eax, 0x12c(%rsp)
movsd 0x130(%rsp), %xmm0
movsd 0x138(%rsp), %xmm1
movl 0x12c(%rsp), %esi
xorps %xmm2, %xmm2
callq 0xb130
movss 0x194(%rsp), %xmm0
movq 0x220(%rsp), %rax
addss 0x1c88(%rax), %xmm0
movss %xmm0, 0x120(%rsp)
movss 0x19c(%rsp), %xmm0
movq 0x220(%rsp), %rax
movss 0x1c88(%rax), %xmm1
addss %xmm1, %xmm1
subss %xmm1, %xmm0
movss %xmm0, 0x128(%rsp)
movss 0x128(%rsp), %xmm0
movss %xmm0, 0x124(%rsp)
movq 0x238(%rsp), %rax
movl 0x48(%rax), %eax
andl $0x8, %eax
cmpl $0x0, %eax
je 0x161ed
movl $0x0, 0x118(%rsp)
movq 0x220(%rsp), %rax
cmpl $0x1, 0x1c80(%rax)
jne 0x160e6
movss 0x198(%rsp), %xmm0
addss 0x190(%rsp), %xmm0
movss 0x124(%rsp), %xmm1
movq 0x220(%rsp), %rax
addss 0x1c84(%rax), %xmm1
subss %xmm1, %xmm0
movss %xmm0, 0x11c(%rsp)
movss 0x124(%rsp), %xmm1
movq 0x220(%rsp), %rax
addss 0x1c94(%rax), %xmm1
movq 0x220(%rsp), %rax
addss 0x1c84(%rax), %xmm1
movss 0x198(%rsp), %xmm0
subss %xmm1, %xmm0
movss %xmm0, 0x198(%rsp)
jmp 0x16143
movss 0x190(%rsp), %xmm0
movq 0x220(%rsp), %rax
addss 0x1c84(%rax), %xmm0
movss %xmm0, 0x11c(%rsp)
movss 0x124(%rsp), %xmm0
movq 0x220(%rsp), %rax
addss 0x1c94(%rax), %xmm0
movq 0x220(%rsp), %rax
addss 0x1c84(%rax), %xmm0
addss 0x190(%rsp), %xmm0
movss %xmm0, 0x190(%rsp)
movq 0x238(%rsp), %rsi
addq $0x68, %rsi
movups 0x11c(%rsp), %xmm0
movaps %xmm0, 0x100(%rsp)
movq 0x220(%rsp), %rax
movl 0x1c68(%rax), %edx
movq %rax, %r8
addq $0x1b08, %r8            # imm = 0x1B08
movq 0x240(%rsp), %r9
movq (%rax), %rcx
movsd 0x100(%rsp), %xmm0
movsd 0x108(%rsp), %xmm1
movq %rsp, %rax
movq %rcx, (%rax)
leaq 0x118(%rsp), %rdi
xorl %ecx, %ecx
callq 0x1dba0
cmpl $0x0, %eax
je 0x161eb
movq 0x238(%rsp), %rax
movl 0x48(%rax), %eax
andl $0x1000, %eax           # imm = 0x1000
cmpl $0x0, %eax
jne 0x161eb
movq 0x230(%rsp), %rax
movl 0x4(%rax), %ecx
orl $0x2000, %ecx           # imm = 0x2000
movl %ecx, 0x4(%rax)
movq 0x230(%rsp), %rax
movl 0x4(%rax), %ecx
andl $0xffff7fff, %ecx       # imm = 0xFFFF7FFF
movl %ecx, 0x4(%rax)
jmp 0x161ed
movq 0x238(%rsp), %rax
movl 0x48(%rax), %eax
andl $0x10, %eax
cmpl $0x0, %eax
je 0x16448
movl $0x0, 0xfc(%rsp)
movq 0x220(%rsp), %rax
cmpl $0x1, 0x1c80(%rax)
jne 0x162d8
movss 0x198(%rsp), %xmm0
addss 0x190(%rsp), %xmm0
subss 0x124(%rsp), %xmm0
movss %xmm0, 0x11c(%rsp)
movq 0x238(%rsp), %rax
movl 0x48(%rax), %eax
andl $0x8, %eax
cmpl $0x0, %eax
jne 0x162a7
movq 0x220(%rsp), %rax
movss 0x1c84(%rax), %xmm1
movss 0x11c(%rsp), %xmm0
subss %xmm1, %xmm0
movss %xmm0, 0x11c(%rsp)
movq 0x220(%rsp), %rax
movss 0x1c84(%rax), %xmm1
movss 0x198(%rsp), %xmm0
subss %xmm1, %xmm0
movss %xmm0, 0x198(%rsp)
movss 0x124(%rsp), %xmm1
movq 0x220(%rsp), %rax
addss 0x1c94(%rax), %xmm1
movss 0x198(%rsp), %xmm0
subss %xmm1, %xmm0
movss %xmm0, 0x198(%rsp)
jmp 0x16325
movss 0x190(%rsp), %xmm0
movss %xmm0, 0x11c(%rsp)
movss 0x124(%rsp), %xmm0
movq 0x220(%rsp), %rax
addss 0x1c94(%rax), %xmm0
movq 0x220(%rsp), %rax
addss 0x1c84(%rax), %xmm0
addss 0x190(%rsp), %xmm0
movss %xmm0, 0x190(%rsp)
movq 0x238(%rsp), %rax
addq $0x68, %rax
movq %rax, 0x20(%rsp)
movq 0x11c(%rsp), %rax
movq %rax, 0xec(%rsp)
movq 0x124(%rsp), %rax
movq %rax, 0xf4(%rsp)
movq 0x230(%rsp), %rax
movl 0x4(%rax), %eax
andl $0x8000, %eax           # imm = 0x8000
cmpl $0x0, %eax
je 0x1637f
movq 0x220(%rsp), %rax
movl 0x1c70(%rax), %eax
movl %eax, 0x1c(%rsp)
jmp 0x16391
movq 0x220(%rsp), %rax
movl 0x1c6c(%rax), %eax
movl %eax, 0x1c(%rsp)
movq 0x20(%rsp), %rsi
movl 0x1c(%rsp), %edx
movq 0x220(%rsp), %rax
movq %rax, %r8
addq $0x1bb8, %r8            # imm = 0x1BB8
movq 0x240(%rsp), %r9
movq (%rax), %rcx
movsd 0xec(%rsp), %xmm0
movsd 0xf4(%rsp), %xmm1
movq %rsp, %rax
movq %rcx, (%rax)
leaq 0xfc(%rsp), %rdi
xorl %ecx, %ecx
callq 0x1dba0
cmpl $0x0, %eax
je 0x16446
movq 0x238(%rsp), %rax
movl 0x48(%rax), %eax
andl $0x1000, %eax           # imm = 0x1000
cmpl $0x0, %eax
jne 0x16446
movq 0x230(%rsp), %rax
movl 0x4(%rax), %eax
andl $0x8000, %eax           # imm = 0x8000
cmpl $0x0, %eax
je 0x16423
movq 0x230(%rsp), %rax
movl 0x4(%rax), %eax
andl $0xffff7fff, %eax       # imm = 0xFFFF7FFF
movl %eax, 0x18(%rsp)
jmp 0x16437
movq 0x230(%rsp), %rax
movl 0x4(%rax), %eax
orl $0x8000, %eax           # imm = 0x8000
movl %eax, 0x18(%rsp)
movl 0x18(%rsp), %ecx
movq 0x230(%rsp), %rax
movl %ecx, 0x4(%rax)
jmp 0x16448
movq 0x250(%rsp), %rdi
callq 0x4720
movl %eax, 0xe8(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0xd0(%rsp)
movq 0x218(%rsp), %rcx
movq 0x10(%rcx), %rax
movq (%rcx), %rcx
movq %rcx, 0xc0(%rsp)
movq 0x218(%rsp), %rcx
movss 0x8(%rcx), %xmm0
movq 0x250(%rsp), %rsi
movl 0xe8(%rsp), %edx
movq 0xc0(%rsp), %rdi
callq *%rax
movss %xmm0, 0xcc(%rsp)
xorps %xmm1, %xmm1
movaps %xmm1, %xmm0
callq 0x41b0
movlpd %xmm0, 0xb8(%rsp)
movq 0xb8(%rsp), %rax
movq %rax, 0x1a0(%rsp)
movss 0x190(%rsp), %xmm0
movq 0x220(%rsp), %rax
addss 0x1c84(%rax), %xmm0
movss %xmm0, 0xd0(%rsp)
movq 0x220(%rsp), %rax
movss 0x1c8c(%rax), %xmm0
addss 0xd0(%rsp), %xmm0
movss %xmm0, 0xd0(%rsp)
movss 0x194(%rsp), %xmm0
movq 0x220(%rsp), %rax
addss 0x1c90(%rax), %xmm0
movss %xmm0, 0xd4(%rsp)
movq 0x218(%rsp), %rax
movss 0x8(%rax), %xmm1
movq 0x220(%rsp), %rax
movss 0x1c90(%rax), %xmm0
addss %xmm0, %xmm0
addss %xmm1, %xmm0
movss %xmm0, 0xdc(%rsp)
movss 0xcc(%rsp), %xmm1
movq 0x220(%rsp), %rax
movss 0x1c94(%rax), %xmm0
addss %xmm0, %xmm0
addss %xmm1, %xmm0
movss %xmm0, 0xd8(%rsp)
movss 0xd8(%rsp), %xmm1
movss 0x190(%rsp), %xmm0
addss 0x198(%rsp), %xmm0
subss 0xd0(%rsp), %xmm0
ucomiss %xmm1, %xmm0
jbe 0x165c9
movss 0xd8(%rsp), %xmm0
movss %xmm0, 0x14(%rsp)
jmp 0x165ea
movss 0x190(%rsp), %xmm0
addss 0x198(%rsp), %xmm0
subss 0xd0(%rsp), %xmm0
movss %xmm0, 0x14(%rsp)
movss 0x14(%rsp), %xmm1
xorps %xmm0, %xmm0
ucomiss %xmm1, %xmm0
jbe 0x16603
xorps %xmm0, %xmm0
movss %xmm0, 0x10(%rsp)
jmp 0x1666a
movss 0xd8(%rsp), %xmm1
movss 0x190(%rsp), %xmm0
addss 0x198(%rsp), %xmm0
subss 0xd0(%rsp), %xmm0
ucomiss %xmm1, %xmm0
jbe 0x1663d
movss 0xd8(%rsp), %xmm0
movss %xmm0, 0xc(%rsp)
jmp 0x1665e
movss 0x190(%rsp), %xmm0
addss 0x198(%rsp), %xmm0
subss 0xd0(%rsp), %xmm0
movss %xmm0, 0xc(%rsp)
movss 0xc(%rsp), %xmm0
movss %xmm0, 0x10(%rsp)
movss 0x10(%rsp), %xmm0
movss %xmm0, 0xd8(%rsp)
movq 0x228(%rsp), %rdi
movaps 0xd0(%rsp), %xmm0
movaps %xmm0, 0xa0(%rsp)
movq 0x250(%rsp), %rsi
movl 0xe8(%rsp), %edx
movq 0x218(%rsp), %r9
movsd 0xa0(%rsp), %xmm0
movsd 0xa8(%rsp), %xmm1
leaq 0x1a0(%rsp), %rcx
movl $0x11, %r8d
callq 0x24820
movq 0x230(%rsp), %rax
movl 0x4(%rax), %eax
andl $0x8000, %eax           # imm = 0x8000
cmpl $0x0, %eax
jne 0x1680f
movq 0x230(%rsp), %rax
movl 0x4(%rax), %eax
andl $0x800, %eax            # imm = 0x800
cmpl $0x0, %eax
jne 0x1680f
movq 0x238(%rsp), %rax
movss 0x4c(%rax), %xmm0
movss %xmm0, 0x90(%rsp)
movq 0x238(%rsp), %rax
movss 0x54(%rax), %xmm0
movss %xmm0, 0x98(%rsp)
movq 0x238(%rsp), %rax
movss 0x50(%rax), %xmm0
movq 0x230(%rsp), %rax
addss 0x38(%rax), %xmm0
movss %xmm0, 0x94(%rsp)
movq 0x238(%rsp), %rax
movss 0x58(%rax), %xmm0
movq 0x230(%rsp), %rax
subss 0x38(%rax), %xmm0
movss %xmm0, 0x9c(%rsp)
movq 0x220(%rsp), %rax
cmpl $0x1, 0x1ca0(%rax)
jne 0x167ce
movq 0x228(%rsp), %rdi
movups 0x90(%rsp), %xmm0
movaps %xmm0, 0x80(%rsp)
movq 0x220(%rsp), %rsi
addq $0x1ca8, %rsi           # imm = 0x1CA8
movl $0xffffffff, 0x7c(%rsp) # imm = 0xFFFFFFFF
movsd 0x80(%rsp), %xmm0
movsd 0x88(%rsp), %xmm1
movl 0x7c(%rsp), %edx
callq 0xc3c0
jmp 0x1680d
movq 0x228(%rsp), %rdi
movups 0x90(%rsp), %xmm0
movaps %xmm0, 0x60(%rsp)
movq 0x220(%rsp), %rax
movl 0x1ca8(%rax), %eax
movl %eax, 0x5c(%rsp)
movsd 0x60(%rsp), %xmm0
movsd 0x68(%rsp), %xmm1
movl 0x5c(%rsp), %esi
xorps %xmm2, %xmm2
callq 0xb130
jmp 0x1680f
movq 0x230(%rsp), %rax
movups 0x8(%rax), %xmm0
movups %xmm0, 0x44(%rax)
movq 0x238(%rsp), %rsi
addq $0x70, %rsi
movq 0x230(%rsp), %rax
movss 0x44(%rax), %xmm0
movss 0x48(%rax), %xmm1
movss 0x4c(%rax), %xmm3
movaps %xmm0, %xmm2
addss %xmm3, %xmm2
movss 0x50(%rax), %xmm4
movaps %xmm1, %xmm3
addss %xmm4, %xmm3
leaq 0x4c(%rsp), %rdi
callq 0x22740
movq 0x228(%rsp), %rdi
movups 0x4c(%rsp), %xmm0
movaps %xmm0, 0x30(%rsp)
movsd 0x30(%rsp), %xmm0
movsd 0x38(%rsp), %xmm1
callq 0xa9f0
movq 0x230(%rsp), %rax
movq 0x4c(%rsp), %rcx
movq %rcx, 0x44(%rax)
movq 0x54(%rsp), %rcx
movq %rcx, 0x4c(%rax)
movq 0x230(%rsp), %rax
movl 0x4(%rax), %ecx
andl $0x2000, %ecx           # imm = 0x2000
xorl %eax, %eax
cmpl $0x0, %ecx
movb %al, 0xb(%rsp)
jne 0x168d4
movq 0x230(%rsp), %rax
movl 0x4(%rax), %eax
andl $0x8000, %eax           # imm = 0x8000
cmpl $0x0, %eax
setne %al
xorb $-0x1, %al
movb %al, 0xb(%rsp)
movb 0xb(%rsp), %al
andb $0x1, %al
movzbl %al, %eax
movl %eax, 0x264(%rsp)
movl 0x264(%rsp), %eax
addq $0x268, %rsp            # imm = 0x268
retq
nopw %cs:(%rax,%rax)