// File: /workspace/github_cpp_makefile_star2_O3/mehrangoli[P]Static-Data-Extractor/SCmain.cpp
// Function: ScMain::set_static_data_var(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>)
void ScMain::set_static_data_var (string m_name, NT v_name){
	Component temp_struct;
	int index = find_element(m_name);
	
	if (index != -1){
		static_data_final[index].set_var(v_name);	
	}
	else{
		temp_struct.set_name (m_name);
		temp_struct.set_var(v_name);
		static_data_final.push_back(temp_struct);		
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x138, %rsp            # imm = 0x138
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
leaq 0xf8(%rsp), %rax
movq %rax, -0x30(%rax)
movq $0x1, -0x28(%rax)
xorps %xmm0, %xmm0
movups %xmm0, -0x20(%rax)
movl $0x3f800000, -0x10(%rax) # imm = 0x3F800000
leaq 0x128(%rsp), %r12
movups %xmm0, -0x38(%r12)
movups %xmm0, -0x28(%r12)
xorl %eax, %eax
movq %rax, -0x18(%r12)
movq %r12, -0x10(%r12)
movq %rax, -0x8(%r12)
movb $0x0, (%r12)
leaq 0x38(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rsi), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
leaq 0x28(%rsp), %rdi
callq 0x3a4c
leaq 0x28(%rsp), %rsi
movq %rbx, %rdi
callq 0x43e0
movl %eax, %ebp
movq 0x28(%rsp), %rdi
cmpq %r13, %rdi
je 0x6a75
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x21d0
cmpl $-0x1, %ebp
je 0x6af2
movq (%rbx), %rbx
leaq 0x88(%rsp), %rdi
movq %r14, %rsi
callq 0x9da8
movslq %ebp, %rax
imulq $0x70, %rax, %rax
addq %rax, %rbx
leaq 0x88(%rsp), %rsi
movq %rbx, %rdi
callq 0xbec0
leaq 0xb8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6ac8
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x21d0
leaq 0x98(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6b9d
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x21d0
jmp 0x6b9d
leaq 0x18(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
leaq 0x8(%rsp), %rdi
callq 0x3a4c
leaq 0xc8(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0xbf5c
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x6b38
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21d0
leaq 0x48(%rsp), %rdi
movq %r14, %rsi
callq 0x9da8
leaq 0xc8(%rsp), %rdi
leaq 0x48(%rsp), %rsi
callq 0xbec0
leaq 0x78(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6b72
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x21d0
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6b8d
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x21d0
leaq 0xc8(%rsp), %rsi
movq %rbx, %rdi
callq 0x9e40
movq 0x118(%rsp), %rdi
cmpq %r12, %rdi
je 0x6bba
movq 0x128(%rsp), %rsi
incq %rsi
callq 0x21d0
leaq 0x100(%rsp), %rdi
callq 0x37ac
leaq 0xc8(%rsp), %rdi
callq 0x3834
addq $0x138, %rsp            # imm = 0x138
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x48(%rsp), %rdi
jmp 0x6c0f
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x6c35
movq 0x18(%rsp), %rsi
jmp 0x6c28
movq %rax, %rbx
leaq 0x88(%rsp), %rdi
callq 0x9e0a
jmp 0x6c35
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r13, %rdi
je 0x6c35
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x21d0
jmp 0x6c35
movq %rax, %rbx
leaq 0xc8(%rsp), %rdi
callq 0x9c9a
movq %rbx, %rdi
callq 0x2300