// File: /workspace/github_cpp_makefile_star2_O2/pc260533[P]ITC313-TP2/objetserialized.cpp
// Function: ObjetSerialized::getObjetStringEncapsule(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
std::vector<std::string> ObjetSerialized::getObjetStringEncapsule(std::string nomEncapsulation) {
    std::vector<std::string> listeObjetsStringEncapsule;
    std::stringstream objetStringStream(objetString);
    std::string objetStringLigne = "";
    bool quit = false;
    bool objetDuBonType = false;
    std::string sousObjetString = "";
    while (!quit) {
        if (!std::getline(objetStringStream, objetStringLigne, '\n')) {
            quit = true;
        }
        else {
            if (objetStringLigne == "_" + nomEncapsulation) {
                objetDuBonType = false;
                sousObjetString.pop_back();
                listeObjetsStringEncapsule.push_back(sousObjetString);
                sousObjetString = "";
            }
            if (objetDuBonType) {
                sousObjetString += objetStringLigne + "\n";
            }
            if (objetStringLigne == nomEncapsulation) {
                objetDuBonType = true;
            }

        }
    }
    return listeObjetsStringEncapsule;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x208, %rsp            # imm = 0x208
movq %rdx, 0x18(%rsp)
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movq %rdi, 0x10(%rsp)
andq $0x0, 0x10(%rdi)
leaq 0x80(%rsp), %rdi
pushq $0x18
popq %rdx
callq 0x3320
leaq 0x187d(%rip), %rsi      # 0xdb36
leaq 0x60(%rsp), %rdi
leaq 0x20(%rsp), %rdx
callq 0x52be
leaq 0x1867(%rip), %rsi      # 0xdb36
leaq 0x20(%rsp), %rdi
leaq 0x40(%rsp), %rdx
callq 0x52be
xorl %ebx, %ebx
leaq 0x80(%rsp), %r15
leaq 0x60(%rsp), %r12
pushq $0xa
popq %rbp
leaq 0x1956(%rip), %r13      # 0xdc4d
movl $0x0, 0xc(%rsp)
testb $0x1, %bl
jne 0xc3dc
movq %r15, %rdi
movq %r12, %rsi
movl %ebp, %edx
callq 0x33d0
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
setne %bl
jne 0xc2ff
leaq 0x40(%rsp), %r14
movq %r14, %rdi
movq %r13, %rsi
movq 0x18(%rsp), %rdx
callq 0xc4d9
movq %r12, %rdi
movq %r14, %rsi
callq 0x6e84
movl %eax, %r13d
movq %r14, %rdi
callq 0x3110
testb %r13b, %r13b
je 0xc381
leaq 0x20(%rsp), %r14
movq %r14, %rdi
callq 0x3260
movq 0x10(%rsp), %rdi
movq %r14, %rsi
callq 0x7140
movq %r14, %rdi
leaq 0x17bc(%rip), %rsi      # 0xdb36
callq 0x33f0
jmp 0xc3b9
testb $0x1, 0xc(%rsp)
je 0xc3b9
leaq 0x40(%rsp), %r14
movq %r14, %rdi
movq %r12, %rsi
leaq 0x179b(%rip), %rdx      # 0xdb35
callq 0x5346
leaq 0x20(%rsp), %rdi
movq %r14, %rsi
callq 0x3410
movq %r14, %rdi
callq 0x3110
movb $0x1, %r13b
jmp 0xc3bc
xorl %r13d, %r13d
movq %r12, %rdi
movq 0x18(%rsp), %rsi
callq 0x6e84
orb %r13b, %al
movl %eax, 0xc(%rsp)
leaq 0x1876(%rip), %r13      # 0xdc4d
jmp 0xc2ff
leaq 0x20(%rsp), %rdi
callq 0x3110
leaq 0x60(%rsp), %rdi
callq 0x3110
leaq 0x80(%rsp), %rdi
callq 0x31b0
movq 0x10(%rsp), %rax
addq $0x208, %rsp            # imm = 0x208
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
leaq 0x40(%rsp), %rdi
callq 0x3110
jmp 0xc43b
jmp 0xc438
jmp 0xc438
jmp 0xc438
movq %rax, %r14
jmp 0xc445
movq %rax, %r14
jmp 0xc44f
movq %rax, %r14
jmp 0xc45c
movq %rax, %r14
leaq 0x20(%rsp), %rdi
callq 0x3110
leaq 0x60(%rsp), %rdi
callq 0x3110
leaq 0x80(%rsp), %rdi
callq 0x31b0
movq 0x10(%rsp), %rdi
callq 0x6df8
movq %r14, %rdi
callq 0x33a0