LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O1/markdryan[P]subtilis/frontend/int32_type.c
// Function: prv_lsr_const
static subtilis_exp_t *prv_lsr_const(subtilis_parser_t *p, subtilis_exp_t *a1,
				     subtilis_exp_t *a2, subtilis_error_t *err)
{
	/* a2 may not be const as we don't order the arguments */

	switch (a2->type.type) {
	case SUBTILIS_TYPE_CONST_INTEGER:
		a1->exp.ir_op.integer =
		    (int32_t)((uint32_t)a1->exp.ir_op.integer >>
			      ((uint32_t)a2->exp.ir_op.integer & 63));
		break;
	case SUBTILIS_TYPE_BYTE:
		a2 = subtilis_type_if_to_int(p, a2, err);
		if (err->type != SUBTILIS_ERROR_OK)
			goto on_error;
	case SUBTILIS_TYPE_INTEGER:
		prv_shift_const_var(p, a1, a2, SUBTILIS_OP_INSTR_LSR_I32, err);
		if (err->type != SUBTILIS_ERROR_OK)
			goto on_error;
		break;
	default:
		subtilis_error_set_bad_expression(err, p->l->stream->name,
						  p->l->line);
		goto on_error;
	}

	subtilis_exp_delete(a2);
	return a1;

on_error:
	subtilis_exp_delete(a1);
	subtilis_exp_delete(a2);
	return NULL;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %r15
movq %rdx, %r14
movq %rsi, %rbx
movq %rdi, %r12
movl (%rdx), %eax
cmpl $0x6, %eax
je 0x3a6dc
cmpl $0x5, %eax
je 0x3a6f3
cmpl $0x1, %eax
jne 0x3a711
movb 0x148(%r14), %cl
shrl %cl, 0x148(%rbx)
jmp 0x3a740
movq %r12, %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x3691f
movq %rax, %r14
cmpl $0x0, (%r15)
jne 0x3a736
movq %r12, %rdi
movq %rbx, %rsi
movq %r14, %rdx
movl $0x4d, %ecx
movq %r15, %r8
callq 0x3bb39
cmpl $0x0, (%r15)
jne 0x3a736
jmp 0x3a740
movq (%r12), %rax
movq 0x30(%rax), %rdx
movl 0x38(%rax), %ecx
leaq 0x3ad9c(%rip), %r8      # 0x754bf
movq %r15, %rdi
movl $0x19, %esi
movl $0x343, %r9d            # imm = 0x343
callq 0x14618
movq %rbx, %rdi
callq 0x2b4c3
xorl %ebx, %ebx
movq %r14, %rdi
callq 0x2b4c3
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/markdryan[P]subtilis/frontend/int32_type.c
// Function: prv_asr_const
static subtilis_exp_t *prv_asr_const(subtilis_parser_t *p, subtilis_exp_t *a1,
				     subtilis_exp_t *a2, subtilis_error_t *err)
{
	/* a2 may not be const as we don't order the arguments */

	switch (a2->type.type) {
	case SUBTILIS_TYPE_CONST_INTEGER:
		a1->exp.ir_op.integer =
		    a1->exp.ir_op.integer >> (a2->exp.ir_op.integer & 63);
		break;
	case SUBTILIS_TYPE_BYTE:
		a2 = subtilis_type_if_to_int(p, a2, err);
		if (err->type != SUBTILIS_ERROR_OK)
			goto on_error;
	case SUBTILIS_TYPE_INTEGER:
		prv_shift_const_var(p, a1, a2, SUBTILIS_OP_INSTR_ASR_I32, err);
		if (err->type != SUBTILIS_ERROR_OK)
			goto on_error;
		break;
	default:
		subtilis_error_set_bad_expression(err, p->l->stream->name,
						  p->l->line);
		goto on_error;
	}

	subtilis_exp_delete(a2);
	return a1;

on_error:
	subtilis_exp_delete(a1);
	subtilis_exp_delete(a2);
	return NULL;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %r15
movq %rdx, %r14
movq %rsi, %rbx
movq %rdi, %r12
movl (%rdx), %eax
cmpl $0x6, %eax
je 0x3a78b
cmpl $0x5, %eax
je 0x3a7a2
cmpl $0x1, %eax
jne 0x3a7c0
movb 0x148(%r14), %cl
sarl %cl, 0x148(%rbx)
jmp 0x3a7ef
movq %r12, %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x3691f
movq %rax, %r14
cmpl $0x0, (%r15)
jne 0x3a7e5
movq %r12, %rdi
movq %rbx, %rsi
movq %r14, %rdx
movl $0x4f, %ecx
movq %r15, %r8
callq 0x3bb39
cmpl $0x0, (%r15)
jne 0x3a7e5
jmp 0x3a7ef
movq (%r12), %rax
movq 0x30(%rax), %rdx
movl 0x38(%rax), %ecx
leaq 0x3aced(%rip), %r8      # 0x754bf
movq %r15, %rdi
movl $0x19, %esi
movl $0x365, %r9d            # imm = 0x365
callq 0x14618
movq %rbx, %rdi
callq 0x2b4c3
xorl %ebx, %ebx
movq %r14, %rdi
callq 0x2b4c3
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/markdryan[P]subtilis/frontend/int32_type.c
// Function: prv_sgn_const
static subtilis_exp_t *prv_sgn_const(subtilis_parser_t *p, subtilis_exp_t *e,
				     subtilis_error_t *err)
{
	if (e->exp.ir_op.integer < 0)
		e->exp.ir_op.integer = -1;
	else if (e->exp.ir_op.integer > 0)
		e->exp.ir_op.integer = 1;

	return e;
}

// Assembly:
movq %rsi, %rax
cmpl $0x0, 0x148(%rsi)
js 0x3a831
movl $0x1, %ecx
jne 0x3a836
retq
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
movl %ecx, 0x148(%rax)
retq
// File: /workspace/github_c_makefile_star2_O1/markdryan[P]subtilis/frontend/int32_type.c
// Function: prv_zero
static subtilis_exp_t *prv_zero(subtilis_parser_t *p,
				const subtilis_type_t *type,
				subtilis_error_t *err)
{
	subtilis_ir_operand_t op1;
	size_t reg_num;

	op1.integer = 0;
	reg_num = subtilis_ir_section_add_instr2(
	    p->current, SUBTILIS_OP_INSTR_MOVI_I32, op1, err);
	if (err->type != SUBTILIS_ERROR_OK)
		return NULL;
	return subtilis_exp_new_int32_var(reg_num, err);
}

// Assembly:
pushq %rbx
movq %rdx, %rbx
movq 0x48(%rdi), %rdi
movl $0x1b, %esi
xorl %edx, %edx
movq %rbx, %rcx
callq 0x2c189
cmpl $0x0, (%rbx)
je 0x3a871
xorl %eax, %eax
popq %rbx
retq
movl %eax, %edi
movq %rbx, %rsi
popq %rbx
jmp 0x2ba99
// File: /workspace/github_c_makefile_star2_O1/markdryan[P]subtilis/frontend/int32_type.c
// Function: prv_top_bit
static subtilis_exp_t *prv_top_bit(subtilis_parser_t *p, subtilis_error_t *err)
{
	subtilis_ir_operand_t op1;
	size_t reg_num;

	op1.integer = (int32_t)0x80000000;
	reg_num = subtilis_ir_section_add_instr2(
	    p->current, SUBTILIS_OP_INSTR_MOVI_I32, op1, err);
	if (err->type != SUBTILIS_ERROR_OK)
		return NULL;
	return subtilis_exp_new_int32_var(reg_num, err);
}

// Assembly:
pushq %rbx
movq %rsi, %rbx
movq 0x48(%rdi), %rdi
movl $0x80000000, %edx       # imm = 0x80000000
movl $0x1b, %esi
movq %rbx, %rcx
callq 0x2c189
cmpl $0x0, (%rbx)
je 0x3a89f
xorl %eax, %eax
popq %rbx
retq
movl %eax, %edi
movq %rbx, %rsi
popq %rbx
jmp 0x2ba99
// File: /workspace/github_c_makefile_star2_O1/markdryan[P]subtilis/frontend/int32_type.c
// Function: prv_copy_var
static subtilis_exp_t *prv_copy_var(subtilis_parser_t *p, subtilis_exp_t *e,
				    subtilis_error_t *err)
{
	size_t reg;
	subtilis_exp_t *e2;

	reg = subtilis_ir_section_add_instr2(p->current, SUBTILIS_OP_INSTR_MOV,
					     e->exp.ir_op, err);
	if (err->type != SUBTILIS_ERROR_OK)
		goto on_error;
	e2 = subtilis_exp_new_int32_var(reg, err);
	if (err->type != SUBTILIS_ERROR_OK)
		goto on_error;
	subtilis_exp_delete(e);
	return e2;

on_error:

	subtilis_exp_delete(e);
	return NULL;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %r14
movq %rsi, %rbx
movq 0x48(%rdi), %rdi
movq 0x148(%rsi), %rdx
movl $0x1d, %esi
movq %r14, %rcx
callq 0x2c189
cmpl $0x0, (%r14)
jne 0x3a908
movl %eax, %edi
movq %r14, %rsi
callq 0x2ba99
cmpl $0x0, (%r14)
je 0x3a91c
xorl %r15d, %r15d
movq %rbx, %rdi
callq 0x2b4c3
movq %r15, %rax
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %r15
jmp 0x3a90b
// File: /workspace/github_c_makefile_star2_O1/markdryan[P]subtilis/frontend/int32_type.c
// Function: prv_to_float64
static subtilis_exp_t *prv_to_float64(subtilis_parser_t *p, subtilis_exp_t *e,
				      subtilis_error_t *err)
{
	size_t reg;

	reg = subtilis_ir_section_add_instr2(
	    p->current, SUBTILIS_OP_INSTR_MOV_I32_FP, e->exp.ir_op, err);
	if (err->type != SUBTILIS_ERROR_OK)
		goto on_error;
	e->type.type = SUBTILIS_TYPE_REAL;
	e->exp.ir_op.reg = reg;

	return e;

on_error:

	subtilis_exp_delete(e);
	return NULL;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rsi, %rbx
movq 0x48(%rdi), %rdi
movq 0x148(%rsi), %rdx
movl $0x51, %esi
movq %r14, %rcx
callq 0x2c189
cmpl $0x0, (%r14)
je 0x3a9e0
movq %rbx, %rdi
callq 0x2b4c3
xorl %ebx, %ebx
jmp 0x3a9ed
movl $0x4, (%rbx)
movq %rax, 0x148(%rbx)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/markdryan[P]subtilis/frontend/int32_type.c
// Function: prv_coerce_type
static subtilis_exp_t *prv_coerce_type(subtilis_parser_t *p, subtilis_exp_t *e,
				       const subtilis_type_t *type,
				       subtilis_error_t *err)
{
	switch (type->type) {
	case SUBTILIS_TYPE_CONST_REAL:
		e->type.type = SUBTILIS_TYPE_CONST_INTEGER;
		e->exp.ir_op.integer = (int32_t)e->exp.ir_op.real;
		e = subtilis_type_if_exp_to_var(p, e, err);
		break;
	case SUBTILIS_TYPE_CONST_INTEGER:
		e = subtilis_type_if_exp_to_var(p, e, err);
		break;
	case SUBTILIS_TYPE_REAL:
		e = subtilis_type_if_to_float64(p, e, err);
		break;
	case SUBTILIS_TYPE_BYTE:
		e->type.type = SUBTILIS_TYPE_BYTE;
		break;
	case SUBTILIS_TYPE_INTEGER:
		break;
	default:
		subtilis_error_set_bad_conversion(
		    err, subtilis_type_name(&e->type), subtilis_type_name(type),
		    p->l->stream->name, p->l->line);
		subtilis_exp_delete(e);
		return NULL;
	}

	return e;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rcx, %r14
movq %rdx, %r12
movq %rsi, %rbx
movq %rdi, %r15
movl (%rdx), %eax
cmpq $0x6, %rax
ja 0x3aa82
leaq 0x3aa1a(%rip), %rcx     # 0x75468
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl $0x1, (%rbx)
cvttsd2si 0x148(%rbx), %eax
movl %eax, 0x148(%rbx)
movq %r15, %rdi
movq %rbx, %rsi
movq %r14, %rdx
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmp 0x36269
movq %rbx, %rdi
callq 0x2f882
movq %rax, %r13
movq %r12, %rdi
callq 0x2f882
movq (%r15), %rcx
movq 0x30(%rcx), %r8
movl 0x38(%rcx), %r9d
leaq 0x3aa18(%rip), %r10     # 0x754bf
movq %r14, %rdi
movl $0x45, %esi
movq %r13, %rdx
movq %rax, %rcx
pushq $0x4e9                  # imm = 0x4E9
pushq %r10
callq 0x1442a
addq $0x10, %rsp
movq %rbx, %rdi
callq 0x2b4c3
xorl %ebx, %ebx
jmp 0x3aaee
movq %r15, %rdi
movq %rbx, %rsi
movq %r14, %rdx
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmp 0x36a77
movl $0x6, (%rbx)
movq %rbx, %rax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/markdryan[P]subtilis/frontend/int32_type.c
// Function: prv_unary_minus
static subtilis_exp_t *prv_unary_minus(subtilis_parser_t *p, subtilis_exp_t *e,
				       subtilis_error_t *err)
{
	size_t reg;
	subtilis_ir_operand_t operand;

	operand.integer = 0;
	reg = subtilis_ir_section_add_instr(p->current,
					    SUBTILIS_OP_INSTR_RSUBI_I32,
					    e->exp.ir_op, operand, err);
	if (err->type != SUBTILIS_ERROR_OK)
		goto on_error;
	e->exp.ir_op.reg = reg;
	return e;

on_error:

	subtilis_exp_delete(e);
	return NULL;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rsi, %rbx
movq 0x48(%rdi), %rdi
movq 0x148(%rsi), %rdx
movl $0x21, %esi
xorl %ecx, %ecx
movq %r14, %r8
callq 0x2c00f
cmpl $0x0, (%r14)
je 0x3ab31
movq %rbx, %rdi
callq 0x2b4c3
xorl %ebx, %ebx
jmp 0x3ab38
movq %rax, 0x148(%rbx)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/markdryan[P]subtilis/frontend/int32_type.c
// Function: prv_and
static subtilis_exp_t *prv_and(subtilis_parser_t *p, subtilis_exp_t *a1,
			       subtilis_exp_t *a2, subtilis_error_t *err)
{
	a2 = subtilis_type_if_to_int(p, a2, err);
	if (err->type != SUBTILIS_ERROR_OK) {
		subtilis_exp_delete(a1);
		return NULL;
	}

	/* last two parameters are not used. */

	return prv_commutative(
	    p, a1, a2, SUBTILIS_OP_INSTR_ANDI_I32, SUBTILIS_OP_INSTR_AND_I32,
	    SUBTILIS_OP_INSTR_ANDI_I32, SUBTILIS_OP_INSTR_AND_I32, err);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rcx, %rbx
movq %rsi, %r14
movq %rdi, %r15
movq %rdx, %rsi
movq %rcx, %rdx
callq 0x3691f
cmpl $0x0, (%rbx)
je 0x3abb0
movq %r14, %rdi
callq 0x2b4c3
xorl %eax, %eax
jmp 0x3abd6
movq %r15, %rdi
movq %r14, %rsi
movq %rax, %rdx
movl $0x25, %ecx
movl $0x24, %r8d
movl $0x25, %r9d
pushq %rbx
pushq $0x24
callq 0x3bcf9
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/markdryan[P]subtilis/frontend/int32_type.c
// Function: prv_or
static subtilis_exp_t *prv_or(subtilis_parser_t *p, subtilis_exp_t *a1,
			      subtilis_exp_t *a2, subtilis_error_t *err)
{
	a2 = subtilis_type_if_to_int(p, a2, err);
	if (err->type != SUBTILIS_ERROR_OK) {
		subtilis_exp_delete(a1);
		return NULL;
	}

	/* last two parameters are not used. */

	return prv_commutative(
	    p, a1, a2, SUBTILIS_OP_INSTR_ORI_I32, SUBTILIS_OP_INSTR_OR_I32,
	    SUBTILIS_OP_INSTR_ORI_I32, SUBTILIS_OP_INSTR_OR_I32, err);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rcx, %rbx
movq %rsi, %r14
movq %rdi, %r15
movq %rdx, %rsi
movq %rcx, %rdx
callq 0x3691f
cmpl $0x0, (%rbx)
je 0x3ac06
movq %r14, %rdi
callq 0x2b4c3
xorl %eax, %eax
jmp 0x3ac2c
movq %r15, %rdi
movq %r14, %rsi
movq %rax, %rdx
movl $0x27, %ecx
movl $0x26, %r8d
movl $0x27, %r9d
pushq %rbx
pushq $0x26
callq 0x3bcf9
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/markdryan[P]subtilis/frontend/int32_type.c
// Function: prv_not
static subtilis_exp_t *prv_not(subtilis_parser_t *p, subtilis_exp_t *e,
			       subtilis_error_t *err)
{
	size_t reg;
	subtilis_ir_operand_t operand;

	operand.integer = 0;
	reg = subtilis_ir_section_add_instr(
	    p->current, SUBTILIS_OP_INSTR_NOT_I32, e->exp.ir_op, operand, err);
	if (err->type != SUBTILIS_ERROR_OK)
		goto on_error;
	e->exp.ir_op.reg = reg;
	return e;

on_error:

	subtilis_exp_delete(e);
	return NULL;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rsi, %rbx
movq 0x48(%rdi), %rdi
movq 0x148(%rsi), %rdx
movl $0x2a, %esi
xorl %ecx, %ecx
movq %r14, %r8
callq 0x2c00f
cmpl $0x0, (%r14)
je 0x3ac68
movq %rbx, %rdi
callq 0x2b4c3
xorl %ebx, %ebx
jmp 0x3ac6f
movq %rax, 0x148(%rbx)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/markdryan[P]subtilis/frontend/int32_type.c
// Function: prv_eor
static subtilis_exp_t *prv_eor(subtilis_parser_t *p, subtilis_exp_t *a1,
			       subtilis_exp_t *a2, subtilis_error_t *err)
{
	a2 = subtilis_type_if_to_int(p, a2, err);
	if (err->type != SUBTILIS_ERROR_OK) {
		subtilis_exp_delete(a1);
		return NULL;
	}

	/* last two parameters are not used. */

	return prv_commutative(
	    p, a1, a2, SUBTILIS_OP_INSTR_EORI_I32, SUBTILIS_OP_INSTR_EOR_I32,
	    SUBTILIS_OP_INSTR_EORI_I32, SUBTILIS_OP_INSTR_EOR_I32, err);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rcx, %rbx
movq %rsi, %r14
movq %rdi, %r15
movq %rdx, %rsi
movq %rcx, %rdx
callq 0x3691f
cmpl $0x0, (%rbx)
je 0x3aca4
movq %r14, %rdi
callq 0x2b4c3
xorl %eax, %eax
jmp 0x3acca
movq %r15, %rdi
movq %r14, %rsi
movq %rax, %rdx
movl $0x29, %ecx
movl $0x28, %r8d
movl $0x29, %r9d
pushq %rbx
pushq $0x28
callq 0x3bcf9
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/markdryan[P]subtilis/frontend/int32_type.c
// Function: prv_abs
static subtilis_exp_t *prv_abs(subtilis_parser_t *p, subtilis_exp_t *e,
			       subtilis_error_t *err)
{
	size_t reg;
	subtilis_ir_operand_t op1;
	subtilis_ir_operand_t op2;

	op2.integer = 31;
	reg = subtilis_ir_section_add_instr(
	    p->current, SUBTILIS_OP_INSTR_ASRI_I32, e->exp.ir_op, op2, err);
	if (err->type != SUBTILIS_ERROR_OK)
		goto cleanup;
	op2.reg = reg;
	reg = subtilis_ir_section_add_instr(
	    p->current, SUBTILIS_OP_INSTR_ADD_I32, e->exp.ir_op, op2, err);
	if (err->type != SUBTILIS_ERROR_OK)
		goto cleanup;
	op1.reg = reg;
	reg = subtilis_ir_section_add_instr(
	    p->current, SUBTILIS_OP_INSTR_EOR_I32, op1, op2, err);
	if (err->type != SUBTILIS_ERROR_OK)
		goto cleanup;
	e->exp.ir_op.reg = reg;

	return e;

cleanup:

	subtilis_exp_delete(e);

	return NULL;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rsi, %rbx
movq %rdi, %r15
movq 0x48(%rdi), %rdi
movq 0x148(%rsi), %rdx
movl $0x1f, %ecx
movl $0x50, %esi
movq %r14, %r8
callq 0x2c00f
cmpl $0x0, (%r14)
jne 0x3b56e
movq %rax, %r12
movq 0x48(%r15), %rdi
movq 0x148(%rbx), %rdx
xorl %esi, %esi
movq %rax, %rcx
movq %r14, %r8
callq 0x2c00f
cmpl $0x0, (%r14)
jne 0x3b56e
movq 0x48(%r15), %rdi
movl $0x28, %esi
movq %rax, %rdx
movq %r12, %rcx
movq %r14, %r8
callq 0x2c00f
cmpl $0x0, (%r14)
je 0x3b587
movq %rbx, %rdi
callq 0x2b4c3
xorl %ebx, %ebx
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, 0x148(%rbx)
jmp 0x3b578
// File: /workspace/github_c_makefile_star2_O1/markdryan[P]subtilis/frontend/int32_type.c
// Function: prv_sgn
static subtilis_exp_t *prv_sgn(subtilis_parser_t *p, subtilis_exp_t *e,
			       subtilis_error_t *err)
{
	subtilis_ir_operand_t less_zero;
	subtilis_ir_operand_t gte_zero;
	size_t reg;
	size_t reg2;
	subtilis_ir_operand_t op1;
	subtilis_ir_operand_t op2;

	less_zero.label = subtilis_ir_section_new_label(p->current);
	gte_zero.label = subtilis_ir_section_new_label(p->current);

	op2.integer = 0;
	reg = subtilis_ir_section_add_instr(
	    p->current, SUBTILIS_OP_INSTR_LTI_I32, e->exp.ir_op, op2, err);
	if (err->type != SUBTILIS_ERROR_OK)
		goto cleanup;

	op1.reg = reg;
	subtilis_ir_section_add_instr_reg(p->current, SUBTILIS_OP_INSTR_JMPC,
					  op1, less_zero, gte_zero, err);
	if (err->type != SUBTILIS_ERROR_OK)
		goto cleanup;

	subtilis_ir_section_add_label(p->current, gte_zero.label, err);
	if (err->type != SUBTILIS_ERROR_OK)
		goto cleanup;

	reg2 = subtilis_ir_section_add_instr(
	    p->current, SUBTILIS_OP_INSTR_GTI_I32, e->exp.ir_op, op2, err);
	if (err->type != SUBTILIS_ERROR_OK)
		goto cleanup;

	e->exp.ir_op.reg = reg2;
	e = prv_abs(p, e, err);
	if (err->type != SUBTILIS_ERROR_OK)
		goto cleanup;

	prv_assign_to_reg(p, reg, e, err);
	e = NULL;
	if (err->type != SUBTILIS_ERROR_OK)
		goto cleanup;

	subtilis_ir_section_add_label(p->current, less_zero.label, err);
	if (err->type != SUBTILIS_ERROR_OK)
		goto cleanup;

	return subtilis_exp_new_int32_var(reg, err);

cleanup:

	subtilis_exp_delete(e);

	return NULL;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rsi, %rbx
movq %rdi, %r15
movq 0x48(%rdi), %rdi
callq 0x2d00a
movq %rax, %r12
movq 0x48(%r15), %rdi
callq 0x2d00a
movq %rax, %rbp
movq 0x48(%r15), %rdi
movq 0x148(%rbx), %rdx
movl $0x3d, %esi
xorl %ecx, %ecx
movq %r14, %r8
callq 0x2c00f
cmpl $0x0, (%r14)
jne 0x3b688
movq %rax, %r13
movq 0x48(%r15), %rdi
movl $0x43, %esi
movq %rax, %rdx
movq %r12, %rcx
movq %rbp, %r8
movq %r14, %r9
callq 0x2c0c2
cmpl $0x0, (%r14)
jne 0x3b688
movq 0x48(%r15), %rdi
movq %rbp, %rsi
movq %r14, %rdx
callq 0x2d017
cmpl $0x0, (%r14)
jne 0x3b688
movq 0x48(%r15), %rdi
movq 0x148(%rbx), %rdx
movl $0x35, %esi
xorl %ecx, %ecx
movq %r14, %r8
callq 0x2c00f
cmpl $0x0, (%r14)
jne 0x3b688
movq %rax, 0x148(%rbx)
movq %r15, %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq 0x3b4fc
movq %rax, %rbx
cmpl $0x0, (%r14)
jne 0x3b688
movq %r15, %rdi
movq %r13, %rsi
movq %rbx, %rdx
movq %r14, %rcx
callq 0x3a921
cmpl $0x0, (%r14)
jne 0x3b686
movq 0x48(%r15), %rdi
movq %r12, %rsi
movq %r14, %rdx
callq 0x2d017
cmpl $0x0, (%r14)
je 0x3b6a1
xorl %ebx, %ebx
movq %rbx, %rdi
callq 0x2b4c3
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl %r13d, %edi
movq %r14, %rsi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x2ba99
// File: /workspace/github_c_makefile_star2_O1/markdryan[P]subtilis/frontend/int32_type.c
// Function: prv_print
static void prv_print(subtilis_parser_t *p, subtilis_exp_t *e,
		      subtilis_error_t *err)
{
	const subtilis_symbol_t *s;
	subtilis_exp_t *sizee;
	size_t ptr;
	size_t size_reg;
	subtilis_ir_operand_t op0;
	subtilis_ir_operand_t op1;

	s = subtilis_symbol_table_create_named_local_buf(
	    p->local_st, "32_int_print_buf", 16, err);
	if (err->type != SUBTILIS_ERROR_OK)
		goto cleanup;

	ptr = subtilis_reference_get_pointer(p, SUBTILIS_IR_REG_LOCAL, s->loc,
					     err);
	if (err->type != SUBTILIS_ERROR_OK)
		goto cleanup;

	op0.reg = ptr;
	if (p->backend.caps & SUBTILIS_BACKEND_HAVE_I32_TO_DEC) {
		size_reg = subtilis_ir_section_add_instr(
		    p->current, SUBTILIS_OP_INSTR_I32TODEC, e->exp.ir_op, op0,
		    err);
		if (err->type != SUBTILIS_ERROR_OK)
			goto cleanup;
	} else {
		sizee = subtilis_builtin_ir_call_dec_to_str(p, e->exp.ir_op.reg,
							    op0.reg, err);
		if (err->type != SUBTILIS_ERROR_OK)
			goto cleanup;
		size_reg = sizee->exp.ir_op.reg;
		subtilis_exp_delete(sizee);
	}

	op1.reg = size_reg;
	subtilis_ir_section_add_instr_no_reg2(
	    p->current, SUBTILIS_OP_INSTR_PRINT_STR, op0, op1, err);

cleanup:

	subtilis_exp_delete(e);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdx, %r14
movq %rsi, %rbx
movq %rdi, %r15
movq 0x68(%rdi), %rdi
leaq 0x39d75(%rip), %rsi     # 0x754db
movl $0x10, %edx
movq %r14, %rcx
callq 0x2e9ce
cmpl $0x0, (%r14)
jne 0x3b792
movq (%rax), %rdx
movl $0x2, %esi
movq %r15, %rdi
movq %r14, %rcx
callq 0x4d763
cmpl $0x0, (%r14)
je 0x3b7a3
movq %rbx, %rdi
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmp 0x2b4c3
movq %rax, %r12
testb $0x4, 0x8(%r15)
jne 0x3b7d9
movq 0x148(%rbx), %rsi
movq %r15, %rdi
movq %r12, %rdx
movq %r14, %rcx
callq 0x31ebd
cmpl $0x0, (%r14)
jne 0x3b792
movq 0x148(%rax), %r13
movq %rax, %rdi
callq 0x2b4c3
jmp 0x3b7fd
movq 0x48(%r15), %rdi
movq 0x148(%rbx), %rdx
movl $0x84, %esi
movq %r12, %rcx
movq %r14, %r8
callq 0x2c00f
cmpl $0x0, (%r14)
jne 0x3b792
movq %rax, %r13
movq 0x48(%r15), %rdi
movl $0x1f, %esi
movq %r12, %rdx
movq %r13, %rcx
movq %r14, %r8
callq 0x2c1ac
jmp 0x3b792
// File: /workspace/github_c_makefile_star2_O1/markdryan[P]subtilis/frontend/int32_type.c
// Function: prv_swap_reg_reg
static void prv_swap_reg_reg(subtilis_parser_t *p, const subtilis_type_t *type,
			     size_t reg1, size_t reg2, subtilis_error_t *err)
{
	subtilis_ir_operand_t op1;
	subtilis_ir_operand_t op2;
	subtilis_ir_operand_t tmp;

	op1.reg = reg1;
	op2.reg = reg2;

	tmp.reg = subtilis_ir_section_add_instr2(
	    p->current, SUBTILIS_OP_INSTR_MOV, op1, err);
	if (err->type != SUBTILIS_ERROR_OK)
		return;

	subtilis_ir_section_add_instr_no_reg2(p->current, SUBTILIS_OP_INSTR_MOV,
					      op1, op2, err);
	if (err->type != SUBTILIS_ERROR_OK)
		return;

	subtilis_ir_section_add_instr_no_reg2(p->current, SUBTILIS_OP_INSTR_MOV,
					      op2, tmp, err);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %r8, %rbx
movq %rcx, %r14
movq %rdx, %r13
movq %rdi, %r15
movq 0x48(%rdi), %rdi
movl $0x1d, %esi
movq %r8, %rcx
callq 0x2c189
cmpl $0x0, (%rbx)
jne 0x3b863
movq %rax, %r12
movq 0x48(%r15), %rdi
movl $0x1d, %esi
movq %r13, %rdx
movq %r14, %rcx
movq %rbx, %r8
callq 0x2c1ac
cmpl $0x0, (%rbx)
je 0x3b86d
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq 0x48(%r15), %rdi
movl $0x1d, %esi
movq %r14, %rdx
movq %r12, %rcx
movq %rbx, %r8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmp 0x2c1ac
// File: /workspace/github_c_makefile_star2_O1/markdryan[P]subtilis/frontend/int32_type.c
// Function: prv_swap_reg_mem
static void prv_swap_reg_mem(subtilis_parser_t *p, const subtilis_type_t *type,
			     size_t reg1, size_t reg2, subtilis_error_t *err)
{
	subtilis_ir_operand_t op1;
	subtilis_ir_operand_t op2;
	subtilis_ir_operand_t zero;
	subtilis_ir_operand_t tmp;

	op1.reg = reg1;
	op2.reg = reg2;
	zero.integer = 0;

	tmp.reg = subtilis_ir_section_add_instr2(
	    p->current, SUBTILIS_OP_INSTR_MOV, op1, err);
	if (err->type != SUBTILIS_ERROR_OK)
		return;

	subtilis_ir_section_add_instr_reg(
	    p->current, SUBTILIS_OP_INSTR_LOADO_I32, op1, op2, zero, err);
	if (err->type != SUBTILIS_ERROR_OK)
		return;

	subtilis_ir_section_add_instr_reg(
	    p->current, SUBTILIS_OP_INSTR_STOREO_I32, tmp, op2, zero, err);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %r8, %rbx
movq %rcx, %r14
movq %rdx, %r13
movq %rdi, %r15
movq 0x48(%rdi), %rdi
movl $0x1d, %esi
movq %r8, %rcx
callq 0x2c189
cmpl $0x0, (%rbx)
jne 0x3b8da
movq %rax, %r12
movq 0x48(%r15), %rdi
movl $0x12, %esi
movq %r13, %rdx
movq %r14, %rcx
xorl %r8d, %r8d
movq %rbx, %r9
callq 0x2c0c2
cmpl $0x0, (%rbx)
je 0x3b8e4
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq 0x48(%r15), %rdi
movl $0x17, %esi
movq %r12, %rdx
movq %r14, %rcx
xorl %r8d, %r8d
movq %rbx, %r9
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmp 0x2c0c2
// File: /workspace/github_c_makefile_star2_O1/markdryan[P]subtilis/frontend/int32_type.c
// Function: prv_div_mod_const_var
static void prv_div_mod_const_var(subtilis_parser_t *p, subtilis_exp_t *a1,
				  subtilis_exp_t *a2,
				  subtilis_op_instr_type_t type,
				  subtilis_error_t *err)
{
	a1->type.type = SUBTILIS_TYPE_INTEGER;
	a1->exp.ir_op.reg = subtilis_ir_section_add_instr2(
	    p->current, SUBTILIS_OP_INSTR_MOVI_I32, a1->exp.ir_op, err);
	if (err->type != SUBTILIS_ERROR_OK)
		return;
	a1->exp.ir_op.reg =
	    prv_div_mod_vars(p, a1->exp.ir_op, a2->exp.ir_op, type, err);
	if (err->type != SUBTILIS_ERROR_OK)
		return;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %r8, %r14
movl %ecx, %ebp
movq %rdx, %r12
movq %rsi, %rbx
movq %rdi, %r15
movl $0x5, (%rsi)
movq 0x48(%rdi), %rdi
movq 0x148(%rsi), %rdx
movl $0x1b, %esi
movq %r8, %rcx
callq 0x2c189
movq %rax, 0x148(%rbx)
cmpl $0x0, (%r14)
jne 0x3b974
movq 0x148(%r12), %rdx
movq %r15, %rdi
movq %rax, %rsi
movl %ebp, %ecx
movq %r14, %r8
callq 0x3b97d
movq %rax, 0x148(%rbx)
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/markdryan[P]subtilis/frontend/int32_type.c
// Function: prv_shift_const_var
static void prv_shift_const_var(subtilis_parser_t *p, subtilis_exp_t *a1,
				subtilis_exp_t *a2,
				subtilis_op_instr_type_t op_type,
				subtilis_error_t *err)
{
	subtilis_ir_operand_t op;
	size_t reg;

	op.reg = subtilis_ir_section_add_instr2(
	    p->current, SUBTILIS_OP_INSTR_MOVI_I32, a1->exp.ir_op, err);
	if (err->type != SUBTILIS_ERROR_OK)
		return;
	reg = subtilis_ir_section_add_instr(p->current, op_type, op,
					    a2->exp.ir_op, err);
	if (err->type != SUBTILIS_ERROR_OK)
		return;
	a1->exp.ir_op.reg = reg;
	a1->type.type = SUBTILIS_TYPE_INTEGER;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %r8, %r14
movl %ecx, %ebp
movq %rdx, %r15
movq %rsi, %rbx
movq %rdi, %r12
movq 0x48(%rdi), %rdi
movq 0x148(%rsi), %rdx
movl $0x1b, %esi
movq %r8, %rcx
callq 0x2c189
cmpl $0x0, (%r14)
jne 0x3bb99
movq 0x48(%r12), %rdi
movq 0x148(%r15), %rcx
movl %ebp, %esi
movq %rax, %rdx
movq %r14, %r8
callq 0x2c00f
cmpl $0x0, (%r14)
jne 0x3bb99
movq %rax, 0x148(%rbx)
movl $0x5, (%rbx)
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/markdryan[P]subtilis/frontend/int32_type.c
// Function: prv_commutative
static subtilis_exp_t *prv_commutative(subtilis_parser_t *p, subtilis_exp_t *a1,
				       subtilis_exp_t *a2,
				       subtilis_op_instr_type_t in_var_imm,
				       subtilis_op_instr_type_t in_var_var,
				       subtilis_op_instr_type_t real_var_imm,
				       subtilis_op_instr_type_t real_var_var,
				       subtilis_error_t *err)
{
	size_t reg;

	switch (a2->type.type) {
	case SUBTILIS_TYPE_CONST_INTEGER:
		reg = subtilis_ir_section_add_instr(
		    p->current, in_var_imm, a1->exp.ir_op, a2->exp.ir_op, err);
		if (err->type != SUBTILIS_ERROR_OK)
			goto on_error;
		a1->exp.ir_op.reg = reg;
		break;
	case SUBTILIS_TYPE_CONST_REAL:
		prv_commutative_const_real(p, a1, a2, real_var_imm,
					   &subtilis_type_real, err);
		if (err->type != SUBTILIS_ERROR_OK)
			goto on_error;
		break;
	case SUBTILIS_TYPE_BYTE:
		a2 = subtilis_type_if_to_int(p, a2, err);
		if (err->type != SUBTILIS_ERROR_OK)
			goto on_error;
	case SUBTILIS_TYPE_INTEGER:
		reg = subtilis_ir_section_add_instr(
		    p->current, in_var_var, a1->exp.ir_op, a2->exp.ir_op, err);
		if (err->type != SUBTILIS_ERROR_OK)
			goto on_error;
		a1->exp.ir_op.reg = reg;
		break;
	case SUBTILIS_TYPE_REAL:
		prv_commutative_real(p, a1, a2, real_var_var,
				     &subtilis_type_real, err);
		if (err->type != SUBTILIS_ERROR_OK)
			goto on_error;
		break;
	default:
		subtilis_error_set_bad_expression(err, p->l->stream->name,
						  p->l->line);
		goto on_error;
	}

	subtilis_exp_delete(a2);
	return a1;

on_error:
	subtilis_exp_delete(a1);
	subtilis_exp_delete(a2);
	return NULL;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rdx, %r14
movq %rsi, %rbx
movq %rdi, %r12
movq 0x38(%rsp), %r15
movl (%rdx), %eax
cmpq $0x6, %rax
ja 0x3bd47
movl %r8d, %ebp
leaq 0x39763(%rip), %rdx     # 0x75484
movslq (%rdx,%rax,4), %rax
addq %rdx, %rax
jmpq *%rax
leaq 0x38a7f(%rip), %r8      # 0x747b0
movq %r12, %rdi
movq %rbx, %rsi
movq %r14, %rdx
movl %r9d, %ecx
movq %r15, %r9
callq 0x3be0d
jmp 0x3bd8a
movq (%r12), %rax
movq 0x30(%rax), %rdx
movl 0x38(%rax), %ecx
leaq 0x39766(%rip), %r8      # 0x754bf
movq %r15, %rdi
movl $0x19, %esi
movl $0x55f, %r9d            # imm = 0x55F
callq 0x14618
jmp 0x3bde6
movl 0x30(%rsp), %ecx
leaq 0x38a37(%rip), %r8      # 0x747b0
movq %r12, %rdi
movq %rbx, %rsi
movq %r14, %rdx
movq %r15, %r9
callq 0x3be9e
cmpl $0x0, (%r15)
jne 0x3bde6
jmp 0x3bdf0
movq 0x48(%r12), %rdi
movq 0x148(%rbx), %rdx
movq 0x148(%r14), %rax
movl %ecx, %esi
movq %rax, %rcx
jmp 0x3bdd8
movq %r12, %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x3691f
movq %rax, %r14
cmpl $0x0, (%r15)
jne 0x3bde6
movq 0x48(%r12), %rdi
movq 0x148(%rbx), %rdx
movq 0x148(%r14), %rcx
movl %ebp, %esi
movq %r15, %r8
callq 0x2c00f
cmpl $0x0, (%r15)
je 0x3be04
movq %rbx, %rdi
callq 0x2b4c3
xorl %ebx, %ebx
movq %r14, %rdi
callq 0x2b4c3
movq %rbx, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, 0x148(%rbx)
jmp 0x3bdf0
// File: /workspace/github_c_makefile_star2_O1/markdryan[P]subtilis/frontend/int32_type.c
// Function: prv_commutative_const_real
static void prv_commutative_const_real(subtilis_parser_t *p, subtilis_exp_t *a1,
				       subtilis_exp_t *a2,
				       subtilis_op_instr_type_t real_var_imm,
				       const subtilis_type_t *result_type,
				       subtilis_error_t *err)
{
	size_t reg;

	reg = subtilis_ir_section_add_instr2(
	    p->current, SUBTILIS_OP_INSTR_MOV_I32_FP, a1->exp.ir_op, err);
	if (err->type != SUBTILIS_ERROR_OK)
		return;
	subtilis_type_copy(&a1->type, result_type, err);
	if (err->type != SUBTILIS_ERROR_OK)
		return;
	a1->exp.ir_op.reg = reg;
	reg = subtilis_ir_section_add_instr(p->current, real_var_imm,
					    a1->exp.ir_op, a2->exp.ir_op, err);
	if (err->type != SUBTILIS_ERROR_OK)
		return;
	a1->exp.ir_op.reg = reg;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r9, %r14
movq %r8, %rbp
movl %ecx, 0x4(%rsp)
movq %rdx, %r15
movq %rsi, %rbx
movq %rdi, %r12
movq 0x48(%rdi), %rdi
movq 0x148(%rsi), %rdx
movl $0x51, %esi
movq %r9, %rcx
callq 0x2c189
cmpl $0x0, (%r14)
jne 0x3be8f
movq %rax, %r13
movq %rbx, %rdi
movq %rbp, %rsi
movq %r14, %rdx
callq 0x2fa5f
cmpl $0x0, (%r14)
jne 0x3be8f
movq %r13, 0x148(%rbx)
movq 0x48(%r12), %rdi
movq 0x148(%r15), %rcx
movl 0x4(%rsp), %esi
movq %r13, %rdx
movq %r14, %r8
callq 0x2c00f
cmpl $0x0, (%r14)
jne 0x3be8f
movq %rax, 0x148(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/markdryan[P]subtilis/frontend/int32_type.c
// Function: prv_commutative_logical
static subtilis_exp_t *prv_commutative_logical(
	subtilis_parser_t *p, subtilis_exp_t *a1, subtilis_exp_t *a2,
	subtilis_op_instr_type_t in_var_imm,
	subtilis_op_instr_type_t in_var_var,
	subtilis_op_instr_type_t real_var_imm,
	subtilis_op_instr_type_t real_var_var, subtilis_error_t *err)

/* clang-format on */
{
	size_t reg;

	switch (a2->type.type) {
	case SUBTILIS_TYPE_CONST_INTEGER:
		reg = subtilis_ir_section_add_instr(
		    p->current, in_var_imm, a1->exp.ir_op, a2->exp.ir_op, err);
		if (err->type != SUBTILIS_ERROR_OK)
			goto on_error;
		a1->exp.ir_op.reg = reg;
		break;
	case SUBTILIS_TYPE_CONST_REAL:
		prv_commutative_const_real(p, a1, a2, real_var_imm,
					   &subtilis_type_integer, err);
		if (err->type != SUBTILIS_ERROR_OK)
			goto on_error;
		break;
	case SUBTILIS_TYPE_BYTE:
		a2 = subtilis_type_if_to_int(p, a2, err);
		if (err->type != SUBTILIS_ERROR_OK)
			goto on_error;
	case SUBTILIS_TYPE_INTEGER:
		reg = subtilis_ir_section_add_instr(
		    p->current, in_var_var, a1->exp.ir_op, a2->exp.ir_op, err);
		if (err->type != SUBTILIS_ERROR_OK)
			goto on_error;
		a1->exp.ir_op.reg = reg;
		break;
	case SUBTILIS_TYPE_REAL:
		prv_commutative_real(p, a1, a2, real_var_var,
				     &subtilis_type_integer, err);
		if (err->type != SUBTILIS_ERROR_OK)
			goto on_error;
		break;
	default:
		subtilis_error_set_bad_expression(err, p->l->stream->name,
						  p->l->line);
		goto on_error;
	}

	subtilis_exp_delete(a2);
	return a1;

on_error:
	subtilis_exp_delete(a1);
	subtilis_exp_delete(a2);
	return NULL;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rdx, %r14
movq %rsi, %rbx
movq %rdi, %r12
movq 0x38(%rsp), %r15
movl (%rdx), %eax
cmpq $0x6, %rax
ja 0x3bf7d
movl %r8d, %ebp
leaq 0x39549(%rip), %rdx     # 0x754a0
movslq (%rdx,%rax,4), %rax
addq %rdx, %rax
jmpq *%rax
leaq 0x38991(%rip), %r8      # 0x748f8
movq %r12, %rdi
movq %rbx, %rsi
movq %r14, %rdx
movl %r9d, %ecx
movq %r15, %r9
callq 0x3be0d
jmp 0x3bfc0
movq (%r12), %rax
movq 0x30(%rax), %rdx
movl 0x38(%rax), %ecx
leaq 0x39530(%rip), %r8      # 0x754bf
movq %r15, %rdi
movl $0x19, %esi
movl $0x599, %r9d            # imm = 0x599
callq 0x14618
jmp 0x3c01c
movl 0x30(%rsp), %ecx
leaq 0x38949(%rip), %r8      # 0x748f8
movq %r12, %rdi
movq %rbx, %rsi
movq %r14, %rdx
movq %r15, %r9
callq 0x3be9e
cmpl $0x0, (%r15)
jne 0x3c01c
jmp 0x3c026
movq 0x48(%r12), %rdi
movq 0x148(%rbx), %rdx
movq 0x148(%r14), %rax
movl %ecx, %esi
movq %rax, %rcx
jmp 0x3c00e
movq %r12, %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x3691f
movq %rax, %r14
cmpl $0x0, (%r15)
jne 0x3c01c
movq 0x48(%r12), %rdi
movq 0x148(%rbx), %rdx
movq 0x148(%r14), %rcx
movl %ebp, %esi
movq %r15, %r8
callq 0x2c00f
cmpl $0x0, (%r15)
je 0x3c03a
movq %rbx, %rdi
callq 0x2b4c3
xorl %ebx, %ebx
movq %r14, %rdi
callq 0x2b4c3
movq %rbx, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, 0x148(%rbx)
jmp 0x3c026
// File: /workspace/github_c_makefile_star2_O1/markdryan[P]subtilis/frontend/int32_type.c
// Function: prv_shift
static subtilis_exp_t *prv_shift(subtilis_parser_t *p, subtilis_exp_t *a1,
				 subtilis_exp_t *a2,
				 subtilis_op_instr_type_t op_type,
				 subtilis_op_instr_type_t opi_type,
				 subtilis_error_t *err)
{
	size_t reg;

	switch (a2->type.type) {
	case SUBTILIS_TYPE_CONST_INTEGER:
		reg = subtilis_ir_section_add_instr(
		    p->current, opi_type, a1->exp.ir_op, a2->exp.ir_op, err);
		if (err->type != SUBTILIS_ERROR_OK)
			goto on_error;
		a1->exp.ir_op.reg = reg;
		break;
	case SUBTILIS_TYPE_BYTE:
		a2->type.type = SUBTILIS_TYPE_INTEGER;
	case SUBTILIS_TYPE_INTEGER:
		reg = subtilis_ir_section_add_instr(
		    p->current, op_type, a1->exp.ir_op, a2->exp.ir_op, err);
		if (err->type != SUBTILIS_ERROR_OK)
			goto on_error;
		a1->exp.ir_op.reg = reg;
		break;
	default:
		subtilis_error_set_assertion_failed(err);
		goto on_error;
	}

	subtilis_exp_delete(a2);
	return a1;

on_error:
	subtilis_exp_delete(a1);
	subtilis_exp_delete(a2);
	return NULL;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %r9, %r15
movq %rdx, %rbx
movq %rsi, %r14
movl (%rdx), %eax
cmpl $0x6, %eax
je 0x3c079
cmpl $0x5, %eax
je 0x3c07f
cmpl $0x1, %eax
jne 0x3c0ad
movq 0x48(%rdi), %rdi
movq 0x148(%r14), %rdx
movq 0x148(%rbx), %rcx
movl %r8d, %esi
jmp 0x3c096
movl $0x5, (%rbx)
movq 0x48(%rdi), %rdi
movq 0x148(%r14), %rdx
movq 0x148(%rbx), %rax
movl %ecx, %esi
movq %rax, %rcx
movq %r15, %r8
callq 0x2c00f
cmpl $0x0, (%r15)
jne 0x3c0c6
movq %rax, 0x148(%r14)
jmp 0x3c0d1
leaq 0x3940b(%rip), %rdx     # 0x754bf
movq %r15, %rdi
movl $0xf, %esi
movl $0x7c0, %ecx            # imm = 0x7C0
callq 0x145f4
movq %r14, %rdi
callq 0x2b4c3
xorl %r14d, %r14d
movq %rbx, %rdi
callq 0x2b4c3
movq %r14, %rax
popq %rbx
popq %r14
popq %r15
retq
nop
// File: /workspace/github_c_makefile_star2_O1/markdryan[P]subtilis/frontend/byte_type_if.c
// Function: prv_zero
static subtilis_exp_t *prv_zero(subtilis_parser_t *p,
				const subtilis_type_t *type,
				subtilis_error_t *err)
{
	subtilis_ir_operand_t op1;
	size_t reg_num;

	op1.integer = 0;
	reg_num = subtilis_ir_section_add_instr2(
	    p->current, SUBTILIS_OP_INSTR_MOVI_I32, op1, err);
	if (err->type != SUBTILIS_ERROR_OK)
		return NULL;
	return subtilis_exp_new_byte_var(reg_num, err);
}

// Assembly:
pushq %rbx
movq %rdx, %rbx
movq 0x48(%rdi), %rdi
movl $0x1b, %esi
xorl %edx, %edx
movq %rbx, %rcx
callq 0x2c189
cmpl $0x0, (%rbx)
je 0x3c10a
xorl %eax, %eax
popq %rbx
retq
movl %eax, %edi
movq %rbx, %rsi
popq %rbx
jmp 0x2bac9
// File: /workspace/github_c_makefile_star2_O1/markdryan[P]subtilis/frontend/byte_type_if.c
// Function: prv_top_bit
static subtilis_exp_t *prv_top_bit(subtilis_parser_t *p, subtilis_error_t *err)
{
	subtilis_ir_operand_t op1;
	size_t reg_num;

	op1.integer = (int32_t)0x80;
	reg_num = subtilis_ir_section_add_instr2(
	    p->current, SUBTILIS_OP_INSTR_MOVI_I32, op1, err);
	if (err->type != SUBTILIS_ERROR_OK)
		return NULL;
	return subtilis_exp_new_byte_var(reg_num, err);
}

// Assembly:
pushq %rbx
movq %rsi, %rbx
movq 0x48(%rdi), %rdi
movl $0x80, %edx
movl $0x1b, %esi
movq %rbx, %rcx
callq 0x2c189
cmpl $0x0, (%rbx)
je 0x3c138
xorl %eax, %eax
popq %rbx
retq
movl %eax, %edi
movq %rbx, %rsi
popq %rbx
jmp 0x2bac9
// File: /workspace/github_c_makefile_star2_O1/markdryan[P]subtilis/frontend/byte_type_if.c
// Function: prv_to_int32
static subtilis_exp_t *prv_to_int32(subtilis_parser_t *p, subtilis_exp_t *e,
				    subtilis_error_t *err)
{
	size_t reg;

	reg = subtilis_ir_section_add_instr2(
	    p->current, SUBTILIS_OP_INSTR_SIGNX_8_TO_32, e->exp.ir_op, err);
	if (err->type != SUBTILIS_ERROR_OK)
		goto on_error;
	e->type.type = SUBTILIS_TYPE_INTEGER;
	e->exp.ir_op.reg = reg;
	return e;

on_error:

	subtilis_exp_delete(e);
	return NULL;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rsi, %rbx
movq 0x48(%rdi), %rdi
movq 0x148(%rsi), %rdx
movl $0x97, %esi
movq %r14, %rcx
callq 0x2c189
cmpl $0x0, (%r14)
je 0x3c285
movq %rbx, %rdi
callq 0x2b4c3
xorl %ebx, %ebx
jmp 0x3c292
movl $0x5, (%rbx)
movq %rax, 0x148(%rbx)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/markdryan[P]subtilis/frontend/byte_type_if.c
// Function: prv_zerox_from_type
static subtilis_exp_t *prv_zerox_from_type(subtilis_parser_t *p,
					   subtilis_exp_t *e,
					   const subtilis_type_t *type,
					   subtilis_error_t *err)
{
	if (type->type != SUBTILIS_TYPE_INTEGER) {
		subtilis_error_set_bad_zero_extend(
		    err, subtilis_type_name(&e->type), subtilis_type_name(type),
		    p->l->stream->name, p->l->line);
		subtilis_exp_delete(e);
		return NULL;
	}

	return prv_zerox(p, e, err);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rcx, %r14
movq %rsi, %rbx
movq %rdi, %r15
cmpl $0x5, (%rdx)
jne 0x3c2cb
movq %r15, %rdi
movq %rbx, %rsi
movq %r14, %rdx
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmp 0x3ca21
movq %rdx, %r12
movq %rbx, %rdi
callq 0x2f882
movq %rax, %r13
movq %r12, %rdi
callq 0x2f882
movq (%r15), %rcx
movq 0x30(%rcx), %r8
movl 0x38(%rcx), %r9d
leaq 0x391f9(%rip), %r10     # 0x754ec
movq %r14, %rdi
movl $0x46, %esi
movq %r13, %rdx
movq %rax, %rcx
pushq $0x100                  # imm = 0x100
pushq %r10
callq 0x1442a
addq $0x10, %rsp
movq %rbx, %rdi
callq 0x2b4c3
xorl %eax, %eax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/markdryan[P]subtilis/frontend/byte_type_if.c
// Function: prv_to_float64
static subtilis_exp_t *prv_to_float64(subtilis_parser_t *p, subtilis_exp_t *e,
				      subtilis_error_t *err)
{
	size_t reg;

	e = prv_to_int32(p, e, err);
	if (err->type != SUBTILIS_ERROR_OK)
		return NULL;

	reg = subtilis_ir_section_add_instr2(
	    p->current, SUBTILIS_OP_INSTR_MOV_I32_FP, e->exp.ir_op, err);
	if (err->type != SUBTILIS_ERROR_OK)
		goto on_error;
	e->type.type = SUBTILIS_TYPE_REAL;
	e->exp.ir_op.reg = reg;

	return e;

on_error:

	subtilis_exp_delete(e);
	return NULL;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %r14
movq %rdi, %r15
callq 0x3c251
cmpl $0x0, (%r14)
jne 0x3c368
movq %rax, %rbx
movq 0x48(%r15), %rdi
movq 0x148(%rax), %rdx
movl $0x51, %esi
movq %r14, %rcx
callq 0x2c189
cmpl $0x0, (%r14)
je 0x3c373
movq %rbx, %rdi
callq 0x2b4c3
xorl %ebx, %ebx
movq %rbx, %rax
popq %rbx
popq %r14
popq %r15
retq
movl $0x4, (%rbx)
movq %rax, 0x148(%rbx)
jmp 0x3c36a
// File: /workspace/github_c_makefile_star2_O1/markdryan[P]subtilis/frontend/byte_type_if.c
// Function: prv_coerce_type
static subtilis_exp_t *prv_coerce_type(subtilis_parser_t *p, subtilis_exp_t *e,
				       const subtilis_type_t *type,
				       subtilis_error_t *err)
{
	switch (type->type) {
	case SUBTILIS_TYPE_REAL:
		e = prv_to_float64(p, e, err);
		break;
	case SUBTILIS_TYPE_BYTE:
		break;
	case SUBTILIS_TYPE_INTEGER:
		e = prv_to_int32(p, e, err);
		if (err->type != SUBTILIS_ERROR_OK)
			return NULL;
		break;
	default:
		subtilis_error_set_bad_conversion(
		    err, subtilis_type_name(&e->type), subtilis_type_name(type),
		    p->l->stream->name, p->l->line);
		subtilis_exp_delete(e);
		return NULL;
	}

	return e;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rsi, %rbx
movl (%rdx), %eax
cmpl $0x6, %eax
je 0x3c490
movq %rcx, %r14
movq %rdi, %r15
cmpl $0x5, %eax
je 0x3c426
cmpl $0x4, %eax
jne 0x3c440
movq %r15, %rdi
movq %rbx, %rsi
movq %r14, %rdx
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmp 0x3c329
movq %r15, %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq 0x3c251
xorl %ebx, %ebx
cmpl $0x0, (%r14)
cmoveq %rax, %rbx
jmp 0x3c490
movq %rdx, %r12
movq %rbx, %rdi
callq 0x2f882
movq %rax, %r13
movq %r12, %rdi
callq 0x2f882
movq (%r15), %rcx
movq 0x30(%rcx), %r8
movl 0x38(%rcx), %r9d
leaq 0x39084(%rip), %r10     # 0x754ec
movq %r14, %rdi
movl $0x45, %esi
movq %r13, %rdx
movq %rax, %rcx
pushq $0x179                  # imm = 0x179
pushq %r10
callq 0x1442a
addq $0x10, %rsp
movq %rbx, %rdi
callq 0x2b4c3
xorl %ebx, %ebx
movq %rbx, %rax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/markdryan[P]subtilis/frontend/byte_type_if.c
// Function: prv_div
static subtilis_exp_t *prv_div(subtilis_parser_t *p, subtilis_exp_t *a1,
			       subtilis_exp_t *a2, subtilis_error_t *err)
{
	a1 = prv_to_int32(p, a1, err);
	if (err->type != SUBTILIS_ERROR_OK)
		goto on_error;

	return subtilis_type_int32.div(p, a1, a2, err);

on_error:

	subtilis_exp_delete(a2);
	return NULL;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rcx, %r14
movq %rdx, %rbx
movq %rdi, %r15
movq %rcx, %rdx
callq 0x3c251
cmpl $0x0, (%r14)
je 0x3c642
movq %rbx, %rdi
callq 0x2b4c3
xorl %eax, %eax
popq %rbx
popq %r14
popq %r15
retq
leaq 0x6a207(%rip), %rcx     # 0xa6850
movq 0x190(%rcx), %r8
movq %r15, %rdi
movq %rax, %rsi
movq %rbx, %rdx
movq %r14, %rcx
popq %rbx
popq %r14
popq %r15
jmpq *%r8
// File: /workspace/github_c_makefile_star2_O1/markdryan[P]subtilis/frontend/byte_type_if.c
// Function: prv_mod
static subtilis_exp_t *prv_mod(subtilis_parser_t *p, subtilis_exp_t *a1,
			       subtilis_exp_t *a2, subtilis_error_t *err)
{
	a1 = prv_to_int32(p, a1, err);
	if (err->type != SUBTILIS_ERROR_OK)
		goto on_error;

	return subtilis_type_int32.mod(p, a1, a2, err);

on_error:

	subtilis_exp_delete(a2);
	return NULL;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rcx, %r14
movq %rdx, %rbx
movq %rdi, %r15
movq %rcx, %rdx
callq 0x3c251
cmpl $0x0, (%r14)
je 0x3c690
movq %rbx, %rdi
callq 0x2b4c3
xorl %eax, %eax
popq %rbx
popq %r14
popq %r15
retq
leaq 0x6a1b9(%rip), %rcx     # 0xa6850
movq 0x198(%rcx), %r8
movq %r15, %rdi
movq %rax, %rsi
movq %rbx, %rdx
movq %r14, %rcx
popq %rbx
popq %r14
popq %r15
jmpq *%r8
// File: /workspace/github_c_makefile_star2_O1/markdryan[P]subtilis/frontend/byte_type_if.c
// Function: prv_lsl
static subtilis_exp_t *prv_lsl(subtilis_parser_t *p, subtilis_exp_t *a1,
			       subtilis_exp_t *a2, subtilis_error_t *err)
{
	a1->type.type = SUBTILIS_TYPE_INTEGER;
	a1 = subtilis_type_int32.lsl(p, a1, a2, err);
	if (err->type != SUBTILIS_ERROR_OK)
		return NULL;
	a1->type.type = SUBTILIS_TYPE_BYTE;
	return a1;
}

// Assembly:
pushq %rbx
movq %rcx, %rbx
movl $0x5, (%rsi)
leaq 0x6a110(%rip), %rax     # 0xa6850
callq *0x1d0(%rax)
cmpl $0x0, (%rbx)
je 0x3c74f
xorl %eax, %eax
jmp 0x3c755
movl $0x6, (%rax)
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/markdryan[P]subtilis/frontend/byte_type_if.c
// Function: prv_lsr
static subtilis_exp_t *prv_lsr(subtilis_parser_t *p, subtilis_exp_t *a1,
			       subtilis_exp_t *a2, subtilis_error_t *err)
{
	a1->type.type = SUBTILIS_TYPE_INTEGER;
	a1 = subtilis_type_int32.lsr(p, a1, a2, err);
	if (err->type != SUBTILIS_ERROR_OK)
		return NULL;
	a1->type.type = SUBTILIS_TYPE_BYTE;
	return a1;
}

// Assembly:
pushq %rbx
movq %rcx, %rbx
movl $0x5, (%rsi)
leaq 0x6a0e8(%rip), %rax     # 0xa6850
callq *0x1d8(%rax)
cmpl $0x0, (%rbx)
je 0x3c777
xorl %eax, %eax
jmp 0x3c77d
movl $0x6, (%rax)
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/markdryan[P]subtilis/frontend/byte_type_if.c
// Function: prv_asr
static subtilis_exp_t *prv_asr(subtilis_parser_t *p, subtilis_exp_t *a1,
			       subtilis_exp_t *a2, subtilis_error_t *err)
{
	/*
	 * This one needs to be sign extended.
	 */

	a1 = prv_to_int32(p, a1, err);
	if (err->type != SUBTILIS_ERROR_OK) {
		subtilis_exp_delete(a2);
		return NULL;
	}
	a1 = subtilis_type_int32.asr(p, a1, a2, err);
	a1->type.type = SUBTILIS_TYPE_BYTE;
	return a1;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rcx, %r14
movq %rdx, %rbx
movq %rdi, %r15
movq %rcx, %rdx
callq 0x3c251
cmpl $0x0, (%r14)
je 0x3c7a7
movq %rbx, %rdi
callq 0x2b4c3
xorl %eax, %eax
jmp 0x3c7c7
leaq 0x6a0a2(%rip), %r8      # 0xa6850
movq %r15, %rdi
movq %rax, %rsi
movq %rbx, %rdx
movq %r14, %rcx
callq *0x1e0(%r8)
movl $0x6, (%rax)
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/markdryan[P]subtilis/frontend/byte_type_if.c
// Function: prv_abs
static subtilis_exp_t *prv_abs(subtilis_parser_t *p, subtilis_exp_t *e,
			       subtilis_error_t *err)
{
	/*
	 * This one needs to be sign extended.
	 */

	e = prv_to_int32(p, e, err);
	if (err->type != SUBTILIS_ERROR_OK)
		return NULL;

	e = (subtilis_type_int32.abs)(p, e, err);
	e->type.type = SUBTILIS_TYPE_BYTE;
	return e;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rdi, %r14
callq 0x3c251
cmpl $0x0, (%rbx)
je 0x3c7e5
xorl %eax, %eax
jmp 0x3c801
leaq 0x6a064(%rip), %rcx     # 0xa6850
movq %r14, %rdi
movq %rax, %rsi
movq %rbx, %rdx
callq *0x1e8(%rcx)
movl $0x6, (%rax)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/markdryan[P]subtilis/frontend/byte_type_if.c
// Function: prv_swap_reg_mem
static void prv_swap_reg_mem(subtilis_parser_t *p, const subtilis_type_t *type,
			     size_t reg1, size_t reg2, subtilis_error_t *err)
{
	subtilis_ir_operand_t op1;
	subtilis_ir_operand_t op2;
	subtilis_ir_operand_t zero;
	subtilis_ir_operand_t tmp;

	op1.reg = reg1;
	op2.reg = reg2;
	zero.integer = 0;

	tmp.reg = subtilis_ir_section_add_instr2(
	    p->current, SUBTILIS_OP_INSTR_MOV, op1, err);
	if (err->type != SUBTILIS_ERROR_OK)
		return;

	subtilis_ir_section_add_instr_reg(
	    p->current, SUBTILIS_OP_INSTR_LOADO_I8, op1, op2, zero, err);
	if (err->type != SUBTILIS_ERROR_OK)
		return;

	subtilis_ir_section_add_instr_reg(
	    p->current, SUBTILIS_OP_INSTR_STOREO_I8, tmp, op2, zero, err);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %r8, %rbx
movq %rcx, %r14
movq %rdx, %r13
movq %rdi, %r15
movq 0x48(%rdi), %rdi
movl $0x1d, %esi
movq %r8, %rcx
callq 0x2c189
cmpl $0x0, (%rbx)
jne 0x3c9e7
movq %rax, %r12
movq 0x48(%r15), %rdi
movl $0x11, %esi
movq %r13, %rdx
movq %r14, %rcx
xorl %r8d, %r8d
movq %rbx, %r9
callq 0x2c0c2
cmpl $0x0, (%rbx)
je 0x3c9f1
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq 0x48(%r15), %rdi
movl $0x16, %esi
movq %r12, %rdx
movq %r14, %rcx
xorl %r8d, %r8d
movq %rbx, %r9
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmp 0x2c0c2
// File: /workspace/github_c_makefile_star2_O1/markdryan[P]subtilis/frontend/byte_type_if.c
// Function: prv_zerox
static subtilis_exp_t *prv_zerox(subtilis_parser_t *p, subtilis_exp_t *e,
				 subtilis_error_t *err)
{
	size_t reg;
	subtilis_ir_operand_t op;

	op.integer = 255;
	reg = subtilis_ir_section_add_instr(
	    p->current, SUBTILIS_OP_INSTR_ANDI_I32, e->exp.ir_op, op, err);
	if (err->type != SUBTILIS_ERROR_OK)
		goto on_error;
	e->type.type = SUBTILIS_TYPE_INTEGER;
	e->exp.ir_op.reg = reg;
	return e;

on_error:

	subtilis_exp_delete(e);
	return NULL;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rsi, %rbx
movq 0x48(%rdi), %rdi
movq 0x148(%rsi), %rdx
movl $0xff, %ecx
movl $0x25, %esi
movq %r14, %r8
callq 0x2c00f
cmpl $0x0, (%r14)
je 0x3ca5a
movq %rbx, %rdi
callq 0x2b4c3
xorl %ebx, %ebx
jmp 0x3ca67
movl $0x5, (%rbx)
movq %rax, 0x148(%rbx)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq