// File: /workspace/github_cpp_makefile_star2_O3/GAStudyGroup[P]GPX2/src/args/Arg.cpp
// Function: Arg::nameConflict()
void Arg::nameConflict(){
    set<string> conflicting;
    for(unsigned i=0;i<arguments.size();i++){
        for(string n : arguments[i].getArg()){
            for(unsigned j=0;j<arguments.size();j++){
                if(i!=j){
                    vector<string> tmp{arguments[j].getArg()};
                    if(find(tmp.begin(),tmp.end(),n)!=tmp.end()){
                        conflicting.insert(n);
                    }
                }
            }
        }
    }

    bool error{false};
    string errorMsg{};
    for(string n : conflicting){
        if(error){
            errorMsg+="\n";
        }
        error = true;
        errorMsg += "Conflicting name or alias: "+n;
    }            
    throwException(errorMsg);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xc8, %rsp
movq %rdi, %rbx
leaq 0xa0(%rsp), %rax
movl $0x0, (%rax)
xorl %r14d, %r14d
movq %r14, 0x8(%rax)
movq %rax, 0x10(%rax)
movq %rax, 0x18(%rax)
movq %r14, 0x20(%rax)
movq (%rdi), %rax
cmpq %rax, 0x8(%rdi)
je 0x1fed4
leaq 0x10(%rsp), %rcx
movq %rcx, 0x20(%rsp)
leaq 0x48(%rsp), %r15
movabsq $-0x5555555555555555, %rbp # imm = 0xAAAAAAAAAAAAAAAB
leaq 0x28(%rsp), %r12
xorl %ecx, %ecx
xorl %esi, %esi
movq %rsi, 0x68(%rsp)
leaq (%rcx,%rcx,2), %rsi
shlq $0x5, %rsi
addq %rax, %rsi
movq %r15, %rdi
callq 0x17d42
movq 0x48(%rsp), %r13
movq 0x50(%rsp), %rax
movq %rax, 0x70(%rsp)
cmpq %rax, %r13
je 0x1fdaf
leaq 0x10(%rsp), %rax
movq %rax, (%rsp)
movq (%r13), %rsi
movq 0x8(%r13), %rdx
addq %rsi, %rdx
movq %rsp, %rdi
callq 0x82fa
movq (%rbx), %rsi
movq 0x8(%rbx), %rax
cmpq %rsi, %rax
je 0x1fd85
movl $0x1, %r15d
xorl %ecx, %ecx
leal (%r14,%r15), %edx
cmpl $0x1, %edx
je 0x1fd6c
leaq (%rcx,%rcx,2), %rax
shlq $0x5, %rax
addq %rax, %rsi
movq %r12, %rdi
callq 0x17d42
movq 0x28(%rsp), %rdi
movq 0x30(%rsp), %rsi
movq %rsp, %rdx
callq 0x219d3
cmpq 0x30(%rsp), %rax
je 0x1fd5d
leaq 0x98(%rsp), %rdi
movq %rsp, %rsi
callq 0x21afa
movq %r12, %rdi
callq 0x8206
movq (%rbx), %rsi
movq 0x8(%rbx), %rax
movl %r15d, %ecx
movq %rax, %rdx
subq %rsi, %rdx
sarq $0x5, %rdx
imulq %rbp, %rdx
incl %r15d
cmpq %rcx, %rdx
ja 0x1fd18
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x1fda0
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x53b0
addq $0x20, %r13
cmpq 0x70(%rsp), %r13
jne 0x1fce8
leaq 0x48(%rsp), %r15
movq %r15, %rdi
callq 0x8206
movq 0x68(%rsp), %rsi
incl %esi
movq (%rbx), %rax
movq 0x8(%rbx), %rdx
subq %rax, %rdx
sarq $0x5, %rdx
imulq %rbp, %rdx
decl %r14d
movq %rsi, %rcx
cmpq %rsi, %rdx
ja 0x1fcb8
movq 0xb0(%rsp), %r14
leaq 0x10(%rsp), %rsi
movq %rsi, (%rsp)
movq $0x0, 0x8(%rsp)
movb $0x0, 0x10(%rsp)
leaq 0xa0(%rsp), %rax
cmpq %rax, %r14
je 0x1fef1
leaq 0x58(%rsp), %rbp
xorl %r12d, %r12d
leaq 0x48(%rsp), %r15
movq %rsp, %r13
movq %rbp, 0x48(%rsp)
movq 0x20(%r14), %rsi
movq 0x28(%r14), %rdx
addq %rsi, %rdx
movq %r15, %rdi
callq 0x82fa
testb $0x1, %r12b
je 0x1fe51
movq %r13, %rdi
leaq 0x129b7(%rip), %rsi     # 0x32803
callq 0x56f0
leaq 0x28(%rsp), %rdi
leaq 0x129b2(%rip), %rsi     # 0x3280f
movq %r15, %rdx
callq 0xe906
movq 0x28(%rsp), %rsi
movq 0x30(%rsp), %rdx
movq %r13, %rdi
callq 0x5110
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x1fe93
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x53b0
movq 0x48(%rsp), %rdi
cmpq %rbp, %rdi
je 0x1feaa
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x53b0
movq %r14, %rdi
callq 0x5450
movq %rax, %r14
movb $0x1, %r12b
leaq 0xa0(%rsp), %rax
cmpq %rax, %r14
jne 0x1fe24
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
jmp 0x1fef3
leaq 0x10(%rsp), %rsi
movq %rsi, -0x10(%rsi)
movq $0x0, -0x8(%rsi)
movb $0x0, (%rsi)
xorl %edx, %edx
movq %rsi, 0x20(%rsp)
jmp 0x1fef3
xorl %edx, %edx
leaq 0x88(%rsp), %r14
movq %r14, -0x10(%r14)
addq %rsi, %rdx
leaq 0x78(%rsp), %rdi
callq 0x82fa
leaq 0x78(%rsp), %rsi
movq %rbx, %rdi
callq 0x20bb4
movq 0x78(%rsp), %rdi
cmpq %r14, %rdi
je 0x1ff33
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x53b0
movq (%rsp), %rdi
cmpq 0x20(%rsp), %rdi
je 0x1ff4b
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x53b0
leaq 0x98(%rsp), %rdi
callq 0x2168c
addq $0xc8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x78(%rsp), %rdi
cmpq %r14, %rdi
je 0x1ffc5
movq 0x88(%rsp), %rsi
jmp 0x1ffb8
jmp 0x1ffc2
jmp 0x1ffa6
movq %rax, %rbx
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x1ffa9
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x53b0
jmp 0x1ffa9
movq %rax, %rbx
movq 0x48(%rsp), %rdi
cmpq %rbp, %rdi
je 0x1ffc5
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x53b0
jmp 0x1ffc5
movq %rax, %rbx
movq (%rsp), %rdi
cmpq 0x20(%rsp), %rdi
je 0x20022
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x53b0
jmp 0x20022
movq %rax, %rbx
jmp 0x20022
movq %rax, %rbx
jmp 0x20018
jmp 0x1ffeb
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
callq 0x8206
jmp 0x1fffd
movq %rax, %rbx
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x20018
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x53b0
leaq 0x48(%rsp), %rdi
callq 0x8206
leaq 0x98(%rsp), %rdi
callq 0x2168c
movq %rbx, %rdi
callq 0x5660
nop