// File: /workspace/github_cpp_makefile_star2_O3/mehrangoli[P]Static-Data-Extractor/Define.cpp
// Function: filter_element(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>)
void filter_element (string& str, vector<string> vect){
	auto itt = vect.begin();
	
	while (itt!=vect.end()){
		if (string_finder(str, *itt)) 	
			str = replace_first_occurrence(str,*itt,"");
		else if (string_finder(str, "&"))		 
			str = replace_first_occurrence(str,*itt,"");	
		else if (string_finder(str,*itt)){
			size_t pos = str.find(*itt); 
			str = str.substr(0,pos);			
		}
		++itt;
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x118, %rsp            # imm = 0x118
movq %rdi, 0x8(%rsp)
movq (%rsi), %r15
movq %rsi, 0xb0(%rsp)
cmpq 0x8(%rsi), %r15
je 0xaf23
leaq 0xe8(%rsp), %rbp
leaq 0x30(%rsp), %r13
leaq 0x50(%rsp), %rbx
leaq 0x10(%rsp), %r14
movq %rbp, %r12
leaq 0x40(%rsp), %rax
movq %rax, 0x30(%rsp)
movq 0x8(%rsp), %rax
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
movq %r13, %rdi
callq 0x3a4c
leaq 0x108(%rsp), %rbp
movq %rbp, 0xf8(%rsp)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
leaq 0xf8(%rsp), %rdi
callq 0x3a4c
movq 0xf8(%rsp), %rsi
movq 0x100(%rsp), %rcx
movq %r13, %rdi
xorl %edx, %edx
callq 0x22f0
movq %rax, %r13
movq 0xf8(%rsp), %rdi
cmpq %rbp, %rdi
je 0xac60
movq 0x108(%rsp), %rsi
incq %rsi
callq 0x21d0
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0xac7c
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x21d0
cmpq $-0x1, %r13
je 0xacc1
leaq 0x20(%rsp), %rax
movq %rax, 0x10(%rsp)
movq %r14, %rdi
leaq 0x384c(%rip), %rdx      # 0xe4e2
movq %rdx, %rsi
callq 0xa0b2
leaq 0x30(%rsp), %r13
movq %r12, %rbp
movq %rbx, %rdi
movq 0x8(%rsp), %r12
movq %r12, %rsi
movq %r15, %rdx
movq %r14, %rcx
callq 0xa77c
jmp 0xadc1
leaq 0xa0(%rsp), %rax
movq %rax, 0x90(%rsp)
movq 0x8(%rsp), %rax
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
leaq 0x90(%rsp), %r13
movq %r13, %rdi
callq 0x3a4c
movq %r12, %rbp
movq %r12, 0xd8(%rsp)
leaq 0xd8(%rsp), %rdi
leaq 0x35ea(%rip), %rsi      # 0xe2f4
leaq 0x35e4(%rip), %rdx      # 0xe2f5
callq 0xa0b2
movq 0xd8(%rsp), %rsi
movq 0xe0(%rsp), %rcx
movq %r13, %rdi
xorl %edx, %edx
callq 0x22f0
movq %rax, %r13
movq 0xd8(%rsp), %rdi
cmpq %rbp, %rdi
je 0xad50
movq 0xe8(%rsp), %rsi
incq %rsi
callq 0x21d0
movq 0x90(%rsp), %rdi
leaq 0xa0(%rsp), %rax
cmpq %rax, %rdi
leaq 0xc8(%rsp), %rbp
je 0xad7d
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0x21d0
cmpq $-0x1, %r13
je 0xae1f
leaq 0x20(%rsp), %rax
movq %rax, 0x10(%rsp)
movq %r14, %rdi
leaq 0x3747(%rip), %rdx      # 0xe4e2
movq %rdx, %rsi
callq 0xa0b2
leaq 0x30(%rsp), %r13
movq %r12, %rbp
movq %rbx, %rdi
movq 0x8(%rsp), %r12
movq %r12, %rsi
movq %r15, %rdx
movq %r14, %rcx
callq 0xa77c
movq %r12, %rdi
movq %rbx, %rsi
callq 0x2220
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0xade8
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x21d0
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0xae04
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x21d0
addq $0x20, %r15
movq 0xb0(%rsp), %rax
cmpq 0x8(%rax), %r15
jne 0xabdb
jmp 0xaf23
leaq 0x80(%rsp), %rax
movq %rax, 0x70(%rsp)
movq 0x8(%rsp), %rax
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
leaq 0x70(%rsp), %r13
movq %r13, %rdi
callq 0x3a4c
movq %rbp, 0xb8(%rsp)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
leaq 0xb8(%rsp), %rdi
callq 0x3a4c
movq 0xb8(%rsp), %rsi
movq 0xc0(%rsp), %rcx
movq %r13, %rdi
xorl %edx, %edx
callq 0x22f0
movq %rax, %r13
movq 0xb8(%rsp), %rdi
cmpq %rbp, %rdi
je 0xaea1
movq 0xc8(%rsp), %rsi
incq %rsi
callq 0x21d0
movq 0x70(%rsp), %rdi
leaq 0x80(%rsp), %rax
cmpq %rax, %rdi
je 0xaec3
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x21d0
cmpq $-0x1, %r13
movq %r12, %rbp
leaq 0x30(%rsp), %r13
je 0xae04
movq (%r15), %rsi
movq 0x8(%r15), %rcx
movq 0x8(%rsp), %r12
movq %r12, %rdi
xorl %edx, %edx
callq 0x22f0
movq %rbx, %rdi
movq %r12, %rsi
xorl %edx, %edx
movq %rax, %rcx
callq 0x21f0
movq %r12, %rdi
movq %rbx, %rsi
callq 0x2220
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0xae04
movq 0x60(%rsp), %rsi
jmp 0xadfc
addq $0x118, %rsp            # imm = 0x118
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x70(%rsp), %rdi
leaq 0x80(%rsp), %rax
cmpq %rax, %rdi
je 0xafb7
movq 0x80(%rsp), %rsi
jmp 0xafaf
jmp 0xaf7f
jmp 0xaf7a
movq %rax, %rbx
movq 0x90(%rsp), %rdi
leaq 0xa0(%rsp), %rax
cmpq %rax, %rdi
je 0xafb7
movq 0xa0(%rsp), %rsi
jmp 0xafaf
movq %rax, %rbx
jmp 0xafb7
movq %rax, %rbx
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0xafb7
movq 0x20(%rsp), %rsi
jmp 0xafaf
movq %rax, %rbx
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0xafb7
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x21d0
movq %rbx, %rdi
callq 0x2300