// File: /workspace/github_c_makefile_star2_O3/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 0x53da(%rip), %r13      # 0xc7e0
movq (%r13), %rdi
movq 0x10(%r14), %rax
movq 0x8(%rax), %rsi
xorl %edx, %edx
movl $0x1, %ecx
movl $0x1, %r8d
xorl %r9d, %r9d
callq 0x3760
testl %eax, %eax
jne 0x7744
movq (%r13), %rdi
leaq 0x80(%rsp), %rsi
callq 0x30c0
movq (%r13), %rdi
xorps %xmm0, %xmm0
leaq 0x60(%rsp), %rdx
movaps %xmm0, (%rdx)
movaps %xmm0, 0x10(%rdx)
movl $0x80, %esi
callq 0x30a0
movq (%r13), %rdi
movq 0x10(%r14), %rax
movq 0x8(%rax), %rsi
movq 0x20(%rax), %rax
movq %rax, 0x10(%rsp)
movq %rax, 0x8(%rsp)
movl $0x0, (%rsp)
movl $0xfffffffc, %edx       # imm = 0xFFFFFFFC
movl $0xfffffffc, %ecx       # imm = 0xFFFFFFFC
movl $0x2, %r8d
movl $0x2, %r9d
callq 0x3570
movq %rax, 0x5388(%rip)      # 0xc828
movq (%r13), %rdi
movq %rax, %rsi
callq 0x3440
cmpq $0x0, 0x5374(%rip)      # 0xc828
je 0x76b3
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 0x2400(%rip), %rdx      # 0x98e8
leaq 0xc0(%rsp), %rbp
movl $0x1b, %esi
movq %rbp, %rdi
movl %eax, %r8d
xorl %eax, %eax
callq 0x3240
leaq 0x52df(%rip), %r15      # 0xc7e8
movq (%r15), %r12
movq %rbp, %rdi
callq 0x31e0
movq %r12, %rdi
movq %rbp, %rsi
movl %eax, %edx
callq 0x3610
movl %eax, %ebp
addl $0x2, %ebp
movq (%r15), %rax
movswl 0x4a(%rax), %ecx
movswl 0x4c(%rax), %r15d
addl %ecx, %r15d
movq (%r13), %rdi
movq (%r14), %rsi
leaq 0x28(%rsp), %r12
movq %r12, %rdx
callq 0x32e0
movq (%r12), %r12
testq %r12, %r12
je 0x7583
leaq 0x528f(%rip), %rax      # 0xc7e8
movq (%rax), %rax
movq %rax, 0x20(%rsp)
movq %r12, %rdi
callq 0x31e0
movq 0x20(%rsp), %rdi
movq %r12, %rsi
movl %eax, %edx
callq 0x3610
leal 0x2(%rax), %ecx
cmpl %ebp, %eax
cmovgl %ecx, %ebp
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 (%r13), %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 %ebp, %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 0x5241(%rip), %rsi      # 0xc828
movl %ebp, %r8d
movl %r15d, %r9d
callq 0x3250
movq (%r13), %rdi
movq 0x522b(%rip), %rsi      # 0xc828
callq 0x30b0
movq 0x28(%rsp), %r12
testq %r12, %r12
je 0x766f
movq (%r13), %rax
movq %rax, 0x20(%rsp)
movq 0x520c(%rip), %rax      # 0xc828
movq %rax, 0x38(%rsp)
movq 0x10(%r14), %rax
movq 0x18(%rax), %rax
movq %rax, 0x30(%rsp)
movl %r15d, %ebp
shrl $0x1f, %ebp
addl %r15d, %ebp
sarl %ebp
decl %ebp
movq %r12, %rdi
callq 0x31e0
movl %eax, (%rsp)
movq 0x20(%rsp), %rdi
movq 0x38(%rsp), %rsi
movq 0x30(%rsp), %rdx
movl $0x1, %ecx
movl %ebp, %r8d
movq %r12, %r9
callq 0x34e0
movq 0x28(%rsp), %rdi
callq 0x3210
movq (%r13), %r12
movq 0x51ae(%rip), %rbp      # 0xc828
movq 0x10(%r14), %rax
movq 0x18(%rax), %r14
decl %r15d
leaq 0xc0(%rsp), %rdi
callq 0x31e0
movl %eax, (%rsp)
movq %r12, %rdi
movq %rbp, %rsi
movq %r14, %rdx
movl $0x1, %ecx
movl %r15d, %r8d
leaq 0xc0(%rsp), %r9
callq 0x34e0
leaq 0xc0(%rsp), %r14
leaq 0x94(%rip), %r15        # 0x7756
movq (%r13), %rdi
movl $0x2, %esi
movq %r14, %rdx
callq 0x3730
cmpl %ebx, 0x114(%rsp)
jne 0x76c2
movq (%r13), %rdi
movq %r14, %rsi
movq %r15, %rdx
movq %r14, %rcx
callq 0x3750
testl %eax, %eax
jne 0x76c2
movq 0x512f(%rip), %rsi      # 0xc828
testq %rsi, %rsi
je 0x7707
movq (%r13), %rdi
callq 0x3300
movq $0x0, 0x5116(%rip) # 0xc828
movq (%r13), %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 (%r13), %rdi
xorl %esi, %esi
callq 0x3690
addq $0x188, %rsp            # imm = 0x188
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq