// File: /workspace/github_cpp_makefile_star2_O1/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 0x1fd2a
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 0x17d56
movq 0x48(%rsp), %r13
movq 0x50(%rsp), %rax
movq %rax, 0x70(%rsp)
cmpq %rax, %r13
je 0x1fcf5
leaq 0x18(%rsp), %rax
movq %rax, 0x8(%rsp)
movq (%r13), %rsi
movq 0x8(%r13), %rdx
addq %rsi, %rdx
leaq 0x8(%rsp), %rdi
callq 0x82cc
movq (%rbx), %rsi
cmpq %rsi, 0x8(%rbx)
je 0x1fcca
movl $0x1, %r15d
xorl %eax, %eax
leal (%r14,%r15), %ecx
cmpl $0x1, %ecx
je 0x1fcad
leaq (%rax,%rax,2), %rax
shlq $0x5, %rax
addq %rax, %rsi
movq %r12, %rdi
callq 0x17d56
movq 0x28(%rsp), %rdi
movq 0x30(%rsp), %rsi
leaq 0x8(%rsp), %rdx
callq 0x218f9
cmpq 0x30(%rsp), %rax
je 0x1fca5
leaq 0x98(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x21a2e
movq %r12, %rdi
callq 0x81e0
movl %r15d, %eax
movq (%rbx), %rsi
movq 0x8(%rbx), %rcx
subq %rsi, %rcx
sarq $0x5, %rcx
imulq %rbp, %rcx
incl %r15d
cmpq %rax, %rcx
ja 0x1fc5c
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x1fce6
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x53c0
addq $0x20, %r13
cmpq 0x70(%rsp), %r13
jne 0x1fc2c
leaq 0x48(%rsp), %r15
movq %r15, %rdi
callq 0x81e0
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 0x1fbfc
leaq 0x18(%rsp), %rax
movq %rax, -0x10(%rax)
movq $0x0, -0x8(%rax)
movb $0x0, (%rax)
movq 0xb0(%rsp), %r14
leaq 0xa0(%rsp), %rax
cmpq %rax, %r14
je 0x1fe0e
leaq 0x58(%rsp), %rbp
xorl %r12d, %r12d
leaq 0x48(%rsp), %r15
leaq 0x8(%rsp), %r13
movq %rbp, 0x48(%rsp)
movq 0x20(%r14), %rsi
movq 0x28(%r14), %rdx
addq %rsi, %rdx
movq %r15, %rdi
callq 0x82cc
testb $0x1, %r12b
je 0x1fd96
movq %r13, %rdi
leaq 0x12a72(%rip), %rsi     # 0x32803
callq 0x5700
leaq 0x28(%rsp), %rdi
leaq 0x12a6d(%rip), %rsi     # 0x3280f
movq %r15, %rdx
callq 0xe91d
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 0x1fdd8
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x53c0
movq 0x48(%rsp), %rdi
cmpq %rbp, %rdi
je 0x1fdef
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x53c0
movq %r14, %rdi
callq 0x5460
movq %rax, %r14
movb $0x1, %r12b
leaq 0xa0(%rsp), %rax
cmpq %rax, %r14
jne 0x1fd69
leaq 0x88(%rsp), %r14
movq %r14, -0x10(%r14)
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
addq %rsi, %rdx
leaq 0x78(%rsp), %rdi
callq 0x82cc
leaq 0x78(%rsp), %rsi
movq %rbx, %rdi
callq 0x20b04
movq 0x78(%rsp), %rdi
cmpq %r14, %rdi
je 0x1fe58
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x53c0
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x1fe74
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x53c0
leaq 0x98(%rsp), %rdi
callq 0x215ba
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 0x1fef6
movq 0x88(%rsp), %rsi
jmp 0x1fee9
jmp 0x1fef3
jmp 0x1fed7
movq %rax, %rbx
jmp 0x1ff53
movq %rax, %rbx
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x1feda
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x53c0
jmp 0x1feda
movq %rax, %rbx
movq 0x48(%rsp), %rdi
cmpq %rbp, %rdi
je 0x1fef6
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x53c0
jmp 0x1fef6
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x1ff53
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x53c0
jmp 0x1ff53
movq %rax, %rbx
jmp 0x1ff49
jmp 0x1ff1b
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
callq 0x81e0
jmp 0x1ff2d
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x1ff49
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x53c0
leaq 0x48(%rsp), %rdi
callq 0x81e0
leaq 0x98(%rsp), %rdi
callq 0x215ba
movq %rbx, %rdi
callq 0x5670