// File: /workspace/github_c_makefile_star2_O0/kek[P]evilwm/screen.c
// Function: update_info_window
static void update_info_window(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 (!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(font, buf, strlen(buf)) + 2;
	iwinh = font->max_bounds.ascent + font->max_bounds.descent;
	XFetchName(dpy, c->window, &name);
	if (name) {
		namew = XTextWidth(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(dpy, c->screen->screen))
		iwinx = DisplayWidth(dpy, c->screen->screen) - iwinw;
	if (iwinx < 0)
		iwinx = 0;
	if (iwiny + iwinh > DisplayHeight(dpy, c->screen->screen))
		iwiny = DisplayHeight(dpy, c->screen->screen) - iwinh;
	if (iwiny < 0)
		iwiny = 0;
	XMoveResizeWindow(dpy, info_window, iwinx, iwiny, iwinw, iwinh);
	XClearWindow(dpy, info_window);
	if (name) {
		XDrawString(dpy, info_window, c->screen->invert_gc,
				1, iwinh / 2 - 1, name, strlen(name));
		XFree(name);
	}
	XDrawString(dpy, 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 0x58(%rax), %eax
movl %eax, -0x48(%rbp)
movq -0x8(%rbp), %rax
movl 0x5c(%rax), %eax
movl %eax, -0x4c(%rbp)
cmpq $0x0, 0x50bd(%rip)      # 0xf9c8
jne 0xa912
jmp 0xac6c
leaq -0x30(%rbp), %rdi
movq -0x8(%rbp), %rax
movl 0x2c(%rax), %eax
movq -0x8(%rbp), %rcx
subl 0x60(%rcx), %eax
cltd
idivl -0x48(%rbp)
movl %eax, %ecx
movq -0x8(%rbp), %rax
movl 0x30(%rax), %eax
movq -0x8(%rbp), %rdx
subl 0x64(%rdx), %eax
cltd
idivl -0x4c(%rbp)
movl %eax, %r8d
movq -0x8(%rbp), %rax
movl 0x24(%rax), %r9d
movq -0x8(%rbp), %rax
movl 0x28(%rax), %eax
movl $0x1b, %esi
leaq 0x1e5f(%rip), %rdx      # 0xc7b9
movl %eax, (%rsp)
movb $0x0, %al
callq 0x3250
leaq 0x501d(%rip), %rax      # 0xf988
movq (%rax), %rax
movq %rax, -0x60(%rbp)
leaq -0x30(%rbp), %rax
movq %rax, -0x58(%rbp)
leaq -0x30(%rbp), %rdi
callq 0x31e0
movq -0x60(%rbp), %rdi
movq -0x58(%rbp), %rsi
movl %eax, %edx
callq 0x3630
addl $0x2, %eax
movl %eax, -0x40(%rbp)
leaq 0x4fe9(%rip), %rax      # 0xf988
movq (%rax), %rax
movswl 0x4a(%rax), %eax
leaq 0x4fdb(%rip), %rcx      # 0xf988
movq (%rcx), %rcx
movswl 0x4c(%rcx), %ecx
addl %ecx, %eax
movl %eax, -0x44(%rbp)
leaq 0x4fc0(%rip), %rax      # 0xf980
movq (%rax), %rdi
movq -0x8(%rbp), %rax
movq (%rax), %rsi
leaq -0x10(%rbp), %rdx
callq 0x3300
cmpq $0x0, -0x10(%rbp)
je 0xaa24
leaq 0x4fa7(%rip), %rax      # 0xf988
movq (%rax), %rax
movq %rax, -0x70(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x68(%rbp)
movq -0x10(%rbp), %rdi
callq 0x31e0
movq -0x70(%rbp), %rdi
movq -0x68(%rbp), %rsi
movl %eax, %edx
callq 0x3630
movl %eax, -0x34(%rbp)
movl -0x34(%rbp), %eax
cmpl -0x40(%rbp), %eax
jle 0xaa1c
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 0x24(%rax), %eax
movq -0x8(%rbp), %rcx
addl 0x34(%rcx), %eax
movq -0x8(%rbp), %rcx
addl 0x2c(%rcx), %eax
subl -0x40(%rbp), %eax
movl %eax, -0x38(%rbp)
movq -0x8(%rbp), %rax
movl 0x28(%rax), %eax
movq -0x8(%rbp), %rcx
subl 0x34(%rcx), %eax
movl %eax, -0x3c(%rbp)
movl -0x38(%rbp), %eax
addl -0x40(%rbp), %eax
leaq 0x4f23(%rip), %rcx      # 0xf980
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 0xaaaa
leaq 0x4efb(%rip), %rax      # 0xf980
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 0xaab7
movl $0x0, -0x38(%rbp)
movl -0x3c(%rbp), %eax
addl -0x44(%rbp), %eax
leaq 0x4ebc(%rip), %rcx      # 0xf980
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 0xab11
leaq 0x4e94(%rip), %rax      # 0xf980
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 0xab1e
movl $0x0, -0x3c(%rbp)
leaq 0x4e5b(%rip), %rax      # 0xf980
movq (%rax), %rdi
movq 0x4e99(%rip), %rsi      # 0xf9c8
movl -0x38(%rbp), %edx
movl -0x3c(%rbp), %ecx
movl -0x40(%rbp), %r8d
movl -0x44(%rbp), %r9d
callq 0x3260
leaq 0x4e37(%rip), %rax      # 0xf980
movq (%rax), %rdi
movq 0x4e75(%rip), %rsi      # 0xf9c8
callq 0x30b0
cmpq $0x0, -0x10(%rbp)
je 0xabea
leaq 0x4e16(%rip), %rax      # 0xf980
movq (%rax), %rax
movq %rax, -0x98(%rbp)
movq 0x4e4d(%rip), %rax      # 0xf9c8
movq %rax, -0x90(%rbp)
movq -0x8(%rbp), %rax
movq 0x10(%rax), %rax
movq 0x18(%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 0x31e0
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 0x3500
movq -0x10(%rbp), %rdi
callq 0x3220
leaq 0x4d8f(%rip), %rax      # 0xf980
movq (%rax), %rax
movq %rax, -0xc0(%rbp)
movq 0x4dc6(%rip), %rax      # 0xf9c8
movq %rax, -0xb8(%rbp)
movq -0x8(%rbp), %rax
movq 0x10(%rax), %rax
movq 0x18(%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 0x31e0
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 0x3500
addq $0xd0, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)