// File: /workspace/github_cpp_makefile_star2_O3/RuiDGPires[P]CrimLang/src/generator.cpp
// Function: gc_Tracker::declaration_cas(crl::Node*)
void _gc_Tracker::declaration_cas(crl::Node *node){
	ASSERT(node->get_child(0)->type == crl::Node::Type::LEAF, "Func declaration must have a type as first token");
	ASSERT(node->get_child(1)->type == crl::Node::Type::LEAF, "Func declaration must have a name as second token");
	std::string type = get_token(node->get_child(0)).str;
	std::string name = get_token(node->get_child(1)).str;
	this->current_func_name = name;
	u32 size = size_of(type);

	stream_funcs << name << ":\n"; 
	
	// RESULT SPACE ALLOCATION MUST BE DONE BY CALLER
	
	symb_tracker.frame_offset = size - 1;
	symb_tracker.sp = 0;

	this->stream_funcs << 
		";Function " << name << "\n" <<
		"MOV R7 RF\n" << // TMP STORE RF
		"MOV RF RS\n";

	symb_tracker.push("R7", stream_funcs);
	symb_tracker.push("RE", stream_funcs);


	// Arguents will be stored on the stack like this:
	// foo(a, b, c) -> [a b c]

	// TREAT ARGMENTS
	size_t args_size = 0;
	for(u32 i = 0; i < node->argc; i++){
		crl::Node *arg = node->get_child(2 + i);
		std::string type = get_token(arg->get_child(0)).str;
		std::string name = get_token(arg->get_child(1)).str;

		bool is_mut = arg->annotation == "mut";
		u32 arg_size = is_mut? 1: size_of(type);
		args_size += arg_size;
		
		symb_tracker.arg_create(name, arg_size, is_mut);
	}

	u32 rollback = symb_tracker.frame_offset;	
	this->stream_funcs <<
		"MVI R1 " << rollback << "\n" <<
		"ADD RF R1\n"; // Rollback frame

	crl::Node *block = node->get_child(2+node->argc);
	size_t block_size = block->children.size();
	for (size_t i = 0; i < block_size; i++){
		ASSERT(block->get_child(i)->type == crl::Node::Type::LEAF, "ALL CHILDREN OF CAS DECLARATION MUST BE LEAFS");
		stream_funcs << get_token(block->get_child(i)).str << "\n";
	}

	this->stream_funcs << 
		"; End of function\n" <<
		name << "-end:\n" <<
		"MOV RS RF\n" <<
		"MVI R1 " << args_size + 2 << "\n" <<
		"SUB RS R1\n";
		
	symb_tracker.pop("RE", stream_funcs);
	symb_tracker.pop("RF", stream_funcs);

	this->stream_funcs <<
		"MVI R2 2\n"
		"SUB R1 R2\n" <<
		"ADD RS R1\n" <<
		"RET\n\n";
		// The rest is the result (on stack)
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x228, %rsp            # imm = 0x228
movq %rsi, %r12
movq %rdi, -0x68(%rbp)
movq (%rsi), %rax
movq %rsi, %rdi
xorl %esi, %esi
callq *0x18(%rax)
cmpl $0x10, 0x8(%rax)
jne 0x9e4b
movq (%r12), %rax
movq %r12, %rdi
movl $0x1, %esi
callq *0x18(%rax)
cmpl $0x10, 0x8(%rax)
jne 0x9eb4
movq (%r12), %rax
movq %r12, %rdi
xorl %esi, %esi
callq *0x18(%rax)
movq %rax, %rbx
leaq -0x50(%rbp), %r14
movq %r14, -0x10(%r14)
movq 0x58(%rax), %rsi
movq 0x60(%rax), %rdx
addq %rsi, %rdx
leaq -0x60(%rbp), %r15
movq %r15, %rdi
callq 0x4d52
movl 0x80(%rbx), %eax
movl %eax, 0x28(%r15)
movq 0x78(%rbx), %rax
movq %rax, 0x20(%r15)
leaq -0xe8(%rbp), %rcx
movq %rcx, -0x10(%rcx)
movq (%r15), %rax
cmpq %r14, %rax
je 0x95a4
movq %rax, -0xf8(%rbp)
movq -0x50(%rbp), %rax
movq %rax, -0xe8(%rbp)
jmp 0x95ab
movups (%r14), %xmm0
movups %xmm0, (%rcx)
leaq -0x60(%rbp), %rdi
movq 0x8(%rdi), %rax
movq %rax, -0xf0(%rbp)
movq %r14, (%rdi)
movq $0x0, 0x8(%rdi)
movb $0x0, 0x10(%rdi)
callq 0x191f8
movq (%r12), %rax
movq %r12, %rdi
movl $0x1, %esi
callq *0x18(%rax)
movq %rax, %rbx
leaq -0x60(%rbp), %rdi
movq %r14, (%rdi)
movq 0x58(%rax), %rsi
movq 0x60(%rax), %rdx
addq %rsi, %rdx
callq 0x4d52
movl 0x80(%rbx), %eax
movl %eax, -0x38(%rbp)
movq 0x78(%rbx), %rax
movq %rax, -0x40(%rbp)
leaq -0x88(%rbp), %rcx
movq %rcx, -0x10(%rcx)
movq -0x60(%rbp), %rax
cmpq %r14, %rax
je 0x9630
movq %rax, -0x98(%rbp)
movq -0x50(%rbp), %rax
movq %rax, -0x88(%rbp)
jmp 0x9637
movups (%r14), %xmm0
movups %xmm0, (%rcx)
leaq -0x60(%rbp), %rdi
movq 0x8(%rdi), %rax
leaq -0x98(%rbp), %rbx
movq %rax, 0x8(%rbx)
movq %r14, (%rdi)
movq $0x0, 0x8(%rdi)
movb $0x0, 0x10(%rdi)
callq 0x191f8
movq -0x68(%rbp), %rax
leaq 0x4a0(%rax), %rdi
movq %rbx, %rsi
callq 0x3150
leaq -0x1d8(%rbp), %r14
movq %r14, -0x10(%r14)
movq -0xf8(%rbp), %rsi
movq -0xf0(%rbp), %rdx
addq %rsi, %rdx
leaq -0x1e8(%rbp), %rdi
callq 0x4d52
leaq -0x1e8(%rbp), %rdi
callq 0x9395
movl %eax, %ebx
movq -0x1e8(%rbp), %rdi
cmpq %r14, %rdi
je 0x96c2
movq -0x1d8(%rbp), %rsi
incq %rsi
callq 0x3230
movq -0x68(%rbp), %rax
leaq 0x328(%rax), %rdi
movq -0x98(%rbp), %rsi
movq -0x90(%rbp), %rdx
movq %rdi, -0x30(%rbp)
callq 0x3280
leaq 0x11db9(%rip), %rsi     # 0x1b4a4
movl $0x2, %edx
movq %rax, %rdi
callq 0x3280
decl %ebx
movq -0x68(%rbp), %rax
movl %ebx, 0x5b0(%rax)
movl $0x0, 0x5ac(%rax)
leaq 0x11d14(%rip), %rsi     # 0x1b429
movl $0xa, %edx
movq -0x30(%rbp), %rdi
callq 0x3280
movq -0x98(%rbp), %rsi
movq -0x90(%rbp), %rdx
movq -0x30(%rbp), %rdi
callq 0x3280
movq %rax, %rbx
leaq 0x11d9f(%rip), %rsi     # 0x1b4e3
movl $0x1, %edx
movq %rax, %rdi
callq 0x3280
leaq 0x11cdc(%rip), %rsi     # 0x1b434
movl $0xa, %edx
movq %rbx, %rdi
callq 0x3280
leaq 0x11cd3(%rip), %rsi     # 0x1b43f
movl $0xa, %edx
movq %rbx, %rdi
callq 0x3280
leaq -0x1b8(%rbp), %r14
movq %r14, -0x10(%r14)
leaq 0x11cbf(%rip), %rsi     # 0x1b44a
leaq 0x11cba(%rip), %rdx     # 0x1b44c
leaq -0x1c8(%rbp), %rdi
callq 0x4336
movq -0x68(%rbp), %rax
leaq 0x318(%rax), %rdx
leaq 0x530(%rax), %rdi
leaq -0x1c8(%rbp), %rsi
movq %rdi, -0x70(%rbp)
movq %rdx, -0x78(%rbp)
callq 0xdf3e
movq -0x1c8(%rbp), %rdi
cmpq %r14, %rdi
je 0x97df
movq -0x1b8(%rbp), %rsi
incq %rsi
callq 0x3230
leaq -0x198(%rbp), %r14
movq %r14, -0x10(%r14)
leaq 0x11c5c(%rip), %rsi     # 0x1b44d
leaq 0x11c57(%rip), %rdx     # 0x1b44f
leaq -0x1a8(%rbp), %rdi
callq 0x4336
leaq -0x1a8(%rbp), %rsi
movq -0x70(%rbp), %rdi
movq -0x78(%rbp), %rdx
callq 0xdf3e
movq -0x1a8(%rbp), %rdi
cmpq %r14, %rdi
je 0x9833
movq -0x198(%rbp), %rsi
incq %rsi
callq 0x3230
cmpl $0x0, 0x50(%r12)
je 0x9ae3
xorl %r15d, %r15d
xorl %r14d, %r14d
movq %r12, -0x140(%rbp)
movq %r15, -0x148(%rbp)
leal 0x2(%r14), %esi
movq (%r12), %rax
movq %r12, %rdi
callq *0x18(%rax)
movq %rax, %rbx
movq (%rax), %rax
movq %rbx, %rdi
xorl %esi, %esi
callq *0x18(%rax)
leaq -0x50(%rbp), %r13
movq %rax, %r12
movq %r13, -0x60(%rbp)
movq 0x58(%rax), %rsi
movq 0x60(%rax), %rdx
addq %rsi, %rdx
leaq -0x60(%rbp), %rdi
callq 0x4d52
movl 0x80(%r12), %eax
leaq -0x40(%rbp), %rcx
movl %eax, 0x8(%rcx)
movq 0x78(%r12), %rax
movq %rax, (%rcx)
leaq -0xc8(%rbp), %rcx
movq %rcx, -0xd8(%rbp)
movq -0x60(%rbp), %rax
cmpq %r13, %rax
je 0x98d0
movq %rax, -0xd8(%rbp)
movq -0x50(%rbp), %rax
movq %rax, -0xc8(%rbp)
jmp 0x98d8
movups (%r13), %xmm0
movups %xmm0, (%rcx)
leaq -0x60(%rbp), %rdi
movq -0x58(%rbp), %rax
movq %rax, -0xd0(%rbp)
movq %r13, -0x60(%rbp)
movq $0x0, -0x58(%rbp)
movb $0x0, -0x50(%rbp)
movq %rdi, %r15
callq 0x191f8
movq (%rbx), %rax
movq %rbx, %rdi
movl $0x1, %esi
callq *0x18(%rax)
movq %rax, %r12
movq %r13, -0x60(%rbp)
movq 0x58(%rax), %rsi
movq 0x60(%rax), %rdx
addq %rsi, %rdx
movq %r15, %rdi
callq 0x4d52
movl 0x80(%r12), %eax
leaq -0x40(%rbp), %rcx
movl %eax, 0x8(%rcx)
movq 0x78(%r12), %rax
movq %rax, (%rcx)
leaq -0xa8(%rbp), %rcx
movq %rcx, -0xb8(%rbp)
movq -0x60(%rbp), %rax
cmpq %r13, %rax
je 0x9969
movq %rax, -0xb8(%rbp)
movq -0x50(%rbp), %rax
movq %rax, -0xa8(%rbp)
jmp 0x9971
movups (%r13), %xmm0
movups %xmm0, (%rcx)
leaq -0x60(%rbp), %rdi
movq -0x58(%rbp), %rax
movq %rax, -0xb0(%rbp)
movq %r13, -0x60(%rbp)
movq $0x0, -0x58(%rbp)
movb $0x0, -0x50(%rbp)
callq 0x191f8
addq $0x30, %rbx
movq %rbx, %rdi
leaq 0x11aad(%rip), %rsi     # 0x1b450
callq 0x30a0
movl %eax, %r12d
testl %eax, %eax
je 0x9a13
leaq -0x108(%rbp), %rax
movq %rax, -0x118(%rbp)
movq -0xd8(%rbp), %rsi
movq -0xd0(%rbp), %rdx
addq %rsi, %rdx
leaq -0x118(%rbp), %rdi
callq 0x4d52
leaq -0x128(%rbp), %r13
leaq -0x118(%rbp), %rdi
callq 0x9395
movl %eax, %ebx
movq -0x118(%rbp), %rdi
leaq -0x108(%rbp), %rax
cmpq %rax, %rdi
je 0x9a1f
movq -0x108(%rbp), %rsi
incq %rsi
callq 0x3230
jmp 0x9a1f
movl $0x1, %ebx
leaq -0x128(%rbp), %r13
movq %r13, -0x138(%rbp)
movq -0xb8(%rbp), %rsi
movq -0xb0(%rbp), %rdx
addq %rsi, %rdx
leaq -0x138(%rbp), %rdi
callq 0x4d52
xorl %ecx, %ecx
testl %r12d, %r12d
sete %cl
movq -0x70(%rbp), %rdi
leaq -0x138(%rbp), %rsi
movl %ebx, %edx
callq 0xdf98
movq -0x138(%rbp), %rdi
cmpq %r13, %rdi
movq -0x140(%rbp), %r12
je 0x9a7f
movq -0x128(%rbp), %rsi
incq %rsi
callq 0x3230
movq -0xb8(%rbp), %rdi
leaq -0xa8(%rbp), %rax
cmpq %rax, %rdi
movq -0x148(%rbp), %r15
je 0x9aa8
movq -0xa8(%rbp), %rsi
incq %rsi
callq 0x3230
movq -0xd8(%rbp), %rdi
leaq -0xc8(%rbp), %rax
cmpq %rax, %rdi
je 0x9aca
movq -0xc8(%rbp), %rsi
incq %rsi
callq 0x3230
movl %ebx, %eax
addq %rax, %r15
incl %r14d
cmpl 0x50(%r12), %r14d
jb 0x984c
addq $0x2, %r15
jmp 0x9ae9
movl $0x2, %r15d
movq -0x68(%rbp), %rax
movl 0x5b0(%rax), %ebx
leaq 0x11883(%rip), %rsi     # 0x1b37d
movl $0x7, %edx
movq -0x30(%rbp), %rdi
callq 0x3280
movq -0x30(%rbp), %rdi
movq %rbx, %rsi
callq 0x3170
movq %rax, %rbx
leaq 0x119c5(%rip), %rsi     # 0x1b4e3
movl $0x1, %edx
movq %rax, %rdi
callq 0x3280
leaq 0x11922(%rip), %rsi     # 0x1b454
movl $0xa, %edx
movq %rbx, %rdi
callq 0x3280
movl 0x50(%r12), %esi
addl $0x2, %esi
movq (%r12), %rax
movq %r12, %rdi
callq *0x18(%rax)
movq %rax, %rbx
movq 0x18(%rax), %r12
subq 0x10(%rax), %r12
je 0x9c01
sarq $0x3, %r12
cmpq $0x1, %r12
adcq $0x0, %r12
xorl %r14d, %r14d
movq (%rbx), %rax
movq %rbx, %rdi
movl %r14d, %esi
callq *0x18(%rax)
cmpl $0x10, 0x8(%rax)
jne 0x9ddf
movq (%rbx), %rax
movq %rbx, %rdi
movl %r14d, %esi
callq *0x18(%rax)
movq %rax, %r13
leaq -0x50(%rbp), %rax
movq %rax, -0x60(%rbp)
movq 0x58(%r13), %rsi
movq 0x60(%r13), %rdx
addq %rsi, %rdx
leaq -0x60(%rbp), %rdi
callq 0x4d52
movl 0x80(%r13), %eax
leaq -0x40(%rbp), %rcx
movl %eax, 0x8(%rcx)
movq 0x78(%r13), %rax
movq %rax, (%rcx)
movq -0x60(%rbp), %rsi
movq -0x58(%rbp), %rdx
movq -0x30(%rbp), %rdi
callq 0x3280
movl $0x1, %edx
movq %rax, %rdi
leaq 0x118fc(%rip), %rsi     # 0x1b4e3
callq 0x3280
leaq -0x60(%rbp), %rdi
callq 0x191f8
incq %r14
cmpq %r14, %r12
jne 0x9b71
leaq 0x11885(%rip), %rsi     # 0x1b48d
movl $0x12, %edx
movq -0x30(%rbp), %rdi
callq 0x3280
movq -0x98(%rbp), %rsi
movq -0x90(%rbp), %rdx
movq -0x30(%rbp), %rdi
callq 0x3280
movq %rax, %rbx
leaq 0x11869(%rip), %rsi     # 0x1b4a0
movl $0x6, %edx
movq %rax, %rdi
callq 0x3280
leaq 0x1185c(%rip), %rsi     # 0x1b4a7
movl $0xa, %edx
movq %rbx, %rdi
callq 0x3280
leaq 0x1171e(%rip), %rsi     # 0x1b37d
movl $0x7, %edx
movq %rbx, %rdi
callq 0x3280
movq %rbx, %rdi
movq %r15, %rsi
callq 0x3170
movq %rax, %rbx
leaq 0x11862(%rip), %rsi     # 0x1b4e3
movl $0x1, %edx
movq %rax, %rdi
callq 0x3280
leaq 0x1181d(%rip), %rsi     # 0x1b4b2
movl $0xa, %edx
movq %rbx, %rdi
callq 0x3280
leaq -0x178(%rbp), %r14
movq %r14, -0x10(%r14)
leaq 0x11799(%rip), %rsi     # 0x1b44d
leaq 0x11794(%rip), %rdx     # 0x1b44f
leaq -0x188(%rbp), %rdi
callq 0x4336
leaq -0x188(%rbp), %rsi
movq -0x70(%rbp), %rdi
movq -0x78(%rbp), %rdx
callq 0xe12a
movq -0x188(%rbp), %rdi
cmpq %r14, %rdi
je 0x9cf6
movq -0x178(%rbp), %rsi
incq %rsi
callq 0x3230
leaq -0x158(%rbp), %r14
movq %r14, -0x10(%r14)
leaq 0x117b5(%rip), %rsi     # 0x1b4bd
leaq 0x117b0(%rip), %rdx     # 0x1b4bf
leaq -0x168(%rbp), %rdi
callq 0x4336
leaq -0x168(%rbp), %rsi
movq -0x70(%rbp), %rdi
movq -0x78(%rbp), %rdx
callq 0xe12a
movq -0x168(%rbp), %rdi
cmpq %r14, %rdi
je 0x9d4a
movq -0x158(%rbp), %rsi
incq %rsi
callq 0x3230
leaq 0x1176f(%rip), %rsi     # 0x1b4c0
movl $0x13, %edx
movq -0x30(%rbp), %rdi
callq 0x3280
leaq 0x1176e(%rip), %rsi     # 0x1b4d4
movl $0xa, %edx
movq -0x30(%rbp), %rdi
callq 0x3280
leaq 0x11764(%rip), %rsi     # 0x1b4df
movl $0x5, %edx
movq -0x30(%rbp), %rdi
callq 0x3280
movq -0x98(%rbp), %rdi
leaq -0x88(%rbp), %rax
cmpq %rax, %rdi
je 0x9dab
movq -0x88(%rbp), %rsi
incq %rsi
callq 0x3230
movq -0xf8(%rbp), %rdi
leaq -0xe8(%rbp), %rax
cmpq %rax, %rdi
je 0x9dcd
movq -0xe8(%rbp), %rsi
incq %rsi
callq 0x3230
addq $0x228, %rsp            # imm = 0x228
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x50, %edi
callq 0x3120
movq %rax, %r14
leaq -0x1f8(%rbp), %r15
movq %r15, -0x10(%r15)
leaq 0x11661(%rip), %rsi     # 0x1b45f
leaq 0x11687(%rip), %rdx     # 0x1b48c
leaq -0x208(%rbp), %rdi
callq 0x4336
movb $0x1, %r12b
leaq -0x208(%rbp), %rcx
movq %r14, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x5470
xorl %r12d, %r12d
leaq 0x18f41(%rip), %rsi     # 0x22d78
leaq -0x4858(%rip), %rdx     # 0x55e6
movq %r14, %rdi
callq 0x33d0
jmp 0x9f1b
movl $0x50, %edi
callq 0x3120
movq %rax, %r14
leaq -0x238(%rbp), %r15
movq %r15, -0x10(%r15)
leaq 0x1155c(%rip), %rsi     # 0x1b3c6
leaq 0x11585(%rip), %rdx     # 0x1b3f6
leaq -0x248(%rbp), %rdi
callq 0x4336
movb $0x1, %r12b
leaq -0x248(%rbp), %rcx
movq %r14, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x5470
xorl %r12d, %r12d
leaq 0x18ed5(%rip), %rsi     # 0x22d78
leaq -0x48c4(%rip), %rdx     # 0x55e6
movq %r14, %rdi
callq 0x33d0
jmp 0x9f1b
movl $0x50, %edi
callq 0x3120
movq %rax, %r14
leaq -0x218(%rbp), %r15
movq %r15, -0x10(%r15)
leaq 0x11524(%rip), %rsi     # 0x1b3f7
leaq 0x1154e(%rip), %rdx     # 0x1b428
leaq -0x228(%rbp), %rdi
callq 0x4336
movb $0x1, %r12b
leaq -0x228(%rbp), %rcx
movq %r14, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x5470
xorl %r12d, %r12d
leaq 0x18e6c(%rip), %rsi     # 0x22d78
leaq -0x492d(%rip), %rdx     # 0x55e6
movq %r14, %rdi
callq 0x33d0
movq %rax, %rbx
movq -0x228(%rbp), %rdi
cmpq %r15, %rdi
je 0x9f53
movq -0x218(%rbp), %rsi
jmp 0x9f4b
jmp 0x9f5d
movq %rax, %rbx
movq -0x248(%rbp), %rdi
cmpq %r15, %rdi
je 0x9f53
movq -0x238(%rbp), %rsi
incq %rsi
callq 0x3230
testb %r12b, %r12b
jne 0x9f60
jmp 0xa15a
movq %rax, %rbx
movq %r14, %rdi
callq 0x31a0
jmp 0xa15a
movq %rax, %rbx
movq -0x168(%rbp), %rdi
cmpq %r14, %rdi
je 0xa116
movq -0x158(%rbp), %rsi
jmp 0xa10e
jmp 0xa0ec
movq %rax, %rbx
movq -0x188(%rbp), %rdi
cmpq %r14, %rdi
je 0xa116
movq -0x178(%rbp), %rsi
jmp 0xa10e
jmp 0xa0ec
jmp 0xa0ec
movq %rax, %rbx
movq -0x1a8(%rbp), %rdi
cmpq %r14, %rdi
je 0xa116
movq -0x198(%rbp), %rsi
jmp 0xa10e
jmp 0xa0ec
movq %rax, %rbx
movq -0x1c8(%rbp), %rdi
cmpq %r14, %rdi
je 0xa116
movq -0x1b8(%rbp), %rsi
jmp 0xa10e
jmp 0xa0ec
movq %rax, %rbx
movq -0x1e8(%rbp), %rdi
cmpq %r14, %rdi
je 0xa116
movq -0x1d8(%rbp), %rsi
jmp 0xa10e
jmp 0xa0ec
movq %rax, %rbx
jmp 0xa138
jmp 0xa0ec
jmp 0xa0ec
movq %rax, %rbx
movq -0x208(%rbp), %rdi
cmpq %r15, %rdi
je 0xa056
movq -0x1f8(%rbp), %rsi
incq %rsi
callq 0x3230
testb %r12b, %r12b
jne 0xa063
jmp 0xa116
movq %rax, %rbx
movq %r14, %rdi
callq 0x31a0
jmp 0xa116
jmp 0xa0ec
movq %rax, %rbx
movq -0x118(%rbp), %rdi
leaq -0x108(%rbp), %rax
cmpq %rax, %rdi
je 0xa0b8
movq -0x108(%rbp), %rsi
jmp 0xa0ab
jmp 0xa0ec
jmp 0xa0ec
movq %rax, %rbx
movq -0x138(%rbp), %rdi
cmpq %r13, %rdi
je 0xa0b8
movq -0x128(%rbp), %rsi
incq %rsi
callq 0x3230
jmp 0xa0b8
movq %rax, %rbx
movq -0xb8(%rbp), %rdi
leaq -0xa8(%rbp), %rax
cmpq %rax, %rdi
je 0xa0f4
movq -0xa8(%rbp), %rsi
incq %rsi
callq 0x3230
jmp 0xa0f4
jmp 0xa0ec
movq %rax, %rbx
leaq -0x60(%rbp), %rdi
callq 0x191f8
jmp 0xa116
movq %rax, %rbx
jmp 0xa116
movq %rax, %rbx
movq -0xd8(%rbp), %rdi
leaq -0xc8(%rbp), %rax
cmpq %rax, %rdi
je 0xa116
movq -0xc8(%rbp), %rsi
incq %rsi
callq 0x3230
movq -0x98(%rbp), %rdi
leaq -0x88(%rbp), %rax
cmpq %rax, %rdi
je 0xa138
movq -0x88(%rbp), %rsi
incq %rsi
callq 0x3230
movq -0xf8(%rbp), %rdi
leaq -0xe8(%rbp), %rax
cmpq %rax, %rdi
je 0xa15a
movq -0xe8(%rbp), %rsi
incq %rsi
callq 0x3230
movq %rbx, %rdi
callq 0x33f0