LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O1/baskerville[P]bspwm/src/restore.c
// Function: restore_constraints
void restore_constraints(constraints_t *c, jsmntok_t **t, char *json)
{
	int s = (*t)->size;
	(*t)++;

	for (int i = 0; i < s; i++) {
		if (keyeq("min_width", *t, json)) {
			(*t)++;
			sscanf(json + (*t)->start, "%hu", &c->min_width);
		} else if (keyeq("min_height", *t, json)) {
			(*t)++;
			sscanf(json + (*t)->start, "%hu", &c->min_height);
		}
		(*t)++;
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq (%rsi), %rax
movl 0xc(%rax), %ebp
addq $0x10, %rax
movq %rax, (%rsi)
testl %ebp, %ebp
jle 0x1c709
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
leaq 0x2(%rdi), %rax
movq %rax, (%rsp)
leaq 0x4eba(%rip), %r13      # 0x21552
movq (%r14), %r12
movq %r13, %rdi
movq %r12, %rsi
movq %rbx, %rdx
callq 0x1b678
testb %al, %al
je 0x1c6c9
leaq 0x10(%r12), %rax
movq %rax, (%r14)
movslq 0x14(%r12), %rdi
addq %rbx, %rdi
leaq 0x4431(%rip), %rsi      # 0x20af5
movq %r15, %rdx
jmp 0x1c6fa
leaq 0x4e8c(%rip), %rdi      # 0x2155c
movq %r12, %rsi
movq %rbx, %rdx
callq 0x1b678
testb %al, %al
je 0x1c701
leaq 0x10(%r12), %rax
movq %rax, (%r14)
movslq 0x14(%r12), %rdi
addq %rbx, %rdi
leaq 0x43ff(%rip), %rsi      # 0x20af5
movq (%rsp), %rdx
xorl %eax, %eax
callq 0x41c0
addq $0x10, (%r14)
decl %ebp
jne 0x1c698
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/baskerville[P]bspwm/src/restore.c
// Function: restore_coordinates
void restore_coordinates(coordinates_t *loc, jsmntok_t **t, char *json)
{
	int s = (*t)->size;
	(*t)++;
	uint32_t id = 0;

	for (int i = 0; i < s; i++) {
		if (keyeq("monitorId", *t, json)) {
			(*t)++;
			sscanf(json + (*t)->start, "%u", &id);
			loc->monitor = find_monitor(id);
		} else if (keyeq("desktopId", *t, json)) {
			(*t)++;
			sscanf(json + (*t)->start, "%u", &id);
			loc->desktop = find_desktop_in(id, loc->monitor);
		} else if (keyeq("nodeId", *t, json)) {
			(*t)++;
			sscanf(json + (*t)->start, "%u", &id);
			loc->node = find_by_id_in(loc->desktop != NULL ? loc->desktop->root : NULL, id);
		}
		(*t)++;
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq (%rsi), %rax
movl 0xc(%rax), %ebp
addq $0x10, %rax
movq %rax, (%rsi)
movl $0x0, 0x4(%rsp)
testl %ebp, %ebp
jle 0x1cc05
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
leaq 0x4a71(%rip), %r12      # 0x21585
movq (%r14), %r13
movq %r12, %rdi
movq %r13, %rsi
movq %rbx, %rdx
callq 0x1b678
testb %al, %al
je 0x1cb5b
leaq 0x10(%r13), %rax
movq %rax, (%r14)
movslq 0x14(%r13), %rdi
addq %rbx, %rdi
leaq 0x3add(%rip), %rsi      # 0x2061b
leaq 0x4(%rsp), %rdx
xorl %eax, %eax
callq 0x41c0
movl 0x4(%rsp), %edi
callq 0x71c4
movq %rax, (%r15)
jmp 0x1cbf9
leaq 0x4a2d(%rip), %rdi      # 0x2158f
movq %r13, %rsi
movq %rbx, %rdx
callq 0x1b678
testb %al, %al
je 0x1cba4
leaq 0x10(%r13), %rax
movq %rax, (%r14)
movslq 0x14(%r13), %rdi
addq %rbx, %rdi
leaq 0x3a95(%rip), %rsi      # 0x2061b
leaq 0x4(%rsp), %rdx
xorl %eax, %eax
callq 0x41c0
movl 0x4(%rsp), %edi
movq (%r15), %rsi
callq 0x8411
movq %rax, 0x8(%r15)
jmp 0x1cbf9
leaq 0x49ee(%rip), %rdi      # 0x21599
movq %r13, %rsi
movq %rbx, %rdx
callq 0x1b678
testb %al, %al
je 0x1cbf9
leaq 0x10(%r13), %rax
movq %rax, (%r14)
movslq 0x14(%r13), %rdi
addq %rbx, %rdi
leaq 0x3a4c(%rip), %rsi      # 0x2061b
leaq 0x4(%rsp), %rdx
xorl %eax, %eax
callq 0x41c0
movq 0x8(%r15), %rax
testq %rax, %rax
je 0x1cbea
movq 0x30(%rax), %rdi
jmp 0x1cbec
xorl %edi, %edi
movl 0x4(%rsp), %esi
callq 0xae3d
movq %rax, 0x10(%r15)
addq $0x10, (%r14)
decl %ebp
jne 0x1cb14
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/baskerville[P]bspwm/src/rule.c
// Function: make_rule
rule_t *make_rule(void)
{
	rule_t *r = calloc(1, sizeof(rule_t));
	r->class_name[0] = r->instance_name[0] = r->name[0] = r->effect[0] = '\0';
	r->next = r->prev = NULL;
	r->one_shot = false;
	return r;
}

// Assembly:
pushq %rax
movl $0x1, %edi
movl $0x418, %esi            # imm = 0x418
callq 0x48b0
xorl %ecx, %ecx
movb %cl, 0x300(%rax)
movb %cl, 0x200(%rax)
movb %cl, 0x100(%rax)
movb %cl, (%rax)
movb %cl, 0x400(%rax)
xorps %xmm0, %xmm0
movups %xmm0, 0x408(%rax)
popq %rcx
retq
// File: /workspace/github_c_makefile_star2_O1/baskerville[P]bspwm/src/rule.c
// Function: add_rule
void add_rule(rule_t *r)
 {
	if (rule_head == NULL) {
		rule_head = rule_tail = r;
	} else {
		rule_tail->next = r;
		r->prev = rule_tail;
		rule_tail = r;
	}
}

// Assembly:
leaq 0xc985(%rip), %rax      # 0x29738
cmpq $0x0, (%rax)
je 0x1cdd3
leaq 0xc970(%rip), %rax      # 0x29730
movq (%rax), %rcx
movq %rdi, 0x410(%rcx)
movq %rcx, 0x408(%rdi)
jmp 0x1cddd
leaq 0xc956(%rip), %rcx      # 0x29730
movq %rdi, (%rcx)
movq %rdi, (%rax)
retq
// File: /workspace/github_c_makefile_star2_O1/baskerville[P]bspwm/src/rule.c
// Function: remove_rule
void remove_rule(rule_t *r)
{
	if (r == NULL) {
		return;
	}
	rule_t *prev = r->prev;
	rule_t *next = r->next;
	if (prev != NULL) {
		prev->next = next;
	}
	if (next != NULL) {
		next->prev = prev;
	}
	if (r == rule_head) {
		rule_head = next;
	}
	if (r == rule_tail) {
		rule_tail = prev;
	}
	free(r);
}

// Assembly:
testq %rdi, %rdi
je 0x1ce33
movq 0x408(%rdi), %rax
movq 0x410(%rdi), %rcx
testq %rax, %rax
je 0x1ce00
movq %rcx, 0x410(%rax)
testq %rcx, %rcx
je 0x1ce0c
movq %rax, 0x408(%rcx)
leaq 0xc925(%rip), %rdx      # 0x29738
cmpq %rdi, (%rdx)
jne 0x1ce1b
movq %rcx, (%rdx)
leaq 0xc90e(%rip), %rcx      # 0x29730
cmpq %rdi, (%rcx)
jne 0x4460
movq %rax, (%rcx)
jmp 0x4460
retq
// File: /workspace/github_c_makefile_star2_O1/baskerville[P]bspwm/src/rule.c
// Function: remove_rule_by_cause
void remove_rule_by_cause(char *cause)
{
	rule_t *r = rule_head;
	struct tokenize_state state;
	char *class_name = tokenize_with_escape(&state, cause, COL_TOK[0]);
	char *instance_name = tokenize_with_escape(&state, NULL, COL_TOK[0]);
	char *name = tokenize_with_escape(&state, NULL, COL_TOK[0]);
	if (!class_name || !instance_name || !name) {
		free(class_name);
		free(instance_name);
		free(name);
		return;
	}

	while (r != NULL) {
		rule_t *next = r->next;
		if ((class_name != NULL && (streq(class_name, MATCH_ANY) || streq(r->class_name, class_name))) &&
		    (instance_name == NULL || streq(instance_name, MATCH_ANY) || streq(r->instance_name, instance_name)) &&
		    (name == NULL || streq(name, MATCH_ANY) || streq(r->name, name))) {
			remove_rule(r);
		}
		r = next;
	}
	free(class_name);
	free(instance_name);
	free(name);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rsi
leaq 0xc8ec(%rip), %rax      # 0x29738
movq (%rax), %rbp
movq %rsp, %r15
movq %r15, %rdi
movl $0x3a, %edx
callq 0x60a5
movq %rax, %rbx
movq %r15, %rdi
xorl %esi, %esi
movl $0x3a, %edx
callq 0x60a5
movq %rax, %r14
movq %r15, %rdi
xorl %esi, %esi
movl $0x3a, %edx
callq 0x60a5
movq %rax, %r15
testq %rbx, %rbx
sete %al
testq %r14, %r14
sete %cl
orb %al, %cl
testq %r15, %r15
sete %al
orb %cl, %al
testq %rbp, %rbp
sete %cl
orb %al, %cl
jne 0x1cf2a
leaq 0x34c2(%rip), %r12      # 0x20373
movq %rbp, %r13
movq 0x410(%rbp), %rbp
movq %rbx, %rdi
movq %r12, %rsi
callq 0x4820
testl %eax, %eax
je 0x1ced9
movq %r13, %rdi
movq %rbx, %rsi
callq 0x4820
testl %eax, %eax
jne 0x1cf25
movq %r14, %rdi
movq %r12, %rsi
callq 0x4820
testl %eax, %eax
je 0x1cefb
leaq 0x100(%r13), %rdi
movq %r14, %rsi
callq 0x4820
testl %eax, %eax
jne 0x1cf25
movq %r15, %rdi
movq %r12, %rsi
callq 0x4820
testl %eax, %eax
je 0x1cf1d
leaq 0x200(%r13), %rdi
movq %r15, %rsi
callq 0x4820
testl %eax, %eax
jne 0x1cf25
movq %r13, %rdi
callq 0x1cde1
testq %rbp, %rbp
jne 0x1ceb1
movq %rbx, %rdi
callq 0x4460
movq %r14, %rdi
callq 0x4460
movq %r15, %rdi
callq 0x4460
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/baskerville[P]bspwm/src/rule.c
// Function: remove_rule_by_index
bool remove_rule_by_index(int idx)
{
	for (rule_t *r = rule_head; r != NULL; r = r->next, idx--) {
		if (idx == 0) {
			remove_rule(r);
			return true;
		}
	}
	return false;
}

// Assembly:
pushq %rbx
movl %edi, %eax
leaq 0xc7dd(%rip), %rcx      # 0x29738
movq (%rcx), %rdi
testq %rdi, %rdi
setne %bl
je 0x1cf82
testl %eax, %eax
je 0x1cf7d
movq 0x410(%rdi), %rdi
testq %rdi, %rdi
setne %bl
je 0x1cf82
decl %eax
jne 0x1cf6a
callq 0x1cde1
movl %ebx, %eax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/baskerville[P]bspwm/src/rule.c
// Function: make_rule_consequence
rule_consequence_t *make_rule_consequence(void)
{
	rule_consequence_t *rc = calloc(1, sizeof(rule_consequence_t));
	rc->manage = rc->focus = rc->border = true;
	rc->layer = NULL;
	rc->state = NULL;
	rc->rect = NULL;
	rc->honor_size_hints = HONOR_SIZE_HINTS_DEFAULT;
	return rc;
}

// Assembly:
pushq %rax
movl $0x1, %edi
movl $0x638, %esi            # imm = 0x638
callq 0x48b0
movb $0x1, 0x62d(%rax)
movw $0x101, 0x62b(%rax)     # imm = 0x101
movq $0x0, 0x630(%rax)
xorps %xmm0, %xmm0
movups %xmm0, 0x610(%rax)
movl $0x4, 0x620(%rax)
popq %rcx
retq
// File: /workspace/github_c_makefile_star2_O1/baskerville[P]bspwm/src/rule.c
// Function: make_pending_rule
pending_rule_t *make_pending_rule(int fd, xcb_window_t win, rule_consequence_t *csq)
{
	pending_rule_t *pr = calloc(1, sizeof(pending_rule_t));
	pr->prev = pr->next = NULL;
	pr->event_head = pr->event_tail = NULL;
	pr->fd = fd;
	pr->win = win;
	pr->csq = csq;
	return pr;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movq %rdx, %rbx
movl %esi, %ebp
movl %edi, %r14d
movl $0x1, %edi
movl $0x30, %esi
callq 0x48b0
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rax)
movups %xmm0, 0x20(%rax)
movl %r14d, (%rax)
movl %ebp, 0x4(%rax)
movq %rbx, 0x8(%rax)
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/baskerville[P]bspwm/src/rule.c
// Function: add_pending_rule
void add_pending_rule(pending_rule_t *pr)
{
	if (pr == NULL) {
		return;
	}
	if (pending_rule_head == NULL) {
		pending_rule_head = pending_rule_tail = pr;
	} else {
		pending_rule_tail->next = pr;
		pr->prev = pending_rule_tail;
		pending_rule_tail = pr;
	}
}

// Assembly:
testq %rdi, %rdi
je 0x1d02f
leaq 0xc6d0(%rip), %rax      # 0x296d8
cmpq $0x0, (%rax)
je 0x1d022
leaq 0xc74b(%rip), %rax      # 0x29760
movq (%rax), %rcx
movq %rdi, 0x28(%rcx)
movq %rcx, 0x20(%rdi)
jmp 0x1d02c
leaq 0xc737(%rip), %rcx      # 0x29760
movq %rdi, (%rcx)
movq %rdi, (%rax)
retq
// File: /workspace/github_c_makefile_star2_O1/baskerville[P]bspwm/src/rule.c
// Function: remove_pending_rule
void remove_pending_rule(pending_rule_t *pr)
{
	if (pr == NULL) {
		return;
	}
	pending_rule_t *a = pr->prev;
	pending_rule_t *b = pr->next;
	if (a != NULL) {
		a->next = b;
	}
	if (b != NULL) {
		b->prev = a;
	}
	if (pr == pending_rule_head) {
		pending_rule_head = b;
	}
	if (pr == pending_rule_tail) {
		pending_rule_tail = a;
	}
	close(pr->fd);
	free(pr->csq);
	event_queue_t *eq = pr->event_head;
	while (eq != NULL) {
		event_queue_t *next = eq->next;
		free(eq);
		eq = next;
	}
	free(pr);
}

// Assembly:
testq %rdi, %rdi
je 0x1d0ad
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x20(%rdi), %rax
movq 0x28(%rdi), %rcx
testq %rax, %rax
je 0x1d04d
movq %rcx, 0x28(%rax)
testq %rcx, %rcx
je 0x1d056
movq %rax, 0x20(%rcx)
leaq 0xc67b(%rip), %rdx      # 0x296d8
cmpq %rbx, (%rdx)
jne 0x1d065
movq %rcx, (%rdx)
leaq 0xc6f4(%rip), %rcx      # 0x29760
cmpq %rbx, (%rcx)
jne 0x1d074
movq %rax, (%rcx)
movl (%rbx), %edi
callq 0x4150
movq 0x8(%rbx), %rdi
callq 0x4460
movq 0x10(%rbx), %rdi
testq %rdi, %rdi
je 0x1d09e
movq 0x30(%rdi), %r14
callq 0x4460
movq %r14, %rdi
testq %r14, %r14
jne 0x1d08d
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x4460
retq
// File: /workspace/github_c_makefile_star2_O1/baskerville[P]bspwm/src/rule.c
// Function: postpone_event
void postpone_event(pending_rule_t *pr, xcb_generic_event_t *evt)
{
	event_queue_t *eq = make_event_queue(evt);
	if (pr->event_tail == NULL) {
		pr->event_head = pr->event_tail = eq;
	} else {
		pr->event_tail->next = eq;
		eq->prev = pr->event_tail;
		pr->event_tail = eq;
	}
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movl $0x1, %edi
movl $0x38, %esi
callq 0x48b0
xorps %xmm0, %xmm0
movups %xmm0, 0x28(%rax)
movl 0x20(%r14), %ecx
movl %ecx, 0x20(%rax)
movups (%r14), %xmm0
movups 0x10(%r14), %xmm1
movups %xmm1, 0x10(%rax)
movups %xmm0, (%rax)
movq 0x18(%rbx), %rcx
testq %rcx, %rcx
je 0x1d0fc
addq $0x18, %rbx
movq %rax, 0x30(%rcx)
movq %rcx, 0x28(%rax)
jmp 0x1d104
movq %rax, 0x18(%rbx)
addq $0x10, %rbx
movq %rax, (%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/baskerville[P]bspwm/src/rule.c
// Function: make_event_queue
event_queue_t *make_event_queue(xcb_generic_event_t *evt)
{
	event_queue_t *eq = calloc(1, sizeof(event_queue_t));
	eq->prev = eq->next = NULL;
	eq->event = *evt;
	return eq;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movl $0x1, %edi
movl $0x38, %esi
callq 0x48b0
xorps %xmm0, %xmm0
movups %xmm0, 0x28(%rax)
movups (%rbx), %xmm0
movups 0x10(%rbx), %xmm1
movups %xmm0, (%rax)
movups %xmm1, 0x10(%rax)
movl 0x20(%rbx), %ecx
movl %ecx, 0x20(%rax)
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/baskerville[P]bspwm/src/rule.c
// Function: apply_window_type
void _apply_window_type(xcb_window_t win, rule_consequence_t *csq)
{
	xcb_ewmh_get_atoms_reply_t win_type;
	if (xcb_ewmh_get_wm_window_type_reply(ewmh, xcb_ewmh_get_wm_window_type(ewmh, win), &win_type, NULL) == 1) {
		for (unsigned int i = 0; i < win_type.atoms_len; i++) {
			xcb_atom_t a = win_type.atoms[i];
			if (a == ewmh->_NET_WM_WINDOW_TYPE_TOOLBAR ||
			    a == ewmh->_NET_WM_WINDOW_TYPE_UTILITY) {
				csq->focus = false;
			} else if (a == ewmh->_NET_WM_WINDOW_TYPE_DIALOG) {
				SET_CSQ_STATE(STATE_FLOATING);
				csq->center = true;
			} else if (a == ewmh->_NET_WM_WINDOW_TYPE_DOCK ||
			           a == ewmh->_NET_WM_WINDOW_TYPE_DESKTOP ||
			           a == ewmh->_NET_WM_WINDOW_TYPE_NOTIFICATION) {
				csq->manage = false;
				if (a == ewmh->_NET_WM_WINDOW_TYPE_DESKTOP) {
					window_lower(win);
				}
			}
		}
		xcb_ewmh_get_atoms_reply_wipe(&win_type);
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rsi, %rbx
movl %edi, %ebp
leaq 0xccdb(%rip), %r15      # 0x29e30
movq (%r15), %r14
movq %r14, %rdi
movl %ebp, %esi
callq 0x40d0
movq %rsp, %rdx
movq %r14, %rdi
movl %eax, %esi
xorl %ecx, %ecx
callq 0x41a0
cmpb $0x1, %al
jne 0x1d22c
cmpl $0x0, (%rsp)
je 0x1d224
xorl %r14d, %r14d
movq 0x8(%rsp), %rax
movl (%rax,%r14,4), %eax
movq (%r15), %rcx
cmpl 0xd8(%rcx), %eax
je 0x1d1a2
cmpl 0xe0(%rcx), %eax
jne 0x1d1b6
movb $0x0, 0x62c(%rbx)
incq %r14
movl (%rsp), %eax
cmpq %rax, %r14
jb 0x1d186
jmp 0x1d224
cmpl 0xe8(%rcx), %eax
jne 0x1d1f4
cmpq $0x0, 0x618(%rbx)
jne 0x1d1de
movl $0x1, %edi
movl $0x4, %esi
callq 0x48b0
movq %rax, 0x618(%rbx)
movq 0x618(%rbx), %rax
movl $0x2, (%rax)
movb $0x1, 0x629(%rbx)
jmp 0x1d1a9
cmpl 0xd4(%rcx), %eax
je 0x1d20c
cmpl 0xd0(%rcx), %eax
je 0x1d20c
cmpl 0xf8(%rcx), %eax
jne 0x1d1a9
movb $0x0, 0x62b(%rbx)
cmpl 0xd0(%rcx), %eax
jne 0x1d1a9
movl %ebp, %edi
callq 0x11368
jmp 0x1d1a9
movq %rsp, %rdi
callq 0x4b20
addq $0x18, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/baskerville[P]bspwm/src/rule.c
// Function: apply_window_state
void _apply_window_state(xcb_window_t win, rule_consequence_t *csq)
{
	xcb_ewmh_get_atoms_reply_t win_state;
	if (xcb_ewmh_get_wm_state_reply(ewmh, xcb_ewmh_get_wm_state(ewmh, win), &win_state, NULL) == 1) {
		for (unsigned int i = 0; i < win_state.atoms_len; i++) {
			xcb_atom_t a = win_state.atoms[i];
			if (a == ewmh->_NET_WM_STATE_FULLSCREEN) {
				SET_CSQ_STATE(STATE_FULLSCREEN);
			} else if (a == ewmh->_NET_WM_STATE_BELOW) {
				SET_CSQ_LAYER(LAYER_BELOW);
			} else if (a == ewmh->_NET_WM_STATE_ABOVE) {
				SET_CSQ_LAYER(LAYER_ABOVE);
			} else if (a == ewmh->_NET_WM_STATE_STICKY) {
				csq->sticky = true;
			}
		}
		xcb_ewmh_get_atoms_reply_wipe(&win_state);
	}
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, %rbx
movl %edi, %esi
leaq 0xcbe2(%rip), %r15      # 0x29e30
movq (%r15), %r14
movq %r14, %rdi
callq 0x43a0
movq %rsp, %rdx
movq %r14, %rdi
movl %eax, %esi
xorl %ecx, %ecx
callq 0x40b0
cmpb $0x1, %al
jne 0x1d35b
cmpl $0x0, (%rsp)
je 0x1d353
movq 0x8(%rsp), %r14
movq (%r15), %r15
xorl %r12d, %r12d
movl (%r14,%r12,4), %eax
cmpl 0x128(%r15), %eax
jne 0x1d2c4
cmpq $0x0, 0x618(%rbx)
jne 0x1d2b2
movl $0x1, %edi
movl $0x4, %esi
callq 0x48b0
movq %rax, 0x618(%rbx)
movq 0x618(%rbx), %rax
movl $0x3, (%rax)
jmp 0x1d344
cmpl 0x130(%r15), %eax
jne 0x1d2fc
cmpq $0x0, 0x610(%rbx)
jne 0x1d2ed
movl $0x1, %edi
movl $0x4, %esi
callq 0x48b0
movq %rax, 0x610(%rbx)
movq 0x610(%rbx), %rax
movl $0x0, (%rax)
jmp 0x1d344
cmpl 0x12c(%r15), %eax
jne 0x1d334
cmpq $0x0, 0x610(%rbx)
jne 0x1d325
movl $0x1, %edi
movl $0x4, %esi
callq 0x48b0
movq %rax, 0x610(%rbx)
movq 0x610(%rbx), %rax
movl $0x2, (%rax)
jmp 0x1d344
cmpl 0x10c(%r15), %eax
jne 0x1d344
movb $0x1, 0x625(%rbx)
incq %r12
movl (%rsp), %eax
cmpq %rax, %r12
jb 0x1d285
movq %rsp, %rdi
callq 0x4b20
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/baskerville[P]bspwm/src/rule.c
// Function: apply_transient
void _apply_transient(xcb_window_t win, rule_consequence_t *csq)
{
	xcb_window_t transient_for = XCB_NONE;
	xcb_icccm_get_wm_transient_for_reply(dpy, xcb_icccm_get_wm_transient_for(dpy, win), &transient_for, NULL);
	if (transient_for != XCB_NONE) {
		SET_CSQ_STATE(STATE_FLOATING);
	}
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rsi, %rbx
movl %edi, %esi
leaq 0xc(%rsp), %r14
movl $0x0, (%r14)
leaq 0xc340(%rip), %rax      # 0x296c8
movq (%rax), %r15
movq %r15, %rdi
callq 0x4730
movq %r15, %rdi
movl %eax, %esi
movq %r14, %rdx
xorl %ecx, %ecx
callq 0x4620
cmpl $0x0, (%r14)
je 0x1d3d5
cmpq $0x0, 0x618(%rbx)
jne 0x1d3c8
movl $0x1, %edi
movl $0x4, %esi
callq 0x48b0
movq %rax, 0x618(%rbx)
movq 0x618(%rbx), %rax
movl $0x2, (%rax)
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/baskerville[P]bspwm/src/rule.c
// Function: apply_hints
void _apply_hints(xcb_window_t win, rule_consequence_t *csq)
{
	xcb_size_hints_t size_hints;
	if (xcb_icccm_get_wm_normal_hints_reply(dpy, xcb_icccm_get_wm_normal_hints(dpy, win), &size_hints, NULL) == 1) {
		if ((size_hints.flags & (XCB_ICCCM_SIZE_HINT_P_MIN_SIZE | XCB_ICCCM_SIZE_HINT_P_MAX_SIZE)) &&
		    size_hints.min_width == size_hints.max_width && size_hints.min_height == size_hints.max_height) {
			SET_CSQ_STATE(STATE_FLOATING);
		}
	}
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x48, %rsp
movq %rsi, %rbx
movl %edi, %esi
leaq 0xc2d6(%rip), %rax      # 0x296c8
movq (%rax), %r14
movq %r14, %rdi
callq 0x49a0
movq %rsp, %rdx
movq %r14, %rdi
movl %eax, %esi
xorl %ecx, %ecx
callq 0x4b30
cmpb $0x1, %al
jne 0x1d457
testb $0x30, (%rsp)
je 0x1d457
movl 0x14(%rsp), %eax
cmpl 0x1c(%rsp), %eax
jne 0x1d457
movl 0x18(%rsp), %eax
cmpl 0x20(%rsp), %eax
jne 0x1d457
cmpq $0x0, 0x618(%rbx)
jne 0x1d44a
movl $0x1, %edi
movl $0x4, %esi
callq 0x48b0
movq %rax, 0x618(%rbx)
movq 0x618(%rbx), %rax
movl $0x2, (%rax)
addq $0x48, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/baskerville[P]bspwm/src/rule.c
// Function: apply_class
void _apply_class(xcb_window_t win, rule_consequence_t *csq)
{
	xcb_icccm_get_wm_class_reply_t reply;
	if (xcb_icccm_get_wm_class_reply(dpy, xcb_icccm_get_wm_class(dpy, win), &reply, NULL) == 1) {
		snprintf(csq->class_name, sizeof(csq->class_name), "%s", reply.class_name);
		snprintf(csq->instance_name, sizeof(csq->instance_name), "%s", reply.instance_name);
		xcb_icccm_get_wm_class_reply_wipe(&reply);
	}
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rsi, %rbx
movl %edi, %esi
leaq 0xc254(%rip), %rax      # 0x296c8
movq (%rax), %r14
movq %r14, %rdi
callq 0x4940
leaq 0x8(%rsp), %rdx
movq %r14, %rdi
movl %eax, %esi
xorl %ecx, %ecx
callq 0x4a20
cmpb $0x1, %al
jne 0x1d4da
leaq 0x8(%rsp), %r14
movq 0x8(%r14), %rcx
leaq 0x1ba3(%rip), %r15      # 0x1f047
movl $0x100, %esi            # imm = 0x100
movq %rbx, %rdi
movq %r15, %rdx
xorl %eax, %eax
callq 0x4110
addq $0x100, %rbx            # imm = 0x100
movq (%r14), %rcx
movl $0x100, %esi            # imm = 0x100
movq %rbx, %rdi
movq %r15, %rdx
xorl %eax, %eax
callq 0x4110
movq %r14, %rdi
callq 0x4480
addq $0x20, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/baskerville[P]bspwm/src/rule.c
// Function: apply_name
void _apply_name(xcb_window_t win, rule_consequence_t *csq)
{
	xcb_icccm_get_text_property_reply_t reply;
	if (xcb_icccm_get_wm_name_reply(dpy, xcb_icccm_get_wm_name(dpy, win), &reply, NULL) == 1) {
		snprintf(csq->name, sizeof(csq->name), "%s", reply.name);
		xcb_icccm_get_text_property_reply_wipe(&reply);
	}
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rsi, %rbx
movl %edi, %esi
leaq 0xc1d1(%rip), %rax      # 0x296c8
movq (%rax), %r14
movq %r14, %rdi
callq 0x40a0
leaq 0x8(%rsp), %rdx
movq %r14, %rdi
movl %eax, %esi
xorl %ecx, %ecx
callq 0x4260
cmpb $0x1, %al
jne 0x1d545
addq $0x200, %rbx            # imm = 0x200
leaq 0x8(%rsp), %r14
movq 0x10(%r14), %rcx
leaq 0x1b19(%rip), %rdx      # 0x1f047
movl $0x100, %esi            # imm = 0x100
movq %rbx, %rdi
xorl %eax, %eax
callq 0x4110
movq %r14, %rdi
callq 0x4830
addq $0x28, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/baskerville[P]bspwm/src/rule.c
// Function: parse_keys_values
void parse_keys_values(char *buf, rule_consequence_t *csq)
{
	char *key = strtok(buf, CSQ_BLK);
	char *value = strtok(NULL, CSQ_BLK);
	while (key != NULL && value != NULL) {
		parse_key_value(key, value, csq);
		key = strtok(NULL, CSQ_BLK);
		value = strtok(NULL, CSQ_BLK);
	}
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
leaq 0x4044(%rip), %r15      # 0x215a0
movq %r15, %rsi
callq 0x4850
movq %rax, %r14
xorl %edi, %edi
movq %r15, %rsi
callq 0x4850
testq %r14, %r14
setne %cl
testq %rax, %rax
setne %dl
andb %cl, %dl
cmpb $0x1, %dl
jne 0x1d5ba
leaq 0x4015(%rip), %r15      # 0x215a0
movq %r14, %rdi
movq %rax, %rsi
movq %rbx, %rdx
callq 0x1d5c0
xorl %edi, %edi
movq %r15, %rsi
callq 0x4850
movq %rax, %r14
xorl %edi, %edi
movq %r15, %rsi
callq 0x4850
testq %r14, %r14
je 0x1d5ba
testq %rax, %rax
jne 0x1d58b
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/baskerville[P]bspwm/src/rule.c
// Function: apply_rules
void apply_rules(xcb_window_t win, rule_consequence_t *csq)
{
	_apply_window_type(win, csq);
	_apply_window_state(win, csq);
	_apply_transient(win, csq);
	_apply_hints(win, csq);
	_apply_class(win, csq);
	_apply_name(win, csq);

	rule_t *rule = rule_head;
	while (rule != NULL) {
		rule_t *next = rule->next;
		if ((streq(rule->class_name, MATCH_ANY) || streq(rule->class_name, csq->class_name)) &&
		    (streq(rule->instance_name, MATCH_ANY) || streq(rule->instance_name, csq->instance_name)) &&
		    (streq(rule->name, MATCH_ANY) || streq(rule->name, csq->name))) {
			char effect[MAXLEN];
			snprintf(effect, sizeof(effect), "%s", rule->effect);
			parse_keys_values(effect, csq);
			if (rule->one_shot) {
				remove_rule(rule);
				break;
			}
		}
		rule = next;
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x118, %rsp            # imm = 0x118
movq %rsi, %rbx
movl %edi, %ebp
callq 0x1d13f
movl %ebp, %edi
movq %rbx, %rsi
callq 0x1d237
movl %ebp, %edi
movq %rbx, %rsi
callq 0x1d367
movl %ebp, %edi
movq %rbx, %rsi
callq 0x1d3df
movl %ebp, %edi
movq %rbx, %rsi
callq 0x1d45f
movl %ebp, %edi
movq %rbx, %rsi
callq 0x1d4e4
leaq 0xbcf8(%rip), %rax      # 0x29738
movq (%rax), %r12
leaq 0x100(%rbx), %rax
movq %rax, 0x8(%rsp)
leaq 0x200(%rbx), %rax
movq %rax, (%rsp)
leaq 0x2912(%rip), %r13      # 0x20373
testq %r12, %r12
je 0x1db40
movq 0x410(%r12), %r15
movq %r12, %rdi
movq %r13, %rsi
callq 0x4820
testl %eax, %eax
je 0x1da94
movq %r12, %rdi
movq %rbx, %rsi
callq 0x4820
testl %eax, %eax
jne 0x1db33
leaq 0x100(%r12), %rbp
movq %rbp, %rdi
movq %r13, %rsi
callq 0x4820
testl %eax, %eax
je 0x1dabc
movq %rbp, %rdi
movq 0x8(%rsp), %rsi
callq 0x4820
testl %eax, %eax
jne 0x1db33
leaq 0x200(%r12), %rbp
movq %rbp, %rdi
movq %r13, %rsi
callq 0x4820
testl %eax, %eax
je 0x1dae3
movq %rbp, %rdi
movq (%rsp), %rsi
callq 0x4820
testl %eax, %eax
jne 0x1db33
leaq 0x300(%r12), %rcx
xorl %ebp, %ebp
movl $0x100, %esi            # imm = 0x100
leaq 0x10(%rsp), %r14
movq %r14, %rdi
leaq 0x1546(%rip), %rdx      # 0x1f047
xorl %eax, %eax
callq 0x4110
movq %r14, %rdi
movq %rbx, %rsi
callq 0x1d54d
movb 0x400(%r12), %r14b
cmpb $0x1, %r14b
jne 0x1db2e
movq %r12, %rdi
callq 0x1cde1
movl $0x3, %ebp
testb %r14b, %r14b
jne 0x1db38
xorl %ebp, %ebp
movq %r15, %r12
testl %ebp, %ebp
je 0x1da61
addq $0x118, %rsp            # imm = 0x118
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/baskerville[P]bspwm/src/rule.c
// Function: schedule_rules
bool schedule_rules(xcb_window_t win, rule_consequence_t *csq)
{
	if (external_rules_command[0] == '\0') {
		return false;
	}
	resolve_rule_consequence(csq);
	int fds[2];
	if (pipe(fds) == -1) {
		return false;
	}
	pid_t pid = fork();
	if (pid == 0) {
		if (dpy != NULL) {
			close(xcb_get_file_descriptor(dpy));
		}
		dup2(fds[1], 1);
		close(fds[0]);
		char wid[SMALEN];
		char *csq_buf;
		print_rule_consequence(&csq_buf, csq);
		snprintf(wid, sizeof(wid), "%i", win);
		setsid();
		execl(external_rules_command, external_rules_command, wid, csq->class_name, csq->instance_name, csq_buf, NULL);
		free(csq_buf);
		err("Couldn't spawn rule command.\n");
	} else if (pid > 0) {
		close(fds[1]);
		pending_rule_t *pr = make_pending_rule(fds[0], win, csq);
		add_pending_rule(pr);
	}
	return (pid != -1);
}

// Assembly:
leaq 0xbc47(%rip), %rax      # 0x297a0
cmpb $0x0, (%rax)
je 0x1dbf5
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x40, %rsp
movq %rsi, %r14
movl %edi, %ebp
movq %rsi, %rdi
callq 0x19abf
leaq 0x10(%rsp), %rdi
callq 0x45a0
cmpl $-0x1, %eax
je 0x1dbf8
callq 0x49b0
movl %eax, %ebx
testl %eax, %eax
je 0x1dbff
jle 0x1dcb1
movl 0x14(%rsp), %edi
callq 0x4150
movl 0x10(%rsp), %r15d
movl $0x1, %edi
movl $0x30, %esi
callq 0x48b0
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rax)
movups %xmm0, 0x20(%rax)
movl %r15d, (%rax)
movl %ebp, 0x4(%rax)
movq %r14, 0x8(%rax)
leaq 0xbb04(%rip), %rcx      # 0x296d8
cmpq $0x0, (%rcx)
je 0x1dca4
leaq 0xbb7b(%rip), %rcx      # 0x29760
movq (%rcx), %rdx
movq %rax, 0x28(%rdx)
movq %rdx, 0x20(%rax)
jmp 0x1dcae
xorl %eax, %eax
retq
xorl %eax, %eax
jmp 0x1dcb7
leaq 0xbac2(%rip), %rax      # 0x296c8
movq (%rax), %rdi
testq %rdi, %rdi
je 0x1dc1a
callq 0x4380
movl %eax, %edi
callq 0x4150
movl 0x14(%rsp), %edi
movl $0x1, %esi
callq 0x4080
movl 0x10(%rsp), %edi
callq 0x4150
leaq 0x18(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x1aa96
leaq 0x3523(%rip), %rdx      # 0x2116b
leaq 0x20(%rsp), %r12
movl $0x20, %esi
movq %r12, %rdi
movl %ebp, %ecx
xorl %eax, %eax
callq 0x4110
callq 0x4120
leaq 0x100(%r14), %r8
movq (%r15), %r9
movq $0x0, (%rsp)
leaq 0xbb24(%rip), %rdi      # 0x297a0
movq %rdi, %rsi
movq %r12, %rdx
movq %r14, %rcx
xorl %eax, %eax
callq 0x4230
movq (%r15), %rdi
callq 0x4460
leaq 0x390a(%rip), %rdi      # 0x215a5
xorl %eax, %eax
callq 0x5c74
jmp 0x1dcb1
leaq 0xbab5(%rip), %rdx      # 0x29760
movq %rax, (%rdx)
movq %rax, (%rcx)
cmpl $-0x1, %ebx
setne %al
addq $0x40, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/baskerville[P]bspwm/src/rule.c
// Function: parse_rule_consequence
void parse_rule_consequence(int fd, rule_consequence_t *csq)
{
	if (fd == -1) {
		return;
	}
	char data[BUFSIZ];
	int nb;
	while ((nb = read(fd, data, sizeof(data))) > 0) {
		int end = MIN(nb, (int) sizeof(data) - 1);
		data[end] = '\0';
		parse_keys_values(data, csq);
	}
}

// Assembly:
cmpl $-0x1, %edi
je 0x1dd2b
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x2008, %rsp           # imm = 0x2008
movq %rsi, %rbx
movl %edi, %ebp
movq %rsp, %rsi
movl $0x2000, %edx           # imm = 0x2000
callq 0x4270
testl %eax, %eax
jle 0x1dd1e
movl $0x1fff, %r15d          # imm = 0x1FFF
movq %rsp, %r14
cmpl %r15d, %eax
cmovgel %r15d, %eax
movb $0x0, (%rsp,%rax)
movq %r14, %rdi
movq %rbx, %rsi
callq 0x1d54d
movl $0x2000, %edx           # imm = 0x2000
movl %ebp, %edi
movq %r14, %rsi
callq 0x4270
testl %eax, %eax
jg 0x1dcf5
addq $0x2008, %rsp           # imm = 0x2008
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/baskerville[P]bspwm/src/ewmh.c
// Function: ewmh_update_number_of_desktops
void ewmh_update_number_of_desktops(void)
{
	uint32_t desktops_count = 0;

	for (monitor_t *m = mon_head; m != NULL; m = m->next) {
		for (desktop_t *d = m->desk_head; d != NULL; d = d->next) {
			desktops_count++;
		}
	}

	xcb_ewmh_set_number_of_desktops(ewmh, default_screen, desktops_count);
}

// Assembly:
leaq 0xb8d8(%rip), %rax      # 0x29708
movq (%rax), %rax
xorl %edx, %edx
testq %rax, %rax
je 0x1de51
movq 0x60(%rax), %rcx
testq %rcx, %rcx
je 0x1de4b
incl %edx
movq 0x48(%rcx), %rcx
jmp 0x1de3e
movq 0x78(%rax), %rax
jmp 0x1de35
movq 0xbfd8(%rip), %rdi      # 0x29e30
leaq 0xb861(%rip), %rax      # 0x296c0
movl (%rax), %esi
jmp 0x40c0
// File: /workspace/github_c_makefile_star2_O1/baskerville[P]bspwm/src/ewmh.c
// Function: ewmh_get_desktop_index
uint32_t ewmh_get_desktop_index(desktop_t *d)
{
	uint32_t i = 0;
	for (monitor_t *m = mon_head; m != NULL; m = m->next) {
		for (desktop_t *cd = m->desk_head; cd != NULL; cd = cd->next, i++) {
			if (d == cd) {
				return i;
			}
		}
	}
	return 0;
}

// Assembly:
leaq 0xb89b(%rip), %rax      # 0x29708
movq (%rax), %rcx
testq %rcx, %rcx
je 0x1dea5
xorl %edx, %edx
movq 0x60(%rcx), %r9
testq %r9, %r9
sete %r8b
je 0x1de93
movl %edx, %eax
cmpq %rdi, %r9
je 0x1de95
incl %edx
movq 0x48(%r9), %r9
jmp 0x1de7b
movl %esi, %eax
testb %r8b, %r8b
je 0x1dea7
movq 0x78(%rcx), %rcx
movl %eax, %esi
testq %rcx, %rcx
jne 0x1de77
xorl %eax, %eax
retq
// File: /workspace/github_c_makefile_star2_O1/baskerville[P]bspwm/src/ewmh.c
// Function: ewmh_locate_desktop
bool ewmh_locate_desktop(uint32_t i, coordinates_t *loc)
{
	for (monitor_t *m = mon_head; m != NULL; m = m->next) {
		for (desktop_t *d = m->desk_head; d != NULL; d = d->next, i--) {
			if (i == 0) {
				loc->monitor = m;
				loc->desktop = d;
				loc->node = NULL;
				return true;
			}
		}
	}
	return false;
}

// Assembly:
leaq 0xb859(%rip), %rax      # 0x29708
movq (%rax), %rcx
testq %rcx, %rcx
setne %al
je 0x1df0e
movq 0x60(%rcx), %rdx
testq %rdx, %rdx
sete %r8b
je 0x1df08
testl %edi, %edi
je 0x1deea
movl $0x1, %r9d
subl %edi, %r9d
movq 0x48(%rdx), %rdx
testq %rdx, %rdx
sete %r8b
je 0x1df02
incl %r9d
cmpl $0x1, %r9d
jne 0x1ded4
movq %rcx, (%rsi)
movq %rdx, 0x8(%rsi)
movq $0x0, 0x10(%rsi)
xorl %edi, %edi
testb %r8b, %r8b
jne 0x1df08
jmp 0x1df0e
negl %r9d
movl %r9d, %edi
movq 0x78(%rcx), %rcx
jmp 0x1deb2
andb $0x1, %al
retq
// File: /workspace/github_c_makefile_star2_O1/baskerville[P]bspwm/src/ewmh.c
// Function: ewmh_update_current_desktop
void ewmh_update_current_desktop(void)
{
	if (mon == NULL) {
		return;
	}
	uint32_t i = ewmh_get_desktop_index(mon->desk);
	xcb_ewmh_set_current_desktop(ewmh, default_screen, i);
}

// Assembly:
leaq 0xb7f8(%rip), %rax      # 0x29710
movq (%rax), %rcx
testq %rcx, %rcx
je 0x1df7a
leaq 0xb7e1(%rip), %rax      # 0x29708
movq (%rax), %rax
testq %rax, %rax
je 0x1df63
movq 0x58(%rcx), %rcx
xorl %esi, %esi
movq 0x60(%rax), %r9
testq %r9, %r9
sete %r8b
je 0x1df51
movl %esi, %edx
cmpq %rcx, %r9
je 0x1df53
incl %esi
movq 0x48(%r9), %r9
jmp 0x1df39
movl %edi, %edx
testb %r8b, %r8b
je 0x1df65
movq 0x78(%rax), %rax
movl %edx, %edi
testq %rax, %rax
jne 0x1df35
xorl %edx, %edx
movq 0xbec4(%rip), %rdi      # 0x29e30
leaq 0xb74d(%rip), %rax      # 0x296c0
movl (%rax), %esi
jmp 0x48f0
retq
// File: /workspace/github_c_makefile_star2_O1/baskerville[P]bspwm/src/ewmh.c
// Function: ewmh_set_wm_desktop
void ewmh_set_wm_desktop(node_t *n, desktop_t *d)
{
	uint32_t i = ewmh_get_desktop_index(d);
	for (node_t *f = first_extrema(n); f != NULL; f = next_leaf(f, n)) {
		if (f->client == NULL) {
			continue;
		}
		xcb_ewmh_set_wm_desktop(ewmh, f->id, i);
	}
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
leaq 0xb77f(%rip), %rax      # 0x29708
movq (%rax), %rax
testq %rax, %rax
je 0x1dfc1
xorl %ecx, %ecx
movq 0x60(%rax), %r8
testq %r8, %r8
sete %dil
je 0x1dfaf
movl %ecx, %ebp
cmpq %rsi, %r8
je 0x1dfb1
incl %ecx
movq 0x48(%r8), %r8
jmp 0x1df97
movl %edx, %ebp
testb %dil, %dil
je 0x1dfc3
movq 0x78(%rax), %rax
movl %ebp, %edx
testq %rax, %rax
jne 0x1df93
xorl %ebp, %ebp
movq %rbx, %rdi
callq 0x92fd
testq %rax, %rax
je 0x1dffe
movq %rax, %r14
cmpq $0x0, 0x48(%r14)
je 0x1dfeb
movq 0xbe4f(%rip), %rdi      # 0x29e30
movl (%r14), %esi
movl %ebp, %edx
callq 0x46f0
movq %r14, %rdi
movq %rbx, %rsi
callq 0x9363
movq %rax, %r14
testq %rax, %rax
jne 0x1dfd3
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/baskerville[P]bspwm/src/ewmh.c
// Function: ewmh_update_wm_desktops
void ewmh_update_wm_desktops(void)
{
	for (monitor_t *m = mon_head; m != NULL; m = m->next) {
		for (desktop_t *d = m->desk_head; d != NULL; d = d->next) {
			uint32_t i = ewmh_get_desktop_index(d);
			for (node_t *n = first_extrema(d->root); n != NULL; n = next_leaf(n, d->root)) {
				if (n->client == NULL) {
					continue;
				}
				xcb_ewmh_set_wm_desktop(ewmh, n->id, i);
			}
		}
	}
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
leaq 0xb6f5(%rip), %r15      # 0x29708
movq (%r15), %r12
testq %r12, %r12
je 0x1e0aa
movq 0x60(%r12), %r13
testq %r13, %r13
je 0x1e0a0
movq (%r15), %rax
testq %rax, %rax
je 0x1e061
xorl %ecx, %ecx
movq 0x60(%rax), %rdi
testq %rdi, %rdi
sete %sil
je 0x1e04f
movl %ecx, %ebx
cmpq %r13, %rdi
je 0x1e051
incl %ecx
movq 0x48(%rdi), %rdi
jmp 0x1e037
movl %edx, %ebx
testb %sil, %sil
je 0x1e063
movq 0x78(%rax), %rax
movl %ebx, %edx
testq %rax, %rax
jne 0x1e033
xorl %ebx, %ebx
movq 0x30(%r13), %rdi
callq 0x92fd
movq %rax, %r14
testq %rax, %rax
je 0x1e09a
cmpq $0x0, 0x48(%r14)
je 0x1e08c
movq 0xbdae(%rip), %rdi      # 0x29e30
movl (%r14), %esi
movl %ebx, %edx
callq 0x46f0
movq 0x30(%r13), %rsi
movq %r14, %rdi
callq 0x9363
jmp 0x1e06c
movq 0x48(%r13), %r13
jmp 0x1e024
movq 0x78(%r12), %r12
jmp 0x1e016
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/baskerville[P]bspwm/src/ewmh.c
// Function: ewmh_update_desktop_names
void ewmh_update_desktop_names(void)
{
	char names[MAXLEN];
	unsigned int i, j;
	uint32_t names_len;
	i = 0;

	for (monitor_t *m = mon_head; m != NULL; m = m->next) {
		for (desktop_t *d = m->desk_head; d != NULL; d = d->next) {
			for (j = 0; d->name[j] != '\0' && (i + j) < sizeof(names); j++) {
				names[i + j] = d->name[j];
			}
			i += j;
			if (i < sizeof(names)) {
				names[i++] = '\0';
			}
		}
	}

	if (i < 1) {
		xcb_ewmh_set_desktop_names(ewmh, default_screen, 0, NULL);
		return;
	}

	names_len = i - 1;
	xcb_ewmh_set_desktop_names(ewmh, default_screen, names_len, names);
}

// Assembly:
subq $0x108, %rsp            # imm = 0x108
leaq 0xb646(%rip), %rax      # 0x29708
movq (%rax), %rax
xorl %edx, %edx
testq %rax, %rax
je 0x1e134
movq 0x60(%rax), %rcx
testq %rcx, %rcx
je 0x1e12e
movb (%rcx), %dil
cmpl $0x100, %edx            # imm = 0x100
setb %r8b
movl %edx, %esi
testb %dil, %dil
je 0x1e11d
cmpl $0xff, %edx
ja 0x1e11d
leaq 0x1(%rcx), %r9
movb %dil, (%rsp,%rsi)
movb (%r9), %dil
incq %rsi
cmpq $0x100, %rsi            # imm = 0x100
setb %r8b
incl %edx
testb %dil, %dil
je 0x1e11d
incq %r9
cmpq $0x100, %rsi            # imm = 0x100
jb 0x1e0f5
testb %r8b, %r8b
je 0x1e128
incl %edx
movb $0x0, (%rsp,%rsi)
movq 0x48(%rcx), %rcx
jmp 0x1e0d0
movq 0x78(%rax), %rax
jmp 0x1e0c7
testl %edx, %edx
je 0x1e15a
decl %edx
movq 0xbcef(%rip), %rdi      # 0x29e30
leaq 0xb578(%rip), %rax      # 0x296c0
movl (%rax), %esi
movq %rsp, %rcx
callq 0x4870
addq $0x108, %rsp            # imm = 0x108
retq
movq 0xbccf(%rip), %rdi      # 0x29e30
leaq 0xb558(%rip), %rax      # 0x296c0
movl (%rax), %esi
xorl %edx, %edx
xorl %ecx, %ecx
addq $0x108, %rsp            # imm = 0x108
jmp 0x4870
// File: /workspace/github_c_makefile_star2_O1/baskerville[P]bspwm/src/ewmh.c
// Function: ewmh_update_desktop_viewport
void ewmh_update_desktop_viewport(void)
{
	uint32_t desktops_count = 0;
	for (monitor_t *m = mon_head; m != NULL; m = m->next) {
		for (desktop_t *d = m->desk_head; d != NULL; d = d->next) {
			desktops_count++;
		}
	}
	if (desktops_count == 0) {
		xcb_ewmh_set_desktop_viewport(ewmh, default_screen, 0, NULL);
		return;
	}
	xcb_ewmh_coordinates_t coords[desktops_count];
	uint16_t desktop = 0;
	for (monitor_t *m = mon_head; m != NULL; m = m->next) {
		for (desktop_t *d = m->desk_head; d != NULL; d = d->next) {
			coords[desktop++] = (xcb_ewmh_coordinates_t){m->rectangle.x, m->rectangle.y};
		}
	}
	xcb_ewmh_set_desktop_viewport(ewmh, default_screen, desktop, coords);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
leaq 0xb581(%rip), %rax      # 0x29708
movq (%rax), %rdx
xorl %ecx, %ecx
testq %rdx, %rdx
je 0x1e1a8
movq 0x60(%rdx), %rsi
testq %rsi, %rsi
je 0x1e1a2
incl %ecx
movq 0x48(%rsi), %rsi
jmp 0x1e195
movq 0x78(%rdx), %rdx
jmp 0x1e18c
testl %ecx, %ecx
je 0x1e231
movq %rsp, %rbx
movl %ecx, %edx
movq %rsp, %rcx
leaq 0xf(,%rdx,8), %rdx
andq $-0x10, %rdx
subq %rdx, %rcx
movq %rcx, %rsp
movq (%rax), %rax
xorl %edx, %edx
testq %rax, %rax
je 0x1e212
movq 0x60(%rax), %rsi
testq %rsi, %rsi
je 0x1e206
movswl 0x4c(%rax), %edi
movswl 0x4e(%rax), %r8d
movl %edx, %r9d
leal 0x1(%r9), %edx
movzwl %r9w, %r9d
movl %edi, (%rcx,%r9,8)
movl %r8d, 0x4(%rcx,%r9,8)
movq 0x48(%rsi), %rsi
movl %edx, %r9d
testq %rsi, %rsi
jne 0x1e1e9
movq 0x78(%rax), %rax
testq %rax, %rax
jne 0x1e1d4
movzwl %dx, %edx
movq 0xbc17(%rip), %rdi      # 0x29e30
leaq 0xb4a0(%rip), %rax      # 0x296c0
movl (%rax), %esi
callq 0x4090
movq %rbx, %rsp
leaq -0x8(%rbp), %rsp
popq %rbx
popq %rbp
retq
movq 0xbbf8(%rip), %rdi      # 0x29e30
leaq 0xb481(%rip), %rax      # 0x296c0
movl (%rax), %esi
xorl %edx, %edx
xorl %ecx, %ecx
leaq -0x8(%rbp), %rsp
popq %rbx
popq %rbp
jmp 0x4090
// File: /workspace/github_c_makefile_star2_O1/baskerville[P]bspwm/src/ewmh.c
// Function: ewmh_update_client_list
void ewmh_update_client_list(bool stacking)
{
	if (clients_count == 0) {
		xcb_ewmh_set_client_list(ewmh, default_screen, 0, NULL);
		xcb_ewmh_set_client_list_stacking(ewmh, default_screen, 0, NULL);
		return;
	}

	xcb_window_t wins[clients_count];
	unsigned int i = 0;

	if (stacking) {
		for (stacking_list_t *s = stack_head; s != NULL; s = s->next) {
			wins[i++] = s->node->id;
		}
		xcb_ewmh_set_client_list_stacking(ewmh, default_screen, clients_count, wins);
	} else {
		for (monitor_t *m = mon_head; m != NULL; m = m->next) {
			for (desktop_t *d = m->desk_head; d != NULL; d = d->next) {
				for (node_t *n = first_extrema(d->root); n != NULL; n = next_leaf(n, d->root)) {
					if (n->client == NULL) {
						continue;
					}
					wins[i++] = n->id;
				}
			}
		}
		xcb_ewmh_set_client_list(ewmh, default_screen, clients_count, wins);
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
leaq 0xb27d(%rip), %r15      # 0x296f4
movl (%r15), %eax
testq %rax, %rax
je 0x1e4e2
movq %rsp, %r14
movq %rsp, %rbx
leaq 0xf(,%rax,4), %rax
andq $-0x10, %rax
subq %rax, %rbx
movq %rbx, %rsp
testb %dil, %dil
je 0x1e51b
leaq 0xb2a5(%rip), %rax      # 0x29748
movq (%rax), %rax
testq %rax, %rax
je 0x1e4c2
xorl %ecx, %ecx
movq (%rax), %rdx
movl (%rdx), %edx
movl %ecx, %esi
incl %ecx
movl %edx, (%rbx,%rsi,4)
movq 0x10(%rax), %rax
testq %rax, %rax
jne 0x1e4ad
movq 0xb967(%rip), %rdi      # 0x29e30
leaq 0xb1f0(%rip), %rax      # 0x296c0
movl (%rax), %esi
movl (%r15), %edx
movq %rbx, %rcx
callq 0x4320
jmp 0x1e598
movq 0xb947(%rip), %rdi      # 0x29e30
leaq 0xb1d0(%rip), %rbx      # 0x296c0
movl (%rbx), %esi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x4a40
movq 0xb92e(%rip), %rdi      # 0x29e30
movl (%rbx), %esi
xorl %edx, %edx
xorl %ecx, %ecx
leaq -0x28(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x4320
movq %r14, -0x30(%rbp)
leaq 0xb1e2(%rip), %rax      # 0x29708
movq (%rax), %r12
testq %r12, %r12
je 0x1e579
xorl %r13d, %r13d
movq 0x60(%r12), %r14
testq %r14, %r14
je 0x1e56f
movq 0x30(%r14), %rdi
callq 0x92fd
testq %rax, %rax
je 0x1e569
cmpq $0x0, 0x48(%rax)
je 0x1e55b
movl (%rax), %ecx
movl %r13d, %edx
incl %r13d
movl %ecx, (%rbx,%rdx,4)
movq 0x30(%r14), %rsi
movq %rax, %rdi
callq 0x9363
jmp 0x1e544
movq 0x48(%r14), %r14
jmp 0x1e536
movq 0x78(%r12), %r12
testq %r12, %r12
jne 0x1e531
movq 0xb8b0(%rip), %rdi      # 0x29e30
leaq 0xb139(%rip), %rax      # 0x296c0
movl (%rax), %esi
movl (%r15), %edx
movq %rbx, %rcx
callq 0x4a40
movq -0x30(%rbp), %r14
movq %r14, %rsp
leaq -0x28(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/baskerville[P]bspwm/src/ewmh.c
// Function: ewmh_wm_state_update
void ewmh_wm_state_update(node_t *n)
{
	client_t *c = n->client;
	size_t count = 0;
	uint32_t values[12];
#define HANDLE_WM_STATE(s)  \
	if (WM_FLAG_##s & c->wm_flags) { \
		values[count++] = ewmh->_NET_WM_STATE_##s; \
	}
	HANDLE_WM_STATE(MODAL)
	HANDLE_WM_STATE(STICKY)
	HANDLE_WM_STATE(MAXIMIZED_VERT)
	HANDLE_WM_STATE(MAXIMIZED_HORZ)
	HANDLE_WM_STATE(SHADED)
	HANDLE_WM_STATE(SKIP_TASKBAR)
	HANDLE_WM_STATE(SKIP_PAGER)
	HANDLE_WM_STATE(HIDDEN)
	HANDLE_WM_STATE(FULLSCREEN)
	HANDLE_WM_STATE(ABOVE)
	HANDLE_WM_STATE(BELOW)
	HANDLE_WM_STATE(DEMANDS_ATTENTION)
#undef HANDLE_WM_STATE
	xcb_ewmh_set_wm_state(ewmh, n->id, count, values);
}

// Assembly:
subq $0x38, %rsp
movq 0x48(%rdi), %rax
movl 0x378(%rax), %ecx
testb $0x1, %cl
jne 0x1e5c4
movq %rsp, %rsi
xorl %edx, %edx
jmp 0x1e5de
leaq 0x4(%rsp), %rsi
movq 0xb860(%rip), %rdx      # 0x29e30
movl 0x108(%rdx), %edx
movl %edx, -0x4(%rsi)
movl $0x1, %edx
testb $0x2, %cl
je 0x1e5f7
movq 0xb846(%rip), %r8       # 0x29e30
movl 0x10c(%r8), %r8d
incq %rdx
movl %r8d, (%rsi)
testb $0x4, %cl
je 0x1e60f
movq 0xb82d(%rip), %rcx      # 0x29e30
movl 0x110(%rcx), %ecx
movl %ecx, (%rsp,%rdx,4)
incq %rdx
testb $0x8, 0x378(%rax)
je 0x1e62b
movq 0xb811(%rip), %rcx      # 0x29e30
movl 0x114(%rcx), %ecx
movl %ecx, (%rsp,%rdx,4)
incq %rdx
testb $0x10, 0x378(%rax)
je 0x1e647
movq 0xb7f5(%rip), %rcx      # 0x29e30
movl 0x118(%rcx), %ecx
movl %ecx, (%rsp,%rdx,4)
incq %rdx
testb $0x20, 0x378(%rax)
je 0x1e663
movq 0xb7d9(%rip), %rcx      # 0x29e30
movl 0x11c(%rcx), %ecx
movl %ecx, (%rsp,%rdx,4)
incq %rdx
testb $0x40, 0x378(%rax)
je 0x1e67f
movq 0xb7bd(%rip), %rcx      # 0x29e30
movl 0x120(%rcx), %ecx
movl %ecx, (%rsp,%rdx,4)
incq %rdx
testb $-0x80, 0x378(%rax)
je 0x1e69b
movq 0xb7a1(%rip), %rcx      # 0x29e30
movl 0x124(%rcx), %ecx
movl %ecx, (%rsp,%rdx,4)
incq %rdx
testb $0x1, 0x379(%rax)
je 0x1e6b7
movq 0xb785(%rip), %rcx      # 0x29e30
movl 0x128(%rcx), %ecx
movl %ecx, (%rsp,%rdx,4)
incq %rdx
testb $0x2, 0x379(%rax)
je 0x1e6d3
movq 0xb769(%rip), %rcx      # 0x29e30
movl 0x12c(%rcx), %ecx
movl %ecx, (%rsp,%rdx,4)
incq %rdx
testb $0x4, 0x379(%rax)
je 0x1e6ef
movq 0xb74d(%rip), %rcx      # 0x29e30
movl 0x130(%rcx), %ecx
movl %ecx, (%rsp,%rdx,4)
incq %rdx
testb $0x8, 0x379(%rax)
je 0x1e70b
movq 0xb731(%rip), %rax      # 0x29e30
movl 0x134(%rax), %eax
movl %eax, (%rsp,%rdx,4)
incq %rdx
movq 0xb71e(%rip), %rax      # 0x29e30
movl (%rdi), %esi
movq %rsp, %rcx
movq %rax, %rdi
callq 0x48a0
addq $0x38, %rsp
retq
// File: /workspace/github_c_makefile_star2_O1/baskerville[P]bspwm/src/ewmh.c
// Function: ewmh_set_supporting
void ewmh_set_supporting(xcb_window_t win)
{
	pid_t wm_pid = getpid();
	xcb_ewmh_set_supporting_wm_check(ewmh, root, win);
	xcb_ewmh_set_supporting_wm_check(ewmh, win, win);
	xcb_ewmh_set_wm_name(ewmh, win, strlen(WM_NAME), WM_NAME);
	xcb_ewmh_set_wm_pid(ewmh, win, wm_pid);
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movl %edi, %ebx
callq 0x4370
movl %eax, %ebp
movq 0xb6f9(%rip), %rdi      # 0x29e30
leaq 0xb03a(%rip), %rax      # 0x29778
movl (%rax), %esi
movl %ebx, %edx
callq 0x4450
movq 0xb6e2(%rip), %rdi      # 0x29e30
movl %ebx, %esi
movl %ebx, %edx
callq 0x4450
movq 0xb6d2(%rip), %rdi      # 0x29e30
leaq 0x8cb(%rip), %rcx       # 0x1f030
movl %ebx, %esi
movl $0x5, %edx
callq 0x4720
movq 0xb6b8(%rip), %rdi      # 0x29e30
movl %ebx, %esi
movl %ebp, %edx
addq $0x8, %rsp
popq %rbx
popq %rbp
jmp 0x49d0
nop
// File: /workspace/github_c_makefile_star2_O1/baskerville[P]bspwm/src/subscribe.c
// Function: make_subscriber
subscriber_list_t *make_subscriber(FILE *stream, char *fifo_path, int field, int count)
{
	subscriber_list_t *sb = calloc(1, sizeof(subscriber_list_t));
	sb->prev = sb->next = NULL;
	sb->stream = stream;
	sb->fifo_path = fifo_path;
	sb->field = field;
	sb->count = count;
	return sb;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %ecx, %ebx
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %r15
movl $0x1, %edi
movl $0x28, %esi
callq 0x48b0
xorps %xmm0, %xmm0
movups %xmm0, 0x18(%rax)
movq %r15, (%rax)
movq %r14, 0x8(%rax)
movl %ebp, 0x10(%rax)
movl %ebx, 0x14(%rax)
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/baskerville[P]bspwm/src/subscribe.c
// Function: remove_subscriber
void remove_subscriber(subscriber_list_t *sb)
{
	if (sb == NULL) {
		return;
	}
	subscriber_list_t *a = sb->prev;
	subscriber_list_t *b = sb->next;
	if (a != NULL) {
		a->next = b;
	}
	if (b != NULL) {
		b->prev = a;
	}
	if (sb == subscribe_head) {
		subscribe_head = b;
	}
	if (sb == subscribe_tail) {
		subscribe_tail = a;
	}
	if (restart) {
		int cli_fd = fileno(sb->stream);
		fcntl(cli_fd, F_SETFD, ~FD_CLOEXEC & fcntl(cli_fd, F_GETFD));
	} else {
		fclose(sb->stream);
		unlink(sb->fifo_path);
	}
	free(sb->fifo_path);
	free(sb);
}

// Assembly:
testq %rdi, %rdi
je 0x1e843
pushq %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x18(%rdi), %rax
movq 0x20(%rdi), %rcx
testq %rax, %rax
je 0x1e7e3
movq %rcx, 0x20(%rax)
testq %rcx, %rcx
je 0x1e7ec
movq %rax, 0x18(%rcx)
leaq 0xaf65(%rip), %rdx      # 0x29758
cmpq %rbx, (%rdx)
jne 0x1e7fb
movq %rcx, (%rdx)
leaq 0xaf4e(%rip), %rcx      # 0x29750
cmpq %rbx, (%rcx)
jne 0x1e80a
movq %rax, (%rcx)
leaq 0xaecf(%rip), %rax      # 0x296e0
movq (%rbx), %rdi
cmpb $0x1, (%rax)
jne 0x1e844
callq 0x4060
movl %eax, %ebp
movl %eax, %edi
movl $0x1, %esi
xorl %eax, %eax
callq 0x4ab0
andl $-0x2, %eax
movl %ebp, %edi
movl $0x2, %esi
movl %eax, %edx
xorl %eax, %eax
callq 0x4ab0
jmp 0x1e852
retq
callq 0x48c0
movq 0x8(%rbx), %rdi
callq 0x42e0
movq 0x8(%rbx), %rdi
callq 0x4460
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %rbp
jmp 0x4460
// File: /workspace/github_c_makefile_star2_O1/baskerville[P]bspwm/src/subscribe.c
// Function: add_subscriber
void add_subscriber(subscriber_list_t *sb)
{
	if (subscribe_head == NULL) {
		subscribe_head = subscribe_tail = sb;
	} else {
		subscribe_tail->next = sb;
		sb->prev = subscribe_tail;
		subscribe_tail = sb;
	}
	int cli_fd = fileno(sb->stream);
	fcntl(cli_fd, F_SETFD, FD_CLOEXEC | fcntl(cli_fd, F_GETFD));
	if (sb->field & SBSC_MASK_REPORT) {
		print_report(sb->stream);
		if (sb->count-- == 1) {
			remove_subscriber(sb);
		}
	}
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0xaee2(%rip), %rax      # 0x29758
cmpq $0x0, (%rax)
je 0x1e890
leaq 0xaecd(%rip), %rax      # 0x29750
movq (%rax), %rcx
movq %rbx, 0x20(%rcx)
movq %rcx, 0x18(%rbx)
jmp 0x1e89a
leaq 0xaeb9(%rip), %rcx      # 0x29750
movq %rbx, (%rcx)
movq %rbx, (%rax)
movq (%rbx), %rdi
callq 0x4060
movl %eax, %ebp
movl %eax, %edi
movl $0x1, %esi
xorl %eax, %eax
callq 0x4ab0
orl $0x1, %eax
movl %ebp, %edi
movl $0x2, %esi
movl %eax, %edx
xorl %eax, %eax
callq 0x4ab0
testb $0x1, 0x10(%rbx)
je 0x1e8f2
movq (%rbx), %rdi
callq 0x1e8f9
movl 0x14(%rbx), %eax
leal -0x1(%rax), %ecx
movl %ecx, 0x14(%rbx)
cmpl $0x1, %eax
jne 0x1e8f2
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %rbp
jmp 0x1e7c7
addq $0x8, %rsp
popq %rbx
popq %rbp
retq