// File: /workspace/github_c_makefile_star2_O3/kaugm[P]mmwm/mmwm.c
// Function: setfullscreen
void setfullscreen(client *c, bool fullscrn)
{
    DEBUGP("xcb: set fullscreen: %d\n", fullscrn);

    if (fullscrn) {
        long data[] = { ewmh->_NET_WM_STATE_FULLSCREEN };
        c->isfullscreen = True;
        xcb_border_width(dis, c->win, 0);
        xcb_move_resize(dis, c->win, 0, 0, screen->width_in_pixels, screen->height_in_pixels, &c->position_info);
        xcb_change_property(dis, XCB_PROP_MODE_REPLACE,
                            c->win, ewmh->_NET_WM_STATE,
                            XCB_ATOM_ATOM, 32, True, data);
        create_display(c);
    }
    else {
        c->isfullscreen = False;
        xcb_border_width(dis, c->win, BORDER_WIDTH);
        xcb_remove_property(dis, c->win, ewmh->_NET_WM_STATE, ewmh->_NET_WM_STATE_FULLSCREEN);
        destroy_display(c);
    }
    update_current(c);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
testl %esi, %esi
je 0x3bc1
movq 0x6d63(%rip), %rax      # 0xa768
movl 0x128(%rax), %eax
leaq 0x20(%rsp), %r15
movq %rax, (%r15)
movb $0x1, 0x1b(%rbx)
movq 0x6d32(%rip), %rdi      # 0xa750
movl 0x20(%rbx), %esi
movq %rsp, %r14
movl $0x0, (%r14)
movl $0x10, %edx
movq %r14, %rcx
callq 0x32c0
movq 0x6d11(%rip), %rdi      # 0xa750
movl 0x20(%rbx), %esi
movq 0x6d27(%rip), %rax      # 0xa770
xorl %ecx, %ecx
movq %rcx, (%r14)
movd 0x14(%rax), %xmm0
pxor %xmm1, %xmm1
punpcklwd %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
movq %xmm0, 0x8(%r14)
movq 0x38(%rbx), %rax
movq %rax, 0x30(%rbx)
movq %rcx, 0x38(%rbx)
movq %rsp, %rcx
movl $0xf, %edx
callq 0x32c0
movq 0x6ccf(%rip), %rdi      # 0xa750
movl 0x20(%rbx), %edx
movq 0x6cdd(%rip), %rax      # 0xa768
movl 0x84(%rax), %ecx
xorl %esi, %esi
movl $0x4, %r8d
movl $0x20, %r9d
pushq %r15
pushq $0x1
callq 0x35d0
addq $0x10, %rsp
movq 0x10(%rbx), %rax
movq 0x10(%rax), %r15
movq 0x10(%r15), %rax
movq 0x10(%rax), %r12
movl $0x1, %edi
movl $0x70, %esi
callq 0x3300
testq %rax, %rax
je 0x3c97
movq %rax, %r14
movq %r12, 0x10(%rsp)
movq %r15, 0x18(%rsp)
movq %rax, 0x28(%rax)
movq %rbx, %rdi
callq 0x4e73
movq 0x6c8c(%rip), %rax      # 0xa780
movq 0x18(%rax), %rbp
testq %rbp, %rbp
je 0x3b48
xorl %r12d, %r12d
movq %rsp, %r15
movq 0x6c46(%rip), %rdi      # 0xa750
movl 0x20(%rbp), %esi
movq 0x6c74(%rip), %rax      # 0xa788
movl 0x34(%rax), %eax
addl %eax, %eax
negl %eax
movl %eax, (%rsp)
movl %r12d, 0x4(%rsp)
movq 0x38(%rbp), %rcx
movq %rcx, 0x30(%rbp)
movl %eax, 0x38(%rbp)
movl %r12d, 0x3c(%rbp)
movl $0x3, %edx
movq %r15, %rcx
callq 0x32c0
movq 0x8(%rbp), %rbp
testq %rbp, %rbp
jne 0x3b03
leaq 0x18(%r14), %rbp
movq 0x6c3d(%rip), %r12      # 0xa790
testq %r12, %r12
je 0x3bab
xorl %r13d, %r13d
movq %rsp, %r15
movq 0x6beb(%rip), %rdi      # 0xa750
movl 0x18(%r12), %esi
movq 0x6c17(%rip), %rax      # 0xa788
movl 0x34(%rax), %eax
addl %eax, %eax
negl %eax
movl %eax, (%rsp)
movl %r13d, 0x4(%rsp)
movq 0x28(%r12), %rcx
movq %rcx, 0x20(%r12)
movl %eax, 0x28(%r12)
movl %r13d, 0x2c(%r12)
movl $0x3, %edx
movq %r15, %rcx
callq 0x32c0
movq 0x8(%r12), %r12
testq %r12, %r12
jne 0x3b5e
movq (%rbp), %rax
testq %rax, %rax
je 0x3c0e
movq $0x0, (%rbx)
movq %rax, 0x8(%rbx)
jmp 0x3c15
movb $0x0, 0x1b(%rbx)
movq 0x6b84(%rip), %rdi      # 0xa750
movl 0x20(%rbx), %esi
movq %rsp, %rcx
movl $0x0, (%rcx)
movl $0x10, %edx
callq 0x32c0
movq 0x6b67(%rip), %rdi      # 0xa750
movl 0x20(%rbx), %esi
movq 0x6b75(%rip), %rax      # 0xa768
movl 0x84(%rax), %edx
movl 0x128(%rax), %ecx
callq 0x37cb
movq %rbx, %rdi
callq 0x3caa
jmp 0x3c80
movq %r14, %rax
addq $0x20, %rax
movq 0x18(%rsp), %r15
movq 0x10(%rsp), %rdx
movq %rbx, (%rax)
movq %rbx, (%rbp)
movq %rbp, 0x10(%rbx)
leaq 0x18(%rdx), %rax
movq 0x18(%rdx), %rcx
testq %rcx, %rcx
je 0x3c44
movq $0x0, (%r14)
movq %rcx, 0x8(%r14)
jmp 0x3c4b
addq $0x20, %rdx
movq %rdx, %rcx
movq %r14, (%rcx)
movq %r14, (%rax)
movq %rax, 0x10(%r14)
movl 0x6b4d(%rip), %edi      # 0xa7a8
callq 0x4ee2
movl 0x68(%r15), %eax
movl %eax, 0x68(%r14)
movups 0x58(%r15), %xmm0
movups %xmm0, 0x58(%r14)
movq %r14, 0x6b07(%rip)      # 0xa780
xorl %edi, %edi
callq 0x3dc0
movq %rbx, %rdi
callq 0x3dc0
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x33f7(%rip), %rsi      # 0x7095
movl $0x1, %edi
xorl %eax, %eax
callq 0x3400