LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O3/sprt[P]lossless-transport/src/window.c
// Function: window_free
void window_free(window_t *w) {
	struct node *cur = w->front;
	while (cur != NULL) {
		struct node *next = cur->next;
		free(cur);
		cur = next;
	}
	free(w);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x28(%rdi), %rdi
testq %rdi, %rdi
je 0x1eb0
movq 0x8(%rdi), %r14
callq 0x1030
movq %r14, %rdi
testq %r14, %r14
jne 0x1e9f
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x1030
// File: /workspace/github_c_makefile_star2_O3/sprt[P]lossless-transport/src/window.c
// Function: window_has
bool window_has(window_t *w, size_t seqnum) {
	if (w->size == 0) {
		return false;
	}
	if (window_start(w) > window_end(w)) { /* Example: 3 [4 5 0 1] 2 */
		return window_start(w) <= seqnum || seqnum <= window_end(w);
	}
	return window_start(w) <= seqnum && seqnum <= window_end(w);
}

// Assembly:
movq 0x10(%rdi), %rax
testq %rax, %rax
je 0x1f54
movq (%rdi), %r8
movq 0x18(%rdi), %rcx
addq %rcx, %rax
decq %rax
incq %r8
xorl %edx, %edx
divq %r8
cmpq %rdx, %rcx
jbe 0x1f57
cmpq %rsi, %rdx
setae %dl
cmpq %rsi, %rcx
setbe %al
orb %dl, %al
retq
xorl %eax, %eax
retq
cmpq %rsi, %rdx
setae %dl
cmpq %rsi, %rcx
setbe %al
andb %dl, %al
retq
// File: /workspace/github_c_makefile_star2_O3/sprt[P]lossless-transport/src/window.c
// Function: window_push
int window_push(window_t *w, pkt_t *pkt) {
	if (window_full(w)) {
		return -1;
	}

	struct node *front = calloc(1, sizeof (struct node));
	if (front == NULL) {
		return -1;
	}

	front->pkt = pkt;
	front->next = w->front;
	w->front = front;

	w->bufsize++;
	return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq 0x20(%rdi), %r15
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
cmpq 0x8(%rdi), %r15
je 0x1fd0
movq %rdi, %rbx
cmpq 0x10(%rdi), %r15
jae 0x1fd0
movq %rsi, %r14
movl $0x1, %edi
movl $0x10, %esi
callq 0x10d0
testq %rax, %rax
je 0x1fd0
movq %r14, (%rax)
movq 0x28(%rbx), %rcx
movq %rcx, 0x8(%rax)
movq %rax, 0x28(%rbx)
incq %r15
movq %r15, 0x20(%rbx)
xorl %ebp, %ebp
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/sprt[P]lossless-transport/src/window.c
// Function: window_find_seqnum
pkt_t *window_find_seqnum(window_t *w, size_t seqnum) {
	struct node *cur = w->front;
	while (cur != NULL) {
		if (pkt_get_seqnum(cur->pkt) == seqnum) {
			return cur->pkt;
		}
		cur = cur->next;
	}
	/* Reached only if there's no match */
	return NULL;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq 0x28(%rdi), %r15
testq %r15, %r15
je 0x203c
movq %rsi, %r14
xorl %ebx, %ebx
movq (%r15), %rdi
callq 0x17f1
movzbl %al, %eax
cmpq %r14, %rax
je 0x2040
movq 0x8(%r15), %r15
testq %r15, %r15
jne 0x2021
jmp 0x2043
xorl %ebx, %ebx
jmp 0x2043
movq (%r15), %rbx
movq %rbx, %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/sprt[P]lossless-transport/src/window.c
// Function: window_update_timestamp
int window_update_timestamp(window_t *w, uint32_t old_time, uint32_t new_time) {
	struct node *cur = w->front;
	while (cur != NULL) {
		if (pkt_get_timestamp(cur->pkt) == old_time) {
			pkt_set_timestamp(cur->pkt, new_time);
			return 0;
		}
		cur = cur->next;
	}
	/* Reached only if there's no match */
	return -1;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq 0x28(%rdi), %r15
movl $0xffffffff, %ebx       # imm = 0xFFFFFFFF
testq %r15, %r15
je 0x208a
movl %edx, %ebp
movl %esi, %r14d
movq (%r15), %rdi
callq 0x17f5
cmpl %r14d, %eax
je 0x207e
movq 0x8(%r15), %r15
testq %r15, %r15
jne 0x2066
jmp 0x208a
movq (%r15), %rdi
movl %ebp, %esi
callq 0x18ab
xorl %ebx, %ebx
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/sprt[P]lossless-transport/src/window.c
// Function: window_pop_node
pkt_t *window_pop_node(window_t *w, struct node **node) {
	if (*node == NULL) {
		return NULL;
	}

	pkt_t *pkt = (*node)->pkt;

	struct node *tmp = *node;
	*node = (*node)->next;
	free(tmp);

	w->bufsize--;
	return pkt;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %r14
movq (%rsi), %rdi
testq %rdi, %rdi
je 0x20bb
movq (%rdi), %rbx
movq 0x8(%rdi), %rax
movq %rax, (%rsi)
callq 0x1030
decq 0x20(%r14)
jmp 0x20bd
xorl %ebx, %ebx
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/sprt[P]lossless-transport/src/window.c
// Function: window_pop_timestamp
pkt_t *window_pop_timestamp(window_t *w, uint32_t timestamp) {
	struct node **cur = &w->front;
	struct node **match = cur;
	while (*cur != NULL) {
		if (pkt_get_timestamp((*cur)->pkt) == timestamp) {
			match = cur;
			break;
		}
		cur = &(*cur)->next;
	}
	return window_pop_node(w, match);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq 0x28(%rdi), %rax
testq %rax, %rax
je 0x2120
movl %esi, %ebp
movq %rdi, %rbx
leaq 0x28(%rdi), %r14
movq %r14, %r15
movq (%rax), %rdi
callq 0x17f5
cmpl %ebp, %eax
je 0x2103
movq (%r15), %r15
movq 0x8(%r15), %rax
addq $0x8, %r15
testq %rax, %rax
jne 0x20e4
movq %r14, %r15
movq (%r15), %rdi
testq %rdi, %rdi
je 0x2120
movq (%rdi), %r14
movq 0x8(%rdi), %rax
movq %rax, (%r15)
callq 0x1030
decq 0x20(%rbx)
jmp 0x2123
xorl %r14d, %r14d
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/sprt[P]lossless-transport/src/window.c
// Function: window_find_min_timestamp
struct node **window_find_min_timestamp(window_t *w) {
	struct node **cur = &w->front;
	struct node **min = cur;
	while (*cur != NULL) {
		if (pkt_get_timestamp((*cur)->pkt) < pkt_get_timestamp((*min)->pkt)) {
			min = cur;
		}
		cur = &(*cur)->next;
	}
	return min;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
movq 0x28(%rdi), %rcx
addq $0x28, %rbx
testq %rcx, %rcx
je 0x217e
movq %rbx, %r14
movq (%rcx), %rdi
callq 0x17f5
movl %eax, %ebp
movq (%rbx), %rax
movq (%rax), %rdi
callq 0x17f5
movl %eax, %ecx
movq %r14, %rax
cmpl %ecx, %ebp
jb 0x2169
movq %rbx, %rax
movq (%r14), %r14
movq 0x8(%r14), %rcx
addq $0x8, %r14
movq %rax, %rbx
testq %rcx, %rcx
jne 0x2148
jmp 0x2181
movq %rbx, %rax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/sprt[P]lossless-transport/src/window.c
// Function: window_peek_min_timestamp
pkt_t *window_peek_min_timestamp(window_t *w) {
	struct node **min = window_find_min_timestamp(w);
	if (*min == NULL) {
		return NULL;
	}
	return (*min)->pkt;
}

// Assembly:
pushq %rax
callq 0x2131
movq (%rax), %rax
testq %rax, %rax
je 0x2199
movq (%rax), %rax
jmp 0x219b
xorl %eax, %eax
popq %rcx
retq
// File: /workspace/github_c_makefile_star2_O3/sprt[P]lossless-transport/src/window.c
// Function: window_find_min_seqnum
struct node **window_find_min_seqnum(window_t *w) {
	struct node **cur = &w->front;
	struct node **min = cur;
	while (*cur != NULL) {
		if (pkt_get_seqnum((*cur)->pkt) < pkt_get_seqnum((*min)->pkt)) {
			min = cur;
		}
		cur = &(*cur)->next;
	}
	return min;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
movq 0x28(%rdi), %rcx
addq $0x28, %rbx
testq %rcx, %rcx
je 0x2222
movq %rbx, %r14
movq (%rcx), %rdi
callq 0x17f1
movl %eax, %ebp
movq (%rbx), %rax
movq (%rax), %rdi
callq 0x17f1
movl %eax, %ecx
movq %r14, %rax
cmpb %cl, %bpl
jb 0x220d
movq %rbx, %rax
movq (%r14), %r14
movq 0x8(%r14), %rcx
addq $0x8, %r14
movq %rax, %rbx
testq %rcx, %rcx
jne 0x21eb
jmp 0x2225
movq %rbx, %rax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/sprt[P]lossless-transport/src/window.c
// Function: window_peek_min_seqnum
pkt_t *window_peek_min_seqnum(window_t *w) {
	struct node **min = window_find_min_seqnum(w);
	if (*min == NULL) {
		return NULL;
	}
	return (*min)->pkt;
}

// Assembly:
pushq %rax
callq 0x21d4
movq (%rax), %rax
testq %rax, %rax
je 0x223d
movq (%rax), %rax
jmp 0x223f
xorl %eax, %eax
popq %rcx
retq
// File: /workspace/github_c_makefile_star2_O3/sprt[P]lossless-transport/src/receiver.c
// Function: wait_for_client
int wait_for_client(void) {
	char buf[MAX_PACKET_SIZE];
	struct sockaddr_in6 addr;
	socklen_t addrlen = sizeof (addr);

	/* Wait for a packet from anyone */
	if (recvfrom(sockfd, buf, MAX_PACKET_SIZE, MSG_PEEK, (struct sockaddr *) &addr, &addrlen) == -1) {
		log_perror("recvfrom");
		return -1;
	}

	/* For UDP, connecting merely implies setting the address to which data
	 * is sent by default, and the only address from which data is received. */
	if (connect(sockfd, (struct sockaddr *) &addr, addrlen) == -1) {
		log_perror("connect");
		return -1;
	}

	return 0;
}

// Assembly:
subq $0x238, %rsp            # imm = 0x238
movq %rsp, %r9
movl $0x1c, (%r9)
movl 0x3e81(%rip), %edi      # 0x6110
leaq 0x20(%rsp), %rsi
leaq 0x4(%rsp), %r8
movl $0x210, %edx            # imm = 0x210
movl $0x2, %ecx
callq 0x1110
cmpq $-0x1, %rax
je 0x22d3
movl 0x3e5c(%rip), %edi      # 0x6110
movl (%rsp), %edx
leaq 0x4(%rsp), %rsi
callq 0x11a0
movl %eax, %ecx
xorl %eax, %eax
cmpl $-0x1, %ecx
jne 0x22e4
leaq 0xea1(%rip), %rdi       # 0x3172
jmp 0x22da
leaq 0xf21(%rip), %rdi       # 0x31fb
callq 0x12b3
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
addq $0x238, %rsp            # imm = 0x238
retq
// File: /workspace/github_c_makefile_star2_O3/sprt[P]lossless-transport/src/receiver.c
// Function: main
int main(int argc, char **argv) {
	parse_args(argc, argv, &hostname, &port, &filename);

	if (filename == NULL) {
		outfile = stdout;
	} else {
		outfile = fopen(filename, "wb+");
		if (outfile == NULL) {
			exit_perror("fopen");
		}
	}

	w = window_create(MAX_WINDOW_SIZE, MAX_WINDOW_SIZE, 255);
	if (w == NULL) {
		exit_msg("Could not create window\n");
	}

	struct sockaddr_in6 addr;
	const char *err = real_address(hostname, &addr);
	if (err != NULL) {
		exit_msg("real_address: %s\n", err);
	}

	/* Bind the socket */
	sockfd = create_socket(&addr, port, NULL, -1);
	if (sockfd == -1) {
		exit(1);
	}

	log_msg("Waiting for sender...\n");
	if (wait_for_client() == -1) {
		exit_msg("Error waiting for sender\n");
	}

	log_msg("Received first packet, connected\n");

	while (true) {
		/* This is probably the line you're looking for */
		main_loop();
	}

	window_free(w);
	fclose(outfile);

	return 0;
}

// Assembly:
subq $0x28, %rsp
leaq 0x3d6f(%rip), %rdx      # 0x6568
leaq 0x3d70(%rip), %rcx      # 0x6570
leaq 0x3d71(%rip), %r8       # 0x6578
callq 0x1b1b
movq 0x3d65(%rip), %rdi      # 0x6578
testq %rdi, %rdi
je 0x283e
leaq 0xc1f(%rip), %rsi       # 0x343e
callq 0x1130
movq %rax, 0x3d35(%rip)      # 0x6560
testq %rax, %rax
jne 0x284f
leaq 0xc0b(%rip), %rdi       # 0x3442
callq 0x19ee
jmp 0x284f
movq 0x3783(%rip), %rax      # 0x5fc8
movq (%rax), %rax
movq %rax, 0x3d11(%rip)      # 0x6560
movl $0x1f, %edi
movl $0x1f, %esi
movl $0xff, %edx
callq 0x1e50
movq %rax, 0x3cee(%rip)      # 0x6558
testq %rax, %rax
jne 0x287d
leaq 0xbd2(%rip), %rdi       # 0x3448
xorl %eax, %eax
callq 0x194c
movq 0x3ce4(%rip), %rdi      # 0x6568
leaq 0xc(%rsp), %rsi
callq 0x1bcc
testq %rax, %rax
je 0x28a4
leaq 0xbc7(%rip), %rdi       # 0x3461
movq %rax, %rsi
xorl %eax, %eax
callq 0x194c
movzwl 0x3cc5(%rip), %esi      # 0x6570
leaq 0xc(%rsp), %rdi
xorl %edx, %edx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
callq 0x1c41
movl %eax, 0x384e(%rip)      # 0x6110
cmpl $-0x1, %eax
je 0x2902
leaq 0xba5(%rip), %rdi       # 0x3473
xorl %eax, %eax
callq 0x1210
callq 0x2278
cmpl $-0x1, %eax
jne 0x28ed
leaq 0xba4(%rip), %rdi       # 0x348a
xorl %eax, %eax
callq 0x194c
leaq 0xbb0(%rip), %rdi       # 0x34a4
xorl %eax, %eax
callq 0x1210
callq 0x22ec
jmp 0x28fb
movl $0x1, %edi
callq 0x1190
// File: /workspace/github_c_makefile_star2_O3/stanfordnlp[P]GloVe/src/cooccur.c
// Function: hashsearch
HASHREC *hashsearch(HASHREC **ht, char *w) {
    HASHREC     *htmp, *hprv;
    unsigned int hval = HASHFN(w, TSIZE, SEED);
    for (hprv = NULL, htmp=ht[hval]; htmp != NULL && scmp(htmp->word, w) != 0; hprv = htmp, htmp = htmp->next);
    if ( htmp != NULL && hprv!=NULL ) { // move to front on access
        hprv->next = htmp->next;
        htmp->next = ht[hval];
        ht[hval] = htmp;
    }
    return(htmp);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rsi, %r15
movq %rdi, %r14
movq %rsi, %rdi
movl $0x100000, %esi         # imm = 0x100000
movl $0x11b049, %edx         # imm = 0x11B049
callq 0x2b10
movl %eax, %r12d
movq (%r14,%r12,8), %rbx
testq %rbx, %rbx
je 0x20b5
movq (%rbx), %rdi
movq %r15, %rsi
callq 0x2ae8
testl %eax, %eax
je 0x20b9
movq %rbx, %r13
movq 0x10(%rbx), %rbx
testq %rbx, %rbx
je 0x20b5
movq (%rbx), %rdi
movq %r15, %rsi
callq 0x2ae8
testl %eax, %eax
jne 0x2098
jmp 0x20bc
xorl %ebx, %ebx
jmp 0x20d5
xorl %r13d, %r13d
testq %r13, %r13
je 0x20d5
movq 0x10(%rbx), %rax
movq %rax, 0x10(%r13)
movq (%r14,%r12,8), %rax
movq %rax, 0x10(%rbx)
movq %rbx, (%r14,%r12,8)
movq %rbx, %rax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/stanfordnlp[P]GloVe/src/cooccur.c
// Function: hashinsert
void hashinsert(HASHREC **ht, char *w, long long id) {
    HASHREC     *htmp, *hprv;
    unsigned int hval = HASHFN(w, TSIZE, SEED);
    for (hprv = NULL, htmp = ht[hval]; htmp != NULL && scmp(htmp->word, w) != 0; hprv = htmp, htmp = htmp->next);
    if (htmp == NULL) {
        htmp = (HASHREC *) malloc(sizeof(HASHREC));
        htmp->word = (char *) malloc(strlen(w) + 1);
        strcpy(htmp->word, w);
        htmp->num = id;
        htmp->next = NULL;
        if (hprv == NULL) ht[hval] = htmp;
        else hprv->next = htmp;
    }
    else fprintf(stderr, "Error, duplicate entry located: %s.\n",htmp->word);
    return;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
movq %rsi, %rdi
movl $0x100000, %esi         # imm = 0x100000
movl $0x11b049, %edx         # imm = 0x11B049
callq 0x2b10
movl %eax, %ebp
movq (%rbx,%rbp,8), %rax
testq %rax, %rax
je 0x2131
movq %rax, %r12
movq (%rax), %rdi
movq %r15, %rsi
callq 0x2ae8
testl %eax, %eax
je 0x218c
movq 0x10(%r12), %rax
testq %rax, %rax
jne 0x2113
jmp 0x2134
xorl %r12d, %r12d
movl $0x18, %edi
callq 0x1170
movq %rax, %r13
movq %r15, %rdi
callq 0x10e0
leaq 0x1(%rax), %rdi
callq 0x1170
movq %rax, (%r13)
movq %rax, %rdi
movq %r15, %rsi
callq 0x1060
movq %r14, 0x8(%r13)
movq $0x0, 0x10(%r13)
testq %r12, %r12
je 0x2179
movq %r13, 0x10(%r12)
jmp 0x217d
movq %r13, (%rbx,%rbp,8)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %r12, %rdi
callq 0x1c2e
jmp 0x217d
// File: /workspace/github_c_makefile_star2_O3/stanfordnlp[P]GloVe/src/cooccur.c
// Function: write_chunk
int write_chunk(CREC *cr, long long length, FILE *fout) {
    if (length == 0) return 0;

    long long a = 0;
    CREC old = cr[a];
    
    for (a = 1; a < length; a++) {
        if (cr[a].word1 == old.word1 && cr[a].word2 == old.word2) {
            old.val += cr[a].val;
            continue;
        }
        fwrite(&old, sizeof(CREC), 1, fout);
        old = cr[a];
    }
    fwrite(&old, sizeof(CREC), 1, fout);
    return 0;
}

// Assembly:
testq %rsi, %rsi
je 0x223a
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
movupd (%rdi), %xmm0
movapd %xmm0, (%rsp)
cmpq $0x2, %rsi
jl 0x221a
decq %r14
addq $0x10, %r15
movq %rsp, %r12
movl (%r15), %eax
cmpl (%rsp), %eax
jne 0x21f2
movl 0x4(%r15), %eax
cmpl 0x4(%rsp), %eax
jne 0x21f2
movsd 0x8(%r15), %xmm0
addsd 0x8(%rsp), %xmm0
movsd %xmm0, 0x8(%rsp)
jmp 0x2211
movl $0x10, %esi
movl $0x1, %edx
movq %r12, %rdi
movq %rbx, %rcx
callq 0x11d0
movupd (%r15), %xmm0
movapd %xmm0, (%rsp)
addq $0x10, %r15
decq %r14
jne 0x21cc
movq %rsp, %rdi
movl $0x10, %esi
movl $0x1, %edx
movq %rbx, %rcx
callq 0x11d0
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
xorl %eax, %eax
retq
// File: /workspace/github_c_makefile_star2_O3/stanfordnlp[P]GloVe/src/cooccur.c
// Function: insert
void insert(CRECID *pq, CRECID new, int size) {
    int j = size - 1, p;
    pq[j] = new;
    while ( (p=(j-1)/2) >= 0 ) {
        if (compare_crecid(pq[p],pq[j]) > 0) {swap_entry(pq,p,j); j = p;}
        else break;
    }
}

// Assembly:
leal -0x1(%rsi), %eax
movslq %eax, %rcx
leaq (%rcx,%rcx,2), %rcx
movq 0x18(%rsp), %rdx
movq %rdx, 0x10(%rdi,%rcx,8)
movaps 0x8(%rsp), %xmm0
movups %xmm0, (%rdi,%rcx,8)
testl %esi, %esi
jle 0x2340
addl $-0x2, %esi
movl %eax, %ecx
movl %esi, %eax
shrl $0x1f, %eax
addl %esi, %eax
sarl %eax
leaq (%rax,%rax,2), %rdx
leaq (%rcx,%rcx,2), %rcx
movl (%rdi,%rdx,8), %r8d
movl 0x4(%rdi,%rdx,8), %edx
subl 0x4(%rdi,%rcx,8), %edx
subl (%rdi,%rcx,8), %r8d
cmovel %edx, %r8d
testl %r8d, %r8d
jle 0x2340
leaq (%rdi,%rcx,8), %rcx
movslq %eax, %rdx
leaq (%rdx,%rdx,2), %r8
movq 0x10(%rdi,%r8,8), %r9
movq %r9, -0x8(%rsp)
movups (%rdi,%r8,8), %xmm0
movaps %xmm0, -0x18(%rsp)
movq 0x10(%rcx), %r9
movq %r9, 0x10(%rdi,%r8,8)
movups (%rcx), %xmm0
movups %xmm0, (%rdi,%r8,8)
movq -0x8(%rsp), %r8
movq %r8, 0x10(%rcx)
movaps -0x18(%rsp), %xmm0
movups %xmm0, (%rcx)
decl %edx
cmpl $-0x2, %esi
movl %edx, %esi
jg 0x22ca
retq
// File: /workspace/github_c_makefile_star2_O3/stanfordnlp[P]GloVe/src/cooccur.c
// Function: merge_write
int merge_write(CRECID new, CRECID *old, FILE *fout) {
    if (new.word1 == old->word1 && new.word2 == old->word2) {
        old->val += new.val;
        return 0; // Indicates duplicate entry
    }
    fwrite(old, sizeof(CREC), 1, fout);
    *old = new;
    return 1; // Actually wrote to file
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rcx
movq %rdi, %rbx
leaq 0x20(%rsp), %r14
movl (%r14), %eax
cmpl (%rdi), %eax
jne 0x2515
movl 0x4(%r14), %eax
cmpl 0x4(%rbx), %eax
jne 0x2515
movsd 0x8(%r14), %xmm0
addsd 0x8(%rbx), %xmm0
movsd %xmm0, 0x8(%rbx)
xorl %eax, %eax
jmp 0x253d
movl $0x10, %esi
movl $0x1, %edx
movq %rbx, %rdi
callq 0x11d0
movupd (%r14), %xmm0
movupd %xmm0, (%rbx)
movq 0x10(%r14), %rax
movq %rax, 0x10(%rbx)
movl $0x1, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/stanfordnlp[P]GloVe/src/cooccur.c
// Function: free_resources
void free_resources(HASHREC** vocab_hash, CREC *cr, long long *lookup, 
                    long long *history, real *bigram_table) {
    free_table(vocab_hash);
    free(cr);
    free(lookup);
    free(history);
    free(bigram_table);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %r8, %rbx
movq %rcx, %r14
movq %rdx, %r15
movq %rsi, %r12
callq 0x2cba
movq %r12, %rdi
callq 0x1030
movq %r15, %rdi
callq 0x1030
movq %r14, %rdi
callq 0x1030
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x1030
// File: /workspace/github_c_makefile_star2_O3/genevalab[P]msmove/ms.c
// Function: cmatrix
char **cmatrix(int nsam, int len)
{
	int i;
	char **m;
	if (!(m = (char**)malloc((size_t)nsam*sizeof(char*))))
		perror("alloc error in cmatrix");
	for (i=0; i < nsam; i++)
		if (!(m[i] = (char*)malloc((size_t)len*sizeof(char))))
			perror("alloc error in cmatric. 2");
	return m;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %esi, %r14d
movl %edi, %r15d
movslq %edi, %rdi
shlq $0x3, %rdi
callq 0x1120
movq %rax, %rbx
testq %rax, %rax
je 0x2b4c
testl %r15d, %r15d
jle 0x2b3a
movslq %r14d, %r14
movl %r15d, %r12d
xorl %r13d, %r13d
leaq 0x46a7(%rip), %r15      # 0x71bc
movq %r14, %rdi
callq 0x1120
movq %rax, (%rbx,%r13,8)
testq %rax, %rax
je 0x2b30
incq %r13
cmpq %r13, %r12
jne 0x2b15
jmp 0x2b3a
movq %r15, %rdi
callq 0x1090
jmp 0x2b26
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x4652(%rip), %rdi      # 0x71a5
callq 0x1090
jmp 0x2b00
// File: /workspace/github_c_makefile_star2_O3/genevalab[P]msmove/ms.c
// Function: prtree
void prtree(struct node *ptree, int nsam)
{
	int i;
	int *descl = (int*)malloc((size_t)(2*nsam-1)*sizeof(int));
	int *descr = (int*)malloc((size_t)(2*nsam-1)*sizeof(int));

	for (i=0; i < 2*nsam-1; i++)
		descl[i] = descr[i] = -1;
	for (i=0; i <  2*nsam-2; i++)
	{
		if (descl[(ptree+i)->abv] == -1)
			descl[(ptree+i)->abv] = i;
		else
			descr[(ptree+i)->abv] = i;
	}
	parens(ptree, descl, descr, 2*nsam-2);
	free(descl);
	free(descr);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %esi, %r13d
movq %rdi, %r14
leal (%r13,%r13), %ebx
movslq %ebx, %rax
leaq -0x4(,%rax,4), %r12
movq %r12, %rdi
callq 0x1120
movq %rax, %r15
movq %r12, %rdi
callq 0x1120
movq %rax, %r12
testl %r13d, %r13d
jle 0x3591
movq %r14, -0x30(%rbp)
leal -0x1(,%r13,2), %eax
movl %eax, %r14d
shlq $0x2, %r14
movq %r12, %rdi
movl $0xff, %esi
movq %r14, %rdx
callq 0x1040
movq %r15, %rdi
movl $0xff, %esi
movq %r14, %rdx
callq 0x1040
addl $-0x2, %ebx
cmpl $0x1, %r13d
jne 0x3596
movq -0x30(%rbp), %r14
jmp 0x35c8
addl $-0x2, %ebx
jmp 0x35c8
cmpl $0x2, %ebx
movl $0x1, %eax
cmovgel %ebx, %eax
xorl %ecx, %ecx
movq -0x30(%rbp), %r14
movq %r14, %rdx
movslq (%rdx), %rsi
cmpl $-0x1, (%r15,%rsi,4)
movq %r12, %rdi
cmoveq %r15, %rdi
movl %ecx, (%rdi,%rsi,4)
incq %rcx
addq $0x10, %rdx
cmpq %rcx, %rax
jne 0x35aa
movq %r14, %rdi
movq %r15, %rsi
movq %r12, %rdx
movl %ebx, %ecx
callq 0x3f50
movq %r15, %rdi
callq 0x10e0
movq %r12, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x10e0
// File: /workspace/github_c_makefile_star2_O3/genevalab[P]msmove/ms.c
// Function: ndes_setup
void ndes_setup(struct node *ptree, int nsam)
{
	int i;
	for (i=0; i < nsam; i++)
		(ptree + i)->ndes = 1;
	for (i=nsam; i < 2*nsam-1; i++)
		(ptree+i)->ndes = 0;
	for (i=0; i < 2*nsam-2; i++)
		(ptree+((ptree+i)->abv))->ndes += (ptree+i)->ndes;
}

// Assembly:
testl %esi, %esi
jle 0x3613
movl %esi, %eax
shlq $0x4, %rax
xorl %ecx, %ecx
movl $0x1, 0x4(%rdi,%rcx)
addq $0x10, %rcx
cmpq %rcx, %rax
jne 0x3602
leal (%rsi,%rsi), %eax
leal -0x1(,%rsi,2), %ecx
cmpl %esi, %ecx
jle 0x364f
pushq %rbp
movq %rsp, %rbp
movslq %esi, %rdx
leal -0x2(%rax), %ecx
movslq %ecx, %rcx
subq %rdx, %rcx
shlq $0x4, %rdx
addq %rdi, %rdx
addq $0x4, %rdx
incq %rcx
movl $0x0, (%rdx)
addq $0x10, %rdx
decq %rcx
jne 0x363f
popq %rbp
cmpl $0x2, %esi
jl 0x3681
cmpl $0x4, %eax
movl $0x3, %ecx
cmovgel %eax, %ecx
addl $-0x2, %ecx
shlq $0x4, %rcx
xorl %eax, %eax
movl 0x4(%rdi,%rax), %edx
movslq (%rdi,%rax), %rsi
shlq $0x4, %rsi
addl %edx, 0x4(%rdi,%rsi)
addq $0x10, %rax
cmpq %rax, %rcx
jne 0x3668
retq
// File: /workspace/github_c_makefile_star2_O3/genevalab[P]msmove/ms.c
// Function: ttimemf
double ttimemf(struct node *ptree, int nsam, int mfreq)
{
	int i;
	double t = 0;

	for (i=0; i < 2*nsam-2; i++)
		if (((ptree+i)->ndes >= mfreq) && ((ptree+i)->ndes <= nsam - mfreq))
			t += (ptree+(ptree+i)->abv)->time - (ptree+i)->time;
	
	return t;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
xorpd %xmm0, %xmm0
cmpl $0x2, %esi
jl 0x372b
leal -0x2(,%rsi,2), %ecx
subl %edx, %esi
cmpl $0x2, %ecx
movl $0x1, %eax
cmovgel %ecx, %eax
shlq $0x4, %rax
xorl %ecx, %ecx
movl 0x4(%rdi,%rcx), %r8d
cmpl %edx, %r8d
setl %r9b
cmpl %esi, %r8d
setg %r8b
orb %r9b, %r8b
jne 0x3722
movslq (%rdi,%rcx), %r8
shlq $0x4, %r8
movsd 0x8(%rdi,%r8), %xmm1
subsd 0x8(%rdi,%rcx), %xmm1
addsd %xmm1, %xmm0
addq $0x10, %rcx
cmpq %rcx, %rax
jne 0x36f1
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/genevalab[P]msmove/ms.c
// Function: poisso
int poisso(double u)
{
	int i = 1;
	double cump, ru, p;

	if (u > 30.0)
	{
		i = (int)(0.5+gasdev(u,u));
		if (i < 0)
			return 0;
		else
			return i;
	} 
	ru = genrand_real3();
	p = exp(-u);
	if (ru < p)
		return 0;
	cump = p;
	while (ru > (cump += (p *= u/i)) )
		i++;
	return i;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
ucomisd 0x38db(%rip), %xmm0     # 0x7018
jbe 0x375d
movapd %xmm0, %xmm1
callq 0x4174
addsd 0x38d0(%rip), %xmm0     # 0x7020
cvttsd2si %xmm0, %ecx
xorl %eax, %eax
testl %ecx, %ecx
cmovgl %ecx, %eax
jmp 0x37b5
movapd %xmm0, -0x20(%rbp)
callq 0x4503
movsd %xmm0, -0x8(%rbp)
movapd 0x38dc(%rip), %xmm0     # 0x7050
xorpd -0x20(%rbp), %xmm0
callq 0x11a0
movsd -0x8(%rbp), %xmm5
movapd -0x20(%rbp), %xmm4
xorl %eax, %eax
ucomisd %xmm5, %xmm0
ja 0x37b5
xorl %eax, %eax
movapd %xmm0, %xmm1
incl %eax
xorps %xmm2, %xmm2
cvtsi2sd %eax, %xmm2
movapd %xmm4, %xmm3
divsd %xmm2, %xmm3
mulsd %xmm3, %xmm1
addsd %xmm1, %xmm0
ucomisd %xmm0, %xmm5
ja 0x3796
addq $0x20, %rsp
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/genevalab[P]msmove/ms.c
// Function: biggerlist
int biggerlist(int nsam, char **list)
{
	int i;
	for (i=0; i < nsam; i++)
	{
		list[i] = (char*)realloc(list[i], (size_t)maxsites*sizeof(char));
		if (list[i] == NULL)
			perror("realloc error. bigger");
	}
	return 0;
}

// Assembly:
testl %edi, %edi
jle 0x380e
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rsi, %rbx
movl %edi, %r15d
xorl %r12d, %r12d
leaq 0x39b5(%rip), %r14      # 0x718f
movq (%rbx,%r12,8), %rdi
movl 0x6914(%rip), %esi      # 0xa0f8
callq 0x1170
movq %rax, (%rbx,%r12,8)
testq %rax, %rax
je 0x37fc
incq %r12
cmpq %r12, %r15
jne 0x37da
jmp 0x3806
movq %r14, %rdi
callq 0x1090
jmp 0x37f2
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
xorl %eax, %eax
retq
// File: /workspace/github_c_makefile_star2_O3/genevalab[P]msmove/ms.c
// Function: make_gametes
int make_gametes(int nsam, int mfreq, struct node *ptree, double tt, int newsites, int ns, char **list)
{
	int tip, j, node;

	for (j=ns; j < ns+newsites; j++)
	{
		if (mfreq == 1)
			node = pickb(nsam, ptree, tt);
		else
			node = pickbmf(nsam, mfreq, ptree, tt);
		for (tip=0; tip < nsam; tip++)
		{
			if (tdesn(ptree, tip, node))
				list[tip][j] = STATE1;
			else
				list[tip][j] = STATE2;
		}
	}
	return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movsd %xmm0, -0x38(%rbp)
testl %ecx, %ecx
jle 0x38b5
movq %r9, %rbx
movq %rdx, %r14
movl %edi, %r12d
addl %r8d, %ecx
movslq %r8d, %r13
movslq %ecx, %rax
movq %rax, -0x40(%rbp)
movl %edi, %r15d
movl %esi, -0x2c(%rbp)
movl %r12d, %edi
cmpl $0x1, %esi
jne 0x3862
movq %r14, %rsi
movsd -0x38(%rbp), %xmm0
callq 0x3e15
jmp 0x386f
movq %r14, %rdx
movsd -0x38(%rbp), %xmm0
callq 0x3e93
testl %r12d, %r12d
jle 0x38a9
movslq %eax, %rcx
xorl %edx, %edx
movl %edx, %esi
cmpq %rcx, %rdx
jge 0x388f
movslq %esi, %rsi
shlq $0x4, %rsi
movl (%r14,%rsi), %esi
cmpl %eax, %esi
jl 0x3880
cmpl %eax, %esi
sete %sil
movq (%rbx,%rdx,8), %rdi
orb $0x30, %sil
movb %sil, (%rdi,%r13)
incq %rdx
cmpq %r15, %rdx
jne 0x3879
incq %r13
cmpq -0x40(%rbp), %r13
movl -0x2c(%rbp), %esi
jl 0x384b
xorl %eax, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/genevalab[P]msmove/ms.c
// Function: locate
int locate(int n, double beg, double len, double *ptr)
{
	int i;
	ordran(n, ptr);
	for (i=0; i < n; i++)
		ptr[i] = beg+ptr[i]*len;
	return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rsi, %rbx
movsd %xmm1, -0x20(%rbp)
movsd %xmm0, -0x18(%rbp)
movl %edi, %r14d
callq 0x39ce
movsd -0x18(%rbp), %xmm2
movsd -0x20(%rbp), %xmm1
testl %r14d, %r14d
jle 0x3914
movl %r14d, %eax
xorl %ecx, %ecx
movsd (%rbx,%rcx,8), %xmm0
mulsd %xmm1, %xmm0
addsd %xmm2, %xmm0
movsd %xmm0, (%rbx,%rcx,8)
incq %rcx
cmpq %rcx, %rax
jne 0x38fa
xorl %eax, %eax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/genevalab[P]msmove/ms.c
// Function: mnmial
int mnmial(int n, int nclass, double p[], int rv[])
{
	int i, j;
	double x, s;

	for (i=0; i < nclass; i++)
		rv[i] = 0;
	for (i=0; i < n; i++)
	{
		x = genrand_real3();
		j = 0;
		s = p[0];
		while ((x > s) && (j < (nclass-1)))
			s += p[++j];
		rv[j]++;
	}
	return j;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rcx, %r12
movq %rdx, %r14
movl %esi, %r15d
movl %edi, -0x2c(%rbp)
testl %esi, %esi
jle 0x3951
movl %r15d, %edx
shlq $0x2, %rdx
movq %r12, %rdi
xorl %esi, %esi
callq 0x1040
cmpl $0x0, -0x2c(%rbp)
jle 0x39bf
leal -0x1(%r15), %eax
movslq %eax, %r13
xorl %ebx, %ebx
movq %r15, -0x38(%rbp)
cmpl $0x2, %r15d
movq %r12, %r15
setl %r12b
callq 0x4503
movsd (%r14), %xmm1
ucomisd %xmm1, %xmm0
setbe %al
orb %r12b, %al
movq %r15, %r12
movl $0x0, %eax
jne 0x39ac
movl $0x1, %ecx
addsd (%r14,%rcx,8), %xmm1
leaq 0x1(%rcx), %rax
ucomisd %xmm1, %xmm0
jbe 0x39aa
cmpq %r13, %rcx
movq %rax, %rcx
jl 0x3992
decl %eax
movl %eax, %ecx
incl (%r12,%rcx,4)
incl %ebx
cmpl -0x2c(%rbp), %ebx
movq -0x38(%rbp), %r15
jne 0x3964
jmp 0x39bf
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/genevalab[P]msmove/ms.c
// Function: free_eventlist
void free_eventlist(struct devent *pt, int npop)
{
	int pop;
	struct devent *next;
   
	while (pt != 0)
	{
		next = pt->nextde;
		if (pt->detype == 'a')
		{
			for (pop=0; pop < npop; pop++)
				free((pt->mat)[pop]);
			free(pt->mat);
		}
		free(pt);
		pt = next;
	}
}

// Assembly:
testq %rdi, %rdi
je 0x3dcb
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %esi, %ebx
movq %rdi, %r14
movl %esi, %r15d
movq 0x30(%r14), %r12
cmpb $0x61, 0x28(%r14)
jne 0x3dad
testl %ebx, %ebx
jle 0x3da4
xorl %r13d, %r13d
movq 0x20(%r14), %rax
movq (%rax,%r13,8), %rdi
callq 0x10e0
incq %r13
cmpq %r13, %r15
jne 0x3d8f
movq 0x20(%r14), %rdi
callq 0x10e0
movq %r14, %rdi
callq 0x10e0
movq %r12, %r14
testq %r12, %r12
jne 0x3d7d
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/genevalab[P]msmove/ms.c
// Function: addtoelist
void addtoelist(struct devent *pt, struct devent *elist) 
{
	struct devent *plast, *pevent, *ptemp;

	pevent = elist;
	while ((pevent != 0) && (pevent->time <= pt->time))
	{
		plast = pevent;
		pevent = pevent->nextde;
	}
	ptemp = plast->nextde;
	plast->nextde = pt;
	pt->nextde = ptemp;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movsd (%rdi), %xmm0
xorl %eax, %eax
movq %rsi, %rcx
movq 0x30(%rsi), %rsi
testq %rsi, %rsi
je 0x3e0b
ucomisd (%rsi), %xmm0
jae 0x3df5
movq 0x30(%rcx), %rax
movq %rdi, 0x30(%rcx)
movq %rax, 0x30(%rdi)
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/genevalab[P]msmove/ms.c
// Function: pickb
int pickb(int nsam, struct node *ptree, double tt)
{
	int i;
	double y = 0;
	double x = genrand_real3()*tt;

	for (i=0; i < 2*nsam-2; i++)
	{
		y += (ptree+(ptree+i)->abv)->time - (ptree+i)->time;
		if (y >= x)
			return i;
	}

	return 2*nsam-3;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
movsd %xmm0, -0x18(%rbp)
movq %rsi, %rbx
movl %edi, %r14d
callq 0x4503
leal (%r14,%r14), %eax
cmpl $0x2, %r14d
jl 0x3e83
leal -0x2(%rax), %edx
cmpl $0x2, %edx
movl $0x1, %ecx
cmovgel %edx, %ecx
mulsd -0x18(%rbp), %xmm0
leaq 0x8(%rbx), %rsi
xorpd %xmm1, %xmm1
xorl %edx, %edx
movapd %xmm1, %xmm2
movslq -0x8(%rsi), %rdi
shlq $0x4, %rdi
movsd 0x8(%rbx,%rdi), %xmm1
subsd (%rsi), %xmm1
addsd %xmm2, %xmm1
ucomisd %xmm0, %xmm1
jae 0x3e88
incq %rdx
addq $0x10, %rsi
cmpq %rdx, %rcx
jne 0x3e57
addl $-0x3, %eax
jmp 0x3e8a
movl %edx, %eax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/genevalab[P]msmove/ms.c
// Function: pickbmf
int pickbmf(int nsam, int mfreq, struct node *ptree, double tt)
{
	int i;
	int lastbranch = 0;
	double x = genrand_real3()*tt;
	double y = 0;

	for (i=0; i < 2*nsam-2; i++)
	{
		if (((ptree+i)->ndes >= mfreq) && ((ptree+i)->ndes <= nsam - mfreq))
		{
			y += (ptree+(ptree+i)->abv)->time - (ptree+i)->time;
			lastbranch = i;
		}
		if (y >= x)
			return i;
	}

	return lastbranch;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movsd %xmm0, -0x20(%rbp)
movq %rdx, %rbx
movl %esi, %r14d
movl %edi, %r15d
callq 0x4503
xorl %eax, %eax
cmpl $0x2, %r15d
jl 0x3f28
mulsd -0x20(%rbp), %xmm0
leal -0x2(,%r15,2), %eax
subl %r14d, %r15d
cmpl $0x2, %eax
movl $0x1, %ecx
cmovgel %eax, %ecx
leaq 0x8(%rbx), %rdx
xorl %esi, %esi
xorpd %xmm1, %xmm1
xorl %edi, %edi
movl -0x4(%rdx), %eax
cmpl %r14d, %eax
setl %r8b
cmpl %r15d, %eax
setg %al
orb %r8b, %al
cmpb $0x1, %al
jne 0x3efa
movl %esi, %eax
jmp 0x3f14
movslq -0x8(%rdx), %rax
shlq $0x4, %rax
movsd 0x8(%rbx,%rax), %xmm2
subsd (%rdx), %xmm2
addsd %xmm2, %xmm1
movl %esi, %eax
movl %esi, %edi
ucomisd %xmm0, %xmm1
jae 0x3f28
incq %rsi
addq $0x10, %rdx
movl %edi, %eax
cmpq %rsi, %rcx
jne 0x3edf
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/genevalab[P]msmove/ms.c
// Function: parens
void parens(struct node *ptree, int *descl, int *descr, int noden)
{
	double time;

	if (descl[noden] == -1)
		fprintf(stdout, "%d:%5.3lf", noden+1, (ptree+((ptree+noden)->abv))->time);
	else
	{
		fprintf(stdout, "(");
		parens(ptree, descl, descr, descl[noden]);
		fprintf(stdout, ",");
		parens(ptree, descl, descr, descr[noden]);
		if ((ptree+noden)->abv == 0)
			fprintf(stdout, ");\n"); 
		else
		{
			time = (ptree+(ptree+noden)->abv)->time - (ptree+noden)->time;
			fprintf(stdout, "):%5.3lf", time);
		}
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r15
movq %rdi, %rbx
movslq %ecx, %r12
cmpl $-0x1, (%rsi,%r12,4)
movq 0x6055(%rip), %r13      # 0x9fc8
movq (%r13), %rsi
je 0x3ffd
movq %rdx, %r14
movl $0x28, %edi
callq 0x1110
movl (%r15,%r12,4), %ecx
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x3f50
movq (%r13), %rsi
movl $0x2c, %edi
callq 0x1110
movl (%r14,%r12,4), %ecx
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x3f50
shlq $0x4, %r12
movslq (%rbx,%r12), %rax
testq %rax, %rax
je 0x4036
addq %rbx, %r12
shlq $0x4, %rax
movsd 0x8(%rbx,%rax), %xmm0
subsd 0x8(%r12), %xmm0
movq (%r13), %rdi
leaq 0x3cc7(%rip), %rsi      # 0x7caf
movb $0x1, %al
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x1150
leal 0x1(%r12), %edx
shlq $0x4, %r12
movslq (%rbx,%r12), %rax
shlq $0x4, %rax
movsd 0x8(%rbx,%rax), %xmm0
leaq 0x3c86(%rip), %rax      # 0x7ca1
movq %rsi, %rdi
movq %rax, %rsi
movb $0x1, %al
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x1150
movq (%r13), %rcx
leaq 0x3c6a(%rip), %rdi      # 0x7cab
movl $0x3, %esi
movl $0x1, %edx
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x11c0
// File: /workspace/github_c_makefile_star2_O3/genevalab[P]msmove/ms.c
// Function: ranvec
int ranvec(int n, double pbuf[])
{
	int i;
	for (i=0; i < n; i++)
		pbuf[i] = genrand_real3();
	return 0;
}

// Assembly:
testl %edi, %edi
jle 0x40dd
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movl %edi, %r14d
xorl %r15d, %r15d
callq 0x4503
movsd %xmm0, (%rbx,%r15,8)
incq %r15
cmpq %r15, %r14
jne 0x40c0
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
xorl %eax, %eax
retq
// File: /workspace/github_c_makefile_star2_O3/genevalab[P]msmove/ms.c
// Function: order
int order(int n, double pbuf[])
{
	int gap, i, j;
	double temp;

	for (gap=n/2; gap > 0; gap /= 2)
		for (i=gap; i < n; i++)
			for (j=i-gap; j >= 0 && pbuf[j] > pbuf[j+gap]; j -= gap)
			{
				temp = pbuf[j];
				pbuf[j] = pbuf[j+gap];
				pbuf[j+gap] = temp;
			}
	return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
cmpl $0x2, %edi
jl 0x4132
movl %edi, %eax
movl %eax, %ecx
shrl %ecx
cmpl %edi, %ecx
jge 0x412b
movl %ecx, %edx
movl %edx, %r8d
subl %ecx, %r8d
leal (%rcx,%r8), %r9d
movl %r8d, %r8d
movsd (%rsi,%r8,8), %xmm0
movsd (%rsi,%r9,8), %xmm1
ucomisd %xmm1, %xmm0
jbe 0x4125
movsd %xmm1, (%rsi,%r8,8)
movsd %xmm0, (%rsi,%r9,8)
subl %ecx, %r8d
jns 0x40fb
incl %edx
cmpl %edi, %edx
jne 0x40f5
cmpl $0x3, %eax
movl %ecx, %eax
ja 0x40eb
xorl %eax, %eax
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/genevalab[P]msmove/ms.c
// Function: dbinom
int dbinom(int n, double p)
{
	int i, s;
	for (i=0, s=0; i < n; i++) 
		if (genrand_real3() <= p)
			++s;
	return s;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
testl %edi, %edi
jle 0x4167
movl %edi, %r14d
xorl %ebx, %ebx
movsd %xmm0, -0x18(%rbp)
callq 0x4503
movsd -0x18(%rbp), %xmm1
ucomisd %xmm0, %xmm1
sbbl $-0x1, %ebx
decl %r14d
jne 0x414f
jmp 0x4169
xorl %ebx, %ebx
movl %ebx, %eax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/genevalab[P]msmove/ms.c
// Function: gasdev
double gasdev(double m, double v)
{
	static int iset = 0;
	static double gset;
	double fac, r, v1, v2;

	if (iset == 0)
	{
		do
		{
			v1 = 2.0*genrand_real3()-1.0;
			v2 = 2.0*genrand_real3()-1.0;
			r = v1*v1+v2*v2;
		} while (r >= 1.0);

		fac = sqrt(-2.0*log(r)/r);
		gset = v1*fac;
		iset = 1;

		return m+sqrt(v)*v2*fac;
	} 
	else
	{
		iset = 0;
		return m+sqrt(v)*gset;
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movapd %xmm0, %xmm2
cmpb $0x0, 0x6011(%rip)      # 0xa198
je 0x41aa
movb $0x0, 0x6008(%rip)      # 0xa198
xorpd %xmm0, %xmm0
ucomisd %xmm0, %xmm1
jb 0x4235
xorps %xmm0, %xmm0
sqrtsd %xmm1, %xmm0
jmp 0x4248
movsd %xmm1, -0x18(%rbp)
movsd %xmm2, -0x10(%rbp)
callq 0x4503
movapd %xmm0, %xmm1
addsd %xmm0, %xmm1
movsd 0x2e5f(%rip), %xmm0     # 0x7028
addsd %xmm0, %xmm1
movsd %xmm1, -0x8(%rbp)
callq 0x4503
movsd -0x8(%rbp), %xmm3
addsd %xmm0, %xmm0
addsd 0x2e40(%rip), %xmm0     # 0x7028
movapd %xmm0, %xmm1
mulsd %xmm0, %xmm1
mulsd %xmm3, %xmm3
addsd %xmm1, %xmm3
ucomisd 0x2e08(%rip), %xmm3     # 0x7008
jae 0x41b4
movsd %xmm0, -0x28(%rbp)
movapd %xmm3, %xmm0
movsd %xmm3, -0x20(%rbp)
callq 0x1070
mulsd 0x2e13(%rip), %xmm0     # 0x7030
divsd -0x20(%rbp), %xmm0
xorpd %xmm2, %xmm2
ucomisd %xmm2, %xmm0
jb 0x4256
xorps %xmm3, %xmm3
sqrtsd %xmm0, %xmm3
jmp 0x4263
movapd %xmm1, %xmm0
movsd %xmm2, -0x10(%rbp)
callq 0x1060
movsd -0x10(%rbp), %xmm2
mulsd 0x5f50(%rip), %xmm0     # 0xa1a0
addsd %xmm2, %xmm0
jmp 0x42b5
callq 0x1060
xorpd %xmm2, %xmm2
movapd %xmm0, %xmm3
movsd -0x18(%rbp), %xmm0
movsd -0x8(%rbp), %xmm1
mulsd %xmm3, %xmm1
movsd %xmm1, 0x5f27(%rip)     # 0xa1a0
movb $0x1, 0x5f18(%rip)      # 0xa198
ucomisd %xmm2, %xmm0
jb 0x428c
sqrtsd %xmm0, %xmm0
jmp 0x429b
movsd %xmm3, -0x8(%rbp)
callq 0x1060
movsd -0x8(%rbp), %xmm3
movsd -0x10(%rbp), %xmm1
movsd -0x28(%rbp), %xmm2
mulsd %xmm0, %xmm2
mulsd %xmm3, %xmm2
addsd %xmm1, %xmm2
movapd %xmm2, %xmm0
addq $0x30, %rsp
popq %rbp
retq
nop
// File: /workspace/github_c_makefile_star2_O3/genevalab[P]msmove/rand2t.c
// Function: init_genrand
void init_genrand(unsigned long s)
{
    mt[0] = s & 0xffffffffUL;
    for (mti = 1; mti < N; mti++) 
	{
        mt[mti] = (1812433253UL * (mt[mti - 1] ^ (mt[mti - 1] >> 30)) + mti); 
        /* See Knuth TAOCP Vol2. 3rd Ed. P.106 for multiplier. */
        /* In the previous versions, MSBs of the seed affect   */
        /* only MSBs of the array mt[].                        */
        /* 2002/01/09 modified by Makoto Matsumoto             */
        mt[mti] &= 0xffffffffUL;
        /* for >32 bit machines */
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movl %edi, %eax
movq %rax, 0x5ee7(%rip)      # 0xa1b0
movl $0x1, %ecx
leaq 0x5edb(%rip), %rdx      # 0xa1b0
movq %rax, %rsi
shrq $0x1e, %rsi
xorl %eax, %esi
imull $0x6c078965, %esi, %eax # imm = 0x6C078965
addl %ecx, %eax
movq %rax, (%rdx,%rcx,8)
incq %rcx
cmpq $0x270, %rcx            # imm = 0x270
jne 0x42d5
movl $0x270, 0x5dfc(%rip)    # imm = 0x270
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/genevalab[P]msmove/streec.c
// Function: re
int re(int nsam)
{
	int el, lsg, lsgm1, ic, is;
	int spot = (int)(nlinks * genrand_real3()) + 1;
	struct seg *pseg;

	for (ic=0; ic < nchrom; ic++)
	{
		lsg = chrom[ic].nseg;
		lsgm1 = lsg-1;
		pseg = chrom[ic].pseg;
		el = ((pseg+lsgm1)->end) - (pseg->beg);
		if (spot <= el)
			break;
		spot -= el;
	}
	is = pseg->beg+spot-1;
	xover(nsam, ic, is);
	return ic;	
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movl %edi, %ebx
cvtsi2sdq 0x5e8f(%rip), %xmm0 # 0xb558
movsd %xmm0, -0x10(%rbp)
callq 0x4503
mulsd -0x10(%rbp), %xmm0
cvttsd2si %xmm0, %eax
incl %eax
movl 0x5e6c(%rip), %ecx      # 0xb550
movq 0x5e45(%rip), %rdx      # 0xb530
addq $0x8, %rdx
xorl %esi, %esi
movl %eax, %r8d
movslq -0x8(%rdx), %rdi
movq (%rdx), %r9
leaq (%rdi,%rdi,2), %rdi
movl -0x8(%r9,%rdi,4), %r10d
movl (%r9), %edi
subl %edi, %r10d
subl %r10d, %r8d
jle 0x5723
incq %rsi
addq $0x10, %rdx
movl %r8d, %eax
cmpq %rsi, %rcx
jne 0x56f4
movl %ecx, %esi
movl %r8d, %eax
leal (%rax,%rdi), %edx
decl %edx
movl %ebx, %edi
addq $0x8, %rsp
popq %rbx
popq %rbp
jmp 0x5f3e
// File: /workspace/github_c_makefile_star2_O3/genevalab[P]msmove/streec.c
// Function: cleftr
int cleftr(int nsam)
{
	int is;
	int ic = -1;
	double x, len;
	double sum = 0;
	struct seg *pseg;

	while ((x = cleft * genrand_real3()) == 0);
	while (sum < x)
		sum +=  1.0-pow(pc, links(++ic));
	pseg = chrom[ic].pseg;
	len = links(ic);
	is = (int)(pseg->beg+floor(1.0+log(1.0-(1.0-pow(pc, len))*genrand_real3())/lnpc)-1);
	xover(nsam, ic, is);
	return ic;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x18, %rsp
movl %edi, %ebx
movsd 0x5e34(%rip), %xmm0     # 0xb580
movsd %xmm0, -0x20(%rbp)
callq 0x4503
mulsd -0x20(%rbp), %xmm0
ucomisd 0x18ad(%rip), %xmm0     # 0x7010
jne 0x5767
jnp 0x5744
movl $0xffffffff, %r14d      # imm = 0xFFFFFFFF
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jbe 0x57e6
movl $0x8, %r15d
movsd %xmm0, -0x28(%rbp)
movsd %xmm1, -0x20(%rbp)
movsd 0x5de1(%rip), %xmm0     # 0xb570
movq 0x5d9a(%rip), %rax      # 0xb530
movslq -0x8(%rax,%r15), %rcx
movq (%rax,%r15), %rax
leaq (%rcx,%rcx,2), %rcx
movl -0x8(%rax,%rcx,4), %ecx
subl (%rax), %ecx
xorps %xmm1, %xmm1
cvtsi2sd %ecx, %xmm1
callq 0x1190
movsd 0x184b(%rip), %xmm1     # 0x7008
subsd %xmm0, %xmm1
movsd -0x28(%rbp), %xmm0
movsd -0x20(%rbp), %xmm2
addsd %xmm1, %xmm2
movsd %xmm2, -0x20(%rbp)
movsd -0x20(%rbp), %xmm1
incl %r14d
addq $0x10, %r15
ucomisd %xmm1, %xmm0
ja 0x5782
movq 0x5d43(%rip), %rax      # 0xb530
movslq %r14d, %r14
movq %r14, %rcx
shlq $0x4, %rcx
movq 0x8(%rax,%rcx), %rdx
movslq (%rax,%rcx), %rax
leaq (%rax,%rax,2), %rax
movl -0x8(%rdx,%rax,4), %eax
movl (%rdx), %ecx
subl %ecx, %eax
xorps %xmm1, %xmm1
cvtsi2sd %eax, %xmm1
xorps %xmm0, %xmm0
cvtsi2sd %ecx, %xmm0
movsd %xmm0, -0x20(%rbp)
movsd 0x5d49(%rip), %xmm0     # 0xb570
callq 0x1190
movsd 0x17d4(%rip), %xmm1     # 0x7008
subsd %xmm0, %xmm1
movsd %xmm1, -0x28(%rbp)
callq 0x4503
mulsd -0x28(%rbp), %xmm0
movsd 0x17b9(%rip), %xmm1     # 0x7008
subsd %xmm0, %xmm1
movapd %xmm1, %xmm0
callq 0x1070
divsd 0x5d14(%rip), %xmm0     # 0xb578
addsd 0x179c(%rip), %xmm0     # 0x7008
callq 0x1180
addsd -0x20(%rbp), %xmm0
addsd 0x17aa(%rip), %xmm0     # 0x7028
cvttsd2si %xmm0, %edx
movl %ebx, %edi
movl %r14d, %esi
addq $0x18, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x5f3e
// File: /workspace/github_c_makefile_star2_O3/genevalab[P]msmove/streec.c
// Function: cinr
int cinr(int nsam, int nsites)
{
	int len, el, lsg, lsgm1, ic, is, endic;
	int spot = (int)(nlinks * genrand_real3()) + 1;
	struct seg *pseg;
	
	for (ic=0; ic < nchrom; ic++)
	{
		lsg = chrom[ic].nseg;
		lsgm1 = lsg-1;
		pseg = chrom[ic].pseg;
		el = ((pseg+lsgm1)->end)-(pseg->beg);
		if (spot <= el)
			break;
		spot -= el;
	}
	is = pseg->beg+spot-1;
	endic = (pseg+lsgm1)->end;
	xover(nsam, ic, is);
	len = (int)floor(1.0+log(genrand_real3())/lnpc);
	if (is+len >= endic)
		return ic;  
	if (is+len < (chrom[nchrom-1].pseg)->beg)
	{
		ca(nsam, nsites, ic, nchrom-1);
		return -1;
	}
	xover(nsam, nchrom-1, is+len);
	ca(nsam, nsites, ic, nchrom-1);
	return ic;	

}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %esi, %ebx
movl %edi, %r14d
cvtsi2sdq 0x5ca6(%rip), %xmm0 # 0xb558
movsd %xmm0, -0x30(%rbp)
callq 0x4503
mulsd -0x30(%rbp), %xmm0
cvttsd2si %xmm0, %eax
incl %eax
movl 0x5c83(%rip), %ecx      # 0xb550
movq 0x5c5c(%rip), %rsi      # 0xb530
addq $0x8, %rsi
xorl %r15d, %r15d
movl %eax, %edi
movslq -0x8(%rsi), %rdx
movq (%rsi), %r8
leaq (%rdx,%rdx,2), %rdx
movl -0x8(%r8,%rdx,4), %r12d
movl (%r8), %edx
movl %r12d, %r8d
subl %edx, %r8d
subl %r8d, %edi
jle 0x590e
incq %r15
addq $0x10, %rsi
movl %edi, %eax
cmpq %r15, %rcx
jne 0x58dd
movl %ecx, %r15d
movl %edi, %eax
leal (%rax,%rdx), %r13d
addl %eax, %edx
decl %edx
movl %r14d, %edi
movl %r15d, %esi
callq 0x5f3e
callq 0x4503
callq 0x1070
divsd 0x5c45(%rip), %xmm0     # 0xb578
addsd 0x16cd(%rip), %xmm0     # 0x7008
callq 0x1180
cvttsd2si %xmm0, %eax
leal (%rax,%r13), %edx
decl %edx
cmpl %r12d, %edx
jge 0x599b
movq 0x5bda(%rip), %rax      # 0xb530
movslq 0x5bf3(%rip), %rcx      # 0xb550
decq %rcx
movq %rcx, %rsi
shlq $0x4, %rsi
movq 0x8(%rax,%rsi), %rax
movl $0xffffffff, %r12d      # imm = 0xFFFFFFFF
cmpl (%rax), %edx
jl 0x598b
movl %r14d, %edi
movl %ecx, %esi
callq 0x5f3e
movl 0x5bca(%rip), %ecx      # 0xb550
decl %ecx
movl %r15d, %r12d
movl %r14d, %edi
movl %ebx, %esi
movl %r15d, %edx
callq 0x5a6d
movl %r12d, %r15d
movl %r15d, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/genevalab[P]msmove/streec.c
// Function: pick2_chrom
int pick2_chrom(int pop, int config[], int *pc1, int *pc2)
{
	int c1, c2, cs, cb, i, count;
	
	pick2(config[pop], &c1, &c2);
	cs = c1 > c2 ? c2 : c1;
	cb = c1 > c2 ? c1 : c2;
	i = count = 0;
	for(;;)
	{
		while (chrom[i].pop != pop) 
			i++;
		if (count == cs)
			break;
		count++;
		i++;
	}
	*pc1 = i;
	i++;
	count++;
	for(;;)
	{
		while (chrom[i].pop != pop)
			i++;
		if (count == cb)
			break;
		count++;
		i++;
	}
	*pc2 = i;
	return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %rbx
movq %rdx, %r15
movl %edi, %r14d
movslq %edi, %rax
movl (%rsi,%rax,4), %edi
leaq -0x30(%rbp), %r12
leaq -0x2c(%rbp), %r13
movq %r12, %rsi
movq %r13, %rdx
callq 0x405e
movl (%r12), %edi
movl (%r13), %eax
cmpl %eax, %edi
movl %eax, %ecx
cmovll %edi, %ecx
movq 0x5b3d(%rip), %rsi      # 0xb530
leaq 0x4(%rsi), %r8
xorl %edx, %edx
xorl %r9d, %r9d
movslq %edx, %rdx
leal -0x1(%rdx), %r10d
movq %rdx, %r11
shlq $0x4, %r11
addq %r8, %r11
incq %rdx
incl %r10d
leaq 0x10(%r11), %r12
cmpl %r14d, (%r11)
movq %r12, %r11
jne 0x5a0d
cmpl %ecx, %r9d
je 0x5a29
incl %r9d
jmp 0x59fc
cmpl %eax, %edi
cmovgl %edi, %eax
movl %r10d, (%r15)
addq $0x14, %rsi
decq %rdx
movslq %edx, %rdx
movq %rdx, %rdi
shlq $0x4, %rdi
addq %rsi, %rdi
incq %rdx
leaq 0x10(%rdi), %r8
cmpl %r14d, (%rdi)
movq %r8, %rdi
jne 0x5a45
incl %ecx
cmpl %eax, %ecx
jne 0x5a38
movl %edx, (%rbx)
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/genevalab[P]msmove/streec.c
// Function: isseg
int isseg(int start, int c, int *psg)
{
	int ns = chrom[c].nseg;
	struct seg *pseg = chrom[c].pseg;

	for(; ((*psg) < ns) && ((pseg+(*psg))->beg <= start); ++(*psg))
		if ((pseg+(*psg))->end >= start)
			return 1;
	return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq 0x5124(%rip), %r9       # 0xb530
movslq %esi, %rsi
shlq $0x4, %rsi
movl (%r9,%rsi), %ecx
movslq (%rdx), %r8
xorl %eax, %eax
cmpl %ecx, %r8d
jge 0x645e
movq 0x8(%r9,%rsi), %rsi
leaq (%r8,%r8,2), %r9
leaq (%rsi,%r9,4), %rsi
addq $0x4, %rsi
negl %ecx
incl %r8d
cmpl %edi, -0x4(%rsi)
jg 0x645e
cmpl %edi, (%rsi)
jge 0x6459
movl %r8d, (%rdx)
addq $0xc, %rsi
leal (%rcx,%r8), %r9d
incl %r9d
incl %r8d
cmpl $0x1, %r9d
jne 0x6437
jmp 0x645e
movl $0x1, %eax
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/BatchLabs[P]msgpack-dump/src/cmp.c
// Function: cmp_write_pfix
bool cmp_write_pfix(cmp_ctx_t *ctx, uint8_t c) {
  if (c <= 0x7F)
    return write_fixed_value(ctx, c);

  ctx->error = INPUT_VALUE_TOO_LARGE_ERROR;
  return false;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
testb %sil, %sil
js 0x14e6
leaq -0x9(%rbp), %rax
movb %sil, (%rax)
movl $0x1, %edx
movq %rbx, %rdi
movq %rax, %rsi
callq *0x20(%rbx)
movq %rax, %rcx
movb $0x6, %dl
movb $0x1, %al
cmpq $0x1, %rcx
jne 0x14e8
jmp 0x14ec
movb $0x5, %dl
movb %dl, (%rbx)
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/BatchLabs[P]msgpack-dump/src/cmp.c
// Function: cmp_write_nfix
bool cmp_write_nfix(cmp_ctx_t *ctx, int8_t c) {
  if (c >= -32 && c <= -1)
    return write_fixed_value(ctx, c);

  ctx->error = INPUT_VALUE_TOO_LARGE_ERROR;
  return false;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
movb $0x5, %dl
cmpb $-0x20, %sil
jb 0x1526
leaq -0x9(%rbp), %rax
movb %sil, (%rax)
movl $0x1, %edx
movq %rbx, %rdi
movq %rax, %rsi
callq *0x20(%rbx)
movq %rax, %rcx
movb $0x6, %dl
movb $0x1, %al
cmpq $0x1, %rcx
je 0x152a
movb %dl, (%rbx)
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq