LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O1/mist64[P]cbmbasic/runtime.c
// Function: stack4
int
stack4(unsigned short a, unsigned short b, unsigned short c, unsigned short d) {
//	printf("stack4: %x,%x,%x,%x\n", a, b, c, d);
	if (STACK16(S+1) + 1 != a) return 0;
	if (STACK16(S+3) + 1 != b) return 0;
	if (STACK16(S+5) + 1 != c) return 0;
	if (STACK16(S+7) + 1 != d) return 0;
	return 1;
}

// Assembly:
leaq 0xcab1(%rip), %rax      # 0x21128
movzbl (%rax), %r8d
leaq 0xcabe(%rip), %r9       # 0x21140
movzwl 0x101(%r8,%r9), %r10d
incl %r10d
xorl %eax, %eax
cmpl %edi, %r10d
jne 0x146fa
movzbl 0x103(%r8,%r9), %edi
movzbl 0x104(%r8,%r9), %r10d
shll $0x8, %r10d
addl %r10d, %edi
incl %edi
movzwl %si, %esi
cmpl %esi, %edi
jne 0x146fa
movzbl 0x105(%r8,%r9), %esi
movzbl 0x106(%r8,%r9), %edi
shll $0x8, %edi
addl %edi, %esi
incl %esi
movzwl %dx, %edx
cmpl %edx, %esi
jne 0x146fa
movzbl 0x107(%r8,%r9), %eax
movzbl 0x108(%r8,%r9), %edx
shll $0x8, %edx
addl %eax, %edx
incl %edx
movzwl %cx, %ecx
xorl %eax, %eax
cmpl %ecx, %edx
sete %al
retq
// File: /workspace/github_c_makefile_star2_O1/mist64[P]cbmbasic/runtime.c
// Function: CHRGET_common
static void
CHRGET_common(int inc) {
	unsigned short temp16;
	if (!inc) goto CHRGOT_start;
CHRGET_start:
	RAM[0x7A]++; SETSZ(RAM[0x7A]);
	if (!Z) goto CHRGOT_start;
	RAM[0x7B]++; SETSZ(RAM[0x7B]);
CHRGOT_start:
	A = RAM[RAM[0x7A] | RAM[0x7B]<<8]; SETSZ(A);
	temp16 = ((unsigned short)A) - ((unsigned short)0x3A); SETNC(temp16); SETSZ(temp16&0xFF);
	if (C) return;
	temp16 = ((unsigned short)A) - ((unsigned short)0x20); SETNC(temp16); SETSZ(temp16&0xFF);
	if (Z) goto CHRGET_start;
	C = 1;
	temp16 = (unsigned short)A-(unsigned short)0x30-(unsigned short)(1-C); SETV(((A ^ temp16) & 0x80) && ((A ^ 0x30) & 0x80)); A = (unsigned char)temp16; SETSZ(A); SETNC(temp16);
	C = 1;
	temp16 = (unsigned short)A-(unsigned short)0xD0-(unsigned short)(1-C); SETV(((A ^ temp16) & 0x80) && ((A ^ 0xD0) & 0x80)); A = (unsigned char)temp16; SETSZ(A); SETNC(temp16);
}

// Assembly:
testl %edi, %edi
je 0x14747
leaq 0xca33(%rip), %rax      # 0x21140
movb 0x7a(%rax), %dl
leal 0x1(%rdx), %esi
shrb $0x7, %sil
leaq 0x1ca26(%rip), %rcx     # 0x31144
movb %sil, (%rcx)
incb %dl
movb %dl, 0x7a(%rax)
leaq 0x1ca16(%rip), %rdx     # 0x31143
sete (%rdx)
jne 0x14747
movb 0x7b(%rax), %sil
incb %sil
sete (%rdx)
movb %sil, 0x7b(%rax)
shrb $0x7, %sil
movb %sil, (%rcx)
leaq 0xc9f2(%rip), %rax      # 0x21140
movzwl 0x7a(%rax), %ecx
movzbl (%rax,%rcx), %esi
leaq 0x1c9e8(%rip), %rax     # 0x31145
movb %sil, (%rax)
leaq 0x1c9dc(%rip), %rdx     # 0x31143
leaq 0x1c9d6(%rip), %rcx     # 0x31144
leal 0xffc6(%rsi), %edi
testb %dil, %dil
sete (%rdx)
movl %edi, %r8d
shrb $0x7, %r8b
btl $0x8, %edi
leaq 0x1c9ba(%rip), %rdi     # 0x31146
setae (%rdi)
movb %r8b, (%rcx)
jae 0x147de
leal 0xffe0(%rsi), %r8d
btl $0x8, %r8d
setae (%rdi)
movl %r8d, %r9d
shrb $0x7, %r9b
movb %r9b, (%rcx)
testb %r8b, %r8b
sete (%rdx)
je 0x14706
addb $-0x30, %sil
movzbl %sil, %esi
addl $0xffffff30, %esi       # imm = 0xFFFFFF30
testb %sil, %sil
sete (%rdx)
movb %sil, (%rax)
movl %esi, %eax
shrb $0x7, %al
movb %al, (%rcx)
btl $0x8, %esi
setae (%rdi)
retq
// File: /workspace/github_c_makefile_star2_O1/mist64[P]cbmbasic/runtime.c
// Function: init_os
int
init_os(int argc, char **argv) {
//	printf("init_os %d\n", argc);
	if (!argc) /* continuation */
		return PC;

	if (argc>1) {
		interactive = 0;
		input_file = fopen(argv[1], "r");
		if (!input_file) {
			printf("Error opening: %s\n", argv[1]);
			exit(1);
		}
		if (fgetc(input_file)=='#') {
			char c;
			do {
				c = fgetc(input_file);
			} while((c!=13)&&(c!=10));
		} else {
			fseek(input_file, 0, SEEK_SET);
		}
	} else {
		interactive = 1;
		input_file = NULL;
	}
	srand((unsigned int)time(NULL));

	return 0xE394; /* main entry point of BASIC */
}

// Assembly:
pushq %rbx
testl %edi, %edi
je 0x14840
cmpl $0x2, %edi
jl 0x1484c
movq %rsi, %rbx
movl $0x0, 0x1ca27(%rip)     # 0x31224
movq 0x8(%rsi), %rdi
leaq 0xaf90(%rip), %rsi      # 0x1f798
callq 0x11f0
movq %rax, 0x1ca14(%rip)     # 0x31228
testq %rax, %rax
je 0x14888
movq %rax, %rdi
callq 0x1110
cmpl $0x23, %eax
jne 0x14863
movq 0x1c9fb(%rip), %rdi     # 0x31228
callq 0x1110
cmpb $0xa, %al
je 0x14873
movzbl %al, %eax
cmpl $0xd, %eax
jne 0x14826
jmp 0x14873
leaq 0x1c8f9(%rip), %rax     # 0x31140
movzwl (%rax), %eax
jmp 0x14886
movl $0x1, 0x1c9ce(%rip)     # 0x31224
movq $0x0, 0x1c9c7(%rip) # 0x31228
jmp 0x14873
movq 0x1c9be(%rip), %rdi     # 0x31228
xorl %esi, %esi
xorl %edx, %edx
callq 0x11e0
xorl %edi, %edi
callq 0x1190
movl %eax, %edi
callq 0x1140
movl $0xe394, %eax           # imm = 0xE394
popq %rbx
retq
movq 0x8(%rbx), %rsi
leaq 0xaf07(%rip), %rdi      # 0x1f79a
xorl %eax, %eax
callq 0x10c0
movl $0x1, %edi
callq 0x1200
// File: /workspace/github_c_makefile_star2_O1/mist64[P]cbmbasic/runtime.c
// Function: plugin_on
void
plugin_on() {
	if (plugin)
		return;

	replace_vector(VEC_ERROR, MAGIC_ERROR, &orig_error);
	replace_vector(VEC_MAIN, MAGIC_MAIN, &orig_main);
	replace_vector(VEC_CRNCH, MAGIC_CRNCH, &orig_crnch);
	replace_vector(VEC_QPLOP, MAGIC_QPLOP, &orig_qplop);
	replace_vector(VEC_GONE, MAGIC_GONE, &orig_gone);
	replace_vector(VEC_EVAL, MAGIC_EVAL, &orig_eval);
	
	plugin = 1;
}

// Assembly:
cmpl $0x0, 0x1c96b(%rip)     # 0x31230
je 0x148c8
retq
leaq 0xc871(%rip), %rax      # 0x21140
movzwl 0x300(%rax), %ecx
movzwl 0x302(%rax), %edx
movw %cx, 0x1c950(%rip)      # 0x31234
movl $0xff01ff00, 0x300(%rax) # imm = 0xFF01FF00
movw %dx, 0x1c941(%rip)      # 0x31236
movzwl 0x304(%rax), %ecx
movw %cx, 0x1c935(%rip)      # 0x31238
movzwl 0x306(%rax), %ecx
movl $0xff03ff02, 0x304(%rax) # imm = 0xFF03FF02
movw %cx, 0x1c91f(%rip)      # 0x3123a
movzwl 0x308(%rax), %ecx
movw %cx, 0x1c913(%rip)      # 0x3123c
movzwl 0x30a(%rax), %ecx
movl $0xff05ff04, 0x308(%rax) # imm = 0xFF05FF04
movw %cx, 0x1c8fd(%rip)      # 0x3123e
movl $0x1, 0x1c8e5(%rip)     # 0x31230
retq
// File: /workspace/github_c_makefile_star2_O1/mist64[P]cbmbasic/plugin.c
// Function: compare
int
compare(const char *s1) {
	const unsigned char *s = (const unsigned char *)s1;
	unsigned short chrptr = get_chrptr();

	while (*s) {
		CHRGET();
		if (A != *s++) {
			set_chrptr(chrptr);
			return 0;
		}
	}
	CHRGET();
	return 1;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0xb69b(%rip), %r14      # 0x21140
movb 0x7a(%r14), %bpl
movb 0x7b(%r14), %r15b
leaq 0x1b691(%rip), %r12     # 0x31145
movb (%rbx), %r13b
callq 0x146fb
testb %r13b, %r13b
je 0x15adc
movb (%r12), %al
leaq 0x1(%rbx), %rcx
cmpb (%rbx), %al
movq %rcx, %rbx
je 0x15ab4
movb %bpl, 0x7a(%r14)
movb %r15b, 0x7b(%r14)
xorl %eax, %eax
jmp 0x15ae1
movl $0x1, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/Tarsnap[P]libcperciva/tests/crypto_aes/main.c
// Function: perftest
static int
perftest(void)
{
	struct perftest_cookie_aes pca_actual;
	struct perftest_cookie_aes * pca = &pca_actual;
	uint8_t ciphertext_arr[16];
	size_t keylen;

	/* Sanity check. */
#ifdef CPUSUPPORT_X86_AESNI
	if (cpusupport_x86_aesni()) {
		if (crypto_aes_can_use_intrinsics() != 1) {
			warn0("Unexpected error with AESNI");
			goto err0;
		}
	}
#endif

	/* Inform user about the hardware optimization status. */
	print_hardware("Performance test of AES");
	fflush(stdout);

	/* Prepare arrays. */
	if (parse_testcase(perftestcase, &pca->key_exp, &keylen,
	    pca->plaintext_arr, ciphertext_arr)) {
		warn0("parse_testcase");
		goto err0;
	}

	/* Time the function. */
	if (perftest_buffers(nbytes_perftest, perfsizes, num_perf,
	    nbytes_warmup, 1, perftest_init, perftest_func, NULL, pca)) {
		warn0("perftest_buffers");
		goto err1;
	}

	/* Clean up. */
	crypto_aes_key_free(pca->key_exp);

	/* Success! */
	return (0);

err1:
	crypto_aes_key_free(pca->key_exp);
err0:
	/* Failure! */
	return (1);
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x58, %rsp
leaq 0x594f(%rip), %rbx      # 0x721c
cmpl $0x0, (%rbx)
je 0x18e5
callq 0x1ec0
cmpl $0x1, %eax
je 0x18f6
leaq 0x2727(%rip), %rdi      # 0x400a
jmp 0x194f
leaq 0x5934(%rip), %r14      # 0x7220
cmpl $0x0, (%r14)
je 0x19df
leaq 0x2729(%rip), %rdi      # 0x4026
callq 0x1bef
movq 0x56e7(%rip), %rax      # 0x6ff0
movq (%rax), %rdi
callq 0x1200
leaq 0x28(%rsp), %rdx
movq 0x5473(%rip), %rax      # 0x6d90
movq %rax, 0x10(%rsp)
movups 0x5457(%rip), %xmm0     # 0x6d80
movups %xmm0, (%rsp)
leaq 0x20(%rsp), %rbx
leaq 0x38(%rsp), %rsi
leaq 0x40(%rsp), %rcx
movq %rbx, %rdi
callq 0x1c4f
testl %eax, %eax
je 0x1970
leaq 0x26ef(%rip), %rdi      # 0x403e
xorl %eax, %eax
callq 0x33cb
callq 0x1190
movl $0x0, (%rax)
movl $0x1, %ebx
movl %ebx, %eax
addq $0x58, %rsp
popq %rbx
popq %r14
retq
movq %rbx, 0x10(%rsp)
leaq 0x47f(%rip), %rax       # 0x1dfb
movq %rax, (%rsp)
movq $0x0, 0x8(%rsp)
leaq 0x2978(%rip), %rsi      # 0x4308
leaq 0x434(%rip), %r9        # 0x1dcb
movl $0x1, %ebx
movl $0x40000000, %edi       # imm = 0x40000000
movl $0x1, %edx
movl $0x9896800, %ecx        # imm = 0x9896800
movl $0x1, %r8d
callq 0x2e3c
testl %eax, %eax
je 0x19fa
leaq 0x268c(%rip), %rdi      # 0x404d
xorl %eax, %eax
callq 0x33cb
callq 0x1190
movl $0x0, (%rax)
movq 0x20(%rsp), %rdi
callq 0x202b
jmp 0x1966
callq 0x1e98
movl %eax, (%rbx)
movl $0x1, (%r14)
testl %eax, %eax
jne 0x18d2
jmp 0x18f6
movq 0x20(%rsp), %rdi
callq 0x202b
xorl %ebx, %ebx
jmp 0x1966
// File: /workspace/github_c_makefile_star2_O1/Tarsnap[P]libcperciva/tests/crypto_aes/main.c
// Function: parse_testcase
static int
parse_testcase(const struct testcase testcase,
    struct crypto_aes_key ** key_exp_p, size_t * keylen_p,
    uint8_t plaintext_arr[static MAX_PLAINTEXT_LENGTH],
    uint8_t ciphertext_arr[static MAX_PLAINTEXT_LENGTH])
{
	uint8_t key_unexpanded[32]; /* We will use 16 or 32 of these bytes. */
	const size_t len = strlen(testcase.plaintext_hex) / 2;

	/* Determine key length. */
	*keylen_p = strlen(testcase.keytext_hex) / 2;

	/* Sanity check. */
	assert((*keylen_p == 16) || (*keylen_p == 32));
	assert(len == 16);

	/* Prepare the key. */
	if (unhexify(testcase.keytext_hex, key_unexpanded, *keylen_p)) {
		warn0("unhexify(%s)", testcase.keytext_hex);
		goto err0;
	}
	if ((*key_exp_p = crypto_aes_key_expand(key_unexpanded, *keylen_p))
	    == NULL) {
		warn0("crypto_aes_key_expand");
		goto err0;
	}

	/* Prepare the arrays. */
	if (unhexify(testcase.plaintext_hex, plaintext_arr, len)) {
		warn0("unhexify(%s)", testcase.plaintext_hex);
		goto err1;
	}
	if (unhexify(testcase.ciphertext_hex, ciphertext_arr, len)) {
		warn0("unhexify(%s)", testcase.ciphertext_hex);
		goto err1;
	}

	/* Clean up.  Irrelevant for a test, but it's a good habit. */
	insecure_memzero(key_unexpanded, 32);

	/* Success! */
	return (0);

err1:
	crypto_aes_key_free(*key_exp_p);
err0:
	/* Failure! */
	return (1);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rcx, 0x8(%rsp)
movq %rdx, %r12
movq %rsi, %r13
movq %rdi, %rbx
movq 0x78(%rsp), %r14
movq %r14, %rdi
callq 0x1120
movq %rax, %r15
movq 0x70(%rsp), %rbp
movq %rbp, %rdi
callq 0x1120
shrq %rax
movq %rax, (%r13)
cmpq $0x10, %rax
je 0x1c9f
cmpq $0x20, %rax
jne 0x1dac
andq $-0x2, %r15
cmpq $0x20, %r15
jne 0x1d8d
leaq 0x10(%rsp), %rsi
movq %rbp, %rdi
movq %rax, %rdx
callq 0x2d7b
testl %eax, %eax
je 0x1cdf
leaq 0x2428(%rip), %rdi      # 0x40f0
movq %rbp, %rsi
xorl %eax, %eax
callq 0x33cb
callq 0x1190
movl $0x0, (%rax)
jmp 0x1d4c
movq (%r13), %rsi
leaq 0x10(%rsp), %rdi
callq 0x1f8b
movq %rax, (%rbx)
testq %rax, %rax
je 0x1d60
movl $0x10, %edx
movq %r14, %rdi
movq %r12, %rsi
callq 0x2d7b
testl %eax, %eax
jne 0x1d28
leaq 0x70(%rsp), %rax
movq 0x10(%rax), %r14
movl $0x10, %edx
movq %r14, %rdi
movq 0x8(%rsp), %rsi
callq 0x2d7b
testl %eax, %eax
je 0x1d73
leaq 0x23c1(%rip), %rdi      # 0x40f0
movq %r14, %rsi
xorl %eax, %eax
callq 0x33cb
callq 0x1190
movl $0x0, (%rax)
movq (%rbx), %rdi
callq 0x202b
movl $0x1, %eax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x2396(%rip), %rdi      # 0x40fd
xorl %eax, %eax
callq 0x33cb
jmp 0x1cd2
leaq 0x548e(%rip), %rax      # 0x7208
movq (%rax), %rax
leaq 0x10(%rsp), %rdi
movl $0x20, %esi
callq *%rax
xorl %eax, %eax
jmp 0x1d51
leaq 0x2405(%rip), %rdi      # 0x4199
leaq 0x22ea(%rip), %rsi      # 0x4085
leaq 0x22ea(%rip), %rcx      # 0x408c
movl $0x7e, %edx
callq 0x1090
leaq 0x22ab(%rip), %rdi      # 0x405e
leaq 0x22cb(%rip), %rsi      # 0x4085
leaq 0x22cb(%rip), %rcx      # 0x408c
movl $0x7d, %edx
callq 0x1090
// File: /workspace/github_c_makefile_star2_O1/MersenneTwister-Lab[P]MTGP/mtgp32-fast.c
// Function: mtgp32_init
int mtgp32_init(mtgp32_fast_t *mtgp32,
		const mtgp32_params_fast_t *para, uint32_t seed) {
    int rc;
    rc = alloc_state(mtgp32, para);
    if (rc) {
	return rc;
    }
    mtgp32->status->idx = mtgp32->status->size - 1;
    mtgp32_init_state(mtgp32->status->array, para, seed);
    return 0;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movl %edx, %ebx
movq %rsi, %r14
movq %rdi, %r15
callq 0x122d
movl %eax, %ecx
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
testl %ecx, %ecx
jne 0x1227
movq 0xf0(%r15), %rdi
movl 0x4(%rdi), %eax
decl %eax
movl %eax, (%rdi)
addq $0x10, %rdi
movq %r14, %rsi
movl %ebx, %edx
callq 0x12ba
xorl %eax, %eax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/MersenneTwister-Lab[P]MTGP/mtgp32-fast.c
// Function: alloc_state
static int alloc_state(mtgp32_fast_t *mtgp32,
		       const mtgp32_params_fast_t *para) {
    int size = para->mexp / 32 + 1;
    int large_size;
    mtgp32_status_fast_t *st;

    int x;
    int y = size;
    for (x = 1; (x != size) && (y > 0); x <<= 1, y >>= 1);
    large_size = x;

    st = (mtgp32_status_fast_t *)malloc(sizeof(mtgp32_status_fast_t)
				     + sizeof(uint32_t) * large_size);
    if (st == NULL) {
	return -1;
    }
    mtgp32->params = *para;
    mtgp32->status = st;
    st->size = size;
    st->large_size = large_size;
    st->large_mask = large_size -1;
    return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
movl (%rsi), %eax
leal 0x1f(%rax), %ebp
testl %eax, %eax
cmovnsl %eax, %ebp
sarl $0x5, %ebp
incl %ebp
movl $0x1, %r12d
cmpl $0x20, %eax
jl 0x126a
movl %ebp, %eax
addl %r12d, %r12d
cmpl %ebp, %r12d
je 0x126a
movl %eax, %ecx
shrl %ecx
cmpl $0x1, %eax
movl %ecx, %eax
ja 0x1257
movslq %r12d, %rax
leaq 0x10(,%rax,4), %rdi
callq 0x10e0
testq %rax, %rax
je 0x12ac
movq %rax, %r15
movl $0xec, %edx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x10d0
movq %r15, 0xf0(%rbx)
movl %ebp, 0x4(%r15)
movl %r12d, 0x8(%r15)
decl %r12d
movl %r12d, 0xc(%r15)
xorl %eax, %eax
jmp 0x12b1
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/MersenneTwister-Lab[P]MTGP/mtgp32-fast.c
// Function: mtgp32_init_state
void mtgp32_init_state(uint32_t array[],
		      const mtgp32_params_fast_t *para, uint32_t seed) {
    int i;
    int size = para->mexp / 32 + 1;
    uint32_t hidden_seed;
    uint32_t tmp;
    hidden_seed = para->tbl[4] ^ (para->tbl[8] << 16);
    tmp = hidden_seed;
    tmp += tmp >> 16;
    tmp += tmp >> 8;
    memset(array, tmp & 0xff, sizeof(uint32_t) * size);
    array[0] = seed;
    array[1] = hidden_seed;
    for (i = 1; i < size; i++) {
	array[i] ^= UINT32_C(1812433253) * (array[i - 1]
					    ^ (array[i - 1] >> 30))
	    + i;
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %edx, %ebp
movq %rdi, %rbx
movl (%rsi), %r15d
movl 0x30(%rsi), %r12d
leal 0x1f(%r15), %r14d
testl %r15d, %r15d
cmovnsl %r15d, %r14d
sarl $0x5, %r14d
shll $0x10, %r12d
xorl 0x20(%rsi), %r12d
movl %r12d, %eax
shrl $0x10, %eax
addl %r12d, %eax
movl %eax, %esi
shrl $0x8, %esi
addl %eax, %esi
movslq %r14d, %rax
leaq 0x4(,%rax,4), %rdx
callq 0x1090
movl %ebp, (%rbx)
movl %r12d, 0x4(%rbx)
cmpl $0x20, %r15d
jl 0x1338
incl %r14d
movl (%rbx), %eax
movl $0x1, %ecx
movl %eax, %edx
shrl $0x1e, %edx
xorl %eax, %edx
imull $0x6c078965, %edx, %eax # imm = 0x6C078965
addl %ecx, %eax
xorl (%rbx,%rcx,4), %eax
movl %eax, (%rbx,%rcx,4)
incq %rcx
cmpq %rcx, %r14
jne 0x131b
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/MersenneTwister-Lab[P]MTGP/mtgp32-fast.c
// Function: mtgp32_print_idstring
void mtgp32_print_idstring(const mtgp32_fast_t *mtgp32, FILE *fp) {
    int i;
    fprintf(fp, "mtgp32:%d:", mtgp32->params.mexp);
    for (i = 0; i < 20; i++) {
	fprintf(fp, "%02x", (unsigned int)mtgp32->params.poly_sha1[i]);
    }
    fprintf(fp, "\n");
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movl (%rdi), %edx
leaq 0x1687(%rip), %rsi      # 0x300c
movq %rbx, %rdi
xorl %eax, %eax
callq 0x10b0
leaq 0x1681(%rip), %r15      # 0x3017
xorl %r12d, %r12d
movzbl 0xd4(%r14,%r12), %edx
movq %rbx, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq 0x10b0
incq %r12
cmpq $0x14, %r12
jne 0x1999
movl $0xa, %edi
movq %rbx, %rsi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x10a0
// File: /workspace/github_c_makefile_star2_O1/MersenneTwister-Lab[P]MTGP/mtgp32-fast.c
// Function: print_close1_open2
void print_close1_open2(mtgp32_fast_t *mtgp32, int count) {
    int i;
    for (i = 0; i < count; i++) {
	printf("%.8f ", mtgp32_genrand_close1_open2(mtgp32));
	if (i % 5 == 4) {
	    printf("\n");
	}
    }
    if (i % 5 != 0) {
	printf("\n");
    }
    printf("\n");
}

// Assembly:
testl %esi, %esi
jle 0x1c56
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %r14
xorl %ebp, %ebp
movl $0x4, %r12d
movl %esi, (%rsp)
movl %esi, 0x4(%rsp)
movl %ebp, %r8d
movl $0xcccccccd, %eax       # imm = 0xCCCCCCCD
imulq %rax, %r8
movq 0xf0(%r14), %rdx
movl 0x4(%rdx), %esi
movl 0x8(%rdx), %eax
movslq 0xc(%rdx), %rdi
movslq (%rdx), %r10
incq %r10
andq %rdi, %r10
movl 0x4(%r14), %r9d
addl %eax, %r9d
movl %r10d, (%rdx)
movl %r10d, %ecx
subl %esi, %ecx
leal (%rcx,%rax), %r11d
andl %edi, %r11d
leal (%rcx,%rax), %r13d
incl %r13d
andl %edi, %r13d
movl %r9d, %eax
subl %esi, %eax
addl %r10d, %eax
andl %edi, %eax
movl 0x10(%rdx,%rax,4), %r15d
movb 0x8(%r14), %cl
movl 0xd0(%r14), %ebx
andl 0x10(%rdx,%r11,4), %ebx
movb 0xc(%r14), %al
xorl 0x10(%rdx,%r13,4), %ebx
movl %ebx, %r11d
shll %cl, %r11d
movl %eax, %ecx
shrl %cl, %r15d
shrq $0x22, %r8
leal (%r8,%r8,4), %r13d
xorl %ebx, %r15d
xorl %r11d, %r15d
movl %r15d, %eax
andl $0xf, %eax
xorl 0x10(%r14,%rax,4), %r15d
movl %r15d, 0x10(%rdx,%r10,4)
movslq (%rdx), %rax
movl 0x10(%rdx,%rax,4), %ecx
notl %esi
addl %r9d, %esi
addl %eax, %esi
andl %edi, %esi
movl 0x10(%rdx,%rsi,4), %eax
movl %eax, %edx
shrl $0x10, %edx
xorl %eax, %edx
movl %edx, %eax
shrl $0x8, %eax
xorl %edx, %eax
shrl $0x9, %ecx
andl $0xf, %eax
xorl 0x90(%r14,%rax,4), %ecx
movd %ecx, %xmm0
cvtss2sd %xmm0, %xmm0
leaq 0x141b(%rip), %rdi      # 0x3022
movb $0x1, %al
callq 0x1080
addl %r12d, %r13d
jne 0x1c1d
movl $0xa, %edi
callq 0x1040
incl %ebp
decl %r12d
movl 0x4(%rsp), %eax
decl %eax
movl %eax, %esi
jne 0x1b2d
imull $0xcccccccd, (%rsp), %eax # imm = 0xCCCCCCCD
cmpl $0x33333334, %eax       # imm = 0x33333334
jb 0x1c48
movl $0xa, %edi
callq 0x1040
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
movl $0xa, %edi
jmp 0x1040
// File: /workspace/github_c_makefile_star2_O1/MersenneTwister-Lab[P]MTGP/mtgp32-fast.c
// Function: print_close_open
void print_close_open(mtgp32_fast_t *mtgp32, int count) {
    int i;
    for (i = 0; i < count; i++) {
	printf("%.8f ", mtgp32_genrand_close_open(mtgp32));
	if (i % 5 == 4) {
	    printf("\n");
	}
    }
    if (i % 5 != 0) {
	printf("\n");
    }
}

// Assembly:
testl %esi, %esi
jle 0x1db3
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %r14
xorl %ebp, %ebp
movl $0x4, %r12d
movl %esi, (%rsp)
movl %esi, 0x4(%rsp)
movl %ebp, %edx
movl $0xcccccccd, %eax       # imm = 0xCCCCCCCD
imulq %rax, %rdx
shrq $0x22, %rdx
movq 0xf0(%r14), %rsi
movl 0x4(%rsi), %edi
movl 0x8(%rsi), %eax
movslq 0xc(%rsi), %r8
movslq (%rsi), %r10
incq %r10
andq %r8, %r10
movl 0x4(%r14), %r9d
addl %eax, %r9d
movl %r10d, (%rsi)
movl %r10d, %ecx
subl %edi, %ecx
leal (%rcx,%rax), %r11d
andl %r8d, %r11d
leal (%rcx,%rax), %r13d
incl %r13d
andl %r8d, %r13d
movl %r9d, %eax
subl %edi, %eax
addl %r10d, %eax
andl %r8d, %eax
movl 0x10(%rsi,%rax,4), %r15d
movb 0x8(%r14), %cl
movl 0xd0(%r14), %ebx
andl 0x10(%rsi,%r11,4), %ebx
movb 0xc(%r14), %al
xorl 0x10(%rsi,%r13,4), %ebx
movl %ebx, %r11d
shll %cl, %r11d
movl %eax, %ecx
shrl %cl, %r15d
xorl %ebx, %r15d
xorl %r11d, %r15d
movl %r15d, %eax
andl $0xf, %eax
xorl 0x10(%r14,%rax,4), %r15d
movl %r15d, 0x10(%rsi,%r10,4)
movslq (%rsi), %rax
movl 0x10(%rsi,%rax,4), %ecx
notl %edi
addl %r9d, %edi
addl %eax, %edi
andl %r8d, %edi
movl 0x10(%rsi,%rdi,4), %eax
movl %eax, %esi
shrl $0x10, %esi
xorl %eax, %esi
movl %esi, %eax
shrl $0x8, %eax
xorl %esi, %eax
shrl $0x9, %ecx
andl $0xf, %eax
xorl 0x90(%r14,%rax,4), %ecx
leal (%rdx,%rdx,4), %ebx
movd %ecx, %xmm0
addss 0x12ac(%rip), %xmm0     # 0x3004
cvtss2sd %xmm0, %xmm0
leaq 0x12bf(%rip), %rdi      # 0x3022
movb $0x1, %al
callq 0x1080
addl %r12d, %ebx
jne 0x1d79
movl $0xa, %edi
callq 0x1040
incl %ebp
decl %r12d
movl 0x4(%rsp), %eax
decl %eax
movl %eax, %esi
jne 0x1c81
imull $0xcccccccd, (%rsp), %eax # imm = 0xCCCCCCCD
cmpl $0x33333334, %eax       # imm = 0x33333334
leaq 0x8(%rsp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jb 0x1db3
movl $0xa, %edi
jmp 0x1040
retq
// File: /workspace/github_c_makefile_star2_O1/MersenneTwister-Lab[P]MTGP/mtgp32-fast.c
// Function: print_open_close
void print_open_close(mtgp32_fast_t *mtgp32, int count) {
    int i;
    for (i = 0; i < count; i++) {
	printf("%.8f ", mtgp32_genrand_open_close(mtgp32));
	if (i % 5 == 4) {
	    printf("\n");
	}
    }
    if (i % 5 != 0) {
	printf("\n");
    }
}

// Assembly:
testl %esi, %esi
jle 0x1f0c
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %r14
xorl %ebp, %ebp
movl $0x4, %r12d
movl %esi, (%rsp)
movl %esi, %r13d
movl %ebp, %eax
movl $0xcccccccd, %ecx       # imm = 0xCCCCCCCD
imulq %rcx, %rax
shrq $0x22, %rax
leal (%rax,%rax,4), %eax
movl %eax, 0x4(%rsp)
movq 0xf0(%r14), %rdx
movl 0x4(%rdx), %esi
movl 0x8(%rdx), %eax
movslq 0xc(%rdx), %rdi
movslq (%rdx), %r9
incq %r9
andq %rdi, %r9
movl 0x4(%r14), %r8d
addl %eax, %r8d
movl %r9d, (%rdx)
movl %r9d, %ecx
subl %esi, %ecx
leal (%rcx,%rax), %r10d
andl %edi, %r10d
leal (%rcx,%rax), %r11d
incl %r11d
andl %edi, %r11d
movl %r8d, %eax
subl %esi, %eax
addl %r9d, %eax
andl %edi, %eax
movl 0x10(%rdx,%rax,4), %r15d
movb 0x8(%r14), %cl
movl 0xd0(%r14), %ebx
andl 0x10(%rdx,%r10,4), %ebx
movb 0xc(%r14), %al
xorl 0x10(%rdx,%r11,4), %ebx
movl %ebx, %r10d
shll %cl, %r10d
movl %eax, %ecx
shrl %cl, %r15d
xorl %ebx, %r15d
xorl %r10d, %r15d
movl %r15d, %eax
andl $0xf, %eax
xorl 0x10(%r14,%rax,4), %r15d
movl %r15d, 0x10(%rdx,%r9,4)
movslq (%rdx), %rax
movl 0x10(%rdx,%rax,4), %ecx
notl %esi
addl %r8d, %esi
addl %eax, %esi
andl %edi, %esi
movl 0x10(%rdx,%rsi,4), %eax
movl %eax, %edx
shrl $0x10, %edx
xorl %eax, %edx
movl %edx, %eax
shrl $0x8, %eax
xorl %edx, %eax
shrl $0x9, %ecx
andl $0xf, %eax
xorl 0x90(%r14,%rax,4), %ecx
movd %ecx, %xmm0
movss 0x115b(%rip), %xmm1     # 0x3008
subss %xmm0, %xmm1
xorps %xmm0, %xmm0
cvtss2sd %xmm1, %xmm0
leaq 0x1163(%rip), %rdi      # 0x3022
movb $0x1, %al
callq 0x1080
addl %r12d, 0x4(%rsp)
jne 0x1ed7
movl $0xa, %edi
callq 0x1040
incl %ebp
decl %r12d
decl %r13d
jne 0x1dd8
imull $0xcccccccd, (%rsp), %eax # imm = 0xCCCCCCCD
cmpl $0x33333334, %eax       # imm = 0x33333334
leaq 0x8(%rsp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jb 0x1f0c
movl $0xa, %edi
jmp 0x1040
retq
// File: /workspace/github_c_makefile_star2_O1/keiranrowan[P]tiny-core/./src/hostname.c
// Function: main
int main(int argc, char **argv) {
	if (argc > 1) {
		if ((strcmp(argv[1], "-h") == 0) || (strcmp(argv[1], "--help") == 0)) {
			printf("hostname [-s] <hostname>\n");
			printf("No arguments prints hostname\n");
		} else if (strcmp(argv[1], "-s") == 0) {
			const char *hostname = argv[2];
			int err = sethostname(hostname, strlen(hostname)); 
			if (err != 0) {
				printf("Error setting hostname\n");
				return 1;
			} else {
				printf("Hostname set.\n");
				return 0;
			}
		}
	} else {
		char hostname[HOST_NAME_MAX + 1];
		int err = gethostname(hostname, HOST_NAME_MAX + 1);
		if (err != 0) {
			printf("Error getting hostname.\n");
			return 1;
		} else {
			printf("%s\n", hostname);
			return 0;
		}
	}
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x48, %rsp
cmpl $0x2, %edi
jl 0x11f8
movq %rsi, %r14
movq 0x8(%rsi), %rbx
leaq 0xe6e(%rip), %rsi       # 0x2004
movq %rbx, %rdi
callq 0x1050
testl %eax, %eax
je 0x1221
leaq 0xe5e(%rip), %rsi       # 0x2007
movq %rbx, %rdi
callq 0x1050
testl %eax, %eax
je 0x1221
leaq 0xe52(%rip), %rsi       # 0x200e
movq %rbx, %rdi
callq 0x1050
xorl %ebx, %ebx
testl %eax, %eax
jne 0x123b
movq 0x10(%r14), %r14
movq %r14, %rdi
callq 0x1040
movq %r14, %rdi
movq %rax, %rsi
callq 0x1060
testl %eax, %eax
je 0x1245
leaq 0xe4b(%rip), %rdi       # 0x2037
callq 0x1030
movl $0x1, %ebx
jmp 0x123b
movq %rsp, %r14
movl $0x41, %esi
movq %r14, %rdi
callq 0x1070
xorl %ebx, %ebx
testl %eax, %eax
setne %bl
leaq 0xdfb(%rip), %rdi       # 0x2011
cmoveq %r14, %rdi
callq 0x1030
jmp 0x123b
leaq 0xe26(%rip), %rdi       # 0x204e
callq 0x1030
leaq 0xe33(%rip), %rdi       # 0x2067
callq 0x1030
xorl %ebx, %ebx
movl %ebx, %eax
addq $0x48, %rsp
popq %rbx
popq %r14
retq
leaq 0xddd(%rip), %rdi       # 0x2029
jmp 0x121a
// File: /workspace/github_c_makefile_star2_O1/Joy-Division[P]tools-zoe/subtitle-convert.c
// Function: getModdedLetter
char getModdedLetter( int modifier, int letter ) {
	if( modifier == 0x60 ) { // `
		if( letter == 0x61 ) return 0xE0; // a, à
		if( letter == 0x65 ) return 0xE8; // e, è
		if( letter == 0x6F ) return 0xF2; // o, ò
	}
	if( modifier == 0x5E ) { // ^
		if( letter == 0x75 ) return 0xFB; // u, û
		if( letter == 0x65 ) return 0xEA; // e, ê
	}
	if( modifier == 0x27 ) { // '
		if( letter == 0x65 ) return 0xE9; // e, é
	}
	if( modifier == 0x7E ) { // ~
		if( letter == 0x71 ) return 0xE7; // q, ç
		if( letter == 0x61 ) return 0xE4; // a, ä
		if( letter == 0x6F ) return 0xF6; // o, ö
		if( letter == 0x75 ) return 0xFC; // u, ü
		if( letter == 0x73 ) return 0xDF; // s, ß
	}
	if( modifier == 0x40 ) { // @
		if( letter == 0x65 ) return 0x9C; // o, œ
	}
	return 0;
}

// Assembly:
cmpl $0x5e, %edi
je 0x1253
cmpl $0x60, %edi
jne 0x1260
cmpl $0x61, %esi
je 0x124b
cmpl $0x6f, %esi
je 0x1248
cmpl $0x65, %esi
jne 0x124e
movb $-0x18, %al
retq
movb $-0xe, %al
retq
movb $-0x20, %al
retq
cmpl $0x5e, %edi
jne 0x1260
cmpl $0x75, %esi
je 0x12a6
cmpl $0x65, %esi
jne 0x1260
movb $-0x16, %al
retq
movl %edi, %edx
xorl $0x27, %edx
movl %esi, %ecx
xorl $0x65, %ecx
movb $-0x17, %al
orl %ecx, %edx
je 0x1247
cmpl $0x7e, %edi
jne 0x1296
addl $-0x61, %esi
rorl %esi
cmpl $0xb, %esi
jae 0x1296
movl $0x781, %eax            # imm = 0x781
btl %esi, %eax
jae 0x1296
movl %esi, %eax
leaq 0xe1f(%rip), %rcx       # 0x20b1
movb (%rax,%rcx), %al
retq
xorl $0x40, %edi
xorl %edx, %edx
orl %ecx, %edi
movl $0x9c, %eax
cmovnel %edx, %eax
retq
movb $-0x5, %al
retq
// File: /workspace/github_c_makefile_star2_O1/Joy-Division[P]tools-zoe/subtitle-convert.c
// Function: processLine
char *processLine( char *line ) {
	char *retline = malloc( strlen(line)+1 );
	int i, e = 0, modifier, letter;
	for( i = 0; i < strlen(line) + 1; i++ ) {
		if( line[i] != 0x26 ) { // &
			retline[e] = line[i];
			e++;
		}
		else {
			i++;
			modifier = line[i];
			i++;
			letter = line[i];
			retline[e] = getModdedLetter( modifier, letter );
			e++;
		}
	}
	return retline;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdi, %rbx
callq 0x1080
movq %rax, %r14
leaq 0x1(%rax), %rdi
callq 0x10c0
movq %rax, %r15
incq %r14
je 0x1307
xorl %eax, %eax
movq %r15, %r12
xorl %r13d, %r13d
movb (%rbx,%rax), %al
cmpb $0x26, %al
jne 0x12f5
movslq %r13d, %r13
movsbl 0x1(%rbx,%r13), %edi
movsbl 0x2(%rbx,%r13), %esi
addq $0x2, %r13
callq 0x122c
movb %al, (%r12)
incl %r13d
movslq %r13d, %rax
incq %r12
cmpq %rax, %r14
ja 0x12d6
movq %r15, %rax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/Joy-Division[P]tools-zoe/subtitle-convert.c
// Function: processLineJp
char *processLineJp( char *line, unsigned int len ) {
	char *tempbuf = malloc(len*2);
	char *workbuf = tempbuf;
	iconv_t cd;
	size_t inbufsize = len;
	size_t outbufsize = len*2;
	cd = iconv_open("UTF-8", "EUC-JP");
	#ifdef _WIN32
	const char *linein = (const char *)line;
	iconv(cd, &linein, &inbufsize, &workbuf, &outbufsize);
	#else
	iconv(cd, &line, &inbufsize, &workbuf, &outbufsize);
	#endif
	iconv_close(cd);
	return tempbuf;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movl %esi, %ebx
leaq 0x20(%rsp), %r14
movq %rdi, (%r14)
leal (%rbx,%rbx), %r15d
movq %r15, %rdi
callq 0x10c0
movq %rax, %r12
leaq 0x18(%rsp), %r13
movq %rax, (%r13)
movl %ebx, %eax
leaq 0x10(%rsp), %rbx
movq %rax, (%rbx)
leaq 0x8(%rsp), %rbp
movq %r15, (%rbp)
leaq 0xcae(%rip), %rdi       # 0x200c
leaq 0xcad(%rip), %rsi       # 0x2012
callq 0x1120
movq %rax, %r15
movq %rax, %rdi
movq %r14, %rsi
movq %rbx, %rdx
movq %r13, %rcx
movq %rbp, %r8
callq 0x1040
movq %r15, %rdi
callq 0x10e0
movq %r12, %rax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/tylerneylon[P]APIsWithLua/ch2/eatyguy2.c
// Function: getkey
int getkey() {

  // Make reading from stdin non-blocking.
  int flags = fcntl(STDIN_FILENO, F_GETFL);
  fcntl(STDIN_FILENO, F_SETFL, flags | O_NONBLOCK);

  int ch = getchar();

  // Turn off non-blocking I/O. On some systems, leaving stdin
  // non-blocking will also leave stdout non-blocking, which
  // can cause printing errors.
  fcntl(STDIN_FILENO, F_SETFL, flags);
  return ch;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
xorl %edi, %edi
movl $0x3, %esi
xorl %eax, %eax
callq 0x4110
movl %eax, %ebx
movl %eax, %edx
orl $0x800, %edx            # imm = 0x800
xorl %edi, %edi
movl $0x4, %esi
xorl %eax, %eax
callq 0x4110
callq 0x4290
movl %eax, %r14d
xorl %edi, %edi
movl $0x4, %esi
movl %ebx, %edx
xorl %eax, %eax
callq 0x4110
movl %r14d, %eax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/tylerneylon[P]APIsWithLua/ch2/eatyguy2.c
// Function: main
int main() {

  start();

  // Create a Lua state and load the module.
  lua_State *L = luaL_newstate();
  luaL_openlibs(L);

  // Make our Lua-callable functions visible to Lua.
  lua_register(L, "set_color", set_color);
  lua_register(L, "set_pos",   set_pos);
  lua_register(L, "timestamp", timestamp);

  // Load eatyguy2.lua and run the init() function.
  luaL_dofile(L, "eatyguy2.lua");
  lua_setglobal(L, "eatyguy");
  lua_settop(L, 0);

  lua_getglobal(L, "eatyguy");
  lua_getfield(L, -1, "init");  // -1 means stack top.
  lua_call(L, 0, 0);            // 0, 0 = #args, #retvals

  lua_getglobal(L, "eatyguy");
  while (1) {
    // Call eatyguy.loop().
    lua_getfield(L, -1, "loop");
    lua_call(L, 0, 0);

    int c = getkey();
    if (c == ESC_KEY || c == 'q' || c == 'Q') done();
  }

  return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
callq 0x484e
callq 0x142a2
movq %rax, %rbx
movq %rax, %rdi
callq 0x144a4
leaq -0x141(%rip), %rsi      # 0x48a6
movq %rbx, %rdi
xorl %edx, %edx
callq 0x546d
leaq 0x1b684(%rip), %rsi     # 0x2007c
movq %rbx, %rdi
callq 0x58a3
leaq -0xf7(%rip), %rsi       # 0x4910
movq %rbx, %rdi
xorl %edx, %edx
callq 0x546d
leaq 0x1b66e(%rip), %rsi     # 0x20086
movq %rbx, %rdi
callq 0x58a3
leaq -0xac(%rip), %rsi       # 0x497b
movq %rbx, %rdi
xorl %edx, %edx
callq 0x546d
leaq 0x1b656(%rip), %rsi     # 0x2008e
movq %rbx, %rdi
callq 0x58a3
leaq 0x1b651(%rip), %rsi     # 0x20098
movq %rbx, %rdi
xorl %edx, %edx
callq 0x13a15
testl %eax, %eax
jne 0x4a6c
movq %rbx, %rdi
xorl %esi, %esi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
xorl %ecx, %ecx
xorl %r8d, %r8d
xorl %r9d, %r9d
callq 0x5d66
leaq 0x1b632(%rip), %r14     # 0x200a5
movq %rbx, %rdi
movq %r14, %rsi
callq 0x58a3
movq %rbx, %rdi
xorl %esi, %esi
callq 0x4c2d
movq %rbx, %rdi
movq %r14, %rsi
callq 0x553c
leaq 0x1b613(%rip), %rdx     # 0x200ad
movq %rbx, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0x5653
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x5cfe
movq %rbx, %rdi
movq %r14, %rsi
callq 0x553c
leaq 0x1c02a(%rip), %r14     # 0x20af4
movq %rbx, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
movq %r14, %rdx
callq 0x5653
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x5cfe
callq 0x4801
cmpl $0x1b, %eax
je 0x4aff
cmpl $0x71, %eax
je 0x4aff
cmpl $0x51, %eax
jne 0x4aca
callq 0x4883
// File: /workspace/github_c_makefile_star2_O1/jflatow[P]jfdb/src/jfdb.c
// Function: print_meta
static void print_meta(JFDB *db) {
  JFDB_CheckPoint *cp = &db->tip.cp;
  printf("-----\n");
  printf("magic: %x:%x\n", db->tip.magic, db->tip.version);
  printf("level: %"PRIu64" / %llu\n", cp->levels, 1LLU << db->tip.level);
  printf("-----\n");
  printf("gaps:\n");
  for (int i = 0; i < JFDB_NUM_GAPS; i++)
    printf(" %8u @ %-8u\n", cp->gaps[i].size, cp->gaps[i].block);
  printf("keys: %12zu / %-12"PRIu64"\n", db->kmap.size, cp->lengthKeys);
  printf("vals: %12zu / %-12"PRIu64"\n", db->vmap.size, cp->lengthVals);
  printf("-----\n");
  printf("roots:\n");
  JFT *trie;
  for (JFT_Offset pos = cp->offset; pos; pos = JFT_parent_offset(trie)) {
    trie = JFDB_get_trie(db, pos);
    printf("      %12"PRIu64" = ", pos);
    print_bits((JFT_Head *)trie, 1);
    printf("\n");
  }
  printf("-----\n");
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x5f4c(%rip), %r14      # 0x75de
movq %r14, %rdi
callq 0x1080
movl 0xc0(%rbx), %esi
movl 0xc4(%rbx), %edx
leaq 0x5c5a(%rip), %rdi      # 0x7307
xorl %eax, %eax
callq 0x10f0
movq 0x120(%rbx), %rsi
movb 0xc8(%rbx), %cl
movl $0x1, %edx
shlq %cl, %rdx
leaq 0x5c45(%rip), %rdi      # 0x7315
xorl %eax, %eax
callq 0x10f0
movq %r14, %rdi
callq 0x1080
leaq 0x5eeb(%rip), %rdi      # 0x75d1
callq 0x1080
movl $0x1a, %r15d
leaq 0x5c30(%rip), %r14      # 0x7328
movl (%rbx,%r15,8), %edx
movl 0x4(%rbx,%r15,8), %esi
movq %r14, %rdi
xorl %eax, %eax
callq 0x10f0
incq %r15
cmpq $0x22, %r15
jne 0x16f8
movq 0xa0(%rbx), %rsi
movq 0x110(%rbx), %rdx
leaq 0x5c0c(%rip), %rdi      # 0x7335
xorl %eax, %eax
callq 0x10f0
movq 0xb8(%rbx), %rsi
movq 0x118(%rbx), %rdx
leaq 0x5c06(%rip), %rdi      # 0x734b
xorl %eax, %eax
callq 0x10f0
leaq 0x5e8b(%rip), %rdi      # 0x75de
callq 0x1080
leaq 0x5e78(%rip), %rdi      # 0x75d7
callq 0x1080
movq 0x128(%rbx), %r12
testq %r12, %r12
je 0x17e4
leaq 0x5bf9(%rip), %r13      # 0x7370
leaq 0x5de9(%rip), %rbp      # 0x7567
movabsq $0xffffffffff, %r14     # imm = 0xFFFFFFFFFF
movq %rbx, %rdi
movq %r12, %rsi
callq 0x3c0c
movq %rax, %r15
leaq 0x5bc4(%rip), %rdi      # 0x7361
movq %r12, %rsi
xorl %eax, %eax
callq 0x10f0
movl $0x3f, %r12d
testb $0x7, %r12b
movq %rbp, %rdi
cmoveq %r13, %rdi
movq (%r15), %rax
xorl %esi, %esi
btq %r12, %rax
setb %sil
xorl %eax, %eax
callq 0x10f0
addq $-0x1, %r12
jb 0x17ad
movl $0xa, %edi
callq 0x1040
movq (%r15), %r12
andq %r14, %r12
jne 0x1788
leaq 0x5df3(%rip), %rdi      # 0x75de
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x1080
// File: /workspace/github_c_makefile_star2_O1/jflatow[P]jfdb/src/jfdb.c
// Function: load_input
static void load_input(JFDB *db, FILE *input) {
  int c, s = 0, n = 2;
  JFT_Stem *stems = malloc(n * sizeof(JFT_Stem));
  JFT_Boolean escaped = False;
  char *buf = malloc(1 << 20); // NB: static buffer
  size_t bufSize = 0;
  stems[0] = (JFT_Stem) {
    .size = 0,
    .data = (uint8_t *)buf
  };
  while ((c = getc(input)) != EOF) {
    if (escaped) {
      // copy byte no matter what
      buf[bufSize++] = c;
      stems[s].size++;
      escaped = False;
    } else if (c == '\\') {
      // escape the next byte
      escaped = True;
    } else if (c == '\t') {
      // close out current stem, start next one
      if (++s >= n)
        stems = realloc(stems, (n *= 2) * sizeof(JFT_Stem));
      stems[s] = (JFT_Stem) {
        .size = 0,
        .data = (uint8_t *)&buf[bufSize]
      };
    } else if (c == '\n') {
      // close out current stem, write db, reset
      if (s)
        JFDB_store(db, &stems[0], &stems[1], &stems[2], s > 1 ? s - 1 : 0, 0);
      else
        JFDB_annul(db, &stems[0], 0);
      bufSize = s = 0;
      stems[s].size = 0;
    } else {
      // copy byte
      buf[bufSize++] = c;
      stems[s].size++;
    }
  }
  free(stems);
  free(buf);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, %rbx
movq %rdi, 0x10(%rsp)
movl $0x30, %edi
callq 0x1180
movq %rax, %r12
movl $0x100000, %edi         # imm = 0x100000
callq 0x1180
movq %rax, %r15
movq $0x0, (%r12)
movw $0x0, 0x8(%r12)
movq %rax, 0x10(%r12)
movq %rbx, %rdi
callq 0x1230
cmpl $-0x1, %eax
je 0x264f
movl $0x2, 0xc(%rsp)
xorl %r13d, %r13d
xorl %ebp, %ebp
xorl %r14d, %r14d
testl %ebp, %ebp
jne 0x25cc
cmpl $0x5c, %eax
je 0x2627
cmpl $0xa, %eax
je 0x25f5
cmpl $0x9, %eax
jne 0x25cc
incl %r13d
movl 0xc(%rsp), %eax
cmpl %eax, %r13d
jl 0x25aa
addl %eax, %eax
movl %eax, 0xc(%rsp)
cltq
shlq $0x3, %rax
leaq (%rax,%rax,2), %rsi
movq %r12, %rdi
callq 0x1190
movq %rax, %r12
movslq %r13d, %rax
leaq (%rax,%rax,2), %rax
leaq (%r15,%r14), %rcx
movq $0x0, (%r12,%rax,8)
movw $0x0, 0x8(%r12,%rax,8)
movq %rcx, 0x10(%r12,%rax,8)
jmp 0x25e0
movb %al, (%r15,%r14)
incq %r14
movslq %r13d, %rax
leaq (%rax,%rax,2), %rax
incw 0x8(%r12,%rax,8)
xorl %ebp, %ebp
movq %rbx, %rdi
callq 0x1230
cmpl $-0x1, %eax
jne 0x256c
jmp 0x264f
testl %r13d, %r13d
je 0x262e
leaq 0x18(%r12), %rdx
leaq 0x30(%r12), %rcx
leal -0x1(%r13), %r8d
cmpl $0x2, %r13d
movl $0x0, %eax
cmovll %eax, %r8d
movq 0x10(%rsp), %rdi
movq %r12, %rsi
xorl %r9d, %r9d
callq 0x3eef
jmp 0x263d
movl $0x1, %ebp
jmp 0x25e2
movq 0x10(%rsp), %rdi
movq %r12, %rsi
xorl %edx, %edx
callq 0x3e8a
movw $0x0, 0x8(%r12)
xorl %r14d, %r14d
xorl %ebp, %ebp
xorl %r13d, %r13d
jmp 0x25e2
movq %r12, %rdi
callq 0x1030
movq %r15, %rdi
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x1030
// File: /workspace/github_c_makefile_star2_O1/openshmem-org[P]openshmem-examples/c++/hello.cxx
// Function: main
int
main(void)
{
    struct utsname u;

    uname(&u);

    shmem_init();

    const int me = shmem_my_pe();
    const int npes = shmem_n_pes();

    std::cout << u.nodename
              << " hello from PE " << me
              << " of " << npes
              << "\n";

    shmem_finalize();

    return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x188, %rsp            # imm = 0x188
leaq 0x2(%rsp), %rdi
callq 0x1030
callq 0x10c0
callq 0x1090
movl %eax, %ebp
callq 0x1070
movl %eax, %ebx
leaq 0x43(%rsp), %r14
movq %r14, %rdi
callq 0x1050
movq 0x2d9e(%rip), %r15      # 0x3fd8
movq %r15, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x1080
leaq 0xdb5(%rip), %rsi       # 0x2004
movl $0xf, %edx
movq %r15, %rdi
callq 0x1080
movq %r15, %rdi
movl %ebp, %esi
callq 0x10b0
movq %rax, %r14
leaq 0xda4(%rip), %rsi       # 0x2014
movl $0x4, %edx
movq %rax, %rdi
callq 0x1080
movq %r14, %rdi
movl %ebx, %esi
callq 0x10b0
leaq 0xd8b(%rip), %rsi       # 0x2019
movl $0x1, %edx
movq %rax, %rdi
callq 0x1080
callq 0x1040
xorl %eax, %eax
addq $0x188, %rsp            # imm = 0x188
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/theck01[P]offbrand_lib/src/classes/obmap.c
// Function: obmap_new_with_capacity
obmap * obmap_new_with_capacity(uint32_t capacity){

  obmap *m = obmap_create_default();

  uint32_t i = 0;
  while(MAP_CAPACITIES[i] < capacity && i < NUM_CAPACITIES - 1) i++;

  m->hash_table = obvector_new(MAP_CAPACITIES[i]);
  m->pairs = obdeque_new();
  m->cap_idx = i;

  return m;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %edi, %ebp
leaq 0x3856(%rip), %r15      # 0x53f0
xorl %r14d, %r14d
callq 0x1be3
movq %rax, %rbx
movq %r14, %rax
movl (%r15), %edi
incq %r14
cmpq $0x18, %rax
ja 0x1bbc
addq $0x4, %r15
cmpl %ebp, %edi
jb 0x1ba5
callq 0x2954
movq %rax, 0x10(%rbx)
callq 0x36cc
movq %rax, 0x18(%rbx)
decb %r14b
movb %r14b, 0x8(%rbx)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/theck01[P]offbrand_lib/src/classes/obmap.c
// Function: obmap_create_default
obmap * obmap_create_default(void){

  static const char classname[] = "obmap";
  obmap *new_instance = malloc(sizeof(obmap));
  assert(new_instance != NULL);

  /* initialize base class data */
  ob_init_base((obj *)new_instance, &obmap_destroy, &obmap_hash,
           &obmap_compare, &obmap_display, classname);

  new_instance->hash_table = NULL;
  new_instance->pairs = NULL;
  new_instance->cap_idx = 0;
  new_instance->collisions = 0;

  return new_instance;
}

// Assembly:
pushq %rbx
movl $0x28, %edi
callq 0x10b0
testq %rax, %rax
je 0x1c38
movq %rax, %rbx
leaq 0x873(%rip), %rsi       # 0x2470
leaq 0x8d6(%rip), %rdx       # 0x24da
leaq 0x9c6(%rip), %rcx       # 0x25d1
leaq 0xa99(%rip), %r8        # 0x26ab
leaq 0x385a(%rip), %r9       # 0x5473
movq %rax, %rdi
callq 0x3458
movb $0x0, 0x8(%rbx)
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rbx)
movl $0x0, 0x20(%rbx)
movq %rbx, %rax
popq %rbx
retq
leaq 0x394c(%rip), %rdi      # 0x558b
leaq 0x383b(%rip), %rsi      # 0x5481
leaq 0x3aef(%rip), %rcx      # 0x573c
movl $0x13b, %edx            # imm = 0x13B
callq 0x1050
// File: /workspace/github_c_makefile_star2_O1/theck01[P]offbrand_lib/src/classes/obmap.c
// Function: obmap_copy
obmap * obmap_copy(const obmap *to_copy){

  obmap *copy;
  obmap_pair *mp;
  obdeque_iterator *it;

  assert(to_copy);

  copy = obmap_create_default();

  copy->cap_idx = to_copy->cap_idx;
  copy->collisions = to_copy->collisions;
  copy->pairs = obdeque_new();

  /* copy deque manually, internal objects need to be copied as well as Deque
   * itself */
  it = obdeque_head_iterator(to_copy->pairs);
  if(it){
    do{
       mp = obmap_copy_pair((obmap_pair *)obdeque_obj_at_iterator(to_copy->pairs, it));
       obdeque_add_at_tail(copy->pairs, (obj *)mp);
       ob_release((obj *)mp);
    }while(obdeque_iterate_next(to_copy->pairs, it));
  }
  ob_release((obj *)it);

  obmap_rehash(copy); /* cannot grab to_copy->hash_table directly, stored
                         iterators must point to values within copy, not to copy */

  return copy;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x1cf5
movq %rdi, %r14
callq 0x1be3
movq %rax, %rbx
movb 0x8(%r14), %al
movb %al, 0x8(%rbx)
movl 0x20(%r14), %eax
movl %eax, 0x20(%rbx)
callq 0x36cc
movq %rax, 0x18(%rbx)
movq 0x18(%r14), %rdi
callq 0x37e8
movq %rax, %r15
testq %rax, %rax
je 0x1cd6
movq 0x18(%r14), %rdi
movq %r15, %rsi
callq 0x3816
movq %rax, %rdi
callq 0x1d14
movq %rax, %r12
movq 0x18(%rbx), %rdi
movq %rax, %rsi
callq 0x3897
movq %r12, %rdi
callq 0x35ee
movq 0x18(%r14), %rdi
movq %r15, %rsi
callq 0x390f
testb %al, %al
jne 0x1c9b
movq %r15, %rdi
callq 0x35ee
movq %rbx, %rdi
callq 0x1d49
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
leaq 0x377d(%rip), %rdi      # 0x5479
leaq 0x377e(%rip), %rsi      # 0x5481
leaq 0x378b(%rip), %rcx      # 0x5495
movl $0x4d, %edx
callq 0x1050
// File: /workspace/github_c_makefile_star2_O1/theck01[P]offbrand_lib/src/classes/obmap.c
// Function: obmap_rehash
void obmap_rehash(obmap *m){

  obdeque_iterator *it, *it_copy;

  assert(m);

  ob_release((obj *)m->hash_table);
  m->hash_table = obvector_new(MAP_CAPACITIES[m->cap_idx]);

  it = obdeque_head_iterator(m->pairs);
  if(!it) return;

  do{
    it_copy = obdeque_copy_iterator(it);
    obmap_add_to_table(m, it_copy);
    ob_release((obj *)it_copy);
  }while(obdeque_iterate_next(m->pairs, it));

  ob_release((obj *)it);

  return;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
testq %rdi, %rdi
je 0x1dc8
movq %rdi, %rbx
movq 0x10(%rdi), %rdi
callq 0x35ee
movzbl 0x8(%rbx), %eax
leaq 0x3686(%rip), %rcx      # 0x53f0
movl (%rcx,%rax,4), %edi
callq 0x2954
movq %rax, 0x10(%rbx)
movq 0x18(%rbx), %rdi
callq 0x37e8
testq %rax, %rax
je 0x1dc2
movq %rax, %r14
movq %r14, %rdi
callq 0x3ab6
movq %rax, %r15
movq %rbx, %rdi
movq %rax, %rsi
callq 0x20cb
movq %r15, %rdi
callq 0x35ee
movq 0x18(%rbx), %rdi
movq %r14, %rsi
callq 0x390f
testb %al, %al
jne 0x1d87
movq %r14, %rdi
popq %rbx
popq %r14
popq %r15
jmp 0x35ee
popq %rbx
popq %r14
popq %r15
retq
leaq 0x36e7(%rip), %rdi      # 0x54b6
leaq 0x36ab(%rip), %rsi      # 0x5481
leaq 0x3779(%rip), %rcx      # 0x5556
movl $0xb4, %edx
callq 0x1050
// File: /workspace/github_c_makefile_star2_O1/theck01[P]offbrand_lib/src/classes/obmap.c
// Function: obmap_insert
void obmap_insert(obmap *m, obj *key, obj *value){

  obmap_pair *mp;
  obdeque_iterator *it;
  ob_hash_t hash_value;

  assert(m);

  hash_value = obmap_find_key(m, key);
  it = (obdeque_iterator *)obvector_obj_at_index(m->hash_table, hash_value);

  /* If the key already exists in the map then overwrite the existing
   * value */
  if(it){
    mp = (obmap_pair *)obdeque_obj_at_iterator(m->pairs, it);
    obmap_replace_pair_value(mp, value);
    return;
  }

  /* if add operation will overload the map then resize the map */
  if((obdeque_length(m->pairs)+1)/MAP_CAPACITIES[m->cap_idx] > MAX_LOAD_FACTOR)
    obmap_increase_size(m);

  mp = obmap_new_pair(key, value);
  obdeque_add_at_tail(m->pairs, (obj *)mp);
  ob_release((obj *)mp); /* map deque has only reference to mp */

  assert(it = obdeque_tail_iterator(m->pairs));
  obmap_add_to_table(m, it);
  ob_release((obj *)it); /* map vector hash only reference to it */

  return;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
testq %rdi, %rdi
je 0x1e9e
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
callq 0x1edc
movq 0x10(%rbx), %rdi
movq %rax, %rsi
callq 0x2cbf
movq 0x18(%rbx), %rdi
testq %rax, %rax
je 0x1e30
movq %rax, %rsi
callq 0x3816
movq %rax, %rdi
movq %r14, %rsi
popq %rbx
popq %r14
popq %r15
jmp 0x1f92
callq 0x39e2
incq %rax
movzbl 0x8(%rbx), %ecx
leaq 0x35ad(%rip), %rdx      # 0x53f0
movl (%rdx,%rcx,4), %ecx
cmpq %rcx, %rax
jb 0x1e53
movq %rbx, %rdi
callq 0x1fdd
movq %r15, %rdi
movq %r14, %rsi
callq 0x2048
movq %rax, %r14
movq 0x18(%rbx), %rdi
movq %rax, %rsi
callq 0x3897
movq %r14, %rdi
callq 0x35ee
movq 0x18(%rbx), %rdi
callq 0x3a88
testq %rax, %rax
je 0x1ebd
movq %rax, %r14
movq %rbx, %rdi
movq %rax, %rsi
callq 0x20cb
movq %r14, %rdi
popq %rbx
popq %r14
popq %r15
jmp 0x35ee
leaq 0x3611(%rip), %rdi      # 0x54b6
leaq 0x35d5(%rip), %rsi      # 0x5481
leaq 0x3605(%rip), %rcx      # 0x54b8
movl $0x6e, %edx
callq 0x1050
leaq 0x361d(%rip), %rdi      # 0x54e1
leaq 0x35b6(%rip), %rsi      # 0x5481
leaq 0x35e6(%rip), %rcx      # 0x54b8
movl $0x83, %edx
callq 0x1050
// File: /workspace/github_c_makefile_star2_O1/theck01[P]offbrand_lib/src/classes/obmap.c
// Function: obmap_find_key
ob_hash_t obmap_find_key(const obmap *m, const obj *key){

  ob_hash_t hash_value, offset;
  obmap_pair *mp;
  obdeque_iterator *it;

  hash_value = ob_hash(key)%MAP_CAPACITIES[m->cap_idx];
  offset = 0;

  while((it = (obdeque_iterator *)obvector_obj_at_index(m->hash_table, hash_value))){
    mp = (obmap_pair *)obdeque_obj_at_iterator(m->pairs, it);
    if(ob_compare(mp->key, key) == OB_EQUAL_TO)
      break;
    offset = obmap_offset_collision(offset);
    hash_value = (hash_value+offset)%MAP_CAPACITIES[m->cap_idx];
  }

  return hash_value; /* the hash value where key is actually found */
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
movq %rsi, %rdi
callq 0x352c
movzbl 0x8(%r14), %ecx
leaq 0x34f1(%rip), %r12      # 0x53f0
movl (%r12,%rcx,4), %ecx
xorl %edx, %edx
divq %rcx
movq %rdx, %r15
movq 0x10(%r14), %rdi
movq %rdx, %rsi
callq 0x2cbf
testq %rax, %rax
je 0x1f85
xorl %r13d, %r13d
movq 0x18(%r14), %rdi
movq %rax, %rsi
callq 0x3816
movq 0x8(%rax), %rdi
movq %rbx, %rsi
callq 0x356b
testb %al, %al
je 0x1f85
testq %r13, %r13
je 0x1f4e
cmpq $0x1, %r13
jne 0x1f56
movl $0x2, %r13d
jmp 0x1f5d
movl $0x1, %r13d
jmp 0x1f5d
imulq %r13, %r13
decq %r13
addq %r13, %r15
movzbl 0x8(%r14), %eax
movl (%r12,%rax,4), %ecx
movq %r15, %rax
xorl %edx, %edx
divq %rcx
movq 0x10(%r14), %rdi
movq %rdx, %r15
movq %rdx, %rsi
callq 0x2cbf
testq %rax, %rax
jne 0x1f1f
movq %r15, %rax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq