// File: /workspace/github_c_makefile_star2_O0/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_group_scrolled_end
NK_API void
nk_group_scrolled_end(struct nk_context *ctx)
{
    struct nk_window *win;
    struct nk_panel *parent;
    struct nk_panel *g;

    struct nk_rect clip;
    struct nk_window pan;
    struct nk_vec2 panel_padding;

    NK_ASSERT(ctx);
    NK_ASSERT(ctx->current);
    if (!ctx || !ctx->current)
        return;

    /* make sure nk_group_begin was called correctly */
    NK_ASSERT(ctx->current);
    win = ctx->current;
    NK_ASSERT(win->layout);
    g = win->layout;
    NK_ASSERT(g->parent);
    parent = g->parent;

    /* dummy window */
    nk_zero_struct(pan);
    panel_padding = nk_panel_get_padding(&ctx->style, NK_PANEL_GROUP);
    pan.bounds.y = g->bounds.y - (g->header_height + g->menu.h);
    pan.bounds.x = g->bounds.x - panel_padding.x;
    pan.bounds.w = g->bounds.w + 2 * panel_padding.x;
    pan.bounds.h = g->bounds.h + g->header_height + g->menu.h;
    if (g->flags & NK_WINDOW_BORDER) {
        pan.bounds.x -= g->border;
        pan.bounds.y -= g->border;
        pan.bounds.w += 2*g->border;
        pan.bounds.h += 2*g->border;
    }
    if (!(g->flags & NK_WINDOW_NO_SCROLLBAR)) {
        pan.bounds.w += ctx->style.window.scrollbar_size.x;
        pan.bounds.h += ctx->style.window.scrollbar_size.y;
    }
    pan.scrollbar.x = *g->offset_x;
    pan.scrollbar.y = *g->offset_y;
    pan.flags = g->flags;
    pan.buffer = win->buffer;
    pan.layout = g;
    pan.parent = win;
    ctx->current = &pan;

    /* make sure group has correct clipping rectangle */
    nk_unify(&clip, &parent->clip, pan.bounds.x, pan.bounds.y,
        pan.bounds.x + pan.bounds.w, pan.bounds.y + pan.bounds.h + panel_padding.x);
    nk_push_scissor(&pan.buffer, clip);
    nk_end(ctx);

    win->buffer = pan.buffer;
    nk_push_scissor(&win->buffer, parent->clip);
    ctx->current = win;
    win->layout = parent;
    g->bounds = pan.bounds;
    return;
}

// Assembly:
subq $0x228, %rsp            # imm = 0x228
movq %rdi, 0x220(%rsp)
cmpq $0x0, 0x220(%rsp)
jne 0x6365d
movq 0x619bf(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x4dd65(%rip), %rsi     # 0xb13a0
leaq 0x4dd7c(%rip), %rdx     # 0xb13be
movl $0x595d, %ecx           # imm = 0x595D
movb $0x0, %al
callq 0x13ec0
movq 0x6199b(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x6365f
jmp 0x63661
movq 0x220(%rsp), %rax
cmpq $0x0, 0x4780(%rax)
jne 0x636a6
movq 0x61976(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x4dd1c(%rip), %rsi     # 0xb13a0
leaq 0x4dd33(%rip), %rdx     # 0xb13be
movl $0x595e, %ecx           # imm = 0x595E
movb $0x0, %al
callq 0x13ec0
movq 0x61952(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x636a8
cmpq $0x0, 0x220(%rsp)
je 0x636c5
movq 0x220(%rsp), %rax
cmpq $0x0, 0x4780(%rax)
jne 0x636ca
jmp 0x63b5b
jmp 0x636cc
movq 0x220(%rsp), %rax
cmpq $0x0, 0x4780(%rax)
jne 0x63711
movq 0x6190b(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x4dcb1(%rip), %rsi     # 0xb13a0
leaq 0x4dcc8(%rip), %rdx     # 0xb13be
movl $0x5963, %ecx           # imm = 0x5963
movb $0x0, %al
callq 0x13ec0
movq 0x618e7(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x63713
movq 0x220(%rsp), %rax
movq 0x4780(%rax), %rax
movq %rax, 0x218(%rsp)
movq 0x218(%rsp), %rax
cmpq $0x0, 0xa8(%rax)
jne 0x6376f
movq 0x618ad(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x4dc53(%rip), %rsi     # 0xb13a0
leaq 0x4dc6a(%rip), %rdx     # 0xb13be
movl $0x5965, %ecx           # imm = 0x5965
movb $0x0, %al
callq 0x13ec0
movq 0x61889(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x63771
movq 0x218(%rsp), %rax
movq 0xa8(%rax), %rax
movq %rax, 0x208(%rsp)
movq 0x208(%rsp), %rax
cmpq $0x0, 0x1c8(%rax)
jne 0x637cd
movq 0x6184f(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x4dbf5(%rip), %rsi     # 0xb13a0
leaq 0x4dc0c(%rip), %rdx     # 0xb13be
movl $0x5967, %ecx           # imm = 0x5967
movb $0x0, %al
callq 0x13ec0
movq 0x6182b(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x637cf
movq 0x208(%rsp), %rax
movq 0x1c8(%rax), %rax
movq %rax, 0x210(%rsp)
leaq 0x18(%rsp), %rdi
movl $0x1e0, %esi            # imm = 0x1E0
callq 0x2f0e0
movq 0x220(%rsp), %rdi
addq $0x168, %rdi            # imm = 0x168
movl $0x2, %esi
callq 0x5d770
movlpd %xmm0, 0x8(%rsp)
movq 0x8(%rsp), %rax
movq %rax, 0x10(%rsp)
movq 0x208(%rsp), %rax
movss 0xc(%rax), %xmm0
movq 0x208(%rsp), %rax
movss 0x38(%rax), %xmm1
movq 0x208(%rsp), %rax
addss 0x60(%rax), %xmm1
subss %xmm1, %xmm0
movss %xmm0, 0x68(%rsp)
movq 0x208(%rsp), %rax
movss 0x8(%rax), %xmm0
subss 0x10(%rsp), %xmm0
movss %xmm0, 0x64(%rsp)
movq 0x208(%rsp), %rax
movss 0x10(%rax), %xmm1
movss 0x10(%rsp), %xmm0
addss %xmm0, %xmm0
addss %xmm1, %xmm0
movss %xmm0, 0x6c(%rsp)
movq 0x208(%rsp), %rax
movss 0x14(%rax), %xmm0
movq 0x208(%rsp), %rax
addss 0x38(%rax), %xmm0
movq 0x208(%rsp), %rax
addss 0x60(%rax), %xmm0
movss %xmm0, 0x70(%rsp)
movq 0x208(%rsp), %rax
movl 0x4(%rax), %eax
andl $0x1, %eax
cmpl $0x0, %eax
je 0x63945
movq 0x208(%rsp), %rax
movss 0x3c(%rax), %xmm1
movss 0x64(%rsp), %xmm0
subss %xmm1, %xmm0
movss %xmm0, 0x64(%rsp)
movq 0x208(%rsp), %rax
movss 0x3c(%rax), %xmm1
movss 0x68(%rsp), %xmm0
subss %xmm1, %xmm0
movss %xmm0, 0x68(%rsp)
movq 0x208(%rsp), %rax
movss 0x3c(%rax), %xmm0
movss 0x6c(%rsp), %xmm1
addss %xmm0, %xmm0
addss %xmm1, %xmm0
movss %xmm0, 0x6c(%rsp)
movq 0x208(%rsp), %rax
movss 0x3c(%rax), %xmm0
movss 0x70(%rsp), %xmm1
addss %xmm0, %xmm0
addss %xmm1, %xmm0
movss %xmm0, 0x70(%rsp)
movq 0x208(%rsp), %rax
movl 0x4(%rax), %eax
andl $0x20, %eax
cmpl $0x0, %eax
jne 0x63990
movq 0x220(%rsp), %rax
movss 0x24bc(%rax), %xmm0
addss 0x6c(%rsp), %xmm0
movss %xmm0, 0x6c(%rsp)
movq 0x220(%rsp), %rax
movss 0x24c0(%rax), %xmm0
addss 0x70(%rsp), %xmm0
movss %xmm0, 0x70(%rsp)
movq 0x208(%rsp), %rax
movq 0x18(%rax), %rax
movl (%rax), %eax
movl %eax, 0x74(%rsp)
movq 0x208(%rsp), %rax
movq 0x20(%rax), %rax
movl (%rax), %eax
movl %eax, 0x78(%rsp)
movq 0x208(%rsp), %rax
movl 0x4(%rax), %eax
movl %eax, 0x60(%rsp)
leaq 0x80(%rsp), %rax
movq %rax, (%rsp)
movq 0x218(%rsp), %rax
movups 0x68(%rax), %xmm0
movups 0x78(%rax), %xmm1
movups 0x88(%rax), %xmm2
movups 0x98(%rax), %xmm3
movups %xmm3, 0xb0(%rsp)
movups %xmm2, 0xa0(%rsp)
movups %xmm1, 0x90(%rsp)
movups %xmm0, 0x80(%rsp)
movq 0x208(%rsp), %rax
movq %rax, 0xc0(%rsp)
movq 0x218(%rsp), %rax
movq %rax, 0x1f0(%rsp)
movq 0x220(%rsp), %rax
leaq 0x18(%rsp), %rcx
movq %rcx, 0x4780(%rax)
movq 0x210(%rsp), %rsi
addq $0x44, %rsi
movss 0x64(%rsp), %xmm0
movss 0x68(%rsp), %xmm1
movss 0x6c(%rsp), %xmm3
movaps %xmm0, %xmm2
addss %xmm3, %xmm2
movss 0x70(%rsp), %xmm4
movaps %xmm1, %xmm3
addss %xmm4, %xmm3
movss 0x10(%rsp), %xmm4
addss %xmm4, %xmm3
leaq 0x1f8(%rsp), %rdi
callq 0x63b70
movq (%rsp), %rdi
movsd 0x1f8(%rsp), %xmm0
movsd 0x200(%rsp), %xmm1
callq 0x14c90
movq 0x220(%rsp), %rdi
callq 0x14120
movq 0x218(%rsp), %rax
movups 0x80(%rsp), %xmm0
movups 0x90(%rsp), %xmm1
movups 0xa0(%rsp), %xmm2
movups 0xb0(%rsp), %xmm3
movups %xmm3, 0x98(%rax)
movups %xmm2, 0x88(%rax)
movups %xmm1, 0x78(%rax)
movups %xmm0, 0x68(%rax)
movq 0x218(%rsp), %rdi
addq $0x68, %rdi
movq 0x210(%rsp), %rax
movsd 0x44(%rax), %xmm0
movsd 0x4c(%rax), %xmm1
callq 0x14c90
movq 0x218(%rsp), %rcx
movq 0x220(%rsp), %rax
movq %rcx, 0x4780(%rax)
movq 0x210(%rsp), %rcx
movq 0x218(%rsp), %rax
movq %rcx, 0xa8(%rax)
movq 0x208(%rsp), %rax
movq 0x64(%rsp), %rcx
movq %rcx, 0x8(%rax)
movq 0x6c(%rsp), %rcx
movq %rcx, 0x10(%rax)
addq $0x228, %rsp            # imm = 0x228
retq
nopw %cs:(%rax,%rax)