// File: /workspace/github_c_makefile_star2_O2/kek[P]evilwm/screen.c
// Function: show_info
void show_info(Client *c, unsigned int keycode) {
	XEvent ev;
	XKeyboardState keyboard;

	if (XGrabKeyboard(dpy, c->screen->root, False, GrabModeAsync, GrabModeAsync, CurrentTime) != GrabSuccess)
		return;

	/* keyboard repeat might not have any effect, newer X servers seem to
	 * only change the keyboard control after all keys have been physically
	 * released. */
	XGetKeyboardControl(dpy, &keyboard);
	XChangeKeyboardControl(dpy, KBAutoRepeatMode, &(XKeyboardControl){.auto_repeat_mode = AutoRepeatModeOff});
#ifdef INFOBANNER
	create_info_window(c);
#else
	XGrabServer(dpy);
	draw_outline(c);
#endif
	do {
		XMaskEvent(dpy, KeyReleaseMask, &ev);
		if (ev.xkey.keycode != keycode)
			continue;
		if (XCheckIfEvent(dpy, &ev, predicate_keyrepeatpress, (XPointer)&ev)) {
			/* This is a key press event with the same time as the previous
			 * key release event. */
			continue;
		}
		break; /* escape */
	} while (1);
#ifdef INFOBANNER
	remove_info_window();
#else
	draw_outline(c);
	XUngrabServer(dpy);
#endif
	XChangeKeyboardControl(dpy, KBAutoRepeatMode, &(XKeyboardControl){.auto_repeat_mode = keyboard.global_auto_repeat});
	XUngrabKeyboard(dpy, CurrentTime);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x188, %rsp            # imm = 0x188
movl %esi, %ebx
movq %rdi, %r14
leaq 0x674c(%rip), %rbp      # 0xd7e0
movq (%rbp), %rdi
movq 0x10(%r14), %rax
movq 0x8(%rax), %rsi
pushq $0x1
popq %rcx
xorl %edx, %edx
movl %ecx, %r8d
xorl %r9d, %r9d
callq 0x3760
testl %eax, %eax
jne 0x73c0
movq (%rbp), %rdi
leaq 0x80(%rsp), %rsi
callq 0x30c0
movq (%rbp), %rdi
xorps %xmm0, %xmm0
leaq 0x60(%rsp), %rdx
movaps %xmm0, (%rdx)
movaps %xmm0, 0x10(%rdx)
movl $0x80, %esi
callq 0x30a0
movq (%rbp), %rdi
movq 0x10(%r14), %rax
movq 0x8(%rax), %rsi
movq 0x20(%rax), %rax
movq %rax, 0x10(%rsp)
movq %rax, 0x8(%rsp)
andl $0x0, (%rsp)
pushq $-0x4
popq %rcx
pushq $0x2
popq %r8
movl %ecx, %edx
movl %r8d, %r9d
callq 0x3570
movq %rax, 0x670c(%rip)      # 0xd828
movq (%rbp), %rdi
movq %rax, %rsi
callq 0x3440
cmpq $0x0, 0x66f8(%rip)      # 0xd828
je 0x7330
movl 0x2c(%r14), %eax
subl 0x60(%r14), %eax
cltd
idivl 0x58(%r14)
movl %eax, %ecx
movl 0x30(%r14), %eax
subl 0x64(%r14), %eax
cltd
idivl 0x5c(%r14)
movl 0x24(%r14), %r9d
movl 0x28(%r14), %edx
movl %edx, (%rsp)
leaq 0x2784(%rip), %rdx      # 0x98e8
leaq 0xc0(%rsp), %r15
pushq $0x1b
popq %rsi
movq %r15, %rdi
movl %eax, %r8d
xorl %eax, %eax
callq 0x3240
leaq 0x6665(%rip), %r13      # 0xd7e8
movq (%r13), %r12
movq %r15, %rdi
callq 0x31e0
movq %r12, %rdi
movq %r15, %rsi
movl %eax, %edx
callq 0x3610
movl %eax, %r12d
addl $0x2, %r12d
movq (%r13), %rax
movswl 0x4a(%rax), %ecx
movswl 0x4c(%rax), %r15d
addl %ecx, %r15d
movq (%rbp), %rdi
movq (%r14), %rsi
leaq 0x28(%rsp), %r13
movq %r13, %rdx
callq 0x32e0
movq (%r13), %r13
testq %r13, %r13
je 0x7203
leaq 0x6611(%rip), %rax      # 0xd7e8
movq (%rax), %rax
movq %rax, 0x20(%rsp)
movq %r13, %rdi
callq 0x31e0
movq 0x20(%rsp), %rdi
movq %r13, %rsi
movl %eax, %edx
callq 0x3610
leal 0x2(%rax), %ecx
cmpl %r12d, %eax
cmovgl %ecx, %r12d
addl %r15d, %r15d
movl 0x34(%r14), %eax
movl 0x24(%r14), %edx
addl %eax, %edx
addl 0x2c(%r14), %edx
movl 0x28(%r14), %esi
subl %eax, %esi
movq (%rbp), %rdi
movq 0xe8(%rdi), %rax
movq 0x10(%r14), %rcx
movslq (%rcx), %rcx
shlq $0x7, %rcx
movl 0x18(%rax,%rcx), %r8d
movl 0x1c(%rax,%rcx), %eax
cmpl %r8d, %edx
cmovgel %r8d, %edx
subl %r12d, %edx
testl %edx, %edx
movl $0x0, %r9d
cmovlel %r9d, %edx
leal (%rsi,%r15), %r8d
movl %eax, %ecx
subl %r15d, %ecx
cmpl %eax, %r8d
cmovlel %esi, %ecx
testl %ecx, %ecx
cmovlel %r9d, %ecx
movq 0x65c0(%rip), %rsi      # 0xd828
movl %r12d, %r8d
movl %r15d, %r9d
callq 0x3250
movq (%rbp), %rdi
movq 0x65aa(%rip), %rsi      # 0xd828
callq 0x30b0
movq 0x28(%rsp), %r12
testq %r12, %r12
je 0x72ee
movq (%rbp), %rax
movq %rax, 0x20(%rsp)
movq 0x658b(%rip), %rax      # 0xd828
movq %rax, 0x38(%rsp)
movq 0x10(%r14), %rax
movq 0x18(%rax), %rax
movq %rax, 0x30(%rsp)
movl %r15d, %eax
cltd
pushq $0x2
popq %rcx
idivl %ecx
leal -0x1(%rax), %r13d
movq %r12, %rdi
callq 0x31e0
movl %eax, (%rsp)
pushq $0x1
popq %rcx
movq 0x20(%rsp), %rdi
movq 0x38(%rsp), %rsi
movq 0x30(%rsp), %rdx
movl %r13d, %r8d
movq %r12, %r9
callq 0x34e0
movq 0x28(%rsp), %rdi
callq 0x3210
movq (%rbp), %r12
movq 0x652f(%rip), %r13      # 0xd828
movq 0x10(%r14), %rax
movq 0x18(%rax), %r14
decl %r15d
leaq 0xc0(%rsp), %rdi
callq 0x31e0
movl %eax, (%rsp)
pushq $0x1
popq %rcx
movq %r12, %rdi
movq %r13, %rsi
movq %r14, %rdx
movl %r15d, %r8d
leaq 0xc0(%rsp), %r9
callq 0x34e0
pushq $0x2
popq %r14
leaq 0xc0(%rsp), %r15
leaq 0x8f(%rip), %r12        # 0x73d2
movq (%rbp), %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x3730
cmpl %ebx, 0x114(%rsp)
jne 0x7343
movq (%rbp), %rdi
movq %r15, %rsi
movq %r12, %rdx
movq %r15, %rcx
callq 0x3750
testl %eax, %eax
jne 0x7343
movq 0x64b0(%rip), %rsi      # 0xd828
testq %rsi, %rsi
je 0x7386
movq (%rbp), %rdi
callq 0x3300
andq $0x0, 0x649a(%rip)      # 0xd828
movq (%rbp), %rdi
xorps %xmm0, %xmm0
leaq 0x40(%rsp), %rdx
movaps %xmm0, (%rdx)
movups %xmm0, 0xc(%rdx)
movl 0x98(%rsp), %eax
movl %eax, 0x1c(%rdx)
movl $0x80, %esi
callq 0x30a0
movq (%rbp), %rdi
xorl %esi, %esi
callq 0x3690
addq $0x188, %rsp            # imm = 0x188
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq