LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O3/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 %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq %rdi, %rsi
leaq 0xcbca(%rip), %rax      # 0x29738
movq (%rax), %r13
leaq 0x8(%rsp), %r15
movq %r15, %rdi
movl $0x3a, %edx
callq 0x6047
movq %rax, %rbx
movq %r15, %rdi
xorl %esi, %esi
movl $0x3a, %edx
callq 0x6047
movq %rax, %r14
movq %r15, %rdi
xorl %esi, %esi
movl $0x3a, %edx
callq 0x6047
movq %rax, %r15
testq %rbx, %rbx
setne %al
testq %r14, %r14
setne %cl
andb %al, %cl
testq %r15, %r15
setne %al
andb %cl, %al
cmpb $0x1, %al
jne 0x1cc39
testq %r13, %r13
je 0x1cc39
movq %r13, %r12
movq 0x410(%r13), %r13
cmpb $0x2a, (%rbx)
jne 0x1cbde
cmpb $0x0, 0x1(%rbx)
je 0x1cbed
movq %r12, %rdi
movq %rbx, %rsi
callq 0x4820
testl %eax, %eax
jne 0x1cbc4
cmpb $0x2a, (%r14)
jne 0x1cbfa
cmpb $0x0, 0x1(%r14)
je 0x1cc0e
leaq 0x100(%r12), %rdi
movq %r14, %rsi
callq 0x4820
testl %eax, %eax
jne 0x1cbc4
cmpb $0x2a, (%r15)
jne 0x1cc1b
cmpb $0x0, 0x1(%r15)
je 0x1cc2f
leaq 0x200(%r12), %rdi
movq %r15, %rsi
callq 0x4820
testl %eax, %eax
jne 0x1cbc4
movq %r12, %rdi
callq 0x1cb04
jmp 0x1cbc4
movq %rbx, %rdi
callq 0x4460
movq %r14, %rdi
callq 0x4460
movq %r15, %rdi
callq 0x4460
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/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 %rax
movl %edi, %eax
leaq 0xcacf(%rip), %rcx      # 0x29738
movq (%rcx), %rdi
testq %rdi, %rdi
je 0x1cc83
incl %eax
decl %eax
je 0x1cc87
movq 0x410(%rdi), %rdi
testq %rdi, %rdi
jne 0x1cc73
xorl %eax, %eax
jmp 0x1cc8e
callq 0x1cb04
movb $0x1, %al
popq %rcx
retq
// File: /workspace/github_c_makefile_star2_O3/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
movl $0x4, 0x620(%rax)
popq %rcx
retq
// File: /workspace/github_c_makefile_star2_O3/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
movl %r14d, (%rax)
movl %ebp, 0x4(%rax)
movq %rbx, 0x8(%rax)
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/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 0x1cd19
leaq 0xc9e6(%rip), %rax      # 0x296d8
cmpq $0x0, (%rax)
je 0x1cd0c
leaq 0xca61(%rip), %rax      # 0x29760
movq (%rax), %rcx
movq %rdi, 0x28(%rcx)
movq %rcx, 0x20(%rdi)
jmp 0x1cd16
leaq 0xca4d(%rip), %rcx      # 0x29760
movq %rdi, (%rcx)
movq %rdi, (%rax)
retq
// File: /workspace/github_c_makefile_star2_O3/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 0x1cd97
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x20(%rdi), %rax
movq 0x28(%rdi), %rcx
testq %rax, %rax
je 0x1cd37
movq %rcx, 0x28(%rax)
testq %rcx, %rcx
je 0x1cd40
movq %rax, 0x20(%rcx)
leaq 0xc991(%rip), %rdx      # 0x296d8
cmpq %rbx, (%rdx)
jne 0x1cd4f
movq %rcx, (%rdx)
leaq 0xca0a(%rip), %rcx      # 0x29760
cmpq %rbx, (%rcx)
jne 0x1cd5e
movq %rax, (%rcx)
movl (%rbx), %edi
callq 0x4150
movq 0x8(%rbx), %rdi
callq 0x4460
movq 0x10(%rbx), %rdi
testq %rdi, %rdi
je 0x1cd88
movq 0x30(%rdi), %r14
callq 0x4460
movq %r14, %rdi
testq %r14, %r14
jne 0x1cd77
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x4460
retq
// File: /workspace/github_c_makefile_star2_O3/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
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 0x1cddb
movq %rax, 0x30(%rcx)
movq %rcx, 0x28(%rax)
jmp 0x1cddf
movq %rax, 0x10(%rbx)
movq %rax, 0x18(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/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 %r12
pushq %rbx
subq $0x20, %rsp
movq %rsi, %rbx
movl %edi, %ebp
leaq 0xd004(%rip), %r15      # 0x29e30
movq (%r15), %r14
movq %r14, %rdi
movl %ebp, %esi
callq 0x40d0
leaq 0x8(%rsp), %rdx
movq %r14, %rdi
movl %eax, %esi
xorl %ecx, %ecx
callq 0x41a0
cmpb $0x1, %al
jne 0x1cf26
cmpl $0x0, 0x8(%rsp)
je 0x1cf1c
movq (%r15), %r12
xorl %r14d, %r14d
movq 0x10(%rsp), %rax
movl (%rax,%r14,4), %eax
cmpl 0xd8(%r12), %eax
je 0x1ce80
cmpl 0xe0(%r12), %eax
jne 0x1ce98
movb $0x0, 0x62c(%rbx)
incq %r14
movl 0x8(%rsp), %eax
cmpq %rax, %r14
jb 0x1ce63
jmp 0x1cf1c
cmpl 0xe8(%r12), %eax
jne 0x1ced3
movq 0x618(%rbx), %rax
testq %rax, %rax
jne 0x1cec4
movl $0x1, %edi
movl $0x4, %esi
callq 0x48b0
movq %rax, 0x618(%rbx)
movl $0x2, (%rax)
movb $0x1, 0x629(%rbx)
jmp 0x1ce87
movl 0xd0(%r12), %ecx
cmpl 0xd4(%r12), %eax
jne 0x1cef2
movb $0x0, 0x62b(%rbx)
cmpl %ecx, %eax
jne 0x1ce87
jmp 0x1cefd
cmpl %ecx, %eax
jne 0x1cf0c
movb $0x0, 0x62b(%rbx)
movl %ebp, %edi
callq 0x11374
movq (%r15), %r12
jmp 0x1ce87
cmpl 0xf8(%r12), %eax
jne 0x1ce87
jmp 0x1cee5
leaq 0x8(%rsp), %rdi
callq 0x4b20
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/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 0xcee6(%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 0x1d045
cmpl $0x0, (%rsp)
je 0x1d03d
movq 0x8(%rsp), %r14
movq (%r15), %r15
xorl %r12d, %r12d
movl (%r14,%r12,4), %eax
cmpl 0x128(%r15), %eax
jne 0x1cfb8
movq 0x618(%rbx), %rax
testq %rax, %rax
jne 0x1cfb0
movl $0x1, %edi
movl $0x4, %esi
callq 0x48b0
movq %rax, 0x618(%rbx)
movl $0x3, (%rax)
jmp 0x1d02e
cmpl 0x130(%r15), %eax
jne 0x1cfeb
movq 0x610(%rbx), %rax
testq %rax, %rax
jne 0x1cfe3
movl $0x1, %edi
movl $0x4, %esi
callq 0x48b0
movq %rax, 0x610(%rbx)
movl $0x0, (%rax)
jmp 0x1d02e
cmpl 0x12c(%r15), %eax
jne 0x1d01e
movq 0x610(%rbx), %rax
testq %rax, %rax
jne 0x1d016
movl $0x1, %edi
movl $0x4, %esi
callq 0x48b0
movq %rax, 0x610(%rbx)
movl $0x2, (%rax)
jmp 0x1d02e
cmpl 0x10c(%r15), %eax
jne 0x1d02e
movb $0x1, 0x625(%rbx)
incq %r12
movl (%rsp), %eax
cmpq %rax, %r12
jb 0x1cf81
movq %rsp, %rdi
callq 0x4b20
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/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 0xc656(%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 0x1d0ba
movq 0x618(%rbx), %rax
testq %rax, %rax
jne 0x1d0b4
movl $0x1, %edi
movl $0x4, %esi
callq 0x48b0
movq %rax, 0x618(%rbx)
movl $0x2, (%rax)
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/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 0xc5f1(%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 0x1d137
testb $0x30, (%rsp)
je 0x1d137
movl 0x14(%rsp), %eax
cmpl 0x1c(%rsp), %eax
jne 0x1d137
movl 0x18(%rsp), %eax
cmpl 0x20(%rsp), %eax
jne 0x1d137
movq 0x618(%rbx), %rax
testq %rax, %rax
jne 0x1d131
movl $0x1, %edi
movl $0x4, %esi
callq 0x48b0
movq %rax, 0x618(%rbx)
movl $0x2, (%rax)
addq $0x48, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/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 0xc574(%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 0x1d1ba
leaq 0x8(%rsp), %r14
movq 0x8(%r14), %rcx
leaq 0x1ec3(%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_O3/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 0xc4f1(%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 0x1d225
addq $0x200, %rbx            # imm = 0x200
leaq 0x8(%rsp), %r14
movq 0x10(%r14), %rcx
leaq 0x1e39(%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_O3/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 0x4318(%rip), %r15      # 0x21554
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 0x1d29a
leaq 0x42e9(%rip), %r15      # 0x21554
movq %r14, %rdi
movq %rax, %rsi
movq %rbx, %rdx
callq 0x1d2a0
xorl %edi, %edi
movq %r15, %rsi
callq 0x4850
movq %rax, %r14
xorl %edi, %edi
movq %r15, %rsi
callq 0x4850
testq %r14, %r14
je 0x1d29a
testq %rax, %rax
jne 0x1d26b
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/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 $0x108, %rsp            # imm = 0x108
movq %rsi, %rbx
movl %edi, %ebp
callq 0x1ce14
movl %ebp, %edi
movq %rbx, %rsi
callq 0x1cf33
movl %ebp, %edi
movq %rbx, %rsi
callq 0x1d051
movl %ebp, %edi
movq %rbx, %rsi
callq 0x1d0c4
movl %ebp, %edi
movq %rbx, %rsi
callq 0x1d13f
movl %ebp, %edi
movq %rbx, %rsi
callq 0x1d1c4
leaq 0xc02d(%rip), %rax      # 0x29738
movq (%rax), %r12
testq %r12, %r12
je 0x1d7d2
leaq 0x100(%rbx), %r14
leaq 0x200(%rbx), %r15
movq %rsp, %r13
movq %r12, %rbp
movq 0x410(%r12), %r12
cmpb $0x2a, (%rbp)
jne 0x1d73f
cmpb $0x0, 0x1(%rbp)
je 0x1d74e
movq %rbp, %rdi
movq %rbx, %rsi
callq 0x4820
testl %eax, %eax
jne 0x1d7c9
cmpb $0x2a, 0x100(%rbp)
jne 0x1d760
cmpb $0x0, 0x101(%rbp)
je 0x1d773
leaq 0x100(%rbp), %rdi
movq %r14, %rsi
callq 0x4820
testl %eax, %eax
jne 0x1d7c9
cmpb $0x2a, 0x200(%rbp)
jne 0x1d785
cmpb $0x0, 0x201(%rbp)
je 0x1d798
leaq 0x200(%rbp), %rdi
movq %r15, %rsi
callq 0x4820
testl %eax, %eax
jne 0x1d7c9
leaq 0x300(%rbp), %rcx
movl $0x100, %esi            # imm = 0x100
movq %r13, %rdi
leaq 0x1899(%rip), %rdx      # 0x1f047
xorl %eax, %eax
callq 0x4110
movq %r13, %rdi
movq %rbx, %rsi
callq 0x1d22d
cmpb $0x1, 0x400(%rbp)
je 0x1d7e4
testq %r12, %r12
jne 0x1d728
addq $0x108, %rsp            # imm = 0x108
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rbp, %rdi
callq 0x1cb04
jmp 0x1d7d2
// File: /workspace/github_c_makefile_star2_O3/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 0xbfab(%rip), %rax      # 0x297a0
cmpb $0x0, (%rax)
je 0x1d886
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x40, %rsp
movq %rsi, %r14
movl %edi, %ebp
movq %rsi, %rdi
callq 0x199d7
leaq 0x10(%rsp), %rdi
callq 0x45a0
cmpl $-0x1, %eax
je 0x1d889
callq 0x49b0
movl %eax, %ebx
testl %eax, %eax
je 0x1d890
jle 0x1d942
movl 0x14(%rsp), %edi
callq 0x4150
movl 0x10(%rsp), %r15d
movl $0x1, %edi
movl $0x30, %esi
callq 0x48b0
movl %r15d, (%rax)
movl %ebp, 0x4(%rax)
movq %r14, 0x8(%rax)
leaq 0xbe73(%rip), %rcx      # 0x296d8
cmpq $0x0, (%rcx)
je 0x1d935
leaq 0xbeea(%rip), %rcx      # 0x29760
movq (%rcx), %rdx
movq %rax, 0x28(%rdx)
movq %rdx, 0x20(%rax)
jmp 0x1d93f
xorl %eax, %eax
retq
xorl %eax, %eax
jmp 0x1d948
leaq 0xbe31(%rip), %rax      # 0x296c8
movq (%rax), %rdi
testq %rdi, %rdi
je 0x1d8ab
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 0x1a8b3
leaq 0x3846(%rip), %rdx      # 0x2111f
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 0xbe93(%rip), %rdi      # 0x297a0
movq %rdi, %rsi
movq %r12, %rdx
movq %r14, %rcx
xorl %eax, %eax
callq 0x4230
movq (%r15), %rdi
callq 0x4460
leaq 0x3c2d(%rip), %rdi      # 0x21559
xorl %eax, %eax
callq 0x5c6c
jmp 0x1d942
leaq 0xbe24(%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_O3/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 0x1d9bc
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 0x1d9af
movl $0x1fff, %r15d          # imm = 0x1FFF
movq %rsp, %r14
cmpl %r15d, %eax
cmovael %r15d, %eax
movb $0x0, (%rsp,%rax)
movq %r14, %rdi
movq %rbx, %rsi
callq 0x1d22d
movl $0x2000, %edx           # imm = 0x2000
movl %ebp, %edi
movq %r14, %rsi
callq 0x4270
testl %eax, %eax
jg 0x1d986
addq $0x2008, %rsp           # imm = 0x2008
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/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 0xbc48(%rip), %rax      # 0x29708
movq (%rax), %rax
xorl %edx, %edx
testq %rax, %rax
je 0x1dae1
movq 0x60(%rax), %rcx
testq %rcx, %rcx
je 0x1dadb
incl %edx
movq 0x48(%rcx), %rcx
jmp 0x1dace
movq 0x78(%rax), %rax
jmp 0x1dac5
movq 0xc348(%rip), %rdi      # 0x29e30
leaq 0xbbd1(%rip), %rax      # 0x296c0
movl (%rax), %esi
jmp 0x40c0
// File: /workspace/github_c_makefile_star2_O3/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 0xbc0b(%rip), %rax      # 0x29708
movq (%rax), %rcx
testq %rcx, %rcx
je 0x1db26
xorl %eax, %eax
movq 0x60(%rcx), %rdx
testq %rdx, %rdx
je 0x1db1d
cmpq %rdi, %rdx
je 0x1db28
incl %eax
movq 0x48(%rdx), %rdx
jmp 0x1db0b
movq 0x78(%rcx), %rcx
testq %rcx, %rcx
jne 0x1db07
xorl %eax, %eax
retq
// File: /workspace/github_c_makefile_star2_O3/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 0xbbd8(%rip), %rax      # 0x29708
movq (%rax), %rax
testq %rax, %rax
je 0x1db64
movq 0x60(%rax), %rcx
testq %rcx, %rcx
je 0x1db4c
subl $0x1, %edi
jb 0x1db52
movq 0x48(%rcx), %rcx
jmp 0x1db3c
movq 0x78(%rax), %rax
jmp 0x1db33
movq %rax, (%rsi)
movq %rcx, 0x8(%rsi)
movq $0x0, 0x10(%rsi)
movb $0x1, %al
retq
xorl %eax, %eax
retq
// File: /workspace/github_c_makefile_star2_O3/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 0xbba2(%rip), %rax      # 0x29710
movq (%rax), %rcx
testq %rcx, %rcx
je 0x1dbc1
leaq 0xbb8b(%rip), %rax      # 0x29708
movq (%rax), %rax
testq %rax, %rax
je 0x1dbaa
movq 0x58(%rcx), %rcx
xorl %edx, %edx
movq 0x60(%rax), %rsi
testq %rsi, %rsi
je 0x1dba1
cmpq %rcx, %rsi
je 0x1dbac
incl %edx
movq 0x48(%rsi), %rsi
jmp 0x1db8f
movq 0x78(%rax), %rax
testq %rax, %rax
jne 0x1db8b
xorl %edx, %edx
movq 0xc27d(%rip), %rdi      # 0x29e30
leaq 0xbb06(%rip), %rax      # 0x296c0
movl (%rax), %esi
jmp 0x48f0
retq
// File: /workspace/github_c_makefile_star2_O3/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 0xbb38(%rip), %rax      # 0x29708
movq (%rax), %rax
testq %rax, %rax
je 0x1dbf9
xorl %ebp, %ebp
movq 0x60(%rax), %rcx
testq %rcx, %rcx
je 0x1dbf0
cmpq %rsi, %rcx
je 0x1dbfb
incl %ebp
movq 0x48(%rcx), %rcx
jmp 0x1dbde
movq 0x78(%rax), %rax
testq %rax, %rax
jne 0x1dbda
xorl %ebp, %ebp
movq %rbx, %rdi
callq 0x920c
testq %rax, %rax
je 0x1dc36
movq %rax, %r14
cmpq $0x0, 0x48(%r14)
je 0x1dc23
movq 0xc217(%rip), %rdi      # 0x29e30
movl (%r14), %esi
movl %ebp, %edx
callq 0x46f0
movq %r14, %rdi
movq %rbx, %rsi
callq 0x926e
movq %rax, %r14
testq %rax, %rax
jne 0x1dc0b
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/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 0xbabd(%rip), %r15      # 0x29708
movq (%r15), %r12
testq %r12, %r12
je 0x1dccc
movq 0x60(%r12), %r13
testq %r13, %r13
je 0x1dcc5
movq (%r15), %rax
testq %rax, %rax
je 0x1dc86
xorl %ebx, %ebx
movq 0x60(%rax), %rcx
testq %rcx, %rcx
je 0x1dc7d
cmpq %r13, %rcx
je 0x1dc88
incl %ebx
movq 0x48(%rcx), %rcx
jmp 0x1dc6b
movq 0x78(%rax), %rax
testq %rax, %rax
jne 0x1dc67
xorl %ebx, %ebx
movq 0x30(%r13), %rdi
callq 0x920c
movq %rax, %r14
testq %rax, %rax
je 0x1dcbf
cmpq $0x0, 0x48(%r14)
je 0x1dcb1
movq 0xc189(%rip), %rdi      # 0x29e30
movl (%r14), %esi
movl %ebx, %edx
callq 0x46f0
movq 0x30(%r13), %rsi
movq %r14, %rdi
callq 0x926e
jmp 0x1dc91
movq 0x48(%r13), %r13
jmp 0x1dc58
movq 0x78(%r12), %r12
jmp 0x1dc4e
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/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 0xba24(%rip), %rax      # 0x29708
movq (%rax), %rax
testq %rax, %rax
je 0x1dd7c
xorl %edx, %edx
movq 0x60(%rax), %rcx
testq %rcx, %rcx
je 0x1dd4d
movb (%rcx), %dil
movl %edx, %esi
testb %dil, %dil
je 0x1dd39
cmpl $0xff, %edx
ja 0x1dd39
leaq 0x1(%rcx), %r8
movb %dil, (%rsp,%rsi)
movb (%r8), %dil
incq %rsi
incl %edx
testb %dil, %dil
je 0x1dd2e
incq %r8
cmpq $0x100, %rsi            # imm = 0x100
jb 0x1dd11
cmpq $0x100, %rsi            # imm = 0x100
jb 0x1dd41
jmp 0x1dd47
cmpl $0xff, %edx
ja 0x1dd47
incl %edx
movb $0x0, (%rsp,%rsi)
movq 0x48(%rcx), %rcx
jmp 0x1dcf6
movq 0x78(%rax), %rax
testq %rax, %rax
jne 0x1dcf2
testl %edx, %edx
je 0x1dd7c
decl %edx
movq 0xc0cd(%rip), %rdi      # 0x29e30
leaq 0xb956(%rip), %rax      # 0x296c0
movl (%rax), %esi
movq %rsp, %rcx
callq 0x4870
addq $0x108, %rsp            # imm = 0x108
retq
movq 0xc0ad(%rip), %rdi      # 0x29e30
leaq 0xb936(%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_O3/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 0xb95f(%rip), %rax      # 0x29708
movq (%rax), %rdx
testq %rdx, %rdx
je 0x1de5a
xorl %ecx, %ecx
movq 0x60(%rdx), %rsi
testq %rsi, %rsi
je 0x1ddc8
incl %ecx
movq 0x48(%rsi), %rsi
jmp 0x1ddbb
movq 0x78(%rdx), %rdx
testq %rdx, %rdx
jne 0x1ddb7
testl %ecx, %ecx
je 0x1de5a
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 0x1de3b
movq 0x60(%rax), %rsi
testq %rsi, %rsi
je 0x1de2f
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 0x1de12
movq 0x78(%rax), %rax
testq %rax, %rax
jne 0x1ddfd
movzwl %dx, %edx
movq 0xbfee(%rip), %rdi      # 0x29e30
leaq 0xb877(%rip), %rax      # 0x296c0
movl (%rax), %esi
callq 0x4090
movq %rbx, %rsp
leaq -0x8(%rbp), %rsp
popq %rbx
popq %rbp
retq
movq 0xbfcf(%rip), %rdi      # 0x29e30
leaq 0xb858(%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_O3/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 0xb654(%rip), %r15      # 0x296f4
movl (%r15), %eax
testq %rax, %rax
je 0x1e10b
movq %rsp, %r14
movq %rsp, %rbx
leaq 0xf(,%rax,4), %rax
andq $-0x10, %rax
subq %rax, %rbx
movq %rbx, %rsp
testb %dil, %dil
je 0x1e144
leaq 0xb67c(%rip), %rax      # 0x29748
movq (%rax), %rax
testq %rax, %rax
je 0x1e0eb
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 0x1e0d6
movq 0xbd3e(%rip), %rdi      # 0x29e30
leaq 0xb5c7(%rip), %rax      # 0x296c0
movl (%rax), %esi
movl (%r15), %edx
movq %rbx, %rcx
callq 0x4320
jmp 0x1e1c1
movq 0xbd1e(%rip), %rdi      # 0x29e30
leaq 0xb5a7(%rip), %rbx      # 0x296c0
movl (%rbx), %esi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x4a40
movq 0xbd05(%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 0xb5b9(%rip), %rax      # 0x29708
movq (%rax), %r12
testq %r12, %r12
je 0x1e1a2
xorl %r13d, %r13d
movq 0x60(%r12), %r14
testq %r14, %r14
je 0x1e198
movq 0x30(%r14), %rdi
callq 0x920c
testq %rax, %rax
je 0x1e192
cmpq $0x0, 0x48(%rax)
je 0x1e184
movl (%rax), %ecx
movl %r13d, %edx
incl %r13d
movl %ecx, (%rbx,%rdx,4)
movq 0x30(%r14), %rsi
movq %rax, %rdi
callq 0x926e
jmp 0x1e16d
movq 0x48(%r14), %r14
jmp 0x1e15f
movq 0x78(%r12), %r12
testq %r12, %r12
jne 0x1e15a
movq 0xbc87(%rip), %rdi      # 0x29e30
leaq 0xb510(%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_O3/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
movq 0xbc48(%rip), %rax      # 0x29e30
testb $0x1, %cl
jne 0x1e1f4
xorl %edx, %edx
movq %rsp, %rsi
jmp 0x1e207
leaq 0x4(%rsp), %rsi
movl 0x108(%rax), %edx
movl %edx, -0x4(%rsi)
movl $0x1, %edx
testb $0x2, %cl
je 0x1e219
movl 0x10c(%rax), %r8d
incq %rdx
movl %r8d, (%rsi)
testb $0x4, %cl
je 0x1e22a
movl 0x110(%rax), %esi
movl %esi, (%rsp,%rdx,4)
incq %rdx
testb $0x8, %cl
je 0x1e23b
movl 0x114(%rax), %esi
movl %esi, (%rsp,%rdx,4)
incq %rdx
testb $0x10, %cl
je 0x1e24c
movl 0x118(%rax), %esi
movl %esi, (%rsp,%rdx,4)
incq %rdx
testb $0x20, %cl
je 0x1e25d
movl 0x11c(%rax), %esi
movl %esi, (%rsp,%rdx,4)
incq %rdx
testb $0x40, %cl
je 0x1e26e
movl 0x120(%rax), %esi
movl %esi, (%rsp,%rdx,4)
incq %rdx
testb %cl, %cl
jns 0x1e27e
movl 0x124(%rax), %esi
movl %esi, (%rsp,%rdx,4)
incq %rdx
btl $0x8, %ecx
jae 0x1e290
movl 0x128(%rax), %esi
movl %esi, (%rsp,%rdx,4)
incq %rdx
btl $0x9, %ecx
jae 0x1e2a2
movl 0x12c(%rax), %esi
movl %esi, (%rsp,%rdx,4)
incq %rdx
btl $0xa, %ecx
jae 0x1e2b4
movl 0x130(%rax), %esi
movl %esi, (%rsp,%rdx,4)
incq %rdx
btl $0xb, %ecx
jae 0x1e2c6
movl 0x134(%rax), %ecx
movl %ecx, (%rsp,%rdx,4)
incq %rdx
movl (%rdi), %esi
movq %rsp, %rcx
movq %rax, %rdi
callq 0x48a0
addq $0x38, %rsp
retq
// File: /workspace/github_c_makefile_star2_O3/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 0xbb45(%rip), %rdi      # 0x29e30
leaq 0xb486(%rip), %rax      # 0x29778
movl (%rax), %esi
movl %ebx, %edx
callq 0x4450
movq 0xbb2e(%rip), %rdi      # 0x29e30
movl %ebx, %esi
movl %ebx, %edx
callq 0x4450
movq 0xbb1e(%rip), %rdi      # 0x29e30
leaq 0xd17(%rip), %rcx       # 0x1f030
movl %ebx, %esi
movl $0x5, %edx
callq 0x4720
movq 0xbb04(%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_O3/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
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_O3/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 0x1e3f0
pushq %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x18(%rdi), %rax
movq 0x20(%rdi), %rcx
testq %rax, %rax
je 0x1e390
movq %rcx, 0x20(%rax)
testq %rcx, %rcx
je 0x1e399
movq %rax, 0x18(%rcx)
leaq 0xb3b8(%rip), %rdx      # 0x29758
cmpq %rbx, (%rdx)
jne 0x1e3a8
movq %rcx, (%rdx)
leaq 0xb3a1(%rip), %rcx      # 0x29750
cmpq %rbx, (%rcx)
jne 0x1e3b7
movq %rax, (%rcx)
leaq 0xb322(%rip), %rax      # 0x296e0
movq (%rbx), %rdi
cmpb $0x1, (%rax)
jne 0x1e3f1
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 0x1e3ff
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_O3/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 0xb335(%rip), %rax      # 0x29758
cmpq $0x0, (%rax)
je 0x1e43d
leaq 0xb320(%rip), %rax      # 0x29750
movq (%rax), %rax
movq %rbx, 0x20(%rax)
movq %rax, 0x18(%rbx)
jmp 0x1e440
movq %rbx, (%rax)
leaq 0xb309(%rip), %rax      # 0x29750
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 0x1e49f
movq (%rbx), %rdi
callq 0x1e4a6
movl 0x14(%rbx), %eax
leal -0x1(%rax), %ecx
movl %ecx, 0x14(%rbx)
cmpl $0x1, %eax
jne 0x1e49f
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %rbp
jmp 0x1e374
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/baskerville[P]bspwm/src/subscribe.c
// Function: put_status
void put_status(subscriber_mask_t mask, ...)
{
	subscriber_list_t *sb = subscribe_head;
	int ret;
	while (sb != NULL) {
		subscriber_list_t *next = sb->next;
		if (sb->field & mask) {
			if (sb->count > 0) {
				sb->count--;
			}
			if (mask == SBSC_MASK_REPORT) {
				ret = print_report(sb->stream);
			} else {
				char *fmt;
				va_list args;
				va_start(args, mask);
				fmt = va_arg(args, char *);
				vfprintf(sb->stream, fmt, args);
				va_end(args);
				ret = fflush(sb->stream);
			}
			if (ret != 0 || sb->count == 0) {
				remove_subscriber(sb);
			}
		}
		sb = next;
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xd8, %rsp
testb %al, %al
je 0x1e704
movaps %xmm0, 0x50(%rsp)
movaps %xmm1, 0x60(%rsp)
movaps %xmm2, 0x70(%rsp)
movaps %xmm3, 0x80(%rsp)
movaps %xmm4, 0x90(%rsp)
movaps %xmm5, 0xa0(%rsp)
movaps %xmm6, 0xb0(%rsp)
movaps %xmm7, 0xc0(%rsp)
movq %rsi, 0x28(%rsp)
movq %rdx, 0x30(%rsp)
movq %rcx, 0x38(%rsp)
movq %r8, 0x40(%rsp)
movq %r9, 0x48(%rsp)
leaq 0xb034(%rip), %rax      # 0x29758
movq (%rax), %r12
testq %r12, %r12
je 0x1e7e6
movl %edi, %ebx
movabsq $0x3000000008, %r13     # imm = 0x3000000008
movl $0x8, %ebp
movq %rsp, %r14
movq %r12, %r15
movq 0x20(%r12), %r12
testl %ebx, 0x10(%r15)
je 0x1e7dd
movl 0x14(%r15), %eax
testl %eax, %eax
jle 0x1e764
decl %eax
movl %eax, 0x14(%r15)
cmpl $0x1, %ebx
jne 0x1e773
movq (%r15), %rdi
callq 0x1e4a6
jmp 0x1e7c8
leaq 0x20(%rsp), %rax
movq %rax, 0x10(%rsp)
leaq 0x110(%rsp), %rax
movq %rax, 0x8(%rsp)
movq %r13, (%rsp)
cmpq $0x28, %rbp
ja 0x1e7a4
movq 0x10(%rsp), %rax
addq %rbp, %rax
leal 0x8(%rbp), %ecx
movl %ecx, (%rsp)
jmp 0x1e7b2
movq 0x8(%rsp), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x8(%rsp)
movq (%rax), %rsi
movq (%r15), %rdi
movq %r14, %rdx
callq 0x43d0
movq (%r15), %rdi
callq 0x4b00
testl %eax, %eax
je 0x1e7d6
movq %r15, %rdi
callq 0x1e374
jmp 0x1e7dd
cmpl $0x0, 0x14(%r15)
je 0x1e7cc
testq %r12, %r12
jne 0x1e744
addq $0xd8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/baskerville[P]bspwm/src/subscribe.c
// Function: prune_dead_subscribers
void prune_dead_subscribers(void)
{
	subscriber_list_t *sb = subscribe_head;
	while (sb != NULL) {
		subscriber_list_t *next = sb->next;
		// Is the subscriber's stream closed?
		if (write(fileno(sb->stream), NULL, 0) == -1) {
			remove_subscriber(sb);
		}
		sb = next;
	}
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
leaq 0xaf55(%rip), %rax      # 0x29758
movq (%rax), %rbx
testq %rbx, %rbx
je 0x1e838
movq (%rbx), %rdi
movq 0x20(%rbx), %r14
callq 0x4060
movl %eax, %edi
xorl %esi, %esi
xorl %edx, %edx
callq 0x4a60
cmpq $-0x1, %rax
jne 0x1e830
movq %rbx, %rdi
callq 0x1e374
movq %r14, %rbx
testq %r14, %r14
jne 0x1e80b
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/mishun[P]plantri/fullgen.c
// Function: schreibe_symmetriestatistik
void schreibe_symmetriestatistik()
{ int i, j=0;
  fprintf(stderr,"Symmetries:\n");
  for (i=1; i<=28; i++) {
    if (symm_anz[i]>0) {
      fprintf(stderr,"  %s: %10d ",symm_name[i],symm_anz[i]); 
      j++;
      if (j%4==0) {fprintf(stderr,"\n");}
    }
  }
  if (j%4) {fprintf(stderr,"\n");}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq 0x13e46(%rip), %r14     # 0x14ff8
movq (%r14), %rcx
leaq 0xf0d0(%rip), %rdi      # 0x1028c
pushq $0xc
popq %rsi
pushq $0x1
popq %rdx
callq 0x1180
pushq $0x4
popq %r15
leaq 0x13fde(%rip), %r12     # 0x151b0
leaq 0x13f07(%rip), %r13     # 0x150e0
leaq 0xf0b9(%rip), %rbx      # 0x10299
xorl %ebp, %ebp
movl (%r15,%r12), %ecx
testl %ecx, %ecx
jg 0x11f6
addq $0x4, %r15
cmpq $0x74, %r15
jne 0x11e2
jmp 0x121c
movq (%r14), %rdi
leaq (%r15,%r13), %rdx
movq %rbx, %rsi
xorl %eax, %eax
callq 0x10b0
incl %ebp
testb $0x3, %bpl
jne 0x11ea
movq (%r14), %rsi
pushq $0xa
popq %rdi
callq 0x1090
jmp 0x11ea
testb $0x3, %bpl
je 0x123b
movq (%r14), %rsi
pushq $0xa
popq %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x1090
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/mishun[P]plantri/fullgen.c
// Function: checksize_mark_return
int checksize_mark_return(KANTE* edge, int mark, KANTE **nextedge)

{
KANTE *run; 
int zaehler=1;

*nextedge=nil;
if (edge->dummy < mark) { *nextedge=edge->invers; edge->dummy=edge->invers->dummy=mark; }

for (run=edge->invers->next; run != edge; run=run->invers->next) 
        { if (run->dummy < mark) { *nextedge=run->invers; run->dummy=run->invers->dummy=mark; }
	  zaehler++; }
return(zaehler);
}

// Assembly:
movq $0x0, (%rdx)
movslq %esi, %rcx
movq 0x28(%rdi), %rax
cmpq %rcx, 0x8(%rdi)
jge 0x2bcb
movq %rax, (%rdx)
movq %rcx, 0x8(%rax)
movq %rcx, 0x8(%rdi)
movq 0x20(%rax), %rsi
movl $0x1, %eax
cmpq %rdi, %rsi
je 0x2bf6
movq 0x28(%rsi), %r8
cmpq %rcx, 0x8(%rsi)
jge 0x2bee
movq %r8, (%rdx)
movq %rcx, 0x8(%r8)
movq %rcx, 0x8(%rsi)
incl %eax
movq 0x20(%r8), %rsi
jmp 0x2bd4
retq
// File: /workspace/github_c_makefile_star2_O3/mishun[P]plantri/fullgen.c
// Function: checksize_mark_return_right
int checksize_mark_return_right(KANTE* edge, int mark, KANTE **nextedge)

{
KANTE *run; 
int zaehler=1;

*nextedge=nil;
if (edge->dummy < mark) { *nextedge=edge->invers; edge->dummy=edge->invers->dummy=mark; }

for (run=edge->invers->prev; run != edge; run=run->invers->prev) 
      {if (run->dummy < mark) { *nextedge=run->invers; run->dummy=run->invers->dummy=mark; }
       zaehler++;}
return(zaehler);
}

// Assembly:
movq $0x0, (%rdx)
movslq %esi, %rcx
movq 0x28(%rdi), %rax
cmpq %rcx, 0x8(%rdi)
jge 0x2c16
movq %rax, (%rdx)
movq %rcx, 0x8(%rax)
movq %rcx, 0x8(%rdi)
movq 0x18(%rax), %rsi
movl $0x1, %eax
cmpq %rdi, %rsi
je 0x2c41
movq 0x28(%rsi), %r8
cmpq %rcx, 0x8(%rsi)
jge 0x2c39
movq %r8, (%rdx)
movq %rcx, 0x8(%r8)
movq %rcx, 0x8(%rsi)
incl %eax
movq 0x18(%r8), %rsi
jmp 0x2c1f
retq
// File: /workspace/github_c_makefile_star2_O3/mishun[P]plantri/fullgen.c
// Function: vegacode
void vegacode( FILE *fil, PLANMAP map )

{
static int erster_aufruf=1;
int i;

if (erster_aufruf)
  { fprintf(fil,">>writegraph3d planar <<\n");
    erster_aufruf=0; }

if (map[0][0].name >= 100)
  {
    for (i=1; i<=map[0][0].name; i++)
      fprintf(fil,"%3d  0 0 0   %3d %3d %3d\n",i,map[i][0].name,map[i][1].name,map[i][2].name);
  }
else 
  {
    for (i=1; i<=map[0][0].name; i++)
      fprintf(fil,"%2d  0 0 0   %2d %2d %2d\n",i,map[i][0].name,map[i][1].name,map[i][2].name);
  }
fprintf(fil,"0\n");

}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
cmpb $0x0, 0x1235f(%rip)     # 0x15254
jne 0x2f17
leaq 0xd3a7(%rip), %rdi      # 0x102a5
movl $0x19, %esi
movl $0x1, %edx
movq %rbx, %rcx
callq 0x1180
movb $0x1, 0x1233d(%rip)     # 0x15254
movzwl 0x2(%r14), %eax
cmpw $0x64, %ax
jb 0x2f68
leaq 0xf2(%r14), %r13
leaq 0xd38f(%rip), %r15      # 0x102bf
xorl %r12d, %r12d
movzwl -0x60(%r13), %ecx
movzwl -0x30(%r13), %r8d
movzwl (%r13), %r9d
incq %r12
movq %rbx, %rdi
movq %r15, %rsi
movl %r12d, %edx
xorl %eax, %eax
callq 0x10b0
movzwl 0x2(%r14), %eax
addq $0x90, %r13
cmpq %rax, %r12
jb 0x2f33
jmp 0x2fb1
testw %ax, %ax
je 0x2fb1
leaq 0xf2(%r14), %r13
leaq 0xd35e(%rip), %r15      # 0x102d9
xorl %r12d, %r12d
movzwl -0x60(%r13), %ecx
movzwl -0x30(%r13), %r8d
movzwl (%r13), %r9d
incq %r12
movq %rbx, %rdi
movq %r15, %rsi
movl %r12d, %edx
xorl %eax, %eax
callq 0x10b0
movzwl 0x2(%r14), %eax
addq $0x90, %r13
cmpq %rax, %r12
jb 0x2f7e
leaq 0xd33b(%rip), %rdi      # 0x102f3
movl $0x2, %esi
movl $0x1, %edx
movq %rbx, %rcx
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmp 0x1180