LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O2/Encryptr[P]O-plus-plus/opp/analysis/analysis.c
// Function: opp_warning
static void opp_warning(struct Opp_Analize* ctx, 
		struct Opp_Node* node, const char* str, ...)
{
	if (!ctx->opts->warning)
		return;

	if (ctx->opts->wall) {
		opp_semantics_error(ctx, node, str);
		return;
	}

	va_list ap;
	va_start(ap, str);
	
	printf("%s:%u:%u ", ctx->parser->lex->io.fname, 
			node->debug.line, node->debug.colum);
	#ifdef UNX
		printf(CL_YELLOW);
	#endif

	if (ctx->debug.scope != NULL)
		printf("warning: in function \"%s(...)\"\n\t", ctx->debug.scope);
	else 
		printf("warning: in declaration\n\t");

	#ifdef UNX
		printf(CL_RESET);
	#endif 
	vfprintf(stdout, str, ap);
	fprintf(stdout, "\n");
	va_end(ap);
}

// Assembly:
pushq %r14
pushq %rbx
subq $0xd8, %rsp
movq %r9, 0x48(%rsp)
testb %al, %al
je 0x257c
movaps %xmm0, 0x50(%rsp)
movaps %xmm1, 0x60(%rsp)
movaps %xmm2, 0x70(%rsp)
movaps %xmm3, 0x80(%rsp)
movaps %xmm4, 0x90(%rsp)
movaps %xmm5, 0xa0(%rsp)
movaps %xmm6, 0xb0(%rsp)
movaps %xmm7, 0xc0(%rsp)
movq %r8, 0x40(%rsp)
movq %rcx, 0x38(%rsp)
movq (%rdi), %rax
cmpb $0x1, 0x4(%rax)
jne 0x264d
movq %rdx, %rbx
movq %rdi, %r14
cmpb $0x1, 0x6(%rax)
je 0x2658
leaq 0x20(%rsp), %rax
movq %rax, 0x10(%rsp)
leaq 0xf0(%rsp), %rax
movq %rax, 0x8(%rsp)
movabsq $0x3000000018, %rax     # imm = 0x3000000018
movq %rax, (%rsp)
movq 0x8(%r14), %rax
movq (%rax), %rax
movq 0x10(%rax), %rax
movl 0x4(%rsi), %edx
movl 0x8(%rsi), %ecx
leaq 0x806c(%rip), %rdi      # 0xa64c
movq %rax, %rsi
xorl %eax, %eax
callq 0x10e0
leaq 0x8738(%rip), %rdi      # 0xad29
xorl %eax, %eax
callq 0x10e0
movq 0x20(%r14), %rsi
testq %rsi, %rsi
je 0x2611
leaq 0x8727(%rip), %rdi      # 0xad2f
xorl %eax, %eax
callq 0x10e0
jmp 0x261f
leaq 0x8738(%rip), %rdi      # 0xad50
xorl %eax, %eax
callq 0x10e0
leaq 0x7c67(%rip), %rdi      # 0xa28d
xorl %eax, %eax
callq 0x10e0
movq 0xd9ac(%rip), %r14      # 0xffe0
movq (%r14), %rdi
movq %rsp, %rdx
movq %rbx, %rsi
callq 0x11f0
movq (%r14), %rsi
pushq $0xa
popq %rdi
callq 0x1120
addq $0xd8, %rsp
popq %rbx
popq %r14
retq
movq %r14, %rdi
movq %rbx, %rdx
xorl %eax, %eax
callq 0x2228
// File: /workspace/github_c_makefile_star2_O2/Encryptr[P]O-plus-plus/opp/analysis/analysis.c
// Function: opp_analize_assign
static Opp_Obj opp_analize_assign(struct Opp_Analize* ctx, struct Opp_Node* node)
{
	if ((node->assign_expr.ident->type != EUNARY 
		|| node->assign_expr.ident->unary_expr.type != TIDENT)
		&& (node->assign_expr.ident->type != EDEREF) 
		&& (node->assign_expr.ident->type != EELEMENT)
		&& (node->assign_expr.ident->type != EDOT))
		opp_semantics_error(ctx, node, "Unexpected expression on lhs of '='");

	Opp_Obj lhs = opp_analize_expr(ctx, node->assign_expr.ident);

	const char* name = ctx->debug.res_name;

	// Global assign error
	if (ctx->curr_ns == ctx->ns)
		opp_semantics_error(ctx, node, "Global assigments are not permited, assiment of '%s'", name);

	// Cannot assign array error
	if (lhs.size > 0)
		opp_semantics_error(ctx, node, "Attempting to assign a value to array '%s'", ctx->debug.res_name);

	Opp_Obj rhs = opp_analize_expr(ctx, node->assign_expr.val);

	// Cannot assign non pointer to array type
	if (rhs.size > 0 && lhs.depth == 0) 
		opp_semantics_error(ctx, node, "Attempting to assign an array type to var '%s'", name);

	// Different depths warning	
	if (rhs.depth != lhs.depth)
		opp_warning(ctx, node, "Assigning var '%s' to incompatible pointer depth", name);

	// Cannot assign non pointer to obj and vise versa
	if ((rhs.decl->t_type == TYPE_STRUCT && rhs.depth == 0)
		|| 
		(lhs.decl->t_type == TYPE_STRUCT && lhs.depth == 0))
		opp_semantics_error(ctx, node, "Assigning var '%s' to a incompatible struct type", name);

	return lhs;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq 0x20(%rsi), %rsi
movl (%rsi), %eax
leal -0x7(%rax), %ecx
cmpl $0x2, %ecx
jb 0x269c
cmpl $0xd, %eax
je 0x269c
cmpl $0x5, %eax
jne 0x2762
cmpl $0x1, 0x10(%rsi)
jne 0x2762
movq %r14, %rdi
callq 0x28ea
movq %rax, %r13
movq 0x18(%r14), %rax
movq 0x40(%r14), %rcx
movq %rcx, (%rsp)
cmpq 0x10(%r14), %rax
je 0x2738
movq %rdx, %r12
movq %rdx, %rax
shrq $0x10, %rax
testw %ax, %ax
jne 0x2741
movq 0x18(%rbx), %rsi
movq %r14, %rdi
callq 0x28ea
movq %rax, %rbp
movq %rdx, %rax
shrq $0x10, %rax
testw %ax, %ax
je 0x26e8
testl %r12d, %r12d
je 0x274a
movzwl %dx, %r15d
cmpl %r12d, %r15d
je 0x2709
leaq 0x814a(%rip), %rdx      # 0xa842
movq %r14, %rdi
movq %rbx, %rsi
movq (%rsp), %rcx
xorl %eax, %eax
callq 0x2532
testl %r15d, %r15d
jne 0x2714
cmpl $0x8, 0x8(%rbp)
je 0x272f
movl 0x8(%r13), %eax
xorl $0x8, %eax
orl %r12d, %eax
je 0x272f
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x813d(%rip), %rdx      # 0xa873
jmp 0x2751
leaq 0x8074(%rip), %rdx      # 0xa7b3
jmp 0x2751
leaq 0x80a0(%rip), %rdx      # 0xa7e8
jmp 0x2751
leaq 0x80c2(%rip), %rdx      # 0xa813
movq %r14, %rdi
movq %rbx, %rsi
movq (%rsp), %rcx
xorl %eax, %eax
callq 0x2228
leaq 0x8026(%rip), %rdx      # 0xa78f
movq %r14, %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq 0x2228
// File: /workspace/github_c_makefile_star2_O2/Encryptr[P]O-plus-plus/opp/analysis/analysis.c
// Function: opp_analize_unary
static Opp_Obj opp_analize_unary(struct Opp_Analize* ctx, struct Opp_Node* node)
{
	Opp_Obj type;

	switch (node->unary_expr.type)
	{
		case TINTEGER:
			type.decl = int_type;
			type.depth = 0;
			type.size = 0;
			type.unsign = 0;
			break;

		case TSTR:
			type.decl = char_type;
			type.depth = 1;
			type.size = 0;
			type.unsign = 0;
			break;
		

		case TFLOAT:
			type.decl = float_type;
			type.depth = 0;
			type.size = 0;
			type.unsign = 0;
			break;
		
		case TIDENT: {
			struct Opp_Bucket* bucket = env_get_item(ctx->curr_ns, node->unary_expr.val.strval);

			if (bucket == NULL)
				opp_semantics_error(ctx, node, "Use of undeclared variable '%s'",
					node->unary_expr.val.strval);

			if (bucket->type == TYPE_LABEL)
				opp_semantics_error(ctx, node, "Invalid use of label '%s'",
					bucket->key);
			
			node->unary_expr.bidx = bucket;
			ctx->debug.res_name = bucket->key;

			return bucket->sym_type;
		}
		default: break;
	}
	return type;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movl 0x10(%rsi), %eax
xorl %edx, %edx
decl %eax
cmpl $0x4, %eax
ja 0x35e4
movq %rsi, %rbx
leaq 0x6fa2(%rip), %rcx      # 0xa524
movslq (%rcx,%rax,4), %rsi
addq %rcx, %rsi
jmpq *%rsi
movq %rdi, %r14
movq 0x18(%rdi), %rdi
movq 0x18(%rbx), %rsi
callq 0x9d69
testq %rax, %rax
je 0x35ec
movq %rax, %rcx
cmpl $0x3, 0x8(%rax)
je 0x35f9
movq %rcx, 0x20(%rbx)
movq (%rcx), %rax
movq %rax, 0x40(%r14)
movq 0x10(%rcx), %rax
movq 0x18(%rcx), %rdx
jmp 0x35e4
leaq 0xccdb(%rip), %rax      # 0x102a0
jmp 0x35ce
leaq 0xccc2(%rip), %rax      # 0x10290
movq (%rax), %rax
xorl %edx, %edx
jmp 0x35e4
leaq 0xccac(%rip), %rax      # 0x10288
movq (%rax), %rax
pushq $0x1
popq %rdx
jmp 0x35e4
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq 0x18(%rbx), %rcx
leaq 0x74e9(%rip), %rdx      # 0xaae0
jmp 0x3603
movq (%rcx), %rcx
leaq 0x74fd(%rip), %rdx      # 0xab00
movq %r14, %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq 0x2228
// File: /workspace/github_c_makefile_star2_O2/Encryptr[P]O-plus-plus/opp/analysis/analysis.c
// Function: get_type_size
static unsigned int get_type_size(struct Opp_Type_Decl* type)
{
	if (type->depth > 0 && type->size == 0)
		return 8;

	// TODO: IS THIS NEEDED????
	// if (type->size > 0)
	// 	return type->size;

	switch (type->decl->t_type)
	{
		case TYPE_VOID:   return 0;
		case TYPE_I8:     return 1;
		case TYPE_I16:    return 2;
		case TYPE_I32:    return 4;
		case TYPE_I64:    return 8;
		case TYPE_FLOAT:  return 4;
		case TYPE_DOUBLE: return 8;
		case TYPE_STRUCT: return type->decl->size;
		default: break;
	}

	return 0;
}

// Assembly:
cmpw $0x0, 0x8(%rdi)
pushq $0x8
popq %rcx
je 0x3621
cmpw $0x0, 0xa(%rdi)
je 0x3644
movq (%rdi), %rsi
movl 0x8(%rsi), %edx
xorl %eax, %eax
leal -0x1(%rdx), %edi
cmpl $0x7, %edi
ja 0x364e
leaq 0x6f00(%rip), %r8       # 0xa538
movslq (%r8,%rdi,4), %rdi
addq %r8, %rdi
jmpq *%rdi
movl %edx, %eax
retq
movl %ecx, %eax
retq
pushq $0x4
popq %rax
retq
movl 0x10(%rsi), %eax
retq
// File: /workspace/github_c_makefile_star2_O2/Encryptr[P]O-plus-plus/opp/analysis/analysis.c
// Function: opp_get_plain_size
static unsigned int opp_get_plain_size(struct Opp_Type_Decl* type)
{
	if (type->depth > 0 && type->size == 0)
		return 8;
	
	switch (type->decl->t_type)
	{
		case TYPE_VOID:   return 0;
		case TYPE_I8:     return 1;
		case TYPE_I16:    return 2;
		case TYPE_I32:    return 4;
		case TYPE_I64:    return 8;
		case TYPE_FLOAT:  return 4;
		case TYPE_DOUBLE: return 8;
		case TYPE_STRUCT: return type->decl->l_mem;
		default: break;
	}

	return 0;
}

// Assembly:
cmpw $0x0, 0x8(%rdi)
pushq $0x8
popq %rcx
je 0x3660
cmpw $0x0, 0xa(%rdi)
je 0x3683
movq (%rdi), %rsi
movl 0x8(%rsi), %edx
xorl %eax, %eax
leal -0x1(%rdx), %edi
cmpl $0x7, %edi
ja 0x368d
leaq 0x6ee1(%rip), %r8       # 0xa558
movslq (%r8,%rdi,4), %rdi
addq %r8, %rdi
jmpq *%rdi
movl %edx, %eax
retq
movl %ecx, %eax
retq
pushq $0x4
popq %rax
retq
movl 0x14(%rsi), %eax
retq
nop
// File: /workspace/github_c_makefile_star2_O2/Encryptr[P]O-plus-plus/opp/compiler/compiler.c
// Function: opp_realloc_instrs
void opp_realloc_instrs(struct Opp_Context* opp)
{
	if (opp->ir.instr_idx >= opp->ir.allocated) {
		opp->ir.allocated += 64;
		opp->ir.opcodes = (struct OppIr_Opcode*)realloc(opp->ir.opcodes, 
			(opp->ir.allocated) * sizeof(struct OppIr_Opcode));

		if (opp->ir.opcodes == NULL)
			INTERNAL_ERROR("Realloc Fail");
	}
}

// Assembly:
movq 0x50(%rdi), %rax
cmpq %rax, 0x48(%rdi)
jb 0x3752
pushq %rbx
movq %rdi, %rbx
addq $0x40, %rax
movq %rax, 0x50(%rdi)
movq 0x58(%rdi), %rdi
imulq $0x28, %rax, %rsi
callq 0x11a0
movq %rax, 0x58(%rbx)
testq %rax, %rax
popq %rbx
je 0x3753
retq
leaq 0x784f(%rip), %rdi      # 0xafa9
leaq 0x7855(%rip), %rsi      # 0xafb6
jmp 0x9287
// File: /workspace/github_c_makefile_star2_O2/Encryptr[P]O-plus-plus/opp/compiler/compiler.c
// Function: opp_type_cast
void opp_type_cast(struct Opp_Context* opp, Opp_Obj* lhs, Opp_Obj* rhs)
{
	/* Cast rules
		1) Always cast based on lhs
		Ex: 
			double a;
			int b;
			b = a; # Cast a to int

		2) Only create a cast if
			- Lhs and Rhs are different floating points
			- Lhs and Rhs are different types 
				not including integer types.
	*/
	enum OppIr_Const_Type lt = opp_type_to_ir(lhs);
	enum OppIr_Const_Type rt = opp_type_to_ir(rhs);

	if (
		((lt == IMM_F64 || lt == IMM_F32) && (rt != IMM_F32 && rt != IMM_F64))
		||
		((lt != IMM_F64 && lt != IMM_F32) && (rt == IMM_F64 || rt == IMM_F32))
		||
		((lt == IMM_F64 && rt == IMM_F32) || (lt == IMM_F32 && rt == IMM_F64))
		) 
	{
		printf("CASTING\n");
		OPCODE_START();
			OPCODE_TYPE(OPCODE_CAST);
			opp->ir.opcodes[opp->ir.instr_idx].cast.type = lt;
		OPCODE_END();
	}
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %r15
movq %rdi, %rbx
movq %rsi, %rdi
callq 0x3766
movl %eax, %r14d
movq %r15, %rdi
callq 0x3766
leal -0xb(%r14), %ecx
cmpl $0x2, %ecx
setb %cl
leal -0xd(%rax), %edx
cmpl $-0x2, %edx
setb %dl
testb %dl, %cl
je 0x3846
leaq 0x782d(%rip), %rdi      # 0xb04b
callq 0x1060
movq %rbx, %rdi
callq 0x3725
movq 0x58(%rbx), %rax
imulq $0x28, 0x48(%rbx), %rcx
movl $0xb, (%rax,%rcx)
movl %r14d, 0x8(%rax,%rcx)
incq 0x48(%rbx)
jmp 0x3889
movl %r14d, %edx
xorl $0xb, %edx
movl %r14d, %ecx
xorl $0xc, %ecx
leal -0xd(%r14), %esi
cmpl $-0x2, %esi
setb %sil
leal -0xb(%rax), %edi
cmpl $0x2, %edi
setb %dil
movl %eax, %r8d
xorl $0xb, %r8d
orl %ecx, %r8d
sete %cl
xorl $0xc, %eax
orl %edx, %eax
sete %al
testb %dil, %sil
jne 0x3817
testb %cl, %cl
jne 0x3817
testb %al, %al
jne 0x3817
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/Encryptr[P]O-plus-plus/opp/compiler/compile_stmt.c
// Function: opp_compile_var
void opp_compile_var(struct Opp_Context* opp, struct Opp_Node* node)
{
	struct Opp_Stmt_Var* var = &node->var_stmt;

	bool assign = var->var->type == EASSIGN ? 1 : 0;
	bool global = var->bidx->type == TYPE_GLOBAL || var->bidx->type == TYPE_EXTERN;
	unsigned int size = opp_type_to_size(&var->type);

	OPCODE_START();
		OPCODE_TYPE(OPCODE_VAR);
		opp->ir.opcodes[opp->ir.instr_idx].var.global = global;
		opp->ir.opcodes[opp->ir.instr_idx].var.size = size;
		opp->ir.opcodes[opp->ir.instr_idx].var.name = var->bidx->key;
	OPCODE_END();

	if (!global) {
		opp->info.stack_offset -= size;
		var->bidx->offset = opp->info.stack_offset;
	}

	if (assign)
		opp_compile_assign(opp, var->var);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x10(%rsi), %rdi
movq 0x20(%rsi), %rax
movq 0x28(%rsi), %rcx
movl (%rax), %r15d
movl 0x8(%rcx), %r12d
callq 0x379f
movl %eax, %ebp
movq %rbx, %rdi
callq 0x3725
imulq $0x28, 0x48(%rbx), %rax
testl $0xfffffffb, %r12d      # imm = 0xFFFFFFFB
movq 0x58(%rbx), %rcx
movl $0x5, (%rcx,%rax)
sete 0x8(%rcx,%rax)
imulq $0x28, 0x48(%rbx), %rax
movq 0x58(%rbx), %rcx
movl %ebp, 0x18(%rcx,%rax)
movq 0x28(%r14), %rax
movq (%rax), %rax
movq 0x58(%rbx), %rcx
imulq $0x28, 0x48(%rbx), %rdx
movq %rax, 0x10(%rcx,%rdx)
incq 0x48(%rbx)
testl $0xfffffffb, %r12d      # imm = 0xFFFFFFFB
je 0x4e04
movl 0x20(%rbx), %eax
subl %ebp, %eax
movl %eax, 0x20(%rbx)
movq 0x28(%r14), %rcx
movl %eax, 0x28(%rcx)
cmpl $0x4, %r15d
jne 0x4e1b
movq 0x20(%r14), %rsi
movq %rbx, %rdi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x4e24
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/Encryptr[P]O-plus-plus/opp/ir/ir.c
// Function: dump_bytes
void dump_bytes(struct OppIr* ir, OppIO* io)
{
	if (io == NULL) {
		for (size_t i = 0; i < ir->code.idx; i++) { 
			if ((i+1) % 16 == 0) printf("\n");
			else printf("%X ", ir->code.bytes[i]);
		}
		printf("\n");
	}
	else {
		fwrite(ir->code.bytes, sizeof(unsigned char), ir->code.idx, io->file);
		fclose(io->file);
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
testq %rsi, %rsi
je 0x5440
movq %rsi, %r14
movq (%rbx), %rdi
movq 0x8(%rbx), %rdx
movq 0x8(%rsi), %rcx
pushq $0x1
popq %rsi
callq 0x1220
movq 0x8(%r14), %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x10a0
pushq $0xa
popq %rbp
leaq 0x5f41(%rip), %r14      # 0xb38b
xorl %r15d, %r15d
cmpq 0x8(%rbx), %r15
jae 0x547b
leal 0x1(%r15), %eax
testb $0xf, %al
je 0x546f
movq (%rbx), %rax
movzbl (%rax,%r15), %esi
movq %r14, %rdi
xorl %eax, %eax
callq 0x10e0
jmp 0x5476
movl %ebp, %edi
callq 0x1040
incq %r15
jmp 0x544d
pushq $0xa
popq %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x1040
// File: /workspace/github_c_makefile_star2_O2/Encryptr[P]O-plus-plus/opp/ir/ir.c
// Function: oppir_eval
void oppir_eval(struct OppIr* ir)
{
	#ifdef LINUX64
		init_strtab();
		init_elf_syms();
		init_reloc();
	#endif

	for (size_t index = 0; index < ir->instr->instr_idx; index++)
		oppir_eval_opcode(ir, &ir->instr->opcodes[index]);

	#ifdef LINUX64
		init_elf_header(DEFAULT_SECT);
		init_text_sect(ir);
		init_data_sect(ir);
		init_symtab_sect();
		init_shstrtab_sect();
		init_strtab_sect();
		init_rela_text_sect();
		elf_offsets(ir);
	#endif

	// dump_data(ir);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
xorl %r14d, %r14d
xorl %eax, %eax
callq 0x7473
xorl %eax, %eax
callq 0x752d
xorl %eax, %eax
callq 0x74da
xorl %r15d, %r15d
movq 0x58(%rbx), %rax
cmpq (%rax), %r15
jae 0x54db
movq 0x10(%rax), %rsi
addq %r14, %rsi
movq %rbx, %rdi
callq 0x551e
incq %r15
addq $0x28, %r14
jmp 0x54ba
pushq $0x7
popq %rdi
xorl %eax, %eax
callq 0x75b2
movq %rbx, %rdi
callq 0x7648
movq %rbx, %rdi
callq 0x76bc
xorl %eax, %eax
callq 0x777e
xorl %eax, %eax
callq 0x772d
xorl %eax, %eax
callq 0x77e4
xorl %eax, %eax
callq 0x783d
movq %rbx, %rdi
popq %rbx
popq %r14
popq %r15
jmp 0x78a3
// File: /workspace/github_c_makefile_star2_O2/Encryptr[P]O-plus-plus/opp/ir/ir.c
// Function: oppir_check_realloc
void oppir_check_realloc(struct OppIr* ir, unsigned int bytes)
{
	if ((ir->code.idx + bytes) >= ir->code.allocated) {

		ir->code.bytes = (unsigned char*)
				realloc(ir->code.bytes, (64+ir->code.allocated));

		if (ir->code.bytes == NULL)
			INTERNAL_ERROR("Malloc Fail");

		ir->code.allocated += 64;
	}
}

// Assembly:
movl %esi, %eax
addq 0x8(%rdi), %rax
movq 0x10(%rdi), %rsi
cmpq %rsi, %rax
jb 0x644e
pushq %rbx
movq %rdi, %rbx
movq (%rdi), %rdi
addq $0x40, %rsi
callq 0x11a0
movq %rax, (%rbx)
testq %rax, %rax
jne 0x6448
leaq 0x4154(%rip), %rdi      # 0xa590
leaq 0x4f4c(%rip), %rsi      # 0xb38f
callq 0x9287
addq $0x40, 0x10(%rbx)
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O2/Encryptr[P]O-plus-plus/opp/ir/ir.c
// Function: oppir_check_data
void oppir_check_data(struct OppIr* ir, unsigned int bytes)
{
	if ((ir->data_seg.idx + bytes) >= ir->data_seg.allocated) {

		ir->data_seg.data = (unsigned char*)
				realloc(ir->data_seg.data, (64+ir->data_seg.allocated));

		if (ir->data_seg.data == NULL)
			INTERNAL_ERROR("Malloc Fail");

		ir->data_seg.allocated += 64;
	}
}

// Assembly:
movl %esi, %eax
addq 0x88(%rdi), %rax
movq 0x80(%rdi), %rsi
cmpq %rsi, %rax
jb 0x64a0
pushq %rbx
movq %rdi, %rbx
movq 0x90(%rdi), %rdi
addq $0x40, %rsi
callq 0x11a0
movq %rax, 0x90(%rbx)
testq %rax, %rax
jne 0x6497
leaq 0x4105(%rip), %rdi      # 0xa590
leaq 0x4f11(%rip), %rsi      # 0xb3a3
callq 0x9287
addq $0x40, 0x80(%rbx)
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O2/Encryptr[P]O-plus-plus/opp/ir/ir.c
// Function: oppir_eval_ptr_assign
static void oppir_eval_ptr_assign(struct OppIr* ir, struct OppIr_Cast* cast)
{
	struct Register rhs = oppir_pop_reg(ir);
	struct Register lhs = oppir_pop_reg(ir);

	assert(cast->type != IMM_F32 && cast->type != IMM_F64);

	oppir_check_realloc(ir, 3);

	switch (cast->type)
	{
		case IMM_I8:
		case IMM_U8:
			IR_EMIT(0x88);
			break;

		case IMM_I16:
		case IMM_U16:
			IR_EMIT(0x66);
			IR_EMIT(0x89);
			break;

		case IMM_I32:
		case IMM_U32:
			IR_EMIT(0x89);
			break;

		case IMM_I64:
		case IMM_U64:
			IR_EMIT(0x48);
			IR_EMIT(0x89);
			break;

		default: break;
	}

	switch (lhs.reg)
	{
		case REG_RAX:
			IR_EMIT(0x08 * (rhs.reg));
			break;

		case REG_RCX:
			IR_EMIT(rhs.reg == REG_RAX ? 0x1 : 0x11);
			break;

		case REG_RDX:
			IR_EMIT(rhs.reg == REG_RAX ? 0x2 : 0xa);
			break;
	}
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r12
movq %rdi, %rbx
callq 0x6f02
movq %rax, %r14
movq %rbx, %rdi
callq 0x6f02
movq %rax, %r15
movl (%r12), %eax
addl $-0xb, %eax
cmpl $0x1, %eax
jbe 0x6967
pushq $0x3
popq %rsi
movq %rbx, %rdi
callq 0x640e
movl (%r12), %eax
addl $-0x3, %eax
cmpl $0x7, %eax
ja 0x6912
leaq 0x4a57(%rip), %rcx      # 0xb320
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movb $-0x78, %al
jmp 0x6900
movq (%rbx), %rax
movq 0x8(%rbx), %rcx
leaq 0x1(%rcx), %rdx
movq %rdx, 0x8(%rbx)
movb $0x66, (%rax,%rcx)
jmp 0x68fe
movq (%rbx), %rax
movq 0x8(%rbx), %rcx
leaq 0x1(%rcx), %rdx
movq %rdx, 0x8(%rbx)
movb $0x48, (%rax,%rcx)
movb $-0x77, %al
movq (%rbx), %rcx
movq 0x8(%rbx), %rdx
leaq 0x1(%rdx), %rsi
movq %rsi, 0x8(%rbx)
movb %al, (%rcx,%rdx)
cmpl $0x2, %r15d
je 0x6939
cmpl $0x1, %r15d
je 0x6929
testl %r15d, %r15d
jne 0x695b
shlb $0x3, %r14b
jmp 0x6948
testl %r14d, %r14d
setne %r14b
shlb $0x4, %r14b
incb %r14b
jmp 0x6948
testl %r14d, %r14d
setne %r14b
shlb $0x3, %r14b
orb $0x2, %r14b
movq (%rbx), %rax
movq 0x8(%rbx), %rcx
leaq 0x1(%rcx), %rdx
movq %rdx, 0x8(%rbx)
movb %r14b, (%rax,%rcx)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
leaq 0x4b08(%rip), %rdi      # 0xb476
leaq 0x4a7f(%rip), %rsi      # 0xb3f4
leaq 0x4b29(%rip), %rcx      # 0xb4a5
movl $0x4ae, %edx            # imm = 0x4AE
callq 0x1100
// File: /workspace/github_c_makefile_star2_O2/Encryptr[P]O-plus-plus/opp/ir/ir.c
// Function: oppir_eval_jmp
static void oppir_eval_jmp(struct OppIr* ir, struct OppIr_Jmp* jmp)
{
	if (jmp->loc >= ir->offsets.allocated) {
		printf("LABEL REALLOC NEEDED\n");
	}

	if (jmp->type == PURE_JMP)
		IR_EMIT(0xe9);
	else
		IR_EMIT(0x0f);

	switch (jmp->type)
	{
		case TEQEQ:  IR_EMIT(0x84); break;
		case TNOTEQ: IR_EMIT(0x85); break;
		case TGT:    IR_EMIT(0x8f); break;
		case TLE:    IR_EMIT(0x8e); break;
		case TLT:    IR_EMIT(0x8c); break;
		case TGE:    IR_EMIT(0x8d); break;
	}
	ir->offsets.jmp_table[ir->offsets.jmp_idx].loc = ir->code.idx;
	ir->offsets.jmp_table[ir->offsets.jmp_idx].table_pos = jmp->loc;
	IR_EMIT(0x00);
	IR_EMIT(0x00);
	IR_EMIT(0x00);
	IR_EMIT(0x00);

	ir->offsets.jmp_idx++;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movl 0x4(%rsi), %eax
cmpq %rax, 0x60(%rdi)
ja 0x69dc
leaq 0x4b48(%rip), %rdi      # 0xb51f
callq 0x1060
movq (%rbx), %rax
movq 0x8(%rbx), %rcx
leaq 0x1(%rcx), %rdx
cmpl $0x0, (%r14)
movq %rdx, 0x8(%rbx)
movl $0xe9, %edx
pushq $0xf
popq %rsi
cmovel %edx, %esi
movb %sil, (%rax,%rcx)
movl (%r14), %ecx
addl $-0x9, %ecx
cmpl $0x5, %ecx
ja 0x6a2b
shll $0x3, %ecx
movabsq $0x85848d8c8e8f, %rax   # imm = 0x85848D8C8E8F
shrq %cl, %rax
movq (%rbx), %rcx
movq 0x8(%rbx), %rdx
leaq 0x1(%rdx), %rsi
movq %rsi, 0x8(%rbx)
movb %al, (%rcx,%rdx)
movq 0x8(%rbx), %rax
movq 0x78(%rbx), %rcx
movl 0x68(%rbx), %edx
shlq $0x4, %rdx
movq %rax, (%rcx,%rdx)
movl 0x4(%r14), %esi
movl %esi, 0x8(%rcx,%rdx)
movq (%rbx), %rcx
leaq 0x1(%rax), %rdx
movq %rdx, 0x8(%rbx)
xorl %edx, %edx
movb %dl, (%rcx,%rax)
movq (%rbx), %rax
movq 0x8(%rbx), %rcx
leaq 0x1(%rcx), %rsi
movq %rsi, 0x8(%rbx)
movb %dl, (%rax,%rcx)
movq (%rbx), %rax
movq 0x8(%rbx), %rcx
leaq 0x1(%rcx), %rsi
movq %rsi, 0x8(%rbx)
movb %dl, (%rax,%rcx)
movq (%rbx), %rax
movq 0x8(%rbx), %rcx
leaq 0x1(%rcx), %rsi
movq %rsi, 0x8(%rbx)
movb %dl, (%rax,%rcx)
incl 0x68(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/Encryptr[P]O-plus-plus/opp/ir/ir.c
// Function: oppir_push_reg
static enum Regs oppir_push_reg(struct OppIr* ir, enum OppIr_Const_Type type)
{
	int i = (type == IMM_F32 || type == IMM_F64) ? 3 : 0;
	const int max = (i == 3) ? 6 : 3;

	for (i; i < max; i++) {
		if (!regs[i].used) {
			regs[i].used = 1;
			oppir_check_regstack(ir);
			ir->reg_stack.top->reg = regs[i].reg;
			ir->reg_stack.top->type = type;
			ir->reg_stack.top->used = 1;
			ir->reg_stack.top->loc = 0; 
			ir->reg_stack.top->spilled = 0;
			ir->reg_stack.top++;
			return regs[i].reg;
		}
	}

	return oppir_reg_alloc(ir);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x20, %rsp
movl %esi, %r14d
movq %rdi, %rbx
leal -0xb(%r14), %eax
xorl %ecx, %ecx
cmpl $0x2, %eax
setb %cl
leaq (%rcx,%rcx,2), %rax
addq $0x3, %rax
leaq (%rcx,%rcx,2), %rdx
shll $0x4, %edx
leaq 0x9665(%rip), %rsi      # 0x10130
addq %rsi, %rdx
addq $0xc, %rdx
leaq (%rcx,%rcx,2), %rcx
decq %rcx
incq %rcx
cmpq %rax, %rcx
jae 0x6b1f
leaq 0x10(%rdx), %r15
cmpb $0x0, (%rdx)
movq %r15, %rdx
jne 0x6ad9
movb $0x1, -0x10(%r15)
movq %rbx, %rdi
callq 0x6cf5
movl -0x1c(%r15), %ebp
movq 0x40(%rbx), %rax
movl %ebp, (%rax)
movl %r14d, 0x4(%rax)
movw $0x1, 0xc(%rax)
andl $0x0, 0x8(%rax)
addq $0x10, %rax
movq %rax, 0x40(%rbx)
jmp 0x6bba
movq 0x38(%rbx), %r15
movq 0x40(%rbx), %rax
cmpq %rax, %r15
jae 0x6b40
cmpb $0x1, 0xc(%r15)
jne 0x6b3a
cmpb $0x0, 0xd(%r15)
je 0x6b4a
addq $0x10, %r15
jmp 0x6b27
xorl %r12d, %r12d
xorl %r14d, %r14d
xorl %ebp, %ebp
jmp 0x6b8f
movb $0x1, 0xd(%r15)
movq %rbx, %rdi
callq 0x6d3d
movl %eax, %r14d
movl %eax, 0x8(%r15)
movl (%r15), %ebp
movl 0x4(%r15), %r12d
movq %rbx, %rdi
callq 0x6cf5
movl (%r15), %eax
movq 0x40(%rbx), %rcx
movl %eax, (%rcx)
movw $0x1, 0xc(%rcx)
andl $0x0, 0x8(%rcx)
movl 0x4(%r15), %eax
movl %eax, 0x4(%rcx)
addq $0x10, %rcx
movq %rcx, 0x40(%rbx)
leal -0xd(%r12), %eax
cmpl $-0x2, %eax
pushq $0x9
popq %rax
cmovael %r12d, %eax
leaq 0x8(%rsp), %rdx
movl $0x8, (%rdx)
movl %r14d, 0x8(%rdx)
movl %eax, 0x10(%rdx)
movq %rbx, %rdi
movl %ebp, %esi
callq 0x6db1
movl %ebp, %eax
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/Encryptr[P]O-plus-plus/opp/ir/ir.c
// Function: oppir_write_const
static void oppir_write_const(struct OppIr* ir, struct OppIr_Value* imm)
{
	switch (imm->type)
	{
		case IMM_U64:
		case IMM_I64: 
		{
			oppir_check_realloc(ir, 8); 
			ir->code.bytes[ir->code.idx++] = imm->imm_i64 & 0xFF;
			for (int i = 8; i <= 56; i += 8) 
				ir->code.bytes[ir->code.idx++] = (imm->imm_i64 >> i) & 0xFF;
			break;
		}

		case IMM_I32: {
			oppir_check_realloc(ir, 4); 
			ir->code.bytes[ir->code.idx++] = imm->imm_i32 & 0xFF;
			for (int i = 8; i <= 24; i += 8) 
				ir->code.bytes[ir->code.idx++] = (imm->imm_i32 >> i) & 0xFF;
			break;
		}

		case IMM_I8: {
			oppir_check_realloc(ir, 1);
			ir->code.bytes[ir->code.idx++] = imm->imm_i8;
			break;
		}

		default: break;
	}
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movl (%rsi), %eax
leal -0x9(%rax), %ecx
cmpl $0x2, %ecx
jb 0x6c83
cmpl $0x4, %eax
je 0x6ccc
cmpl $0x8, %eax
jne 0x6ced
pushq $0x4
popq %rsi
movq %rbx, %rdi
callq 0x640e
movb 0x8(%r14), %al
movq (%rbx), %rcx
movq 0x8(%rbx), %rdx
leaq 0x1(%rdx), %rsi
movq %rsi, 0x8(%rbx)
movb %al, (%rcx,%rdx)
pushq $0x8
popq %rcx
cmpl $0x18, %ecx
ja 0x6ced
movl 0x8(%r14), %eax
sarl %cl, %eax
movq (%rbx), %rdx
movq 0x8(%rbx), %rsi
leaq 0x1(%rsi), %rdi
movq %rdi, 0x8(%rbx)
movb %al, (%rdx,%rsi)
addl $0x8, %ecx
jmp 0x6c5d
pushq $0x8
popq %rsi
movq %rbx, %rdi
callq 0x640e
movb 0x8(%r14), %al
movq (%rbx), %rcx
movq 0x8(%rbx), %rdx
leaq 0x1(%rdx), %rsi
movq %rsi, 0x8(%rbx)
movb %al, (%rcx,%rdx)
pushq $0x8
popq %rcx
cmpq $0x38, %rcx
ja 0x6ced
movq 0x8(%r14), %rax
sarq %cl, %rax
movq (%rbx), %rdx
movq 0x8(%rbx), %rsi
leaq 0x1(%rsi), %rdi
movq %rdi, 0x8(%rbx)
movb %al, (%rdx,%rsi)
addq $0x8, %rcx
jmp 0x6ca7
pushq $0x1
popq %rsi
movq %rbx, %rdi
callq 0x640e
movb 0x8(%r14), %al
movq (%rbx), %rcx
movq 0x8(%rbx), %rdx
leaq 0x1(%rdx), %rsi
movq %rsi, 0x8(%rbx)
movb %al, (%rcx,%rdx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/Encryptr[P]O-plus-plus/opp/ir/ir.c
// Function: oppir_check_regstack
static void oppir_check_regstack(struct OppIr* ir)
{
	if (ir->reg_stack.top >= (ir->reg_stack.stack + ir->reg_stack.allocated)) {
		ir->reg_stack.stack = (struct Register*)
				realloc(ir->reg_stack.stack, (16+ir->reg_stack.allocated));

		if (ir->reg_stack.stack == NULL)
			INTERNAL_ERROR("Malloc fail");

		ir->reg_stack.allocated += 16;
	}
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movq 0x30(%rdi), %rsi
movq 0x38(%rdi), %rdi
movq %rsi, %rax
shlq $0x4, %rax
addq %rdi, %rax
cmpq %rax, 0x40(%rbx)
jb 0x6d3b
addq $0x10, %rsi
callq 0x11a0
movq %rax, 0x38(%rbx)
testq %rax, %rax
jne 0x6d36
leaq 0x32fd(%rip), %rdi      # 0xa027
leaq 0x4683(%rip), %rsi      # 0xb3b4
callq 0x9287
addq $0x10, 0x30(%rbx)
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O2/Encryptr[P]O-plus-plus/opp/ir/ir.c
// Function: oppir_get_spill
static int32_t oppir_get_spill(struct OppIr* ir)
{
	for (unsigned int i = 0; i < ir->regalloc.allocated; i++) {
		if (!ir->regalloc.spills[i].use && ir->regalloc.spills[i].made) {
			ir->regalloc.spills[i].use = 1;
			return ir->regalloc.spills[i].loc;
		}
	}

	if (ir->regalloc.amount == ir->regalloc.allocated)
		INTERNAL_ERROR("OppIR spill limit met");

	ir->local_stack.size += 8;
	ir->local_stack.pos -= 8;
	
	ir->regalloc.spills[ir->regalloc.amount].loc = ir->local_stack.pos;
	ir->regalloc.spills[ir->regalloc.amount].use = 1;
	ir->regalloc.spills[ir->regalloc.amount].made = 1;
	ir->regalloc.amount++;

	return ir->local_stack.pos;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movq 0x20(%rdi), %rax
xorl %ecx, %ecx
movl %ecx, %ecx
cmpq %rcx, %rax
jbe 0x6d63
movq 0x28(%rbx), %rdx
cmpb $0x0, (%rdx,%rcx,8)
jne 0x6d5f
cmpb $0x0, 0x1(%rdx,%rcx,8)
jne 0x6da7
incl %ecx
jmp 0x6d47
movq 0x18(%rbx), %rcx
cmpq %rax, %rcx
jne 0x6d83
leaq 0x4656(%rip), %rdi      # 0xb3c9
leaq 0x4665(%rip), %rsi      # 0xb3df
callq 0x9287
movq 0x18(%rbx), %rcx
addl $0x8, 0x48(%rbx)
movl 0x4c(%rbx), %eax
addl $-0x8, %eax
movl %eax, 0x4c(%rbx)
movq 0x28(%rbx), %rdx
movl %eax, 0x4(%rdx,%rcx,8)
movw $0x101, (%rdx,%rcx,8)   # imm = 0x101
incq %rcx
movq %rcx, 0x18(%rbx)
jmp 0x6daf
movb $0x1, (%rdx,%rcx,8)
movl 0x4(%rdx,%rcx,8), %eax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O2/Encryptr[P]O-plus-plus/opp/ir/ir.c
// Function: oppir_save_reg
static void oppir_save_reg(struct OppIr* ir, enum Regs reg_type, struct OppIr_Set* set)
{
	bool small = set->val.imm_i32 > -128;

	if (small)
		set->val.type = IMM_I8;

	oppir_check_realloc(ir, 3);
	switch (set->loc_type)
	{
		case IMM_I8:
		case IMM_U8:
			IR_EMIT(0x88);
			break;

		case IMM_I16:
		case IMM_U16:
			IR_EMIT(0x66);
			IR_EMIT(0x89);
			break;

		case IMM_I32:
		case IMM_U32:
			IR_EMIT(0x89);
			break;

		case IMM_I64:
		case IMM_U64:
			IR_EMIT(0x48);
			IR_EMIT(0x89);
			break;

		case IMM_F32:
			IR_EMIT(0xf3);
			IR_EMIT(0x0f);
			IR_EMIT(0x11);
			reg_type -= 3;
			break;

		case IMM_F64:
			IR_EMIT(0xf2);
			IR_EMIT(0x0f);
			IR_EMIT(0x11);
			reg_type -= 3;
			break;

		default: break;
	}

	if (small)
		IR_EMIT(0x45 + (reg_type*8));
	else
		IR_EMIT(0x85 + (reg_type*8));

	oppir_write_const(ir, &set->val);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %rbx
movl %esi, %ebp
movq %rdi, %r14
movl 0x8(%rdx), %r15d
cmpl $-0x7f, %r15d
jl 0x6dd0
movl $0x4, (%rbx)
pushq $0x3
popq %rsi
movq %r14, %rdi
callq 0x640e
movl 0x10(%rbx), %eax
addl $-0x3, %eax
cmpl $0x9, %eax
ja 0x6ea0
leaq 0x454f(%rip), %rcx      # 0xb340
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq (%r14), %rax
movq 0x8(%r14), %rcx
leaq 0x1(%rcx), %rdx
movq %rdx, 0x8(%r14)
movb $-0x78, (%rax,%rcx)
jmp 0x6ea0
movq (%r14), %rax
movq 0x8(%r14), %rcx
leaq 0x1(%rcx), %rdx
movq %rdx, 0x8(%r14)
movb $0x66, (%rax,%rcx)
jmp 0x6e3a
movq (%r14), %rax
movq 0x8(%r14), %rcx
leaq 0x1(%rcx), %rdx
movq %rdx, 0x8(%r14)
movb $0x48, (%rax,%rcx)
movq (%r14), %rax
movq 0x8(%r14), %rcx
leaq 0x1(%rcx), %rdx
movq %rdx, 0x8(%r14)
movb $-0x77, (%rax,%rcx)
jmp 0x6ea0
movq (%r14), %rax
movq 0x8(%r14), %rcx
leaq 0x1(%rcx), %rdx
movq %rdx, 0x8(%r14)
movb $-0xe, (%rax,%rcx)
jmp 0x6e77
movq (%r14), %rax
movq 0x8(%r14), %rcx
leaq 0x1(%rcx), %rdx
movq %rdx, 0x8(%r14)
movb $-0xd, (%rax,%rcx)
movq (%r14), %rax
movq 0x8(%r14), %rcx
leaq 0x1(%rcx), %rdx
movq %rdx, 0x8(%r14)
movb $0xf, (%rax,%rcx)
movq (%r14), %rax
movq 0x8(%r14), %rcx
leaq 0x1(%rcx), %rdx
movq %rdx, 0x8(%r14)
movb $0x11, (%rax,%rcx)
addl $-0x3, %ebp
shlb $0x3, %bpl
movq (%r14), %rax
movq 0x8(%r14), %rcx
leaq 0x1(%rcx), %rdx
cmpl $-0x7f, %r15d
movq %rdx, 0x8(%r14)
pushq $0x45
popq %rdx
movl $0x85, %esi
cmovgel %edx, %esi
addb %bpl, %sil
movb %sil, (%rax,%rcx)
movq %r14, %rdi
movq %rbx, %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x6c13
// File: /workspace/github_c_makefile_star2_O2/Encryptr[P]O-plus-plus/opp/ir/ir.c
// Function: oppir_pop_reg
static struct Register oppir_pop_reg(struct OppIr* ir)
{
	struct Register pop_reg = {0};
	ir->reg_stack.top--;

	if (ir->reg_stack.top < ir->reg_stack.stack || !ir->reg_stack.top->used)
		printf("Error reg_stack pop overflow\n");

	if (ir->reg_stack.top->spilled) {
		ir->reg_stack.top->used = 0;
		ir->reg_stack.top->spilled = 0;
		struct OppIr_Const val = {
			.loc_type = ir->reg_stack.top->type,
			.val.type = IMM_LOC,
			.val.imm_i32 = ir->reg_stack.top->loc
		};
		
		oppir_eval_const(ir, &val);
		pop_reg = oppir_pop_reg(ir);

		for (unsigned int i = 0; i < ir->regalloc.allocated; i++) {
			if (ir->regalloc.spills[i].loc == ir->reg_stack.top->loc) {
				ir->regalloc.spills[i].use = 0;
				break;
			}
		}
	}
	else {
		ir->reg_stack.top->used = 0;
		pop_reg = *ir->reg_stack.top;
		regs[pop_reg.reg].used = 0;
	}

	return pop_reg;
}

// Assembly:
pushq %rbp
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
movq 0x40(%rdi), %rax
leaq -0x10(%rax), %rcx
movq %rcx, 0x40(%rdi)
cmpq 0x38(%rdi), %rcx
jb 0x6f23
cmpb $0x0, -0x4(%rax)
jne 0x6f33
leaq 0x4612(%rip), %rdi      # 0xb53c
callq 0x1060
movq 0x40(%rbx), %rcx
movb 0xd(%rcx), %al
movb $0x0, 0xc(%rcx)
cmpb $0x1, %al
jne 0x6f94
xorl %ebp, %ebp
movb %bpl, 0xd(%rcx)
movq %rsp, %rsi
movl $0x2, (%rsi)
movl 0x8(%rcx), %eax
movl %eax, 0x8(%rsi)
movl 0x4(%rcx), %eax
movl %eax, 0x10(%rsi)
movb %bpl, 0x14(%rsi)
movq %rbx, %rdi
callq 0x64a1
movq %rbx, %rdi
callq 0x6f02
movq 0x20(%rbx), %rcx
movl %ebp, %esi
cmpq %rsi, %rcx
jbe 0x6fad
movq 0x28(%rbx), %rdi
movq 0x40(%rbx), %r8
movl 0x4(%rdi,%rsi,8), %r9d
leal 0x1(%rsi), %ebp
cmpl 0x8(%r8), %r9d
jne 0x6f71
movb $0x0, (%rdi,%rsi,8)
jmp 0x6fad
movq (%rcx), %rax
movq 0x8(%rcx), %rdx
movl %eax, %ecx
shlq $0x4, %rcx
leaq 0x9188(%rip), %rsi      # 0x10130
movb $0x0, 0xc(%rcx,%rsi)
addq $0x18, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/Encryptr[P]O-plus-plus/opp/ir/ir.c
// Function: oppir_push
static void oppir_push(struct OppIr* ir, struct Register reg)
{
	if (regs[reg.reg].used == 0) {
		regs[reg.reg].used = 1;
		oppir_check_regstack(ir);
		*ir->reg_stack.top = reg;
		ir->reg_stack.top->used = 1;
		ir->reg_stack.top->loc = 0;
		ir->reg_stack.top->spilled = 0;
		ir->reg_stack.top++;
	}
	else
		printf("Internal error oppir_push\n"), exit(1);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %r15
movl %r15d, %eax
shlq $0x4, %rax
leaq 0x9145(%rip), %rcx      # 0x10130
cmpb $0x0, 0xc(%rax,%rcx)
jne 0x702e
movq %rdx, %r14
movq %rdi, %rbx
addq %rcx, %rax
addq $0xc, %rax
movb $0x1, (%rax)
callq 0x6cf5
movq 0x40(%rbx), %rax
movq %r15, (%rax)
movq %r14, 0x8(%rax)
movq 0x40(%rbx), %rax
movw $0x1, 0xc(%rax)
andl $0x0, 0x8(%rax)
addq $0x10, %rax
movq %rax, 0x40(%rbx)
popq %rbx
popq %r14
popq %r15
retq
leaq 0x4524(%rip), %rdi      # 0xb559
callq 0x1060
pushq $0x1
popq %rdi
callq 0x1210
// File: /workspace/github_c_makefile_star2_O2/Encryptr[P]O-plus-plus/opp/ir/ir.c
// Function: oppir_spill_all
static void oppir_spill_all(struct OppIr* ir)
{
	for (struct Register* i = ir->reg_stack.stack; i < ir->reg_stack.top; i++) {
		if (i->used && !i->spilled) {
			struct Register spill_reg = {0};
			struct OppIr_Set set;
			i->spilled = 1;
			i->loc = oppir_get_spill(ir);
			spill_reg.loc = i->loc;
			spill_reg.reg = i->reg;
			spill_reg.type = i->type;

			if (spill_reg.type != IMM_F64 && spill_reg.type != IMM_F32)
				spill_reg.type = IMM_U64;

			regs[spill_reg.reg].used = false;

			set.val.type = IMM_I32;
			set.val.imm_i32 = spill_reg.loc;
			set.loc_type = spill_reg.type;

			oppir_save_reg(ir, spill_reg.reg, &set);
		}
	}

}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq %rdi, %rbx
movq 0x38(%rdi), %r15
pushq $0x9
popq %rbp
leaq 0x90d1(%rip), %r12      # 0x10130
leaq 0x8(%rsp), %r14
cmpq 0x40(%rbx), %r15
jae 0x70c7
cmpb $0x1, 0xc(%r15)
jne 0x70c1
cmpb $0x0, 0xd(%r15)
jne 0x70c1
movb $0x1, 0xd(%r15)
movq %rbx, %rdi
callq 0x6d3d
movl %eax, 0x8(%r15)
movl (%r15), %esi
movl 0x4(%r15), %ecx
leal -0xd(%rcx), %edx
cmpl $-0x2, %edx
cmovbl %ebp, %ecx
movq %rsi, %rdx
shlq $0x4, %rdx
movb $0x0, 0xc(%rdx,%r12)
movl $0x8, 0x8(%rsp)
movl %eax, 0x10(%rsp)
movl %ecx, 0x18(%rsp)
movq %rbx, %rdi
movq %r14, %rdx
callq 0x6db1
addq $0x10, %r15
jmp 0x7064
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/Encryptr[P]O-plus-plus/opp/ir/ir-linux.c
// Function: dump_data
void dump_data(struct OppIr* ir)
{
	printf("Data Dump\n");
	printf("A: %ld S: %ld\n", ir->data_seg.allocated, ir->data_seg.idx);
	for (unsigned int i = 0; i < ir->data_seg.idx; i++) {
		if ((i+1) % 16 == 0) printf("\n");
		else printf("%d ", ir->data_seg.data[i]);
	}
	printf("\n");

	printf("Reloc Dump\n");
	printf("A: %ld S: %u\n", elf_info.r_allocated, elf_info.r_idx);
	printf("\n");
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x45d9(%rip), %rdi      # 0xb6e4
callq 0x1060
movq 0x80(%rbx), %rsi
movq 0x88(%rbx), %rdx
leaq 0x4463(%rip), %rdi      # 0xb588
xorl %eax, %eax
callq 0x10e0
pushq $0x1
popq %r15
pushq $0xa
popq %rbp
leaq 0x4ed0(%rip), %r14      # 0xc00a
leal -0x1(%r15), %eax
cmpq %rax, 0x88(%rbx)
jbe 0x7170
testb $0xf, %r15b
je 0x7164
movq 0x90(%rbx), %rcx
movzbl (%rcx,%rax), %esi
movq %r14, %rdi
xorl %eax, %eax
callq 0x10e0
jmp 0x716b
movl %ebp, %edi
callq 0x1040
incl %r15d
jmp 0x713a
pushq $0xa
popq %rbx
movl %ebx, %edi
callq 0x1040
leaq 0x456d(%rip), %rdi      # 0xb6ee
callq 0x1060
movq 0x90eb(%rip), %rsi      # 0x10278
movl 0x90dd(%rip), %edx      # 0x10270
leaq 0x43fd(%rip), %rdi      # 0xb597
xorl %eax, %eax
callq 0x10e0
movl %ebx, %edi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x1040
// File: /workspace/github_c_makefile_star2_O2/Encryptr[P]O-plus-plus/opp/ir/ir-linux.c
// Function: strtable_write
void strtable_write(unsigned int len, char* bytes)
{
	if ((elf_info.strtable.str_idx + (len+2)) >= elf_info.strtable.allocated) {
		printf("REALLOC STRTABLE\n");
	}
	elf_info.strtable.str[elf_info.strtable.str_idx++] = 0x0;
	for (unsigned int i = 0; i < len; i++)
		elf_info.strtable.str[elf_info.strtable.str_idx++] = bytes[i];
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movl %edi, %r14d
movl 0x9086(%rip), %eax      # 0x10248
leal (%r14,%rax), %ecx
addl $0x2, %ecx
cmpq %rcx, 0x9068(%rip)      # 0x10238
ja 0x71e4
leaq 0x4520(%rip), %rdi      # 0xb6f9
callq 0x1060
movl 0x9064(%rip), %eax      # 0x10248
movq 0x9055(%rip), %rcx      # 0x10240
leal 0x1(%rax), %edx
movl %edx, 0x9054(%rip)      # 0x10248
movl %eax, %eax
movb $0x0, (%rcx,%rax)
movl %r14d, %eax
xorl %ecx, %ecx
cmpq %rcx, %rax
je 0x7227
movb (%rbx,%rcx), %dl
movq 0x9032(%rip), %rsi      # 0x10240
movl 0x9034(%rip), %edi      # 0x10248
leal 0x1(%rdi), %r8d
movl %r8d, 0x9029(%rip)      # 0x10248
movb %dl, (%rsi,%rdi)
incq %rcx
jmp 0x71ff
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/Encryptr[P]O-plus-plus/opp/ir/ir-linux.c
// Function: make_extern
void make_extern(char* sym_name)
{
	assert(elf_info.symbols.sym_idx != elf_info.symbols.allocated);
	struct Elf64_Symbol* sym = &elf_info.symbols.pairs[elf_info.symbols.sym_idx].syms;
	elf_info.symbols.pairs[elf_info.symbols.sym_idx].name = sym_name;
	sym->st_name = elf_info.strtable.str_idx + 1;
	sym->st_value = 0;
	sym->st_size = 0;
	sym->st_info = 16;
	sym->st_other = 0;
	sym->st_shndx = 0;
	strtable_write(strlen(sym_name), sym_name);
	elf_info.symbols.sym_idx++;
}

// Assembly:
pushq %rbx
movl 0x902a(%rip), %eax      # 0x10260
cmpq %rax, 0x9013(%rip)      # 0x10250
je 0x7284
movq %rdi, %rbx
movq 0x900f(%rip), %rcx      # 0x10258
shlq $0x5, %rax
movq %rdi, 0x18(%rcx,%rax)
movl 0x8ff0(%rip), %edx      # 0x10248
incl %edx
movl %edx, (%rcx,%rax)
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rcx,%rax)
movl $0x10, 0x4(%rcx,%rax)
callq 0x10b0
movl %eax, %edi
movq %rbx, %rsi
callq 0x71b2
incl 0x8fde(%rip)            # 0x10260
popq %rbx
retq
leaq 0x431a(%rip), %rdi      # 0xb5a5
leaq 0x434a(%rip), %rsi      # 0xb5dc
leaq 0x4355(%rip), %rcx      # 0xb5ee
pushq $0x60
popq %rdx
callq 0x1100
// File: /workspace/github_c_makefile_star2_O2/Encryptr[P]O-plus-plus/opp/ir/ir-linux.c
// Function: make_fn_sym
void make_fn_sym(char* fname, size_t start)
{
	assert(elf_info.symbols.sym_idx != elf_info.symbols.allocated);
	struct Elf64_Symbol* sym = &elf_info.symbols.pairs[elf_info.symbols.sym_idx].syms;
	elf_info.symbols.pairs[elf_info.symbols.sym_idx].name = fname;
	sym->st_name = elf_info.strtable.str_idx + 1;
	sym->st_value = start;
	sym->st_size = 0;
	sym->st_info = 16;
	sym->st_other = 0;
	sym->st_shndx = 1;
	strtable_write(strlen(fname), fname);
	elf_info.symbols.sym_idx++;
}

// Assembly:
pushq %rbx
movl 0x8fb8(%rip), %eax      # 0x10260
cmpq %rax, 0x8fa1(%rip)      # 0x10250
je 0x72f9
movq %rdi, %rbx
movq 0x8f9d(%rip), %rcx      # 0x10258
shlq $0x5, %rax
movq %rdi, 0x18(%rcx,%rax)
movl 0x8f7e(%rip), %edx      # 0x10248
incl %edx
movl %edx, (%rcx,%rax)
movq %rsi, 0x8(%rcx,%rax)
andq $0x0, 0x10(%rcx,%rax)
movl $0x10010, 0x4(%rcx,%rax) # imm = 0x10010
callq 0x10b0
movl %eax, %edi
movq %rbx, %rsi
callq 0x71b2
incl 0x8f69(%rip)            # 0x10260
popq %rbx
retq
leaq 0x42a5(%rip), %rdi      # 0xb5a5
leaq 0x42d5(%rip), %rsi      # 0xb5dc
leaq 0x42f9(%rip), %rcx      # 0xb607
pushq $0x6f
popq %rdx
callq 0x1100
// File: /workspace/github_c_makefile_star2_O2/Encryptr[P]O-plus-plus/opp/ir/ir-linux.c
// Function: make_global_sym
void make_global_sym(char* name, size_t loc, bool local)
{
	assert(elf_info.symbols.sym_idx != elf_info.symbols.allocated);
	struct Elf64_Symbol* sym = &elf_info.symbols.pairs[elf_info.symbols.sym_idx].syms;
	elf_info.symbols.pairs[elf_info.symbols.sym_idx].name = name;
	sym->st_name = elf_info.strtable.str_idx + 1;
	sym->st_value = loc;
	sym->st_size = 0;
	sym->st_info = local == 1 ? 1 : 16;
	sym->st_other = 0;
	sym->st_shndx = 2;
	strtable_write(strlen(name), name);
	elf_info.symbols.sym_idx++;
}

// Assembly:
pushq %rbx
movl 0x8f43(%rip), %eax      # 0x10260
cmpq %rax, 0x8f2c(%rip)      # 0x10250
je 0x7385
movq %rdi, %rbx
movq 0x8f28(%rip), %rcx      # 0x10258
shlq $0x5, %rax
movq %rdi, 0x18(%rcx,%rax)
movl 0x8f09(%rip), %edi      # 0x10248
incl %edi
movl %edi, (%rcx,%rax)
movq %rsi, 0x8(%rcx,%rax)
andq $0x0, 0x10(%rcx,%rax)
testb %dl, %dl
pushq $0x1
popq %rdx
pushq $0x10
popq %rsi
cmovnel %edx, %esi
movb %sil, 0x4(%rcx,%rax)
movb $0x0, 0x5(%rcx,%rax)
movw $0x2, 0x6(%rcx,%rax)
movq %rbx, %rdi
callq 0x10b0
movl %eax, %edi
movq %rbx, %rsi
callq 0x71b2
incl 0x8edd(%rip)            # 0x10260
popq %rbx
retq
leaq 0x4219(%rip), %rdi      # 0xb5a5
leaq 0x4249(%rip), %rsi      # 0xb5dc
leaq 0x428e(%rip), %rcx      # 0xb628
pushq $0x7e
popq %rdx
callq 0x1100
// File: /workspace/github_c_makefile_star2_O2/Encryptr[P]O-plus-plus/opp/ir/ir-linux.c
// Function: make_reloc
void make_reloc(unsigned int off, char* sym, int type)
{
	assert(elf_info.r_idx != elf_info.r_allocated);
	struct Elf64_Reloc* r = &elf_info.relocs[elf_info.r_idx];
	uint64_t loc = 0;

	for (unsigned int i = 2; i < elf_info.symbols.sym_idx; i++) {
		if (!strcmp(elf_info.symbols.pairs[i].name, sym))
			loc = i;
	}
	r->r_offset = off;
	r->r_info = ELF64_R_INFO(loc, type);
	r->r_addend = -4;

	elf_info.r_idx++;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %edx, 0xc(%rsp)
movl %edi, 0x8(%rsp)
movl 0x8eb2(%rip), %eax      # 0x10270
movq %rax, 0x10(%rsp)
cmpq %rax, 0x8eae(%rip)      # 0x10278
je 0x7454
movq %rsi, %r14
movq 0x8e8e(%rip), %r12      # 0x10268
movl 0x8e80(%rip), %ebx      # 0x10260
movq 0x8e71(%rip), %rbp      # 0x10258
addq $0x58, %rbp
pushq $0x2
popq %r15
xorl %r13d, %r13d
cmpq %rbx, %r15
jae 0x7412
movq (%rbp), %rdi
movq %r14, %rsi
callq 0x1140
testl %eax, %eax
cmoveq %r15, %r13
incq %r15
addq $0x20, %rbp
jmp 0x73f2
movq 0x10(%rsp), %rdx
imulq $0x18, %rdx, %rax
movl 0x8(%rsp), %ecx
movq %rcx, (%r12,%rax)
shlq $0x20, %r13
movl 0xc(%rsp), %ecx
orq %r13, %rcx
movq %rcx, 0x8(%r12,%rax)
movq $-0x4, 0x10(%r12,%rax)
leal 0x1(%rdx), %eax
movl %eax, 0x8e2b(%rip)      # 0x10270
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x41f9(%rip), %rdi      # 0xb654
leaq 0x417a(%rip), %rsi      # 0xb5dc
leaq 0x4212(%rip), %rcx      # 0xb67b
movl $0x8d, %edx
callq 0x1100
// File: /workspace/github_c_makefile_star2_O2/Encryptr[P]O-plus-plus/opp/ir/ir-linux.c
// Function: init_strtab
void init_strtab()
{
	elf_info.strtable.str = (unsigned char*)malloc(STRTAB_SIZE);

	if (elf_info.strtable.str == NULL)
		INTERNAL_ERROR("Malloc fail");

	elf_info.strtable.allocated = STRTAB_SIZE;
	elf_info.strtable.str_idx = 0;
	memset(elf_info.strtable.str, 0, STRTAB_SIZE);
}

// Assembly:
pushq %rax
movl $0x80, %edi
callq 0x1180
movq %rax, 0x8dbb(%rip)      # 0x10240
testq %rax, %rax
jne 0x74a4
leaq 0x2b96(%rip), %rdi      # 0xa027
leaq 0x420e(%rip), %rsi      # 0xb6a6
callq 0x9287
movq 0x8d9c(%rip), %rax      # 0x10240
movq $0x80, 0x8d89(%rip) # 0x10238
andl $0x0, 0x8d92(%rip)      # 0x10248
xorps %xmm0, %xmm0
movups %xmm0, 0x70(%rax)
movups %xmm0, 0x60(%rax)
movups %xmm0, 0x50(%rax)
movups %xmm0, 0x40(%rax)
movups %xmm0, 0x30(%rax)
movups %xmm0, 0x20(%rax)
movups %xmm0, 0x10(%rax)
movups %xmm0, (%rax)
popq %rax
retq
// File: /workspace/github_c_makefile_star2_O2/Encryptr[P]O-plus-plus/opp/ir/ir-linux.c
// Function: init_reloc
void init_reloc()
{
	elf_info.relocs = (struct Elf64_Reloc*)
		malloc(sizeof(struct Elf64_Reloc)*DEFAULT_SYMS);

	if (elf_info.relocs == NULL)
		INTERNAL_ERROR("Malloc fail");

	elf_info.r_idx = 0;
	elf_info.r_allocated = DEFAULT_SYMS;
	memset(elf_info.relocs, 0, sizeof(struct Elf64_Reloc)*DEFAULT_SYMS);
}

// Assembly:
pushq %rax
movl $0x180, %edi            # imm = 0x180
callq 0x1180
movq %rax, 0x8d7c(%rip)      # 0x10268
testq %rax, %rax
jne 0x750b
leaq 0x2b2f(%rip), %rdi      # 0xa027
leaq 0x41b3(%rip), %rsi      # 0xb6b2
callq 0x9287
movq 0x8d5d(%rip), %rax      # 0x10268
andl $0x0, 0x8d5e(%rip)      # 0x10270
movq $0x10, 0x8d5b(%rip) # 0x10278
movl $0x180, %edx            # imm = 0x180
movq %rax, %rdi
xorl %esi, %esi
popq %rax
jmp 0x1110
// File: /workspace/github_c_makefile_star2_O2/Encryptr[P]O-plus-plus/opp/ir/ir-linux.c
// Function: init_elf_syms
void init_elf_syms()
{
	elf_info.symbols.pairs = (struct Elf_Pair*)
		malloc(sizeof(struct Elf_Pair)*DEFAULT_SYMS);

	if (elf_info.symbols.pairs == NULL)
		INTERNAL_ERROR("Malloc fail");

	elf_info.symbols.allocated = DEFAULT_SYMS;
	elf_info.symbols.sym_idx = 0;
	memset(elf_info.symbols.pairs, 0, sizeof(struct Elf_Pair)*DEFAULT_SYMS);

	struct Elf64_Symbol* sym = &elf_info.symbols.pairs[1].syms;
	elf_info.symbols.pairs[1].name = NULL;
	strtable_write(strlen("test.opp"), "test.opp");

	// ABS fname
	sym->st_name = 1;
	sym->st_value = 0;
	sym->st_size = 0;
	sym->st_info = 4;
	sym->st_other = 0;
	sym->st_shndx = 65521;
	elf_info.symbols.sym_idx = 2;
}

// Assembly:
pushq %rbx
movl $0x200, %edi            # imm = 0x200
callq 0x1180
movq %rax, %rbx
movq %rax, 0x8d16(%rip)      # 0x10258
testq %rax, %rax
jne 0x7561
leaq 0x2ad9(%rip), %rdi      # 0xa027
leaq 0x4168(%rip), %rsi      # 0xb6bd
callq 0x9287
movq 0x8cf7(%rip), %rbx      # 0x10258
movq $0x10, 0x8ce4(%rip) # 0x10250
andl $0x0, 0x8ced(%rip)      # 0x10260
movl $0x200, %edx            # imm = 0x200
movq %rbx, %rdi
xorl %esi, %esi
callq 0x1110
leaq 0x4142(%rip), %rsi      # 0xb6cb
pushq $0x8
popq %rdi
callq 0x71b2
movabsq $-0xefffbffffffff, %rax # imm = 0xFFF1000400000001
movq %rax, 0x20(%rbx)
xorps %xmm0, %xmm0
movups %xmm0, 0x28(%rbx)
movl $0x2, 0x8cb0(%rip)      # 0x10260
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O2/Encryptr[P]O-plus-plus/opp/ir/ir-linux.c
// Function: init_text_sect
void init_text_sect(struct OppIr* ir)
{
	struct Elf64_SHDR* sect = &elf_info.sect_list[SECT_TEXT];
	sect->sh_name = 1;
	sect->sh_type = SHT_PROGBITS;
	sect->sh_flags = 0x6;
	sect->sh_addr = 0x0;
	sect->sh_offset = 0x0;
	sect->sh_size = ir->code.idx;
	sect->sh_link = 0;
	sect->sh_info = 0;
	sect->sh_addralign = 0x8;
	sect->sh_entsize = 0;

	while (ir->code.idx % 8 != 0) {
		oppir_check_realloc(ir, 1);
		IR_EMIT(0x0);
	}
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x8bdb(%rip), %rcx      # 0x10230
movabsq $0x100000001, %rax      # imm = 0x100000001
movq %rax, (%rcx)
movq $0x6, 0x8(%rcx)
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rcx)
movq 0x8(%rdi), %rax
movq %rax, 0x20(%rcx)
andq $0x0, 0x28(%rcx)
movq $0x8, 0x30(%rcx)
andq $0x0, 0x38(%rcx)
pushq $0x1
popq %rbp
testb $0x7, %al
je 0x76b5
movq %rbx, %rdi
movl %ebp, %esi
callq 0x640e
movq (%rbx), %rax
movq 0x8(%rbx), %rcx
leaq 0x1(%rcx), %rdx
movq %rdx, 0x8(%rbx)
movb $0x0, (%rax,%rcx)
movq 0x8(%rbx), %rax
jmp 0x768e
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/Encryptr[P]O-plus-plus/opp/ir/ir-linux.c
// Function: init_data_sect
void init_data_sect(struct OppIr* ir)
{
	struct Elf64_SHDR* sect = &elf_info.sect_list[SECT_DATA];
	sect->sh_name = 7;
	sect->sh_type = SHT_PROGBITS;
	sect->sh_flags = 3;
	sect->sh_addr = 0x0;
	sect->sh_offset = 0x0;
	sect->sh_size = ir->data_seg.idx;
	sect->sh_link = 0;
	sect->sh_info = 0;
	sect->sh_addralign = 8;
	sect->sh_entsize = 0;

	while (ir->data_seg.idx % 8 != 0) {
		oppir_check_data(ir, 1);
		ir->data_seg.data[ir->data_seg.idx++] = 0;
		break;
	}
}

// Assembly:
movq 0x8b6d(%rip), %rax      # 0x10230
movabsq $0x100000007, %rcx      # imm = 0x100000007
movq %rcx, 0x40(%rax)
movq $0x3, 0x48(%rax)
xorps %xmm0, %xmm0
movups %xmm0, 0x50(%rax)
movq 0x88(%rdi), %rcx
movq %rcx, 0x60(%rax)
andq $0x0, 0x68(%rax)
movq $0x8, 0x70(%rax)
andq $0x0, 0x78(%rax)
testb $0x7, %cl
je 0x772c
pushq %rbx
movq %rdi, %rbx
pushq $0x1
popq %rsi
callq 0x644f
movq 0x88(%rbx), %rax
movq 0x90(%rbx), %rcx
leaq 0x1(%rax), %rdx
movq %rdx, 0x88(%rbx)
movb $0x0, (%rcx,%rax)
popq %rbx
retq