// File: /workspace/github_cpp_makefile_star2_O2/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 %r12
pushq %rbx
subq $0x130, %rsp            # imm = 0x130
movq %rdi, %rbx
leaq 0x10(%rdi), %rax
movq %rax, (%rdi)
andq $0x0, 0x8(%rdi)
xorl %eax, %eax
movb %al, 0x10(%rdi)
leaq 0x30(%rdi), %rcx
movq %rcx, 0x20(%rdi)
andq $0x0, 0x28(%rdi)
movb %al, 0x30(%rdi)
leaq 0x8(%rsp), %rdi
pushq $0x20
popq %rax
movq %rdx, %rsi
movl %eax, %edx
callq 0x7696
leaq 0x59cc(%rip), %rsi      # 0xa4ec
leaq 0x110(%rsp), %rdi
leaq 0x90(%rsp), %rdx
callq 0x31b8
leaq 0x8(%rsp), %rdi
leaq 0x110(%rsp), %rsi
callq 0x7928
leaq 0x110(%rsp), %rdi
callq 0x2110
leaq 0x78(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x6e16
leaq 0x5909(%rip), %rsi      # 0xa473
leaq 0xf0(%rsp), %rdi
leaq 0x90(%rsp), %rdx
callq 0x31b8
leaq 0x78(%rsp), %rdi
leaq 0xf0(%rsp), %rsi
callq 0x7888
movl %eax, %ebp
leaq 0xf0(%rsp), %rdi
callq 0x2110
leaq 0x78(%rsp), %rdi
callq 0x322e
testl %ebp, %ebp
js 0x4c02
movl %ebp, %r14d
shlq $0x5, %r14
addq 0x8(%rsp), %r14
leaq 0x58b2(%rip), %rsi      # 0xa473
leaq 0x40(%rsp), %rdi
leaq 0x7(%rsp), %rdx
callq 0x31b8
leaq 0x5915(%rip), %rsi      # 0xa4ec
leaq 0x20(%rsp), %rdi
leaq 0x6(%rsp), %rdx
callq 0x31b8
leaq 0x90(%rsp), %rdi
leaq 0x40(%rsp), %rdx
leaq 0x20(%rsp), %rcx
movq %r14, %rsi
callq 0x7752
jmp 0x4c51
movq 0x8(%rsp), %r14
leaq 0x5865(%rip), %rsi      # 0xa473
leaq 0x40(%rsp), %rdi
leaq 0x7(%rsp), %rdx
callq 0x31b8
leaq 0x58c8(%rip), %rsi      # 0xa4ec
leaq 0x20(%rsp), %rdi
leaq 0x6(%rsp), %rdx
callq 0x31b8
addq $0x20, %r14
leaq 0x90(%rsp), %rdi
leaq 0x40(%rsp), %rdx
leaq 0x20(%rsp), %rcx
movq %r14, %rsi
callq 0x7752
leaq 0x90(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x2210
movq %r14, %rdi
callq 0x2110
leaq 0x20(%rsp), %rdi
callq 0x2110
leaq 0x40(%rsp), %rdi
callq 0x2110
leaq 0x20(%rbx), %rdi
movq 0x8(%rsp), %rsi
callq 0x2140
leaq 0x5667(%rip), %rsi      # 0xa2fc
leaq 0x90(%rsp), %r15
leaq 0x40(%rsp), %rdx
movq %r15, %rdi
callq 0x31b8
leaq 0xb0(%rsp), %r12
leaq 0x5645(%rip), %rsi      # 0xa2fe
leaq 0x20(%rsp), %rdx
movq %r12, %rdi
callq 0x31b8
leaq 0xd0(%rsp), %r12
leaq 0x57ac(%rip), %rsi      # 0xa481
leaq 0x7(%rsp), %rdx
movq %r12, %rdi
callq 0x31b8
leaq 0x60(%rsp), %rdi
leaq 0x90(%rsp), %rsi
pushq $0x3
popq %rdx
leaq 0x6(%rsp), %rcx
callq 0x31f4
leaq 0x60(%rsp), %rsi
movq %rbx, %rdi
callq 0x79dd
leaq 0x60(%rsp), %rdi
callq 0x322e
pushq $0x40
popq %r14
leaq (%rsp,%r14), %rdi
addq $0x90, %rdi
callq 0x2110
addq $-0x20, %r14
cmpq $-0x20, %r14
jne 0x4d17
leaq 0x8(%rsp), %rdi
callq 0x322e
movq %rbx, %rax
addq $0x130, %rsp            # imm = 0x130
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
jmp 0x4d57
jmp 0x4d66
jmp 0x4dfb
movq %rax, %r14
leaq 0x20(%rsp), %rdi
callq 0x2110
jmp 0x4d69
movq %rax, %r14
leaq 0x40(%rsp), %rdi
jmp 0x4ded
jmp 0x4dfb
movq %rax, %r14
leaq 0x60(%rsp), %rdi
callq 0x322e
jmp 0x4d87
movq %rax, %r14
pushq $0x40
popq %r15
leaq (%rsp,%r15), %rdi
addq $0x90, %rdi
callq 0x2110
addq $-0x20, %r15
cmpq $-0x20, %r15
jne 0x4d8b
jmp 0x4dfe
jmp 0x4da9
movq %rax, %r14
addq $-0x20, %r12
movq %r12, %rdi
callq 0x2110
cmpq %r15, %r12
jne 0x4dac
jmp 0x4dfe
jmp 0x4dfb
movq %rax, %r14
leaq 0xf0(%rsp), %rdi
callq 0x2110
jmp 0x4dd6
movq %rax, %r14
leaq 0x78(%rsp), %rdi
callq 0x322e
jmp 0x4dfe
movq %rax, %r14
leaq 0x110(%rsp), %rdi
callq 0x2110
jmp 0x4dfe
jmp 0x4dfb
movq %rax, %r14
jmp 0x4e08
movq %rax, %r14
leaq 0x8(%rsp), %rdi
callq 0x322e
movq %rbx, %rdi
callq 0x334e
movq %r14, %rdi
callq 0x2300