// File: /workspace/github_c_makefile_star2_O0/kyx0r[P]xkeyboard/xkeyboard.c
// Function: resize_keys
void resize_keys(void)
{
	int i, w, h;

	create_pixmaps();
	for (i = 0; i < MAX_KEYS; i++) {
		XMoveResizeWindow(dpy, mykey[i],
			(ox + xk[i].x) * sn / sd, (oy + xk[i].y) * sn / sd,
			xk[i].w * sn / sd, xk[i].h * sn / sd);
		XSetWindowBackgroundPixmap(dpy, mykey[i], mykc[xk[i].p]);
		/* generate a new expose event for window */
		XClearArea(dpy, mykey[i], 0, 0, 0, 0, True);
	}
	for (i = 0; i < NUM_BORDERS; i++) {
		w = mb[i].w * sn / sd;
		h = mb[i].h * sn / sd;
		if (!w)
			w = 4;
		if (!h)
			h = 4;
		XMoveResizeWindow(dpy, myborder[i],
			(ox + mb[i].x) * sn / sd, (oy + mb[i].y) * sn / sd,
			w, h);
	}
	XSetWindowBackgroundPixmap(dpy, zoomwin, cpgm[NUM_CONSTPGM - 3]);
	XSetWindowBackgroundPixmap(dpy, mywindow, cpgm[NUM_CONSTPGM - 1]);
	XClearWindow(dpy, mywindow);
	XClearWindow(dpy, zoomwin);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
callq 0x2df0
movl $0x0, -0x4(%rbp)
cmpl $0x69, -0x4(%rbp)
jge 0x4047
movq 0x158e3(%rip), %rdi     # 0x197f8
movslq -0x4(%rbp), %rcx
leaq 0x15c40(%rip), %rax     # 0x19b60
movq (%rax,%rcx,8), %rsi
movl 0x15c2e(%rip), %eax     # 0x19b58
movslq -0x4(%rbp), %rdx
leaq 0x540b(%rip), %rcx      # 0x9340
imulq $0x18, %rdx, %rdx
addq %rdx, %rcx
addl 0x4(%rcx), %eax
imull 0x15aea(%rip), %eax     # 0x19a30
cltd
idivl 0x15ae7(%rip)           # 0x19a34
movl %eax, -0x10(%rbp)
movl 0x15c06(%rip), %eax     # 0x19b5c
movslq -0x4(%rbp), %rdx
leaq 0x53df(%rip), %rcx      # 0x9340
imulq $0x18, %rdx, %rdx
addq %rdx, %rcx
addl 0x8(%rcx), %eax
imull 0x15abe(%rip), %eax     # 0x19a30
cltd
idivl 0x15abb(%rip)           # 0x19a34
movl %eax, %ecx
movslq -0x4(%rbp), %rdx
leaq 0x53ba(%rip), %rax      # 0x9340
imulq $0x18, %rdx, %rdx
addq %rdx, %rax
movl 0xc(%rax), %eax
imull 0x15a99(%rip), %eax     # 0x19a30
cltd
idivl 0x15a96(%rip)           # 0x19a34
movl %eax, %r8d
movslq -0x4(%rbp), %rdx
leaq 0x5394(%rip), %rax      # 0x9340
imulq $0x18, %rdx, %rdx
addq %rdx, %rax
movl 0x10(%rax), %eax
imull 0x15a73(%rip), %eax     # 0x19a30
cltd
idivl 0x15a70(%rip)           # 0x19a34
movl -0x10(%rbp), %edx
movl %eax, %r9d
callq 0x2110
movq 0x15822(%rip), %rdi     # 0x197f8
movslq -0x4(%rbp), %rcx
leaq 0x15b7f(%rip), %rax     # 0x19b60
movq (%rax,%rcx,8), %rsi
movslq -0x4(%rbp), %rcx
leaq 0x5350(%rip), %rax      # 0x9340
imulq $0x18, %rcx, %rcx
addq %rcx, %rax
movslq 0x14(%rax), %rcx
leaq 0x15a3e(%rip), %rax     # 0x19a40
movq (%rax,%rcx,8), %rdx
callq 0x2330
movq 0x157e6(%rip), %rdi     # 0x197f8
movslq -0x4(%rbp), %rcx
leaq 0x15b43(%rip), %rax     # 0x19b60
movq (%rax,%rcx,8), %rsi
xorl %r9d, %r9d
movl %r9d, %edx
movl %r9d, %ecx
movl %r9d, %r8d
movl $0x1, (%rsp)
callq 0x22f0
movl -0x4(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x4(%rbp)
jmp 0x3f04
movl $0x0, -0x4(%rbp)
cmpl $0x13, -0x4(%rbp)
jge 0x4148
movslq -0x4(%rbp), %rcx
leaq 0x51ad(%rip), %rax      # 0x9210
shlq $0x4, %rcx
addq %rcx, %rax
movl 0x8(%rax), %eax
imull 0x159bc(%rip), %eax     # 0x19a30
cltd
idivl 0x159b9(%rip)           # 0x19a34
movl %eax, -0x8(%rbp)
movslq -0x4(%rbp), %rcx
leaq 0x5187(%rip), %rax      # 0x9210
shlq $0x4, %rcx
addq %rcx, %rax
movl 0xc(%rax), %eax
imull 0x15996(%rip), %eax     # 0x19a30
cltd
idivl 0x15993(%rip)           # 0x19a34
movl %eax, -0xc(%rbp)
cmpl $0x0, -0x8(%rbp)
jne 0x40b1
movl $0x4, -0x8(%rbp)
cmpl $0x0, -0xc(%rbp)
jne 0x40be
movl $0x4, -0xc(%rbp)
movq 0x15733(%rip), %rdi     # 0x197f8
movslq -0x4(%rbp), %rcx
leaq 0x15de0(%rip), %rax     # 0x19eb0
movq (%rax,%rcx,8), %rsi
movl 0x15a7e(%rip), %eax     # 0x19b58
movslq -0x4(%rbp), %rdx
leaq 0x512b(%rip), %rcx      # 0x9210
shlq $0x4, %rdx
addq %rdx, %rcx
addl (%rcx), %eax
imull 0x1593b(%rip), %eax     # 0x19a30
cltd
idivl 0x15938(%rip)           # 0x19a34
movl %eax, -0x14(%rbp)
movl 0x15a57(%rip), %eax     # 0x19b5c
movslq -0x4(%rbp), %rdx
leaq 0x5100(%rip), %rcx      # 0x9210
shlq $0x4, %rdx
addq %rdx, %rcx
addl 0x4(%rcx), %eax
imull 0x1590f(%rip), %eax     # 0x19a30
cltd
idivl 0x1590c(%rip)           # 0x19a34
movl -0x14(%rbp), %edx
movl %eax, %ecx
movl -0x8(%rbp), %r8d
movl -0xc(%rbp), %r9d
callq 0x2110
movl -0x4(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x4(%rbp)
jmp 0x404e
movq 0x156a9(%rip), %rdi     # 0x197f8
movq 0x159d2(%rip), %rsi     # 0x19b28
movq 0x159b3(%rip), %rdx     # 0x19b10
callq 0x2330
movq 0x1568f(%rip), %rdi     # 0x197f8
movq 0x15800(%rip), %rsi     # 0x19970
movq 0x159a9(%rip), %rdx     # 0x19b20
callq 0x2330
movq 0x15675(%rip), %rdi     # 0x197f8
movq 0x157e6(%rip), %rsi     # 0x19970
callq 0x2060
movq 0x15662(%rip), %rdi     # 0x197f8
movq 0x1598b(%rip), %rsi     # 0x19b28
callq 0x2060
addq $0x20, %rsp
popq %rbp
retq
nopl (%rax,%rax)