LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O2/Tarsnap[P]kivaloo/liball/../lib/proto_lbs/proto_lbs_client.c
// Function: callback_params2
static int
callback_params2(void * cookie, uint8_t * buf, size_t buflen)
{
	struct params2_cookie * C = cookie;
	int failed = 1;
	size_t blklen = 0;
	uint64_t blkno = 0;
	uint64_t lastblk = (uint64_t)(-1);
	int rc;

	/* If we have a packet, parse it. */
	if (buf != NULL) {
		/* Do we have the right packet length? */
		if (buflen != 20)
			BAD("PARAMS2", "bogus length");

		/* Parse the packet. */
		blklen = be32dec(&buf[0]);
		blkno = be64dec(&buf[4]);
		lastblk = be64dec(&buf[12]);

		/* We successfully parsed this response. */
		failed = 0;
	}

failed:
	/* Invoke the upstream callback. */
	rc = (C->callback)(C->cookie, failed, blklen, blkno, lastblk);

	/* Free the cookie. */
	free(C);

	/* Return status from callback. */
	return (rc);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
pushq $0x1
popq %rbp
pushq $-0x1
popq %r14
testq %rsi, %rsi
je 0xf195
cmpq $0x14, %rdx
jne 0xf19a
movq %rsi, %r13
movq %rsi, %rdi
callq 0xf805
movl %eax, %r15d
leaq 0x4(%r13), %rdi
callq 0xf80a
movq %rax, %r12
addq $0xc, %r13
movq %r13, %rdi
callq 0xf80a
movq %rax, %r14
xorl %ebp, %ebp
jmp 0xf1c4
xorl %r15d, %r15d
jmp 0xf1c1
leaq 0x4aa5(%rip), %rdi      # 0x13c46
leaq 0x4acf(%rip), %rsi      # 0x13c77
leaq 0x4abb(%rip), %rdx      # 0x13c6a
xorl %r15d, %r15d
xorl %eax, %eax
callq 0xe0e4
callq 0x20a0
andl $0x0, (%rax)
xorl %r12d, %r12d
movq 0x8(%rbx), %rdi
movl %ebp, %esi
movq %r15, %rdx
movq %r12, %rcx
movq %r14, %r8
callq *(%rbx)
movl %eax, %ebp
movq %rbx, %rdi
callq 0x2040
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/Tarsnap[P]kivaloo/liball/../lib/proto_lbs/proto_lbs_client.c
// Function: proto_lbs_request_get
int
proto_lbs_request_get(struct wire_requestqueue * Q,
    uint64_t blkno, size_t blklen,
    int (* callback)(void *, int, int, const uint8_t *), void * cookie)
{
	struct get_cookie * C;
	uint8_t * buf;

	/* Sanity check. */
	assert(callback != NULL);

	/* Bake a cookie. */
	if ((C = malloc(sizeof(struct get_cookie))) == NULL)
		goto err0;
	C->callback = callback;
	C->cookie = cookie;
	C->blklen = blklen;

	/* Start writing a request. */
	if ((buf = wire_requestqueue_add_getbuf(Q, 12,
	    callback_get, C)) == NULL)
		goto err1;

	/* Construct request. */
	be32enc(&buf[0], PROTO_LBS_GET);
	be64enc(&buf[4], blkno);

	/* Finish writing request. */
	if (wire_requestqueue_add_done(Q, buf, 12))
		goto err1;

	/* Success! */
	return (0);

err1:
	free(C);
err0:
	/* Failure! */
	return (-1);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, (%rsp)
testq %rcx, %rcx
je 0xf294
movq %r8, %r13
movq %rcx, %r12
movq %rdx, %rbp
movq %rdi, %r15
pushq $0x18
popq %rdi
callq 0x22a0
pushq $-0x1
popq %rbx
testq %rax, %rax
je 0xf283
movq %rax, %r14
movq %r12, (%rax)
movq %r13, 0x8(%rax)
movq %rbp, 0x10(%rax)
leaq 0x7a(%rip), %rdx        # 0xf2b3
pushq $0xc
popq %rsi
movq %r15, %rdi
movq %rax, %rcx
callq 0xfeab
testq %rax, %rax
je 0xf277
movq %rax, %r12
movl $0x1000000, (%rax)      # imm = 0x1000000
movq %rax, %rdi
addq $0x4, %rdi
movq (%rsp), %rsi
callq 0xf3ca
pushq $0xc
popq %rdx
movq %r15, %rdi
movq %r12, %rsi
callq 0x100cd
testl %eax, %eax
je 0xf281
movq %r14, %rdi
callq 0x2040
jmp 0xf283
xorl %ebx, %ebx
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x4715(%rip), %rdi      # 0x139b0
leaq 0x471f(%rip), %rsi      # 0x139c1
leaq 0x4819(%rip), %rcx      # 0x13ac2
movl $0xdd, %edx
callq 0x21c0
// File: /workspace/github_c_makefile_star2_O2/Tarsnap[P]kivaloo/liball/../lib/proto_lbs/proto_lbs_client.c
// Function: callback_get
static int
callback_get(void * cookie, uint8_t * buf, size_t buflen)
{
	struct get_cookie * C = cookie;
	int failed = 1;
	int status = 0;
	const uint8_t * blk = NULL;
	int rc;

	/* If we have a packet, parse it. */
	if (buf != NULL) {
		/* Is the status code sane? */
		if (buflen < 4)
			BAD("GET", "bogus length");
		if (be32dec(&buf[0]) > 1)
			BAD("GET", "bogus status code");
		status = (int)be32dec(&buf[0]);

		/* Do we have the right packet length? */
		if ((status == 0) && (buflen != 4 + C->blklen))
			BAD("GET", "wrong length for status");
		if ((status == 1) && (buflen != 4))
			BAD("GET", "wrong length for status");

		/* Find the block data, if any. */
		if (status == 0)
			blk = &buf[4];

		/* We successfully parsed this response. */
		failed = 0;
	}

failed:
	/* Invoke the upstream callback. */
	rc = (C->callback)(C->cookie, failed, status, blk);

	/* Free the cookie. */
	free(C);

	/* Return status from callback. */
	return (rc);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
pushq $0x1
popq %r14
testq %rsi, %rsi
je 0xf2ea
movq %rdx, %r13
cmpq $0x3, %rdx
ja 0xf2ef
leaq 0x496c(%rip), %rdi      # 0x13c46
leaq 0x499e(%rip), %rsi      # 0x13c7f
leaq 0x4982(%rip), %rdx      # 0x13c6a
jmp 0xf314
xorl %r15d, %r15d
jmp 0xf326
movq %rsi, %r12
movq %rsi, %rdi
callq 0xf805
cmpl $0x2, %eax
jb 0xf353
leaq 0x4940(%rip), %rdi      # 0x13c46
leaq 0x4972(%rip), %rsi      # 0x13c7f
leaq 0x496f(%rip), %rdx      # 0x13c83
xorl %r15d, %r15d
xorl %eax, %eax
callq 0xe0e4
callq 0x20a0
andl $0x0, (%rax)
xorl %r12d, %r12d
movq 0x8(%rbx), %rdi
movl %r14d, %esi
movl %r15d, %edx
movq %r12, %rcx
callq *(%rbx)
movl %eax, %ebp
movq %rbx, %rdi
callq 0x2040
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl %eax, %r15d
testl %eax, %eax
je 0xf390
cmpq $0x4, %r13
je 0xf39d
leaq 0x48df(%rip), %rdi      # 0x13c46
leaq 0x4911(%rip), %rsi      # 0x13c7f
leaq 0x4920(%rip), %rdx      # 0x13c95
xorl %r12d, %r12d
xorl %eax, %eax
callq 0xe0e4
callq 0x20a0
andl $0x0, (%rax)
pushq $0x1
popq %r15
movl %r15d, %r14d
jmp 0xf329
movq 0x10(%rbx), %rax
addq $0x4, %rax
cmpq %r13, %rax
jne 0xf3b0
addq $0x4, %r12
xorl %r14d, %r14d
testl %r15d, %r15d
cmovneq %r14, %r12
jmp 0xf329
leaq 0x488f(%rip), %rdi      # 0x13c46
leaq 0x48c1(%rip), %rsi      # 0x13c7f
leaq 0x48d0(%rip), %rdx      # 0x13c95
jmp 0xf314
// File: /workspace/github_c_makefile_star2_O2/Tarsnap[P]kivaloo/liball/../lib/proto_lbs/proto_lbs_client.c
// Function: proto_lbs_request_append_blks
int
proto_lbs_request_append_blks(struct wire_requestqueue * Q,
    uint32_t nblks, uint64_t blkno, size_t blklen,
    const uint8_t * const * bufv,
    int (* callback)(void *, int, int, uint64_t), void * cookie)
{
	struct append_cookie * C;
	size_t len = 16 + nblks * blklen;
	uint8_t * buf;
	size_t i;

	/* Sanity check. */
	assert(callback != NULL);
	assert(nblks > 0);

	/* Bake a cookie. */
	if ((C = malloc(sizeof(struct append_cookie))) == NULL)
		goto err0;
	C->callback = callback;
	C->cookie = cookie;

	/* Start writing a request. */
	if ((buf = wire_requestqueue_add_getbuf(Q, len,
	    callback_append, C)) == NULL)
		goto err1;

	/* Construct request. */
	be32enc(&buf[0], PROTO_LBS_APPEND);
	be32enc(&buf[4], nblks);
	be64enc(&buf[8], blkno);
	for (i = 0; i < nblks; i++)
		memcpy(&buf[16 + i * blklen], bufv[i], blklen);

	/* Finish writing request. */
	if (wire_requestqueue_add_done(Q, buf, len))
		goto err1;

	/* Success! */
	return (0);

err1:
	free(C);
err0:
	/* Failure! */
	return (-1);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, 0x8(%rsp)
testq %r9, %r9
je 0xf4e6
movl %esi, %ebx
testl %esi, %esi
je 0xf505
movq %r9, %rbp
movq %r8, %r14
movq %rcx, %r15
movq %rdx, %r12
pushq $0x10
popq %rdi
callq 0x22a0
pushq $-0x1
popq %r13
testq %rax, %rax
je 0xf4d4
movq %r12, 0x10(%rsp)
movq 0x60(%rsp), %rcx
movl %ebx, %r12d
movq %r12, %rsi
imulq %r15, %rsi
addq $0x10, %rsi
movq %rbp, (%rax)
movq %rcx, 0x8(%rax)
leaq 0xe6(%rip), %rdx        # 0xf524
movq 0x8(%rsp), %rdi
movq %rsi, 0x18(%rsp)
movq %rax, 0x20(%rsp)
movq %rax, %rcx
callq 0xfeab
testq %rax, %rax
je 0xf4c5
movq %rax, %rbp
movl $0x2000000, (%rax)      # imm = 0x2000000
movb %bl, 0x7(%rax)
movb %bh, 0x6(%rax)
movl %ebx, %eax
shrl $0x10, %eax
movb %al, 0x5(%rbp)
shrl $0x18, %ebx
movb %bl, 0x4(%rbp)
leaq 0x8(%rbp), %rdi
movq 0x10(%rsp), %rsi
callq 0xf3ca
movq %rbp, %rbx
addq $0x10, %rbx
xorl %r13d, %r13d
cmpq %r13, %r12
je 0xf4ab
movq (%r14,%r13,8), %rsi
movq %rbx, %rdi
movq %r15, %rdx
callq 0x2280
incq %r13
addq %r15, %rbx
jmp 0xf48f
movq 0x8(%rsp), %rdi
movq %rbp, %rsi
movq 0x18(%rsp), %rdx
callq 0x100cd
testl %eax, %eax
pushq $-0x1
popq %r13
je 0xf4d1
movq 0x20(%rsp), %rdi
callq 0x2040
jmp 0xf4d4
xorl %r13d, %r13d
movl %r13d, %eax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x44c3(%rip), %rdi      # 0x139b0
leaq 0x44cd(%rip), %rsi      # 0x139c1
leaq 0x4643(%rip), %rcx      # 0x13b3e
movl $0x140, %edx            # imm = 0x140
callq 0x21c0
leaq 0x46d1(%rip), %rdi      # 0x13bdd
leaq 0x44ae(%rip), %rsi      # 0x139c1
leaq 0x4624(%rip), %rcx      # 0x13b3e
movl $0x141, %edx            # imm = 0x141
callq 0x21c0
// File: /workspace/github_c_makefile_star2_O2/Tarsnap[P]kivaloo/liball/../lib/proto_lbs/proto_lbs_client.c
// Function: callback_append
static int
callback_append(void * cookie, uint8_t * buf, size_t buflen)
{
	struct append_cookie * C = cookie;
	int failed = 1;
	int status = 0;
	uint64_t blkno = 0;
	int rc;

	/* If we have a packet, parse it. */
	if (buf != NULL) {
		/* Is the status code sane? */
		if (buflen < 4)
			BAD("APPEND", "bogus length");
		if (be32dec(&buf[0]) > 1)
			BAD("APPEND", "bogus status code");
		status = (int)be32dec(&buf[0]);

		/* Do we have the right packet length? */
		if ((status == 0) && (buflen != 12))
			BAD("APPEND", "wrong length for status");
		if ((status == 1) && (buflen != 4))
			BAD("APPEND", "wrong length for status");

		/* Parse the next block #, if any. */
		if (status == 0)
			blkno = be64dec(&buf[4]);

		/* We successfully parsed this response. */
		failed = 0;
	}

failed:
	/* Invoke the upstream callback. */
	rc = (C->callback)(C->cookie, failed, status, blkno);

	/* Free the cookie. */
	free(C);

	/* Return status from callback. */
	return (rc);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
pushq $0x1
popq %rbp
testq %rsi, %rsi
je 0xf556
movq %rdx, %r15
cmpq $0x3, %rdx
ja 0xf55b
leaq 0x4700(%rip), %rdi      # 0x13c46
leaq 0x4760(%rip), %rsi      # 0x13cad
leaq 0x4716(%rip), %rdx      # 0x13c6a
jmp 0xf5a7
xorl %r14d, %r14d
jmp 0xf5b9
movq %rsi, %r14
movq %rsi, %rdi
callq 0xf805
cmpl $0x2, %eax
jb 0xf582
leaq 0x46d4(%rip), %rdi      # 0x13c46
leaq 0x4734(%rip), %rsi      # 0x13cad
leaq 0x4703(%rip), %rdx      # 0x13c83
jmp 0xf5a7
testl %eax, %eax
setne %cl
cmpq $0xc, %r15
sete %dl
orb %cl, %dl
jne 0xf5e1
leaq 0x46ad(%rip), %rdi      # 0x13c46
leaq 0x470d(%rip), %rsi      # 0x13cad
leaq 0x46ee(%rip), %rdx      # 0x13c95
xorl %r14d, %r14d
xorl %eax, %eax
callq 0xe0e4
callq 0x20a0
andl $0x0, (%rax)
xorl %r15d, %r15d
movq 0x8(%rbx), %rdi
movl %ebp, %esi
movl %r14d, %edx
movq %r15, %rcx
callq *(%rbx)
movl %eax, %ebp
movq %rbx, %rdi
callq 0x2040
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
cmpl $0x1, %eax
setne %cl
cmpq $0x4, %r15
sete %dl
orb %cl, %dl
jne 0xf622
leaq 0x464d(%rip), %rdi      # 0x13c46
leaq 0x46ad(%rip), %rsi      # 0x13cad
leaq 0x468e(%rip), %rdx      # 0x13c95
xorl %r15d, %r15d
xorl %eax, %eax
callq 0xe0e4
callq 0x20a0
andl $0x0, (%rax)
pushq $0x1
popq %r14
movl %r14d, %ebp
jmp 0xf5bc
testl %eax, %eax
je 0xf62f
xorl %r15d, %r15d
pushq $0x1
popq %r14
jmp 0xf641
addq $0x4, %r14
movq %r14, %rdi
callq 0xf80a
movq %rax, %r15
xorl %r14d, %r14d
xorl %ebp, %ebp
jmp 0xf5bc
// File: /workspace/github_c_makefile_star2_O2/Tarsnap[P]kivaloo/liball/../lib/proto_lbs/proto_lbs_client.c
// Function: proto_lbs_request_append
int
proto_lbs_request_append(struct wire_requestqueue * Q,
    uint32_t nblks, uint64_t blkno, size_t blklen, const uint8_t * buf,
    int (* callback)(void *, int, int, uint64_t), void * cookie)
{
	const uint8_t ** bufv;
	size_t i;

	/* Allocate vector of pointers to blocks. */
	if (IMALLOC(bufv, nblks, const uint8_t *))
		goto err0;

	/* Fill in vector. */
	for (i = 0; i < nblks; i++)
		bufv[i] = &buf[i * blklen];

	/* Send the request. */
	if (proto_lbs_request_append_blks(Q, nblks, blkno, blklen, bufv,
	    callback, cookie))
		goto err1;

	/* Free the vector. */
	free(bufv);

	/* Success! */
	return (0);

err1:
	free(bufv);
err0:
	/* Failure! */
	return (-1);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %r8, %r13
movq %rcx, %r14
movl %esi, %ebp
movl %esi, %r15d
testl %esi, %esi
je 0xf695
movq %rdi, 0x10(%rsp)
leaq (,%r15,8), %rdi
movq %r9, %rbx
movq %rdx, %r12
callq 0x22a0
movq 0x10(%rsp), %rdi
movq %r12, %rdx
movq %rbx, %r9
movq %rax, %rbx
testq %rax, %rax
jne 0xf697
pushq $-0x1
popq %rax
jmp 0xf6d0
xorl %ebx, %ebx
movq 0x50(%rsp), %rax
xorl %ecx, %ecx
cmpq %rcx, %r15
je 0xf6af
movq %r13, (%rbx,%rcx,8)
incq %rcx
addq %r14, %r13
jmp 0xf69e
movq %rax, (%rsp)
movl %ebp, %esi
movq %r14, %rcx
movq %rbx, %r8
callq 0xf3d1
movl %eax, %ebp
movq %rbx, %rdi
callq 0x2040
xorl %eax, %eax
negl %ebp
sbbl %eax, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/Tarsnap[P]kivaloo/liball/../lib/proto_lbs/proto_lbs_client.c
// Function: proto_lbs_request_free
int
proto_lbs_request_free(struct wire_requestqueue * Q, uint64_t blkno,
    int (* callback)(void *, int), void * cookie)
{
	struct free_cookie * C;
	uint8_t * buf;

	/* Sanity check. */
	assert(callback != NULL);

	/* Bake a cookie. */
	if ((C = malloc(sizeof(struct free_cookie))) == NULL)
		goto err0;
	C->callback = callback;
	C->cookie = cookie;

	/* Start writing a request. */
	if ((buf = wire_requestqueue_add_getbuf(Q, 12,
	    callback_free, C)) == NULL)
		goto err1;

	/* Construct request. */
	be32enc(&buf[0], PROTO_LBS_FREE);
	be64enc(&buf[4], blkno);

	/* Finish writing request. */
	if (wire_requestqueue_add_done(Q, buf, 12))
		goto err1;

	/* Success! */
	return (0);

err1:
	free(C);
err0:
	/* Failure! */
	return (-1);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
testq %rdx, %rdx
je 0xf77a
movq %rcx, %r13
movq %rdx, %rbp
movq %rsi, %r12
movq %rdi, %r15
pushq $0x10
popq %rdi
callq 0x22a0
pushq $-0x1
popq %rbx
testq %rax, %rax
je 0xf769
movq %rax, %r14
movq %rbp, (%rax)
movq %r13, 0x8(%rax)
leaq 0x79(%rip), %rdx        # 0xf799
pushq $0xc
popq %rsi
movq %r15, %rdi
movq %rax, %rcx
callq 0xfeab
testq %rax, %rax
je 0xf75d
movq %rax, %r13
movl $0x3000000, (%rax)      # imm = 0x3000000
movq %rax, %rdi
addq $0x4, %rdi
movq %r12, %rsi
callq 0xf3ca
pushq $0xc
popq %rdx
movq %r15, %rdi
movq %r13, %rsi
callq 0x100cd
testl %eax, %eax
je 0xf767
movq %r14, %rdi
callq 0x2040
jmp 0xf769
xorl %ebx, %ebx
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x422f(%rip), %rdi      # 0x139b0
leaq 0x4239(%rip), %rsi      # 0x139c1
leaq 0x4458(%rip), %rcx      # 0x13be7
movl $0x1ca, %edx            # imm = 0x1CA
callq 0x21c0
// File: /workspace/github_c_makefile_star2_O2/Tarsnap[P]kivaloo/liball/../lib/proto_lbs/proto_lbs_client.c
// Function: callback_free
static int
callback_free(void * cookie, uint8_t * buf, size_t buflen)
{
	struct free_cookie * C = cookie;
	int failed = 1;
	int rc;

	/* If we have a packet, parse it. */
	if (buf != NULL) {
		/* Is the status code sane? */
		if (buflen < 4)
			BAD("FREE", "bogus length");
		if (be32dec(&buf[0]) > 0)
			BAD("FREE", "bogus status code");

		/* We successfully parsed this response. */
		failed = 0;
	}

failed:
	/* Invoke the upstream callback. */
	rc = (C->callback)(C->cookie, failed);

	/* Free the cookie. */
	free(C);

	/* Return status from callback. */
	return (rc);
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
pushq $0x1
popq %rbp
testq %rsi, %rsi
je 0xf7e6
cmpq $0x4, %rdx
jae 0xf7b6
leaq 0x44b6(%rip), %rdx      # 0x13c6a
jmp 0xf7c9
movq %rsi, %rdi
callq 0xf805
testl %eax, %eax
je 0xf801
leaq 0x44ba(%rip), %rdx      # 0x13c83
leaq 0x4476(%rip), %rdi      # 0x13c46
leaq 0x44dd(%rip), %rsi      # 0x13cb4
xorl %eax, %eax
callq 0xe0e4
callq 0x20a0
andl $0x0, (%rax)
movq 0x8(%rbx), %rdi
movl %ebp, %esi
callq *(%rbx)
movl %eax, %ebp
movq %rbx, %rdi
callq 0x2040
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
xorl %ebp, %ebp
jmp 0xf7e6
// File: /workspace/github_c_makefile_star2_O2/eric-lo[P]3150/4-ProcessKernel/printf_example_fast.c
// Function: main
int main(void) {
	int i = 0;
	for(i = 0; i < MAX / 5; i++) {
		printf("x\nx\nx\nx\nx\n");
	}

	return 0;
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movl $0x30d40, %ebp          # imm = 0x30D40
leaq 0xeb9(%rip), %rbx       # 0x2004
subl $0x1, %ebp
jb 0x115a
movq %rbx, %rdi
callq 0x1030
jmp 0x114b
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/alexgirao[P]aimant/chargenx.c
// Function: open_stdout0
static int open_stdout0(int flags)
{
	int fd;
	assert(*args->out_file);
	if ((fd = open(args->out_file, flags, 0644)) < 0) {
		int save_errno = errno;
		assert(fd == -1);
		DEBUG("open(args->out_file=[%s], flags=%i, 0644), errno=%i", args->out_file, flags, save_errno);
		errno = save_errno;
		perror(args->out_file);
		return -1;
	}
	if (fd != STDOUT_FILENO) {
		assert(dup2(fd, STDOUT_FILENO) == STDOUT_FILENO);
		assert(close(fd) == 0);
	}
	return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
cmpb $0x0, 0x5b36(%rip)      # 0x82e4
je 0x2856
movl %edi, %r14d
leaq 0x5b26(%rip), %rdi      # 0x82e4
xorl %ebx, %ebx
movl %r14d, %esi
movl $0x1a4, %edx            # imm = 0x1A4
xorl %eax, %eax
callq 0x1200
movl %eax, %r15d
testl %eax, %eax
js 0x280b
cmpl $0x1, %r15d
je 0x2800
pushq $0x1
popq %rsi
movl %r15d, %edi
callq 0x10f0
cmpl $0x1, %eax
jne 0x2894
movl %r15d, %edi
callq 0x1180
testl %eax, %eax
jne 0x28b3
movl %ebx, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
cmpl $-0x1, %r15d
jne 0x2875
callq 0x1060
movq %rax, %rbx
movl (%rax), %r15d
leaq 0x28b1(%rip), %rdi      # 0x50d4
leaq 0x2eaa(%rip), %rdx      # 0x56d4
leaq 0x5ab3(%rip), %r12      # 0x82e4
movl $0x1f5, %esi            # imm = 0x1F5
movq %r12, %rcx
movl %r14d, %r8d
movl %r15d, %r9d
xorl %eax, %eax
callq 0x4030
movl %r15d, (%rbx)
movq %r12, %rdi
callq 0x1210
pushq $-0x1
popq %rbx
jmp 0x2800
leaq 0x2e48(%rip), %rdi      # 0x56a5
leaq 0x2870(%rip), %rsi      # 0x50d4
leaq 0x2e4a(%rip), %rcx      # 0x56b5
movl $0x1f1, %edx            # imm = 0x1F1
callq 0x1140
leaq 0x2e4f(%rip), %rdi      # 0x56cb
leaq 0x2851(%rip), %rsi      # 0x50d4
leaq 0x2e2b(%rip), %rcx      # 0x56b5
movl $0x1f4, %edx            # imm = 0x1F4
callq 0x1140
leaq 0x2e6d(%rip), %rdi      # 0x5708
leaq 0x2832(%rip), %rsi      # 0x50d4
leaq 0x2e0c(%rip), %rcx      # 0x56b5
movl $0x1fb, %edx            # imm = 0x1FB
callq 0x1140
leaq 0x2e77(%rip), %rdi      # 0x5731
leaq 0x2813(%rip), %rsi      # 0x50d4
leaq 0x2ded(%rip), %rcx      # 0x56b5
movl $0x1fc, %edx            # imm = 0x1FC
callq 0x1140
nop
// File: /workspace/github_c_makefile_star2_O2/alexgirao[P]aimant/getopt_x.c
// Function: getopt_x_option
int getopt_x_option(struct getopt_x *state, int c, struct option *opt)
{
	assert(opt);
	if (c < 0) {
		return -1;
	} else if (c < state->n_short_options) {
		opt->name = NULL;
		opt->val = state->optstring0_alnum[c];
		opt->has_arg = FD_ISSET_HAS_ARG(opt->val, state->optset);
	} else if (c < state->n_all_options) {
		*opt = state->longopts[c - state->n_short_options];
	} else {
		return -1;
	}
	return c + 1;
}

// Assembly:
testq %rdx, %rdx
je 0x32ad
pushq $-0x1
popq %rax
testl %esi, %esi
js 0x32ac
movl %esi, %ecx
subl 0x180(%rdi), %ecx
jge 0x3285
andq $0x0, (%rdx)
movl %esi, %eax
movsbl 0x11c(%rdi,%rax), %eax
movl %eax, 0x18(%rdx)
movl %eax, %ecx
shrl $0x3, %ecx
andl $0x18, %ecx
movq 0xb0(%rdi,%rcx), %rcx
xorl %edi, %edi
btq %rax, %rcx
setb %dil
movl %edi, 0x8(%rdx)
jmp 0x32a8
cmpl %esi, 0x184(%rdi)
jle 0x32ac
movq 0x18(%rdi), %rax
movslq %ecx, %rcx
shlq $0x5, %rcx
movups (%rax,%rcx), %xmm0
movups 0x10(%rax,%rcx), %xmm1
movups %xmm1, 0x10(%rdx)
movups %xmm0, (%rdx)
incl %esi
movl %esi, %eax
retq
pushq %rbp
movq %rsp, %rbp
leaq 0x271c(%rip), %rdi      # 0x59d4
leaq 0x2638(%rip), %rsi      # 0x58f7
leaq 0x2712(%rip), %rcx      # 0x59d8
movl $0x177, %edx            # imm = 0x177
callq 0x1140
// File: /workspace/github_c_makefile_star2_O2/alexgirao[P]aimant/bsd-getopt_long.c
// Function: pure_permute_args
static void pure_permute_args(int panonopt_start, int panonopt_end, 
                              int opt_end, char * const *nargv)
{
    int cstart, cyclelen, i, j, ncycle, nnonopts, nopts, pos;
    char *swap;
    
    /*
     * compute lengths of blocks and number and size of cycles
     */
    nnonopts = panonopt_end - panonopt_start;
    nopts = opt_end - panonopt_end;
    ncycle = pure_gcd(nnonopts, nopts);
    cyclelen = (opt_end - panonopt_start) / ncycle;
    
    for (i = 0; i < ncycle; i++) {
        cstart = panonopt_end+i;
        pos = cstart;
        for (j = 0; j < cyclelen; j++) {
            if (pos >= panonopt_end)
                pos -= nnonopts;
            else
                pos += nopts;
            swap = nargv[pos];
            /* LINTED const cast */
            ((char **) nargv)[pos] = nargv[cstart];
            /* LINTED const cast */
            ((char **)nargv)[cstart] = swap;
        }
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movl %edx, %r9d
movl %esi, %r10d
subl %edi, %r10d
movl %edx, %ebx
subl %esi, %ebx
movl %r10d, %eax
cltd
idivl %ebx
movl %edx, %r11d
movl %ebx, %r8d
testl %r11d, %r11d
je 0x3cf3
movl %r8d, %eax
cltd
idivl %r11d
movl %r11d, %r8d
movl %edx, %r11d
jmp 0x3cdf
subl %edi, %r9d
movl %r9d, %eax
cltd
idivl %r8d
negl %r10d
xorl %edx, %edx
testl %eax, %eax
cmovlel %edx, %eax
movslq %esi, %rdi
testl %r8d, %r8d
cmovlel %edx, %r8d
cmpq %r8, %rdx
je 0x3d4e
leaq (%rdx,%rdi), %r9
movl %eax, %r11d
movl %r9d, %r14d
subl $0x1, %r11d
jb 0x3d49
movl %ebx, %r15d
cmpl %esi, %r14d
jl 0x3d31
movl %r10d, %r15d
addl %r15d, %r14d
movslq %r14d, %r15
movq (%rcx,%r15,8), %r12
movq (%rcx,%r9,8), %r13
movq %r13, (%rcx,%r15,8)
movq %r12, (%rcx,%r9,8)
jmp 0x3d20
incq %rdx
jmp 0x3d11
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/mirth-lang[P]mirth/bin/mirth1.c
// Function: big_alloc
BIG* big_alloc(size_t cap) {
    ASSERT(cap >= 2);
    BIG* out = calloc(1, sizeof(*out) + cap*sizeof(*out->radix) + 4);
    EXPECT(out, "Ran out of memory.");
    out->refs = 1;
    out->cap = cap;
    out->size = 0;
    return out;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
cmpq $0x1, %rdi
jbe 0x5281
movq %rdi, %rbx
leaq 0x1c(,%rdi,4), %rsi
pushq $0x1
popq %rdi
callq 0x50c0
testq %rax, %rax
je 0x528f
movl $0x1, (%rax)
movq %rbx, 0x8(%rax)
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
leaq 0xcf488(%rip), %rsi     # 0xd4710
pushq $0x2
popq %rdi
pushq $0x35
jmp 0x529b
leaq 0xcf4b0(%rip), %rsi     # 0xd4746
pushq $0x2
popq %rdi
pushq $0x13
popq %rdx
callq 0x5060
callq 0x52ae
pushq $0x1
popq %rdi
callq 0x5130
// File: /workspace/github_c_makefile_star2_O2/mirth-lang[P]mirth/bin/mirth1.c
// Function: trace_stack
static void trace_stack (void) {
    TRACE("??");
    for (long i = STACK_MAX-1; i >= (long)stack_counter; i--) {
        TRACE(" ");
        value_trace_(stack[i], 2);
    }
    TRACE("\n");
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
leaq 0xd232d(%rip), %rsi     # 0xd75f0
pushq $0x2
popq %rbx
pushq $0x2
popq %rdx
movl %ebx, %edi
callq 0x5060
movl $0x7ffff, %r12d         # imm = 0x7FFFF
leaq 0x90505b(%rip), %r13    # 0x90a338
leaq 0xd0b23(%rip), %r14     # 0xd5e07
pushq $0x1
popq %r15
cmpq 0x102e11(%rip), %r12    # 0x108100
jl 0x5316
movl %ebx, %edi
movq %r14, %rsi
movq %r15, %rdx
callq 0x5060
movq -0x8(%r13), %rdi
movq (%r13), %rsi
movl %ebx, %edx
callq 0x888a
decq %r12
addq $-0x10, %r13
jmp 0x52e8
leaq 0xd06c9(%rip), %rsi     # 0xd59e6
pushq $0x2
popq %rdi
pushq $0x1
popq %rdx
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x5060
// File: /workspace/github_c_makefile_star2_O2/mirth-lang[P]mirth/bin/mirth1.c
// Function: u64_repr
void u64_repr(uint64_t x, char* c, size_t m, char** out_ptr, size_t *out_size) {
    ASSERT(m >= 4);
    memset(c, 0, m);
    char* p = c+(m-1);
    size_t n = 0;
    do {
        *--p = '0' + (x % 10);
        x /= 10;
        n++;
    } while (x && (p > c));
    *out_ptr = p;
    *out_size = n;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r8, -0x30(%rbp)
cmpq $0x3, %rdx
jbe 0x53b2
movq %rcx, %r14
movq %rdx, %r13
movq %rsi, %r15
movq %rdi, %r12
xorl %ebx, %ebx
movq %rsi, %rdi
xorl %esi, %esi
callq 0x5080
leaq (%r15,%r13), %rcx
addq $-0x2, %rcx
pushq $0xa
popq %rsi
movq %r12, %rax
xorl %edx, %edx
divq %rsi
orb $0x30, %dl
movb %dl, (%rcx)
incq %rbx
leaq -0x1(%rcx), %rdx
cmpq $0xa, %r12
jb 0x5396
movq %rax, %r12
cmpq %r15, %rcx
movq %rdx, %rcx
ja 0x5371
incq %rdx
movq %rdx, (%r14)
movq -0x30(%rbp), %rax
movq %rbx, (%rax)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0xcf3a1(%rip), %rsi     # 0xd475a
pushq $0x2
popq %rdi
pushq $0x34
popq %rdx
callq 0x5060
callq 0x52ae
pushq $0x1
popq %rdi
callq 0x5130
// File: /workspace/github_c_makefile_star2_O2/mirth-lang[P]mirth/bin/mirth1.c
// Function: i64_repr
void i64_repr(int64_t y, char* c, size_t m, char** out_ptr, size_t *out_size) {
    ASSERT(m >= 5);
    c[0] = 0;
    char* p;
    size_t n;
    uint64_t x;
    if (y < 0) {
        if (y == INT64_MIN) {
            x = 1+(uint64_t)INT64_MAX;
        } else {
            x = (uint64_t)-y;
        }
    } else {
        x = (uint64_t)y;
    }
    u64_repr(x,c+1,m-1,&p,&n);
    if (y<0) { *--p = '-'; n++; }
    *out_ptr = p;
    *out_size = n;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
cmpq $0x4, %rdx
jbe 0x5456
movq %r8, %rbx
movq %rcx, %r14
movb $0x0, (%rsi)
testq %rdi, %rdi
js 0x5416
incq %rsi
decq %rdx
leaq -0x30(%rbp), %r15
leaq -0x28(%rbp), %r12
movq %r15, %rcx
movq %r12, %r8
callq 0x5336
movq (%r15), %rax
movq (%r12), %rcx
jmp 0x5443
negq %rdi
incq %rsi
decq %rdx
leaq -0x30(%rbp), %r15
leaq -0x28(%rbp), %r12
movq %r15, %rcx
movq %r12, %r8
callq 0x5336
movq (%r15), %rax
movb $0x2d, -0x1(%rax)
decq %rax
movq (%r12), %rcx
incq %rcx
movq %rax, (%r14)
movq %rcx, (%rbx)
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
leaq 0xcf332(%rip), %rsi     # 0xd478f
pushq $0x2
popq %rdi
pushq $0x34
popq %rdx
callq 0x5060
callq 0x52ae
pushq $0x1
popq %rdi
callq 0x5130
// File: /workspace/github_c_makefile_star2_O2/mirth-lang[P]mirth/bin/mirth1.c
// Function: main
int main (int argc, char** argv) {
	global_argc = argc;
	global_argv = argv;
	mw_mirth_main_main();
	push_resource(MKI64(0));
	return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movl %edi, 0x104eb1(%rip)    # 0x10a330
movq %rsi, 0x104eb2(%rip)    # 0x10a338
callq 0x549d
leaq 0x102c26(%rip), %rsi    # 0x1080b8
xorl %edi, %edi
callq 0x883c
xorl %eax, %eax
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/mirth-lang[P]mirth/bin/mirth1.c
// Function: value_trace_
static void value_trace_(VAL v, int fd) {
    if (VTYPE(v) && VTYPE(v)->trace_) {
        VTYPE(v)->trace_(v,fd);
    } else if (VTYPE(v)) {
        const char* name = VTYPE(v)->name;
        write(fd, "<", 1);
        write(fd, name, strlen(name));
        write(fd, ">", 1);
    } else {
        write(fd, "<NULL>", 6);
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %edx, %ebx
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq %rsi, %rax
je 0x88bc
movq 0x20(%rax), %rcx
testq %rcx, %rcx
je 0x88ca
movl %ebx, %edx
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmpq *%rcx
leaq 0xcbf03(%rip), %rsi     # 0xd47c6
pushq $0x6
popq %rdx
movl %ebx, %edi
jmp 0x8903
movq (%rax), %r14
leaq 0xcbef0(%rip), %rsi     # 0xd47c4
pushq $0x1
popq %r15
movl %ebx, %edi
movq %r15, %rdx
callq 0x5060
movq %r14, %rdi
callq 0x5070
movl %ebx, %edi
movq %r14, %rsi
movq %rax, %rdx
callq 0x5060
leaq 0xe4fca(%rip), %rsi     # 0xed8c8
movl %ebx, %edi
movq %r15, %rdx
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x5060
// File: /workspace/github_c_makefile_star2_O2/mirth-lang[P]mirth/bin/mirth1.c
// Function: mtp_std_result_Result_2_Ok
static VAL mtp_std_result_Result_2_Ok (struct std_result_Result_2 in_Result_1) {
	struct std_result_Result_2_Ok v3 = *in_Result_1.ptr.Ok;
	if (!--(in_Result_1.ptr.Ok->refs)) {
		free(in_Result_1.ptr.Ok);
	} else {
		incref(v3.m0);
	}
	return v3.m0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq 0x8(%rdi), %rbx
movq 0x10(%rdi), %r14
decl (%rdi)
je 0x89bc
testb $0x1, %r14b
je 0x89c1
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq %rbx, %rax
sete %cl
testb $0x3, %bl
setne %dl
orb %cl, %dl
jne 0x89c1
incl (%rax)
jmp 0x89c1
callq 0x5030
movq %rbx, %rax
movq %r14, %rdx
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/mirth-lang[P]mirth/bin/mirth1.c
// Function: mtp_std_result_Result_2_Err
static VAL mtp_std_result_Result_2_Err (struct std_result_Result_2 in_Result_1) {
	struct std_result_Result_2_Err v3 = *in_Result_1.ptr.Err;
	if (!--(in_Result_1.ptr.Err->refs)) {
		free(in_Result_1.ptr.Err);
	} else {
		incref(v3.m0);
	}
	return v3.m0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq 0x8(%rdi), %rbx
movq 0x10(%rdi), %r14
decl (%rdi)
je 0x8a11
testb $0x1, %r14b
je 0x8a16
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq %rbx, %rax
sete %cl
testb $0x3, %bl
setne %dl
orb %cl, %dl
jne 0x8a16
incl (%rax)
jmp 0x8a16
callq 0x5030
movq %rbx, %rax
movq %r14, %rdx
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/mirth-lang[P]mirth/bin/mirth1.c
// Function: str_make
static STR* str_make (const char* data, USIZE size) {
    ASSERT(data);
    ASSERT(size <= SIZE_MAX - sizeof(STR) - 4);
    STR* str = str_alloc(size);
    str->size = size;
    memcpy(str->data, data, (size_t)size);
    return str;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x8a68
movq %rsi, %rbx
cmpq $-0x1c, %rsi
jae 0x8a76
movq %rdi, %r14
movq %rbx, %rdi
callq 0xeccc
movq %rax, %r15
movq %rbx, 0x10(%rax)
leaq 0x18(%rax), %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x50e0
movq %r15, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
leaq 0xe63f0(%rip), %rsi     # 0xeee5f
pushq $0x2
popq %rdi
pushq $0x31
jmp 0x8a82
leaq 0xe6414(%rip), %rsi     # 0xeee91
pushq $0x2
popq %rdi
pushq $0x4f
popq %rdx
callq 0x5060
callq 0x52ae
pushq $0x1
popq %rdi
callq 0x5130
// File: /workspace/github_c_makefile_star2_O2/mirth-lang[P]mirth/bin/mirth1.c
// Function: tup_decref_outer
static void tup_decref_outer(PTUP ptup) {
    if (PTRISPTR(ptup)) {
        TUP* tup = PTRPTR(ptup);
        if (tup->refs == 1) {
            free(tup);
        } else {
            for (size_t i = 0; i < tup->size; i++) {
                incref(tup->cells[i]);
            }
            if (!--tup->refs) tup_free(MKTUP(ptup));
        }
    }
}

// Assembly:
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
movq %rdi, %rax
andq %rcx, %rax
sete %dl
testb $0x3, %dil
setne %sil
orb %dl, %sil
jne 0x8b54
cmpl $0x1, (%rax)
jne 0x8b0d
movq %rax, %rdi
jmp 0x5030
pushq %rbp
movq %rsp, %rbp
movzwl 0x6(%rax), %edx
shll $0x4, %edx
xorl %esi, %esi
cmpq %rsi, %rdx
je 0x8b4b
testb $0x1, 0x10(%rax,%rsi)
je 0x8b45
movq 0x8(%rax,%rsi), %r9
movq %r9, %r8
andq %rcx, %r8
sete %r10b
testb $0x3, %r9b
setne %r9b
orb %r10b, %r9b
jne 0x8b45
incl (%r8)
addq $0x10, %rsi
jmp 0x8b1a
decl (%rax)
popq %rbp
je 0xed2a
retq
// File: /workspace/github_c_makefile_star2_O2/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_std_prim_zaWorld_traceze
static void mw_std_prim_zaWorld_traceze (STR* in_Str_1) {
	struct std_file_zaFile* v4;
	mw_std_prim_zaWorld_stderrzefile(&v4);
	incref(MKSTR(in_Str_1));
	incref(MKSTR(in_Str_1));
	void* v5 = str_base(in_Str_1);
	uint64_t v6 = str_size(in_Str_1);
	INT v7 = u64_to_int(v6);
	struct std_file_zaFile* v8;
	struct std_result_Result_2 v9 = mw_std_prelude_unsafe_1_sp2(v4, v5, v7, &v8);
	decref(MKSTR(in_Str_1));
	decref(MK_std_result_Result_2(v9));
	struct std_maybe_Maybe_1 v10 = mw_std_file_zaFile_closezefilezx(v8);
	decref(MK_std_maybe_Maybe_1(v10));
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
movabsq $0xfffffffffffc, %r12   # imm = 0xFFFFFFFFFFFC
pushq $0x2
popq %rdi
leaq -0x30(%rbp), %r14
xorl %esi, %esi
movq %r14, %rdx
callq 0x72731
movq (%r14), %rax
movq %rax, -0x38(%rbp)
movq %rbx, %r13
andq %r12, %r13
setne %al
testb $0x3, %bl
sete %r14b
andb %al, %r14b
cmpb $0x1, %r14b
jne 0x8bf4
addl $0x2, (%r13)
movq %rbx, %rdi
callq 0xdf99
movq %rax, %r15
movq %rbx, %rdi
callq 0xdb65
movq %rax, %rdi
callq 0xdbc8
leaq -0x30(%rbp), %rcx
movq -0x38(%rbp), %rdi
movq %r15, %rsi
movq %rax, %rdx
callq 0x8adbf
movl %eax, %edi
movq %rdx, %r15
testb %r14b, %r14b
je 0x8c47
decl (%r13)
jne 0x8c47
leaq 0xff520(%rip), %rsi     # 0x108159
movq %rdi, %r14
movq %rbx, %rdi
callq 0xce94
movq %r14, %rdi
movq %r15, %rax
andq %r12, %rax
sete %cl
testb $0x3, %r15b
setne %dl
orb %cl, %dl
jne 0x8c72
decl (%rax)
jne 0x8c72
shlq $0x30, %rdi
orq %r15, %rdi
leaq 0x100fec(%rip), %rsi    # 0x109c59
callq 0xce94
movq -0x30(%rbp), %rdi
callq 0x725ff
andq %rdx, %r12
sete %cl
testb $0x3, %dl
setne %sil
orb %cl, %sil
jne 0x8c93
decl (%r12)
je 0x8ca2
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
shlq $0x30, %rax
orq %rdx, %rax
leaq 0xff611(%rip), %rsi     # 0x1082c1
movq %rax, %rdi
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0xce94
// File: /workspace/github_c_makefile_star2_O2/mirth-lang[P]mirth/bin/mirth1.c
// Function: do_panic
static void do_panic(STR* m) {
    if (m) {
        size_t n = (m->size < SIZE_MAX) ? (size_t)(m->size) : SIZE_MAX;
        write(2, m->data, n);
        TRACE("\n");
    } else {
        TRACE("panic!\n");
    }
    trace_stack();
    trace_rstack();
    exit(1);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
testq %rdi, %rdi
jne 0x8cda
leaq 0xe6314(%rip), %rsi     # 0xeefea
pushq $0x7
jmp 0x8cf6
movq %rdi, %rsi
movq 0x10(%rdi), %rdx
addq $0x18, %rsi
pushq $0x2
popq %rdi
callq 0x5060
leaq 0xcccf2(%rip), %rsi     # 0xd59e6
pushq $0x1
popq %rdx
pushq $0x2
popq %rdi
callq 0x5060
callq 0x52ae
pushq $0x1
popq %rdi
callq 0x5130
// File: /workspace/github_c_makefile_star2_O2/mirth-lang[P]mirth/bin/mirth1.c
// Function: mtw_std_maybe_Maybe_1_Some
static struct std_maybe_Maybe_1 mtw_std_maybe_Maybe_1_Some (VAL in_t_1) {
	struct std_maybe_Maybe_1_Some* v3 = calloc(1, sizeof *v3);
	ASSERT(v3);
	v3->refs = 1;
	v3->m0 = in_t_1;
	struct std_maybe_Maybe_1 v4 = { .tag=std_maybe_Maybe_1_Some, .ptr.Some=v3 };
	return v4;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
pushq $0x1
popq %rdi
pushq $0x18
popq %rsi
callq 0x50c0
testq %rax, %rax
je 0x8d42
movq %rax, %rdx
movl $0x1, (%rax)
movq %r14, 0x8(%rax)
movq %rbx, 0x10(%rax)
pushq $0x1
popq %rax
popq %rbx
popq %r14
popq %rbp
retq
leaq 0xcbdcb(%rip), %rsi     # 0xd4b14
pushq $0x2
popq %rdi
pushq $0x31
popq %rdx
callq 0x5060
callq 0x52ae
pushq $0x1
popq %rdi
callq 0x5130
// File: /workspace/github_c_makefile_star2_O2/mirth-lang[P]mirth/bin/mirth1.c
// Function: mtw_argzeparser_types_ArgpOptionType_Short
static struct argzeparser_types_ArgpOptionType mtw_argzeparser_types_ArgpOptionType_Short (enum std_byte_Byte in_Byte_1) {
	struct argzeparser_types_ArgpOptionType_Short* v3 = calloc(1, sizeof *v3);
	ASSERT(v3);
	v3->refs = 1;
	v3->mByte = in_Byte_1;
	struct argzeparser_types_ArgpOptionType v4 = { .tag=argzeparser_types_ArgpOptionType_Short, .ptr.Short=v3 };
	return v4;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movl %edi, %ebx
pushq $0x1
popq %rdi
pushq $0x8
popq %rsi
callq 0x50c0
testq %rax, %rax
je 0x8d89
movl $0x1, (%rax)
movl %ebx, 0x4(%rax)
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
leaq 0xcbdb6(%rip), %rsi     # 0xd4b46
pushq $0x2
popq %rdi
pushq $0x31
popq %rdx
callq 0x5060
callq 0x52ae
pushq $0x1
popq %rdi
callq 0x5130
// File: /workspace/github_c_makefile_star2_O2/mirth-lang[P]mirth/bin/mirth1.c
// Function: mtw_argzeparser_types_ArgpOption_ArgpOption
static struct argzeparser_types_ArgpOption* mtw_argzeparser_types_ArgpOption_ArgpOption (struct std_maybe_Maybe_1 in_Maybe_1, struct argzeparser_types_ArgpOptionType in_ArgpOptionType_2, struct std_maybe_Maybe_1 in_Maybe_3, struct std_maybe_Maybe_1 in_Maybe_4, struct std_maybe_Maybe_1 in_Maybe_5) {
	struct argzeparser_types_ArgpOption* v7 = calloc(1, sizeof *v7);
	ASSERT(v7);
	v7->refs = 1;
	v7->mgroup = in_Maybe_5;
	v7->mdoc = in_Maybe_4;
	v7->margzedoc = in_Maybe_3;
	v7->mflagzetype = in_ArgpOptionType_2;
	v7->mname = in_Maybe_1;
	return v7;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r8, %r15
movl %ecx, %r13d
movq %rdx, %r14
movl %esi, %r12d
movq %rdi, %rbx
pushq $0x1
popq %rdi
pushq $0x58
popq %rsi
callq 0x50c0
testq %rax, %rax
je 0x8e16
leaq 0x20(%rbp), %rcx
leaq 0x10(%rbp), %rdx
pushq $0x1
popq %rsi
movl %esi, (%rax)
movups (%rcx), %xmm0
movups %xmm0, 0x48(%rax)
movups (%rdx), %xmm0
movups %xmm0, 0x38(%rax)
movl %r13d, 0x28(%rax)
movq %r15, 0x30(%rax)
movl %r12d, 0x18(%rax)
movq %r14, 0x20(%rax)
movl %esi, 0x8(%rax)
movq %rbx, 0x10(%rax)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0xcbd5b(%rip), %rsi     # 0xd4b78
pushq $0x2
popq %rdi
pushq $0x31
popq %rdx
callq 0x5060
callq 0x52ae
pushq $0x1
popq %rdi
callq 0x5130
// File: /workspace/github_c_makefile_star2_O2/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_std_list_zaLister_1_pushzx
static void mw_std_list_zaLister_1_pushzx (VAL in_t_1, struct std_list_List_1 in_zaLister_2, struct std_list_List_1 *out_zaLister_3) {
	incref(MK_std_list_List_1(in_zaLister_2));
	struct std_list_List_1 v4 = mw_std_list_List_1_cons(in_t_1, in_zaLister_2);
	decref(MK_std_list_List_1(in_zaLister_2));
	*out_zaLister_3 = v4;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r8, -0x30(%rbp)
movq %rcx, %r15
movl %edx, %r14d
movabsq $0xfffffffffffc, %r13   # imm = 0xFFFFFFFFFFFC
andq %rcx, %r13
setne %al
testb $0x3, %r15b
sete %bl
andb %al, %bl
cmpb $0x1, %bl
jne 0x8e6f
incl (%r13)
movl %r14d, %edx
movq %r15, %rcx
callq 0xcf39
movq %rdx, %r12
testb %bl, %bl
je 0x8e9d
decl (%r13)
jne 0x8e9d
shlq $0x30, %r14
orq %r15, %r14
leaq 0xff3e4(%rip), %rsi     # 0x108279
movq %r14, %rdi
callq 0xce94
movq -0x30(%rbp), %rax
movl $0x1, (%rax)
movq %r12, 0x8(%rax)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_std_list_List_1_for_1_sp5
static struct std_list_List_1 mw_std_list_List_1_for_1_sp5 (struct std_list_List_1 in_List_1, struct std_list_List_1 in_List_2) {
	bool v4 = true;
	struct std_list_List_1 v5 = in_List_1;
	struct std_list_List_1 v6 = in_List_2;
	bool v7 = v4;
	bool v8 = v4;
	while (v8) {
		struct std_list_List_1 v9 = v5;
		struct std_list_List_1 v10 = v6;
		bool v11 = v7;
		struct std_list_List_1 branch_List_12;
		struct std_list_List_1 branch_List_13;
		bool branch_Bool_14;
		switch ((v10).tag) {
			case std_list_List_1_Cons: {
				struct std_list_List_1 v15;
				VAL v16 = mtp_std_list_List_1_Cons(v10, &v15);
				struct std_list_List_1 v17 = mw_std_list_List_1_cons(v16, v9);
				bool v18 = true;
				branch_Bool_14 = v18;
				branch_List_13 = v15;
				branch_List_12 = v17;
			} break;
			case std_list_List_1_Nil: {
				struct std_list_List_1 v19 = { .tag=std_list_List_1_Nil };
				bool v20 = false;
				branch_Bool_14 = v20;
				branch_List_13 = v19;
				branch_List_12 = v9;
			} break;
			default: {
				do_panic(str_make("unexpected fallthrough in match\n", 32));
			}
		}
		v8 = branch_Bool_14;
		v7 = branch_Bool_14;
		v6 = branch_List_13;
		v5 = branch_List_12;
	}
	decref(MK_std_list_List_1(v6));
	return v5;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rsi, %rbx
movl %edi, %r14d
leaq -0x30(%rbp), %r15
pushq $0x1
popq %r12
movb $0x1, %al
movq %rcx, %rdi
testb $0x1, %al
je 0xcda0
xorl %eax, %eax
movl $0x0, %ecx
testl %edx, %edx
je 0xcd61
cmpl $0x1, %edx
jne 0xcdea
movq %r15, %rsi
callq 0xce01
movq %rax, %rdi
movq %rdx, %rsi
movl %r14d, %edx
movq %rbx, %rcx
callq 0xcf39
movq %rdx, %rbx
movl -0x30(%rbp), %edx
movq -0x28(%rbp), %rcx
movl %r12d, %r14d
jmp 0xcd5f
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq %rdi, %rax
sete %cl
testb $0x3, %dil
setne %sil
orb %cl, %sil
jne 0xcdd7
decl (%rax)
jne 0xcdd7
shlq $0x30, %rdx
orq %rdi, %rdx
leaq 0xfb4aa(%rip), %rsi     # 0x108279
movq %rdx, %rdi
callq 0xce94
movl %r14d, %eax
movq %rbx, %rdx
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
leaq 0xc7a1c(%rip), %rdi     # 0xd480d
pushq $0x20
popq %rsi
callq 0x8a21
movq %rax, %rdi
callq 0x8cc6
// File: /workspace/github_c_makefile_star2_O2/mirth-lang[P]mirth/bin/mirth1.c
// Function: mtp_std_list_List_1_Cons
static VAL mtp_std_list_List_1_Cons (struct std_list_List_1 in_List_1, struct std_list_List_1 *out_List_3) {
	struct std_list_List_1_Cons v4 = *in_List_1.ptr.Cons;
	if (!--(in_List_1.ptr.Cons->refs)) {
		free(in_List_1.ptr.Cons);
	} else {
		incref(v4.m0);
		incref(MK_std_list_List_1(v4.mList));
	}
	*out_List_3 = v4.mList;
	return v4.m0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq 0x8(%rdi), %r14
movq 0x10(%rdi), %r15
movl 0x18(%rdi), %r8d
movl 0x1c(%rdi), %r13d
movq 0x20(%rdi), %r12
decl (%rdi)
je 0xce67
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
testb $0x1, %r15b
je 0xce52
movq %r14, %rcx
andq %rax, %rcx
sete %dl
testb $0x3, %r14b
setne %sil
orb %dl, %sil
jne 0xce52
incl (%rcx)
andq %r12, %rax
sete %cl
testb $0x3, %r12b
setne %dl
orb %cl, %dl
jne 0xce74
incl (%rax)
jmp 0xce74
movl %r8d, -0x2c(%rbp)
callq 0x5030
movl -0x2c(%rbp), %r8d
movl %r8d, (%rbx)
movl %r13d, 0x4(%rbx)
movq %r12, 0x8(%rbx)
movq %r14, %rax
movq %r15, %rdx
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/mirth-lang[P]mirth/bin/mirth1.c
// Function: free_value
static void free_value(VAL v) {
    ASSERT(VTYPE(v));
    ASSERT1(VTYPE(v)->free,v);
    ASSERT1(HAS_REFS(v),v);
    ASSERT1(VREFS(v) == 0,v);
    VTYPE(v)->free(v);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
movq %rsi, %rax
andq %rcx, %rax
je 0xceed
movq %rsi, %rbx
movq %rdi, %r14
movq 0x18(%rax), %rax
testq %rax, %rax
je 0xcf01
testb $0x1, %bl
je 0xcedf
andq %r14, %rcx
je 0xcedf
movl %r14d, %edx
andl $0x3, %edx
jne 0xcedf
cmpl $0x0, (%rcx)
jne 0xcf0f
movq %r14, %rdi
movq %rbx, %rsi
popq %rbx
popq %r14
popq %rbp
jmpq *%rax
leaq 0xc7b7b(%rip), %rsi     # 0xd4a61
pushq $0x2
popq %rdi
pushq $0x38
jmp 0xcf1b
leaq 0xc7afb(%rip), %rsi     # 0xd49ef
pushq $0x2
popq %rdi
pushq $0x35
popq %rdx
callq 0x5060
jmp 0xcf2c
leaq 0xc7b1d(%rip), %rsi     # 0xd4a25
pushq $0x2
popq %rdi
pushq $0x3b
jmp 0xcf1b
leaq 0xc7b84(%rip), %rsi     # 0xd4a9a
pushq $0x2
popq %rdi
pushq $0x3a
popq %rdx
callq 0x5060
movq %r14, %rdi
movq %rbx, %rsi
callq 0xd08e
callq 0x52ae
pushq $0x1
popq %rdi
callq 0x5130
// File: /workspace/github_c_makefile_star2_O2/mirth-lang[P]mirth/bin/mirth1.c
// Function: mtw_std_list_List_1_Cons
static struct std_list_List_1 mtw_std_list_List_1_Cons (VAL in_t_1, struct std_list_List_1 in_List_2) {
	struct std_list_List_1_Cons* v4 = calloc(1, sizeof *v4);
	ASSERT(v4);
	v4->refs = 1;
	v4->mList = in_List_2;
	v4->m0 = in_t_1;
	struct std_list_List_1 v5 = { .tag=std_list_List_1_Cons, .ptr.Cons=v4 };
	return v5;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rcx, %r14
movl %edx, %r12d
movq %rsi, %rbx
movq %rdi, %r15
pushq $0x1
popq %rdi
pushq $0x28
popq %rsi
callq 0x50c0
testq %rax, %rax
je 0xcf85
movq %rax, %rdx
movl $0x1, (%rax)
movl %r12d, 0x18(%rax)
movq %r14, 0x20(%rax)
movq %r15, 0x8(%rax)
movq %rbx, 0x10(%rax)
pushq $0x1
popq %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
leaq 0xc7a25(%rip), %rsi     # 0xd49b1
pushq $0x2
popq %rdi
pushq $0x31
popq %rdx
callq 0x5060
callq 0x52ae
pushq $0x1
popq %rdi
callq 0x5130
// File: /workspace/github_c_makefile_star2_O2/mirth-lang[P]mirth/bin/mirth1.c
// Function: std_list_List_1_free
void std_list_List_1_free (VAL v) {
	struct std_list_List_1 self = V_std_list_List_1(v);
	switch (self.tag) {
		case std_list_List_1_Nil: break;
		case std_list_List_1_Cons: {
			decref(self.ptr.Cons->m0);
			decref(MK_std_list_List_1(self.ptr.Cons->mList));
			free(self.ptr.Cons);
		} break;
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movabsq $0xfffffffffffc, %r14   # imm = 0xFFFFFFFFFFFC
movabsq $-0x1000000000000, %rax # imm = 0xFFFF000000000000
andq %rdi, %rax
leaq 0x4(%r14), %rcx
cmpq %rcx, %rax
jne 0xd03a
movq %rdi, %rbx
andq %r14, %rbx
testb $0x1, 0x10(%rbx)
je 0xcfff
movq 0x8(%rbx), %rcx
movq %rcx, %rax
andq %r14, %rax
sete %dl
testb $0x3, %cl
setne %cl
orb %dl, %cl
jne 0xcfff
decl (%rax)
jne 0xcfff
movq 0x8(%rbx), %rdi
movq 0x10(%rbx), %rsi
callq 0xce94
movq 0x20(%rbx), %rax
andq %rax, %r14
sete %cl
testb $0x3, %al
setne %al
orb %cl, %al
jne 0xd02e
decl (%r14)
jne 0xd02e
leaq 0xfb25b(%rip), %rsi     # 0x108279
movl 0x18(%rbx), %edi
shlq $0x30, %rdi
orq 0x20(%rbx), %rdi
callq 0xce94
movq %rbx, %rdi
popq %rbx
popq %r14
popq %rbp
jmp 0x5030
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/mirth-lang[P]mirth/bin/mirth1.c
// Function: argzeparser_types_ArgpOption_free
static void argzeparser_types_ArgpOption_free (VAL vself) {
	ASSERT(vself.tag == TAG_argzeparser_types_ArgpOption);
	struct argzeparser_types_ArgpOption* self = vself.data.ptr;
	decref(MK_std_maybe_Maybe_1(self->mname));
	decref(MK_argzeparser_types_ArgpOptionType(self->mflagzetype));
	decref(MK_std_maybe_Maybe_1(self->margzedoc));
	decref(MK_std_maybe_Maybe_1(self->mdoc));
	decref(MK_std_maybe_Maybe_1(self->mgroup));
	free(self);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
leaq 0xfb0b4(%rip), %rax     # 0x1081a1
cmpq %rsi, %rax
jne 0xd203
movq %rdi, %rbx
movabsq $0xfffffffffffc, %r15   # imm = 0xFFFFFFFFFFFC
movq 0x10(%rdi), %rcx
leaq 0xfb1b3(%rip), %r14     # 0x1082c1
movq %rcx, %rax
andq %r15, %rax
sete %dl
testb $0x3, %cl
setne %cl
orb %dl, %cl
jne 0xd138
decl (%rax)
jne 0xd138
movl 0x8(%rbx), %edi
shlq $0x30, %rdi
orq 0x10(%rbx), %rdi
movq %r14, %rsi
callq 0xce94
movq 0x20(%rbx), %rcx
movq %rcx, %rax
andq %r15, %rax
sete %dl
testb $0x3, %cl
setne %cl
orb %dl, %cl
jne 0xd16a
decl (%rax)
jne 0xd16a
leaq 0xfb1af(%rip), %rsi     # 0x108309
movl 0x18(%rbx), %edi
shlq $0x30, %rdi
orq 0x20(%rbx), %rdi
callq 0xce94
movq 0x30(%rbx), %rcx
movq %rcx, %rax
andq %r15, %rax
sete %dl
testb $0x3, %cl
setne %cl
orb %dl, %cl
jne 0xd198
decl (%rax)
jne 0xd198
movl 0x28(%rbx), %edi
shlq $0x30, %rdi
orq 0x30(%rbx), %rdi
movq %r14, %rsi
callq 0xce94
movq 0x40(%rbx), %rcx
movq %rcx, %rax
andq %r15, %rax
sete %dl
testb $0x3, %cl
setne %cl
orb %dl, %cl
jne 0xd1c6
decl (%rax)
jne 0xd1c6
movl 0x38(%rbx), %edi
shlq $0x30, %rdi
orq 0x40(%rbx), %rdi
movq %r14, %rsi
callq 0xce94
movq 0x50(%rbx), %rax
andq %rax, %r15
sete %cl
testb $0x3, %al
setne %al
orb %cl, %al
jne 0xd1f1
decl (%r15)
jne 0xd1f1
movl 0x48(%rbx), %edi
shlq $0x30, %rdi
orq 0x50(%rbx), %rdi
movq %r14, %rsi
callq 0xce94
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x5030
leaq 0xc79ab(%rip), %rsi     # 0xd4bb5
pushq $0x2
popq %rdi
pushq $0x5b
popq %rdx
callq 0x5060
callq 0x52ae
pushq $0x1
popq %rdi
callq 0x5130