// File: /workspace/github_cpp_makefile_star2_O1/XDragonSl[P]git-switcher/src/Store/Store.cpp
// Function: Store::Store()
Store::Store() {
    store.open(STORE_LOCATION + STORE_NAME, ios::in);
    if (store.is_open()) {
        string profileString;
        string name;
        string email;
        while (getline(store, profileString)) {
            istringstream profileStream(profileString);
            getline(profileStream, name, Profile::SEPARATOR);
            getline(profileStream, email, Profile::SEPARATOR);
            Profile loadedProfile(name, email);
            allProfiles.push_back(loadedProfile);
        }
    } else {
        store.clear();
    }
    store.close();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x228, %rsp            # imm = 0x228
movq %rdi, %rbx
callq 0x2240
leaq 0x210(%rbx), %rax
movq %rax, -0x30(%rbp)
xorps %xmm0, %xmm0
movups %xmm0, 0x219(%rbx)
movups %xmm0, 0x210(%rbx)
leaq 0x3ee9(%rip), %rsi      # 0x9510
leaq 0x3f02(%rip), %rdx      # 0x9530
leaq -0x250(%rbp), %rdi
callq 0x4c39
leaq -0x250(%rbp), %rsi
movq %rbx, %rdi
movl $0x8, %edx
callq 0x2280
leaq -0x240(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x5663
callq 0x21f0
leaq 0x80(%rbx), %rdi
callq 0x2080
testb %al, %al
je 0x578c
leaq -0x40(%rbp), %rcx
movq %rcx, -0x10(%rcx)
xorl %eax, %eax
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq -0x80(%rbp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq -0x60(%rbp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq -0x250(%rbp), %r13
leaq -0x90(%rbp), %r14
leaq -0x70(%rbp), %r15
leaq -0xd0(%rbp), %r12
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2200
movsbl %al, %edx
movq %rbx, %rdi
leaq -0x50(%rbp), %rsi
callq 0x2370
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0x579f
movq %r13, %rdi
leaq -0x50(%rbp), %rsi
movl $0x8, %edx
callq 0x2300
movq %r13, %rdi
movq %r14, %rsi
movl $0x3b, %edx
callq 0x2370
movq %r13, %rdi
movq %r15, %rsi
movl $0x3b, %edx
callq 0x2370
movq %r12, %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x5468
movq -0x30(%rbp), %rdi
movq %r12, %rsi
callq 0x5b78
movq -0xb0(%rbp), %rdi
leaq -0xa0(%rbp), %rax
cmpq %rax, %rdi
je 0x5754
callq 0x21f0
movq -0xd0(%rbp), %rdi
leaq -0xc0(%rbp), %rax
cmpq %rax, %rdi
je 0x576c
callq 0x21f0
movq %r13, %rdi
movq 0x384a(%rip), %rsi      # 0x8fc0
callq 0x22a0
leaq -0x1d8(%rbp), %rdi
callq 0x20b0
jmp 0x56bc
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
xorl %esi, %esi
callq 0x2310
jmp 0x57d8
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
cmpq %rax, %rdi
je 0x57b1
callq 0x21f0
movq -0x90(%rbp), %rdi
leaq -0x80(%rbp), %rax
cmpq %rax, %rdi
je 0x57c6
callq 0x21f0
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x57d8
callq 0x21f0
movq %rbx, %rdi
callq 0x2050
addq $0x228, %rsp            # imm = 0x228
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
leaq -0x240(%rbp), %rax
movq -0x10(%rax), %rdi
jmp 0x5874
jmp 0x5804
movq %rax, %r14
jmp 0x587e
movq %rax, %r14
leaq -0xd0(%rbp), %rdi
callq 0x4c04
jmp 0x5821
jmp 0x581e
jmp 0x5842
movq %rax, %r14
movq 0x3798(%rip), %rsi      # 0x8fc0
leaq -0x250(%rbp), %rdi
callq 0x22a0
leaq -0x1d8(%rbp), %rdi
callq 0x20b0
jmp 0x5845
movq %rax, %r14
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
cmpq %rax, %rdi
je 0x5857
callq 0x21f0
movq -0x90(%rbp), %rdi
leaq -0x80(%rbp), %rax
cmpq %rax, %rdi
je 0x586c
callq 0x21f0
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x587e
callq 0x21f0
movq -0x30(%rbp), %rdi
callq 0x4bd0
movq %rbx, %rdi
callq 0x2070
movq %r14, %rdi
callq 0x2340
nop