// File: /workspace/github_c_makefile_star2_O1/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 0x3bc5
movq 0x7d69(%rip), %rax      # 0xb768
movl 0x128(%rax), %eax
leaq 0x20(%rsp), %r15
movq %rax, (%r15)
movb $0x1, 0x1b(%rbx)
movq 0x7d38(%rip), %rdi      # 0xb750
movl 0x20(%rbx), %esi
movq %rsp, %r14
movl $0x0, (%r14)
movl $0x10, %edx
movq %r14, %rcx
callq 0x32c0
movq 0x7d17(%rip), %rdi      # 0xb750
movl 0x20(%rbx), %esi
movq 0x7d2d(%rip), %rax      # 0xb770
movzwl 0x14(%rax), %ecx
movzwl 0x16(%rax), %eax
xorl %edx, %edx
movq %rdx, (%r14)
movl %ecx, 0x8(%r14)
movl %eax, 0xc(%r14)
movq 0x38(%rbx), %rax
movq %rax, 0x30(%rbx)
movq %rdx, 0x38(%rbx)
movq %rsp, %rcx
movl $0xf, %edx
callq 0x32c0
movq 0x7cd8(%rip), %rdi      # 0xb750
movl 0x20(%rbx), %edx
movq 0x7ce6(%rip), %rax      # 0xb768
movl 0x84(%rax), %ecx
xorl %esi, %esi
movl $0x4, %r8d
movl $0x20, %r9d
pushq %r15
pushq $0x1
callq 0x35d0
addq $0x10, %rsp
testq %rbx, %rbx
je 0x3c81
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 0x3c98
movq %rax, %r14
movq %r12, 0x10(%rsp)
movq %r15, 0x18(%rsp)
movq %rax, 0x28(%rax)
movq %rbx, %rdi
callq 0x4f4a
movq 0x7c8c(%rip), %rax      # 0xb780
movq 0x18(%rax), %rbp
testq %rbp, %rbp
je 0x3b48
xorl %r12d, %r12d
movq %rsp, %r15
movq 0x7c46(%rip), %rdi      # 0xb750
movl 0x20(%rbp), %esi
movq 0x7c74(%rip), %rax      # 0xb788
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 0x7c3d(%rip), %r12      # 0xb790
testq %r12, %r12
je 0x3bab
xorl %r13d, %r13d
movq %rsp, %r15
movq 0x7beb(%rip), %rdi      # 0xb750
movl 0x18(%r12), %esi
movq 0x7c17(%rip), %rax      # 0xb788
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
movq %rbx, (%rbp)
testq %rax, %rax
je 0x3c12
movq $0x0, (%rbx)
movq %rax, 0x8(%rbx)
jmp 0x3c19
movb $0x0, 0x1b(%rbx)
movq 0x7b80(%rip), %rdi      # 0xb750
movl 0x20(%rbx), %esi
movq %rsp, %rcx
movl $0x0, (%rcx)
movl $0x10, %edx
callq 0x32c0
movq 0x7b63(%rip), %rdi      # 0xb750
movl 0x20(%rbx), %esi
movq 0x7b71(%rip), %rax      # 0xb768
movl 0x84(%rax), %edx
movl 0x128(%rax), %ecx
callq 0x37cb
movq %rbx, %rdi
callq 0x3cab
jmp 0x3c81
movq %r14, %rax
addq $0x20, %rax
movq 0x18(%rsp), %r15
movq 0x10(%rsp), %rdx
movq %rbx, (%rax)
movq %rbp, 0x10(%rbx)
leaq 0x18(%rdx), %rax
movq 0x18(%rdx), %rcx
movq %r14, 0x18(%rdx)
testq %rcx, %rcx
je 0x3c48
movq $0x0, (%r14)
movq %rcx, 0x8(%r14)
jmp 0x3c4f
addq $0x20, %rdx
movq %rdx, %rcx
movq %r14, (%rcx)
movq %rax, 0x10(%r14)
movl 0x7b4c(%rip), %edi      # 0xb7a8
callq 0x4fc0
movl 0x68(%r15), %eax
movl %eax, 0x68(%r14)
movups 0x58(%r15), %xmm0
movups %xmm0, 0x58(%r14)
movq %r14, 0x7b06(%rip)      # 0xb780
xorl %edi, %edi
callq 0x3dcb
movq %rbx, %rdi
callq 0x3dcb
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x43de(%rip), %rsi      # 0x807d
movl $0x1, %edi
xorl %eax, %eax
callq 0x3400