LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O1/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 %rbx
pushq %rax
movq %rdi, %rbx
movl $0x1, %ebp
movq $-0x1, %r14
testq %rsi, %rsi
je 0x111ee
cmpq $0x14, %rdx
jne 0x111f3
movl (%rsi), %r15d
bswapl %r15d
movq 0x4(%rsi), %rcx
bswapq %rcx
movq 0xc(%rsi), %r14
bswapq %r14
xorl %ebp, %ebp
jmp 0x1121f
xorl %r15d, %r15d
jmp 0x1121d
leaq 0x5a89(%rip), %rdi      # 0x16c83
leaq 0x5ab3(%rip), %rsi      # 0x16cb4
leaq 0x5a9f(%rip), %rdx      # 0x16ca7
xorl %r15d, %r15d
xorl %eax, %eax
callq 0x10167
callq 0x20a0
movl $0x0, (%rax)
xorl %ecx, %ecx
movq 0x8(%rbx), %rdi
movl %ebp, %esi
movq %r15, %rdx
movq %r14, %r8
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
// File: /workspace/github_c_makefile_star2_O1/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
testq %rcx, %rcx
je 0x1131e
movq %r8, %r12
movq %rcx, %rbp
movq %rdx, %r13
movq %rsi, %rbx
movq %rdi, %r15
movl $0x18, %edi
callq 0x22a0
movq %rax, %r14
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
testq %r14, %r14
je 0x1130f
movq %rbp, (%r14)
movq %r12, 0x8(%r14)
movq %r13, 0x10(%r14)
leaq 0xa9(%rip), %rdx        # 0x1133d
movl $0xc, %esi
movq %r15, %rdi
movq %r14, %rcx
callq 0x121b1
testq %rax, %rax
je 0x112fe
movl $0x1000000, (%rax)      # imm = 0x1000000
movb %bl, 0xb(%rax)
movb %bh, 0xa(%rax)
movl %ebx, %ecx
shrl $0x10, %ecx
movb %cl, 0x9(%rax)
movl %ebx, %ecx
shrl $0x18, %ecx
movb %cl, 0x8(%rax)
movq %rbx, %rcx
shrq $0x20, %rcx
movb %cl, 0x7(%rax)
movq %rbx, %rcx
shrq $0x28, %rcx
movb %cl, 0x6(%rax)
movq %rbx, %rcx
shrq $0x30, %rcx
movb %cl, 0x5(%rax)
shrq $0x38, %rbx
movb %bl, 0x4(%rax)
movl $0xc, %edx
movq %r15, %rdi
movq %rax, %rsi
callq 0x1248d
testl %eax, %eax
je 0x1130d
movq %r14, %rdi
callq 0x2040
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
jmp 0x1130f
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x56c8(%rip), %rdi      # 0x169ed
leaq 0x56d2(%rip), %rsi      # 0x169fe
leaq 0x57cc(%rip), %rcx      # 0x16aff
movl $0xdd, %edx
callq 0x21c0
// File: /workspace/github_c_makefile_star2_O1/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 %r12
pushq %rbx
movq %rdi, %rbx
movl $0x1, %r14d
testq %rsi, %rsi
je 0x11370
cmpq $0x3, %rdx
ja 0x11375
leaq 0x5923(%rip), %rdi      # 0x16c83
leaq 0x5955(%rip), %rsi      # 0x16cbc
leaq 0x5939(%rip), %rdx      # 0x16ca7
jmp 0x11399
xorl %r15d, %r15d
jmp 0x113ae
movq %rsi, %r12
movl (%rsi), %r15d
bswapl %r15d
cmpl $0x2, %r15d
jb 0x113d5
leaq 0x58f8(%rip), %rdi      # 0x16c83
leaq 0x592a(%rip), %rsi      # 0x16cbc
leaq 0x5927(%rip), %rdx      # 0x16cc0
xorl %r15d, %r15d
xorl %eax, %eax
callq 0x10167
callq 0x20a0
movl $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
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
testl %r15d, %r15d
jne 0x113e7
movq 0x10(%rbx), %rax
addq $0x4, %rax
cmpq %rdx, %rax
jne 0x1143e
cmpq $0x4, %rdx
je 0x1142b
cmpl $0x1, %r15d
jne 0x1142b
leaq 0x5889(%rip), %rdi      # 0x16c83
leaq 0x58bb(%rip), %rsi      # 0x16cbc
leaq 0x58ca(%rip), %rdx      # 0x16cd2
xorl %r12d, %r12d
xorl %eax, %eax
callq 0x10167
callq 0x20a0
movl $0x0, (%rax)
movl $0x1, %r15d
movl $0x1, %r14d
jmp 0x113b1
addq $0x4, %r12
xorl %r14d, %r14d
testl %r15d, %r15d
cmovneq %r14, %r12
jmp 0x113b1
leaq 0x583e(%rip), %rdi      # 0x16c83
leaq 0x5870(%rip), %rsi      # 0x16cbc
leaq 0x587f(%rip), %rdx      # 0x16cd2
jmp 0x11399
// File: /workspace/github_c_makefile_star2_O1/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 %r12
pushq %rbx
movq %rdi, %rbx
movl $0x1, %r14d
testq %rsi, %rsi
je 0x11615
cmpq $0x3, %rdx
ja 0x1161a
leaq 0x567e(%rip), %rdi      # 0x16c83
leaq 0x56de(%rip), %rsi      # 0x16cea
leaq 0x5694(%rip), %rdx      # 0x16ca7
jmp 0x1165d
xorl %r15d, %r15d
jmp 0x11672
movl (%rsi), %r15d
bswapl %r15d
cmpl $0x2, %r15d
jb 0x1163d
leaq 0x5656(%rip), %rdi      # 0x16c83
leaq 0x56b6(%rip), %rsi      # 0x16cea
leaq 0x5685(%rip), %rdx      # 0x16cc0
jmp 0x1165d
cmpq $0xc, %rdx
je 0x11699
testl %r15d, %r15d
jne 0x11699
leaq 0x5634(%rip), %rdi      # 0x16c83
leaq 0x5694(%rip), %rsi      # 0x16cea
leaq 0x5675(%rip), %rdx      # 0x16cd2
xorl %r15d, %r15d
xorl %eax, %eax
callq 0x10167
callq 0x20a0
movl $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
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
cmpq $0x4, %rdx
je 0x116dd
cmpl $0x1, %r15d
jne 0x116dd
leaq 0x55d7(%rip), %rdi      # 0x16c83
leaq 0x5637(%rip), %rsi      # 0x16cea
leaq 0x5618(%rip), %rdx      # 0x16cd2
xorl %r12d, %r12d
xorl %eax, %eax
callq 0x10167
callq 0x20a0
movl $0x0, (%rax)
movl $0x1, %r15d
movl $0x1, %r14d
jmp 0x11675
xorl %r14d, %r14d
testl %r15d, %r15d
jne 0x11672
addq $0x4, %rsi
movq %rsi, %rdi
callq 0x118fe
movq %rax, %r12
jmp 0x11675
// File: /workspace/github_c_makefile_star2_O1/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 %r9, 0x10(%rsp)
movq %r8, %r13
movq %rcx, %r14
movq %rdx, 0x8(%rsp)
movl %esi, %ebp
movq %rdi, %r12
movl %esi, %r15d
testl %esi, %esi
je 0x11735
leaq (,%r15,8), %rdi
callq 0x22a0
movq %rax, %rbx
jmp 0x11737
xorl %ebx, %ebx
testq %rbx, %rbx
sete %cl
testl %ebp, %ebp
setne %dl
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
testb %cl, %dl
jne 0x11793
movq 0x50(%rsp), %rax
testl %ebp, %ebp
je 0x11765
xorl %ecx, %ecx
movq %r13, (%rbx,%rcx,8)
incq %rcx
addq %r14, %r13
cmpq %rcx, %r15
jne 0x11756
movq %rax, (%rsp)
movq %r12, %rdi
movl %ebp, %esi
movq 0x8(%rsp), %rdx
movq %r14, %rcx
movq %rbx, %r8
movq 0x10(%rsp), %r9
callq 0x11458
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_O1/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 0x11872
movq %rcx, %r12
movq %rdx, %r13
movq %rsi, %rbx
movq %rdi, %r15
movl $0x10, %edi
callq 0x22a0
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
testq %rax, %rax
je 0x11861
movq %rax, %r14
movq %r13, (%rax)
movq %r12, 0x8(%rax)
leaq 0xa6(%rip), %rdx        # 0x11891
movl $0xc, %esi
movq %r15, %rdi
movq %rax, %rcx
callq 0x121b1
testq %rax, %rax
je 0x11855
movl $0x3000000, (%rax)      # imm = 0x3000000
movb %bl, 0xb(%rax)
movb %bh, 0xa(%rax)
movl %ebx, %ecx
shrl $0x10, %ecx
movb %cl, 0x9(%rax)
movl %ebx, %ecx
shrl $0x18, %ecx
movb %cl, 0x8(%rax)
movq %rbx, %rcx
shrq $0x20, %rcx
movb %cl, 0x7(%rax)
movq %rbx, %rcx
shrq $0x28, %rcx
movb %cl, 0x6(%rax)
movq %rbx, %rcx
shrq $0x30, %rcx
movb %cl, 0x5(%rax)
shrq $0x38, %rbx
movb %bl, 0x4(%rax)
movl $0xc, %edx
movq %r15, %rdi
movq %rax, %rsi
callq 0x1248d
testl %eax, %eax
je 0x1185f
movq %r14, %rdi
callq 0x2040
jmp 0x11861
xorl %ebp, %ebp
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x5174(%rip), %rdi      # 0x169ed
leaq 0x517e(%rip), %rsi      # 0x169fe
leaq 0x539d(%rip), %rcx      # 0x16c24
movl $0x1ca, %edx            # imm = 0x1CA
callq 0x21c0
// File: /workspace/github_c_makefile_star2_O1/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
movl $0x1, %ebp
testq %rsi, %rsi
je 0x118df
cmpq $0x4, %rdx
jae 0x118b0
leaq 0x53f9(%rip), %rdx      # 0x16ca7
jmp 0x118bf
movl (%rsi), %eax
bswapl %eax
testl %eax, %eax
je 0x118fa
leaq 0x5401(%rip), %rdx      # 0x16cc0
leaq 0x53bd(%rip), %rdi      # 0x16c83
leaq 0x5424(%rip), %rsi      # 0x16cf1
xorl %eax, %eax
callq 0x10167
callq 0x20a0
movl $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 0x118df
// File: /workspace/github_c_makefile_star2_O1/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
movq %rbx, %rdi
callq 0x1030
decl %ebp
jne 0x114b
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/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 %rbx
pushq %rax
cmpb $0x0, 0x596f(%rip)      # 0x92f4
je 0x39ef
movl %edi, %r14d
leaq 0x5963(%rip), %rdi      # 0x92f4
xorl %ebx, %ebx
movl %r14d, %esi
movl $0x1a4, %edx            # imm = 0x1A4
xorl %eax, %eax
callq 0x2210
movl %eax, %r15d
testl %eax, %eax
js 0x39da
cmpl $0x1, %r15d
je 0x39cd
movl %r15d, %edi
movl $0x1, %esi
callq 0x20f0
cmpl $0x1, %eax
jne 0x3a2d
movl %r15d, %edi
callq 0x2180
testl %eax, %eax
jne 0x3a4c
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
cmpl $-0x1, %r15d
jne 0x3a0e
movl %r14d, %edi
callq 0x23fc
movl $0xffffffff, %ebx       # imm = 0xFFFFFFFF
jmp 0x39cd
leaq 0x2caf(%rip), %rdi      # 0x66a5
leaq 0x26d7(%rip), %rsi      # 0x60d4
leaq 0x2cb1(%rip), %rcx      # 0x66b5
movl $0x1f1, %edx            # imm = 0x1F1
callq 0x2140
leaq 0x2cb6(%rip), %rdi      # 0x66cb
leaq 0x26b8(%rip), %rsi      # 0x60d4
leaq 0x2c92(%rip), %rcx      # 0x66b5
movl $0x1f4, %edx            # imm = 0x1F4
callq 0x2140
leaq 0x2cd4(%rip), %rdi      # 0x6708
leaq 0x2699(%rip), %rsi      # 0x60d4
leaq 0x2c73(%rip), %rcx      # 0x66b5
movl $0x1fb, %edx            # imm = 0x1FB
callq 0x2140
leaq 0x2cde(%rip), %rdi      # 0x6731
leaq 0x267a(%rip), %rsi      # 0x60d4
leaq 0x2c54(%rip), %rcx      # 0x66b5
movl $0x1fc, %edx            # imm = 0x1FC
callq 0x2140
nop
// File: /workspace/github_c_makefile_star2_O1/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 0x4501
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
testl %esi, %esi
js 0x4500
movl %esi, %ecx
subl 0x180(%rdi), %ecx
jge 0x44d9
movq $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 0x44fc
cmpl %esi, 0x184(%rdi)
jle 0x4500
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 0x24cb(%rip), %rdi      # 0x69d7
leaq 0x23e7(%rip), %rsi      # 0x68fa
leaq 0x24c1(%rip), %rcx      # 0x69db
movl $0x177, %edx            # imm = 0x177
callq 0x2140
// File: /workspace/github_c_makefile_star2_O1/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:
movl %edx, %r8d
movl %esi, %r9d
subl %edi, %r9d
movl %edx, %r10d
subl %esi, %r10d
movl %r9d, %eax
cltd
idivl %r10d
movl %r10d, %r11d
testl %edx, %edx
je 0x4ee1
movl %r10d, %eax
movl %edx, %r11d
cltd
idivl %r11d
movl %r11d, %eax
testl %edx, %edx
jne 0x4ed3
subl %edi, %r8d
movl %r8d, %eax
cltd
idivl %r11d
testl %r11d, %r11d
jle 0x4f4d
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
negl %r9d
movslq %esi, %rdx
movl %r11d, %edi
xorl %r8d, %r8d
testl %eax, %eax
jle 0x4f3b
leaq (%r8,%rdx), %r11
movl %eax, %ebx
movl %r11d, %r14d
movl %r10d, %r15d
cmpl %esi, %r14d
jl 0x4f21
movl %r9d, %r15d
addl %r15d, %r14d
movslq %r14d, %r15
movq (%rcx,%r15,8), %r12
movq (%rcx,%r11,8), %r13
movq %r13, (%rcx,%r15,8)
movq %r12, (%rcx,%r11,8)
decl %ebx
jne 0x4f16
incq %r8
cmpq %rdi, %r8
jne 0x4f09
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/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 0x528b
movq %rdi, %rbx
leaq 0x1c(,%rdi,4), %rsi
movl $0x1, %edi
callq 0x50c0
testq %rax, %rax
je 0x5299
movl $0x1, (%rax)
movq %rbx, 0x8(%rax)
movq $0x0, 0x10(%rax)
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
leaq 0xdf3be(%rip), %rsi     # 0xe4650
movl $0x35, %edx
jmp 0x52a5
leaq 0xdf3e6(%rip), %rsi     # 0xe4686
movl $0x13, %edx
movl $0x2, %edi
callq 0x5060
callq 0x52be
movl $0x1, %edi
callq 0x5130
// File: /workspace/github_c_makefile_star2_O1/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 %rbx
pushq %rax
leaq 0xe22bc(%rip), %rsi     # 0xe758b
movl $0x2, %edx
movl $0x2, %edi
callq 0x5060
cmpq $0x7ffff, 0x10fe17(%rip) # imm = 0x7FFFF
jg 0x5332
movl $0x80000, %r14d         # imm = 0x80000
leaq 0x912040(%rip), %r15    # 0x917338
leaq 0xf9103(%rip), %rbx     # 0xfe402
movl $0x1, %edx
movl $0x2, %edi
movq %rbx, %rsi
callq 0x5060
movq -0x8(%r15), %rdi
movq (%r15), %rsi
movl $0x2, %edx
callq 0x916a
decq %r14
addq $-0x10, %r15
cmpq 0x10fdd0(%rip), %r14    # 0x115100
jg 0x52ff
leaq 0xf993f(%rip), %rsi     # 0xfec78
movl $0x1, %edx
movl $0x2, %edi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x5060
// File: /workspace/github_c_makefile_star2_O1/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 0x53e5
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), %rsi
addq $-0x2, %rsi
movabsq $-0x3333333333333333, %rdi # imm = 0xCCCCCCCCCCCCCCCD
movq %r12, %rcx
movq %r12, %rax
mulq %rdi
movq %rdx, %r12
shrq $0x3, %r12
leal (%r12,%r12), %eax
leal (%rax,%rax,4), %eax
movl %ecx, %edx
subl %eax, %edx
orb $0x30, %dl
movb %dl, (%rsi)
incq %rbx
leaq -0x1(%rsi), %rax
cmpq $0xa, %rcx
jb 0x53c9
cmpq %r15, %rsi
movq %rax, %rsi
ja 0x5394
incq %rax
movq %rax, (%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 0xdf2ae(%rip), %rsi     # 0xe469a
movl $0x34, %edx
movl $0x2, %edi
callq 0x5060
callq 0x52be
movl $0x1, %edi
callq 0x5130
// File: /workspace/github_c_makefile_star2_O1/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 0x548b
movq %r8, %rbx
movq %rcx, %r14
movb $0x0, (%rsi)
testq %rdi, %rdi
js 0x5442
incq %rsi
decq %rdx
leaq -0x30(%rbp), %rcx
leaq -0x28(%rbp), %r8
callq 0x5352
jmp 0x5470
negq %rdi
incq %rsi
decq %rdx
leaq -0x30(%rbp), %r15
leaq -0x28(%rbp), %r12
movq %r15, %rcx
movq %r12, %r8
callq 0x5352
movq (%r15), %rax
leaq -0x1(%rax), %rcx
movq %rcx, (%r15)
movb $0x2d, -0x1(%rax)
incq (%r12)
movq -0x30(%rbp), %rax
movq %rax, (%r14)
movq -0x28(%rbp), %rax
movq %rax, (%rbx)
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
leaq 0xdf23d(%rip), %rsi     # 0xe46cf
movl $0x34, %edx
movl $0x2, %edi
callq 0x5060
callq 0x52be
movl $0x1, %edi
callq 0x5130
// File: /workspace/github_c_makefile_star2_O1/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, 0x111e76(%rip)    # 0x117330
movq %rsi, 0x111e77(%rip)    # 0x117338
callq 0x54d8
leaq 0x10fbeb(%rip), %rsi    # 0x1150b8
xorl %edi, %edi
callq 0x9116
xorl %eax, %eax
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/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 %r14
pushq %rbx
movl %edx, %ebx
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq %rsi, %rax
je 0x9193
movq 0x20(%rax), %rcx
testq %rcx, %rcx
je 0x91a1
movl %ebx, %edx
popq %rbx
popq %r14
popq %rbp
jmpq *%rcx
leaq 0xdb56c(%rip), %rsi     # 0xe4706
movl $0x6, %edx
jmp 0x91d8
movq (%rax), %r14
leaq 0xdb559(%rip), %rsi     # 0xe4704
movl $0x1, %edx
movl %ebx, %edi
callq 0x5060
movq %r14, %rdi
callq 0x5070
movl %ebx, %edi
movq %r14, %rsi
movq %rax, %rdx
callq 0x5060
leaq 0xf4554(%rip), %rsi     # 0xfd727
movl $0x1, %edx
movl %ebx, %edi
popq %rbx
popq %r14
popq %rbp
jmp 0x5060
// File: /workspace/github_c_makefile_star2_O1/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 0x9292
testb $0x1, %r14b
je 0x9297
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq %rbx, %rax
sete %cl
testb $0x3, %bl
setne %dl
orb %cl, %dl
jne 0x9297
incl (%rax)
jmp 0x9297
callq 0x5030
movq %rbx, %rax
movq %r14, %rdx
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/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 0x92d9
testb $0x1, %r14b
je 0x92de
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq %rbx, %rax
sete %cl
testb $0x3, %bl
setne %dl
orb %cl, %dl
jne 0x92de
incl (%rax)
jmp 0x92de
callq 0x5030
movq %rbx, %rax
movq %r14, %rdx
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/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 0x9330
movq %rsi, %rbx
cmpq $-0x1c, %rsi
jae 0x933e
movq %rdi, %r14
movq %rbx, %rdi
callq 0xf9f7
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 0xf57b0(%rip), %rsi     # 0xfeae7
movl $0x31, %edx
jmp 0x934a
leaq 0xf57d4(%rip), %rsi     # 0xfeb19
movl $0x4f, %edx
movl $0x2, %edi
callq 0x5060
callq 0x52be
movl $0x1, %edi
callq 0x5130
// File: /workspace/github_c_makefile_star2_O1/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 0x942b
cmpl $0x1, (%rax)
jne 0x93e1
movq %rax, %rdi
jmp 0x5030
pushq %rbp
movq %rsp, %rbp
movzwl 0x6(%rax), %edx
testq %rdx, %rdx
je 0x9422
shll $0x4, %edx
xorl %esi, %esi
testb $0x1, 0x10(%rax,%rsi)
je 0x9419
movq 0x8(%rax,%rsi), %r9
movq %r9, %r8
andq %rcx, %r8
sete %r10b
testb $0x3, %r9b
setne %r9b
orb %r10b, %r9b
jne 0x9419
incl (%r8)
addq $0x10, %rsi
cmpq %rsi, %rdx
jne 0x93f3
decl (%rax)
popq %rbp
je 0xfa5d
retq
// File: /workspace/github_c_makefile_star2_O1/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
leaq -0x30(%rbp), %r14
movl $0x2, %edi
xorl %esi, %esi
movq %r14, %rdx
callq 0x7b041
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 0x94d3
addl $0x2, (%r13)
movq %rbx, %rdi
callq 0xebc3
movq %rax, %r15
movq %rbx, %rdi
callq 0xe740
movq %rax, %rdi
callq 0xe7a9
leaq -0x30(%rbp), %rcx
movq -0x38(%rbp), %rdi
movq %r15, %rsi
movq %rax, %rdx
callq 0x94e26
movl %eax, %edi
movq %rdx, %r15
testb %r14b, %r14b
je 0x9526
decl (%r13)
jne 0x9526
leaq 0x10bc41(%rip), %rsi    # 0x115159
movq %rdi, %r14
movq %rbx, %rdi
callq 0xd4e3
movq %r14, %rdi
movq %r15, %rax
andq %r12, %rax
sete %cl
testb $0x3, %r15b
setne %dl
orb %cl, %dl
jne 0x9551
decl (%rax)
jne 0x9551
shlq $0x30, %rdi
orq %r15, %rdi
leaq 0x10d70d(%rip), %rsi    # 0x116c59
callq 0xd4e3
movq -0x30(%rbp), %rdi
callq 0x7af2d
andq %rdx, %r12
sete %cl
testb $0x3, %dl
setne %sil
orb %cl, %sil
jne 0x9572
decl (%r12)
je 0x9581
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
shlq $0x30, %rax
orq %rdx, %rax
leaq 0x10bd32(%rip), %rsi    # 0x1152c1
movq %rax, %rdi
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0xd4e3
// File: /workspace/github_c_makefile_star2_O1/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 0x95bc
leaq 0xf56bd(%rip), %rsi     # 0xfec72
movl $0x7, %edx
jmp 0x95dd
movq %rdi, %rsi
movq 0x10(%rdi), %rdx
addq $0x18, %rsi
movl $0x2, %edi
callq 0x5060
leaq 0xf56a0(%rip), %rsi     # 0xfec78
movl $0x1, %edx
movl $0x2, %edi
callq 0x5060
callq 0x52be
movl $0x1, %edi
callq 0x5130
// File: /workspace/github_c_makefile_star2_O1/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
movl $0x1, %edi
movl $0x18, %esi
callq 0x50c0
testq %rax, %rax
je 0x9632
movq %rax, %rdx
movl $0x1, (%rax)
movq %r14, 0x8(%rax)
movq %rbx, 0x10(%rax)
movl $0x1, %eax
popq %rbx
popq %r14
popq %rbp
retq
leaq 0xdb41b(%rip), %rsi     # 0xe4a54
movl $0x31, %edx
movl $0x2, %edi
callq 0x5060
callq 0x52be
movl $0x1, %edi
callq 0x5130
// File: /workspace/github_c_makefile_star2_O1/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
movl $0x1, %edi
movl $0x8, %esi
callq 0x50c0
testq %rax, %rax
je 0x9683
movl $0x1, (%rax)
movl %ebx, 0x4(%rax)
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
leaq 0xdb3fc(%rip), %rsi     # 0xe4a86
movl $0x31, %edx
movl $0x2, %edi
callq 0x5060
callq 0x52be
movl $0x1, %edi
callq 0x5130
// File: /workspace/github_c_makefile_star2_O1/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
movl $0x1, %edi
movl $0x58, %esi
callq 0x50c0
testq %rax, %rax
je 0x971c
leaq 0x20(%rbp), %rcx
leaq 0x10(%rbp), %rdx
movl $0x1, %esi
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 0xdb395(%rip), %rsi     # 0xe4ab8
movl $0x31, %edx
movl $0x2, %edi
callq 0x5060
callq 0x52be
movl $0x1, %edi
callq 0x5130
// File: /workspace/github_c_makefile_star2_O1/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, %rbx
movq %rcx, %r15
movl %edx, %r14d
movabsq $0xfffffffffffc, %r13   # imm = 0xFFFFFFFFFFFC
movq %rcx, %rax
andq %r13, %rax
sete %cl
testb $0x3, %r15b
setne %dl
orb %cl, %dl
jne 0x9778
incl (%rax)
movl %r14d, %edx
movq %r15, %rcx
callq 0xd592
movq %rdx, %r12
andq %r15, %r13
sete %al
testb $0x3, %r15b
setne %cl
orb %al, %cl
jne 0x97b3
decl (%r13)
jne 0x97b3
shlq $0x30, %r14
orq %r15, %r14
leaq 0x10bace(%rip), %rsi    # 0x115279
movq %r14, %rdi
callq 0xd4e3
movl $0x1, (%rbx)
movq %r12, 0x8(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/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 %rbx
subq $0x18, %rsp
movq %rsi, %rbx
movl %edi, %r14d
leaq -0x28(%rbp), %r15
testl %edx, %edx
je 0xd3d0
cmpl $0x1, %edx
jne 0xd420
movq %rcx, %rdi
movq %r15, %rsi
callq 0xd450
movq %rax, %rdi
movq %rdx, %rsi
movl %r14d, %edx
movq %rbx, %rcx
callq 0xd592
movq %rdx, %rbx
movl -0x28(%rbp), %edx
movq -0x20(%rbp), %rcx
movl $0x1, %r14d
movb $0x1, %al
jmp 0xd3d4
xorl %eax, %eax
xorl %ecx, %ecx
testb %al, %al
jne 0xd393
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
sete %sil
testb $0x3, %cl
setne %dil
orb %sil, %dil
jne 0xd40f
decl (%rax)
jne 0xd40f
shlq $0x30, %rdx
orq %rcx, %rdx
leaq 0x107e72(%rip), %rsi    # 0x115279
movq %rdx, %rdi
callq 0xd4e3
movl %r14d, %eax
movq %rbx, %rdx
addq $0x18, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movl $0x20, %edi
callq 0xf9f7
movq $0x20, 0x10(%rax)
movups 0xd7314(%rip), %xmm0    # 0xe474d
movups %xmm0, 0x18(%rax)
movups 0xd7319(%rip), %xmm0    # 0xe475d
movups %xmm0, 0x28(%rax)
movq %rax, %rdi
callq 0x95a5
// File: /workspace/github_c_makefile_star2_O1/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 0xd4b6
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
testb $0x1, %r15b
je 0xd4a1
movq %r14, %rcx
andq %rax, %rcx
sete %dl
testb $0x3, %r14b
setne %sil
orb %dl, %sil
jne 0xd4a1
incl (%rcx)
andq %r12, %rax
sete %cl
testb $0x3, %r12b
setne %dl
orb %cl, %dl
jne 0xd4c3
incl (%rax)
jmp 0xd4c3
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_O1/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 0xd53c
movq %rsi, %rbx
movq %rdi, %r14
movq 0x18(%rax), %rax
testq %rax, %rax
je 0xd554
testb $0x1, %bl
je 0xd52e
andq %r14, %rcx
je 0xd52e
movl %r14d, %edx
andl $0x3, %edx
jne 0xd52e
cmpl $0x0, (%rcx)
jne 0xd562
movq %r14, %rdi
movq %rbx, %rsi
popq %rbx
popq %r14
popq %rbp
jmpq *%rax
leaq 0xd746c(%rip), %rsi     # 0xe49a1
movl $0x38, %edx
jmp 0xd56e
leaq 0xd73ec(%rip), %rsi     # 0xe492f
movl $0x35, %edx
movl $0x2, %edi
callq 0x5060
jmp 0xd583
leaq 0xd740a(%rip), %rsi     # 0xe4965
movl $0x3b, %edx
jmp 0xd56e
leaq 0xd7471(%rip), %rsi     # 0xe49da
movl $0x3a, %edx
movl $0x2, %edi
callq 0x5060
movq %r14, %rdi
movq %rbx, %rsi
callq 0xd6f1
callq 0x52be
movl $0x1, %edi
callq 0x5130
// File: /workspace/github_c_makefile_star2_O1/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
movl $0x1, %edi
movl $0x28, %esi
callq 0x50c0
testq %rax, %rax
je 0xd5e4
movq %rax, %rdx
movl $0x1, (%rax)
movl %r12d, 0x18(%rax)
movq %r14, 0x20(%rax)
movq %r15, 0x8(%rax)
movq %rbx, 0x10(%rax)
movl $0x1, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
leaq 0xd7306(%rip), %rsi     # 0xe48f1
movl $0x31, %edx
movl $0x2, %edi
callq 0x5060
callq 0x52be
movl $0x1, %edi
callq 0x5130
// File: /workspace/github_c_makefile_star2_O1/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 0xd69f
movq %rdi, %rbx
andq %r14, %rbx
testb $0x1, 0x10(%rbx)
je 0xd664
movq 0x8(%rbx), %rcx
movq %rcx, %rax
andq %r14, %rax
sete %dl
testb $0x3, %cl
setne %cl
orb %dl, %cl
jne 0xd664
decl (%rax)
jne 0xd664
movq 0x8(%rbx), %rdi
movq 0x10(%rbx), %rsi
callq 0xd4e3
movq 0x20(%rbx), %rax
andq %rax, %r14
sete %cl
testb $0x3, %al
setne %al
orb %cl, %al
jne 0xd693
decl (%r14)
jne 0xd693
leaq 0x107bf6(%rip), %rsi    # 0x115279
movl 0x18(%rbx), %edi
shlq $0x30, %rdi
orq 0x20(%rbx), %rdi
callq 0xd4e3
movq %rbx, %rdi
popq %rbx
popq %r14
popq %rbp
jmp 0x5030
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/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 0x107a4b(%rip), %rax    # 0x1151a1
cmpq %rsi, %rax
jne 0xd86c
movq %rdi, %rbx
movabsq $0xfffffffffffc, %r15   # imm = 0xFFFFFFFFFFFC
movq 0x10(%rdi), %rcx
leaq 0x107b4a(%rip), %r14    # 0x1152c1
movq %rcx, %rax
andq %r15, %rax
sete %dl
testb $0x3, %cl
setne %cl
orb %dl, %cl
jne 0xd7a1
decl (%rax)
jne 0xd7a1
movl 0x8(%rbx), %edi
shlq $0x30, %rdi
orq 0x10(%rbx), %rdi
movq %r14, %rsi
callq 0xd4e3
movq 0x20(%rbx), %rcx
movq %rcx, %rax
andq %r15, %rax
sete %dl
testb $0x3, %cl
setne %cl
orb %dl, %cl
jne 0xd7d3
decl (%rax)
jne 0xd7d3
leaq 0x107b46(%rip), %rsi    # 0x115309
movl 0x18(%rbx), %edi
shlq $0x30, %rdi
orq 0x20(%rbx), %rdi
callq 0xd4e3
movq 0x30(%rbx), %rcx
movq %rcx, %rax
andq %r15, %rax
sete %dl
testb $0x3, %cl
setne %cl
orb %dl, %cl
jne 0xd801
decl (%rax)
jne 0xd801
movl 0x28(%rbx), %edi
shlq $0x30, %rdi
orq 0x30(%rbx), %rdi
movq %r14, %rsi
callq 0xd4e3
movq 0x40(%rbx), %rcx
movq %rcx, %rax
andq %r15, %rax
sete %dl
testb $0x3, %cl
setne %cl
orb %dl, %cl
jne 0xd82f
decl (%rax)
jne 0xd82f
movl 0x38(%rbx), %edi
shlq $0x30, %rdi
orq 0x40(%rbx), %rdi
movq %r14, %rsi
callq 0xd4e3
movq 0x50(%rbx), %rax
andq %rax, %r15
sete %cl
testb $0x3, %al
setne %al
orb %cl, %al
jne 0xd85a
decl (%r15)
jne 0xd85a
movl 0x48(%rbx), %edi
shlq $0x30, %rdi
orq 0x50(%rbx), %rdi
movq %r14, %rsi
callq 0xd4e3
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x5030
leaq 0xd7282(%rip), %rsi     # 0xe4af5
movl $0x5b, %edx
movl $0x2, %edi
callq 0x5060
callq 0x52be
movl $0x1, %edi
callq 0x5130
// File: /workspace/github_c_makefile_star2_O1/mirth-lang[P]mirth/bin/mirth1.c
// Function: std_maybe_Maybe_1_free
void std_maybe_Maybe_1_free (VAL v) {
	struct std_maybe_Maybe_1 self = V_std_maybe_Maybe_1(v);
	switch (self.tag) {
		case std_maybe_Maybe_1_None: break;
		case std_maybe_Maybe_1_Some: {
			decref(self.ptr.Some->m0);
			free(self.ptr.Some);
		} break;
	}
}

// Assembly:
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
movabsq $-0x1000000000000, %rcx # imm = 0xFFFF000000000000
andq %rdi, %rcx
leaq 0x4(%rax), %rdx
cmpq %rdx, %rcx
jne 0xd943
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
andq %rax, %rbx
testb $0x1, 0x10(%rbx)
je 0xd935
movq 0x8(%rbx), %rcx
andq %rcx, %rax
sete %dl
testb $0x3, %cl
setne %cl
orb %dl, %cl
jne 0xd935
decl (%rax)
jne 0xd935
movq 0x8(%rbx), %rdi
movq 0x10(%rbx), %rsi
callq 0xd4e3
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %rbp
jmp 0x5030
retq
// File: /workspace/github_c_makefile_star2_O1/mirth-lang[P]mirth/bin/mirth1.c
// Function: argzeparser_types_ArgpOptionType_free
void argzeparser_types_ArgpOptionType_free (VAL v) {
	struct argzeparser_types_ArgpOptionType self = V_argzeparser_types_ArgpOptionType(v);
	switch (self.tag) {
		case argzeparser_types_ArgpOptionType_Short: {
			free(self.ptr.Short);
		} break;
		case argzeparser_types_ArgpOptionType_LongOnly: {
			decref(MKSTR(self.ptr.LongOnly->mStr));
			free(self.ptr.LongOnly);
		} break;
		case argzeparser_types_ArgpOptionType_Positional: break;
		case argzeparser_types_ArgpOptionType_End: break;
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
movq %rdi, %rcx
shrq $0x30, %rcx
andq %rax, %rbx
testq %rcx, %rcx
je 0xd9dd
cmpl $0x1, %ecx
jne 0xd9eb
movq 0x8(%rbx), %rdi
andq %rdi, %rax
sete %cl
testb $0x3, %dil
setne %dl
orb %cl, %dl
jne 0xd9dd
decl (%rax)
jne 0xd9dd
leaq 0x107781(%rip), %rsi    # 0x115159
callq 0xd4e3
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %rbp
jmp 0x5030
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/mirth-lang[P]mirth/bin/mirth1.c
// Function: mtp_std_maybe_Maybe_1_Some
static VAL mtp_std_maybe_Maybe_1_Some (struct std_maybe_Maybe_1 in_Maybe_1) {
	struct std_maybe_Maybe_1_Some v3 = *in_Maybe_1.ptr.Some;
	if (!--(in_Maybe_1.ptr.Some->refs)) {
		free(in_Maybe_1.ptr.Some);
	} 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 0xdb22
testb $0x1, %r14b
je 0xdb27
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq %rbx, %rax
sete %cl
testb $0x3, %bl
setne %dl
orb %cl, %dl
jne 0xdb27
incl (%rax)
jmp 0xdb27
callq 0x5030
movq %rbx, %rax
movq %r14, %rdx
popq %rbx
popq %r14
popq %rbp
retq