// File: /workspace/github_c_makefile_star2_O0/mati75[P]evilwm/client.c
// Function: update_info_window
void update_info_window(struct client *c) {
        char *name;
        char buf[27];
        int namew, iwinx, iwiny, iwinw, iwinh;
        int width_inc = c->width_inc, height_inc = c->height_inc;

        if (!display.info_window)
                return;
        snprintf(buf, sizeof(buf), "%dx%d+%d+%d", (c->width-c->base_width)/width_inc,
                (c->height-c->base_height)/height_inc, c->x, c->y);
        iwinw = XTextWidth(display.font, buf, strlen(buf)) + 2;
        iwinh = display.font->max_bounds.ascent + display.font->max_bounds.descent;
        XFetchName(display.dpy, c->window, &name);
        if (name) {
                namew = XTextWidth(display.font, name, strlen(name));
                if (namew > iwinw)
                        iwinw = namew + 2;
                iwinh = iwinh * 2;
        }
        iwinx = c->x + c->border + c->width - iwinw;
        iwiny = c->y - c->border;
        if (iwinx + iwinw > DisplayWidth(display.dpy, c->screen->screen))
                iwinx = DisplayWidth(display.dpy, c->screen->screen) - iwinw;
        if (iwinx < 0)
                iwinx = 0;
        if (iwiny + iwinh > DisplayHeight(display.dpy, c->screen->screen))
                iwiny = DisplayHeight(display.dpy, c->screen->screen) - iwinh;
        if (iwiny < 0)
                iwiny = 0;
        XMoveResizeWindow(display.dpy, display.info_window, iwinx, iwiny, iwinw, iwinh);
        XClearWindow(display.dpy, display.info_window);
        if (name) {
                XDrawString(display.dpy, display.info_window, c->screen->invert_gc,
                                1, iwinh / 2 - 1, name, strlen(name));
                XFree(name);
        }
        XDrawString(display.dpy, display.info_window, c->screen->invert_gc, 1, iwinh - 1,
                        buf, strlen(buf));
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xd0, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movl 0x7c(%rax), %eax
movl %eax, -0x48(%rbp)
movq -0x8(%rbp), %rax
movl 0x80(%rax), %eax
movl %eax, -0x4c(%rbp)
leaq 0xc7f3(%rip), %rax      # 0x12d80
cmpq $0x0, 0x198(%rax)
jne 0x659c
jmp 0x6928
leaq -0x30(%rbp), %rdi
movq -0x8(%rbp), %rax
movl 0x30(%rax), %eax
movq -0x8(%rbp), %rcx
subl 0x84(%rcx), %eax
cltd
idivl -0x48(%rbp)
movl %eax, %ecx
movq -0x8(%rbp), %rax
movl 0x34(%rax), %eax
movq -0x8(%rbp), %rdx
subl 0x88(%rdx), %eax
cltd
idivl -0x4c(%rbp)
movl %eax, %r8d
movq -0x8(%rbp), %rax
movl 0x28(%rax), %r9d
movq -0x8(%rbp), %rax
movl 0x2c(%rax), %eax
movl $0x1b, %esi
leaq 0x7e2e(%rip), %rdx      # 0xe418
movl %eax, (%rsp)
movb $0x0, %al
callq 0x40a0
leaq 0xc785(%rip), %rax      # 0x12d80
movq 0x160(%rax), %rax
movq %rax, -0x60(%rbp)
leaq -0x30(%rbp), %rax
movq %rax, -0x58(%rbp)
leaq -0x30(%rbp), %rdi
callq 0x4300
movq -0x60(%rbp), %rdi
movq -0x58(%rbp), %rsi
movl %eax, %edx
callq 0x44f0
addl $0x2, %eax
movl %eax, -0x40(%rbp)
leaq 0xc74d(%rip), %rax      # 0x12d80
movq 0x160(%rax), %rax
movswl 0x4a(%rax), %eax
leaq 0xc73b(%rip), %rcx      # 0x12d80
movq 0x160(%rcx), %rcx
movswl 0x4c(%rcx), %ecx
addl %ecx, %eax
movl %eax, -0x44(%rbp)
leaq 0xc724(%rip), %rax      # 0x12d80
movq (%rax), %rdi
movq -0x8(%rbp), %rax
movq (%rax), %rsi
leaq -0x10(%rbp), %rdx
callq 0x45c0
cmpq $0x0, -0x10(%rbp)
je 0x66c4
leaq 0xc703(%rip), %rax      # 0x12d80
movq 0x160(%rax), %rax
movq %rax, -0x70(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x68(%rbp)
movq -0x10(%rbp), %rdi
callq 0x4300
movq -0x70(%rbp), %rdi
movq -0x68(%rbp), %rsi
movl %eax, %edx
callq 0x44f0
movl %eax, -0x34(%rbp)
movl -0x34(%rbp), %eax
cmpl -0x40(%rbp), %eax
jle 0x66bc
movl -0x34(%rbp), %eax
addl $0x2, %eax
movl %eax, -0x40(%rbp)
movl -0x44(%rbp), %eax
shll %eax
movl %eax, -0x44(%rbp)
movq -0x8(%rbp), %rax
movl 0x28(%rax), %eax
movq -0x8(%rbp), %rcx
addl 0x3c(%rcx), %eax
movq -0x8(%rbp), %rcx
addl 0x30(%rcx), %eax
subl -0x40(%rbp), %eax
movl %eax, -0x38(%rbp)
movq -0x8(%rbp), %rax
movl 0x2c(%rax), %eax
movq -0x8(%rbp), %rcx
subl 0x3c(%rcx), %eax
movl %eax, -0x3c(%rbp)
movl -0x38(%rbp), %eax
addl -0x40(%rbp), %eax
leaq 0xc683(%rip), %rcx      # 0x12d80
movq (%rcx), %rcx
movq 0xe8(%rcx), %rcx
movq -0x8(%rbp), %rdx
movq 0x10(%rdx), %rdx
movslq (%rdx), %rdx
shlq $0x7, %rdx
addq %rdx, %rcx
cmpl 0x18(%rcx), %eax
jle 0x674a
leaq 0xc65b(%rip), %rax      # 0x12d80
movq (%rax), %rax
movq 0xe8(%rax), %rax
movq -0x8(%rbp), %rcx
movq 0x10(%rcx), %rcx
movslq (%rcx), %rcx
shlq $0x7, %rcx
addq %rcx, %rax
movl 0x18(%rax), %eax
subl -0x40(%rbp), %eax
movl %eax, -0x38(%rbp)
cmpl $0x0, -0x38(%rbp)
jge 0x6757
movl $0x0, -0x38(%rbp)
movl -0x3c(%rbp), %eax
addl -0x44(%rbp), %eax
leaq 0xc61c(%rip), %rcx      # 0x12d80
movq (%rcx), %rcx
movq 0xe8(%rcx), %rcx
movq -0x8(%rbp), %rdx
movq 0x10(%rdx), %rdx
movslq (%rdx), %rdx
shlq $0x7, %rdx
addq %rdx, %rcx
cmpl 0x1c(%rcx), %eax
jle 0x67b1
leaq 0xc5f4(%rip), %rax      # 0x12d80
movq (%rax), %rax
movq 0xe8(%rax), %rax
movq -0x8(%rbp), %rcx
movq 0x10(%rcx), %rcx
movslq (%rcx), %rcx
shlq $0x7, %rcx
addq %rcx, %rax
movl 0x1c(%rax), %eax
subl -0x44(%rbp), %eax
movl %eax, -0x3c(%rbp)
cmpl $0x0, -0x3c(%rbp)
jge 0x67be
movl $0x0, -0x3c(%rbp)
leaq 0xc5bb(%rip), %rax      # 0x12d80
movq (%rax), %rdi
leaq 0xc5b1(%rip), %rax      # 0x12d80
movq 0x198(%rax), %rsi
movl -0x38(%rbp), %edx
movl -0x3c(%rbp), %ecx
movl -0x40(%rbp), %r8d
movl -0x44(%rbp), %r9d
callq 0x43c0
leaq 0xc590(%rip), %rax      # 0x12d80
movq (%rax), %rdi
leaq 0xc586(%rip), %rax      # 0x12d80
movq 0x198(%rax), %rsi
callq 0x4090
cmpq $0x0, -0x10(%rbp)
je 0x689f
leaq 0xc568(%rip), %rax      # 0x12d80
movq (%rax), %rax
movq %rax, -0x98(%rbp)
leaq 0xc557(%rip), %rax      # 0x12d80
movq 0x198(%rax), %rax
movq %rax, -0x90(%rbp)
movq -0x8(%rbp), %rax
movq 0x10(%rax), %rax
movq 0x28(%rax), %rax
movq %rax, -0x88(%rbp)
movl -0x44(%rbp), %eax
movl $0x2, %ecx
cltd
idivl %ecx
subl $0x1, %eax
movl %eax, -0x7c(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x78(%rbp)
movq -0x10(%rbp), %rdi
callq 0x4300
movq -0x98(%rbp), %rdi
movq -0x90(%rbp), %rsi
movq -0x88(%rbp), %rdx
movl -0x7c(%rbp), %r8d
movq -0x78(%rbp), %r9
movl $0x1, %ecx
movl %eax, (%rsp)
callq 0x4030
movq -0x10(%rbp), %rdi
callq 0x4050
leaq 0xc4da(%rip), %rax      # 0x12d80
movq (%rax), %rax
movq %rax, -0xc0(%rbp)
leaq 0xc4c9(%rip), %rax      # 0x12d80
movq 0x198(%rax), %rax
movq %rax, -0xb8(%rbp)
movq -0x8(%rbp), %rax
movq 0x10(%rax), %rax
movq 0x28(%rax), %rax
movq %rax, -0xb0(%rbp)
movl -0x44(%rbp), %eax
subl $0x1, %eax
movl %eax, -0xa4(%rbp)
leaq -0x30(%rbp), %rax
movq %rax, -0xa0(%rbp)
leaq -0x30(%rbp), %rdi
callq 0x4300
movq -0xc0(%rbp), %rdi
movq -0xb8(%rbp), %rsi
movq -0xb0(%rbp), %rdx
movl -0xa4(%rbp), %r8d
movq -0xa0(%rbp), %r9
movl $0x1, %ecx
movl %eax, (%rsp)
callq 0x4030
addq $0xd0, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)