// File: /workspace/github_cpp_makefile_star2_O1/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 0x1948(%rip), %rdx      # 0x12b36
leaq 0x30(%rsp), %rdi
movq %rdx, %rsi
callq 0x6c2c
leaq 0x60(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x192b(%rip), %rdx      # 0x12b36
leaq 0x50(%rsp), %rdi
movq %rdx, %rsi
callq 0x6c2c
xorl %ebp, %ebp
leaq 0x70(%rsp), %r15
leaq 0x30(%rsp), %r12
leaq 0x8(%rsp), %rbx
xorl %r13d, %r13d
movq %r15, %rdi
movq %r12, %rsi
movl $0xa, %edx
callq 0x3410
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
je 0x11252
movb $0x1, %r13b
jmp 0x11381
movq %rbx, %rdi
leaq 0x1a04(%rip), %rsi      # 0x12c60
movq %r14, %rdx
callq 0x11536
movq 0x38(%rsp), %rdx
cmpq 0x10(%rsp), %rdx
jne 0x1128b
testq %rdx, %rdx
je 0x1128f
movq 0x8(%rsp), %rsi
movq 0x30(%rsp), %rdi
callq 0x3240
testl %eax, %eax
sete %bl
jmp 0x11291
xorl %ebx, %ebx
jmp 0x11291
movb $0x1, %bl
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x112ad
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3230
testb %bl, %bl
leaq 0x8(%rsp), %rbx
je 0x112ed
leaq 0x50(%rsp), %rbp
movq %rbp, %rdi
callq 0x32a0
movq 0x28(%rsp), %rdi
movq %rbp, %rsi
callq 0x9896
xorl %ebp, %ebp
movq 0x58(%rsp), %rdx
leaq 0x50(%rsp), %rdi
xorl %esi, %esi
leaq 0x1851(%rip), %rcx      # 0x12b36
xorl %r8d, %r8d
callq 0x3350
testb $0x1, %bpl
je 0x11351
leaq 0x18(%rsp), %rax
movq %rax, 0x8(%rsp)
movq 0x30(%rsp), %rsi
movq 0x38(%rsp), %rdx
addq %rsi, %rdx
movq %rbx, %rdi
callq 0x6b9c
movq %rbx, %rdi
leaq 0x1819(%rip), %rsi      # 0x12b35
callq 0x3420
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
leaq 0x50(%rsp), %rdi
callq 0x30c0
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x11351
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3230
movq 0x38(%rsp), %rdx
cmpq 0x8(%r14), %rdx
jne 0x11381
testq %rdx, %rdx
je 0x1137e
movq (%r14), %rsi
movq 0x30(%rsp), %rdi
callq 0x3240
testl %eax, %eax
movzbl %bpl, %ebp
movl $0x1, %eax
cmovel %eax, %ebp
jmp 0x11381
movb $0x1, %bpl
testb $0x1, %r13b
je 0x1122c
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x113a7
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x3230
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x113c3
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x3230
movq 0x6bde(%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 0x11450
movq %rax, %rbx
jmp 0x1146c
movq %rax, %rbx
jmp 0x1148a
jmp 0x1140c
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x11434
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3230
jmp 0x11434
jmp 0x11431
jmp 0x11431
movq %rax, %rbx
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x11450
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x3230
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x1146c
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x3230
movq 0x6b35(%rip), %rsi      # 0x17fa8
leaq 0x70(%rsp), %rdi
callq 0x31a0
leaq 0xf0(%rsp), %rdi
callq 0x30d0
movq 0x28(%rsp), %rdi
callq 0x9710
movq %rbx, %rdi
callq 0x33e0