LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O1/dalnefre[P]kernel_abe/schemer.c
// Function: next_list_beh
BEH_DECL(next_list_beh)
{
	CONS* value = WHAT;
	CONS* to;
	CONS* expr;
	CONS* env;
	CONS* p;
	CONS* msg;
	CONS* a;

	DBUG_ENTER("next_list_beh");
	DBUG_PRINT("", ("value = %s", cons_to_str(value)));
	to = pr_head(MINE);
	p = pr_tail(MINE);
	expr = pr_head(p);
	DBUG_PRINT("", ("expr = %s", cons_to_str(expr)));
	env = pr_tail(p);
	a = ACTOR(join_list_beh, mk_pair(to, value));
	msg = mk_pair(expr, env);
	msg = mk_pair(a, msg);
	SEND(eval_list__actor, msg);
	DBUG_RETURN;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
movq 0x30(%rdi), %rdi
callq 0x15225
movq %rax, %r14
leaq 0x11e31(%rip), %rax     # 0x182ba
movq %rsp, %rdi
movq %rax, (%rdi)
leaq 0x18e8a(%rip), %r12     # 0x1f320
movq (%r12), %rax
movq 0x50(%rax), %rax
movl 0x8(%rax), %ecx
movl %ecx, 0x8(%rdi)
movl $0x417, 0xc(%rdi)       # imm = 0x417
leaq 0x1452e(%rip), %r15     # 0x1a9e0
movq %r15, 0x10(%rdi)
leaq 0x18c83(%rip), %rcx     # 0x1f140
movq %rcx, 0x18(%rdi)
movq %rax, 0x20(%rdi)
callq 0x16ef2
leaq 0x1941f(%rip), %rax     # 0x1f8f0
cmpl $0x0, (%rax)
je 0x6516
movq (%r12), %rax
movq 0x50(%rax), %rax
movq %r15, 0x10(%rax)
movq %r15, %rdi
callq 0x16664
testl %eax, %eax
je 0x6516
movq (%r12), %rax
movq 0x50(%rax), %rax
movl $0x418, 0xc(%rax)       # imm = 0x418
movq %r14, %rdi
callq 0xf17c
leaq 0x11b98(%rip), %rdi     # 0x180a4
movq %rax, %rsi
xorl %eax, %eax
callq 0x16f63
movq 0x30(%rbx), %rdi
callq 0x15186
movq %rax, %rdi
callq 0xd2f1
movq %rax, %rdi
callq 0x15186
movq %rax, %r12
movq 0x30(%rbx), %rdi
callq 0x15186
movq %rax, %rdi
callq 0xd2f1
movq %rax, %rdi
callq 0x15225
movq %rax, %rbp
movq %rax, %rdi
callq 0x15186
movq %rax, %r13
leaq 0x19390(%rip), %rax     # 0x1f8f0
cmpl $0x0, (%rax)
je 0x65b1
leaq 0x18db4(%rip), %rax     # 0x1f320
movq (%rax), %rax
movq 0x50(%rax), %rax
movq %r15, 0x10(%rax)
movq %r15, %rdi
callq 0x16664
testl %eax, %eax
je 0x65b1
leaq 0x18d96(%rip), %rax     # 0x1f320
movq (%rax), %rax
movq 0x50(%rax), %rax
movl $0x41c, 0xc(%rax)       # imm = 0x41C
movq %r13, %rdi
callq 0xf17c
leaq 0x11b45(%rip), %rdi     # 0x180ec
movq %rax, %rsi
xorl %eax, %eax
callq 0x16f63
movq %rbp, %rdi
callq 0x15225
movq %rax, %r15
movq %r12, %rdi
movq %r14, %rsi
callq 0x15164
leaq -0x35b(%rip), %rsi      # 0x6273
movq %rbx, %rdi
movq %rax, %rdx
callq 0xde1a
movq %rax, %r14
movq %r13, %rdi
movq %r15, %rsi
callq 0x15164
movq %r14, %rdi
movq %rax, %rsi
callq 0x15164
movq 0x18d87(%rip), %rsi     # 0x1f380
movq %rbx, %rdi
movq %rax, %rdx
callq 0xdef7
movq %rsp, %rdi
movl $0x422, 0xc(%rdi)       # imm = 0x422
callq 0x17077
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/dalnefre[P]kernel_abe/schemer.c
// Function: join_value_beh
BEH_DECL(join_value_beh)
{
	CONS* to;
	CONS* value;
	CONS* list;

	DBUG_ENTER("join_value_beh");
	to = pr_head(MINE);
	list = pr_tail(MINE);
	if (is_pair(WHAT) && (pr_head(WHAT) == to)) {
		DBUG_PRINT("", ("list = %s", cons_to_str(list)));
		value = pr_tail(WHAT);
		DBUG_PRINT("", ("value = %s", cons_to_str(value)));
		SEND(to, mk_list(value, list));
	} else {
		DBUG_PRINT("", ("Ignored! %s", cons_to_str(WHAT)));
		abort();
	}
	DBUG_RETURN;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rdi, %rbx
leaq 0x1195d(%rip), %rax     # 0x182d6
leaq 0x10(%rsp), %rdi
movq %rax, (%rdi)
leaq 0x18998(%rip), %r13     # 0x1f320
movq (%r13), %rax
movq 0x50(%rax), %rax
movl 0x8(%rax), %ecx
movl %ecx, 0x8(%rdi)
movl $0x462, 0xc(%rdi)       # imm = 0x462
leaq 0x1403c(%rip), %r14     # 0x1a9e0
movq %r14, 0x10(%rdi)
leaq 0x18791(%rip), %rcx     # 0x1f140
movq %rcx, 0x18(%rdi)
movq %rax, 0x20(%rdi)
callq 0x16ef2
movq 0x30(%rbx), %rdi
callq 0x15186
movq %rax, %rdi
callq 0xd2f1
movq %rax, %rdi
callq 0x15186
movq %rax, %r15
movq 0x30(%rbx), %rdi
callq 0x15186
movq %rax, %rdi
callq 0xd2f1
movq %rax, %rdi
callq 0x15225
movq %rax, %r12
movq 0x30(%rbx), %rdi
callq 0x15225
testq %rax, %rax
je 0x6b32
movq 0x30(%rbx), %rdi
callq 0x15225
testb $0x3, %al
jne 0x6b32
movq 0x30(%rbx), %rdi
callq 0x15225
cmpq 0x18599(%rip), %rax     # 0x1efc0
je 0x6b32
movq 0x30(%rbx), %rdi
callq 0x15225
movq %rax, %rdi
callq 0x15186
cmpq %r15, %rax
jne 0x6b32
movq %r15, 0x8(%rsp)
leaq 0x18e9d(%rip), %rbp     # 0x1f8f0
cmpl $0x0, (%rbp)
je 0x6a99
movq (%r13), %rax
movq 0x50(%rax), %rax
movq %r14, 0x10(%rax)
movq %r14, %rdi
callq 0x16664
testl %eax, %eax
je 0x6a99
movq (%r13), %rax
movq 0x50(%rax), %rax
movl $0x466, 0xc(%rax)       # imm = 0x466
movq %r12, %rdi
callq 0xf17c
leaq 0x11821(%rip), %rdi     # 0x182b0
movq %rax, %rsi
xorl %eax, %eax
callq 0x16f63
movq %r14, %r15
movq %r13, %r14
movq 0x30(%rbx), %rdi
callq 0x15225
movq %rax, %rdi
callq 0x15225
movq %rax, %r13
cmpl $0x0, (%rbp)
je 0x6af7
movq (%r14), %rax
movq 0x50(%rax), %rax
movq %r15, 0x10(%rax)
movq %r15, %rdi
callq 0x16664
testl %eax, %eax
je 0x6af7
movq (%r14), %rax
movq 0x50(%rax), %rax
movl $0x468, 0xc(%rax)       # imm = 0x468
movq %r13, %rdi
callq 0xf17c
leaq 0x115b7(%rip), %rdi     # 0x180a4
movq %rax, %rsi
xorl %eax, %eax
callq 0x16f63
movq %r13, %rdi
movq %r12, %rsi
callq 0x15164
movq %rbx, %rdi
movq 0x8(%rsp), %rsi
movq %rax, %rdx
callq 0xdef7
leaq 0x10(%rsp), %rdi
movl $0x46e, 0xc(%rdi)       # imm = 0x46E
callq 0x17077
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x18db7(%rip), %rax     # 0x1f8f0
cmpl $0x0, (%rax)
je 0x6b87
movq (%r13), %rax
movq 0x50(%rax), %rax
movq %r14, 0x10(%rax)
movq %r14, %rdi
callq 0x16664
testl %eax, %eax
je 0x6b87
movq (%r13), %rax
movq 0x50(%rax), %rax
movl $0x46b, 0xc(%rax)       # imm = 0x46B
movq 0x30(%rbx), %rdi
callq 0x15225
movq %rax, %rdi
callq 0xf17c
leaq 0x114e3(%rip), %rdi     # 0x18060
movq %rax, %rsi
xorl %eax, %eax
callq 0x16f63
callq 0x2050
// File: /workspace/github_c_makefile_star2_O1/dalnefre[P]kernel_abe/schemer.c
// Function: next_seq_beh
BEH_DECL(next_seq_beh)
{
	CONS* value = WHAT;
	CONS* eval = pr_head(MINE);
	CONS* msg = pr_tail(MINE);

	DBUG_ENTER("next_seq_beh");
	DBUG_PRINT("", ("value = %s", cons_to_str(value)));
	SEND(eval, msg);
	DBUG_RETURN;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
movq 0x30(%rdi), %rdi
callq 0x15225
movq %rax, %r14
movq 0x30(%rbx), %rdi
callq 0x15186
movq %rax, %rdi
callq 0xd2f1
movq %rax, %rdi
callq 0x15186
movq %rax, %r15
movq 0x30(%rbx), %rdi
callq 0x15186
movq %rax, %rdi
callq 0xd2f1
movq %rax, %rdi
callq 0x15225
movq %rax, %r12
leaq 0x11154(%rip), %rax     # 0x18303
movq %rsp, %rdi
movq %rax, (%rdi)
leaq 0x18164(%rip), %rbp     # 0x1f320
movq (%rbp), %rax
movq 0x50(%rax), %rax
movl 0x8(%rax), %ecx
movl %ecx, 0x8(%rdi)
movl $0x4d0, 0xc(%rdi)       # imm = 0x4D0
leaq 0x13808(%rip), %r13     # 0x1a9e0
movq %r13, 0x10(%rdi)
leaq 0x17f5d(%rip), %rcx     # 0x1f140
movq %rcx, 0x18(%rdi)
movq %rax, 0x20(%rdi)
callq 0x16ef2
leaq 0x186f9(%rip), %rax     # 0x1f8f0
cmpl $0x0, (%rax)
je 0x723c
movq (%rbp), %rax
movq 0x50(%rax), %rax
movq %r13, 0x10(%rax)
movq %r13, %rdi
callq 0x16664
testl %eax, %eax
je 0x723c
movq (%rbp), %rax
movq 0x50(%rax), %rax
movl $0x4d1, 0xc(%rax)       # imm = 0x4D1
movq %r14, %rdi
callq 0xf17c
leaq 0x10e72(%rip), %rdi     # 0x180a4
movq %rax, %rsi
xorl %eax, %eax
callq 0x16f63
movq %rbx, %rdi
movq %r15, %rsi
movq %r12, %rdx
callq 0xdef7
movq %rsp, %rdi
movl $0x4d3, 0xc(%rdi)       # imm = 0x4D3
callq 0x17077
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/dalnefre[P]kernel_abe/schemer.c
// Function: next_and_beh
BEH_DECL(next_and_beh)
{
	CONS* value = WHAT;
	CONS* eval = pr_head(MINE);
	CONS* msg = pr_tail(MINE);

	DBUG_ENTER("next_and_beh");
	DBUG_PRINT("", ("value = %s", cons_to_str(value)));
	if (value == FALSE_SYMBOL) {
		SEND(pr_head(msg), value);
	} else {
		SEND(eval, msg);
	}
	DBUG_RETURN;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
movq 0x30(%rdi), %rdi
callq 0x15225
movq %rax, %r14
movq 0x30(%rbx), %rdi
callq 0x15186
movq %rax, %rdi
callq 0xd2f1
movq %rax, %rdi
callq 0x15186
movq %rax, %r15
movq 0x30(%rbx), %rdi
callq 0x15186
movq %rax, %rdi
callq 0xd2f1
movq %rax, %rdi
callq 0x15225
movq %rax, %r12
leaq 0x10d00(%rip), %rax     # 0x1831d
movq %rsp, %rdi
movq %rax, (%rdi)
leaq 0x17cf6(%rip), %rbp     # 0x1f320
movq (%rbp), %rax
movq 0x50(%rax), %rax
movl 0x8(%rax), %ecx
movl %ecx, 0x8(%rdi)
movl $0x524, 0xc(%rdi)       # imm = 0x524
leaq 0x1339a(%rip), %r13     # 0x1a9e0
movq %r13, 0x10(%rdi)
leaq 0x17aef(%rip), %rcx     # 0x1f140
movq %rcx, 0x18(%rdi)
movq %rax, 0x20(%rdi)
callq 0x16ef2
leaq 0x1828b(%rip), %rax     # 0x1f8f0
cmpl $0x0, (%rax)
je 0x76aa
movq (%rbp), %rax
movq 0x50(%rax), %rax
movq %r13, 0x10(%rax)
movq %r13, %rdi
callq 0x16664
testl %eax, %eax
je 0x76aa
movq (%rbp), %rax
movq 0x50(%rax), %rax
movl $0x525, 0xc(%rax)       # imm = 0x525
movq %r14, %rdi
callq 0xf17c
leaq 0x10a04(%rip), %rdi     # 0x180a4
movq %rax, %rsi
xorl %eax, %eax
callq 0x16f63
xorl %edi, %edi
callq 0x3d66
cmpq %rax, %r14
je 0x76c1
movq %rbx, %rdi
movq %r15, %rsi
movq %r12, %rdx
jmp 0x76d2
movq %r12, %rdi
callq 0x15186
movq %rbx, %rdi
movq %rax, %rsi
movq %r14, %rdx
callq 0xdef7
movq %rsp, %rdi
movl $0x52b, 0xc(%rdi)       # imm = 0x52B
callq 0x17077
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/dalnefre[P]kernel_abe/schemer.c
// Function: apply_cond_beh
BEH_DECL(apply_cond_beh)
{
	CONS* f = pr_head(MINE);
	CONS* t = pr_tail(MINE);

	DBUG_ENTER("apply_cond_beh");
	if (WHAT == FALSE_SYMBOL) {
		DBUG_PRINT("", ("false"));
		SEND(pr_head(f), pr_tail(f));
	} else {
		DBUG_PRINT("", ("true"));
		SEND(eval_seq__actor, t);
	}
	DBUG_RETURN;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
movq 0x30(%rdi), %rdi
callq 0x15186
movq %rax, %rdi
callq 0xd2f1
movq %rax, %rdi
callq 0x15186
movq %rax, %r14
movq 0x30(%rbx), %rdi
callq 0x15186
movq %rax, %rdi
callq 0xd2f1
movq %rax, %rdi
callq 0x15225
movq %rax, %r15
leaq 0x10401(%rip), %rax     # 0x18353
movq %rsp, %rdi
movq %rax, (%rdi)
leaq 0x173c1(%rip), %rbp     # 0x1f320
movq (%rbp), %rax
movq 0x50(%rax), %rax
movl 0x8(%rax), %ecx
movl %ecx, 0x8(%rdi)
movl $0x5dd, 0xc(%rdi)       # imm = 0x5DD
leaq 0x12a65(%rip), %r12     # 0x1a9e0
movq %r12, 0x10(%rdi)
leaq 0x171ba(%rip), %rcx     # 0x1f140
movq %rcx, 0x18(%rdi)
movq %rax, 0x20(%rdi)
callq 0x16ef2
movq 0x30(%rbx), %rdi
callq 0x15225
movq %rax, %r13
xorl %edi, %edi
callq 0x3d66
leaq 0x17943(%rip), %rcx     # 0x1f8f0
movl (%rcx), %ecx
cmpq %rax, %r13
je 0x7ffc
testl %ecx, %ecx
je 0x7fed
movq (%rbp), %rax
movq 0x50(%rax), %rax
movq %r12, 0x10(%rax)
movq %r12, %rdi
callq 0x16664
testl %eax, %eax
je 0x7fed
movq (%rbp), %rax
movq 0x50(%rax), %rax
movl $0x5e2, 0xc(%rax)       # imm = 0x5E2
leaq 0x10382(%rip), %rdi     # 0x18368
xorl %eax, %eax
callq 0x16f63
movq 0x17374(%rip), %rsi     # 0x1f368
movq %rbx, %rdi
movq %r15, %rdx
jmp 0x8051
testl %ecx, %ecx
je 0x8035
movq (%rbp), %rax
movq 0x50(%rax), %rax
movq %r12, 0x10(%rax)
movq %r12, %rdi
callq 0x16664
testl %eax, %eax
je 0x8035
movq (%rbp), %rax
movq 0x50(%rax), %rax
movl $0x5df, 0xc(%rax)       # imm = 0x5DF
leaq 0x10334(%rip), %rdi     # 0x18362
xorl %eax, %eax
callq 0x16f63
movq %r14, %rdi
callq 0x15186
movq %rax, %r15
movq %r14, %rdi
callq 0x15225
movq %rbx, %rdi
movq %r15, %rsi
movq %rax, %rdx
callq 0xdef7
movq %rsp, %rdi
movl $0x5e5, 0xc(%rdi)       # imm = 0x5E5
callq 0x17077
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/dalnefre[P]kernel_abe/schemer.c
// Function: apply_cont_beh
BEH_DECL(apply_cont_beh)
{
	CONS* args = WHAT;
	CONS* to = pr_head(MINE);
	CONS* env = pr_tail(MINE);

	DBUG_ENTER("apply_cont_beh");
	DBUG_PRINT("", ("args = %s", cons_to_str(args)));
	if (have_n_args(1, args)) {
		SEND(to, lst_first(args));
	} else {
		DBUG_PRINT("", ("error"));
		FAIL(env, mk_list(ATOM("one-arg-required"), args));
	}
	DBUG_RETURN;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rdi, %rbx
movq 0x30(%rdi), %rdi
callq 0x15225
movq %rax, %r15
movq 0x30(%rbx), %rdi
callq 0x15186
movq %rax, %rdi
callq 0xd2f1
movq %rax, %rdi
callq 0x15186
movq %rax, %r12
movq 0x30(%rbx), %rdi
callq 0x15186
movq %rax, %rdi
callq 0xd2f1
movq %rax, %rdi
callq 0x15225
movq %rax, 0x8(%rsp)
leaq 0xd769(%rip), %rax      # 0x1850c
leaq 0x10(%rsp), %rdi
movq %rax, (%rdi)
leaq 0x1456e(%rip), %rbp     # 0x1f320
movq (%rbp), %rax
movq 0x50(%rax), %rax
movl 0x8(%rax), %ecx
movl %ecx, 0x8(%rdi)
movl $0x8c7, 0xc(%rdi)       # imm = 0x8C7
leaq 0xfc12(%rip), %r13      # 0x1a9e0
movq %r13, 0x10(%rdi)
leaq 0x14367(%rip), %rcx     # 0x1f140
movq %rcx, 0x18(%rdi)
movq %rax, 0x20(%rdi)
callq 0x16ef2
leaq 0x14b03(%rip), %r14     # 0x1f8f0
cmpl $0x0, (%r14)
je 0xae33
movq (%rbp), %rax
movq 0x50(%rax), %rax
movq %r13, 0x10(%rax)
movq %r13, %rdi
callq 0x16664
testl %eax, %eax
je 0xae33
movq (%rbp), %rax
movq 0x50(%rax), %rax
movl $0x8c8, 0xc(%rax)       # imm = 0x8C8
movq %r15, %rdi
callq 0xf17c
leaq 0xd2f5(%rip), %rdi      # 0x1811e
movq %rax, %rsi
xorl %eax, %eax
callq 0x16f63
movl $0x1, %edi
movq %r15, %rsi
callq 0x5074
testq %rax, %rax
je 0xae58
movq %r15, %rdi
callq 0x15186
movq %rbx, %rdi
movq %r12, %rsi
jmp 0xaf0e
cmpl $0x0, (%r14)
je 0xae93
movq (%rbp), %rax
movq 0x50(%rax), %rax
movq %r13, 0x10(%rax)
movq %r13, %rdi
callq 0x16664
testl %eax, %eax
je 0xae93
movq (%rbp), %rax
movq 0x50(%rax), %rax
movl $0x8cc, 0xc(%rax)       # imm = 0x8CC
leaq 0xd3a1(%rip), %rdi      # 0x1822d
xorl %eax, %eax
callq 0x16f63
leaq 0xd681(%rip), %rdi      # 0x1851b
callq 0x1265c
movq %rax, %rdi
movq %r15, %rsi
callq 0x15164
leaq -0x83d9(%rip), %rsi     # 0x2ad8
movq %rbx, %rdi
movq %rax, %rdx
callq 0xde1a
movq %rax, %r15
leaq 0xd1c4(%rip), %rdi      # 0x1808a
callq 0x1265c
movq %rax, %r12
callq 0xd26a
leaq 0x143b6(%rip), %rsi     # 0x1f290
movq %rax, %rdi
callq 0x15164
movq %r12, %rdi
movq %rax, %rsi
callq 0x15164
movq %rax, %rdi
movq 0x8(%rsp), %r14
movq %r14, %rsi
callq 0x15164
movq %r15, %rdi
movq %rax, %rsi
callq 0x15164
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0xdef7
leaq 0x10(%rsp), %rdi
movl $0x8cf, 0xc(%rdi)       # imm = 0x8CF
callq 0x17077
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/dalnefre[P]kernel_abe/schemer.c
// Function: apply_fail_beh
BEH_DECL(apply_fail_beh)
{
	CONS* expr = pr_head(MINE);
	CONS* env = pr_tail(MINE);
	CONS* fail = WHAT;
	CONS* state;
	CONS* msg;
	CONS* a;

	DBUG_ENTER("apply_fail_beh");
	assert(actorp(fail));
	DBUG_PRINT("", ("expr = %s", cons_to_str(expr)));
	a = ACTOR(abort_beh, NIL);
	a = ACTOR(fail_beh, a);
	state = mk_pair(UNDEFINED, a);
	state = mk_pair(env, state);
	env = ACTOR(binding_beh, state);
	msg = mk_pair(expr, env);
	msg = mk_pair(fail, msg);
	SEND(eval_list__actor, msg);
	DBUG_RETURN;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
movq 0x30(%rdi), %rdi
callq 0x15186
movq %rax, %rdi
callq 0xd2f1
movq %rax, %rdi
callq 0x15186
movq %rax, %r14
movq 0x30(%rbx), %rdi
callq 0x15186
movq %rax, %rdi
callq 0xd2f1
movq %rax, %rdi
callq 0x15225
movq %rax, %r12
movq 0x30(%rbx), %rdi
callq 0x15225
movq %rax, %r15
leaq 0xd063(%rip), %rax      # 0x1854f
movq %rsp, %rdi
movq %rax, (%rdi)
leaq 0x13e27(%rip), %rbp     # 0x1f320
movq (%rbp), %rax
movq 0x50(%rax), %rax
movl 0x8(%rax), %ecx
movl %ecx, 0x8(%rdi)
movl $0x944, 0xc(%rdi)       # imm = 0x944
leaq 0xf4cb(%rip), %r13      # 0x1a9e0
movq %r13, 0x10(%rdi)
leaq 0x13c20(%rip), %rcx     # 0x1f140
movq %rcx, 0x18(%rdi)
movq %rax, 0x20(%rdi)
callq 0x16ef2
movl %r15d, %eax
andl $0x3, %eax
cmpl $0x1, %eax
jne 0xb626
leaq 0x143ad(%rip), %rax     # 0x1f8f0
cmpl $0x0, (%rax)
je 0xb588
movq (%rbp), %rax
movq 0x50(%rax), %rax
movq %r13, 0x10(%rax)
movq %r13, %rdi
callq 0x16664
testl %eax, %eax
je 0xb588
movq (%rbp), %rax
movq 0x50(%rax), %rax
movl $0x946, 0xc(%rax)       # imm = 0x946
movq %r14, %rdi
callq 0xf17c
leaq 0xcb6e(%rip), %rdi      # 0x180ec
movq %rax, %rsi
xorl %eax, %eax
callq 0x16f63
leaq -0x8e33(%rip), %rsi     # 0x275c
leaq 0x13cfa(%rip), %rdx     # 0x1f290
movq %rbx, %rdi
callq 0xde1a
leaq -0x1cd(%rip), %rsi      # 0xb3d8
movq %rbx, %rdi
movq %rax, %rdx
callq 0xde1a
movq %rax, %r13
callq 0xd26a
movq %rax, %rdi
movq %r13, %rsi
callq 0x15164
movq %r12, %rdi
movq %rax, %rsi
callq 0x15164
leaq -0x8797(%rip), %rsi     # 0x2e3e
movq %rbx, %rdi
movq %rax, %rdx
callq 0xde1a
movq %r14, %rdi
movq %rax, %rsi
callq 0x15164
movq %r15, %rdi
movq %rax, %rsi
callq 0x15164
movq 0x13d83(%rip), %rsi     # 0x1f380
movq %rbx, %rdi
movq %rax, %rdx
callq 0xdef7
movq %rsp, %rdi
movl $0x94f, 0xc(%rdi)       # imm = 0x94F
callq 0x17077
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0xcf31(%rip), %rdi      # 0x1855e
leaq 0xcd87(%rip), %rsi      # 0x183bb
leaq 0xcf30(%rip), %rcx      # 0x1856b
movl $0x945, %edx            # imm = 0x945
callq 0x2100
// File: /workspace/github_c_makefile_star2_O1/dalnefre[P]kernel_abe/schemer.c
// Function: assert_reduce
static void
assert_reduce(CONFIG* cfg, char* expr, char* value)
{
	CONS* expect;
	CONS* state;
	CONS* cont;
	
	expect = str_to_cons(value);
	state = map_put(NIL, ATOM("expect"), expect);
	cont = CFG_ACTOR(cfg, assert_msg, state);
	if (!expect || !reduce_line(cfg, expr, cont)) {
		fprintf(stderr, "assert_reduce: FAILED! %s -> %s\n", expr, value);
		abort();
	}
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
movq %rdx, %rdi
callq 0x10b8d
movq %rax, %r12
leaq 0xc04b(%rip), %rdi      # 0x18dd7
callq 0x1265c
leaq 0x124f8(%rip), %rdi     # 0x1f290
movq %rax, %rsi
movq %r12, %rdx
callq 0x156cc
leaq 0x63d(%rip), %rsi       # 0xd3e7
movq %r15, %rdi
movq %rax, %rdx
callq 0xde1a
testq %r12, %r12
je 0xcdd9
movq %r15, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0xb86c
testq %rax, %rax
je 0xcdd9
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq 0x12218(%rip), %rax     # 0x1eff8
movq (%rax), %rdi
leaq 0xbff4(%rip), %rsi      # 0x18dde
movq %r14, %rdx
movq %rbx, %rcx
xorl %eax, %eax
callq 0x2170
callq 0x2050
// File: /workspace/github_c_makefile_star2_O1/dalnefre[P]kernel_abe/schemer.c
// Function: read_reduce_print
static void
read_reduce_print(CONFIG* cfg, FILE* in, CONS* out)
{
	char buf[1024];
	
	DBUG_ENTER("read_reduce_print");
	while (fgets(buf, sizeof(buf), in)) {
		if (!reduce_line(cfg, buf, out)) {
			break;
		}
	}
	DBUG_RETURN;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x438, %rsp            # imm = 0x438
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
leaq 0xbc24(%rip), %rax      # 0x18dff
leaq 0x8(%rsp), %rdi
movq %rax, (%rdi)
leaq 0x12136(%rip), %rax     # 0x1f320
movq (%rax), %rax
movq 0x50(%rax), %rax
movl 0x8(%rax), %ecx
movl %ecx, 0x8(%rdi)
movl $0xa10, 0xc(%rdi)       # imm = 0xA10
leaq 0xd7db(%rip), %rcx      # 0x1a9e0
movq %rcx, 0x10(%rdi)
leaq 0x11f30(%rip), %rcx     # 0x1f140
movq %rcx, 0x18(%rdi)
movq %rax, 0x20(%rdi)
callq 0x16ef2
leaq 0x30(%rsp), %r12
movq %r12, %rdi
movl $0x400, %esi            # imm = 0x400
movq %r14, %rdx
callq 0x2140
testq %rax, %rax
je 0xd24a
movq %r15, %rdi
movq %r12, %rsi
movq %rbx, %rdx
callq 0xb86c
testq %rax, %rax
jne 0xd222
leaq 0x8(%rsp), %rdi
movl $0xa16, 0xc(%rdi)       # imm = 0xA16
callq 0x17077
addq $0x438, %rsp            # imm = 0x438
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/dalnefre[P]kernel_abe/schemer.c
// Function: undefined
static CONS*
undefined()
{
	if (undefined__value == NULL) {
		undefined__value = ATOM("_");
		assert(undefined__value != NULL);
	}
	return undefined__value;
}

// Assembly:
pushq %rax
cmpq $0x0, 0x12115(%rip)     # 0x1f388
jne 0xd28d
leaq 0xb3a8(%rip), %rdi      # 0x18624
callq 0x1265c
movq %rax, 0x12100(%rip)     # 0x1f388
testq %rax, %rax
je 0xd296
movq 0x120f4(%rip), %rax     # 0x1f388
popq %rcx
retq
leaq 0xba62(%rip), %rdi      # 0x18cff
leaq 0xb117(%rip), %rsi      # 0x183bb
leaq 0xba6d(%rip), %rcx      # 0x18d18
movl $0x36, %edx
callq 0x2100
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O1/eitijupaenoithoowohd[P]TBezierInterpolation/TBezierInterpolation.c
// Function: SegmentCalc
void SegmentCalc(Segment *seg,double t, Point2D *p)
{
	double t2 = t * t;
	double t3 = t2 * t;
	double nt = 1.0 - t;
	double nt2 = nt * nt;
	double nt3 = nt2 * nt;
	p->x = nt3 * seg->points[0].x + 3.0 * t * nt2 * seg->points[1].x + 3.0 * t2 * nt * seg->points[2].x + t3 * seg->points[3].x;
	p->y = nt3 * seg->points[0].y + 3.0 * t * nt2 * seg->points[1].y + 3.0 * t2 * nt * seg->points[2].y + t3 * seg->points[3].y;
}

// Assembly:
movapd %xmm0, %xmm1
mulsd %xmm0, %xmm1
movapd %xmm1, %xmm2
mulsd %xmm0, %xmm2
movsd 0xe22(%rip), %xmm4      # 0x2008
subsd %xmm0, %xmm4
movapd %xmm4, %xmm3
movsd 0xe1a(%rip), %xmm5      # 0x2010
mulsd %xmm5, %xmm1
mulsd %xmm4, %xmm1
mulsd %xmm4, %xmm4
mulsd %xmm4, %xmm3
mulsd %xmm5, %xmm0
mulsd %xmm4, %xmm0
movsd 0x10(%rdi), %xmm4
mulsd %xmm0, %xmm4
movsd (%rdi), %xmm5
mulsd %xmm3, %xmm5
addsd %xmm4, %xmm5
movsd 0x20(%rdi), %xmm4
mulsd %xmm1, %xmm4
addsd %xmm5, %xmm4
movsd 0x30(%rdi), %xmm5
mulsd %xmm2, %xmm5
addsd %xmm4, %xmm5
movsd %xmm5, (%rsi)
mulsd 0x18(%rdi), %xmm0
mulsd 0x8(%rdi), %xmm3
addsd %xmm0, %xmm3
mulsd 0x28(%rdi), %xmm1
addsd %xmm3, %xmm1
mulsd 0x38(%rdi), %xmm2
addsd %xmm1, %xmm2
movsd %xmm2, 0x8(%rsi)
retq
// File: /workspace/github_c_makefile_star2_O1/eitijupaenoithoowohd[P]TBezierInterpolation/TBezierInterpolation.c
// Function: main
int main()
{

	Point2D values[POINTS_LEN] = {
		{0.0, 0.0},
		{20.0, 0.0},
		{45.0, -47.0},
		{53.0, 335.0},
		{57.0, 26.0},
		{62.0, 387.0},
		{74.0, 104.0},
		{89.0, 0.0},
		{95.0, 100.0},
		{100.0, 0.0}
	};

	Segment spline[100];

	Point2D p = {0.0,0.0};

	CalculateSpline(values,POINTS_LEN, spline);

	for(int i = 0; i < POINTS_LEN - 1; i++) {
		for (int j = 0; j < RESOLUTION; j++) {
			SegmentCalc(&spline[i],(double)j / (double)RESOLUTION, &p);
			printf("%lf %lf\n", p.x, p.y);
		}
	}

	printf("%lf %lf\n", values[POINTS_LEN - 1].x,values[POINTS_LEN - 1].y);

	return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x1920, %rsp           # imm = 0x1920
xorps %xmm0, %xmm0
leaq 0x10(%rsp), %rbx
movaps %xmm0, (%rbx)
leaq 0x982(%rip), %rdi       # 0x2050
leaq 0x20(%rsp), %rdx
movl $0xa, %esi
callq 0x1267
xorl %r12d, %r12d
movsd 0x940(%rip), %xmm1      # 0x2028
leaq 0xa01(%rip), %r14       # 0x20f0
movq %r12, %rax
shlq $0x6, %rax
leaq (%rsp,%rax), %r15
addq $0x20, %r15
xorps %xmm0, %xmm0
movl $0x20, %ebp
movsd %xmm0, 0x8(%rsp)
movsd 0x8(%rsp), %xmm0
mulsd %xmm1, %xmm0
movq %r15, %rdi
movq %rbx, %rsi
callq 0x11ce
movsd 0x10(%rsp), %xmm0
movsd 0x18(%rsp), %xmm1
movq %r14, %rdi
movb $0x2, %al
callq 0x1030
movsd 0x8c9(%rip), %xmm0      # 0x2008
movsd 0x8e1(%rip), %xmm1      # 0x2028
movsd 0x8(%rsp), %xmm2
addsd %xmm0, %xmm2
movsd %xmm2, 0x8(%rsp)
movsd 0x8(%rsp), %xmm0
decl %ebp
jne 0x1706
incq %r12
cmpq $0x9, %r12
jne 0x16ef
leaq 0x97f(%rip), %rdi       # 0x20f0
movsd 0x8b7(%rip), %xmm0      # 0x2030
xorpd %xmm1, %xmm1
movb $0x2, %al
callq 0x1030
xorl %eax, %eax
addq $0x1920, %rsp           # imm = 0x1920
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/vidarr[P]ringbuffer/test/ringbuffer_test.c
// Function: test_basic_ringbuffer_create
void test_basic_ringbuffer_create() {

    Ringbuffer* buffer = 0;

    buffer = ringbuffer_create(1, 0, 0);
    assert(buffer);
    assert(capacity_func == buffer->capacity);
    assert(add_func == buffer->add);
    assert(pop_func == buffer->pop);
    assert(free_func == buffer->free);

    buffer = buffer->free(buffer);

    fprintf(stdout, "Basic ringbuffer_create OK\n");

}

// Assembly:
pushq %rax
movl $0x1, %edi
xorl %esi, %esi
xorl %edx, %edx
callq 0x116c
testq %rax, %rax
je 0x1391
leaq -0xff(%rip), %rcx       # 0x1231
cmpq %rcx, (%rax)
jne 0x13b0
leaq -0xfe(%rip), %rcx       # 0x123e
cmpq %rcx, 0x8(%rax)
jne 0x13cf
leaq -0xb6(%rip), %rcx       # 0x1297
cmpq %rcx, 0x10(%rax)
jne 0x13ee
leaq -0xa3(%rip), %rcx       # 0x12bb
cmpq %rcx, 0x18(%rax)
jne 0x140d
movq %rax, %rdi
callq 0x12bb
movq 0x3c69(%rip), %rax      # 0x4fe0
movq (%rax), %rcx
leaq 0x1d31(%rip), %rdi      # 0x30b2
movl $0x1b, %esi
movl $0x1, %edx
popq %rax
jmp 0x1060
leaq 0x1c6c(%rip), %rdi      # 0x3004
leaq 0x1c6c(%rip), %rsi      # 0x300b
leaq 0x1c7c(%rip), %rcx      # 0x3022
movl $0x31, %edx
callq 0x1040
leaq 0x1c8f(%rip), %rdi      # 0x3046
leaq 0x1c4d(%rip), %rsi      # 0x300b
leaq 0x1c5d(%rip), %rcx      # 0x3022
movl $0x32, %edx
callq 0x1040
leaq 0x1c92(%rip), %rdi      # 0x3068
leaq 0x1c2e(%rip), %rsi      # 0x300b
leaq 0x1c3e(%rip), %rcx      # 0x3022
movl $0x33, %edx
callq 0x1040
leaq 0x1c8b(%rip), %rdi      # 0x3080
leaq 0x1c0f(%rip), %rsi      # 0x300b
leaq 0x1c1f(%rip), %rcx      # 0x3022
movl $0x34, %edx
callq 0x1040
leaq 0x1c84(%rip), %rdi      # 0x3098
leaq 0x1bf0(%rip), %rsi      # 0x300b
leaq 0x1c00(%rip), %rcx      # 0x3022
movl $0x35, %edx
callq 0x1040
// File: /workspace/github_c_makefile_star2_O1/vidarr[P]ringbuffer/test/ringbuffer_test.c
// Function: test_free
void test_free() {

    int a = 1;

    Ringbuffer* buffer = 0;
    assert(0 == free_func(0));

    buffer = ringbuffer_create(1, 0, 0);
    assert(0 == buffer->free(buffer));

    buffer = ringbuffer_create(21, 0, 0);
    assert(0 == buffer->free(buffer));

    buffer = ringbuffer_create(21, 0, 0);
    for(size_t i = 0; i < buffer->capacity(buffer); ++i) {
        buffer->add(buffer, &a);
    }
    assert(0 == buffer->free(buffer));

    size_t count = 0;
    buffer = ringbuffer_create(21, count_free, &count);
    for(size_t i = 0; i < buffer->capacity(buffer); ++i) {
        int* ip = calloc(1, sizeof(int));
        *ip = i;
        buffer->add(buffer, ip);
    }
    assert(0 == buffer->free(buffer));
    assert(21 == count);

    fprintf(stdout, "free() OK\n");

}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movl $0x1, 0x4(%rsp)
movl $0x1, %edi
xorl %esi, %esi
xorl %edx, %edx
callq 0x116c
movq %rax, %rdi
callq *0x18(%rax)
testq %rax, %rax
jne 0x1567
movl $0x15, %edi
xorl %esi, %esi
xorl %edx, %edx
callq 0x116c
movq %rax, %rdi
callq *0x18(%rax)
testq %rax, %rax
jne 0x1586
movl $0x15, %edi
xorl %esi, %esi
xorl %edx, %edx
callq 0x116c
movq %rax, %rbx
movq %rax, %rdi
callq *(%rax)
testq %rax, %rax
je 0x14be
xorl %r15d, %r15d
leaq 0x4(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq *0x8(%rbx)
incq %r15
movq %rbx, %rdi
callq *(%rbx)
cmpq %rax, %r15
jb 0x14a8
movq %rbx, %rdi
callq *0x18(%rbx)
testq %rax, %rax
jne 0x15a5
leaq 0x8(%rsp), %rdx
movq $0x0, (%rdx)
leaq -0xb4(%rip), %rsi       # 0x142c
movl $0x15, %edi
callq 0x116c
movq %rax, %rbx
movq %rax, %rdi
callq *(%rax)
testq %rax, %rax
je 0x1522
xorl %r14d, %r14d
movl $0x1, %edi
movl $0x4, %esi
callq 0x1050
movl %r14d, (%rax)
movq %rbx, %rdi
movq %rax, %rsi
callq *0x8(%rbx)
incq %r14
movq %rbx, %rdi
callq *(%rbx)
cmpq %rax, %r14
jb 0x14fa
movq %rbx, %rdi
callq *0x18(%rbx)
testq %rax, %rax
jne 0x15c4
cmpq $0x15, 0x8(%rsp)
jne 0x15e3
movq 0x3a9c(%rip), %rax      # 0x4fe0
movq (%rax), %rcx
leaq 0x1bb7(%rip), %rdi      # 0x3105
movl $0xa, %esi
movl $0x1, %edx
callq 0x1060
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
leaq 0x1b71(%rip), %rdi      # 0x30df
leaq 0x1a96(%rip), %rsi      # 0x300b
leaq 0x1b52(%rip), %rcx      # 0x30ce
movl $0x52, %edx
callq 0x1040
leaq 0x1b52(%rip), %rdi      # 0x30df
leaq 0x1a77(%rip), %rsi      # 0x300b
leaq 0x1b33(%rip), %rcx      # 0x30ce
movl $0x55, %edx
callq 0x1040
leaq 0x1b33(%rip), %rdi      # 0x30df
leaq 0x1a58(%rip), %rsi      # 0x300b
leaq 0x1b14(%rip), %rcx      # 0x30ce
movl $0x5b, %edx
callq 0x1040
leaq 0x1b14(%rip), %rdi      # 0x30df
leaq 0x1a39(%rip), %rsi      # 0x300b
leaq 0x1af5(%rip), %rcx      # 0x30ce
movl $0x64, %edx
callq 0x1040
leaq 0x1b0f(%rip), %rdi      # 0x30f9
leaq 0x1a1a(%rip), %rsi      # 0x300b
leaq 0x1ad6(%rip), %rcx      # 0x30ce
movl $0x65, %edx
callq 0x1040
// File: /workspace/github_c_makefile_star2_O1/vidarr[P]ringbuffer/test/ringbuffer_test.c
// Function: main
int main(int argc, char** argv) {

    test_ringbuffer_create();
    test_capacity();
    test_add();
    test_pop();
    test_basic_ringbuffer_create();
    test_free();

}

// Assembly:
pushq %rax
xorl %eax, %eax
callq 0x1630
xorl %eax, %eax
callq 0x16b9
xorl %eax, %eax
callq 0x1753
xorl %eax, %eax
callq 0x19c4
callq 0x1315
callq 0x143a
xorl %eax, %eax
popq %rcx
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O1/Joy-Division[P]tools-zoe/pss-demux.c
// Function: writeFile
int writeFile( FILE *input, unsigned int length, FILE *output ) {
	unsigned char dataBuffer[1024];
	unsigned int bytesLeft = length;
	
	while(bytesLeft) {
		unsigned int wantedRead;
		if(bytesLeft >= sizeof(dataBuffer))
			wantedRead = sizeof(dataBuffer);
		else
			wantedRead = bytesLeft;
		unsigned int haveRead = fread(dataBuffer, 1, wantedRead, input);
		if(haveRead != wantedRead) {
			printf("haveRead != wantedRead: %d != %d\n", haveRead, wantedRead);
			perror("This broke");
			return 0;
		}

		unsigned int haveWrite = fwrite(dataBuffer, 1, haveRead, output);
		if(haveWrite != haveRead) {
			printf("haveWrite != haveRead: %d != %d\n", haveWrite, haveRead);
			return 0;
		}
		
		bytesLeft -= haveRead;
	}
	return 1;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x418, %rsp            # imm = 0x418
movq %rdx, 0x8(%rsp)
movl %esi, %ebp
movq %rdi, %r14
leaq 0x10(%rsp), %r15
testl %ebp, %ebp
je 0x12d0
movl $0x400, %eax            # imm = 0x400
cmpl %eax, %ebp
movl $0x400, %r12d           # imm = 0x400
cmovbl %ebp, %r12d
movl $0x1, %esi
movq %r15, %rdi
movq %r12, %rdx
movq %r14, %rcx
callq 0x1060
movq %rax, %r13
cmpl %r13d, %r12d
jne 0x12ac
movl %r13d, %edx
movl $0x1, %esi
movq %r15, %rdi
movq 0x8(%rsp), %rcx
callq 0x1110
cmpl %r13d, %eax
jne 0x1291
subl %r13d, %ebp
movb $0x1, %bl
jmp 0x12a6
xorl %ebx, %ebx
leaq 0xdaf(%rip), %rdi       # 0x2049
movl %eax, %esi
movl %r13d, %edx
xorl %eax, %eax
callq 0x1090
testb %bl, %bl
jne 0x123c
jmp 0x12d7
xorl %ebx, %ebx
leaq 0xd67(%rip), %rdi       # 0x201c
movl %r13d, %esi
movl %r12d, %edx
xorl %eax, %eax
callq 0x1090
leaq 0xd75(%rip), %rdi       # 0x203e
callq 0x10f0
jmp 0x12a6
movl $0x1, %eax
jmp 0x12d9
xorl %eax, %eax
addq $0x418, %rsp            # imm = 0x418
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/Joy-Division[P]tools-zoe/pss-demux.c
// Function: mpegDumpVideoStream
void mpegDumpVideoStream( FILE *f, unsigned int offset, FILE *o ) {
	fseek( f, offset, SEEK_SET );
	uint32_t streamSize, headSize;
	mpegPesHeader pesHead;
	mpegPrivate1ExtensionHead extHead;
	fread( &pesHead, sizeof(pesHead), 1, f );
	headSize = pesHead.size[0] << 8 | pesHead.size[1];
	fread( &extHead, sizeof(extHead), 1, f );
	fseek( f, extHead.size, SEEK_CUR );
	streamSize = headSize - 3 - extHead.size; // subtract 3 for extHead size that is included in pesHead but not extHead
	writeFile( f, streamSize, o );
	fseek( f, offset+headSize+6, SEEK_SET );
	return;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rdx, %r15
movl %esi, %r14d
movq %rdi, %rbx
movl %esi, %esi
xorl %edx, %edx
callq 0x10d0
leaq 0xa(%rsp), %r12
movl $0x6, %esi
movl $0x1, %edx
movq %r12, %rdi
movq %rbx, %rcx
callq 0x1060
movzwl 0x4(%r12), %eax
rolw $0x8, %ax
movzwl %ax, %r13d
leaq 0x7(%rsp), %r12
movl $0x3, %esi
movl $0x1, %edx
movq %r12, %rdi
movq %rbx, %rcx
callq 0x1060
movzbl 0x2(%r12), %r12d
movq %rbx, %rdi
movq %r12, %rsi
movl $0x1, %edx
callq 0x10d0
movl %r13d, %esi
subl %r12d, %esi
addl $-0x3, %esi
movq %rbx, %rdi
movq %r15, %rdx
callq 0x121c
leal (%r14,%r13), %esi
addl $0x6, %esi
movq %rbx, %rdi
xorl %edx, %edx
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmp 0x10d0
// File: /workspace/github_c_makefile_star2_O1/Joy-Division[P]tools-zoe/pss-demux.c
// Function: vagPrepareHeader
void vagPrepareHeader( vagHeader *header, uint32_t size, char *name ) {
	header->version[3] = 0x20;
	strncpy( header->name, name, 0x10 );
	header->size[0] = (size >> 24) & 0xFF; header->size[1] = (size >> 16) & 0xFF; header->size[2] = (size >> 8) & 0xFF; header->size[3] = size & 0xFF;
	header->samplerate[0] = 0; header->samplerate[1] = 0; header->samplerate[2] = audioSamplerate[2]; header->samplerate[3] = audioSamplerate[3];
	memset( header->reserved1, 0, 4 );
	memset( header->reserved2, 0, 12 );
	if( audioNumChannels == 1 ) strncpy( header->magic, "VAGp", 4 );
	else if( audioNumChannels == 2 ) strncpy( header->magic, "VAG2", 4 );
	return;
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movq %rdx, %rax
movl %esi, %ebp
movq %rdi, %rbx
movb $0x20, 0x7(%rdi)
addq $0x20, %rdi
movl $0x10, %edx
movq %rax, %rsi
callq 0x1040
movl %ebp, %ecx
movl %ebp, %eax
shrl $0x18, %eax
movb %al, 0xc(%rbx)
movl %ebp, %eax
shrl $0x10, %eax
movb %al, 0xd(%rbx)
movb %ch, 0xe(%rbx)
movb %cl, 0xf(%rbx)
movw $0x0, 0x10(%rbx)
movb 0x2a79(%rip), %al       # 0x40b3
movb %al, 0x12(%rbx)
movb 0x2a71(%rip), %al       # 0x40b4
movb %al, 0x13(%rbx)
xorl %eax, %eax
movl %eax, 0x8(%rbx)
movl %eax, 0x1c(%rbx)
movq $0x0, 0x14(%rbx)
movzbl 0x2a58(%rip), %eax      # 0x40b5
cmpl $0x1, %eax
je 0x166e
cmpl $0x2, %eax
jne 0x1675
movl $0x32474156, %eax       # imm = 0x32474156
jmp 0x1673
movl $0x70474156, %eax       # imm = 0x70474156
movl %eax, (%rbx)
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/Joy-Division[P]tools-zoe/pss-demux.c
// Function: vagWriteHeader
void vagWriteHeader( vagHeader header, FILE *o ) {
	fwrite( header.magic, 4, 1, o );
	fwrite( header.version, 4, 1, o );
	fwrite( header.reserved1, 4, 1, o );
	fwrite( header.size, 4, 1, o );
	fwrite( header.samplerate, 4, 1, o );
	fwrite( header.reserved2, 12, 1, o );
	fwrite( header.name, 0x10, 1, o );
	return;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
leaq 0x10(%rsp), %rdi
movl $0x4, %esi
movl $0x1, %edx
movq %rbx, %rcx
callq 0x1110
leaq 0x14(%rsp), %rdi
movl $0x4, %esi
movl $0x1, %edx
movq %rbx, %rcx
callq 0x1110
leaq 0x18(%rsp), %rdi
movl $0x4, %esi
movl $0x1, %edx
movq %rbx, %rcx
callq 0x1110
leaq 0x1c(%rsp), %rdi
movl $0x4, %esi
movl $0x1, %edx
movq %rbx, %rcx
callq 0x1110
leaq 0x20(%rsp), %rdi
movl $0x4, %esi
movl $0x1, %edx
movq %rbx, %rcx
callq 0x1110
leaq 0x24(%rsp), %rdi
movl $0xc, %esi
movl $0x1, %edx
movq %rbx, %rcx
callq 0x1110
leaq 0x30(%rsp), %rdi
movl $0x10, %esi
movl $0x1, %edx
movq %rbx, %rcx
callq 0x1110
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/DrYerzinia[P]C_DigiMode/src/filter/FIR_filter.cpp
// Function: FIR_filter::proccess_byte(char)
bool FIR_filter::proccess_byte(char byte){

	filter_buffer.push_back(byte);

	if(filter_buffer.size() >= filter_coefficents.size()){

		float result = 0.0f;

		int n = filter_coefficents.size()-1;
		for(std::list<char>::iterator it = filter_buffer.begin(); it != filter_buffer.end(); it++){
			result += (*it)*filter_coefficents[n];
			n--;
		}

		output_buffer.push_back(result);

		filter_buffer.pop_front();

		return true;

	}

	return false;

}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movl %esi, %ebp
movq %rdi, %rbx
leaq 0x10(%rdi), %r14
movl $0x18, %edi
callq 0x21c0
movb %bpl, 0x10(%rax)
movq %rax, %rdi
movq %r14, %rsi
callq 0x2060
movq 0x20(%rbx), %r15
movq 0x28(%rbx), %rax
incq %r15
movq %r15, 0x20(%rbx)
movq 0x30(%rbx), %r12
subq %rax, %r12
sarq $0x2, %r12
cmpq %r12, %r15
jb 0x362e
movq (%r14), %rcx
cmpq %r14, %rcx
je 0x35e0
leal -0x1(%r12), %edx
xorps %xmm1, %xmm1
movsbl 0x10(%rcx), %esi
xorps %xmm0, %xmm0
cvtsi2ss %esi, %xmm0
movslq %edx, %rdx
mulss (%rax,%rdx,4), %xmm0
addss %xmm0, %xmm1
movq (%rcx), %rcx
decl %edx
cmpq %r14, %rcx
jne 0x35bd
jmp 0x35e3
xorps %xmm1, %xmm1
movss %xmm1, 0xc(%rsp)
leaq 0x40(%rbx), %r14
movl $0x18, %edi
callq 0x21c0
movss 0xc(%rsp), %xmm0
movss %xmm0, 0x10(%rax)
movq %rax, %rdi
movq %r14, %rsi
callq 0x2060
incq 0x50(%rbx)
movq 0x10(%rbx), %r14
decq 0x20(%rbx)
movq %r14, %rdi
callq 0x22e0
movl $0x18, %esi
movq %r14, %rdi
callq 0x21d0
cmpq %r12, %r15
setae %al
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_c_makefile_star2_O1/DrYerzinia[P]C_DigiMode/src/filter/FIR_filter.cpp
// Function: FIR_filter::set_up_lowpass(int, float)
void FIR_filter::set_up_lowpass(int sample_width, float frequency_cutoff){

	filter_width = sample_width;
	sample_width--;
	
	float ncof = (2*PI*frequency_cutoff)/sample_rate;
	
	for(int n = 0; n <= sample_width; n++){
		float hd = 0.0;
		if(n != sample_width/2.0){
			hd = sin(ncof*(n-(sample_width/2.0)))/(PI*(n-(sample_width/2.0)));
		} else {
			hd = ncof/PI;
		}
		filter_coefficents.push_back(hd);
	}

}

// Assembly:
movl %esi, 0x8(%rdi)
testl %esi, %esi
jle 0x3794
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x38, %rsp
movl %esi, %ebx
movq %rdi, %r14
cvtss2sd %xmm0, %xmm0
mulsd 0x2a6d(%rip), %xmm0     # 0x6110
cvtss2sd 0xc(%rdi), %xmm1
divsd %xmm1, %xmm0
cvtsd2ss %xmm0, %xmm0
leal -0x1(%rbx), %eax
xorps %xmm1, %xmm1
cvtsi2sd %eax, %xmm1
mulsd 0x2a56(%rip), %xmm1     # 0x6118
cvtss2sd %xmm0, %xmm0
movsd %xmm0, 0x20(%rsp)
divsd 0x2a4c(%rip), %xmm0     # 0x6120
movsd %xmm0, 0x28(%rsp)
leaq 0x28(%rdi), %r15
xorpd %xmm2, %xmm2
leaq 0xc(%rsp), %r12
movsd %xmm1, 0x10(%rsp)
movl $0x0, 0xc(%rsp)
ucomisd %xmm2, %xmm1
movsd 0x28(%rsp), %xmm0
movsd %xmm2, 0x18(%rsp)
jne 0x3709
jnp 0x3740
movapd %xmm2, %xmm0
subsd %xmm1, %xmm0
movsd %xmm0, 0x30(%rsp)
mulsd 0x20(%rsp), %xmm0
callq 0x2080
movsd 0x18(%rsp), %xmm2
movsd 0x10(%rsp), %xmm1
movsd 0x30(%rsp), %xmm3
mulsd 0x29e4(%rip), %xmm3     # 0x6120
divsd %xmm3, %xmm0
cvtsd2ss %xmm0, %xmm0
movss %xmm0, 0xc(%rsp)
movq 0x30(%r14), %rsi
cmpq 0x38(%r14), %rsi
je 0x3762
movss %xmm0, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x30(%r14)
jmp 0x3779
movq %r15, %rdi
movq %r12, %rdx
callq 0x51c2
movsd 0x18(%rsp), %xmm2
movsd 0x10(%rsp), %xmm1
addsd 0x29a7(%rip), %xmm2     # 0x6128
decl %ebx
jne 0x36ed
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
nop
// File: /workspace/github_c_makefile_star2_O1/DrYerzinia[P]C_DigiMode/src/filter/FIR_filter.cpp
// Function: FIR_filter::set_up_highpass(int, float)
void FIR_filter::set_up_highpass(int sample_width, float frequency_cutoff){

	filter_width = sample_width;
	sample_width--;
	
	float ncof = (2*PI*frequency_cutoff)/sample_rate;
	
	for(int n = 0; n <= sample_width; n++){
		float hd = 0.0;
		if(n != sample_width/2.0){
			hd = -1.0f*sin(ncof*(n-(sample_width/2.0)))/(PI*(n-(sample_width/2.0)));
		} else {
			hd = 1.0f-(ncof/PI);
		}
		filter_coefficents.push_back(hd);
	}

}

// Assembly:
movl %esi, 0x8(%rdi)
testl %esi, %esi
jle 0x38b6
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x38, %rsp
movl %esi, %ebx
movq %rdi, %r14
cvtss2sd %xmm0, %xmm0
mulsd 0x2953(%rip), %xmm0     # 0x6110
cvtss2sd 0xc(%rdi), %xmm1
divsd %xmm1, %xmm0
cvtsd2ss %xmm0, %xmm0
leal -0x1(%rbx), %eax
xorps %xmm1, %xmm1
cvtsi2sd %eax, %xmm1
mulsd 0x293c(%rip), %xmm1     # 0x6118
cvtss2sd %xmm0, %xmm0
movsd %xmm0, 0x20(%rsp)
divsd 0x2942(%rip), %xmm0     # 0x6130
addsd 0x2932(%rip), %xmm0     # 0x6128
movsd %xmm0, 0x28(%rsp)
leaq 0x28(%rdi), %r15
xorpd %xmm2, %xmm2
leaq 0xc(%rsp), %r12
movsd %xmm1, 0x10(%rsp)
movl $0x0, 0xc(%rsp)
ucomisd %xmm2, %xmm1
movsd 0x28(%rsp), %xmm0
movsd %xmm2, 0x18(%rsp)
jne 0x382b
jnp 0x3862
movapd %xmm2, %xmm0
subsd %xmm1, %xmm0
movsd %xmm0, 0x30(%rsp)
mulsd 0x20(%rsp), %xmm0
callq 0x2080
movsd 0x18(%rsp), %xmm2
movsd 0x10(%rsp), %xmm1
movsd 0x30(%rsp), %xmm3
mulsd 0x28d2(%rip), %xmm3     # 0x6130
divsd %xmm3, %xmm0
cvtsd2ss %xmm0, %xmm0
movss %xmm0, 0xc(%rsp)
movq 0x30(%r14), %rsi
cmpq 0x38(%r14), %rsi
je 0x3884
movss %xmm0, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x30(%r14)
jmp 0x389b
movq %r15, %rdi
movq %r12, %rdx
callq 0x51c2
movsd 0x18(%rsp), %xmm2
movsd 0x10(%rsp), %xmm1
addsd 0x2885(%rip), %xmm2     # 0x6128
decl %ebx
jne 0x380f
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
nop
// File: /workspace/github_c_makefile_star2_O1/DrYerzinia[P]C_DigiMode/src/filter/FIR_filter.cpp
// Function: FIR_filter::set_up_bandpass(int, float, float)
void FIR_filter::set_up_bandpass(int sample_width, float frequency_cutoff_low, float frequency_cutoff_high){

	filter_width = sample_width;
	sample_width--;

	float ncofh = (2*PI*frequency_cutoff_high)/sample_rate;
	float ncofl = (2*PI*frequency_cutoff_low)/sample_rate;
	
	for(int n = 0; n <= sample_width; n++){
		float hd = 0;
		if(n != sample_width/2.0){
			float p1 = sin((ncofh)*(n-sample_width/2.0))/(PI*(n-sample_width/2.0));
			float p2 = sin((ncofl)*(n-sample_width/2.0))/(PI*(n-sample_width/2.0));
			hd = p1 - p2;
		} else {
			hd = (ncofh-ncofl)/PI;
		}
		filter_coefficents.push_back(hd);
	}

}

// Assembly:
movl %esi, 0x8(%rdi)
testl %esi, %esi
jle 0x3a37
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x58, %rsp
movl %esi, %ebx
movq %rdi, %r14
cvtss2sd %xmm0, %xmm0
movsd 0x2831(%rip), %xmm2     # 0x6110
mulsd %xmm2, %xmm0
cvtss2sd 0xc(%rdi), %xmm3
divsd %xmm3, %xmm0
cvtsd2ss %xmm0, %xmm0
cvtss2sd %xmm1, %xmm1
mulsd %xmm2, %xmm1
divsd %xmm3, %xmm1
cvtsd2ss %xmm1, %xmm1
leal -0x1(%rbx), %eax
xorps %xmm2, %xmm2
cvtsi2sd %eax, %xmm2
mulsd 0x2806(%rip), %xmm2     # 0x6118
xorps %xmm3, %xmm3
cvtss2sd %xmm1, %xmm3
movsd %xmm3, 0x20(%rsp)
subss %xmm0, %xmm1
cvtss2sd %xmm1, %xmm1
divsd 0x27f1(%rip), %xmm1     # 0x6120
cvtsd2ss %xmm1, %xmm1
movss %xmm1, 0x4(%rsp)
cvtss2sd %xmm0, %xmm0
movsd %xmm0, 0x18(%rsp)
leaq 0x28(%rdi), %r15
xorps %xmm1, %xmm1
movq %rsp, %r12
movsd %xmm2, 0x8(%rsp)
movl $0x0, (%rsp)
ucomisd %xmm1, %xmm2
movss 0x4(%rsp), %xmm0
movsd %xmm1, 0x10(%rsp)
jne 0x396e
jnp 0x39e8
movapd %xmm1, %xmm0
subsd %xmm2, %xmm0
movsd %xmm0, 0x28(%rsp)
mulsd 0x20(%rsp), %xmm0
callq 0x2080
movapd %xmm0, 0x40(%rsp)
movsd 0x28(%rsp), %xmm1
movapd %xmm1, %xmm0
mulsd 0x2781(%rip), %xmm0     # 0x6120
movapd %xmm0, 0x30(%rsp)
mulsd 0x18(%rsp), %xmm1
movapd %xmm1, %xmm0
callq 0x2080
movsd 0x8(%rsp), %xmm2
movapd 0x40(%rsp), %xmm1
unpcklpd %xmm0, %xmm1            # xmm1 = xmm1[0],xmm0[0]
movapd 0x30(%rsp), %xmm0
unpcklpd %xmm0, %xmm0            # xmm0 = xmm0[0,0]
divpd %xmm0, %xmm1
cvtpd2ps %xmm1, %xmm0
movapd %xmm0, %xmm1
shufps $0x55, %xmm0, %xmm1     # xmm1 = xmm1[1,1],xmm0[1,1]
subss %xmm1, %xmm0
movsd 0x10(%rsp), %xmm1
movss %xmm0, (%rsp)
movq 0x30(%r14), %rsi
cmpq 0x38(%r14), %rsi
je 0x3a05
movss %xmm0, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x30(%r14)
jmp 0x3a1c
movq %r15, %rdi
movq %r12, %rdx
callq 0x51c2
movsd 0x10(%rsp), %xmm1
movsd 0x8(%rsp), %xmm2
addsd 0x2704(%rip), %xmm1     # 0x6128
decl %ebx
jne 0x3953
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/DrYerzinia[P]C_DigiMode/src/filter/FIR_filter.cpp
// Function: FIR_filter::set_up_bandreject(int, float, float)
void FIR_filter::set_up_bandreject(int sample_width, float frequency_cutoff_low, float frequency_cutoff_high){

	filter_width = sample_width;
	sample_width--;

	float ncofh = (2*PI*frequency_cutoff_high)/sample_rate;
	float ncofl = (2*PI*frequency_cutoff_low)/sample_rate;
	
	for(int n = 0; n <= sample_width; n++){
		float hd = 0;
		if(n != sample_width/2.0){
			float p1 = sin((ncofl)*(n-sample_width/2.0))/(PI*(n-sample_width/2.0));
			float p2 = sin((ncofh)*(n-sample_width/2.0))/(PI*(n-sample_width/2.0));
			hd = p1 - p2;
		} else {
			hd = 1.0f-(ncofl-ncofh)/PI;
		}
		filter_coefficents.push_back(hd);
	}

}

// Assembly:
movl %esi, 0x8(%rdi)
testl %esi, %esi
jle 0x3bc2
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x58, %rsp
movl %esi, %ebx
movq %rdi, %r14
cvtss2sd %xmm0, %xmm0
movsd 0x26b1(%rip), %xmm2     # 0x6110
mulsd %xmm2, %xmm0
cvtss2sd 0xc(%rdi), %xmm3
divsd %xmm3, %xmm0
cvtsd2ss %xmm0, %xmm0
cvtss2sd %xmm1, %xmm1
mulsd %xmm2, %xmm1
divsd %xmm3, %xmm1
cvtsd2ss %xmm1, %xmm1
leal -0x1(%rbx), %eax
xorps %xmm2, %xmm2
cvtsi2sd %eax, %xmm2
mulsd 0x2686(%rip), %xmm2     # 0x6118
xorps %xmm3, %xmm3
cvtss2sd %xmm0, %xmm3
movsd %xmm3, 0x20(%rsp)
subss %xmm1, %xmm0
cvtss2sd %xmm0, %xmm0
divsd 0x2681(%rip), %xmm0     # 0x6130
addsd 0x2671(%rip), %xmm0     # 0x6128
cvtsd2ss %xmm0, %xmm0
movss %xmm0, 0x4(%rsp)
xorps %xmm0, %xmm0
cvtss2sd %xmm1, %xmm0
movsd %xmm0, 0x18(%rsp)
leaq 0x28(%rdi), %r15
xorps %xmm1, %xmm1
movq %rsp, %r12
movsd %xmm2, 0x8(%rsp)
movl $0x0, (%rsp)
ucomisd %xmm1, %xmm2
movss 0x4(%rsp), %xmm0
movsd %xmm1, 0x10(%rsp)
jne 0x3af9
jnp 0x3b73
movapd %xmm1, %xmm0
subsd %xmm2, %xmm0
movsd %xmm0, 0x28(%rsp)
mulsd 0x20(%rsp), %xmm0
callq 0x2080
movapd %xmm0, 0x40(%rsp)
movsd 0x28(%rsp), %xmm1
movapd %xmm1, %xmm0
mulsd 0x25f6(%rip), %xmm0     # 0x6120
movapd %xmm0, 0x30(%rsp)
mulsd 0x18(%rsp), %xmm1
movapd %xmm1, %xmm0
callq 0x2080
movsd 0x8(%rsp), %xmm2
movapd 0x40(%rsp), %xmm1
unpcklpd %xmm0, %xmm1            # xmm1 = xmm1[0],xmm0[0]
movapd 0x30(%rsp), %xmm0
unpcklpd %xmm0, %xmm0            # xmm0 = xmm0[0,0]
divpd %xmm0, %xmm1
cvtpd2ps %xmm1, %xmm0
movapd %xmm0, %xmm1
shufps $0x55, %xmm0, %xmm1     # xmm1 = xmm1[1,1],xmm0[1,1]
subss %xmm1, %xmm0
movsd 0x10(%rsp), %xmm1
movss %xmm0, (%rsp)
movq 0x30(%r14), %rsi
cmpq 0x38(%r14), %rsi
je 0x3b90
movss %xmm0, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x30(%r14)
jmp 0x3ba7
movq %r15, %rdi
movq %r12, %rdx
callq 0x51c2
movsd 0x10(%rsp), %xmm1
movsd 0x8(%rsp), %xmm2
addsd 0x2579(%rip), %xmm1     # 0x6128
decl %ebx
jne 0x3ade
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
nop
// File: /workspace/github_c_makefile_star2_O1/DrYerzinia[P]C_DigiMode/src/util/Util.cpp
// Function: util::readUInt16(std::istream&)
uint16_t util::readUInt16(std::istream &in){
	uint16_t tmp16int = 0;
	unsigned char tmp;
	for(int i = 0; i < 2; i++){
		in >> tmp;
		tmp16int += uint16_t(tmp * pow(0x100, i));
	}
	return tmp16int;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
xorl %r15d, %r15d
leaq 0xf(%rsp), %r14
xorl %ebp, %ebp
movq %rbx, %rdi
movq %r14, %rsi
callq 0x2250
movzbl 0xf(%rsp), %eax
xorps %xmm0, %xmm0
cvtsi2sd %eax, %xmm0
movsd %xmm0, 0x10(%rsp)
xorps %xmm0, %xmm0
cvtsi2sd %r15d, %xmm0
callq 0x21b0
mulsd 0x10(%rsp), %xmm0
cvttsd2si %xmm0, %eax
addl %eax, %ebp
addl $0x8, %r15d
cmpl $0x8, %r15d
je 0x541b
movl %ebp, %eax
addq $0x18, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/DrYerzinia[P]C_DigiMode/src/util/Util.cpp
// Function: util::readUInt32(std::istream&)
uint32_t util::readUInt32(std::istream &in){
        uint32_t tmp32int = 0;
        unsigned char tmp;
        for(int i = 0; i < 4; i++){
                in >> tmp;
                tmp32int += uint32_t(tmp * pow(0x100, i));
        }
	return tmp32int;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
xorl %r15d, %r15d
leaq 0xf(%rsp), %r14
xorl %ebp, %ebp
movq %rbx, %rdi
movq %r14, %rsi
callq 0x2250
movzbl 0xf(%rsp), %eax
xorps %xmm0, %xmm0
cvtsi2sd %eax, %xmm0
movsd %xmm0, 0x10(%rsp)
xorps %xmm0, %xmm0
cvtsi2sd %r15d, %xmm0
callq 0x21b0
mulsd 0x10(%rsp), %xmm0
cvttsd2si %xmm0, %rax
addl %eax, %ebp
addl $0x8, %r15d
cmpl $0x20, %r15d
jne 0x547f
movl %ebp, %eax
addq $0x18, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_c_makefile_star2_O1/DrYerzinia[P]C_DigiMode/src/util/Util.cpp
// Function: util::writeUInt32(std::ostream&, unsigned int)
void util::writeUInt32(std::ostream &out, uint32_t wri){
	char *tmp = (char*) &wri;
	for(int i = 0; i < 4; i++){
		out.write(tmp, 1);
		tmp++;
	}
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movl %esi, 0x4(%rsp)
xorl %r14d, %r14d
leaq (%rsp,%r14), %rsi
addq $0x4, %rsi
movl $0x1, %edx
movq %rbx, %rdi
callq 0x2240
incq %r14
cmpq $0x4, %r14
jne 0x5538
addq $0x8, %rsp
popq %rbx
popq %r14
retq