// File: /workspace/github_cpp_makefile_star2_O1/AlexTheMagnus[P]Project_Hex/src/infraestructure/fileReaderMapper.cc
// Function: NativeFileReaderMapper::mapFileToApps(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
std::vector<App> mapFileToApps(string infoFilePath) {
        vector<App> apps;
        ifstream fileInfo = openFile(infoFilePath);
        string settingfileName, newIconName;

        while (getline(fileInfo, settingfileName, ',')) {
            getline(fileInfo, newIconName, '\n');

            App *auxiliaryApp = new App;
            auxiliaryApp->setSettingFileName(settingfileName);
            auxiliaryApp->setNewIconName(newIconName);

            apps.push_back(*auxiliaryApp);
        }

        return apps;
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x2b8, %rsp            # imm = 0x2B8
movq %rsi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movq %rdi, -0x30(%rbp)
movq $0x0, 0x10(%rdi)
leaq -0xc0(%rbp), %r14
movq %r14, -0x10(%r14)
movq (%rdx), %rsi
movq 0x8(%rdx), %rdx
addq %rsi, %rdx
leaq -0xd0(%rbp), %rdi
callq 0x4142
leaq -0x2d8(%rbp), %rdi
leaq -0xd0(%rbp), %rdx
movq %rbx, %rsi
callq 0x3074
movq -0xd0(%rbp), %rdi
cmpq %r14, %rdi
je 0x2b77
movq -0xc0(%rbp), %rsi
incq %rsi
callq 0x21a0
leaq -0x60(%rbp), %rax
movq %rax, -0x10(%rax)
xorl %r15d, %r15d
movq %r15, -0x8(%rax)
movb %r15b, (%rax)
leaq -0x40(%rbp), %rax
movq %rax, -0x10(%rax)
movq %r15, -0x8(%rax)
movb %r15b, (%rax)
leaq -0x2d8(%rbp), %r14
leaq -0xb0(%rbp), %r13
leaq -0x90(%rbp), %rbx
movq %r14, %rdi
leaq -0x70(%rbp), %rsi
movl $0x2c, %edx
callq 0x2290
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0x2cbc
movq %r14, %rdi
leaq -0x50(%rbp), %rsi
movl $0xa, %edx
callq 0x2290
movl $0x40, %edi
callq 0x2190
movq %rax, %r12
addq $0x10, %rax
movq %rax, (%r12)
movq %r15, 0x8(%r12)
movb %r15b, 0x10(%r12)
leaq 0x30(%r12), %rax
movq %rax, 0x20(%r12)
movq %r15, 0x28(%r12)
movb %r15b, 0x30(%r12)
leaq -0xa0(%rbp), %rax
movq %rax, -0xb0(%rbp)
movq -0x70(%rbp), %rsi
movq -0x68(%rbp), %rdx
addq %rsi, %rdx
movq %r13, %rdi
callq 0x4142
movq %r12, %rdi
movq %r13, %rsi
callq 0x20f0
movq -0xb0(%rbp), %rdi
leaq -0xa0(%rbp), %rax
cmpq %rax, %rdi
je 0x2c62
movq -0xa0(%rbp), %rsi
incq %rsi
callq 0x21a0
leaq -0x80(%rbp), %rax
movq %rax, -0x90(%rbp)
movq -0x50(%rbp), %rsi
movq -0x48(%rbp), %rdx
addq %rsi, %rdx
movq %rbx, %rdi
callq 0x4142
movq %r12, %rdi
addq $0x20, %rdi
movq %rbx, %rsi
callq 0x20f0
movq -0x90(%rbp), %rdi
leaq -0x80(%rbp), %rax
cmpq %rax, %rdi
je 0x2cab
movq -0x80(%rbp), %rsi
incq %rsi
callq 0x21a0
movq -0x30(%rbp), %rdi
movq %r12, %rsi
callq 0x30ca
jmp 0x2bad
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x2cd5
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x21a0
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
cmpq %rax, %rdi
je 0x2cee
movq -0x60(%rbp), %rsi
incq %rsi
callq 0x21a0
leaq -0x2d8(%rbp), %rdi
callq 0x2060
movq -0x30(%rbp), %rax
addq $0x2b8, %rsp            # imm = 0x2B8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq -0xd0(%rbp), %rdi
cmpq %r14, %rdi
je 0x2dc2
movq -0xc0(%rbp), %rsi
incq %rsi
callq 0x21a0
jmp 0x2dc2
movq %rax, %rbx
jmp 0x2dc2
movq %rax, %rbx
movq -0x90(%rbp), %rdi
leaq -0x80(%rbp), %rax
cmpq %rax, %rdi
je 0x2d84
movq -0x80(%rbp), %rsi
jmp 0x2d75
movq %rax, %rbx
movq -0xb0(%rbp), %rdi
leaq -0xa0(%rbp), %rax
cmpq %rax, %rdi
je 0x2d84
movq -0xa0(%rbp), %rsi
incq %rsi
callq 0x21a0
jmp 0x2d84
jmp 0x2d81
movq %rax, %rbx
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x2d9d
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x21a0
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
cmpq %rax, %rdi
je 0x2db6
movq -0x60(%rbp), %rsi
incq %rsi
callq 0x21a0
leaq -0x2d8(%rbp), %rdi
callq 0x2060
movq -0x30(%rbp), %rdi
callq 0x3036
movq %rbx, %rdi
callq 0x2260
nop