// File: /workspace/github_cpp_makefile_star2_O3/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 0xa361(%rip), %rsi      # 0xe230
movq %rbx, %rdi
movl $0x10, %edx
callq 0x2040
leaq 0xa358(%rip), %rsi      # 0xe23b
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 0x41bb
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 0x9ef4
movq %r15, %rdi
movq %r14, %rsi
callq 0x9cc8
leaq 0x88(%rsp), %rax
movq %rax, 0x78(%rsp)
movq 0x18(%r14), %rsi
movq 0x20(%r14), %rdx
addq %rsi, %rdx
leaq 0x78(%rsp), %rdi
callq 0x3a4c
movq %rbp, %rdi
movq %r13, %rsi
callq 0xbf8a
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 0x4023
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x21d0
movq %rbp, %rdi
movq %r13, %rsi
callq 0xc544
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 0x4084
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x21d0
movq %rbp, %rdi
movq %r13, %rsi
callq 0xc90a
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 0x40e5
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x21d0
movq %rbp, %rdi
movq %r13, %rsi
callq 0xbf66
movq %rbp, %rdi
leaq 0xa205(%rip), %rsi      # 0xe2ff
callq 0x20a0
movl %eax, %r12d
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x411d
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x21d0
xorl %eax, %eax
testl %r12d, %r12d
sete %al
leaq 0xa12e(%rip), %rsi      # 0xe25a
leaq 0xa113(%rip), %rcx      # 0xe246
cmoveq %rcx, %rsi
leaq (%rax,%rax,8), %rdx
addq $0xa, %rdx
movq %rbx, %rdi
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 0x4195
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x21d0
movq %r15, %rdi
callq 0x37ac
movq %r13, %rdi
callq 0x3834
leaq 0x70(%r14), %rax
addq $0x38, %r14
cmpq 0x20(%rsp), %r14
movq %rax, %r14
jne 0x3f52
leaq 0xa0a3(%rip), %rsi      # 0xe265
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 0xedac(%rip), %rax      # 0x12fc8
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 0x4263
jmp 0x428a
movq %rax, %rbx
jmp 0x42bb
movq %rax, %rbx
jmp 0x4278
movq %rax, %rbx
movq %r15, %rdi
callq 0x37ac
leaq 0x28(%rsp), %rdi
callq 0x3834
jmp 0x42bb
jmp 0x428a
jmp 0x428a
jmp 0x428a
movq %rax, %rbx
jmp 0x42b1
jmp 0x4293
jmp 0x4293
movq %rax, %rbx
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x42b1
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x21d0
leaq 0x28(%rsp), %rdi
callq 0x9c9a
leaq 0x98(%rsp), %rdi
callq 0x2280
movq %rbx, %rdi
callq 0x2300