// File: /workspace/github_cpp_makefile_star2_O1/mehrangoli[P]Static-Data-Extractor/SCmain.cpp
// Function: ScMain::find_module_var(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
NT ScMain:: find_module_var (string line){
	NT NameType;
	vector<string> split_line = split(line, ' ');
	remove_element_vector(split_line, "");
	int index_var = find_in_vector(split_line, ";");
	
	if (index_var >=0)
		NameType.first = replace_first_occurrence(split_line[index_var],";","");
	else
		NameType.first = replace_first_occurrence(split_line[1],";","");
		
	NameType.second = split_line[0];
	filter_element(NameType.first, {"*","&","["});
	return NameType;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x128, %rsp            # imm = 0x128
movq %rdi, %rbx
leaq 0x10(%rdi), %rax
movq %rax, (%rdi)
xorl %eax, %eax
movq %rax, 0x8(%rdi)
movb %al, 0x10(%rdi)
leaq 0x30(%rdi), %rcx
movq %rcx, 0x20(%rdi)
movq %rax, 0x28(%rdi)
movb %al, 0x30(%rdi)
leaq 0x40(%rsp), %rdi
movq %rdx, %rsi
movl $0x20, %edx
callq 0xad6a
leaq 0x88(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x8ffa(%rip), %rdx      # 0xf4e2
leaq 0x78(%rsp), %rdi
movq %rdx, %rsi
callq 0xa7aa
leaq 0x40(%rsp), %rdi
leaq 0x78(%rsp), %rsi
callq 0xb195
movq 0x78(%rsp), %rdi
cmpq %r15, %rdi
je 0x651e
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x21d0
leaq 0x110(%rsp), %rdi
leaq 0x40(%rsp), %rsi
callq 0xa55c
leaq 0x68(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x8f29(%rip), %rsi      # 0xf469
leaq 0x8f23(%rip), %rdx      # 0xf46a
leaq 0x58(%rsp), %rdi
callq 0xa7aa
leaq 0x110(%rsp), %rdi
leaq 0x58(%rsp), %rsi
callq 0xb07b
movl %eax, %ebp
movq 0x58(%rsp), %rdi
cmpq %r15, %rdi
je 0x657c
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x21d0
leaq 0x110(%rsp), %rdi
callq 0x36d0
testl %ebp, %ebp
js 0x65f0
movl %ebp, %r14d
shlq $0x5, %r14
addq 0x40(%rsp), %r14
leaq 0x10(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x8ec0(%rip), %rsi      # 0xf469
leaq 0x8eba(%rip), %rdx      # 0xf46a
movq %rsp, %rdi
callq 0xa7aa
leaq 0x30(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x8f19(%rip), %rdx      # 0xf4e2
leaq 0x20(%rsp), %rdi
movq %rdx, %rsi
callq 0xa7aa
leaq 0x98(%rsp), %rdi
movq %rsp, %rdx
leaq 0x20(%rsp), %rcx
movq %r14, %rsi
callq 0xae78
jmp 0x664e
movq 0x40(%rsp), %r14
leaq 0x10(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x8e64(%rip), %rsi      # 0xf469
leaq 0x8e5e(%rip), %rdx      # 0xf46a
movq %rsp, %rdi
callq 0xa7aa
leaq 0x30(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x8ebd(%rip), %rdx      # 0xf4e2
leaq 0x20(%rsp), %rdi
movq %rdx, %rsi
callq 0xa7aa
addq $0x20, %r14
leaq 0x98(%rsp), %rdi
movq %rsp, %rdx
leaq 0x20(%rsp), %rcx
movq %r14, %rsi
callq 0xae78
leaq 0x98(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x2220
movq (%r14), %rdi
leaq 0xa8(%rsp), %rax
cmpq %rax, %rdi
je 0x6681
movq 0xa8(%rsp), %rsi
incq %rsi
callq 0x21d0
movq 0x20(%rsp), %rdi
cmpq %r12, %rdi
je 0x6698
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x21d0
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x66ae
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x21d0
leaq 0x20(%rbx), %rdi
movq 0x40(%rsp), %rsi
callq 0x2110
leaq 0xa8(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x8c23(%rip), %rsi      # 0xf2f2
leaq 0x8c1d(%rip), %rdx      # 0xf2f3
leaq 0x98(%rsp), %r12
movq %r12, %rdi
callq 0xa7aa
leaq 0xb8(%rsp), %r15
leaq 0xc8(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x8bf3(%rip), %rsi      # 0xf2f4
leaq 0x8bed(%rip), %rdx      # 0xf2f5
movq %r15, %rdi
callq 0xa7aa
leaq 0xd8(%rsp), %r15
leaq 0xe8(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x8d4c(%rip), %rsi      # 0xf477
leaq 0x8d46(%rip), %rdx      # 0xf478
movq %r15, %rdi
callq 0xa7aa
leaq 0xf8(%rsp), %rdi
leaq 0x98(%rsp), %rsi
movq %rsp, %rcx
movl $0x3, %edx
callq 0x3688
leaq 0xf8(%rsp), %rsi
movq %rbx, %rdi
callq 0xb2c4
leaq 0xf8(%rsp), %rdi
callq 0x36d0
movq $-0x60, %r14
movq -0x10(%r13), %rdi
cmpq %rdi, %r13
je 0x6790
movq (%r13), %rsi
incq %rsi
callq 0x21d0
addq $-0x20, %r13
addq $0x20, %r14
jne 0x677b
leaq 0x40(%rsp), %rdi
callq 0x36d0
movq %rbx, %rax
addq $0x128, %rsp            # imm = 0x128
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x67c2
jmp 0x67de
jmp 0x68e5
movq %rax, %r14
movq 0x20(%rsp), %rdi
cmpq %r12, %rdi
je 0x67e1
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x21d0
jmp 0x67e1
movq %rax, %r14
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x68e8
movq 0x10(%rsp), %rsi
jmp 0x68d4
jmp 0x68e5
movq %rax, %r14
leaq 0xf8(%rsp), %rdi
callq 0x36d0
jmp 0x6812
movq %rax, %r14
xorl %ebp, %ebp
movq 0xd8(%rsp,%rbp), %rdi
movq %r13, %rax
addq %rbp, %rax
cmpq %rdi, %rax
je 0x6832
movq (%rax), %rsi
incq %rsi
callq 0x21d0
addq $-0x20, %rbp
cmpq $-0x60, %rbp
jne 0x6814
movb $0x1, %al
jmp 0x6851
jmp 0x6842
movq %rax, %r14
xorl %eax, %eax
jmp 0x6851
movq %rax, %r14
xorl %eax, %eax
movq %r12, %r15
cmpq %r15, %r12
sete %cl
orb %al, %cl
jne 0x68e8
addq $-0x10, %r15
leaq 0x98(%rsp), %r12
movq -0x10(%r15), %rdi
cmpq %rdi, %r15
je 0x687f
movq (%r15), %rsi
incq %rsi
callq 0x21d0
leaq -0x20(%r15), %rax
addq $-0x10, %r15
cmpq %r12, %r15
movq %rax, %r15
jne 0x686b
jmp 0x68e8
movq %rax, %r14
movq 0x58(%rsp), %rdi
cmpq %r15, %rdi
je 0x68b0
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x21d0
jmp 0x68b0
movq %rax, %r14
leaq 0x110(%rsp), %rdi
callq 0x36d0
jmp 0x68e8
movq %rax, %r14
movq 0x78(%rsp), %rdi
cmpq %r15, %rdi
je 0x68e8
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x21d0
jmp 0x68e8
jmp 0x68e5
movq %rax, %r14
jmp 0x68f2
movq %rax, %r14
leaq 0x40(%rsp), %rdi
callq 0x36d0
movq %rbx, %rdi
callq 0xa4fc
movq %r14, %rdi
callq 0x2300