LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O1/zenlinux[P]cwm/client.c
// Function: client_horizmaximize
void
client_horizmaximize(struct client_ctx *cc)
{
	struct screen_ctx	*sc = cc->sc;
	int			 x_org, xmax;
	XineramaScreenInfo	*xine;

	if (cc->flags & CLIENT_FREEZE)
		return;

	if (cc->flags & CLIENT_HMAXIMIZED) {
		cc->geom.x = cc->savegeom.x;
		cc->geom.w = cc->savegeom.w;
		cc->bwidth = Conf.bwidth;
		if (cc->flags & CLIENT_VMAXIMIZED)
			cc->geom.h -= cc->bwidth * 2;
		cc->flags &= ~CLIENT_HMAXIMIZED;
		goto resize;
	}

	cc->savegeom.x = cc->geom.x;
	cc->savegeom.w = cc->geom.w;

	/* if this will make us fully maximized then remove boundary */
	if ((cc->flags & CLIENT_MAXFLAGS) == CLIENT_VMAXIMIZED) {
		cc->geom.h += cc->bwidth * 2;
		cc->bwidth = 0;
	}

	xine = screen_find_xinerama(sc,
	    cc->geom.x + cc->geom.w / 2,
	    cc->geom.y + cc->geom.h / 2);
	if (xine) {
		x_org = xine->x_org;
		xmax = xine->width;
	} else {
		x_org = 0;
		xmax = sc->view.w;
	}

	cc->geom.x = x_org + sc->gap.left;
	cc->geom.w = xmax - (cc->bwidth * 2) - (sc->gap.left +
	    sc->gap.right);
	cc->flags |= CLIENT_HMAXIMIZED;

resize:
	client_resize(cc, 0);
}

// Assembly:
movl 0xa8(%rdi), %eax
testb $0x10, %al
jne 0x704a
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
testb $0x8, %al
jne 0x704b
movq 0x30(%rbx), %r14
movl 0x54(%rbx), %ecx
movl 0x5c(%rbx), %edx
movl %ecx, 0x64(%rbx)
movl %edx, 0x6c(%rbx)
testb $0x4, %al
je 0x7019
movl 0x50(%rbx), %eax
addl %eax, %eax
addl %eax, 0x60(%rbx)
movl $0x0, 0x50(%rbx)
movl %edx, %esi
shrl $0x1f, %esi
addl %edx, %esi
sarl %esi
addl %ecx, %esi
movl 0x60(%rbx), %eax
movl %eax, %edx
shrl $0x1f, %edx
addl %eax, %edx
sarl %edx
addl 0x58(%rbx), %edx
movq %r14, %rdi
callq 0x6065
testq %rax, %rax
je 0x7072
movswl 0x4(%rax), %edx
movswl 0x8(%rax), %ecx
jmp 0x707b
retq
movl 0x64(%rbx), %ecx
movl 0x6c(%rbx), %edx
movl %ecx, 0x54(%rbx)
movl %edx, 0x5c(%rbx)
leaq 0xd712(%rip), %rcx      # 0x14770
movl 0x54(%rcx), %ecx
movl %ecx, 0x50(%rbx)
testb $0x4, %al
je 0x706d
addl %ecx, %ecx
subl %ecx, 0x60(%rbx)
andl $-0x19, %eax
jmp 0x70a2
movl 0xac(%r14), %ecx
xorl %edx, %edx
movl 0xcc(%r14), %esi
addl %esi, %edx
movl %edx, 0x54(%rbx)
addl 0xd0(%r14), %esi
movl 0x50(%rbx), %edx
movl 0xa8(%rbx), %eax
leal (%rsi,%rdx,2), %edx
subl %edx, %ecx
movl %ecx, 0x5c(%rbx)
orl $0x8, %eax
movl %eax, 0xa8(%rbx)
movq %rbx, %rdi
xorl %esi, %esi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x6eb4
// File: /workspace/github_c_makefile_star2_O1/zenlinux[P]cwm/client.c
// Function: client_ptrwarp
void
client_ptrwarp(struct client_ctx *cc)
{
	int	 x = cc->ptr.x, y = cc->ptr.y;

	if (x == -1 || y == -1) {
		x = cc->geom.w / 2;
		y = cc->geom.h / 2;
	}

	(cc->state == IconicState) ? client_unhide(cc) : client_raise(cc);
	xu_ptr_setpos(cc->win, x, y);
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
movl 0x9c(%rdi), %ebp
movl 0xa0(%rdi), %r14d
cmpl $-0x1, %ebp
sete %al
cmpl $-0x1, %r14d
sete %cl
orb %al, %cl
cmpb $0x1, %cl
jne 0x7129
movl 0x5c(%rbx), %eax
movl 0x60(%rbx), %ecx
movl %eax, %ebp
shrl $0x1f, %ebp
addl %eax, %ebp
sarl %ebp
movl %ecx, %r14d
shrl $0x1f, %r14d
addl %ecx, %r14d
sarl %r14d
cmpl $0x3, 0xac(%rbx)
jne 0x713c
movq %rbx, %rdi
callq 0x6abc
jmp 0x714f
leaq 0xf715(%rip), %rax      # 0x16858
movq (%rax), %rdi
movq 0x38(%rbx), %rsi
callq 0x51b0
movq 0x38(%rbx), %rdi
movl %ebp, %esi
movl %r14d, %edx
popq %rbx
popq %r14
popq %rbp
jmp 0x8a27
// File: /workspace/github_c_makefile_star2_O1/zenlinux[P]cwm/client.c
// Function: client_ptrsave
void
client_ptrsave(struct client_ctx *cc)
{
	int	 x, y;

	xu_ptr_getpos(cc->win, &x, &y);
	if (client_inbound(cc, x, y)) {
		cc->ptr.x = x;
		cc->ptr.y = y;
	} else {
		cc->ptr.x = -1;
		cc->ptr.y = -1;
	}
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x38(%rdi), %rdi
leaq 0x4(%rsp), %r14
movq %rsp, %rdx
movq %r14, %rsi
callq 0x89e4
movl (%r14), %eax
testl %eax, %eax
js 0x719c
cmpl %eax, 0x5c(%rbx)
jle 0x719c
movl (%rsp), %ecx
cmpl %ecx, 0x60(%rbx)
setg %dl
testl %ecx, %ecx
setns %sil
testb %sil, %dl
jne 0x71a6
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
movl %eax, 0x9c(%rbx)
movl %ecx, 0xa0(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/zenlinux[P]cwm/client.c
// Function: client_send_delete
void
client_send_delete(struct client_ctx *cc)
{
	if (cc->xproto & CLIENT_PROTO_DELETE)
		xu_sendmsg(cc->win,
		    cwmh[WM_PROTOCOLS].atom, cwmh[WM_DELETE_WINDOW].atom);
	else
		XKillClient(X_Dpy, cc->win);
}

// Assembly:
testb $0x1, 0xa4(%rdi)
jne 0x71d9
leaq 0xf68e(%rip), %rax      # 0x16858
movq (%rax), %rax
movq 0x38(%rdi), %rsi
movq %rax, %rdi
jmp 0x58a0
movq 0x38(%rdi), %rdi
leaq 0xd2bc(%rip), %rax      # 0x144a0
movq 0x18(%rax), %rdx
movq 0x38(%rax), %rsi
jmp 0x8bf3
// File: /workspace/github_c_makefile_star2_O1/zenlinux[P]cwm/client.c
// Function: client_cycle
void
client_cycle(struct screen_ctx *sc, int flags)
{
	struct client_ctx	*oldcc, *newcc;
	int			 again = 1;

	oldcc = client_current();

	/* If no windows then you cant cycle */
	if (TAILQ_EMPTY(&sc->mruq))
		return;

	if (oldcc == NULL)
		oldcc = (flags & CWM_RCYCLE ? 
		    TAILQ_LAST(&sc->mruq, cycle_entry_q) :
		    TAILQ_FIRST(&sc->mruq));

	newcc = oldcc;
	while (again) {
		again = 0;

		newcc = (flags & CWM_RCYCLE ? client_mruprev(newcc) :
		    client_mrunext(newcc));

		/* Only cycle visible and non-ignored windows. */
		if ((newcc->flags & (CLIENT_HIDDEN|CLIENT_IGNORE))
			|| ((flags & CWM_INGROUP) && (newcc->group != oldcc->group)))
			again = 1;

		/* Is oldcc the only non-hidden window? */
		if (newcc == oldcc) {
			if (again)
				return;	/* No windows visible. */

			break;
		}
	}

	/* reset when cycling mod is released. XXX I hate this hack */
	sc->cycling = 1;
	client_ptrsave(oldcc);
	client_ptrwarp(newcc);
}

// Assembly:
pushq %rbx
movq 0xd8(%rdi), %rcx
testq %rcx, %rcx
je 0x72ab
movq 0xf687(%rip), %rax      # 0x16890
testq %rax, %rax
jne 0x7225
movq %rcx, %rax
testb $0x2, %sil
je 0x7225
movq 0xe0(%rdi), %rax
movq 0x8(%rax), %rax
movq (%rax), %rax
movl $0x1, %edx
movl $0xd8, %ecx
movq %rax, %rbx
movq %rbx, %r8
testl %edx, %edx
je 0x72ad
testb $0x2, %sil
jne 0x7251
movq 0x20(%r8), %rbx
testq %rbx, %rbx
jne 0x7273
movq 0x30(%r8), %rdx
addq %rcx, %rdx
jmp 0x7270
movq 0x28(%r8), %rdx
movq 0x8(%rdx), %rdx
movq (%rdx), %rbx
testq %rbx, %rbx
jne 0x7273
movq 0x30(%r8), %rdx
movq 0xe0(%rdx), %rdx
movq 0x8(%rdx), %rdx
movq (%rdx), %rbx
testb $0x3, 0xa8(%rbx)
je 0x7286
movl $0x1, %edx
xorl %r8d, %r8d
jmp 0x72a1
xorl %edx, %edx
movb $0x1, %r8b
testb $0x4, %sil
je 0x72a1
movq 0xf0(%rbx), %r9
cmpq 0xf0(%rax), %r9
jne 0x727c
cmpq %rax, %rbx
jne 0x7232
testb %r8b, %r8b
jne 0x72b0
popq %rbx
retq
movq %r8, %rbx
movl $0x1, 0xa0(%rdi)
movq %rax, %rdi
callq 0x7161
movq %rbx, %rdi
popq %rbx
jmp 0x70e5
// File: /workspace/github_c_makefile_star2_O1/zenlinux[P]cwm/client.c
// Function: client_cycle_leave
void
client_cycle_leave(struct screen_ctx *sc, struct client_ctx *cc) 
{
	sc->cycling = 0;

	client_mtf(NULL);
	if (cc) {
		group_sticky_toggle_exit(cc);
		XUngrabKeyboard(X_Dpy, CurrentTime);
	}
}

// Assembly:
pushq %rbx
movq %rsi, %rbx
movl $0x0, 0xa0(%rdi)
xorl %edi, %edi
callq 0x6d3b
testq %rbx, %rbx
je 0x72ff
movq %rbx, %rdi
callq 0xa81a
leaq 0xf564(%rip), %rax      # 0x16858
movq (%rax), %rdi
xorl %esi, %esi
popq %rbx
jmp 0x54e0
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/zenlinux[P]cwm/client.c
// Function: client_applysizehints
void
client_applysizehints(struct client_ctx *cc)
{
	Bool		 baseismin;

	baseismin = (cc->hint.basew == cc->hint.minw) &&
	    (cc->hint.baseh == cc->hint.minh);

	/* temporarily remove base dimensions, ICCCM 4.1.2.3 */
	if (!baseismin) {
		cc->geom.w -= cc->hint.basew;
		cc->geom.h -= cc->hint.baseh;
	}

	/* adjust for aspect limits */
	if (cc->hint.mina > 0 && cc->hint.maxa > 0) {
		if (cc->hint.maxa <
		    (float)cc->geom.w / cc->geom.h)
			cc->geom.w = cc->geom.h * cc->hint.maxa;
		else if (cc->hint.mina <
		    (float)cc->geom.h / cc->geom.w)
			cc->geom.h = cc->geom.w * cc->hint.mina;
	}

	/* remove base dimensions for increment */
	if (baseismin) {
		cc->geom.w -= cc->hint.basew;
		cc->geom.h -= cc->hint.baseh;
	}

	/* adjust for increment value */
	cc->geom.w -= cc->geom.w % cc->hint.incw;
	cc->geom.h -= cc->geom.h % cc->hint.inch;

	/* restore base dimensions */
	cc->geom.w += cc->hint.basew;
	cc->geom.h += cc->hint.baseh;

	/* adjust for min width/height */
	cc->geom.w = MAX(cc->geom.w, cc->hint.minw);
	cc->geom.h = MAX(cc->geom.h, cc->hint.minh);

	/* adjust for max width/height */
	if (cc->hint.maxw)
		cc->geom.w = MIN(cc->geom.w, cc->hint.maxw);
	if (cc->hint.maxh)
		cc->geom.h = MIN(cc->geom.h, cc->hint.maxh);
}

// Assembly:
movl 0x74(%rdi), %r9d
movl 0x7c(%rdi), %r8d
cmpl %r8d, %r9d
jne 0x731c
movl 0x78(%rdi), %eax
cmpl 0x80(%rdi), %eax
sete %al
jmp 0x731e
xorl %eax, %eax
testb %al, %al
jne 0x732c
subl %r9d, 0x5c(%rdi)
movl 0x78(%rdi), %ecx
subl %ecx, 0x60(%rdi)
movss 0x94(%rdi), %xmm0
xorps %xmm2, %xmm2
ucomiss %xmm2, %xmm0
jbe 0x7386
movss 0x98(%rdi), %xmm1
ucomiss %xmm2, %xmm1
jbe 0x7386
xorps %xmm2, %xmm2
cvtsi2ssl 0x5c(%rdi), %xmm2
cvtsi2ssl 0x60(%rdi), %xmm3
movaps %xmm2, %xmm4
divss %xmm3, %xmm4
ucomiss %xmm1, %xmm4
jbe 0x736c
leaq 0x5c(%rdi), %rcx
mulss %xmm3, %xmm1
jmp 0x7380
divss %xmm2, %xmm3
ucomiss %xmm0, %xmm3
jbe 0x7386
leaq 0x60(%rdi), %rcx
mulss %xmm2, %xmm0
movaps %xmm0, %xmm1
cvttss2si %xmm1, %edx
movl %edx, (%rcx)
testb %al, %al
je 0x7394
subl %r9d, 0x5c(%rdi)
movl 0x78(%rdi), %eax
subl %eax, 0x60(%rdi)
movl 0x5c(%rdi), %esi
movl 0x60(%rdi), %ecx
movl %esi, %eax
cltd
idivl 0x8c(%rdi)
subl %edx, %esi
movl %ecx, %eax
cltd
idivl 0x90(%rdi)
subl %edx, %ecx
addl %r9d, %esi
addl 0x78(%rdi), %ecx
cmpl %r8d, %esi
cmovlel %r8d, %esi
movl %esi, 0x5c(%rdi)
movl 0x80(%rdi), %eax
cmpl %eax, %ecx
cmovlel %eax, %ecx
movl %ecx, 0x60(%rdi)
movl 0x84(%rdi), %eax
testl %eax, %eax
je 0x73e0
cmpl %eax, %esi
cmovll %esi, %eax
movl %eax, 0x5c(%rdi)
movl 0x88(%rdi), %eax
testl %eax, %eax
je 0x73f2
cmpl %eax, %ecx
cmovll %ecx, %eax
movl %eax, 0x60(%rdi)
retq
// File: /workspace/github_c_makefile_star2_O1/zenlinux[P]cwm/client.c
// Function: client_snapcalc
int
client_snapcalc(int n, int dn, int nmax, int bwidth, int snapdist)
{
	int	 n0, n1, s0, s1;

	s0 = s1 = 0;
	n0 = n;
	n1 = n + dn + (bwidth * 2);

	if (abs(n0) <= snapdist)
		s0 = -n0;

	if (nmax - snapdist <= n1 && n1 <= nmax + snapdist)
		s1 = nmax - n1;

	/* possible to snap in both directions */
	if (s0 != 0 && s1 != 0)
		if (abs(s0) < abs(s1))
			return (s0);
		else
			return (s1);
	else if (s0 != 0)
		return (s0);
	else if (s1 != 0)
		return (s1);
	else
		return (0);
}

// Assembly:
movl %edx, %eax
addl %edi, %esi
leal (%rsi,%rcx,2), %edx
movl %edi, %ecx
negl %ecx
cmovnsl %ecx, %edi
xorl %esi, %esi
cmpl %r8d, %edi
cmovgl %esi, %ecx
movl %eax, %edi
subl %r8d, %edi
addl %eax, %r8d
subl %edx, %eax
cmpl %r8d, %edx
cmovgl %esi, %eax
cmpl %edx, %edi
cmovgl %esi, %eax
testl %ecx, %ecx
setne %dl
je 0x743c
testl %eax, %eax
je 0x743c
movl %ecx, %edx
negl %edx
cmovsl %ecx, %edx
movl %eax, %esi
negl %esi
cmovsl %eax, %esi
cmpl %esi, %edx
setb %dl
testb %dl, %dl
cmovnel %ecx, %eax
retq
nop
// File: /workspace/github_c_makefile_star2_O1/zenlinux[P]cwm/menu.c
// Function: menu_init
void
menu_init(struct screen_ctx *sc)
{
	XGCValues	 gv;

	sc->menuwin = XCreateSimpleWindow(X_Dpy, sc->rootwin, 0, 0, 1, 1,
	    Conf.bwidth,
	    sc->color[CWM_COLOR_FG_MENU].pixel,
	    sc->color[CWM_COLOR_BG_MENU].pixel);

	gv.foreground =
	    sc->color[CWM_COLOR_FG_MENU].pixel^sc->color[CWM_COLOR_BG_MENU].pixel;
	gv.background = sc->color[CWM_COLOR_BG_MENU].pixel;
	gv.function = GXxor;

	sc->gc = XCreateGC(X_Dpy, sc->menuwin,
	    GCForeground|GCBackground|GCFunction, &gv);
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x88, %rsp
movq %rdi, %rbx
leaq 0xf400(%rip), %r14      # 0x16858
movq (%r14), %rdi
leaq 0xd30e(%rip), %rax      # 0x14770
movl 0x54(%rax), %eax
movq 0x18(%rbx), %rsi
subq $0x8, %rsp
xorl %edx, %edx
xorl %ecx, %ecx
movl $0x1, %r8d
movl $0x1, %r9d
pushq 0x80(%rbx)
pushq 0x70(%rbx)
pushq %rax
callq 0x5280
addq $0x20, %rsp
movq %rax, 0x20(%rbx)
movq 0x80(%rbx), %rdx
movq 0x70(%rbx), %rsi
xorq %rdx, %rsi
leaq 0x8(%rsp), %rcx
movq %rsi, 0x10(%rcx)
movq %rdx, 0x18(%rcx)
movl $0x6, (%rcx)
movq (%r14), %rdi
movl $0xd, %edx
movq %rax, %rsi
callq 0x5550
movq %rax, 0x98(%rbx)
addq $0x88, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/zenlinux[P]cwm/menu.c
// Function: menu_calc_entry
static int
menu_calc_entry(struct screen_ctx *sc, struct menu_ctx *mc, int x, int y)
{
	int	 entry;

	entry = y / font_height(sc);

	/* in bounds? */
	if (x <= 0 || x > mc->width || y <= 0 ||
	    y > font_height(sc) * mc->num || entry < 0 || entry >= mc->num)
		entry = -1;

	if (mc->hasprompt && entry == 0)
		entry = -1;

	return (entry);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %ecx, %r14d
movl %edx, %r12d
movq %rsi, %rbx
movq %rdi, %r15
callq 0xc129
movl %eax, %ecx
movl %r14d, %eax
xorl %edx, %edx
divl %ecx
testl %r12d, %r12d
jle 0x8312
testl %r14d, %r14d
jle 0x8312
cmpl %r12d, 0xec(%rbx)
jl 0x8312
movl %eax, %ebp
movq %r15, %rdi
callq 0xc129
movl 0xf0(%rbx), %ecx
cmpl %ecx, %ebp
jge 0x8312
imull %eax, %ecx
cmpl %r14d, %ecx
jae 0x8317
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
xorl %eax, %eax
cmpl 0xcc(%rbx), %eax
sbbl %eax, %eax
orl %ebp, %eax
testl %ebp, %ebp
cmovnel %ebp, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O1/zenlinux[P]cwm/search.c
// Function: strsubmatch
static int
strsubmatch(char *sub, char *str, int zeroidx)
{
	size_t	 len, sublen;
	u_int	 n, flen;

	if (sub == NULL || str == NULL)
		return (0);

	len = strlen(str);
	sublen = strlen(sub);

	if (sublen > len)
		return (0);

	if (!zeroidx)
		flen = len - sublen;
	else
		flen = 0;

	for (n = 0; n <= flen; n++)
		if (strncasecmp(sub, str + n, sublen) == 0)
			return (1);

	return (0);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
testq %rdi, %rdi
sete %al
testq %rsi, %rsi
sete %cl
xorl %r13d, %r13d
orb %al, %cl
jne 0x8555
movl %edx, %ebp
movq %rsi, %rbx
movq %rdi, %r14
movq %rsi, %rdi
callq 0x5330
movq %rax, %r15
movq %r14, %rdi
callq 0x5330
cmpq %rax, %r15
jb 0x8555
movq %rax, %r12
subl %r12d, %r15d
xorl %r13d, %r13d
testl %ebp, %ebp
cmovnel %r13d, %r15d
movl %r13d, %esi
addq %rbx, %rsi
movq %r14, %rdi
movq %r12, %rdx
callq 0x55e0
testl %eax, %eax
je 0x854f
incl %r13d
cmpl %r15d, %r13d
jbe 0x852d
xorl %r13d, %r13d
jmp 0x8555
movl $0x1, %r13d
movl %r13d, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/zenlinux[P]cwm/search.c
// Function: search_print_client
void
search_print_client(struct menu *mi, int list)
{
	struct client_ctx	*cc;
	char			 flag = ' ';

	cc = mi->ctx;

	if (cc == client_current())
		flag = '!';
	else if (cc->flags & CLIENT_HIDDEN)
		flag = '&';

	if (list)
		cc->matchname = cc->name;

	(void)snprintf(mi->print, sizeof(mi->print), "%c%s", flag,
	    cc->matchname);

	if (!list && cc->matchname != cc->name &&
	    strlen(mi->print) < sizeof(mi->print) - 1) {
		const char	*marker = "";
		char		 buf[MENU_MAXENTRY + 1];
		int		 diff;

		diff = sizeof(mi->print) - 1 - strlen(mi->print);

		/* One for the ':' */
		diff -= 1;

		if (strlen(cc->name) > diff) {
			marker = "..";
			diff -= 2;
		} else {
			diff = strlen(cc->name);
		}

		(void)strlcpy(buf, mi->print, sizeof(buf));
		(void)snprintf(mi->print, sizeof(mi->print),
		    "%s:%.*s%s", buf, diff, cc->name, marker);
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x50, %rsp
movl %esi, %ebp
movq %rdi, %rbx
movq 0x88(%rdi), %r12
callq 0x6da4
cmpq %rax, %r12
je 0x85a1
testb $0x1, 0xa8(%r12)
movl $0x20, %eax
movl $0x26, %ecx
cmovel %eax, %ecx
jmp 0x85a6
movl $0x21, %ecx
testl %ebp, %ebp
je 0x85ba
movq 0xd8(%r12), %rax
movq %rax, 0xe8(%r12)
addq $0x53, %rbx
movq 0xe8(%r12), %r8
leaq 0x5ba9(%rip), %rdx      # 0xe176
movl $0x33, %esi
movq %rbx, %rdi
xorl %eax, %eax
callq 0x50b0
testl %ebp, %ebp
je 0x85ed
addq $0x50, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq 0xd8(%r12), %r15
cmpq %r15, 0xe8(%r12)
je 0x85e0
movq %rbx, %rdi
callq 0x5330
cmpq $0x31, %rax
ja 0x85e0
movq %rax, %r14
movq %r15, %rdi
callq 0x5330
movl $0x31, %ecx
subl %r14d, %ecx
movslq %ecx, %rcx
movl $0x2f, %ebp
subl %r14d, %ebp
cmpq %rcx, %rax
leaq 0x5b46(%rip), %rcx      # 0xe17b
leaq 0x5b53(%rip), %r15      # 0xe18f
cmovaq %rcx, %r15
cmovbel %eax, %ebp
leaq 0x10(%rsp), %r14
movl $0x33, %edx
movq %r14, %rdi
movq %rbx, %rsi
callq 0xd500
movq 0xd8(%r12), %r9
movq %r15, (%rsp)
leaq 0x5b13(%rip), %rdx      # 0xe17e
movl $0x33, %esi
movq %rbx, %rdi
movq %r14, %rcx
movl %ebp, %r8d
xorl %eax, %eax
callq 0x50b0
jmp 0x85e0
// File: /workspace/github_c_makefile_star2_O1/zenlinux[P]cwm/search.c
// Function: search_match_text
void
search_match_text(struct menu_q *menuq, struct menu_q *resultq, char *search)
{
	struct menu	*mi;

	TAILQ_INIT(resultq);

	TAILQ_FOREACH(mi, menuq, entry)
		if (strsubmatch(search, mi->text, 0))
			TAILQ_INSERT_TAIL(resultq, mi, resultentry);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq $0x0, (%rsi)
movq %rsi, 0x8(%rsi)
movq (%rdi), %r15
testq %r15, %r15
je 0x86d8
movq %rdx, %rbx
movq %rsi, %r14
leaq 0x20(%r15), %rsi
movq %rbx, %rdi
xorl %edx, %edx
callq 0x84e0
testl %eax, %eax
je 0x86d0
leaq 0x10(%r15), %rax
movq $0x0, 0x10(%r15)
movq 0x8(%r14), %rcx
movq %rcx, 0x18(%r15)
movq %r15, (%rcx)
movq %rax, 0x8(%r14)
movq (%r15), %r15
testq %r15, %r15
jne 0x86a3
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/zenlinux[P]cwm/search.c
// Function: search_match_exec
void
search_match_exec(struct menu_q *menuq, struct menu_q *resultq, char *search)
{
	struct menu	*mi, *mj;

	TAILQ_INIT(resultq);

	TAILQ_FOREACH(mi, menuq, entry) {
		if (strsubmatch(search, mi->text, 1) == 0 &&
		    fnmatch(search, mi->text, 0) == FNM_NOMATCH)
				continue;
		for (mj = TAILQ_FIRST(resultq); mj != NULL;
		     mj = TAILQ_NEXT(mj, resultentry)) {
			if (strcasecmp(mi->text, mj->text) < 0) {
				TAILQ_INSERT_BEFORE(mj, mi, resultentry);
				break;
			}
		}
		if (mj == NULL)
			TAILQ_INSERT_TAIL(resultq, mi, resultentry);
	}
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq $0x0, (%rsi)
movq %rsi, 0x8(%rsi)
movq (%rdi), %r12
testq %r12, %r12
je 0x8798
movq %rdx, %rbx
movq %rsi, %r14
leaq 0x20(%r12), %r15
movq %rbx, %rdi
movq %r15, %rsi
movl $0x1, %edx
callq 0x84e0
testl %eax, %eax
jne 0x872f
movq %rbx, %rdi
movq %r15, %rsi
xorl %edx, %edx
callq 0x5310
cmpl $0x1, %eax
je 0x878b
movq (%r14), %r13
testq %r13, %r13
je 0x874d
leaq 0x20(%r13), %rsi
movq %r15, %rdi
callq 0x51a0
testl %eax, %eax
js 0x876d
movq 0x10(%r13), %r13
jmp 0x8732
leaq 0x10(%r12), %rax
movq $0x0, 0x10(%r12)
movq 0x8(%r14), %rcx
movq %rcx, 0x18(%r12)
movq %r12, (%rcx)
movq %rax, 0x8(%r14)
jmp 0x878b
movq 0x18(%r13), %rax
leaq 0x10(%r12), %rcx
movq %rax, 0x18(%r12)
movq %r13, 0x10(%r12)
movq 0x18(%r13), %rax
movq %r12, (%rax)
movq %rcx, 0x18(%r13)
movq (%r12), %r12
testq %r12, %r12
jne 0x8704
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
nop
// File: /workspace/github_c_makefile_star2_O1/zenlinux[P]cwm/util.c
// Function: u_spawn
void
u_spawn(char *argstr)
{
	switch (fork()) {
	case 0:
		u_exec(argstr);
		err(1, "%s", argstr);
		break;
	case -1:
		warn("fork");
	default:
		break;
	}
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
callq 0x57b0
cmpl $-0x1, %eax
je 0x87b8
testl %eax, %eax
je 0x87c7
popq %rbx
retq
leaq 0x59c9(%rip), %rdi      # 0xe188
xorl %eax, %eax
popq %rbx
jmp 0x5880
movq %rbx, %rdi
callq 0x87e5
leaq 0x6159(%rip), %rsi      # 0xe92f
movl $0x1, %edi
movq %rbx, %rdx
xorl %eax, %eax
callq 0x54c0
// File: /workspace/github_c_makefile_star2_O1/zenlinux[P]cwm/util.c
// Function: u_exec
void
u_exec(char *argstr)
{
	char	*args[MAXARGLEN], **ap = args;
	char	**end = &args[MAXARGLEN - 1], *tmp;

	while (ap < end && (*ap = strsep(&argstr, " \t")) != NULL) {
		if (**ap == '\0')
			continue;
		ap++;
		if (argstr != NULL) {
			/* deal with quoted strings */
			switch(argstr[0]) {
			case '"':
			case '\'':
				if ((tmp = strchr(argstr + 1, argstr[0]))
				    != NULL) {
					*(tmp++) = '\0';
					*(ap++) = ++argstr;
					argstr = tmp;
				}
				break;
			default:
				break;
			}
		}
	}

	*ap = NULL;
	(void)setsid();
	(void)execvp(args[0], args);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xb0, %rsp
leaq 0x8(%rsp), %rbx
movq %rdi, (%rbx)
leaq 0x10(%rsp), %r13
xorl %r15d, %r15d
leaq 0x5981(%rip), %r14      # 0xe18d
movq %rbx, %rdi
movq %r14, %rsi
callq 0x5790
movq %rax, (%r13)
testq %rax, %rax
je 0x8886
cmpb $0x0, (%rax)
je 0x880c
leaq 0x8(%r15), %r12
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x8872
movzbl (%rdi), %eax
cmpl $0x27, %eax
je 0x8840
cmpl $0x22, %eax
jne 0x8872
movsbl %al, %esi
incq %rdi
callq 0x5530
testq %rax, %rax
je 0x8872
movq %rax, %rcx
incq %rcx
movb $0x0, (%rax)
movq 0x8(%rsp), %rax
incq %rax
movq %rax, 0x18(%rsp,%r15)
addq $0x10, %r15
movq %rcx, 0x8(%rsp)
movq %r15, %r12
leaq (%rsp,%r12), %r13
addq $0x10, %r13
movq %r12, %r15
cmpq $0x98, %r12
jl 0x880c
movq $0x0, (%r13)
callq 0x50c0
leaq 0x10(%rsp), %rsi
movq (%rsi), %rdi
callq 0x5170
addq $0xb0, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O1/zenlinux[P]cwm/xutil.c
// Function: xu_key_grab
void
xu_key_grab(Window win, int mask, int keysym)
{
	KeyCode	 code;
	int	 i;

	code = XKeysymToKeycode(X_Dpy, keysym);
	if ((XkbKeycodeToKeysym(X_Dpy, code, 0, 0) != keysym) &&
	    (XkbKeycodeToKeysym(X_Dpy, code, 0, 1) == keysym))
		mask |= ShiftMask;

	for (i = 0; i < nitems(ign_mods); i++)
		XGrabKey(X_Dpy, code, (mask | ign_mods[i]), win,
		    True, GrabModeAsync, GrabModeAsync);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %esi, %ebx
movq %rdi, %r14
leaq 0xdde9(%rip), %r12      # 0x16858
movq (%r12), %rdi
movslq %edx, %r15
movq %r15, %rsi
callq 0x56f0
movq (%r12), %rdi
movzbl %al, %ebp
movl %ebp, %esi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x5270
cmpq %r15, %rax
je 0x8ab1
movq (%r12), %rdi
movl %ebp, %esi
xorl %edx, %edx
movl $0x1, %ecx
callq 0x5270
xorl %ecx, %ecx
cmpq %r15, %rax
sete %cl
orl %ecx, %ebx
xorl %r15d, %r15d
leaq 0x56e5(%rip), %r13      # 0xe1a0
movq (%r12), %rdi
movl (%r15,%r13), %edx
orl %ebx, %edx
movl $0x1, (%rsp)
movl %ebp, %esi
movq %r14, %rcx
movl $0x1, %r8d
movl $0x1, %r9d
callq 0x5770
addq $0x4, %r15
cmpq $0x10, %r15
jne 0x8abb
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/zenlinux[P]cwm/xutil.c
// Function: xu_key_ungrab
void
xu_key_ungrab(Window win, int mask, int keysym)
{
	KeyCode	 code;
	int	 i;

	code = XKeysymToKeycode(X_Dpy, keysym);
	if ((XkbKeycodeToKeysym(X_Dpy, code, 0, 0) != keysym) &&
	    (XkbKeycodeToKeysym(X_Dpy, code, 0, 1) == keysym))
		mask |= ShiftMask;

	for (i = 0; i < nitems(ign_mods); i++)
		XUngrabKey(X_Dpy, code, (mask | ign_mods[i]), win);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %esi, %ebx
movq %rdi, %r14
leaq 0xdd46(%rip), %r12      # 0x16858
movq (%r12), %rdi
movslq %edx, %r15
movq %r15, %rsi
callq 0x56f0
movq (%r12), %rdi
movzbl %al, %ebp
movl %ebp, %esi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x5270
cmpq %r15, %rax
je 0x8b54
movq (%r12), %rdi
movl %ebp, %esi
xorl %edx, %edx
movl $0x1, %ecx
callq 0x5270
xorl %ecx, %ecx
cmpq %r15, %rax
sete %cl
orl %ecx, %ebx
xorl %r15d, %r15d
leaq 0x5642(%rip), %r13      # 0xe1a0
movq (%r12), %rdi
movl (%r15,%r13), %edx
orl %ebx, %edx
movl %ebp, %esi
movq %r14, %rcx
callq 0x5260
addq $0x4, %r15
cmpq $0x10, %r15
jne 0x8b5e
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/zenlinux[P]cwm/xutil.c
// Function: xu_configure
void
xu_configure(struct client_ctx *cc)
{
	XConfigureEvent	 ce;

	ce.type = ConfigureNotify;
	ce.event = cc->win;
	ce.window = cc->win;
	ce.x = cc->geom.x;
	ce.y = cc->geom.y;
	ce.width = cc->geom.w;
	ce.height = cc->geom.h;
	ce.border_width = cc->bwidth;
	ce.above = None;
	ce.override_redirect = 0;

	XSendEvent(X_Dpy, cc->win, False, StructureNotifyMask, (XEvent *)&ce);
}

// Assembly:
subq $0x58, %rsp
movq %rsp, %r8
movl $0x16, (%r8)
movq 0x38(%rdi), %rsi
movq %rsi, 0x20(%r8)
movq %rsi, 0x28(%r8)
movl 0x54(%rdi), %eax
movl %eax, 0x30(%r8)
movl 0x58(%rdi), %eax
movl %eax, 0x34(%r8)
movl 0x5c(%rdi), %eax
movl %eax, 0x38(%r8)
movl 0x60(%rdi), %eax
movl %eax, 0x3c(%r8)
movl 0x50(%rdi), %eax
movl %eax, 0x40(%r8)
movq $0x0, 0x48(%r8)
movl $0x0, 0x50(%r8)
leaq 0xdc79(%rip), %rax      # 0x16858
movq (%rax), %rdi
movl $0x20000, %ecx          # imm = 0x20000
xorl %edx, %edx
callq 0x55f0
addq $0x58, %rsp
retq
// File: /workspace/github_c_makefile_star2_O1/zenlinux[P]cwm/xutil.c
// Function: xu_sendmsg
void
xu_sendmsg(Window win, Atom atm, long val)
{
	XEvent	 e;

	(void)memset(&e, 0, sizeof(e));
	e.xclient.type = ClientMessage;
	e.xclient.window = win;
	e.xclient.message_type = atm;
	e.xclient.format = 32;
	e.xclient.data.l[0] = val;
	e.xclient.data.l[1] = CurrentTime;

	XSendEvent(X_Dpy, win, False, 0, &e);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0xc8, %rsp
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
leaq 0x8(%rsp), %r12
movl $0xc0, %edx
movq %r12, %rdi
xorl %esi, %esi
callq 0x5090
movl $0x21, (%r12)
movq %r15, 0x20(%r12)
movq %r14, 0x28(%r12)
movl $0x20, 0x30(%r12)
movq %rbx, 0x38(%r12)
movq $0x0, 0x40(%r12)
leaq 0xdc0a(%rip), %rax      # 0x16858
movq (%rax), %rdi
movq %r15, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
movq %r12, %r8
callq 0x55f0
addq $0xc8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/zenlinux[P]cwm/xutil.c
// Function: xu_getprop
int
xu_getprop(Window win, Atom atm, Atom type, long len, u_char **p)
{
	Atom	 realtype;
	u_long	 n, extra;
	int	 format;

	if (XGetWindowProperty(X_Dpy, win, atm, 0L, len, False, type,
	    &realtype, &format, &n, &extra, p) != Success || *p == NULL)
		return (-1);

	if (n == 0)
		XFree(*p);

	return (n);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %r8, %rbx
movq %rcx, %r8
movq %rdx, %rax
movq %rsi, %rdx
movq %rdi, %rsi
leaq 0xdbca(%rip), %rcx      # 0x16858
movq (%rcx), %rdi
leaq 0x10(%rsp), %r10
movq %rsp, %r11
leaq 0xc(%rsp), %r14
leaq 0x18(%rsp), %r15
xorl %ecx, %ecx
xorl %r9d, %r9d
pushq %rbx
pushq %r10
pushq %r11
pushq %r14
pushq %r15
pushq %rax
callq 0x51e0
addq $0x30, %rsp
movl %eax, %ecx
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
testl %ecx, %ecx
jne 0x8cdd
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x8cdd
cmpq $0x0, (%rsp)
jne 0x8cda
callq 0x5060
movl (%rsp), %eax
addq $0x20, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/zenlinux[P]cwm/xutil.c
// Function: xu_getstrprop
int
xu_getstrprop(Window win, Atom atm, char **text) {
	XTextProperty	 prop;
	char		**list;
	int		 nitems = 0;

	*text = NULL;

	XGetTextProperty(X_Dpy, win, &prop, atm);
	if (!prop.nitems)
		return (0);

	if (Xutf8TextPropertyToTextList(X_Dpy, &prop, &list,
	    &nitems) == Success && nitems > 0 && *list) {
		if (nitems > 1) {
			XTextProperty    prop2;
			if (Xutf8TextListToTextProperty(X_Dpy, list, nitems,
			    XUTF8StringStyle, &prop2) == Success) {
				*text = xstrdup((const char *)prop2.value);
				XFree(prop2.value);
			}
		} else {
			*text = xstrdup(*list);
		}
		XFreeStringList(list);
	}

	XFree(prop.value);

	return (nitems);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x50, %rsp
movq %rdx, %rbx
movq %rsi, %rcx
movq %rdi, %rsi
movl $0x0, 0x4(%rsp)
movq $0x0, (%rdx)
leaq 0xdb49(%rip), %r15      # 0x16858
movq (%r15), %rdi
leaq 0x30(%rsp), %r14
movq %r14, %rdx
callq 0x5350
cmpq $0x0, 0x18(%r14)
je 0x8d95
movq (%r15), %rdi
leaq 0x30(%rsp), %rsi
leaq 0x8(%rsp), %rdx
leaq 0x4(%rsp), %r14
movq %r14, %rcx
callq 0x5390
testl %eax, %eax
sete %al
movl (%r14), %edx
testl %edx, %edx
setg %cl
andb %al, %cl
cmpb $0x1, %cl
jne 0x8dab
movq 0x8(%rsp), %rsi
movq (%rsi), %rdi
testq %rdi, %rdi
je 0x8dab
cmpl $0x2, %edx
jl 0x8d99
movq (%r15), %rdi
leaq 0x10(%rsp), %r8
movl $0x4, %ecx
callq 0x5490
testl %eax, %eax
jne 0x8da1
movq 0x10(%rsp), %rdi
callq 0x61cd
movq %rax, (%rbx)
movq 0x10(%rsp), %rdi
callq 0x5060
jmp 0x8da1
xorl %eax, %eax
jmp 0x8db9
callq 0x61cd
movq %rax, (%rbx)
movq 0x8(%rsp), %rdi
callq 0x5640
movq 0x30(%rsp), %rdi
callq 0x5060
movl 0x4(%rsp), %eax
addq $0x50, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/zenlinux[P]cwm/xutil.c
// Function: xu_getstate
int
xu_getstate(struct client_ctx *cc, int *state)
{
	long	*p = NULL;

	if (xu_getprop(cc->win, cwmh[WM_STATE].atom, cwmh[WM_STATE].atom, 2L,
	    (u_char **)&p) <= 0)
		return (-1);

	*state = (int)*p;
	XFree((char *)p);

	return (0);
}

// Assembly:
pushq %rbx
subq $0x10, %rsp
movq %rsi, %rbx
leaq 0x8(%rsp), %r8
movq $0x0, (%r8)
movq 0x38(%rdi), %rdi
movq 0xb6c6(%rip), %rdx      # 0x144a8
movl $0x2, %ecx
movq %rdx, %rsi
callq 0x8c6f
testl %eax, %eax
jle 0x8e05
movq 0x8(%rsp), %rdi
movl (%rdi), %eax
movl %eax, (%rbx)
callq 0x5060
xorl %eax, %eax
jmp 0x8e0a
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
addq $0x10, %rsp
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/zenlinux[P]cwm/xutil.c
// Function: xu_setstate
void
xu_setstate(struct client_ctx *cc, int state)
{
	long	 dat[2];

	dat[0] = state;
	dat[1] = None;

	cc->state = state;
	XChangeProperty(X_Dpy, cc->win,
	    cwmh[WM_STATE].atom, cwmh[WM_STATE].atom, 32,
	    PropModeReplace, (unsigned char *)dat, 2);
}

// Assembly:
subq $0x18, %rsp
movslq %esi, %rax
movq %rsp, %r10
movq %rax, (%r10)
movq $0x0, 0x8(%r10)
movl %eax, 0xac(%rdi)
leaq 0xda26(%rip), %rax      # 0x16858
movq (%rax), %rax
movq 0x38(%rdi), %rsi
movq 0xb668(%rip), %rcx      # 0x144a8
movq %rax, %rdi
movq %rcx, %rdx
movl $0x20, %r8d
xorl %r9d, %r9d
pushq $0x2
pushq %r10
callq 0x5750
addq $0x28, %rsp
retq
// File: /workspace/github_c_makefile_star2_O1/zenlinux[P]cwm/xutil.c
// Function: xu_getatoms
void
xu_getatoms(void)
{
	int	 i;

	for (i = 0; i < nitems(cwmh); i++)
		cwmh[i].atom = XInternAtom(X_Dpy, cwmh[i].name, False);
	for (i = 0; i < nitems(ewmh); i++)
		ewmh[i].atom = XInternAtom(X_Dpy, ewmh[i].name, False);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movl $0x8, %r14d
leaq 0xd9e9(%rip), %rbx      # 0x16858
leaq 0xb62a(%rip), %r15      # 0x144a0
movq (%rbx), %rdi
movq -0x8(%r14,%r15), %rsi
xorl %edx, %edx
callq 0x56a0
movq %rax, (%r14,%r15)
addq $0x10, %r14
cmpq $0x68, %r14
jne 0x8e76
movl $0x8, %r14d
leaq 0xb660(%rip), %r15      # 0x14500
movq (%rbx), %rdi
movq -0x8(%r14,%r15), %rsi
xorl %edx, %edx
callq 0x56a0
movq %rax, (%r14,%r15)
addq $0x10, %r14
cmpq $0xe8, %r14
jne 0x8ea0
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/zenlinux[P]cwm/xutil.c
// Function: xu_ewmh_net_supported_wm_check
void
xu_ewmh_net_supported_wm_check(struct screen_ctx *sc)
{
	Window	 w;

	w = XCreateSimpleWindow(X_Dpy, sc->rootwin, -1, -1, 1, 1, 0, 0, 0);
	XChangeProperty(X_Dpy, sc->rootwin, ewmh[_NET_SUPPORTING_WM_CHECK].atom,
	    XA_WINDOW, 32, PropModeReplace, (unsigned char *)&w, 1);
	XChangeProperty(X_Dpy, w, ewmh[_NET_SUPPORTING_WM_CHECK].atom,
	    XA_WINDOW, 32, PropModeReplace, (unsigned char *)&w, 1);
	XChangeProperty(X_Dpy, w, ewmh[_NET_WM_NAME].atom,
	    XA_WM_NAME, 8, PropModeReplace, (unsigned char *)WMNAME, strlen(WMNAME));
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0xd926(%rip), %r14      # 0x16858
movq (%r14), %rdi
movq 0x18(%rbx), %rsi
subq $0x20, %rsp
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rsp)
movl $0x0, (%rsp)
movl $0x1, %r15d
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
movl $0x1, %r8d
movl $0x1, %r9d
callq 0x5280
addq $0x20, %rsp
movq %rsp, %r12
movq %rax, (%r12)
movq (%r14), %rdi
movq 0x18(%rbx), %rsi
movq 0xb592(%rip), %rdx      # 0x14518
movl $0x21, %ecx
movl $0x20, %r8d
xorl %r9d, %r9d
pushq %r15
pushq %r12
callq 0x5750
addq $0x10, %rsp
movq (%r14), %rdi
movq (%r12), %rsi
movq 0xb569(%rip), %rdx      # 0x14518
movl $0x21, %ecx
movl $0x20, %r8d
xorl %r9d, %r9d
pushq %r15
pushq %r12
callq 0x5750
addq $0x10, %rsp
movq (%r14), %rdi
movq (%r12), %rsi
movq 0xb5f0(%rip), %rdx      # 0x145c8
leaq 0x532d(%rip), %rax      # 0xe30c
movl $0x27, %ecx
movl $0x8, %r8d
xorl %r9d, %r9d
pushq $0x3
pushq %rax
callq 0x5750
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/zenlinux[P]cwm/xutil.c
// Function: xu_ewmh_net_workarea
void
xu_ewmh_net_workarea(struct screen_ctx *sc)
{
	long	 workareas[CALMWM_NGROUPS][4];
	int	 i;

	for (i = 0; i < CALMWM_NGROUPS; i++) {
		workareas[i][0] = sc->work.x;
		workareas[i][1] = sc->work.y;
		workareas[i][2] = sc->work.w;
		workareas[i][3] = sc->work.h;
	}

	XChangeProperty(X_Dpy, sc->rootwin, ewmh[_NET_WORKAREA].atom,
	    XA_CARDINAL, 32, PropModeReplace, (unsigned char *)workareas,
	    CALMWM_NGROUPS * 4);
}

// Assembly:
subq $0x128, %rsp            # imm = 0x128
movslq 0xb4(%rdi), %rax
movslq 0xb8(%rdi), %rcx
movslq 0xbc(%rdi), %rdx
movslq 0xc0(%rdi), %rsi
movl $0x18, %r8d
movq %rax, -0x18(%rsp,%r8)
movq %rcx, -0x10(%rsp,%r8)
movq %rdx, -0x8(%rsp,%r8)
movq %rsi, (%rsp,%r8)
addq $0x20, %r8
cmpq $0x138, %r8             # imm = 0x138
jne 0x907a
leaq 0xd7b7(%rip), %rax      # 0x16858
movq (%rax), %rax
movq 0x18(%rdi), %rsi
movq 0xb509(%rip), %rdx      # 0x145b8
movq %rsp, %r10
movl $0x6, %ecx
movq %rax, %rdi
movl $0x20, %r8d
xorl %r9d, %r9d
pushq $0x24
pushq %r10
callq 0x5750
addq $0x138, %rsp            # imm = 0x138
retq
// File: /workspace/github_c_makefile_star2_O1/zenlinux[P]cwm/xutil.c
// Function: xu_ewmh_net_client_list
void
xu_ewmh_net_client_list(struct screen_ctx *sc)
{
	struct client_ctx	*cc;
	Window			*winlist;
	int			 i = 0, j = 0;

	TAILQ_FOREACH(cc, &Clientq, entry)
		i++;
	if (i == 0)
		return;

	winlist = xmalloc(i * sizeof(*winlist));
	TAILQ_FOREACH(cc, &Clientq, entry)
		winlist[j++] = cc->win;
	XChangeProperty(X_Dpy, sc->rootwin, ewmh[_NET_CLIENT_LIST].atom,
	    XA_WINDOW, 32, PropModeReplace, (unsigned char *)winlist, i);
	xfree(winlist);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
leaq 0xb3ad(%rip), %rax      # 0x14490
movq $-0x8, %rdi
movl $0xffffffff, %r15d      # imm = 0xFFFFFFFF
movq (%rax), %rax
addq $0x8, %rdi
incl %r15d
testq %rax, %rax
jne 0x90f0
testl %r15d, %r15d
je 0x916e
callq 0x6188
movq %rax, %r14
leaq 0xb37d(%rip), %rax      # 0x14490
movq (%rax), %rax
testq %rax, %rax
je 0x9131
movq %r14, %rcx
movq 0x38(%rax), %rdx
movq %rdx, (%rcx)
movq (%rax), %rax
addq $0x8, %rcx
testq %rax, %rax
jne 0x911e
leaq 0xd720(%rip), %rax      # 0x16858
movq (%rax), %rdi
movq 0x18(%rbx), %rsi
movq 0xb3f2(%rip), %rdx      # 0x14538
movl $0x21, %ecx
movl $0x20, %r8d
xorl %r9d, %r9d
pushq %r15
pushq %r14
callq 0x5750
addq $0x10, %rsp
movq %r14, %rdi
popq %rbx
popq %r14
popq %r15
jmp 0x61c8
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/zenlinux[P]cwm/xutil.c
// Function: xu_ewmh_net_wm_desktop
void
xu_ewmh_net_wm_desktop(struct client_ctx *cc)
{
	struct group_ctx	*gc = cc->group;
	long			 no = 0xffffffff;

	if (gc)
		no = gc->shortcut - 1;

	XChangeProperty(X_Dpy, cc->win, ewmh[_NET_WM_DESKTOP].atom,
	    XA_CARDINAL, 32, PropModeReplace, (unsigned char *)&no, 1);
}

// Assembly:
pushq %rax
movq 0xf0(%rdi), %rax
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
movq %rcx, (%rsp)
testq %rax, %rax
je 0x9328
movslq 0x20(%rax), %rax
decq %rax
movq %rax, (%rsp)
leaq 0xd529(%rip), %rax      # 0x16858
movq (%rax), %rax
movq 0x38(%rdi), %rsi
movq 0xb29b(%rip), %rdx      # 0x145d8
movq %rsp, %r10
movl $0x6, %ecx
movq %rax, %rdi
movl $0x20, %r8d
xorl %r9d, %r9d
pushq $0x1
pushq %r10
callq 0x5750
addq $0x10, %rsp
popq %rax
retq
// File: /workspace/github_c_makefile_star2_O1/zenlinux[P]cwm/conf.c
// Function: conf_cmd_add
void
conf_cmd_add(struct conf *c, char *image, char *label, int flags)
{
	/* "term" and "lock" have special meanings. */

	if (strcmp(label, "term") == 0)
		(void)strlcpy(c->termpath, image, sizeof(c->termpath));
	else if (strcmp(label, "lock") == 0)
		(void)strlcpy(c->lockpath, image, sizeof(c->lockpath));
	else {
		struct cmd *cmd = xmalloc(sizeof(*cmd));
		cmd->flags = flags;
		(void)strlcpy(cmd->image, image, sizeof(cmd->image));
		(void)strlcpy(cmd->label, label, sizeof(cmd->label));
		TAILQ_INSERT_TAIL(&c->cmdq, cmd, entry);
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %ecx, %ebp
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x4f5f(%rip), %rsi      # 0xe341
movq %rdx, %rdi
callq 0x5620
testl %eax, %eax
je 0x9458
leaq 0x4f52(%rip), %rsi      # 0xe347
movq %r15, %rdi
callq 0x5620
testl %eax, %eax
je 0x9461
movl $0x1118, %edi           # imm = 0x1118
callq 0x6188
movq %rax, %r12
movl %ebp, 0x10(%rax)
leaq 0x14(%rax), %rdi
movl $0x1000, %edx           # imm = 0x1000
movq %r14, %rsi
callq 0xd500
leaq 0x1014(%r12), %rdi
movl $0x100, %edx            # imm = 0x100
movq %r15, %rsi
callq 0xd500
movq $0x0, (%r12)
movq 0x38(%rbx), %rax
movq %rax, 0x8(%r12)
movq %r12, (%rax)
movq %r12, 0x38(%rbx)
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
addq $0xe0, %rbx
jmp 0x9468
addq $0x10e0, %rbx           # imm = 0x10E0
movl $0x1000, %edx           # imm = 0x1000
movq %rbx, %rdi
movq %r14, %rsi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0xd500
// File: /workspace/github_c_makefile_star2_O1/zenlinux[P]cwm/conf.c
// Function: conf_init
void
conf_init(struct conf *c)
{
	int	i;

	c->flags = 0;
	c->bwidth = CONF_BWIDTH;
	c->mamount = CONF_MAMOUNT;
	c->snapdist = CONF_SNAPDIST;

	TAILQ_INIT(&c->ignoreq);
	TAILQ_INIT(&c->cmdq);
	TAILQ_INIT(&c->keybindingq);
	TAILQ_INIT(&c->autogroupq);
	TAILQ_INIT(&c->mousebindingq);

	for (i = 0; i < nitems(kb_binds); i++)
		conf_bindname(c, kb_binds[i].key, kb_binds[i].func);

	for (i = 0; i < nitems(m_binds); i++)
		conf_mousebind(c, m_binds[i].key, m_binds[i].func);

	for (i = 0; i < nitems(color_binds); i++)
		c->color[i].name = xstrdup(color_binds[i].name);

	/* Default term/lock */
	(void)strlcpy(c->termpath, "xterm", sizeof(c->termpath));
	(void)strlcpy(c->lockpath, "xlock", sizeof(c->lockpath));

	c->font = xstrdup(CONF_FONT);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
movaps 0x4e2e(%rip), %xmm0     # 0xe330
movups %xmm0, 0x50(%rdi)
leaq 0x20(%rdi), %rax
xorl %ecx, %ecx
movq %rcx, 0x20(%rdi)
movq %rax, 0x28(%rdi)
leaq 0x30(%rdi), %rax
movq %rcx, 0x30(%rdi)
movq %rax, 0x38(%rdi)
movq %rcx, (%rdi)
movq %rdi, 0x8(%rdi)
leaq 0x10(%rdi), %rax
movq %rcx, 0x10(%rdi)
movq %rax, 0x18(%rdi)
leaq 0x40(%rdi), %rax
movq %rcx, 0x40(%rdi)
movq %rax, 0x48(%rdi)
movl $0x8, %r14d
leaq 0x9784(%rip), %r15      # 0x12cd0
movq -0x8(%r14,%r15), %rsi
movq (%r14,%r15), %rdx
movq %rbx, %rdi
callq 0x95f3
addq $0x10, %r14
cmpq $0x398, %r14            # imm = 0x398
jne 0x954c
xorl %r14d, %r14d
leaq 0x9aec(%rip), %r15      # 0x13060
movq (%r14,%r15), %rsi
movq 0x8(%r14,%r15), %rdx
movq %rbx, %rdi
callq 0x97f7
addq $0x10, %r14
cmpq $0x80, %r14
jne 0x9574
xorl %r14d, %r14d
leaq 0x9b44(%rip), %r15      # 0x130e0
movq (%r14,%r15), %rdi
callq 0x61cd
movq %rax, 0x70(%rbx,%r14)
addq $0x10, %r14
cmpq $0x70, %r14
jne 0x959c
movw $0x6d, 0xe4(%rbx)
movl $0x72657478, 0xe0(%rbx) # imm = 0x72657478
movl $0x636f6c78, 0x10e0(%rbx) # imm = 0x636F6C78
movw $0x6b, 0x10e4(%rbx)
leaq 0x4d6b(%rip), %rdi      # 0xe34c
callq 0x61cd
movq %rax, 0x20e0(%rbx)
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/zenlinux[P]cwm/conf.c
// Function: conf_mousebind
void
conf_mousebind(struct conf *c, char *name, char *binding)
{
	struct mousebinding	*current_binding;
	char			*substring, *tmp;
	const char		*errstr;
	int			 iter;

	current_binding = xcalloc(1, sizeof(*current_binding));

	if ((substring = strchr(name, '-')) != NULL) {
		for (iter = 0; iter < nitems(bind_mods); iter++) {
			if ((tmp = strchr(name, bind_mods[iter].chr)) !=
			    NULL && tmp < substring) {
				current_binding->modmask |=
				    bind_mods[iter].mask;
			}
		}

		/* skip past the modifiers */
		substring++;
	} else
		substring = name;

	current_binding->button = strtonum(substring, 1, 3, &errstr);
	if (errstr)
		warnx("number of buttons is %s: %s", errstr, substring);

	conf_mouseunbind(c, current_binding);

	if (strcmp("unmap", binding) == 0)
		return;

	for (iter = 0; iter < nitems(name_to_mousefunc); iter++) {
		if (strcmp(name_to_mousefunc[iter].tag, binding) != 0)
			continue;

		current_binding->context = name_to_mousefunc[iter].context;
		current_binding->callback = name_to_mousefunc[iter].handler;
		TAILQ_INSERT_TAIL(&c->mousebindingq, current_binding, entry);
		return;
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %rbp
movl $0x1, %edi
movl $0x28, %esi
callq 0x61a8
movq %rax, %r14
movq %r12, %rdi
movl $0x2d, %esi
callq 0x5530
testq %rax, %rax
je 0x987b
movq %rax, %r13
movq %rbp, 0x8(%rsp)
xorl %ebp, %ebp
leaq 0x4f8d(%rip), %rbx      # 0xe7d0
movsbl (%rbx,%rbp,8), %esi
movq %r12, %rdi
callq 0x5530
testq %rax, %rax
sete %cl
cmpq %r13, %rax
setae %al
orb %cl, %al
jne 0x9867
movl 0x4(%rbx,%rbp,8), %eax
orl %eax, 0x18(%r14)
incq %rbp
cmpq $0x4, %rbp
jne 0x9843
incq %r13
movq %r13, %r12
movq 0x8(%rsp), %rbp
leaq 0x10(%rsp), %r13
movl $0x1, %esi
movl $0x3, %edx
movq %r12, %rdi
movq %r13, %rcx
callq 0xda26
movl %eax, 0x1c(%r14)
movq (%r13), %rsi
testq %rsi, %rsi
je 0x98b3
leaq 0x4b17(%rip), %rdi      # 0xe3c0
movq %r12, %rdx
xorl %eax, %eax
callq 0x5140
movq 0x40(%rbp), %r12
testq %r12, %r12
je 0x98fd
leaq 0x48(%rbp), %r13
movq %r12, %rdi
movq (%r12), %r12
movl 0x18(%rdi), %eax
cmpl 0x18(%r14), %eax
jne 0x98f8
movl 0x1c(%rdi), %eax
cmpl 0x1c(%r14), %eax
jne 0x98f8
leaq 0x8(%r12), %rax
testq %r12, %r12
cmoveq %r13, %rax
movq 0x8(%rdi), %rcx
movq %rcx, (%rax)
movq 0x8(%rdi), %rax
movq %r12, (%rax)
callq 0x61c8
testq %r12, %r12
jne 0x98c0
leaq 0x4ab6(%rip), %rdi      # 0xe3ba
movq %r15, %rsi
callq 0x5620
testl %eax, %eax
je 0x9963
movl $0x10, %ebx
leaq 0x9834(%rip), %r12      # 0x13150
movq -0x10(%rbx,%r12), %rdi
movq %r15, %rsi
callq 0x5620
testl %eax, %eax
je 0x993c
addq $0x18, %rbx
cmpq $0xe8, %rbx
jne 0x991c
jmp 0x9963
movl (%rbx,%r12), %eax
movl %eax, 0x20(%r14)
movq -0x8(%rbx,%r12), %rax
movq %rax, 0x10(%r14)
movq $0x0, (%r14)
movq 0x48(%rbp), %rax
movq %rax, 0x8(%r14)
movq %r14, (%rax)
movq %r14, 0x48(%rbp)
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/zenlinux[P]cwm/conf.c
// Function: conf_clear
void
conf_clear(struct conf *c)
{
	struct autogroupwin	*ag;
	struct keybinding	*kb;
	struct winmatch		*wm;
	struct cmd		*cmd;
	struct mousebinding	*mb;
	int			 i;

	while ((cmd = TAILQ_FIRST(&c->cmdq)) != NULL) {
		TAILQ_REMOVE(&c->cmdq, cmd, entry);
		xfree(cmd);
	}

	while ((kb = TAILQ_FIRST(&c->keybindingq)) != NULL) {
		TAILQ_REMOVE(&c->keybindingq, kb, entry);
		xfree(kb);
	}

	while ((ag = TAILQ_FIRST(&c->autogroupq)) != NULL) {
		TAILQ_REMOVE(&c->autogroupq, ag, entry);
		xfree(ag->class);
		if (ag->name)
			xfree(ag->name);
		xfree(ag);
	}

	while ((wm = TAILQ_FIRST(&c->ignoreq)) != NULL) {
		TAILQ_REMOVE(&c->ignoreq, wm, entry);
		xfree(wm);
	}

	while ((mb = TAILQ_FIRST(&c->mousebindingq)) != NULL) {
		TAILQ_REMOVE(&c->mousebindingq, mb, entry);
		xfree(mb);
	}

	for (i = 0; i < CWM_COLOR_MAX; i++)
		xfree(c->color[i].name);

	xfree(c->font);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
movq 0x30(%rdi), %rdi
testq %rdi, %rdi
je 0x99d4
leaq 0x38(%rbx), %r14
movq (%rdi), %rax
leaq 0x8(%rax), %rcx
testq %rax, %rax
cmoveq %r14, %rcx
movq 0x8(%rdi), %rdx
movq %rdx, (%rcx)
movq 0x8(%rdi), %rcx
movq %rax, (%rcx)
callq 0x61c8
movq 0x30(%rbx), %rdi
testq %rdi, %rdi
jne 0x9987
jmp 0x99d4
movq (%rdi), %rax
testq %rax, %rax
movq %rax, %rcx
cmoveq %rbx, %rcx
movq 0x8(%rdi), %rdx
movq %rdx, 0x8(%rcx)
movq 0x8(%rdi), %rcx
movq %rax, (%rcx)
callq 0x61c8
movq (%rbx), %rdi
testq %rdi, %rdi
jne 0x99b3
movq 0x10(%rbx), %r14
testq %r14, %r14
je 0x9a2d
leaq 0x18(%rbx), %r15
movq (%r14), %rax
movq 0x8(%r14), %rcx
leaq 0x8(%rax), %rdx
testq %rax, %rax
cmoveq %r15, %rdx
movq %rcx, (%rdx)
movq 0x8(%r14), %rcx
movq %rax, (%rcx)
movq 0x10(%r14), %rdi
callq 0x61c8
movq 0x18(%r14), %rdi
testq %rdi, %rdi
je 0x9a1c
callq 0x61c8
movq %r14, %rdi
callq 0x61c8
movq 0x10(%rbx), %r14
testq %r14, %r14
jne 0x99e9
movq 0x20(%rbx), %rdi
testq %rdi, %rdi
je 0x9a64
leaq 0x28(%rbx), %r14
movq (%rdi), %rax
leaq 0x8(%rax), %rcx
testq %rax, %rax
cmoveq %r14, %rcx
movq 0x8(%rdi), %rdx
movq %rdx, (%rcx)
movq 0x8(%rdi), %rcx
movq %rax, (%rcx)
callq 0x61c8
movq 0x20(%rbx), %rdi
testq %rdi, %rdi
jne 0x9a3a
movq 0x40(%rbx), %rdi
testq %rdi, %rdi
je 0x9a9b
leaq 0x48(%rbx), %r14
movq (%rdi), %rax
leaq 0x8(%rax), %rcx
testq %rax, %rax
cmoveq %r14, %rcx
movq 0x8(%rdi), %rdx
movq %rdx, (%rcx)
movq 0x8(%rdi), %rcx
movq %rax, (%rcx)
callq 0x61c8
movq 0x40(%rbx), %rdi
testq %rdi, %rdi
jne 0x9a71
xorl %r14d, %r14d
movq 0x70(%rbx,%r14), %rdi
callq 0x61c8
addq $0x10, %r14
cmpq $0x70, %r14
jne 0x9a9e
movq 0x20e0(%rbx), %rdi
popq %rbx
popq %r14
popq %r15
jmp 0x61c8
// File: /workspace/github_c_makefile_star2_O1/zenlinux[P]cwm/conf.c
// Function: conf_setup
void
conf_setup(struct conf *c, const char *conf_file)
{
	char		 conf_path[MAXPATHLEN];
	char		*home;
	struct stat	 sb;
	int		 parse = 0;

	conf_init(c);

	if (conf_file == NULL) {
		if ((home = getenv("HOME")) == NULL)
			errx(1, "No HOME directory.");

		(void)snprintf(conf_path, sizeof(conf_path), "%s/%s",
		    home, CONFFILE);

		if (stat(conf_path, &sb) == 0 && (sb.st_mode & S_IFREG))
			parse = 1;
	} else {
		if (stat(conf_file, &sb) == -1 || !(sb.st_mode & S_IFREG))
			errx(1, "%s: %s", conf_file, strerror(errno));
		else {
			(void)strlcpy(conf_path, conf_file, sizeof(conf_path));
			parse = 1;
		}
	}

	if (parse && (parse_config(conf_path, c) == -1))
		warnx("config file %s has errors, not loading", conf_path);
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x1098, %rsp           # imm = 0x1098
movq %rsi, %r14
movq %rdi, %rbx
callq 0x94f3
testq %r14, %r14
je 0x9b3e
movq %rsp, %rsi
movq %r14, %rdi
callq 0x5850
cmpl $-0x1, %eax
je 0x9b98
testb $-0x80, 0x19(%rsp)
je 0x9b98
leaq 0x90(%rsp), %rdi
movl $0x1000, %edx           # imm = 0x1000
movq %r14, %rsi
callq 0xd500
leaq 0x90(%rsp), %rdi
movq %rbx, %rsi
callq 0xd27d
cmpl $-0x1, %eax
jne 0x9b8d
leaq 0x4861(%rip), %rdi      # 0xe38e
leaq 0x90(%rsp), %rsi
xorl %eax, %eax
callq 0x5140
jmp 0x9b8d
leaq 0x4824(%rip), %rdi      # 0xe369
callq 0x5560
testq %rax, %rax
je 0x9bbd
leaq 0x482b(%rip), %rdx      # 0xe381
leaq 0x482a(%rip), %r8       # 0xe387
leaq 0x90(%rsp), %r14
movl $0x1000, %esi           # imm = 0x1000
movq %r14, %rdi
movq %rax, %rcx
xorl %eax, %eax
callq 0x50b0
movq %rsp, %rsi
movq %r14, %rdi
callq 0x5850
testl %eax, %eax
jne 0x9b8d
testb $-0x80, 0x19(%rsp)
jne 0x9b11
addq $0x1098, %rsp           # imm = 0x1098
popq %rbx
popq %r14
retq
callq 0x5590
movl (%rax), %edi
callq 0x54a0
leaq 0x482a(%rip), %rsi      # 0xe3d5
movl $0x1, %edi
movq %r14, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0x5700
leaq 0x47aa(%rip), %rsi      # 0xe36e
movl $0x1, %edi
xorl %eax, %eax
callq 0x5700
// File: /workspace/github_c_makefile_star2_O1/zenlinux[P]cwm/conf.c
// Function: conf_client
void
conf_client(struct client_ctx *cc)
{
	struct winmatch	*wm;
	char		*wname = cc->name;
	int		 ignore = 0;

	TAILQ_FOREACH(wm, &Conf.ignoreq, entry) {
		if (strncasecmp(wm->title, wname, strlen(wm->title)) == 0) {
			ignore = 1;
			break;
		}
	}

	cc->bwidth = ignore ? 0 : Conf.bwidth;
	cc->flags |= ignore ? CLIENT_IGNORE : 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0xab8b(%rip), %r12      # 0x14770
leaq 0x20(%r12), %r13
movq 0xd8(%rdi), %r14
xorl %ebp, %ebp
movq (%r13), %r13
testq %r13, %r13
je 0x9c21
leaq 0x10(%r13), %r15
movq %r15, %rdi
callq 0x5330
movq %r15, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x55e0
testl %eax, %eax
jne 0x9bf3
movl $0x2, %eax
jmp 0x9c23
xorl %eax, %eax
testq %r13, %r13
jne 0x9c2d
movl 0x54(%r12), %ebp
movl %ebp, 0x50(%rbx)
orl %eax, 0xa8(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq