// File: /workspace/github_cpp_makefile_star2_O3/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 $0x1f8, %rsp            # imm = 0x1F8
movq %rdx, %r14
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movq %rdi, 0x28(%rsp)
movq $0x0, 0x10(%rdi)
leaq 0x70(%rsp), %rdi
movl $0x18, %edx
callq 0x3370
leaq 0x40(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x1810(%rip), %rdx      # 0x12b36
leaq 0x30(%rsp), %rdi
movq %rdx, %rsi
callq 0x6cc8
leaq 0x60(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x17f3(%rip), %rdx      # 0x12b36
leaq 0x50(%rsp), %rdi
movq %rdx, %rsi
callq 0x6cc8
xorl %r12d, %r12d
leaq 0x8(%rsp), %rbp
leaq 0x50(%rsp), %rbx
leaq 0x70(%rsp), %rdi
leaq 0x30(%rsp), %rsi
movl $0xa, %edx
callq 0x3410
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0x114ba
movq %rbp, %rdi
leaq 0x18d3(%rip), %rsi      # 0x12c60
movq %r14, %rdx
callq 0x11666
movq 0x38(%rsp), %rdx
cmpq 0x10(%rsp), %rdx
jne 0x113c0
movq 0x8(%rsp), %r13
testq %rdx, %rdx
je 0x113ca
movq 0x30(%rsp), %rdi
movq %r13, %rsi
callq 0x3240
testl %eax, %eax
sete %r15b
jmp 0x113cd
movq 0x8(%rsp), %r13
xorl %r15d, %r15d
jmp 0x113cd
movb $0x1, %r15b
leaq 0x18(%rsp), %rax
cmpq %rax, %r13
je 0x113e7
movq 0x18(%rsp), %rsi
incq %rsi
movq %r13, %rdi
callq 0x3230
testb %r15b, %r15b
je 0x1141f
movq %rbx, %rdi
callq 0x32a0
movq 0x28(%rsp), %rdi
movq %rbx, %rsi
callq 0x9984
xorl %r12d, %r12d
movq 0x58(%rsp), %rdx
movq %rbx, %rdi
xorl %esi, %esi
leaq 0x1721(%rip), %rcx      # 0x12b36
xorl %r8d, %r8d
callq 0x3350
jmp 0x11489
testb $0x1, %r12b
je 0x11486
leaq 0x18(%rsp), %rax
movq %rax, 0x8(%rsp)
movq 0x30(%rsp), %rsi
movq 0x38(%rsp), %rdx
addq %rsi, %rdx
movq %rbp, %rdi
callq 0x6c32
movq %rbp, %rdi
leaq 0x16e7(%rip), %rsi      # 0x12b35
callq 0x3420
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %rbx, %rdi
callq 0x30c0
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x11481
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3230
movb $0x1, %r12b
jmp 0x11489
xorl %r12d, %r12d
movq 0x38(%rsp), %rdx
cmpq 0x8(%r14), %rdx
jne 0x1135d
testq %rdx, %rdx
je 0x114b2
movq (%r14), %rsi
movq 0x30(%rsp), %rdi
callq 0x3240
testl %eax, %eax
jne 0x1135d
movb $0x1, %r12b
jmp 0x1135d
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x114d6
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x3230
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x114f2
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x3230
movq 0x6aaf(%rip), %rsi      # 0x17fa8
leaq 0x70(%rsp), %rdi
callq 0x31a0
leaq 0xf0(%rsp), %rdi
callq 0x30d0
movq 0x28(%rsp), %rax
addq $0x1f8, %rsp            # imm = 0x1F8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
jmp 0x1157f
movq %rax, %rbx
jmp 0x1159b
movq %rax, %rbx
jmp 0x115b9
jmp 0x1153d
jmp 0x11560
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x11563
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3230
jmp 0x11563
jmp 0x11560
movq %rax, %rbx
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x1157f
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x3230
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x1159b
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x3230
movq 0x6a06(%rip), %rsi      # 0x17fa8
leaq 0x70(%rsp), %rdi
callq 0x31a0
leaq 0xf0(%rsp), %rdi
callq 0x30d0
movq 0x28(%rsp), %rdi
callq 0x97ee
movq %rbx, %rdi
callq 0x33e0
nop