// File: /workspace/github_cpp_makefile_star2_O2/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, %r15
movq %rsi, 0x10(%rsp)
movq (%rsi), %r13
leaq 0x18(%rsp), %r12
leaq 0xd8(%rsp), %r14
movq 0x10(%rsp), %rax
cmpq 0x8(%rax), %r13
je 0x7bc7
leaq 0x78(%rsp), %rbp
movq %rbp, %rdi
movq %r15, %rbx
movq %r15, %rsi
callq 0x2260
leaq 0xf8(%rsp), %r15
movq %r15, %rdi
movq %r13, 0x8(%rsp)
movq %r13, %rsi
callq 0x2260
movq %rbp, %rdi
movq %r15, %rsi
callq 0x7630
movq %rbp, %r13
movl %eax, %ebp
movq %r15, %rdi
callq 0x2110
movq %r13, %rdi
callq 0x2110
testb %bpl, %bpl
je 0x7aaf
movq %r12, %rdi
leaq 0x2a7d(%rip), %rsi      # 0xa4ec
leaq 0x7(%rsp), %rdx
callq 0x31b8
movq %r14, %rdi
movq %rbx, %rsi
movq 0x8(%rsp), %rdx
movq %r12, %rcx
callq 0x7752
movq %rbx, %rdi
movq %r14, %rsi
callq 0x2210
movq %r14, %rdi
callq 0x2110
movq %r12, %rdi
callq 0x2110
movq %rbx, %r15
jmp 0x7bb9
leaq 0x58(%rsp), %r13
movq %r13, %rdi
movq %rbx, %rsi
callq 0x2260
leaq 0xb8(%rsp), %r15
movq %r15, %rdi
leaq 0x282d(%rip), %rsi      # 0xa2fe
movq %r14, %rdx
callq 0x31b8
movq %r13, %rdi
movq %r15, %rsi
callq 0x7630
movl %eax, %ebp
movq %r15, %rdi
callq 0x2110
movq %r13, %rdi
callq 0x2110
testb %bpl, %bpl
je 0x7b3d
movq %r12, %rdi
leaq 0x29e7(%rip), %rsi      # 0xa4ec
leaq 0x7(%rsp), %rdx
callq 0x31b8
movq %rbx, %r15
movq %r14, %rdi
movq %rbx, %rsi
movq 0x8(%rsp), %rdx
movq %r12, %rcx
callq 0x7752
movq %r15, %rdi
movq %r14, %rsi
callq 0x2210
movq %r14, %rdi
callq 0x2110
movq %r12, %rdi
jmp 0x7bb4
leaq 0x38(%rsp), %r13
movq %r13, %rdi
movq %rbx, %r15
movq %rbx, %rsi
callq 0x2260
leaq 0x98(%rsp), %rbx
movq %rbx, %rdi
movq 0x8(%rsp), %rsi
callq 0x2260
movq %r13, %rdi
movq %rbx, %rsi
callq 0x7630
movl %eax, %ebp
movq %rbx, %rdi
callq 0x2110
movq %r13, %rdi
callq 0x2110
testb %bpl, %bpl
je 0x7bb9
movq %r15, %rdi
movq 0x8(%rsp), %rsi
xorl %edx, %edx
callq 0x2370
movq %r14, %rdi
movq %r15, %rsi
xorl %edx, %edx
movq %rax, %rcx
callq 0x2200
movq %r15, %rdi
movq %r14, %rsi
callq 0x2210
movq %r14, %rdi
callq 0x2110
movq 0x8(%rsp), %r13
addq $0x20, %r13
jmp 0x7a06
addq $0x118, %rsp            # imm = 0x118
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x7bf6
jmp 0x7be7
movq %rax, %rbx
leaq 0x38(%rsp), %rdi
jmp 0x7c08
movq %rax, %rbx
jmp 0x7c0d
movq %rax, %rbx
leaq 0x58(%rsp), %rdi
jmp 0x7c08
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
jmp 0x7c08
movq %rax, %rbx
leaq 0x78(%rsp), %rdi
callq 0x2110
movq %rbx, %rdi
callq 0x2300