LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O2/baskerville[P]bspwm/src/tree.c
// Function: neutralize_occluding_windows
void neutralize_occluding_windows(monitor_t *m, desktop_t *d, node_t *n)
{
	bool changed = false;
	for (node_t *f = first_extrema(n); f != NULL; f = next_leaf(f, n)) {
		for (node_t *a = first_extrema(d->root); a != NULL; a = next_leaf(a, d->root)) {
			if (a != f && a->client != NULL && f->client != NULL &&
			    IS_FULLSCREEN(a->client) && stack_cmp(f->client, a->client) < 0) {
				set_state(m, d, a, a->client->last_state);
				changed = true;
			}
		}
	}
	if (changed) {
		arrange(m, d);
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r15
movq %rsi, %rbx
movq %rdi, %r14
movq %rdx, %rdi
callq 0x8e72
movq %rax, %r12
xorl %ebp, %ebp
testq %r12, %r12
je 0x9864
movq 0x30(%rbx), %rdi
callq 0x8e72
movq %rax, %r13
testq %rax, %rax
je 0x9854
cmpq %r12, %r13
je 0x9846
movq 0x48(%r13), %rsi
testq %rsi, %rsi
je 0x9846
movq 0x48(%r12), %rdi
testq %rdi, %rdi
je 0x9846
cmpl $0x3, 0x308(%rsi)
jne 0x9846
callq 0xc72a
testl %eax, %eax
jns 0x9846
movq 0x48(%r13), %rax
movl 0x30c(%rax), %ecx
movq %r14, %rdi
movq %rbx, %rsi
movq %r13, %rdx
callq 0xbd28
movb $0x1, %bpl
movq 0x30(%rbx), %rsi
movq %r13, %rdi
callq 0x8ed0
jmp 0x97f9
movq %r12, %rdi
movq %r15, %rsi
callq 0x8ed0
movq %rax, %r12
jmp 0x97eb
testb $0x1, %bpl
je 0x9883
movq %r14, %rdi
movq %rbx, %rsi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x8670
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/baskerville[P]bspwm/src/tree.c
// Function: is_descendant
bool is_descendant(node_t *a, node_t *b)
{
	if (a == NULL || b == NULL) {
		return false;
	}
	while (a != b && a != NULL) {
		a = a->parent;
	}
	return a == b;
}

// Assembly:
testq %rdi, %rdi
sete %al
testq %rsi, %rsi
sete %cl
orb %al, %cl
je 0x98a5
xorl %eax, %eax
retq
cmpq %rsi, %rdi
je 0x98b5
testq %rdi, %rdi
je 0x98b5
movq 0x40(%rdi), %rdi
jmp 0x98a5
cmpq %rsi, %rdi
sete %al
retq
// File: /workspace/github_c_makefile_star2_O2/baskerville[P]bspwm/src/tree.c
// Function: transfer_sticky_nodes
void transfer_sticky_nodes(monitor_t *ms, desktop_t *ds, monitor_t *md, desktop_t *dd, node_t *n)
{
	if (n == NULL) {
		return;
	} else if (n->sticky) {
		sticky_still = false;
		transfer_node(ms, ds, n, md, dd, dd->focus, false);
		sticky_still = true;
	} else {
		/* we need references to the children because n might be freed after
		 * the first recursive call */
		node_t *first_child = n->first_child;
		node_t *second_child = n->second_child;
		transfer_sticky_nodes(ms, ds, md, dd, first_child);
		transfer_sticky_nodes(ms, ds, md, dd, second_child);
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r8, %r14
movq %rcx, %rbx
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %r13
testq %r14, %r14
je 0x9928
cmpb $0x1, 0x26(%r14)
je 0x98fd
movq 0x30(%r14), %r8
movq 0x38(%r14), %r14
movq %r13, %rdi
movq %r12, %rsi
movq %r15, %rdx
movq %rbx, %rcx
callq 0x98bc
jmp 0x98d6
leaq 0x1ee66(%rip), %rbp     # 0x2876a
movb $0x0, (%rbp)
movq 0x38(%rbx), %r9
andl $0x0, (%rsp)
movq %r13, %rdi
movq %r12, %rsi
movq %r14, %rdx
movq %r15, %rcx
movq %rbx, %r8
callq 0x9937
movb $0x1, (%rbp)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/baskerville[P]bspwm/src/tree.c
// Function: set_urgent
void set_urgent(monitor_t *m, desktop_t *d, node_t *n, bool value)
{
	if (value && mon->desk->focus == n) {
		return;
	}

	n->client->urgent = value;

	if (value) {
		n->client->wm_flags |= WM_FLAG_DEMANDS_ATTENTION;
	} else {
		n->client->wm_flags &= ~WM_FLAG_DEMANDS_ATTENTION;
	}

	ewmh_wm_state_update(n);

	put_status(SBSC_MASK_NODE_FLAG, "node_flag 0x%08X 0x%08X 0x%08X urgent %s\n", m->id, d->id, n->id, ON_OFF_STR(value));
	put_status(SBSC_MASK_REPORT);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
testl %ecx, %ecx
je 0xa0b5
leaq 0x1e682(%rip), %rax     # 0x28710
movq (%rax), %rax
movq 0x58(%rax), %rax
cmpq %rbx, 0x38(%rax)
je 0xa10b
movq 0x48(%rbx), %rax
movb %cl, 0x304(%rax)
orb $0x8, 0x379(%rax)
leaq 0x15a16(%rip), %r12     # 0x1fac9
jmp 0xa0cd
movq 0x48(%rbx), %rax
movb %cl, 0x304(%rax)
andb $-0x9, 0x379(%rax)
leaq 0x147cd(%rip), %r12     # 0x1e89a
movq %rbx, %rdi
callq 0x1cbb9
movl 0x20(%r15), %edx
movl 0x20(%r14), %ecx
movl (%rbx), %r8d
leaq 0x14860(%rip), %rsi     # 0x1e947
movl $0x2000000, %edi        # imm = 0x2000000
movq %r12, %r9
xorl %eax, %eax
callq 0x1d07d
pushq $0x1
popq %rdi
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x1d07d
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/baskerville[P]bspwm/src/tree.c
// Function: hide_node
void hide_node(desktop_t *d, node_t *n)
{
	if (n == NULL || (!hide_sticky && n->sticky)) {
		return;
	} else {
		if (!n->hidden) {
			if (n->presel != NULL && d->layout != LAYOUT_MONOCLE) {
				window_hide(n->presel->feedback);
			}
			if (n->client != NULL) {
				window_hide(n->id);
			}
		}
		if (n->client != NULL) {
			n->client->shown = false;
		}
		hide_node(d, n->first_child);
		hide_node(d, n->second_child);
	}
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x1e640(%rip), %r15     # 0x28769
testq %rbx, %rbx
je 0xa188
cmpb $0x0, (%r15)
jne 0xa13a
cmpb $0x0, 0x26(%rbx)
jne 0xa188
cmpb $0x0, 0x25(%rbx)
jne 0xa166
movq 0x10(%rbx), %rax
testq %rax, %rax
je 0xa158
cmpl $0x1, 0x24(%r14)
je 0xa158
movl 0xc(%rax), %edi
callq 0xf6f7
cmpq $0x0, 0x48(%rbx)
je 0xa166
movl (%rbx), %edi
callq 0xf6f7
movq 0x48(%rbx), %rax
testq %rax, %rax
je 0xa176
movb $0x0, 0x305(%rax)
movq 0x30(%rbx), %rsi
movq %r14, %rdi
callq 0xa117
movq 0x38(%rbx), %rbx
jmp 0xa129
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/baskerville[P]bspwm/src/tree.c
// Function: show_node
void show_node(desktop_t *d, node_t *n)
{
	if (n == NULL) {
		return;
	} else {
		if (!n->hidden) {
			if (n->client != NULL) {
				window_show(n->id);
			}
			if (n->presel != NULL && d->layout != LAYOUT_MONOCLE) {
				window_show(n->presel->feedback);
			}
		}
		if (n->client != NULL) {
			n->client->shown = true;
		}
		show_node(d, n->first_child);
		show_node(d, n->second_child);
	}
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
testq %rbx, %rbx
je 0xa1eb
cmpb $0x0, 0x25(%rbx)
jne 0xa1c9
cmpq $0x0, 0x48(%rbx)
je 0xa1b1
movl (%rbx), %edi
callq 0xf175
movq 0x10(%rbx), %rax
testq %rax, %rax
je 0xa1c9
cmpl $0x1, 0x24(%r14)
je 0xa1c9
movl 0xc(%rax), %edi
callq 0xf175
movq 0x48(%rbx), %rax
testq %rax, %rax
je 0xa1d9
movb $0x1, 0x305(%rax)
movq 0x30(%rbx), %rsi
movq %r14, %rdi
callq 0xa18e
movq 0x38(%rbx), %rbx
jmp 0xa198
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/baskerville[P]bspwm/src/tree.c
// Function: make_client
client_t *make_client(void)
{
	client_t *c = calloc(1, sizeof(client_t));
	c->state = c->last_state = STATE_TILED;
	c->layer = c->last_layer = LAYER_NORMAL;
	snprintf(c->class_name, sizeof(c->class_name), "%s", MISSING_VALUE);
	snprintf(c->instance_name, sizeof(c->instance_name), "%s", MISSING_VALUE);
	c->border_width = border_width;
	c->urgent = false;
	c->shown = false;
	c->wm_flags = 0;
	c->icccm_props.input_hint = true;
	c->icccm_props.take_focus = false;
	c->icccm_props.delete_window = false;
	c->size_hints.flags = 0;
	c->honor_size_hints = honor_size_hints;
	return c;
}

// Assembly:
pushq %rax
pushq $0x1
popq %rdi
movl $0x37c, %esi            # imm = 0x37C
callq 0x48b0
movabsq $0x100000001, %rcx      # imm = 0x100000001
movq %rcx, 0x310(%rax)
movl $0x412f4e, %ecx         # imm = 0x412F4E
movl %ecx, (%rax)
movl %ecx, 0x100(%rax)
leaq 0x1eb9e(%rip), %rcx     # 0x28dc4
movl (%rcx), %ecx
movl %ecx, 0x300(%rax)
movb $0x1, 0x375(%rax)
leaq 0x1ebcc(%rip), %rcx     # 0x28e08
movl (%rcx), %ecx
movl %ecx, 0x328(%rax)
popq %rcx
retq
// File: /workspace/github_c_makefile_star2_O2/baskerville[P]bspwm/src/tree.c
// Function: clients_count_in
unsigned int clients_count_in(node_t *n)
{
	if (n == NULL) {
		return 0;
	} else {
		return (n->client != NULL ? 1 : 0) +
		        clients_count_in(n->first_child) +
		        clients_count_in(n->second_child);
	}
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %r14
xorl %ebx, %ebx
testq %r14, %r14
je 0xa4aa
movq 0x30(%r14), %rdi
movq 0x48(%r14), %r15
callq 0xa47f
movq 0x38(%r14), %r14
cmpq $0x1, %r15
sbbl $-0x1, %ebx
addl %eax, %ebx
jmp 0xa489
movl %ebx, %eax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/baskerville[P]bspwm/src/tree.c
// Function: brother_tree
node_t *brother_tree(node_t *n)
{
	if (n == NULL || n->parent == NULL) {
		return NULL;
	}
	if (is_first_child(n)) {
		return n->parent->second_child;
	} else {
		return n->parent->first_child;
	}
}

// Assembly:
testq %rdi, %rdi
je 0xa4ca
movq 0x40(%rdi), %rcx
testq %rcx, %rcx
je 0xa4ca
movq 0x30(%rcx), %rax
cmpq %rdi, %rax
je 0xa4cd
retq
xorl %eax, %eax
retq
movq 0x38(%rcx), %rax
retq
// File: /workspace/github_c_makefile_star2_O2/baskerville[P]bspwm/src/tree.c
// Function: next_node
node_t *next_node(node_t *n)
{
	if (n == NULL) {
		return NULL;
	}

	if (n->second_child != NULL) {
		return first_extrema(n->second_child);
	} else {
		node_t *p = n;
		while (is_second_child(p)) {
			p = p->parent;
		}
		if (is_first_child(p)) {
			return p->parent;
		} else {
			return NULL;
		}
	}
}

// Assembly:
testq %rdi, %rdi
je 0xa4fa
movq 0x38(%rdi), %rax
testq %rax, %rax
je 0xa4fd
movq %rax, %rdi
jmp 0x8e72
xorl %eax, %eax
retq
xorl %eax, %eax
movq %rdi, %rcx
movq 0x40(%rdi), %rdi
testq %rdi, %rdi
je 0xa51b
cmpq %rcx, 0x38(%rdi)
je 0xa4ff
xorl %eax, %eax
cmpq %rcx, 0x30(%rdi)
cmoveq %rdi, %rax
retq
// File: /workspace/github_c_makefile_star2_O2/baskerville[P]bspwm/src/tree.c
// Function: prev_node
node_t *prev_node(node_t *n)
{
	if (n == NULL) {
		return NULL;
	}

	if (n->first_child != NULL) {
		return second_extrema(n->first_child);
	} else {
		node_t *p = n;
		while (is_first_child(p)) {
			p = p->parent;
		}
		if (is_second_child(p)) {
			return p->parent;
		} else {
			return NULL;
		}
	}
}

// Assembly:
testq %rdi, %rdi
je 0xa532
movq 0x30(%rdi), %rax
testq %rax, %rax
je 0xa535
movq %rax, %rdi
jmp 0xa4d2
xorl %eax, %eax
retq
xorl %eax, %eax
movq %rdi, %rcx
movq 0x40(%rdi), %rdi
testq %rdi, %rdi
je 0xa553
cmpq %rcx, 0x30(%rdi)
je 0xa537
xorl %eax, %eax
cmpq %rcx, 0x38(%rdi)
cmoveq %rdi, %rax
retq
// File: /workspace/github_c_makefile_star2_O2/baskerville[P]bspwm/src/tree.c
// Function: prev_leaf
node_t *prev_leaf(node_t *n, node_t *r)
{
	if (n == NULL) {
		return NULL;
	}
	node_t *p = n;
	while (is_first_child(p) && p != r) {
		p = p->parent;
	}
	if (p == r) {
		return NULL;
	}
	return second_extrema(p->parent->first_child);
}

// Assembly:
testq %rdi, %rdi
je 0xa582
movq %rdi, %rax
movq 0x40(%rdi), %rdi
testq %rdi, %rdi
je 0xa570
cmpq %rsi, %rax
je 0xa570
cmpq %rax, 0x30(%rdi)
je 0xa559
cmpq %rsi, %rax
je 0xa582
movq 0x40(%rax), %rax
movq 0x30(%rax), %rdi
jmp 0xa4d2
xorl %eax, %eax
retq
// File: /workspace/github_c_makefile_star2_O2/baskerville[P]bspwm/src/tree.c
// Function: is_adjacent
bool is_adjacent(node_t *a, node_t *b, direction_t dir)
{
	switch (dir) {
		case DIR_EAST:
			return (a->rectangle.x + a->rectangle.width) == b->rectangle.x;
			break;
		case DIR_SOUTH:
			return (a->rectangle.y + a->rectangle.height) == b->rectangle.y;
			break;
		case DIR_WEST:
			return (b->rectangle.x + b->rectangle.width) == a->rectangle.x;
			break;
		case DIR_NORTH:
			return (b->rectangle.y + b->rectangle.height) == a->rectangle.y;
			break;
	}
	return false;
}

// Assembly:
cmpl $0x3, %edx
ja 0xa62c
movl %edx, %eax
leaq 0x14009(%rip), %rcx     # 0x1e5e8
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movswl 0x1a(%rsi), %eax
movzwl 0x1e(%rsi), %ecx
addl %eax, %ecx
movswl 0x1a(%rdi), %eax
jmp 0xa626
movswl 0x1a(%rdi), %eax
movzwl 0x1e(%rdi), %ecx
addl %eax, %ecx
movswl 0x1a(%rsi), %eax
jmp 0xa626
movswl 0x18(%rdi), %eax
movzwl 0x1c(%rdi), %ecx
addl %eax, %ecx
movswl 0x18(%rsi), %eax
jmp 0xa626
movswl 0x18(%rsi), %eax
movzwl 0x1c(%rsi), %ecx
addl %eax, %ecx
movswl 0x18(%rdi), %eax
cmpl %eax, %ecx
sete %al
retq
xorl %eax, %eax
retq
// File: /workspace/github_c_makefile_star2_O2/baskerville[P]bspwm/src/tree.c
// Function: find_fence
node_t *find_fence(node_t *n, direction_t dir)
{
	node_t *p;

	if (n == NULL) {
		return NULL;
	}

	p = n->parent;

	while (p != NULL) {
		if ((dir == DIR_NORTH && p->split_type == TYPE_HORIZONTAL && p->rectangle.y < n->rectangle.y) ||
		    (dir == DIR_WEST && p->split_type == TYPE_VERTICAL && p->rectangle.x < n->rectangle.x) ||
		    (dir == DIR_SOUTH && p->split_type == TYPE_HORIZONTAL && (p->rectangle.y + p->rectangle.height) > (n->rectangle.y + n->rectangle.height)) ||
		    (dir == DIR_EAST && p->split_type == TYPE_VERTICAL && (p->rectangle.x + p->rectangle.width) > (n->rectangle.x + n->rectangle.width)))
			return p;
		p = p->parent;
	}

	return NULL;
}

// Assembly:
testq %rdi, %rdi
je 0xa6d1
movl %esi, %ecx
leaq 0x13fb7(%rip), %rdx     # 0x1e5f8
movq %rdi, %rax
movq 0x40(%rax), %rax
testq %rax, %rax
je 0xa6d1
cmpl $0x3, %esi
ja 0xa644
movslq (%rdx,%rcx,4), %r8
addq %rdx, %r8
jmpq *%r8
cmpl $0x0, 0x4(%rax)
jne 0xa644
movzwl 0x1a(%rax), %r8d
cmpw 0x1a(%rdi), %r8w
jge 0xa644
jmp 0xa6d0
cmpl $0x0, 0x4(%rax)
jne 0xa644
movswl 0x1a(%rax), %r8d
movzwl 0x1e(%rax), %r9d
addl %r8d, %r9d
movswl 0x1a(%rdi), %r8d
movzwl 0x1e(%rdi), %r10d
jmp 0xa6b0
cmpl $0x1, 0x4(%rax)
jne 0xa644
movswl 0x18(%rax), %r8d
movzwl 0x1c(%rax), %r9d
addl %r8d, %r9d
movswl 0x18(%rdi), %r8d
movzwl 0x1c(%rdi), %r10d
addl %r8d, %r10d
cmpl %r10d, %r9d
jle 0xa644
jmp 0xa6d0
cmpl $0x1, 0x4(%rax)
jne 0xa644
movzwl 0x18(%rax), %r8d
cmpw 0x18(%rdi), %r8w
jge 0xa644
retq
xorl %eax, %eax
retq
// File: /workspace/github_c_makefile_star2_O2/baskerville[P]bspwm/src/tree.c
// Function: find_by_id
bool find_by_id(uint32_t id, 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) {
			node_t *n = find_by_id_in(d->root, id);
			if (n != NULL) {
				loc->monitor = m;
				loc->desktop = d;
				loc->node = n;
				return true;
			}
		}
	}
	return false;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movl %edi, %ebp
leaq 0x1e006(%rip), %r14     # 0x28708
movq (%r14), %r14
testq %r14, %r14
je 0xa73d
leaq 0x60(%r14), %r15
movq (%r15), %r15
testq %r15, %r15
je 0xa72c
movq 0x30(%r15), %rdi
movl %ebp, %esi
callq 0xa74e
testq %rax, %rax
jne 0xa732
addq $0x48, %r15
jmp 0xa70e
addq $0x78, %r14
jmp 0xa702
movq %r14, (%rbx)
movq %r15, 0x8(%rbx)
movq %rax, 0x10(%rbx)
testq %r14, %r14
setne %al
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/baskerville[P]bspwm/src/tree.c
// Function: find_by_id_in
node_t *find_by_id_in(node_t *r, uint32_t id)
{
	if (r == NULL) {
		return NULL;
	} else if (r->id == id) {
		return r;
	} else {
		node_t *f = find_by_id_in(r->first_child, id);
		if (f != NULL) {
			return f;
		} else {
			return find_by_id_in(r->second_child, id);
		}
	}
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movl %esi, %ebp
movq %rdi, %rbx
testq %rbx, %rbx
je 0xa775
cmpl %ebp, (%rbx)
je 0xa77c
movq 0x30(%rbx), %rdi
movl %ebp, %esi
callq 0xa74e
testq %rax, %rax
jne 0xa779
movq 0x38(%rbx), %rbx
jmp 0xa756
xorl %ebx, %ebx
jmp 0xa77c
movq %rax, %rbx
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/baskerville[P]bspwm/src/tree.c
// Function: find_any_node
void find_any_node(coordinates_t *ref, coordinates_t *dst, node_select_t *sel)
{
	for (monitor_t *m = mon_head; m != NULL; m = m->next) {
		for (desktop_t *d = m->desk_head; d != NULL; d = d->next) {
			if (find_any_node_in(m, d, d->root, ref, dst, sel)) {
				return;
			}
		}
	}
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
leaq 0x1df69(%rip), %r12     # 0x28708
movq (%r12), %r12
testq %r12, %r12
je 0xa7de
leaq 0x60(%r12), %r13
movq (%r13), %r13
testq %r13, %r13
je 0xa7d8
movq 0x30(%r13), %rdx
movq %r12, %rdi
movq %r13, %rsi
movq %r15, %rcx
movq %r14, %r8
movq %rbx, %r9
callq 0xa7e8
addq $0x48, %r13
testb %al, %al
je 0xa7ad
jmp 0xa7de
addq $0x78, %r12
jmp 0xa79f
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/baskerville[P]bspwm/src/tree.c
// Function: find_any_node_in
bool find_any_node_in(monitor_t *m, desktop_t *d, node_t *n, coordinates_t *ref, coordinates_t *dst, node_select_t *sel)
{
	if (n == NULL) {
		return false;
	} else {
		coordinates_t loc = {m, d, n};
		if (node_matches(&loc, ref, sel)) {
			*dst = loc;
			return true;
		} else {
			if (find_any_node_in(m, d, n->first_child, ref, dst, sel)) {
				return true;
			} else {
				return find_any_node_in(m, d, n->second_child, ref, dst, sel);
			}
		}
	}
}

// Assembly:
testq %rdx, %rdx
je 0xa83e
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %r9, %r14
movq %r8, %rbx
movq %rcx, %r15
movq %rdx, %rbp
movq %rsi, %r12
movq %rdi, %r13
movq %rsp, %rdi
movq %r13, (%rdi)
movq %rsi, 0x8(%rdi)
movq %rdx, 0x10(%rdi)
movq %rcx, %rsi
movq %r9, %rdx
callq 0x17e76
testb %al, %al
je 0xa841
movq 0x10(%rsp), %rax
movq %rax, 0x10(%rbx)
movups (%rsp), %xmm0
movups %xmm0, (%rbx)
movb $0x1, %al
jmp 0xa879
xorl %eax, %eax
retq
movq 0x30(%rbp), %rdx
movq %r13, %rdi
movq %r12, %rsi
movq %r15, %rcx
movq %rbx, %r8
movq %r14, %r9
callq 0xa7e8
movl %eax, %ecx
movb $0x1, %al
testb %cl, %cl
jne 0xa879
movq 0x38(%rbp), %rdx
movq %r13, %rdi
movq %r12, %rsi
movq %r15, %rcx
movq %rbx, %r8
movq %r14, %r9
callq 0xa7e8
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/baskerville[P]bspwm/src/tree.c
// Function: find_first_ancestor
void find_first_ancestor(coordinates_t *ref, coordinates_t *dst, node_select_t *sel)
{
	if (ref->node == NULL) {
		return;
	}

	coordinates_t loc = {ref->monitor, ref->desktop, ref->node};
	while ((loc.node = loc.node->parent) != NULL) {
		if (node_matches(&loc, ref, sel)) {
			*dst = loc;
			return;
		}
	}
}

// Assembly:
movq 0x10(%rdi), %rax
testq %rax, %rax
je 0xa8f5
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, %r14
movq %rsi, %rbx
movq %rdi, %r15
movups (%rdi), %xmm0
movq %rsp, %r12
movaps %xmm0, (%r12)
movq %rax, 0x10(%r12)
movq 0x10(%rsp), %rax
movq 0x40(%rax), %rax
movq %rax, 0x10(%rsp)
testq %rax, %rax
je 0xa8ea
movq %r12, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x17e76
testb %al, %al
je 0xa8b5
movq 0x10(%rsp), %rax
movq %rax, 0x10(%rbx)
movaps (%rsp), %xmm0
movups %xmm0, (%rbx)
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/baskerville[P]bspwm/src/tree.c
// Function: find_nearest_neighbor
void find_nearest_neighbor(coordinates_t *ref, coordinates_t *dst, direction_t dir, node_select_t *sel)
{
	xcb_rectangle_t rect = get_rectangle(ref->monitor, ref->desktop, ref->node);
	uint32_t md = UINT32_MAX, mr = UINT32_MAX;

	for (monitor_t *m = mon_head; m != NULL; m = m->next) {
		desktop_t *d = m->desk;
		for (node_t *f = first_extrema(d->root); f != NULL; f = next_leaf(f, d->root)) {
			coordinates_t loc = {m, d, f};
			xcb_rectangle_t r = get_rectangle(m, d, f);
			if (f == ref->node ||
			    f->client == NULL ||
			    f->hidden ||
			    is_descendant(f, ref->node) ||
			    !node_matches(&loc, ref, sel) ||
			    !on_dir_side(rect, r, dir)) {
				continue;
			}
			uint32_t fd = boundary_distance(rect, r, dir);
			uint32_t fr = history_rank(f);
			if (fd < md || (fd == md && fr < mr)) {
				md = fd;
				mr = fr;
				*dst = loc;
			}
		}
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rcx, %rbx
movl %edx, %ebp
movq %rsi, 0x28(%rsp)
movq %rdi, %r15
movq (%rdi), %rdi
movq 0x8(%r15), %rsi
movq 0x10(%r15), %rdx
callq 0x932e
pushq $-0x1
popq %rcx
leaq 0x1dddd(%rip), %r13     # 0x28708
movl %ecx, 0xc(%rsp)
movl %ecx, 0x10(%rsp)
movl %ebp, 0x14(%rsp)
movq %rbx, 0x18(%rsp)
movq %rax, 0x20(%rsp)
movq (%r13), %r13
testq %r13, %r13
je 0xaa4e
movq 0x58(%r13), %r14
movq 0x30(%r14), %rdi
callq 0x8e72
movq %rax, %rbp
testq %rax, %rax
je 0xaa45
movq %r13, 0x30(%rsp)
movq %r14, 0x38(%rsp)
movq %rbp, 0x40(%rsp)
movq %r13, %rdi
movq %r14, %rsi
movq %rbp, %rdx
callq 0x932e
movq 0x10(%r15), %rsi
cmpq %rsi, %rbp
je 0xaa34
cmpq $0x0, 0x48(%rbp)
je 0xaa34
cmpb $0x0, 0x25(%rbp)
jne 0xaa34
movq %rax, %r12
movq %rbp, %rdi
callq 0x9892
testb %al, %al
jne 0xaa34
leaq 0x30(%rsp), %rdi
movq %r15, %rsi
movq %rbx, %rdx
callq 0x17e76
testb %al, %al
je 0xaa34
movq 0x20(%rsp), %rdi
movq %r12, %rsi
movl 0x14(%rsp), %ebx
movl %ebx, %edx
callq 0x6130
testb %al, %al
je 0xaa2f
movq 0x20(%rsp), %rdi
movq %r12, %rsi
movl %ebx, %edx
callq 0x60bd
movl %eax, %r12d
movq %rbp, %rdi
callq 0xd0a6
cmpl 0x10(%rsp), %r12d
movq 0x18(%rsp), %rbx
jb 0xaa0e
jne 0xaa34
cmpl 0xc(%rsp), %eax
jae 0xaa34
movq 0x40(%rsp), %rcx
movq 0x28(%rsp), %rdx
movq %rcx, 0x10(%rdx)
movups 0x30(%rsp), %xmm0
movups %xmm0, (%rdx)
movl %eax, 0xc(%rsp)
movl %r12d, 0x10(%rsp)
jmp 0xaa34
movq 0x18(%rsp), %rbx
movq 0x30(%r14), %rsi
movq %rbp, %rdi
callq 0x8ed0
jmp 0xa95b
addq $0x78, %r13
jmp 0xa941
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/baskerville[P]bspwm/src/tree.c
// Function: find_by_area
void find_by_area(area_peak_t ap, coordinates_t *ref, coordinates_t *dst, node_select_t *sel)
{
	unsigned int p_area;
	if (ap == AREA_BIGGEST) {
		p_area = 0;
	} else {
		p_area = UINT_MAX;
	}

	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 *f = first_extrema(d->root); f != NULL; f = next_leaf(f, d->root)) {
				coordinates_t loc = {m, d, f};
				if (f->vacant || !node_matches(&loc, ref, sel)) {
					continue;
				}
				unsigned int f_area = node_area(d, f);
				if ((ap == AREA_BIGGEST && f_area > p_area) || (ap == AREA_SMALLEST && f_area < p_area)) {
					*dst = loc;
					p_area = f_area;
				}
			}
		}
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rcx, %r15
movq %rdx, 0x10(%rsp)
movq %rsi, %rbp
xorl %ecx, %ecx
movl %edi, 0xc(%rsp)
movl %edi, %eax
negl %eax
sbbl %ecx, %ecx
movl %ecx, 0x8(%rsp)
leaq 0x1dc7b(%rip), %r12     # 0x28708
movq (%r12), %r12
testq %r12, %r12
je 0xab6c
leaq 0x60(%r12), %r13
movq %r12, 0x18(%rsp)
movq (%r13), %r13
testq %r13, %r13
je 0xab63
movq 0x30(%r13), %rdi
callq 0x8e72
movq %rax, %r14
testq %rax, %rax
je 0xab5a
movq %r12, 0x20(%rsp)
movq %r13, 0x28(%rsp)
movq %r14, 0x30(%rsp)
cmpb $0x0, 0x24(%r14)
jne 0xab49
leaq 0x20(%rsp), %rdi
movq %rbp, %rsi
movq %r15, %rdx
callq 0x17e76
testb %al, %al
je 0xab49
movl 0xc(%rsp), %eax
cmpl $0x1, %eax
sete %bl
testl %eax, %eax
movq %rbp, %r12
movq %r15, %rbp
sete %r15b
movq %r13, %rdi
movq %r14, %rsi
callq 0x8e84
cmpl 0x8(%rsp), %eax
seta %dl
setb %cl
testb %dl, %r15b
movq %rbp, %r15
movq %r12, %rbp
movq 0x18(%rsp), %r12
jne 0xab2f
andb %cl, %bl
je 0xab49
movq 0x30(%rsp), %rcx
movq 0x10(%rsp), %rdx
movq %rcx, 0x10(%rdx)
movups 0x20(%rsp), %xmm0
movups %xmm0, (%rdx)
movl %eax, 0x8(%rsp)
movq 0x30(%r13), %rsi
movq %r14, %rdi
callq 0x8ed0
jmp 0xaaba
addq $0x48, %r13
jmp 0xaaa4
addq $0x78, %r12
jmp 0xaa8d
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/baskerville[P]bspwm/src/tree.c
// Function: rotate_tree_rec
void rotate_tree_rec(node_t *n, int deg)
{
	if (n == NULL || is_leaf(n) || deg == 0) {
		return;
	}

	node_t *tmp;

	if ((deg == 90 && n->split_type == TYPE_HORIZONTAL) ||
	    (deg == 270 && n->split_type == TYPE_VERTICAL) ||
	    deg == 180) {
		tmp = n->first_child;
		n->first_child = n->second_child;
		n->second_child = tmp;
		n->split_ratio = 1.0 - n->split_ratio;
	}

	if (deg != 180) {
		if (n->split_type == TYPE_HORIZONTAL) {
			n->split_type = TYPE_VERTICAL;
		} else if (n->split_type == TYPE_VERTICAL) {
			n->split_type = TYPE_HORIZONTAL;
		}
	}

	rotate_tree_rec(n->first_child, deg);
	rotate_tree_rec(n->second_child, deg);
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movl %esi, %ebx
movq %rdi, %r14
pushq $0x1
popq %rbp
testq %r14, %r14
je 0xac22
movq 0x30(%r14), %rdi
testq %rdi, %rdi
je 0xab9d
xorl %eax, %eax
jmp 0xaba5
cmpq $0x0, 0x38(%r14)
sete %al
testl %ebx, %ebx
je 0xac22
testb %al, %al
jne 0xac22
cmpl $0x10e, %ebx            # imm = 0x10E
je 0xabcb
cmpl $0xb4, %ebx
je 0xabd2
cmpl $0x5a, %ebx
jne 0xabfd
cmpl $0x0, 0x4(%r14)
jne 0xabfd
jmp 0xabd2
cmpl $0x1, 0x4(%r14)
jne 0xabfd
movq 0x38(%r14), %rax
movq %rax, 0x30(%r14)
movq %rdi, 0x38(%r14)
movsd 0x13a22(%rip), %xmm0    # 0x1e608
subsd 0x8(%r14), %xmm0
movsd %xmm0, 0x8(%r14)
movq %rax, %rdi
cmpl $0xb4, %ebx
je 0xac12
movl 0x4(%r14), %ecx
movl %ebp, %eax
testl %ecx, %ecx
je 0xac0e
cmpl $0x1, %ecx
jne 0xac12
xorl %eax, %eax
movl %eax, 0x4(%r14)
movl %ebx, %esi
callq 0xab7b
movq 0x38(%r14), %r14
jmp 0xab87
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/baskerville[P]bspwm/src/tree.c
// Function: rebuild_constraints_from_leaves
void rebuild_constraints_from_leaves(node_t *n)
{
	if (n == NULL || is_leaf(n)) {
		return;
	} else {
		rebuild_constraints_from_leaves(n->first_child);
		rebuild_constraints_from_leaves(n->second_child);
		update_constraints(n);
	}
}

// Assembly:
pushq %rbx
testq %rdi, %rdi
je 0xac57
movq %rdi, %rbx
movq 0x30(%rdi), %rdi
testq %rdi, %rdi
jne 0xac40
cmpq $0x0, 0x38(%rbx)
je 0xac57
callq 0xac27
movq 0x38(%rbx), %rdi
callq 0xac27
movq %rbx, %rdi
popq %rbx
jmp 0x8bad
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O2/baskerville[P]bspwm/src/tree.c
// Function: flip_tree
void flip_tree(node_t *n, flip_t flp)
{
	if (n == NULL || is_leaf(n)) {
		return;
	}

	node_t *tmp;

	if ((flp == FLIP_HORIZONTAL && n->split_type == TYPE_HORIZONTAL) ||
	    (flp == FLIP_VERTICAL && n->split_type == TYPE_VERTICAL)) {
		tmp = n->first_child;
		n->first_child = n->second_child;
		n->second_child = tmp;
		n->split_ratio = 1.0 - n->split_ratio;
	}

	flip_tree(n->first_child, flp);
	flip_tree(n->second_child, flp);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movl %esi, %ebx
movq %rdi, %r14
testq %r14, %r14
je 0xacc0
movq 0x30(%r14), %rdi
testq %rdi, %rdi
jne 0xac77
cmpq $0x0, 0x38(%r14)
je 0xacc0
cmpl $0x1, %ebx
je 0xac89
testl %ebx, %ebx
jne 0xacb3
cmpl $0x0, 0x4(%r14)
jne 0xacb3
jmp 0xac90
cmpl $0x1, 0x4(%r14)
jne 0xacb3
movq 0x38(%r14), %rax
movq %rax, 0x30(%r14)
movq %rdi, 0x38(%r14)
movsd 0x13964(%rip), %xmm0    # 0x1e608
subsd 0x8(%r14), %xmm0
movsd %xmm0, 0x8(%r14)
movq %rax, %rdi
movl %ebx, %esi
callq 0xac59
movq 0x38(%r14), %r14
jmp 0xac62
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/baskerville[P]bspwm/src/tree.c
// Function: equalize_tree
void equalize_tree(node_t *n)
{
	if (n == NULL || n->vacant) {
		return;
	} else {
		n->split_ratio = split_ratio;
		equalize_tree(n->first_child);
		equalize_tree(n->second_child);
	}
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x1e0f2(%rip), %r14     # 0x28dc8
testq %rbx, %rbx
je 0xacfa
cmpb $0x0, 0x24(%rbx)
jne 0xacfa
movsd (%r14), %xmm0
movsd %xmm0, 0x8(%rbx)
movq 0x30(%rbx), %rdi
callq 0xacc8
movq 0x38(%rbx), %rbx
jmp 0xacd6
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/baskerville[P]bspwm/src/tree.c
// Function: balance_tree
int balance_tree(node_t *n)
{
	if (n == NULL || n->vacant) {
		return 0;
	} else if (is_leaf(n)) {
		return 1;
	} else {
		int b1 = balance_tree(n->first_child);
		int b2 = balance_tree(n->second_child);
		int b = b1 + b2;
		if (b1 > 0 && b2 > 0) {
			n->split_ratio = (double) b1 / b;
		}
		return b;
	}
}

// Assembly:
xorl %eax, %eax
testq %rdi, %rdi
je 0xad6d
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
cmpb $0x0, 0x24(%rdi)
jne 0xad66
movq 0x30(%rbx), %rdi
testq %rdi, %rdi
jne 0xad26
cmpq $0x0, 0x38(%rbx)
je 0xad63
callq 0xad02
movl %eax, %r14d
movq 0x38(%rbx), %rdi
callq 0xad02
movl %eax, %ecx
leal (%rcx,%r14), %eax
testl %r14d, %r14d
setg %dl
testl %ecx, %ecx
setg %cl
andb %dl, %cl
cmpb $0x1, %cl
jne 0xad66
cvtsi2sd %r14d, %xmm0
cvtsi2sd %eax, %xmm1
divsd %xmm1, %xmm0
movsd %xmm0, 0x8(%rbx)
jmp 0xad66
pushq $0x1
popq %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/baskerville[P]bspwm/src/tree.c
// Function: close_node
void close_node(node_t *n)
{
	if (n == NULL) {
		return;
	} else if (n->client != NULL) {
		if (n->client->icccm_props.delete_window) {
			send_client_message(n->id, ewmh->WM_PROTOCOLS, WM_DELETE_WINDOW);
		} else {
			xcb_kill_client(dpy, n->id);
		}
	} else {
		close_node(n->first_child);
		close_node(n->second_child);
	}
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
testq %rbx, %rbx
je 0xb069
movq 0x48(%rbx), %rax
testq %rax, %rax
jne 0xb06b
movq 0x30(%rbx), %rdi
callq 0xb048
movq 0x38(%rbx), %rbx
jmp 0xb04c
popq %rbx
retq
cmpb $0x1, 0x376(%rax)
jne 0xb095
movl (%rbx), %edi
leaq 0x1ddb3(%rip), %rax     # 0x28e30
movq (%rax), %rax
movl 0xc8(%rax), %esi
leaq 0x1d6fb(%rip), %rax     # 0x28788
movl (%rax), %edx
popq %rbx
jmp 0x105ea
leaq 0x1d62c(%rip), %rax     # 0x286c8
movq (%rax), %rdi
movl (%rbx), %esi
popq %rbx
jmp 0x4ac0
// File: /workspace/github_c_makefile_star2_O2/baskerville[P]bspwm/src/tree.c
// Function: kill_node
void kill_node(monitor_t *m, desktop_t *d, node_t *n)
{
	if (n == NULL) {
		return;
	}

	if (IS_RECEPTACLE(n)) {
		put_status(SBSC_MASK_NODE_REMOVE, "node_remove 0x%08X 0x%08X 0x%08X\n", m->id, d->id, n->id);
		remove_node(m, d, n);
	} else {
		for (node_t *f = first_extrema(n); f != NULL; f = next_leaf(f, n)) {
			if (f->client != NULL) {
				xcb_kill_client(dpy, f->id);
			}
		}
	}
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
testq %rdx, %rdx
je 0xb102
movq %rdx, %rbx
cmpq $0x0, 0x30(%rdx)
jne 0xb0c9
cmpq $0x0, 0x38(%rbx)
jne 0xb0c9
cmpq $0x0, 0x48(%rbx)
je 0xb108
movq %rbx, %rdi
callq 0x8e72
movq %rax, %r14
leaq 0x1d5ed(%rip), %r15     # 0x286c8
testq %r14, %r14
je 0xb102
cmpq $0x0, 0x48(%r14)
je 0xb0f2
movq (%r15), %rdi
movl (%r14), %esi
callq 0x4ac0
movq %r14, %rdi
movq %rbx, %rsi
callq 0x8ed0
movq %rax, %r14
jmp 0xb0db
popq %rbx
popq %r14
popq %r15
retq
movq %rsi, %r14
movq %rdi, %r15
movl 0x20(%rdi), %edx
movl 0x20(%rsi), %ecx
movl (%rbx), %r8d
leaq 0x1364f(%rip), %rsi     # 0x1e76d
movl $0x10000, %edi          # imm = 0x10000
xorl %eax, %eax
callq 0x1d07d
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
popq %rbx
popq %r14
popq %r15
jmp 0xb13d
// File: /workspace/github_c_makefile_star2_O2/baskerville[P]bspwm/src/tree.c
// Function: remove_node
void remove_node(monitor_t *m, desktop_t *d, node_t *n)
{
	if (n == NULL) {
		return;
	}

	unlink_node(m, d, n);
	history_remove(d, n, true);
	remove_stack_node(n);
	cancel_presel_in(m, d, n);
	if (m->sticky_count > 0 && d == m->desk) {
		m->sticky_count -= sticky_count(n);
	}
	clients_count -= clients_count_in(n);
	if (is_descendant(grabbed_node, n)) {
		grabbed_node = NULL;
	}
	free_node(n);

	if (single_monocle && d->layout != LAYOUT_MONOCLE && tiled_count(d->root, true) <= 1) {
		set_layout(m, d, LAYOUT_MONOCLE, false);
	}

	ewmh_update_client_list(false);
	ewmh_update_client_list(true);

	if (mon != NULL && d->focus == NULL) {
		if (d == mon->desk) {
			focus_node(m, d, NULL);
		} else {
			activate_node(m, d, NULL);
		}
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
testq %rdx, %rdx
je 0xb229
movq %rdx, %r15
movq %rsi, %rbx
movq %rdi, %r14
callq 0xaee2
pushq $0x1
popq %rdx
movq %rbx, %rdi
movq %r15, %rsi
callq 0xcb44
movq %r15, %rdi
callq 0xc5ee
movq %r14, %rdi
movq %rbx, %rsi
movq %r15, %rdx
callq 0x8d7d
movl 0x40(%r14), %ebp
testl %ebp, %ebp
je 0xb19c
cmpq %rbx, 0x58(%r14)
jne 0xb19c
movq %r15, %rdi
callq 0xb262
subl %eax, %ebp
movl %ebp, 0x40(%r14)
movq %r15, %rdi
callq 0xa47f
leaq 0x1d549(%rip), %rcx     # 0x286f4
subl %eax, (%rcx)
leaq 0x1dc74(%rip), %r12     # 0x28e28
movq (%r12), %rdi
movq %r15, %rsi
callq 0x9892
testb %al, %al
je 0xb1c9
andq $0x0, (%r12)
movq %r15, %rdi
callq 0xb28f
leaq 0x1dc20(%rip), %rax     # 0x28df8
cmpb $0x1, (%rax)
jne 0xb204
cmpl $0x1, 0x24(%rbx)
je 0xb204
movq 0x30(%rbx), %rdi
pushq $0x1
popq %rsi
callq 0x93c6
cmpl $0x1, %eax
jg 0xb204
pushq $0x1
popq %rdx
movq %r14, %rdi
movq %rbx, %rsi
xorl %ecx, %ecx
callq 0x7b4b
xorl %edi, %edi
callq 0x1ca74
pushq $0x1
popq %rdi
callq 0x1ca74
leaq 0x1d4f6(%rip), %rax     # 0x28710
movq (%rax), %rax
testq %rax, %rax
je 0xb229
cmpq $0x0, 0x38(%rbx)
je 0xb232
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
cmpq %rbx, 0x58(%rax)
je 0xb24d
movq %r14, %rdi
movq %rbx, %rsi
xorl %edx, %edx
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x95e4
movq %r14, %rdi
movq %rbx, %rsi
xorl %edx, %edx
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x9cf6
// File: /workspace/github_c_makefile_star2_O2/baskerville[P]bspwm/src/tree.c
// Function: free_node
void free_node(node_t *n)
{
	if (n == NULL) {
		return;
	}
	node_t *first_child = n->first_child;
	node_t *second_child = n->second_child;
	free(n->client);
	free(n);
	free_node(first_child);
	free_node(second_child);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
testq %rbx, %rbx
je 0xb2c2
movq 0x30(%rbx), %r14
movq 0x38(%rbx), %r15
movq 0x48(%rbx), %rdi
callq 0x4460
movq %rbx, %rdi
callq 0x4460
movq %r14, %rdi
callq 0xb28f
movq %r15, %rbx
jmp 0xb297
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/baskerville[P]bspwm/src/tree.c
// Function: circulate_leaves
void circulate_leaves(monitor_t *m, desktop_t *d, node_t *n, circulate_dir_t dir)
{
	if (tiled_count(n, false) < 2) {
		return;
	}
	node_t *p = d->focus->parent;
	bool focus_first_child = is_first_child(d->focus);
	if (dir == CIRCULATE_FORWARD) {
		node_t *e = second_extrema(n);
		while (e != NULL && (e->client == NULL || !IS_TILED(e->client))) {
			e = prev_leaf(e, n);
		}
		for (node_t *s = e, *f = prev_tiled_leaf(s, n); f != NULL; s = prev_tiled_leaf(f, n), f = prev_tiled_leaf(s, n)) {
			swap_nodes(m, d, f, m, d, s, false);
		}
	} else {
		node_t *e = first_extrema(n);
		while (e != NULL && (e->client == NULL || !IS_TILED(e->client))) {
			e = next_leaf(e, n);
		}
		for (node_t *f = e, *s = next_tiled_leaf(f, n); s != NULL; f = next_tiled_leaf(s, n), s = next_tiled_leaf(f, n)) {
			swap_nodes(m, d, f, m, d, s, false);
		}
	}
	if (p != NULL) {
		node_t *f = focus_first_child ? p->first_child : p->second_child;
		if (is_leaf(f)) {
			if (d == mon->desk) {
				focus_node(m, d, f);
			} else {
				activate_node(m, d, f);
			}
		}
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %ecx, %ebp
movq %rdx, %r15
movq %rsi, %rbx
movq %rdi, %r14
movq %rdx, %rdi
xorl %esi, %esi
callq 0x93c6
cmpl $0x2, %eax
jl 0xbb18
movq 0x38(%rbx), %rax
movq 0x40(%rax), %r13
testq %r13, %r13
je 0xba07
xorl %ecx, %ecx
cmpq %rax, 0x30(%r13)
setne %cl
leaq 0x30(,%rcx,8), %rax
jmp 0xba0a
pushq $0x38
popq %rax
movq %rax, 0x10(%rsp)
movq %r15, %rdi
testl %ebp, %ebp
je 0xba88
callq 0x8e72
movq %rax, %r12
testq %rax, %rax
je 0xba43
movq 0x48(%r12), %rax
testq %rax, %rax
je 0xba36
cmpl $0x1, 0x308(%rax)
jbe 0xba43
movq %r12, %rdi
movq %r15, %rsi
callq 0x8ed0
jmp 0xba1b
movq %r13, %rbp
movq %r12, %rdi
movq %r15, %rsi
callq 0xa585
testq %rax, %rax
je 0xbaf6
movq %rax, %r13
andl $0x0, (%rsp)
movq %r14, %rdi
movq %rbx, %rsi
movq %r12, %rdx
movq %r14, %rcx
movq %rbx, %r8
movq %rax, %r9
callq 0xb2c8
movq %r13, %rdi
movq %r15, %rsi
callq 0xa585
movq %rax, %r12
jmp 0xba46
callq 0xa4d2
movq %rax, %r12
testq %rax, %rax
je 0xbab5
movq 0x48(%r12), %rax
testq %rax, %rax
je 0xbaa8
cmpl $0x1, 0x308(%rax)
jbe 0xbab5
movq %r12, %rdi
movq %r15, %rsi
callq 0xa554
jmp 0xba8d
movq %r13, %rbp
movq %r12, %rdi
movq %r15, %rsi
callq 0xa5ab
testq %rax, %rax
je 0xbaf6
movq %rax, %r13
andl $0x0, (%rsp)
movq %r14, %rdi
movq %rbx, %rsi
movq %rax, %rdx
movq %r14, %rcx
movq %rbx, %r8
movq %r12, %r9
callq 0xb2c8
movq %r13, %rdi
movq %r15, %rsi
callq 0xa5ab
movq %rax, %r12
jmp 0xbab8
testq %rbp, %rbp
je 0xbb18
movq 0x10(%rsp), %rax
movq (%rbp,%rax), %rdx
testq %rdx, %rdx
je 0xbb18
cmpq $0x0, 0x30(%rdx)
jne 0xbb18
cmpq $0x0, 0x38(%rdx)
je 0xbb27
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x1cbe2(%rip), %rax     # 0x28710
movq (%rax), %rax
cmpq %rbx, 0x58(%rax)
je 0xbb50
movq %r14, %rdi
movq %rbx, %rsi
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x95e4
movq %r14, %rdi
movq %rbx, %rsi
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x9cf6
// File: /workspace/github_c_makefile_star2_O2/baskerville[P]bspwm/src/tree.c
// Function: propagate_vacant_downward
void propagate_vacant_downward(monitor_t *m, desktop_t *d, node_t *n, bool value)
{
	if (n == NULL) {
		return;
	}

	set_vacant_local(m, d, n, value);

	propagate_vacant_downward(m, d, n->first_child, value);
	propagate_vacant_downward(m, d, n->second_child, value);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
movzbl %cl, %ebp
testq %rbx, %rbx
je 0xbbd7
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
movl %ebp, %ecx
callq 0xbc2c
movq 0x30(%rbx), %rdx
movq %r15, %rdi
movq %r14, %rsi
movl %ebp, %ecx
callq 0xbb98
movq 0x38(%rbx), %rbx
jmp 0xbbab
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/baskerville[P]bspwm/src/tree.c
// Function: propagate_vacant_upward
void propagate_vacant_upward(monitor_t *m, desktop_t *d, node_t *n)
{
	if (n == NULL) {
		return;
	}

	node_t *p = n->parent;

	if (p != NULL) {
		set_vacant_local(m, d, p, (p->first_child->vacant && p->second_child->vacant));
	}

	propagate_vacant_upward(m, d, p);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
testq %rbx, %rbx
je 0xbc26
movq 0x40(%rbx), %rbx
testq %rbx, %rbx
je 0xbbf0
movq 0x30(%rbx), %rax
cmpb $0x1, 0x24(%rax)
jne 0xbc11
movq 0x38(%rbx), %rax
movb 0x24(%rax), %al
jmp 0xbc13
xorl %eax, %eax
movzbl %al, %ecx
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0xbc2c
jmp 0xbbf0
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/baskerville[P]bspwm/src/tree.c
// Function: set_layer
bool set_layer(monitor_t *m, desktop_t *d, node_t *n, stack_layer_t l)
{
	if (n == NULL || n->client == NULL || n->client->layer == l) {
		return false;
	}

	n->client->last_layer = n->client->layer;
	n->client->layer = l;

	if (l == LAYER_ABOVE) {
		n->client->wm_flags |= WM_FLAG_ABOVE;
		n->client->wm_flags &= ~WM_FLAG_BELOW;
	} else if (l == LAYER_BELOW) {
		n->client->wm_flags |= WM_FLAG_BELOW;
		n->client->wm_flags &= ~WM_FLAG_ABOVE;
	} else {
		n->client->wm_flags &= ~(WM_FLAG_ABOVE | WM_FLAG_BELOW);
	}

	ewmh_wm_state_update(n);

	put_status(SBSC_MASK_NODE_LAYER, "node_layer 0x%08X 0x%08X 0x%08X %s\n", m->id, d->id, n->id, LAYER_STR(l));

	if (d->focus == n) {
		neutralize_occluding_windows(m, d, n);
	}

	stack(d, n, (d->focus == n));

	return true;
}

// Assembly:
testq %rdx, %rdx
je 0xbc68
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq 0x48(%rdx), %rax
testq %rax, %rax
je 0xbc61
movl %ecx, %ebp
movl 0x310(%rax), %ecx
cmpl %ebp, %ecx
jne 0xbc6b
xorl %eax, %eax
jmp 0xbd1d
xorl %eax, %eax
retq
movq %rsi, %r14
movq %rdi, %r15
movl %ecx, 0x314(%rax)
movl %ebp, 0x310(%rax)
movl $0xfffff9ff, %ecx       # imm = 0xFFFFF9FF
andl 0x378(%rax), %ecx
testl %ebp, %ebp
je 0xbc99
cmpl $0x2, %ebp
jne 0xbc9f
orl $0x200, %ecx            # imm = 0x200
jmp 0xbc9f
orl $0x400, %ecx            # imm = 0x400
movl %ecx, 0x378(%rax)
movq %rbx, %rdi
callq 0x1cbb9
movl 0x20(%r15), %edx
movl 0x20(%r14), %ecx
movl (%rbx), %r8d
cmpl $0x1, %ebp
leaq 0x14052(%rip), %rax     # 0x1fd14
leaq 0x14053(%rip), %rsi     # 0x1fd1c
cmoveq %rax, %rsi
testl %ebp, %ebp
leaq 0x14037(%rip), %r9      # 0x1fd0d
cmovneq %rsi, %r9
leaq 0x12b1c(%rip), %rsi     # 0x1e7fd
movl $0x4000000, %edi        # imm = 0x4000000
xorl %eax, %eax
callq 0x1d07d
movq 0x38(%r14), %rax
cmpq %rbx, %rax
jne 0xbd08
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x97ca
movq 0x38(%r14), %rax
xorl %edx, %edx
cmpq %rbx, %rax
sete %dl
movq %r14, %rdi
movq %rbx, %rsi
callq 0xc7ea
movb $0x1, %al
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/baskerville[P]bspwm/src/tree.c
// Function: set_floating
void set_floating(monitor_t *m, desktop_t *d, node_t *n, bool value)
{
	if (n == NULL) {
		return;
	}

	cancel_presel(m, d, n);
	if (!n->hidden) {
		set_vacant(m, d, n, value);
	}

	if (!value && d->focus == n) {
		neutralize_occluding_windows(m, d, n);
	}

	stack(d, n, (d->focus == n));
}

// Assembly:
testq %rdx, %rdx
je 0xbf95
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %ecx, %ebp
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
callq 0x8d19
cmpb $0x0, 0x25(%rbx)
jne 0xbf5e
movzbl %bpl, %ecx
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0xbb69
testb %bpl, %bpl
jne 0xbf77
cmpq %rbx, 0x38(%r14)
jne 0xbf77
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x97ca
xorl %edx, %edx
cmpq %rbx, 0x38(%r14)
sete %dl
movq %r14, %rdi
movq %rbx, %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0xc7ea
retq
// File: /workspace/github_c_makefile_star2_O2/baskerville[P]bspwm/src/tree.c
// Function: set_fullscreen
void set_fullscreen(monitor_t *m, desktop_t *d, node_t *n, bool value)
{
	if (n == NULL) {
		return;
	}

	client_t *c = n->client;

	cancel_presel(m, d, n);
	if (!n->hidden) {
		set_vacant(m, d, n, value);
	}

	if (value) {
		c->wm_flags |= WM_FLAG_FULLSCREEN;
	} else {
		c->wm_flags &= ~WM_FLAG_FULLSCREEN;
		if (d->focus == n) {
			neutralize_occluding_windows(m, d, n);
		}
	}

	ewmh_wm_state_update(n);
	stack(d, n, (d->focus == n));
}

// Assembly:
testq %rdx, %rdx
je 0xbfeb
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %ecx, %ebp
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
movq 0x48(%rdx), %r12
callq 0x8d19
cmpb $0x0, 0x25(%rbx)
jne 0xbfcf
movzbl %bpl, %ecx
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0xbb69
movl 0x378(%r12), %eax
testb %bpl, %bpl
je 0xbfec
orl $0x100, %eax            # imm = 0x100
movl %eax, 0x378(%r12)
jmp 0xc00d
retq
andl $0xfffffeff, %eax       # imm = 0xFFFFFEFF
movl %eax, 0x378(%r12)
cmpq %rbx, 0x38(%r14)
jne 0xc00d
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x97ca
movq %rbx, %rdi
callq 0x1cbb9
xorl %edx, %edx
cmpq %rbx, 0x38(%r14)
sete %dl
movq %r14, %rdi
movq %rbx, %rsi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0xc7ea
// File: /workspace/github_c_makefile_star2_O2/baskerville[P]bspwm/src/tree.c
// Function: set_hidden_local
void set_hidden_local(monitor_t *m, desktop_t *d, node_t *n, bool value)
{
	if (n->hidden == value) {
		return;
	}

	n->hidden = value;

	if (n->client != NULL) {
		if (n->client->shown) {
			window_set_visibility(n->id, !value);
		}

		if (IS_TILED(n->client)) {
			set_vacant(m, d, n, value);
		}

		if (value) {
			n->client->wm_flags |= WM_FLAG_HIDDEN;
		} else {
			n->client->wm_flags &= ~WM_FLAG_HIDDEN;
		}

		ewmh_wm_state_update(n);
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %ecx, %ebp
cmpb %bpl, 0x25(%rdx)
je 0xc0ba
movq %rdx, %rbx
movb %bpl, 0x25(%rdx)
movq 0x48(%rdx), %rax
testq %rax, %rax
je 0xc0ba
movq %rsi, %r14
movq %rdi, %r15
cmpb $0x1, 0x305(%rax)
jne 0xc071
movl (%rbx), %edi
movl %ebp, %eax
xorb $0x1, %al
movzbl %al, %esi
callq 0x104cd
movq 0x48(%rbx), %rax
cmpl $0x1, 0x308(%rax)
movzbl %bpl, %ebp
ja 0xc08e
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
movl %ebp, %ecx
callq 0xbb69
movq 0x48(%rbx), %rax
movl $0xffffff7f, %ecx       # imm = 0xFFFFFF7F
andl 0x378(%rax), %ecx
shll $0x7, %ebp
orl %ecx, %ebp
movl %ebp, 0x378(%rax)
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x1cbb9
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/baskerville[P]bspwm/src/tree.c
// Function: set_hidden
void set_hidden(monitor_t *m, desktop_t *d, node_t *n, bool value)
{
	if (n == NULL || n->hidden == value) {
		return;
	}

	bool held_focus = is_descendant(d->focus, n);

	propagate_hidden_downward(m, d, n, value);
	propagate_hidden_upward(m, d, n);

	put_status(SBSC_MASK_NODE_FLAG, "node_flag 0x%08X 0x%08X 0x%08X hidden %s\n", m->id, d->id, n->id, ON_OFF_STR(value));

	if (held_focus || d->focus == NULL) {
		if (d->focus != NULL) {
			d->focus = NULL;
			draw_border(n, false, (mon == m));
		}
		if (d == mon->desk) {
			focus_node(m, d, d->focus);
		} else {
			activate_node(m, d, d->focus);
		}
	}

	if (single_monocle) {
		if (value && d->layout != LAYOUT_MONOCLE && tiled_count(d->root, true) <= 1) {
			set_layout(m, d, LAYOUT_MONOCLE, false);
		} else if (!value && d->layout == LAYOUT_MONOCLE && tiled_count(d->root, true) > 1) {
			set_layout(m, d, d->user_layout, false);
		}
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
testq %rdx, %rdx
je 0xc215
movl %ecx, %ebp
movq %rdx, %r15
cmpb %bpl, 0x25(%rdx)
je 0xc215
movq %rsi, %rbx
movq %rdi, %r14
movq 0x38(%rsi), %rdi
movq %r15, %rsi
callq 0x9892
movl %eax, %r12d
movzbl %bpl, %r13d
movq %r14, %rdi
movq %rbx, %rsi
movq %r15, %rdx
movl %r13d, %ecx
callq 0xc224
movq %r14, %rdi
movq %rbx, %rsi
movq %r15, %rdx
callq 0xc26e
movl 0x20(%r14), %edx
movl 0x20(%rbx), %ecx
movl (%r15), %r8d
leaq 0x13998(%rip), %rax     # 0x1fac9
leaq 0x12762(%rip), %r9      # 0x1e89a
testb %r13b, %r13b
cmovneq %rax, %r9
leaq 0x1272a(%rip), %rsi     # 0x1e870
movl $0x2000000, %edi        # imm = 0x2000000
xorl %eax, %eax
callq 0x1d07d
movq 0x38(%rbx), %rax
testb %r12b, %r12b
je 0xc180
testq %rax, %rax
je 0xc185
andq $0x0, 0x38(%rbx)
leaq 0x1c5a4(%rip), %rax     # 0x28710
xorl %edx, %edx
cmpq %r14, (%rax)
sete %dl
movq %r15, %rdi
xorl %esi, %esi
callq 0xf25d
jmp 0xc185
testq %rax, %rax
jne 0xc1b1
leaq 0x1c584(%rip), %rax     # 0x28710
movq (%rax), %rax
movq 0x38(%rbx), %rdx
cmpq %rbx, 0x58(%rax)
je 0xc1a6
movq %r14, %rdi
movq %rbx, %rsi
callq 0x95e4
jmp 0xc1b1
movq %r14, %rdi
movq %rbx, %rsi
callq 0x9cf6
leaq 0x1cc40(%rip), %rax     # 0x28df8
cmpb $0x1, (%rax)
jne 0xc215
movl 0x24(%rbx), %eax
testb %bpl, %bpl
je 0xc1df
cmpl $0x1, %eax
je 0xc215
movq 0x30(%rbx), %rdi
pushq $0x1
popq %rbp
movl %ebp, %esi
callq 0x93c6
cmpl $0x2, %eax
jl 0xc1f8
jmp 0xc215
cmpl $0x1, %eax
jne 0xc215
movq 0x30(%rbx), %rdi
pushq $0x1
popq %rsi
callq 0x93c6
cmpl $0x2, %eax
jl 0xc215
movl 0x28(%rbx), %ebp
movq %r14, %rdi
movq %rbx, %rsi
movl %ebp, %edx
xorl %ecx, %ecx
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x7b4b
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/baskerville[P]bspwm/src/tree.c
// Function: propagate_hidden_downward
void propagate_hidden_downward(monitor_t *m, desktop_t *d, node_t *n, bool value)
{
	if (n == NULL) {
		return;
	}

	set_hidden_local(m, d, n, value);

	propagate_hidden_downward(m, d, n->first_child, value);
	propagate_hidden_downward(m, d, n->second_child, value);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
movzbl %cl, %ebp
testq %rbx, %rbx
je 0xc263
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
movl %ebp, %ecx
callq 0xc031
movq 0x30(%rbx), %rdx
movq %r15, %rdi
movq %r14, %rsi
movl %ebp, %ecx
callq 0xc224
movq 0x38(%rbx), %rbx
jmp 0xc237
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/baskerville[P]bspwm/src/tree.c
// Function: propagate_hidden_upward
void propagate_hidden_upward(monitor_t *m, desktop_t *d, node_t *n)
{
	if (n == NULL) {
		return;
	}

	node_t *p = n->parent;

	if (p != NULL) {
		set_hidden_local(m, d, p, p->first_child->hidden && p->second_child->hidden);
	}

	propagate_hidden_upward(m, d, p);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
testq %rbx, %rbx
je 0xc2b2
movq 0x40(%rbx), %rbx
testq %rbx, %rbx
je 0xc27c
movq 0x30(%rbx), %rax
cmpb $0x1, 0x25(%rax)
jne 0xc29d
movq 0x38(%rbx), %rax
movb 0x25(%rax), %al
jmp 0xc29f
xorl %eax, %eax
movzbl %al, %ecx
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0xc031
jmp 0xc27c
popq %rbx
popq %r14
popq %r15
retq