// File: /workspace/github_cpp_makefile_star2_O1/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 0xb64e
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 0x3a5a
leaq 0x108(%rsp), %rbp
movq %rbp, 0xf8(%rsp)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
leaq 0xf8(%rsp), %rdi
callq 0x3a5a
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 0xb38b
movq 0x108(%rsp), %rsi
incq %rsi
callq 0x21d0
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0xb3a7
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x21d0
cmpq $-0x1, %r13
je 0xb3ec
leaq 0x20(%rsp), %rax
movq %rax, 0x10(%rsp)
movq %r14, %rdi
leaq 0x4121(%rip), %rdx      # 0xf4e2
movq %rdx, %rsi
callq 0xa7aa
leaq 0x30(%rsp), %r13
movq %r12, %rbp
movq %rbx, %rdi
movq 0x8(%rsp), %r12
movq %r12, %rsi
movq %r15, %rdx
movq %r14, %rcx
callq 0xae78
jmp 0xb4ec
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 0x3a5a
movq %r12, %rbp
movq %r12, 0xd8(%rsp)
leaq 0xd8(%rsp), %rdi
leaq 0x3ebf(%rip), %rsi      # 0xf2f4
leaq 0x3eb9(%rip), %rdx      # 0xf2f5
callq 0xa7aa
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 0xb47b
movq 0xe8(%rsp), %rsi
incq %rsi
callq 0x21d0
movq 0x90(%rsp), %rdi
leaq 0xa0(%rsp), %rax
cmpq %rax, %rdi
leaq 0xc8(%rsp), %rbp
je 0xb4a8
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0x21d0
cmpq $-0x1, %r13
je 0xb54a
leaq 0x20(%rsp), %rax
movq %rax, 0x10(%rsp)
movq %r14, %rdi
leaq 0x401c(%rip), %rdx      # 0xf4e2
movq %rdx, %rsi
callq 0xa7aa
leaq 0x30(%rsp), %r13
movq %r12, %rbp
movq %rbx, %rdi
movq 0x8(%rsp), %r12
movq %r12, %rsi
movq %r15, %rdx
movq %r14, %rcx
callq 0xae78
movq %r12, %rdi
movq %rbx, %rsi
callq 0x2220
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0xb513
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x21d0
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0xb52f
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x21d0
addq $0x20, %r15
movq 0xb0(%rsp), %rax
cmpq 0x8(%rax), %r15
jne 0xb306
jmp 0xb64e
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 0x3a5a
movq %rbp, 0xb8(%rsp)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
leaq 0xb8(%rsp), %rdi
callq 0x3a5a
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 0xb5cc
movq 0xc8(%rsp), %rsi
incq %rsi
callq 0x21d0
movq 0x70(%rsp), %rdi
leaq 0x80(%rsp), %rax
cmpq %rax, %rdi
je 0xb5ee
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x21d0
cmpq $-0x1, %r13
movq %r12, %rbp
leaq 0x30(%rsp), %r13
je 0xb52f
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 0xb52f
movq 0x60(%rsp), %rsi
jmp 0xb527
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 0xb6e2
movq 0x80(%rsp), %rsi
jmp 0xb6da
jmp 0xb6aa
jmp 0xb6a5
movq %rax, %rbx
movq 0x90(%rsp), %rdi
leaq 0xa0(%rsp), %rax
cmpq %rax, %rdi
je 0xb6e2
movq 0xa0(%rsp), %rsi
jmp 0xb6da
movq %rax, %rbx
jmp 0xb6e2
movq %rax, %rbx
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0xb6e2
movq 0x20(%rsp), %rsi
jmp 0xb6da
movq %rax, %rbx
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0xb6e2
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x21d0
movq %rbx, %rdi
callq 0x2300