// File: /workspace/github_cpp_makefile_star2_O1/mehrangoli[P]Static-Data-Extractor/SCmain.cpp
// Function: ScMain::print_data_XML()
void ScMain::print_data_XML(){
	ofstream xmlFile;
	xmlFile.open ("output.xml");

	xmlFile<<"<ESL_ARCH>"<<endl;	
	for (auto i: static_data_final){
		xmlFile<<i.get_name_XML()<<endl;	
		xmlFile<<i.get_var_XML()<<endl;	
		xmlFile<<i.get_func_XML()<<endl;
		if (i.get_name() == "sc_main")
			xmlFile<<"</Global_function>\n"<<endl;
		else
			xmlFile<<"</Module>\n"<<endl;
	}
	xmlFile<<"</ESL_ARCH>"<<endl;
	xmlFile.close();
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x298, %rsp            # imm = 0x298
movq %rdi, %r15
leaq 0x98(%rsp), %rbx
movq %rbx, %rdi
callq 0x22e0
leaq 0xb359(%rip), %rsi      # 0xf230
movq %rbx, %rdi
movl $0x10, %edx
callq 0x2040
leaq 0xb350(%rip), %rsi      # 0xf23b
leaq 0x98(%rsp), %rbx
movl $0xa, %edx
movq %rbx, %rdi
callq 0x2210
movq 0x98(%rsp), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x21b0
movsbl %al, %esi
leaq 0x98(%rsp), %rbx
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2140
movq (%r15), %r14
movq 0x8(%r15), %rax
movq %rax, 0x20(%rsp)
cmpq %rax, %r14
je 0x41c8
leaq 0x60(%rsp), %r15
addq $0x38, %r14
leaq 0x28(%rsp), %r13
movq %rsp, %rbp
leaq -0x38(%r14), %rsi
xorl %ecx, %ecx
movq %rcx, 0x28(%rsp)
movq -0x30(%r14), %rax
movq %rax, 0x30(%rsp)
movq %rcx, 0x38(%rsp)
movq -0x20(%r14), %rax
movq %rax, 0x40(%rsp)
movups -0x18(%r14), %xmm0
leaq 0x48(%rsp), %rax
movups %xmm0, (%rax)
movq %rcx, 0x58(%rsp)
movq %r13, (%rsp)
movq %r13, %rdi
movq %rbp, %rdx
callq 0xa5e6
movq %r15, %rdi
movq %r14, %rsi
callq 0xa3ba
leaq 0x88(%rsp), %rax
movq %rax, 0x78(%rsp)
movq 0x18(%r14), %rsi
movq 0x20(%r14), %rdx
addq %rsi, %rdx
leaq 0x78(%rsp), %rdi
callq 0x3a5a
movq %rbp, %rdi
movq %r13, %rsi
callq 0xc744
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
movq %rbx, %rdi
callq 0x2210
movq %rax, %r12
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x21b0
movsbl %al, %esi
movq %r12, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2140
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x402b
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x21d0
movq %rbp, %rdi
movq %r13, %rsi
callq 0xcd02
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
movq %rbx, %rdi
callq 0x2210
movq %rax, %r12
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x21b0
movsbl %al, %esi
movq %r12, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2140
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x408c
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x21d0
movq %rbp, %rdi
movq %r13, %rsi
callq 0xd0c8
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
movq %rbx, %rdi
callq 0x2210
movq %rax, %r12
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x21b0
movsbl %al, %esi
movq %r12, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2140
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x40ed
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x21d0
movq %rbp, %rdi
movq %r13, %rsi
callq 0xc720
movq %rbp, %rdi
leaq 0xb1fd(%rip), %rsi      # 0xf2ff
callq 0x20a0
movl %eax, %r12d
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x4125
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x21d0
testl %r12d, %r12d
je 0x4140
movl $0xa, %edx
movq %rbx, %rdi
leaq 0xb121(%rip), %rsi      # 0xf25a
callq 0x2210
jmp 0x4154
movl $0x13, %edx
movq %rbx, %rdi
leaq 0xb0f7(%rip), %rsi      # 0xf246
callq 0x2210
movq 0x98(%rsp), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x21b0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2140
movq 0x78(%rsp), %rdi
leaq 0x88(%rsp), %rax
cmpq %rax, %rdi
je 0x41a2
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x21d0
movq %r15, %rdi
callq 0x37ba
movq %r13, %rdi
callq 0x3842
leaq 0x70(%r14), %rax
addq $0x38, %r14
cmpq 0x20(%rsp), %r14
movq %rax, %r14
jne 0x3f5a
leaq 0xb096(%rip), %rsi      # 0xf265
leaq 0x98(%rsp), %rbx
movl $0xb, %edx
movq %rbx, %rdi
callq 0x2210
movq 0x98(%rsp), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x21b0
movsbl %al, %esi
leaq 0x98(%rsp), %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2140
leaq 0x98(%rsp), %rdi
callq 0x2260
movq 0xfd9f(%rip), %rax      # 0x13fc8
movq (%rax), %rcx
movq 0x18(%rax), %rax
leaq 0xa0(%rsp), %rdi
movq %rcx, -0x8(%rdi)
movq -0x18(%rcx), %rcx
movq %rax, 0x98(%rsp,%rcx)
callq 0x2190
leaq 0x190(%rsp), %rdi
callq 0x20c0
addq $0x298, %rsp            # imm = 0x298
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x4270
jmp 0x4297
movq %rax, %rbx
jmp 0x42c8
movq %rax, %rbx
jmp 0x4285
movq %rax, %rbx
movq %r15, %rdi
callq 0x37ba
leaq 0x28(%rsp), %rdi
callq 0x3842
jmp 0x42c8
jmp 0x4297
jmp 0x4297
jmp 0x4297
movq %rax, %rbx
jmp 0x42be
jmp 0x42a0
jmp 0x42a0
movq %rax, %rbx
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x42be
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x21d0
leaq 0x28(%rsp), %rdi
callq 0xa38c
leaq 0x98(%rsp), %rdi
callq 0x2280
movq %rbx, %rdi
callq 0x2300
nop