LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O3/markdryan[P]subtilis/common/bitset.c
// Function: subtilis_bitset_clear
void subtilis_bitset_clear(subtilis_bitset_t *bs, size_t bit)
{
	size_t cell;
	size_t offset;

	if (bit > bs->max_value)
		return;

	cell = bit / (sizeof(unsigned int) * 8);
	offset = bit - (cell * (sizeof(unsigned int) * 8));
	bs->bits[cell] &= ~((unsigned int)(1 << offset));
	if (bit == (size_t)bs->max_value)
		prv_set_max(bs, cell);
}

// Assembly:
movslq 0x8(%rdi), %rax
cmpq %rsi, %rax
jb 0x5dca2
movq %rsi, %rax
shrq $0x5, %rax
movl $0xfffffffe, %edx       # imm = 0xFFFFFFFE
movl %esi, %ecx
roll %cl, %edx
movq (%rdi), %rcx
andl %edx, (%rcx,%rax,4)
movslq 0x8(%rdi), %rcx
cmpq %rsi, %rcx
jne 0x5dca2
movq %rax, %rsi
jmp 0x5dca3
retq
// File: /workspace/github_c_makefile_star2_O3/markdryan[P]subtilis/common/bitset.c
// Function: prv_set_max
static void prv_set_max(subtilis_bitset_t *bs, size_t block)
{
	size_t i;
	size_t byte;
	unsigned int mask;

	do {
		if (bs->bits[block] != 0)
			break;
		if (block == 0) {
			bs->max_value = -1;
			return;
		}
		block--;
	} while (true);

	byte = sizeof(unsigned int);
	while (byte > 0) {
		byte--;
		mask = 0xff << (byte * 8);
		if (mask & bs->bits[block])
			break;
	}

	i = 8;
	while (i > 0) {
		i--;
		mask = 1 << (i + (byte * 8));
		if (mask & bs->bits[block])
			break;
	}
	bs->max_value = (block * sizeof(unsigned int) * 8) + (byte * 8) + i;
}

// Assembly:
movq (%rdi), %rcx
movl (%rcx,%rsi,4), %eax
testl %eax, %eax
jne 0x5dcba
subq $0x1, %rsi
jae 0x5dca6
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
jmp 0x5dd11
shll $0x5, %esi
xorl %edx, %edx
movl $0x18, %ecx
movl $0xff, %r8d
shll %cl, %r8d
addl $0x8, %edx
testq %rcx, %rcx
je 0x5dce1
andl %eax, %r8d
addq $-0x8, %rcx
testl %r8d, %r8d
je 0x5dcc4
movl $0x27, %ecx
subl %edx, %ecx
subl %edx, %esi
addl $0x28, %esi
movq $-0x7, %rdx
movl $0x1, %r8d
shll %cl, %r8d
decl %esi
testq %rdx, %rdx
je 0x5dd11
andl %eax, %r8d
incq %rdx
decl %ecx
testl %r8d, %r8d
je 0x5dcf4
movl %esi, 0x8(%rdi)
retq
// File: /workspace/github_c_makefile_star2_O3/markdryan[P]subtilis/common/bitset.c
// Function: subtilis_bitset_and
void subtilis_bitset_and(subtilis_bitset_t *bs, subtilis_bitset_t *bs1)
{
	size_t i;
	size_t limit;

	if (bs->max_value < 0)
		return;

	if (bs1->max_value < bs->max_value)
		bs->max_value = bs1->max_value;

	if (bs->max_value >= 0 && bs1->max_value >= 0)
		limit = (bs->max_value / (sizeof(unsigned int) * 8)) + 1;
	else
		limit = 0;

	for (i = 0; i < limit; i++)
		bs->bits[i] &= bs1->bits[i];

	for (i = limit; i < bs->allocated; i++)
		bs->bits[i] = 0;

	if (limit > 0)
		prv_set_max(bs, limit - 1);
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movl 0x8(%rdi), %r14d
testl %r14d, %r14d
js 0x5dd88
movq %rdi, %rbx
movl 0x8(%rsi), %eax
cmpl %r14d, %eax
jge 0x5dd40
movl %eax, 0x8(%rbx)
movb $0x1, %bpl
testl %eax, %eax
js 0x5dd61
cmpl $0x0, 0x8(%rsi)
movl %eax, %r14d
js 0x5dd61
shrl $0x5, %r14d
incl %r14d
movq (%rsi), %rax
movq (%rbx), %rcx
xorl %edx, %edx
movl (%rax,%rdx,4), %esi
andl %esi, (%rcx,%rdx,4)
incq %rdx
cmpq %rdx, %r14
jne 0x5dd4f
xorl %ebp, %ebp
jmp 0x5dd64
xorl %r14d, %r14d
movq 0x10(%rbx), %rdx
subq %r14, %rdx
jbe 0x5dd83
leal (,%r14,4), %edi
addq (%rbx), %rdi
shlq $0x2, %rdx
xorl %esi, %esi
callq 0x12140
testb %bpl, %bpl
je 0x5dd8d
popq %rbx
popq %r14
popq %rbp
retq
decq %r14
movq %rbx, %rdi
movq %r14, %rsi
popq %rbx
popq %r14
popq %rbp
jmp 0x5dca3
// File: /workspace/github_c_makefile_star2_O3/markdryan[P]subtilis/common/bitset.c
// Function: subtilis_bitset_or
void subtilis_bitset_or(subtilis_bitset_t *bs, subtilis_bitset_t *bs1,
			subtilis_error_t *err)
{
	size_t i;
	size_t limit;

	if (bs1->max_value < 0)
		return;

	prv_ensure(bs, bs1->max_value, err);
	if (err->type != SUBTILIS_ERROR_OK)
		return;

	limit = (bs1->max_value / (sizeof(unsigned int) * 8)) + 1;
	for (i = 0; i < limit; i++)
		bs->bits[i] |= bs1->bits[i];

	if (bs->max_value < bs1->max_value)
		bs->max_value = bs1->max_value;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %r14
movslq 0x8(%rsi), %rsi
testq %rsi, %rsi
js 0x5ddee
movq %rdx, %r15
movq %rdi, %rbx
callq 0x5dbd1
cmpl $0x0, (%r15)
jne 0x5ddee
movslq 0x8(%r14), %rax
shrq $0x5, %rax
movq (%r14), %rcx
movq (%rbx), %rdx
incq %rax
xorl %esi, %esi
movl (%rcx,%rsi,4), %edi
orl %edi, (%rdx,%rsi,4)
incq %rsi
cmpq %rsi, %rax
jne 0x5ddd4
movl 0x8(%r14), %eax
cmpl %eax, 0x8(%rbx)
jge 0x5ddee
movl %eax, 0x8(%rbx)
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/markdryan[P]subtilis/common/bitset.c
// Function: subtilis_bitset_not
void subtilis_bitset_not(subtilis_bitset_t *bs)
{
	size_t limit;
	size_t bits_left;
	size_t i;

	if (bs->max_value < 0)
		return;

	limit = (bs->max_value / (sizeof(unsigned int) * 8));
	for (i = 0; i < limit; i++)
		bs->bits[i] = ~bs->bits[i];

	bits_left = bs->max_value - (limit * sizeof(unsigned int) * 8);
	bs->bits[i] = ~bs->bits[i] & ((1u << bits_left) - 1);
	prv_set_max(bs, limit);
}

// Assembly:
movl 0x8(%rdi), %eax
testl %eax, %eax
js 0x5de0f
movl %eax, %esi
shrl $0x5, %esi
movq (%rdi), %rdx
cmpl $0x20, %eax
jae 0x5de10
xorl %r8d, %r8d
movl %eax, %ecx
jmp 0x5de23
retq
xorl %ecx, %ecx
notl (%rdx,%rcx,4)
incq %rcx
cmpq %rcx, %rsi
jne 0x5de12
movl 0x8(%rdi), %ecx
movq %rsi, %r8
andl $0xe0, %eax
subl %eax, %ecx
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
shll %cl, %eax
orl (%rdx,%r8,4), %eax
notl %eax
movl %eax, (%rdx,%r8,4)
jmp 0x5dca3
// File: /workspace/github_c_makefile_star2_O3/markdryan[P]subtilis/common/bitset.c
// Function: subtilis_bitset_sub
void subtilis_bitset_sub(subtilis_bitset_t *bs, subtilis_bitset_t *bs1)
{
	size_t i;
	int min_max_value;
	size_t limit;

	min_max_value =
	    bs->max_value <= bs1->max_value ? bs->max_value : bs1->max_value;

	if (min_max_value < 0)
		return;

	limit = (min_max_value / (sizeof(unsigned int) * 8));

	for (i = 0; i < limit; i++)
		bs->bits[i] &= ~bs1->bits[i];
	bs->bits[i] &= ~bs1->bits[i];
	if (bs->max_value <= bs1->max_value)
		prv_set_max(bs, limit);
}

// Assembly:
movl 0x8(%rdi), %eax
movl 0x8(%rsi), %r8d
cmpl %r8d, %eax
cmovll %eax, %r8d
testl %r8d, %r8d
js 0x5de99
movl %r8d, %eax
shrl $0x5, %eax
movq (%rsi), %rdx
movq (%rdi), %rcx
cmpl $0x20, %r8d
jae 0x5de6a
xorl %r8d, %r8d
jmp 0x5de83
xorl %r8d, %r8d
movl (%rdx,%r8,4), %r9d
notl %r9d
andl %r9d, (%rcx,%r8,4)
incq %r8
cmpq %r8, %rax
jne 0x5de6d
movq %rax, %r8
shll $0x2, %r8d
movl (%rdx,%r8), %edx
notl %edx
andl %edx, (%rcx,%r8)
movl 0x8(%rdi), %ecx
cmpl 0x8(%rsi), %ecx
jle 0x5de9a
retq
movq %rax, %rsi
jmp 0x5dca3
// File: /workspace/github_c_makefile_star2_O3/markdryan[P]subtilis/common/bitset.c
// Function: subtilis_bitset_dump
void subtilis_bitset_dump(subtilis_bitset_t *bs)
{
	size_t i;

	if (bs->max_value >= 0) {
		for (i = 0; i <= bs->max_value; i++) {
			if (subtilis_bitset_isset(bs, i))
				printf("%zu ", i);
		}
	}
	printf("\n");
}

// Assembly:
movl 0x8(%rdi), %eax
testl %eax, %eax
js 0x5df09
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
leaq 0x18aaa(%rip), %r14     # 0x76962
xorl %r15d, %r15d
movq (%rbx), %rcx
testq %rcx, %rcx
sete %dl
cmpq $0x7fffffff, %r15       # imm = 0x7FFFFFFF
seta %sil
orb %dl, %sil
jne 0x5def9
cmpl %r15d, %eax
jl 0x5def9
movq %r15, %rdx
shrq $0x5, %rdx
movl (%rcx,%rdx,4), %ecx
btl %r15d, %ecx
jae 0x5def9
movq %r14, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq 0x12110
movl 0x8(%rbx), %eax
incq %r15
movslq %eax, %rcx
cmpq %rcx, %r15
jbe 0x5debb
popq %rbx
popq %r14
popq %r15
movl $0xa, %edi
jmp 0x12030
// File: /workspace/github_c_makefile_star2_O3/markdryan[P]subtilis/common/bitset.c
// Function: subtilis_bitset_count
size_t subtilis_bitset_count(subtilis_bitset_t *bs)
{
	size_t i;
	size_t count = 0;

	if (bs->max_value >= 0) {
		for (i = 0; i <= bs->max_value; i++) {
			if (subtilis_bitset_isset(bs, i))
				++count;
		}
	}

	return count;
}

// Assembly:
movl 0x8(%rdi), %ecx
testl %ecx, %ecx
js 0x5dfa3
movq (%rdi), %rdx
leaq 0x1(%rcx), %rsi
xorl %eax, %eax
xorl %edi, %edi
testq %rdx, %rdx
sete %r8b
cmpq $0x7fffffff, %rdi       # imm = 0x7FFFFFFF
seta %r9b
orb %r8b, %r9b
jne 0x5df9a
cmpl %edi, %ecx
jl 0x5df9a
movq %rdi, %r8
shrq $0x5, %r8
movl (%rdx,%r8,4), %r8d
btl %edi, %r8d
adcq $0x0, %rax
incq %rdi
cmpq %rdi, %rsi
jne 0x5df6c
retq
xorl %eax, %eax
retq
// File: /workspace/github_c_makefile_star2_O3/markdryan[P]subtilis/common/bitset.c
// Function: subtilis_bitset_values
size_t *subtilis_bitset_values(subtilis_bitset_t *bs, size_t *count,
			       subtilis_error_t *err)
{
	size_t i;
	size_t j;
	size_t *vals = NULL;
	size_t cnt = subtilis_bitset_count(bs);

	if (cnt > 0) {
		vals = malloc(cnt * sizeof(size_t));
		if (!vals) {
			subtilis_error_set_oom(err);
			return NULL;
		}

		j = 0;
		for (i = 0; i <= bs->max_value; i++) {
			if (subtilis_bitset_isset(bs, i))
				vals[j++] = i;
		}
	}

	*count = cnt;

	return vals;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r15
movq %rsi, %rbx
movq %rdi, %r12
callq 0x5df5a
movq %rax, %r14
testq %rax, %rax
je 0x5e031
leaq (,%r14,8), %rdi
callq 0x121d0
testq %rax, %rax
je 0x5e038
movslq 0x8(%r12), %rcx
movq (%r12), %rdx
leaq 0x1(%rcx), %rsi
cmpq $0x1, %rsi
movq %rcx, %rsi
adcq $0x1, %rsi
xorl %edi, %edi
xorl %r8d, %r8d
testq %rdx, %rdx
sete %r9b
cmpq $0x7fffffff, %r8        # imm = 0x7FFFFFFF
seta %r10b
orb %r9b, %r10b
jne 0x5e027
cmpl %r8d, %ecx
jl 0x5e027
movq %r8, %r9
shrq $0x5, %r9
movl (%rdx,%r9,4), %r9d
btl %r8d, %r9d
jae 0x5e027
movq %r8, (%rax,%rdi,8)
incq %rdi
incq %r8
cmpq %r8, %rsi
jne 0x5dff3
jmp 0x5e033
xorl %eax, %eax
movq %r14, (%rbx)
jmp 0x5e053
leaq 0x18913(%rip), %rdx     # 0x76952
movq %r15, %rdi
movl $0x1, %esi
movl $0x117, %ecx            # imm = 0x117
callq 0x145a4
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
nop
// File: /workspace/github_c_makefile_star2_O3/markdryan[P]subtilis/arch/arm32/arm_sub_section.c
// Function: subtilis_arm_subsections_init
void subtilis_arm_subsections_init(subtilis_arm_subsections_t *sss)
{
	sss->sub_sections = NULL;
	sss->count = 0;
	sss->max_count = 0;
	sss->ss_link_map = NULL;
	sss->link_count = 0;
	sss->max_links = 0;
	subtilis_bitset_init(&sss->int_save);
	subtilis_bitset_init(&sss->real_save);
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
addq $0x30, %rdi
xorps %xmm0, %xmm0
movups %xmm0, 0x20(%rbx)
movups %xmm0, 0x10(%rbx)
movups %xmm0, (%rbx)
callq 0x5db38
addq $0x48, %rbx
movq %rbx, %rdi
popq %rbx
jmp 0x5db38
// File: /workspace/github_c_makefile_star2_O3/markdryan[P]subtilis/arch/arm32/arm_sub_section.c
// Function: prv_add_new_sub_section
static size_t prv_add_new_sub_section(subtilis_arm_subsections_t *sss,
				      subtilis_arm_section_t *arm_s,
				      size_t start, subtilis_error_t *err)
{
	subtilis_arm_ss_t *ss;
	size_t new_max;
	subtilis_arm_ss_t *new_ss;
	size_t ptr;

	if (sss->count == sss->max_count) {
		new_max = sss->max_count + SUBTILIS_CONFIG_SSS_GRAN;
		new_ss = realloc(sss->sub_sections,
				 new_max * sizeof(*sss->sub_sections));
		if (!new_ss) {
			subtilis_error_set_oom(err);
			return SIZE_MAX;
		}
		sss->sub_sections = new_ss;
		sss->max_count = new_max;
	}

	ptr = sss->count;
	ss = &sss->sub_sections[sss->count++];
	memset(ss, 0, sizeof(*ss));

	subtilis_bitset_init(&ss->int_inputs);
	subtilis_bitset_init(&ss->real_inputs);
	ss->start = start;
	ss->end = 0;
	ss->num_links = 0;

	return ptr;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rsi, %r14
movq %rdi, %r12
movq (%rdi), %r15
movq 0x8(%rdi), %rbx
cmpq 0x10(%rdi), %rbx
jne 0x5e615
movq %rdx, %r13
addq $0x10, %rbx
imulq $0x130, %rbx, %rsi      # imm = 0x130
movq %r15, %rdi
callq 0x12210
testq %rax, %rax
je 0x5e670
movq %rax, %r15
movq %rax, (%r12)
movq %rbx, 0x10(%r12)
movq 0x8(%r12), %rbx
leaq 0x1(%rbx), %rax
movq %rax, 0x8(%r12)
imulq $0x130, %rbx, %r12      # imm = 0x130
leaq (%r15,%r12), %rdi
xorl %r13d, %r13d
movl $0x130, %edx            # imm = 0x130
xorl %esi, %esi
callq 0x12140
leaq (%r15,%r12), %rdi
addq $0x18, %rdi
callq 0x5db38
addq %r12, %r15
addq $0x30, %r15
movq %r15, %rdi
callq 0x5db38
movq %r14, -0x28(%r15)
movq %r13, -0x20(%r15)
movq %r13, 0xf8(%r15)
movq %rbx, %rax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
leaq 0x182f0(%rip), %rdx     # 0x76967
movq %r13, %rdi
movl $0x1, %esi
movl $0x31, %ecx
callq 0x145a4
movq $-0x1, %rbx
jmp 0x5e663
// File: /workspace/github_c_makefile_star2_O3/markdryan[P]subtilis/arch/arm32/arm_sub_section.c
// Function: prv_finalize_sub_section
static void prv_finalize_sub_section(subtilis_arm_ss_t *ss,
				     subtilis_arm_section_t *arm_s, size_t end,
				     size_t count, subtilis_error_t *err)
{
	subtilis_arm_op_t *from;
	subtilis_arm_op_t *op;
	subtilis_regs_used_virt_t regs_used;
	size_t max_int_regs;
	size_t max_real_regs;
	size_t ptr;

	subtilis_arm_section_max_regs(arm_s, &max_int_regs, &max_real_regs);
	subtilis_regs_used_virt_init(&regs_used);

	ss->end = end;
	ss->size = count;
	from = &arm_s->op_pool->ops[ss->start];
	op = &arm_s->op_pool->ops[ss->end];

	subtilis_arm_regs_used_afterv(arm_s, from, op, max_int_regs,
				      max_real_regs, count, &regs_used, err);
	if (err->type != SUBTILIS_ERROR_OK)
		goto cleanup;

	subtilis_bitset_claim(&ss->int_inputs, &regs_used.int_regs);
	subtilis_bitset_claim(&ss->real_inputs, &regs_used.real_regs);

	if (((op->type != SUBTILIS_ARM_OP_INSTR) ||
	     (op->op.instr.type != SUBTILIS_ARM_INSTR_B) ||
	     (op->op.instr.operands.br.ccode != SUBTILIS_ARM_CCODE_AL)) &&
	    (op->next != SIZE_MAX)) {
		ptr = op->next;
		op = &arm_s->op_pool->ops[ptr];
		if (op->type == SUBTILIS_ARM_OP_LABEL)
			prv_add_link(ss, arm_s, ptr, op->op.label, err);
	}

cleanup:

	subtilis_regs_used_virt_free(&regs_used);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %r8, %rbx
movq %rcx, %r13
movq %rdx, %r12
movq %rsi, %r14
movq %rdi, %r15
leaq 0x10(%rsp), %rbp
leaq 0x8(%rsp), %rdx
movq %rsi, %rdi
movq %rbp, %rsi
callq 0x4f0be
leaq 0x18(%rsp), %rdi
callq 0x52d50
movq %r12, 0x10(%r15)
movq %r13, (%r15)
movq 0x38(%r14), %rax
movq (%rax), %rax
imulq $0x68, 0x8(%r15), %rsi
addq %rax, %rsi
imulq $0x68, %r12, %r12
addq %rax, %r12
movq (%rbp), %rcx
leaq 0x8(%rsp), %rax
movq (%rax), %r8
movq %r14, %rdi
movq %r12, %rdx
movq %r13, %r9
pushq %rbx
leaq 0x20(%rsp), %rax
pushq %rax
callq 0x54c58
addq $0x10, %rsp
cmpl $0x0, (%rbx)
je 0x5e72e
leaq 0x18(%rsp), %rdi
callq 0x52d66
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x18(%r15), %rdi
leaq 0x18(%rsp), %rsi
callq 0x5df13
leaq 0x30(%r15), %rdi
leaq 0x30(%rsp), %rsi
callq 0x5df13
cmpl $0x0, (%r12)
jne 0x5e761
cmpl $0x16, 0x8(%r12)
jne 0x5e761
cmpl $0xe, 0x10(%r12)
je 0x5e715
movq 0x58(%r12), %rdx
cmpq $-0x1, %rdx
je 0x5e715
movq 0x38(%r14), %rax
movq (%rax), %rax
imulq $0x68, %rdx, %rcx
cmpl $0x1, (%rax,%rcx)
jne 0x5e715
addq %rcx, %rax
movq 0x8(%rax), %rcx
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %r8
callq 0x5e794
jmp 0x5e715
// File: /workspace/github_c_makefile_star2_O3/markdryan[P]subtilis/arch/arm32/arm_sub_section.c
// Function: subtilis_arm_subsections_free
void subtilis_arm_subsections_free(subtilis_arm_subsections_t *sss)
{
	size_t i;

	subtilis_bitset_free(&sss->int_save);
	subtilis_bitset_free(&sss->real_save);

	free(sss->ss_link_map);
	if (!sss->sub_sections)
		return;

	for (i = 0; i < sss->count; i++)
		prv_free_sub_section(&sss->sub_sections[i]);
	free(sss->sub_sections);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
addq $0x30, %rdi
callq 0x5df52
leaq 0x48(%rbx), %rdi
callq 0x5df52
movq 0x28(%rbx), %rdi
callq 0x122c0
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x5e9fc
cmpq $0x0, 0x8(%rbx)
je 0x5e9e9
movl $0x90, %r12d
xorl %r13d, %r13d
movq (%rbx), %r15
imulq $0x130, %r13, %rax      # imm = 0x130
leaq (%r15,%rax), %r14
cmpq $0x0, 0x128(%r15,%rax)
je 0x5e9c1
addq %r12, %r15
xorl %ebp, %ebp
leaq -0x48(%r15), %rdi
callq 0x5df52
leaq -0x30(%r15), %rdi
callq 0x5df52
leaq -0x18(%r15), %rdi
callq 0x5df52
movq %r15, %rdi
callq 0x5df52
incq %rbp
addq $0x70, %r15
cmpq 0x128(%r14), %rbp
jb 0x5e98e
leaq 0x18(%r14), %rdi
callq 0x5df52
addq $0x30, %r14
movq %r14, %rdi
callq 0x5df52
incq %r13
addq $0x130, %r12            # imm = 0x130
cmpq 0x8(%rbx), %r13
jb 0x5e970
movq (%rbx), %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x122c0
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/markdryan[P]subtilis/arch/arm32/arm_sub_section.c
// Function: subtilis_arm_subsections_must_save
void subtilis_arm_subsections_must_save(subtilis_arm_subsections_t *sss,
					subtilis_arm_ss_t *ss, size_t link,
					subtilis_bitset_t *int_save,
					subtilis_bitset_t *real_save,
					subtilis_error_t *err)
{
	subtilis_bitset_t visited;
	subtilis_arm_ss_link_t *start;
	subtilis_arm_ss_t *next;

	if (link >= ss->num_links) {
		subtilis_error_set_assertion_failed(err);
		return;
	}

	subtilis_bitset_init(&visited);

	start = &ss->links[link];
	if (start->link >= sss->link_count) {
		subtilis_error_set_assertion_failed(err);
		goto cleanup;
	}

	subtilis_bitset_set(&visited, start->link, err);
	if (err->type != SUBTILIS_ERROR_OK)
		goto cleanup;
	next = &sss->sub_sections[sss->ss_link_map[start->link]];
	prv_visit_subsection(sss, next, start, int_save, real_save, &visited,
			     err);

cleanup:

	subtilis_bitset_free(&visited);

	subtilis_bitset_free(&sss->int_save);
	subtilis_bitset_free(&sss->real_save);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %r9, %r14
cmpq %rdx, 0x128(%rsi)
jbe 0x5ea9a
movq %r8, %r15
movq %rcx, %r12
movq %rdx, %rbp
movq %rsi, %r13
movq %rdi, %rbx
leaq 0x10(%rsp), %rdi
callq 0x5db38
imulq $0x70, %rbp, %rbp
movq 0xa8(%r13,%rbp), %rsi
cmpq 0x18(%rbx), %rsi
jae 0x5eac1
leaq 0x10(%rsp), %rdi
movq %r14, %rdx
callq 0x5db68
cmpl $0x0, (%r14)
jne 0x5eada
leaq 0x48(,%rbp), %rdx
addq %r13, %rdx
movq 0x28(%rbx), %rax
movq 0x60(%rdx), %rcx
imulq $0x130, (%rax,%rcx,8), %rsi # imm = 0x130
addq (%rbx), %rsi
movq %r14, (%rsp)
leaq 0x10(%rsp), %r9
movq %rbx, %rdi
movq %r12, %rcx
movq %r15, %r8
callq 0x5eb08
jmp 0x5eada
leaq 0x17ec6(%rip), %rdx     # 0x76967
movq %r14, %rdi
movl $0xf, %esi
movl $0x1ee, %ecx            # imm = 0x1EE
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x145a4
leaq 0x17e9f(%rip), %rdx     # 0x76967
movq %r14, %rdi
movl $0xf, %esi
movl $0x1f6, %ecx            # imm = 0x1F6
callq 0x145a4
leaq 0x10(%rsp), %rdi
callq 0x5df52
leaq 0x30(%rbx), %rdi
callq 0x5df52
addq $0x48, %rbx
movq %rbx, %rdi
callq 0x5df52
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/markdryan[P]subtilis/arch/arm32/arm_peephole.c
// Function: prv_remove_op
static size_t prv_remove_op(subtilis_arm_section_t *arm_s, size_t ptr,
			    subtilis_arm_op_t *op)
{
	size_t next;
	size_t prev;

	if (arm_s->first_op == arm_s->last_op) {
		arm_s->first_op = SIZE_MAX;
		arm_s->last_op = SIZE_MAX;
		return SIZE_MAX;
	}

	if (arm_s->first_op == ptr) {
		arm_s->first_op = op->next;
		return op->next;
	}

	if (arm_s->last_op == ptr) {
		arm_s->last_op = op->prev;
		return SIZE_MAX;
	}

	next = op->next;
	prev = op->prev;
	arm_s->op_pool->ops[prev].next = next;
	arm_s->op_pool->ops[next].prev = prev;
	return next;
}

// Assembly:
leaq 0x20(%rdi), %rcx
movq 0x20(%rdi), %r8
movq 0x28(%rdi), %rax
cmpq %rax, %r8
jne 0x5f036
pcmpeqd %xmm0, %xmm0
movdqu %xmm0, (%rcx)
movq $-0x1, %rax
retq
cmpq %rsi, %r8
jne 0x5f043
movq 0x58(%rdx), %rax
movq %rax, (%rcx)
retq
cmpq %rsi, %rax
jne 0x5f052
movq 0x60(%rdx), %rax
movq %rax, 0x28(%rdi)
jmp 0x5f02e
movq 0x58(%rdx), %rax
movq 0x60(%rdx), %rcx
movq 0x38(%rdi), %rdx
movq (%rdx), %rdx
imulq $0x68, %rcx, %rsi
movq %rax, 0x58(%rdx,%rsi)
imulq $0x68, %rax, %rsi
movq %rcx, 0x60(%rdx,%rsi)
retq
// File: /workspace/github_c_makefile_star2_O3/markdryan[P]subtilis/arch/arm32/arm_mem.c
// Function: subtilis_arm_mem_memseti32
void subtilis_arm_mem_memseti32(subtilis_ir_section_t *s,
				subtilis_arm_section_t *arm_s,
				subtilis_error_t *err)
{
	const size_t base_reg = 0;
	const size_t size_reg = 1;
	const size_t end_reg = 11;
	subtilis_arm_instr_t *instr;
	subtilis_arm_data_instr_t *datai;

	instr =
	    subtilis_arm_section_add_instr(arm_s, SUBTILIS_ARM_INSTR_ADD, err);
	if (err->type != SUBTILIS_ERROR_OK)
		return;

	datai = &instr->operands.data;
	datai->status = false;
	datai->ccode = SUBTILIS_ARM_CCODE_AL;
	datai->dest = end_reg;
	datai->op1 = base_reg;
	datai->op2.type = SUBTILIS_ARM_OP2_REG;
	datai->op2.op.reg = size_reg;

	prv_memseti32_core(s, arm_s, err);
	if (err->type != SUBTILIS_ERROR_OK)
		return;

	subtilis_arm_add_mov_reg(arm_s, SUBTILIS_ARM_CCODE_AL, false, 15, 14,
				 err);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rsi, %rbx
movq %rsi, %rdi
movl $0x4, %esi
callq 0x4f6e2
cmpl $0x0, (%r14)
jne 0x5f0f0
movb $0x0, 0xc(%rax)
movl $0xe, 0x8(%rax)
movq $0xb, 0x10(%rax)
movq $0x0, 0x18(%rax)
movl $0x0, 0x20(%rax)
movq $0x1, 0x28(%rax)
movq %rbx, %rdi
movq %r14, %rsi
callq 0x5f0f8
cmpl $0x0, (%r14)
jne 0x5f0f0
movq %r14, (%rsp)
movl $0xf, %r8d
movl $0xe, %r9d
movq %rbx, %rdi
movl $0xd, %esi
movl $0xe, %edx
xorl %ecx, %ecx
callq 0x504b3
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/markdryan[P]subtilis/arch/arm32/assembler.c
// Function: prv_context_free
static void prv_context_free(subtilis_arm_ass_context_t *c)
{
	size_t i;

	prv_free_defs(c);
	subtilis_bitset_free(&c->pending_labels);
	subtilis_string_pool_delete(c->label_pool);

	for (i = 0; i < c->num_blocks; i++)
		subtilis_arm_exp_val_free(c->blocks[i].upto);
	free(c->blocks);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
cmpq $0x0, 0x58(%rdi)
je 0x63947
xorl %r14d, %r14d
xorl %r15d, %r15d
movq 0x50(%rbx), %rax
movq (%rax,%r14), %rdi
callq 0x122c0
movq 0x50(%rbx), %rax
movq 0x8(%rax,%r14), %rdi
callq 0x68d41
incq %r15
addq $0x10, %r14
cmpq 0x58(%rbx), %r15
jb 0x6391f
movq 0x50(%rbx), %rdi
callq 0x122c0
leaq 0x38(%rbx), %rdi
callq 0x5df52
movq 0x30(%rbx), %rdi
callq 0x2f052
cmpq $0x0, 0x70(%rbx)
je 0x6398c
movl $0x8, %r14d
xorl %r15d, %r15d
movq 0x68(%rbx), %rax
movq (%rax,%r14), %rdi
callq 0x68d41
incq %r15
addq $0x10, %r14
cmpq 0x70(%rbx), %r15
jb 0x63972
movq 0x68(%rbx), %rdi
popq %rbx
popq %r14
popq %r15
jmp 0x122c0
// File: /workspace/github_c_makefile_star2_O3/markdryan[P]subtilis/arch/arm32/assembler.c
// Function: subtilis_arm_asm_find_def
subtilis_arm_exp_val_t *subtilis_arm_asm_find_def(subtilis_arm_ass_context_t *c,
						  const char *name)
{
	size_t i;

	for (i = 0; i < c->def_count; i++)
		if (!strcmp(c->defs[i].name, name))
			return c->defs[i].val;

	return NULL;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq 0x58(%rdi), %r15
testq %r15, %r15
je 0x639d4
movq %rsi, %r14
movq 0x50(%rdi), %r12
addq $0x8, %r12
xorl %ebx, %ebx
movq -0x8(%r12), %rdi
movq %r14, %rsi
callq 0x12160
testl %eax, %eax
je 0x639d8
addq $0x10, %r12
decq %r15
jne 0x639b8
jmp 0x639dc
xorl %ebx, %ebx
jmp 0x639dc
movq (%r12), %rbx
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/markdryan[P]subtilis/arch/arm32/assembler.c
// Function: prv_get_double_list
static double *prv_get_double_list(subtilis_arm_ass_context_t *c, size_t *count,
				   subtilis_error_t *err)
{
	const char *tbuf;
	double *new_nums;
	double num;
	double *nums = NULL;
	size_t max_nums = 0;
	size_t num_count = 0;
	subtilis_arm_exp_val_t *val = NULL;

	do {
		val = subtilis_arm_exp_val_get(c, err);
		if (err->type != SUBTILIS_ERROR_OK)
			goto cleanup;

		if (val->type == SUBTILIS_ARM_EXP_TYPE_INT) {
			num = (double)val->val.integer;
		} else if (val->type == SUBTILIS_ARM_EXP_TYPE_REAL) {
			num = val->val.real;
		} else {
			subtilis_error_set_numeric_expected(
			    err, subtilis_arm_exp_type_name(val),
			    c->l->stream->name, c->l->line);
			goto cleanup;
		}

		subtilis_arm_exp_val_free(val);
		val = NULL;

		if (num_count == max_nums) {
			max_nums += 32;
			new_nums = realloc(nums, max_nums * sizeof(*nums));
			if (!new_nums)
				goto cleanup;
			nums = new_nums;
		}

		nums[num_count++] = num;
		tbuf = subtilis_token_get_text(c->t);
	} while ((c->t->type == SUBTILIS_TOKEN_OPERATOR) && !strcmp(tbuf, ","));

	*count = num_count;

	return nums;

cleanup:

	subtilis_arm_exp_val_free(val);
	free(nums);

	return NULL;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, %r14
movq %rsi, 0x10(%rsp)
movq %rdi, %r15
xorl %ebx, %ebx
xorl %r12d, %r12d
xorl %ecx, %ecx
movq %rcx, %rbp
movq %r15, %rdi
movq %r14, %rsi
callq 0x69632
movq %rax, %r13
cmpl $0x0, (%r14)
jne 0x653ea
movl (%r13), %eax
cmpl $0x7, %eax
je 0x65332
cmpl $0x6, %eax
jne 0x653a8
xorps %xmm0, %xmm0
cvtsi2sdl 0x8(%r13), %xmm0
jmp 0x65338
movsd 0x8(%r13), %xmm0
movsd %xmm0, 0x8(%rsp)
movq %r13, %rdi
callq 0x68d41
cmpq %r12, %rbp
jne 0x6536b
leaq 0x100(,%r12,8), %rsi
movq %rbx, %rdi
callq 0x12210
testq %rax, %rax
je 0x653e7
addq $0x20, %r12
movq %rax, %rbx
movsd 0x8(%rsp), %xmm0
movsd %xmm0, (%rbx,%rbp,8)
movq 0x10(%r15), %rdi
callq 0x12ad0
movq 0x10(%r15), %rcx
cmpl $0x2, (%rcx)
jne 0x6539b
cmpb $0x2c, (%rax)
jne 0x6539b
leaq 0x1(%rbp), %rcx
cmpb $0x0, 0x1(%rax)
je 0x652fa
incq %rbp
movq 0x10(%rsp), %rax
movq %rbp, (%rax)
jmp 0x653fc
movq %r13, %rdi
callq 0x6966d
movq 0x8(%r15), %rcx
movq 0x30(%rcx), %r8
movl 0x38(%rcx), %r9d
leaq 0x119ad(%rip), %r10     # 0x76d70
leaq 0xea4b(%rip), %rcx      # 0x73e15
movq %r14, %rdi
movl $0x2c, %esi
movq %rax, %rdx
pushq $0xee6                  # imm = 0xEE6
pushq %r10
callq 0x143da
addq $0x10, %rsp
jmp 0x653ea
xorl %r13d, %r13d
movq %r13, %rdi
callq 0x68d41
movq %rbx, %rdi
callq 0x122c0
xorl %ebx, %ebx
movq %rbx, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/markdryan[P]subtilis/arch/arm32/assembler.c
// Function: prv_parse_fpa_data
static void prv_parse_fpa_data(subtilis_arm_ass_context_t *c,
			       subtilis_arm_instr_type_t itype,
			       subtilis_arm_ccode_type_t ccode,
			       subtilis_fpa_rounding_t rnd, size_t size,
			       bool dyadic, subtilis_error_t *err)
{
	subtilis_fpa_data_instr_t *datai;
	subtilis_arm_instr_t *instr;
	const char *tbuf;

	instr = subtilis_arm_section_add_instr(c->arm_s, itype, err);
	if (err->type != SUBTILIS_ERROR_OK)
		return;
	datai = &instr->operands.fpa_data;

	datai->dest = prv_get_fpa_reg(c, err);
	if (err->type != SUBTILIS_ERROR_OK)
		return;

	tbuf = subtilis_token_get_text(c->t);
	if ((c->t->type != SUBTILIS_TOKEN_OPERATOR) || (strcmp(tbuf, ","))) {
		subtilis_error_set_expected(err, ",", tbuf, c->l->stream->name,
					    c->l->line);
		return;
	}

	if (dyadic) {
		datai->op1 = prv_get_fpa_reg(c, err);
		if (err->type != SUBTILIS_ERROR_OK)
			return;

		tbuf = subtilis_token_get_text(c->t);
		if ((c->t->type != SUBTILIS_TOKEN_OPERATOR) ||
		    (strcmp(tbuf, ","))) {
			subtilis_error_set_expected(
			    err, ",", tbuf, c->l->stream->name, c->l->line);
			return;
		}
	}

	datai->immediate = prv_get_fpa_op2(c, &datai->op2, err);
	if (err->type != SUBTILIS_ERROR_OK)
		return;
	datai->ccode = ccode;
	datai->rounding = rnd;
	datai->size = size;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %r9d, %r14d
movq %r8, (%rsp)
movl %ecx, %ebp
movl %edx, %r15d
movq %rdi, %r13
movq 0x40(%rsp), %rbx
movq (%rdi), %rdi
movq %rbx, %rdx
callq 0x4f6e2
cmpl $0x0, (%rbx)
jne 0x6693a
movq %rax, %r12
movq %r13, %rdi
movq %rbx, %rsi
callq 0x66a38
movq %rax, 0x18(%r12)
cmpl $0x0, (%rbx)
je 0x66949
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x10(%r13), %rdi
callq 0x12ad0
movq 0x10(%r13), %rcx
cmpl $0x2, (%rcx)
jne 0x66966
cmpb $0x2c, (%rax)
jne 0x66966
cmpb $0x0, 0x1(%rax)
je 0x6699d
movq 0x8(%r13), %rcx
movq 0x30(%rcx), %r8
movl 0x38(%rcx), %r9d
leaq 0x103f7(%rip), %r10     # 0x76d70
leaq 0xcc12(%rip), %rdx      # 0x73592
movq %rbx, %rdi
movl $0x1d, %esi
movq %rax, %rcx
pushq $0x87a                  # imm = 0x87A
pushq %r10
callq 0x143da
addq $0x18, %rsp
jmp 0x6693e
testb %r14b, %r14b
je 0x66a00
movq %r13, %rdi
movq %rbx, %rsi
callq 0x66a38
movq %rax, 0x20(%r12)
cmpl $0x0, (%rbx)
jne 0x6693a
movq 0x10(%r13), %rdi
callq 0x12ad0
movq 0x10(%r13), %rcx
cmpl $0x2, (%rcx)
jne 0x669d4
cmpb $0x2c, (%rax)
jne 0x669d4
cmpb $0x0, 0x1(%rax)
je 0x66a00
movq 0x8(%r13), %rcx
movq 0x30(%rcx), %r8
movl 0x38(%rcx), %r9d
leaq 0x10389(%rip), %r10     # 0x76d70
leaq 0xcba4(%rip), %rdx      # 0x73592
movq %rbx, %rdi
movl $0x1d, %esi
movq %rax, %rcx
pushq $0x887                  # imm = 0x887
jmp 0x66990
movq %r12, %rsi
addq $0x30, %rsi
movq %r13, %rdi
movq %rbx, %rdx
callq 0x66ac1
movb %al, 0x28(%r12)
cmpl $0x0, (%rbx)
jne 0x6693a
movl %r15d, 0x8(%r12)
movl %ebp, 0xc(%r12)
movq (%rsp), %rax
movq %rax, 0x10(%r12)
jmp 0x6693a
// File: /workspace/github_c_makefile_star2_O3/markdryan[P]subtilis/arch/arm32/assembler.c
// Function: prv_get_fpa_reg
static subtilis_arm_reg_t prv_get_fpa_reg(subtilis_arm_ass_context_t *c,
					  subtilis_error_t *err)
{
	subtilis_arm_exp_val_t *val;
	subtilis_arm_reg_t reg;

	val = subtilis_arm_exp_val_get(c, err);
	if (err->type != SUBTILIS_ERROR_OK)
		return SIZE_MAX;

	if (val->type != SUBTILIS_ARM_EXP_TYPE_FREG) {
		subtilis_error_set_expected(err, "floating point register",
					    subtilis_arm_exp_type_name(val),
					    c->l->stream->name, c->l->line);
		reg = SIZE_MAX;
	} else {
		reg = val->val.reg;
	}

	subtilis_arm_exp_val_free(val);

	return reg;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %r15
callq 0x69632
movq $-0x1, %r12
cmpl $0x0, (%r14)
jne 0x66ab2
movq %rax, %rbx
cmpl $0x0, (%rax)
je 0x66aa6
movq %rbx, %rdi
callq 0x6966d
movq 0x8(%r15), %rcx
movq 0x30(%rcx), %r8
movl 0x38(%rcx), %r9d
leaq 0x102f5(%rip), %r10     # 0x76d70
leaq 0x1033a(%rip), %rdx     # 0x76dbc
movq %r14, %rdi
movl $0x1d, %esi
movq %rax, %rcx
pushq $0x220                  # imm = 0x220
pushq %r10
callq 0x143da
addq $0x10, %rsp
movq $-0x1, %r12
jmp 0x66aaa
movq 0x8(%rbx), %r12
movq %rbx, %rdi
callq 0x68d41
movq %r12, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/markdryan[P]subtilis/arch/arm32/assembler.c
// Function: prv_get_fpa_op2
static bool prv_get_fpa_op2(subtilis_arm_ass_context_t *c,
			    subtilis_fpa_op2_t *op2, subtilis_error_t *err)
{
	subtilis_arm_exp_val_t *val;
	bool immediate = false;

	val = subtilis_arm_exp_val_get(c, err);
	if (err->type != SUBTILIS_ERROR_OK)
		goto cleanup;

	switch (val->type) {
	case SUBTILIS_ARM_EXP_TYPE_FREG:
		op2->reg = val->val.reg;
		break;
	case SUBTILIS_ARM_EXP_TYPE_INT:
		if (!subtilis_fpa_encode_real((double)val->val.integer,
					      &op2->imm)) {
			subtilis_error_set_ass_bad_real_imm(
			    err, (double)val->val.integer, c->l->stream->name,
			    c->l->line);
			goto cleanup;
		}
		immediate = true;
		break;
	case SUBTILIS_ARM_EXP_TYPE_REAL:
		if (!subtilis_fpa_encode_real(val->val.real, &op2->imm)) {
			subtilis_error_set_ass_bad_real_imm(
			    err, val->val.real, c->l->stream->name, c->l->line);
			goto cleanup;
		}
		immediate = true;
		break;
	default:
		subtilis_error_set_expected(
		    err, "floating point register or immediate",
		    subtilis_arm_exp_type_name(val), c->l->stream->name,
		    c->l->line);
		goto cleanup;
	}

cleanup:

	subtilis_arm_exp_val_free(val);

	return immediate;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rdx, %r14
movq %rsi, %r12
movq %rdi, %r15
movq %rdx, %rsi
callq 0x69632
movq %rax, %rbx
cmpl $0x0, (%r14)
je 0x66af8
xorl %ebp, %ebp
movq %rbx, %rdi
callq 0x68d41
movl %ebp, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movl (%rbx), %eax
cmpl $0x7, %eax
je 0x66b57
cmpl $0x6, %eax
je 0x66b16
testl %eax, %eax
jne 0x66ba1
movq 0x8(%rbx), %rax
movq %rax, (%r12)
jmp 0x66ae3
cvtsi2sdl 0x8(%rbx), %xmm0
movq %r12, %rdi
callq 0x5cf2f
movb $0x1, %bpl
testb %al, %al
jne 0x66ae5
xorps %xmm0, %xmm0
cvtsi2sdl 0x8(%rbx), %xmm0
movq 0x8(%r15), %rax
movq 0x30(%rax), %rdx
movl 0x38(%rax), %ecx
leaq 0x1022c(%rip), %r8      # 0x76d70
xorps %xmm1, %xmm1
movq %r14, %rdi
movl $0x63, %esi
movl $0x848, %r9d            # imm = 0x848
jmp 0x66b97
movsd 0x8(%rbx), %xmm0
movq %r12, %rdi
callq 0x5cf2f
movb $0x1, %bpl
testb %al, %al
jne 0x66ae5
movsd 0x8(%rbx), %xmm0
movq 0x8(%r15), %rax
movq 0x30(%rax), %rdx
movl 0x38(%rax), %ecx
leaq 0x101ea(%rip), %r8      # 0x76d70
xorps %xmm1, %xmm1
movq %r14, %rdi
movl $0x63, %esi
movl $0x850, %r9d            # imm = 0x850
callq 0x14513
jmp 0x66ae3
movq %rbx, %rdi
callq 0x6966d
movq 0x8(%r15), %rcx
movq 0x30(%rcx), %r8
movl 0x38(%rcx), %r9d
leaq 0x101b4(%rip), %r10     # 0x76d70
leaq 0x10211(%rip), %rdx     # 0x76dd4
movq %r14, %rdi
movl $0x1d, %esi
movq %rax, %rcx
pushq $0x859                  # imm = 0x859
pushq %r10
callq 0x143da
addq $0x10, %rsp
jmp 0x66ae3
// File: /workspace/github_c_makefile_star2_O3/markdryan[P]subtilis/arch/arm32/assembler.c
// Function: prv_get_reg
static subtilis_arm_reg_t prv_get_reg(subtilis_arm_ass_context_t *c,
				      subtilis_error_t *err)
{
	subtilis_arm_exp_val_t *val;
	subtilis_arm_reg_t reg;

	val = subtilis_arm_exp_val_get(c, err);
	if (err->type != SUBTILIS_ERROR_OK)
		return SIZE_MAX;

	if (val->type != SUBTILIS_ARM_EXP_TYPE_REG) {
		subtilis_error_set_expected(err, "register",
					    subtilis_arm_exp_type_name(val),
					    c->l->stream->name, c->l->line);
		reg = SIZE_MAX;
	} else {
		reg = val->val.reg;
	}

	subtilis_arm_exp_val_free(val);

	return reg;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %r15
callq 0x69632
movq $-0x1, %r12
cmpl $0x0, (%r14)
jne 0x66c5d
movq %rax, %rbx
cmpl $0x1, (%rax)
jne 0x66c11
movq 0x8(%rbx), %r12
jmp 0x66c55
movq %rbx, %rdi
callq 0x6966d
movq 0x8(%r15), %rcx
movq 0x30(%rcx), %r8
movl 0x38(%rcx), %r9d
leaq 0x10144(%rip), %r10     # 0x76d70
leaq 0x101e8(%rip), %rdx     # 0x76e1b
movq %r14, %rdi
movl $0x1d, %esi
movq %rax, %rcx
pushq $0x208                  # imm = 0x208
pushq %r10
callq 0x143da
addq $0x10, %rsp
movq $-0x1, %r12
movq %rbx, %rdi
callq 0x68d41
movq %r12, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/markdryan[P]subtilis/arch/arm32/assembler.c
// Function: prv_parse_fpa_stran_post
static void prv_parse_fpa_stran_post(subtilis_arm_ass_context_t *c,
				     subtilis_arm_instr_type_t itype,
				     subtilis_arm_ccode_type_t ccode,
				     size_t size, subtilis_arm_reg_t dest,
				     subtilis_arm_reg_t base,
				     subtilis_error_t *err)
{
	const char *tbuf;
	subtilis_fpa_stran_instr_t *stran;
	subtilis_arm_instr_t *instr;
	uint8_t offset = 0;
	bool sub = false;
	bool pre_index = true;
	bool write_back = false;

	subtilis_lexer_get(c->l, c->t, err);
	if (err->type != SUBTILIS_ERROR_OK)
		return;

	tbuf = subtilis_token_get_text(c->t);
	if ((c->t->type == SUBTILIS_TOKEN_OPERATOR) && !strcmp(tbuf, ",")) {
		offset = prv_get_fpa_stran_offset(c, &sub, err);
		if (err->type != SUBTILIS_ERROR_OK)
			return;

		write_back = true;
		pre_index = false;

		if (base == 15) {
			subtilis_error_set_ass_bad_reg(
			    err, "R15", c->l->stream->name, c->l->line);
			return;
		}
	}

	instr = subtilis_arm_section_add_instr(c->arm_s, itype, err);
	if (err->type != SUBTILIS_ERROR_OK)
		return;

	stran = &instr->operands.fpa_stran;
	stran->ccode = ccode;
	stran->size = size;
	stran->dest = dest;
	stran->base = base;
	stran->offset = offset;
	stran->pre_indexed = pre_index;
	stran->write_back = write_back;
	stran->subtract = sub;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %r9, 0x10(%rsp)
movq %r8, %r14
movq %rcx, %r15
movl %edx, %ebp
movl %esi, %r13d
movq %rdi, %rbx
movq 0x50(%rsp), %r12
movb $0x0, 0x3(%rsp)
movq 0x8(%rdi), %rdi
movq 0x10(%rbx), %rsi
movq %r12, %rdx
callq 0x12edc
cmpl $0x0, (%r12)
jne 0x66edb
movq 0x10(%rbx), %rdi
callq 0x12ad0
movq 0x10(%rbx), %rcx
cmpl $0x2, (%rcx)
jne 0x66e80
cmpb $0x2c, (%rax)
jne 0x66e80
cmpb $0x0, 0x1(%rax)
je 0x66eea
movb $0x1, %al
movl %eax, 0x8(%rsp)
movl $0x0, 0xc(%rsp)
movl $0x0, 0x4(%rsp)
movq (%rbx), %rdi
movl %r13d, %esi
movq %r12, %rdx
callq 0x4f6e2
cmpl $0x0, (%r12)
jne 0x66edb
movl %ebp, 0x8(%rax)
movq %r15, 0x10(%rax)
movq %r14, 0x18(%rax)
movq 0x10(%rsp), %rcx
movq %rcx, 0x20(%rax)
movl 0xc(%rsp), %ecx
movb %cl, 0x28(%rax)
movl 0x8(%rsp), %ecx
movb %cl, 0x29(%rax)
movl 0x4(%rsp), %ecx
movb %cl, 0x2a(%rax)
movb 0x3(%rsp), %cl
movb %cl, 0x2b(%rax)
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x3(%rsp), %rsi
movq %rbx, %rdi
movq %r12, %rdx
callq 0x66f5a
movl %eax, 0xc(%rsp)
cmpl $0x0, (%r12)
jne 0x66edb
cmpq $0xf, 0x10(%rsp)
jne 0x66f47
movq 0x8(%rbx), %rax
movq 0x30(%rax), %r8
movl 0x38(%rax), %r9d
leaq 0xfe50(%rip), %rax      # 0x76d70
leaq 0xfedb(%rip), %rdx      # 0x76e02
leaq 0xcee7(%rip), %rcx      # 0x73e15
movq %r12, %rdi
movl $0x58, %esi
pushq $0x97a                  # imm = 0x97A
pushq %rax
callq 0x143da
addq $0x28, %rsp
jmp 0x66edf
movb $0x1, %al
movl %eax, 0x4(%rsp)
movl $0x0, 0x8(%rsp)
jmp 0x66e96
// File: /workspace/github_c_makefile_star2_O3/markdryan[P]subtilis/arch/arm32/assembler.c
// Function: prv_get_fpa_stran_offset
static uint8_t prv_get_fpa_stran_offset(subtilis_arm_ass_context_t *c,
					bool *subtract, subtilis_error_t *err)
{
	subtilis_arm_exp_val_t *val = NULL;
	uint32_t absv = 0;
	bool sub = false;

	val = subtilis_arm_exp_val_get(c, err);
	if (err->type != SUBTILIS_ERROR_OK)
		return 0;

	if (val->type != SUBTILIS_ARM_EXP_TYPE_INT) {
		subtilis_error_set_expected(err, "integer",
					    subtilis_arm_exp_type_name(val),
					    c->l->stream->name, c->l->line);
		goto cleanup;
	}

	if (val->val.integer < 0) {
		sub = true;
		absv = -val->val.integer;
	} else {
		absv = val->val.integer;
	}

	if (absv > 1020 || ((absv & 3) != 0)) {
		subtilis_error_set_ass_bad_offset(
		    err, val->val.integer, c->l->stream->name, c->l->line);
		goto cleanup;
	}

	*subtract = sub;
	absv >>= 2;

cleanup:

	subtilis_arm_exp_val_free(val);

	return absv;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rdx, %r14
movq %rsi, %r12
movq %rdi, %r15
movq %rdx, %rsi
callq 0x69632
cmpl $0x0, (%r14)
je 0x66f80
xorl %ebp, %ebp
jmp 0x67027
movq %rax, %rbx
cmpl $0x6, (%rax)
jne 0x66fb2
movl 0x8(%rbx), %edx
movl %edx, %ebp
negl %ebp
cmovsl %edx, %ebp
cmpl $0x3fd, %ebp            # imm = 0x3FD
setb %al
testb $0x3, %bpl
sete %cl
testb %cl, %al
je 0x66ff3
shrl $0x1f, %edx
movb %dl, (%r12)
shrl $0x2, %ebp
jmp 0x6701f
movq %rbx, %rdi
callq 0x6966d
movq 0x8(%r15), %rcx
movq 0x30(%rcx), %r8
movl 0x38(%rcx), %r9d
leaq 0xfda3(%rip), %r10      # 0x76d70
leaq 0xea79(%rip), %rdx      # 0x75a4d
movq %r14, %rdi
movl $0x1d, %esi
movq %rax, %rcx
pushq $0x908                  # imm = 0x908
pushq %r10
callq 0x143da
addq $0x10, %rsp
xorl %ebp, %ebp
jmp 0x6701f
movq 0x8(%r15), %rax
movq 0x30(%rax), %r8
movl 0x38(%rax), %r9d
leaq 0xfd6a(%rip), %rax      # 0x76d70
movq %r14, %rdi
movl $0x5b, %esi
xorl %ecx, %ecx
pushq $0x915                  # imm = 0x915
pushq %rax
callq 0x14486
addq $0x10, %rsp
movq %rbx, %rdi
callq 0x68d41
movl %ebp, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/markdryan[P]subtilis/arch/arm32/assembler.c
// Function: prv_get_vfp_sreg
static subtilis_arm_reg_t prv_get_vfp_sreg(subtilis_arm_ass_context_t *c,
					   subtilis_error_t *err)
{
	subtilis_arm_exp_val_t *val;
	subtilis_arm_reg_t reg;

	val = subtilis_arm_exp_val_get(c, err);
	if (err->type != SUBTILIS_ERROR_OK)
		return SIZE_MAX;

	if (val->type != SUBTILIS_ARM_EXP_TYPE_SREG) {
		subtilis_error_set_expected(err, "vfp S register",
					    subtilis_arm_exp_type_name(val),
					    c->l->stream->name, c->l->line);
		reg = SIZE_MAX;
	} else {
		reg = val->val.reg;
	}

	subtilis_arm_exp_val_free(val);

	return reg;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %r15
callq 0x69632
movq $-0x1, %r12
cmpl $0x0, (%r14)
jne 0x670ac
movq %rax, %rbx
cmpl $0x2, (%rax)
jne 0x67060
movq 0x8(%rbx), %r12
jmp 0x670a4
movq %rbx, %rdi
callq 0x6966d
movq 0x8(%r15), %rcx
movq 0x30(%rcx), %r8
movl 0x38(%rcx), %r9d
leaq 0xfcf5(%rip), %r10      # 0x76d70
leaq 0xfd84(%rip), %rdx      # 0x76e06
movq %r14, %rdi
movl $0x1d, %esi
movq %rax, %rcx
pushq $0x238                  # imm = 0x238
pushq %r10
callq 0x143da
addq $0x10, %rsp
movq $-0x1, %r12
movq %rbx, %rdi
callq 0x68d41
movq %r12, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/markdryan[P]subtilis/arch/arm32/assembler.c
// Function: prv_get_vfp_dreg
static subtilis_arm_reg_t prv_get_vfp_dreg(subtilis_arm_ass_context_t *c,
					   subtilis_error_t *err)
{
	subtilis_arm_exp_val_t *val;
	subtilis_arm_reg_t reg;

	val = subtilis_arm_exp_val_get(c, err);
	if (err->type != SUBTILIS_ERROR_OK)
		return SIZE_MAX;

	if (val->type != SUBTILIS_ARM_EXP_TYPE_DREG) {
		subtilis_error_set_expected(err, "vfp D register",
					    subtilis_arm_exp_type_name(val),
					    c->l->stream->name, c->l->line);
		reg = SIZE_MAX;
	} else {
		reg = val->val.reg;
	}

	subtilis_arm_exp_val_free(val);

	return reg;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %r15
callq 0x69632
movq $-0x1, %r12
cmpl $0x0, (%r14)
jne 0x67135
movq %rax, %rbx
cmpl $0x3, (%rax)
jne 0x670e9
movq 0x8(%rbx), %r12
jmp 0x6712d
movq %rbx, %rdi
callq 0x6966d
movq 0x8(%r15), %rcx
movq 0x30(%rcx), %r8
movl 0x38(%rcx), %r9d
leaq 0xfc6c(%rip), %r10      # 0x76d70
leaq 0xfd0a(%rip), %rdx      # 0x76e15
movq %r14, %rdi
movl $0x1d, %esi
movq %rax, %rcx
pushq $0x250                  # imm = 0x250
pushq %r10
callq 0x143da
addq $0x10, %rsp
movq $-0x1, %r12
movq %rbx, %rdi
callq 0x68d41
movq %r12, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/markdryan[P]subtilis/arch/arm32/assembler.c
// Function: prv_get_vfp_sysreg
static subtilis_arm_reg_t prv_get_vfp_sysreg(subtilis_arm_ass_context_t *c,
					     subtilis_error_t *err)
{
	subtilis_arm_exp_val_t *val;
	subtilis_arm_reg_t reg;

	val = subtilis_arm_exp_val_get(c, err);
	if (err->type != SUBTILIS_ERROR_OK)
		return SIZE_MAX;

	if (val->type != SUBTILIS_ARM_EXP_TYPE_SYSREG) {
		subtilis_error_set_expected(err, "FPSCR or FPEXC or FPSID",
					    subtilis_arm_exp_type_name(val),
					    c->l->stream->name, c->l->line);
		reg = SIZE_MAX;
	} else {
		reg = val->val.reg;
	}

	subtilis_arm_exp_val_free(val);

	return reg;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %r15
callq 0x69632
movq $-0x1, %r12
cmpl $0x0, (%r14)
jne 0x671e0
movq %rax, %rbx
cmpl $0x4, (%rax)
jne 0x67194
movq 0x8(%rbx), %r12
jmp 0x671d8
movq %rbx, %rdi
callq 0x6966d
movq 0x8(%r15), %rcx
movq 0x30(%rcx), %r8
movl 0x38(%rcx), %r9d
leaq 0xfbc1(%rip), %r10      # 0x76d70
leaq 0xfc6e(%rip), %rdx      # 0x76e24
movq %r14, %rdi
movl $0x1d, %esi
movq %rax, %rcx
pushq $0x268                  # imm = 0x268
pushq %r10
callq 0x143da
addq $0x10, %rsp
movq $-0x1, %r12
movq %rbx, %rdi
callq 0x68d41
movq %r12, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/markdryan[P]subtilis/arch/arm32/assembler.c
// Function: prv_parse_vfp_stran_post
static void prv_parse_vfp_stran_post(subtilis_arm_ass_context_t *c,
				     subtilis_arm_instr_type_t itype,
				     subtilis_arm_ccode_type_t ccode,
				     subtilis_arm_reg_t dest,
				     subtilis_arm_reg_t base,
				     subtilis_error_t *err)
{
	const char *tbuf;
	subtilis_vfp_stran_instr_t *stran;
	subtilis_arm_instr_t *instr;
	uint8_t offset = 0;
	bool sub = false;
	bool pre_index = true;
	bool write_back = false;

	subtilis_lexer_get(c->l, c->t, err);
	if (err->type != SUBTILIS_ERROR_OK)
		return;

	tbuf = subtilis_token_get_text(c->t);
	if ((c->t->type == SUBTILIS_TOKEN_OPERATOR) && !strcmp(tbuf, ",")) {
		offset = prv_get_fpa_stran_offset(c, &sub, err);
		if (err->type != SUBTILIS_ERROR_OK)
			return;

		write_back = true;
		pre_index = false;

		if (base == 15) {
			subtilis_error_set_ass_bad_reg(
			    err, "R15", c->l->stream->name, c->l->line);
			return;
		}
	}

	instr = subtilis_arm_section_add_instr(c->arm_s, itype, err);
	if (err->type != SUBTILIS_ERROR_OK)
		return;

	stran = &instr->operands.vfp_stran;
	stran->ccode = ccode;
	stran->dest = dest;
	stran->base = base;
	stran->offset = offset;
	stran->pre_indexed = pre_index;
	stran->write_back = write_back;
	stran->subtract = sub;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %r9, %rbx
movq %r8, %r14
movq %rcx, %r15
movl %edx, %ebp
movl %esi, %r12d
movq %rdi, %r13
movb $0x0, 0xb(%rsp)
movq 0x8(%rdi), %rdi
movq 0x10(%r13), %rsi
movq %r9, %rdx
callq 0x12edc
cmpl $0x0, (%rbx)
jne 0x673fc
movq 0x10(%r13), %rdi
callq 0x12ad0
movq 0x10(%r13), %rcx
cmpl $0x2, (%rcx)
jne 0x673ab
cmpb $0x2c, (%rax)
jne 0x673ab
cmpb $0x0, 0x1(%rax)
je 0x6740b
movb $0x1, %al
movl %eax, 0x10(%rsp)
movl $0x0, 0x14(%rsp)
movl $0x0, 0xc(%rsp)
movq (%r13), %rdi
movl %r12d, %esi
movq %rbx, %rdx
callq 0x4f6e2
cmpl $0x0, (%rbx)
jne 0x673fc
movl %ebp, 0x8(%rax)
movq %r15, 0x10(%rax)
movq %r14, 0x18(%rax)
movl 0x14(%rsp), %ecx
movb %cl, 0x20(%rax)
movl 0x10(%rsp), %ecx
movb %cl, 0x21(%rax)
movl 0xc(%rsp), %ecx
movb %cl, 0x22(%rax)
movb 0xb(%rsp), %cl
movb %cl, 0x23(%rax)
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0xb(%rsp), %rsi
movq %r13, %rdi
movq %rbx, %rdx
callq 0x66f5a
movl %eax, 0x14(%rsp)
cmpl $0x0, (%rbx)
jne 0x673fc
cmpq $0xf, %r14
jne 0x67464
movq 0x8(%r13), %rax
movq 0x30(%rax), %r8
movl 0x38(%rax), %r9d
leaq 0xf933(%rip), %rax      # 0x76d70
leaq 0xf9be(%rip), %rdx      # 0x76e02
leaq 0xc9ca(%rip), %rcx      # 0x73e15
movq %rbx, %rdi
movl $0x58, %esi
pushq $0xcd8                  # imm = 0xCD8
pushq %rax
callq 0x143da
addq $0x28, %rsp
jmp 0x67400
movb $0x1, %al
movl %eax, 0xc(%rsp)
movl $0x0, 0x10(%rsp)
jmp 0x673c1