// File: matengyue[P]Similar_test_demo/./src/deleteStopWords.h
// Function: deleteStopWords(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>>>>)
vector<string> deleteStopWords(vector<string> vectorwords){
    vector<string> vectorwordsNStop;

    vector<string> stopwords = ReadAllLinesFromFile("../src/StopWord.txt");

    for (int i = 0; i < vectorwords.size(); i++){
        int flag = 1;
        for (int j = 0; j < stopwords.size(); j++){
            if (vectorwords[i] == stopwords[j]){
                flag = 0;
                break;
            }
        }
        if (flag){
            string word = vectorwords[i];
            vectorwordsNStop.push_back(word);    
        }
    }
    
    return vectorwordsNStop;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xd0, %rsp
movq %rsi, -0xb0(%rbp)
movq %rdi, -0xa8(%rbp)
movq %rdi, %rax
movq %rax, -0xa0(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movb $0x0, -0x11(%rbp)
callq 0x3c70
leaq -0x51(%rbp), %rdi
movq %rdi, -0x98(%rbp)
callq 0x2390
movq -0x98(%rbp), %rdx
leaq 0x3210(%rip), %rsi      # 0x6032
leaq -0x50(%rbp), %rdi
callq 0x3f50
jmp 0x2e2d
leaq -0x30(%rbp), %rdi
leaq -0x50(%rbp), %rsi
callq 0x2b70
jmp 0x2e3c
leaq -0x50(%rbp), %rdi
callq 0x2180
leaq -0x51(%rbp), %rdi
callq 0x2280
movl $0x0, -0x68(%rbp)
movq -0xb0(%rbp), %rdi
movslq -0x68(%rbp), %rax
movq %rax, -0xb8(%rbp)
callq 0x3c90
movq %rax, %rcx
movq -0xb8(%rbp), %rax
cmpq %rcx, %rax
jae 0x2fb9
movl $0x1, -0x6c(%rbp)
movl $0x0, -0x70(%rbp)
movslq -0x70(%rbp), %rax
movq %rax, -0xc0(%rbp)
leaq -0x30(%rbp), %rdi
callq 0x3c90
movq %rax, %rcx
movq -0xc0(%rbp), %rax
cmpq %rcx, %rax
jae 0x2f37
movq -0xb0(%rbp), %rdi
movslq -0x68(%rbp), %rsi
callq 0x3d40
movq %rax, -0xc8(%rbp)
movslq -0x70(%rbp), %rsi
leaq -0x30(%rbp), %rdi
callq 0x3d40
movq -0xc8(%rbp), %rdi
movq %rax, %rsi
callq 0x3cb0
testb $0x1, %al
jne 0x2eed
jmp 0x2f27
movl $0x0, -0x6c(%rbp)
jmp 0x2f37
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x60(%rbp)
movl %eax, -0x64(%rbp)
jmp 0x2f19
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x60(%rbp)
movl %eax, -0x64(%rbp)
leaq -0x50(%rbp), %rdi
callq 0x2180
leaq -0x51(%rbp), %rdi
callq 0x2280
jmp 0x2ff5
jmp 0x2f29
movl -0x70(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x70(%rbp)
jmp 0x2e8d
cmpl $0x0, -0x6c(%rbp)
je 0x2fa9
movq -0xb0(%rbp), %rdi
movslq -0x68(%rbp), %rsi
callq 0x3d40
movq %rax, %rsi
leaq -0x90(%rbp), %rdi
callq 0x2100
jmp 0x2f5e
movq -0xa8(%rbp), %rdi
leaq -0x90(%rbp), %rsi
callq 0x3d60
jmp 0x2f73
leaq -0x90(%rbp), %rdi
callq 0x2180
jmp 0x2fa9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x60(%rbp)
movl %eax, -0x64(%rbp)
jmp 0x2fce
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x60(%rbp)
movl %eax, -0x64(%rbp)
leaq -0x90(%rbp), %rdi
callq 0x2180
jmp 0x2fce
jmp 0x2fab
movl -0x68(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x68(%rbp)
jmp 0x2e55
movb $0x1, -0x11(%rbp)
leaq -0x30(%rbp), %rdi
callq 0x3dd0
testb $0x1, -0x11(%rbp)
jne 0x2fe5
jmp 0x2fd9
leaq -0x30(%rbp), %rdi
callq 0x3dd0
jmp 0x2ff5
movq -0xa8(%rbp), %rdi
callq 0x3dd0
movq -0xa0(%rbp), %rax
addq $0xd0, %rsp
popq %rbp
retq
movq -0xa8(%rbp), %rdi
callq 0x3dd0
movq -0x60(%rbp), %rdi
callq 0x2380
nopw (%rax,%rax)