// File: pc260533[P]ITC313-TP2/magasin.cpp
// Function: Magasin::serializerObjet[abi:cxx11]()
std::string Magasin::serializerObjet() {
    std::string res = "";
    for (Produit *produit : this->listeProduits) {
        res += "produit\n" + produit->serializerObjet() + "_produit\n";
    }
    for (Client *client : this->listeClients) {
        res += "client\n" + client->serializerObjet() + "_client\n";
    }
    for (Commande *commande : this->listeCommandes) {
        res += "commande\n" + commande->serializerObjet() + "_commande\n";
    }
    return res;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x1d0, %rsp            # imm = 0x1D0
movq %rdi, -0x1b8(%rbp)
movq %rdi, %rax
movq %rax, -0x1c8(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x1c0(%rbp)
movb $0x0, -0x11(%rbp)
leaq -0x12(%rbp), %rdi
movq %rdi, -0x1b0(%rbp)
callq 0x4510
movq -0x1b8(%rbp), %rdi
movq -0x1b0(%rbp), %rdx
leaq 0x64de(%rip), %rsi      # 0x1cb36
callq 0x7da0
jmp 0x1665f
leaq -0x12(%rbp), %rdi
callq 0x4330
movq -0x1c0(%rbp), %rax
addq $0x38, %rax
movq %rax, -0x30(%rbp)
movq -0x30(%rbp), %rdi
callq 0xb450
movq %rax, -0x38(%rbp)
movq -0x30(%rbp), %rdi
callq 0xbbc0
movq %rax, -0x40(%rbp)
leaq -0x38(%rbp), %rdi
leaq -0x40(%rbp), %rsi
callq 0xbbf0
testb $0x1, %al
jne 0x166a7
jmp 0x167bc
leaq -0x38(%rbp), %rdi
callq 0xbc30
movq (%rax), %rax
movq %rax, -0x48(%rbp)
movq -0x48(%rbp), %rsi
movq (%rsi), %rax
movq 0x18(%rax), %rax
leaq -0xa8(%rbp), %rdi
callq *%rax
jmp 0x166cd
leaq 0x6446(%rip), %rsi      # 0x1cb1a
leaq -0x88(%rbp), %rdi
leaq -0xa8(%rbp), %rdx
callq 0xb990
jmp 0x166e9
leaq 0x6429(%rip), %rdx      # 0x1cb19
leaq -0x68(%rbp), %rdi
leaq -0x88(%rbp), %rsi
callq 0xb940
jmp 0x16702
movq -0x1b8(%rbp), %rdi
leaq -0x68(%rbp), %rsi
callq 0x43c0
jmp 0x16714
leaq -0x68(%rbp), %rdi
callq 0x4200
leaq -0x88(%rbp), %rdi
callq 0x4200
leaq -0xa8(%rbp), %rdi
callq 0x4200
leaq -0x38(%rbp), %rdi
callq 0xbc50
jmp 0x16691
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x20(%rbp)
movl %eax, -0x24(%rbp)
leaq -0x12(%rbp), %rdi
callq 0x4330
jmp 0x16a97
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x20(%rbp)
movl %eax, -0x24(%rbp)
jmp 0x16a8b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x20(%rbp)
movl %eax, -0x24(%rbp)
jmp 0x167ab
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x20(%rbp)
movl %eax, -0x24(%rbp)
jmp 0x1679f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x20(%rbp)
movl %eax, -0x24(%rbp)
leaq -0x68(%rbp), %rdi
callq 0x4200
leaq -0x88(%rbp), %rdi
callq 0x4200
leaq -0xa8(%rbp), %rdi
callq 0x4200
jmp 0x16a8b
movq -0x1c0(%rbp), %rax
addq $0x50, %rax
movq %rax, -0xb0(%rbp)
movq -0xb0(%rbp), %rdi
callq 0x17180
movq %rax, -0xb8(%rbp)
movq -0xb0(%rbp), %rdi
callq 0x171b0
movq %rax, -0xc0(%rbp)
leaq -0xb8(%rbp), %rdi
leaq -0xc0(%rbp), %rsi
callq 0x171e0
testb $0x1, %al
jne 0x16810
jmp 0x16912
leaq -0xb8(%rbp), %rdi
callq 0x17220
movq (%rax), %rax
movq %rax, -0xc8(%rbp)
movq -0xc8(%rbp), %rsi
movq (%rsi), %rax
movq 0x18(%rax), %rax
leaq -0x128(%rbp), %rdi
callq *%rax
jmp 0x1683f
leaq 0x62de(%rip), %rsi      # 0x1cb24
leaq -0x108(%rbp), %rdi
leaq -0x128(%rbp), %rdx
callq 0xb990
jmp 0x1685b
leaq 0x62c1(%rip), %rdx      # 0x1cb23
leaq -0xe8(%rbp), %rdi
leaq -0x108(%rbp), %rsi
callq 0xb940
jmp 0x16877
movq -0x1b8(%rbp), %rdi
leaq -0xe8(%rbp), %rsi
callq 0x43c0
jmp 0x1688c
leaq -0xe8(%rbp), %rdi
callq 0x4200
leaq -0x108(%rbp), %rdi
callq 0x4200
leaq -0x128(%rbp), %rdi
callq 0x4200
leaq -0xb8(%rbp), %rdi
callq 0x17240
jmp 0x167f4
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x20(%rbp)
movl %eax, -0x24(%rbp)
jmp 0x16901
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x20(%rbp)
movl %eax, -0x24(%rbp)
jmp 0x168f5
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x20(%rbp)
movl %eax, -0x24(%rbp)
leaq -0xe8(%rbp), %rdi
callq 0x4200
leaq -0x108(%rbp), %rdi
callq 0x4200
leaq -0x128(%rbp), %rdi
callq 0x4200
jmp 0x16a8b
movq -0x1c0(%rbp), %rax
addq $0x68, %rax
movq %rax, -0x130(%rbp)
movq -0x130(%rbp), %rdi
callq 0x17260
movq %rax, -0x138(%rbp)
movq -0x130(%rbp), %rdi
callq 0x17290
movq %rax, -0x140(%rbp)
leaq -0x138(%rbp), %rdi
leaq -0x140(%rbp), %rsi
callq 0x172c0
testb $0x1, %al
jne 0x16966
jmp 0x16a65
leaq -0x138(%rbp), %rdi
callq 0x17300
movq (%rax), %rax
movq %rax, -0x148(%rbp)
movq -0x148(%rbp), %rsi
movq (%rsi), %rax
movq 0x18(%rax), %rax
leaq -0x1a8(%rbp), %rdi
callq *%rax
jmp 0x16995
leaq 0x6191(%rip), %rsi      # 0x1cb2d
leaq -0x188(%rbp), %rdi
leaq -0x1a8(%rbp), %rdx
callq 0xb990
jmp 0x169b1
leaq 0x6174(%rip), %rdx      # 0x1cb2c
leaq -0x168(%rbp), %rdi
leaq -0x188(%rbp), %rsi
callq 0xb940
jmp 0x169cd
movq -0x1b8(%rbp), %rdi
leaq -0x168(%rbp), %rsi
callq 0x43c0
jmp 0x169e2
leaq -0x168(%rbp), %rdi
callq 0x4200
leaq -0x188(%rbp), %rdi
callq 0x4200
leaq -0x1a8(%rbp), %rdi
callq 0x4200
leaq -0x138(%rbp), %rdi
callq 0x17320
jmp 0x1694a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x20(%rbp)
movl %eax, -0x24(%rbp)
jmp 0x16a57
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x20(%rbp)
movl %eax, -0x24(%rbp)
jmp 0x16a4b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x20(%rbp)
movl %eax, -0x24(%rbp)
leaq -0x168(%rbp), %rdi
callq 0x4200
leaq -0x188(%rbp), %rdi
callq 0x4200
leaq -0x1a8(%rbp), %rdi
callq 0x4200
jmp 0x16a8b
movb $0x1, -0x11(%rbp)
testb $0x1, -0x11(%rbp)
jne 0x16a7b
movq -0x1b8(%rbp), %rdi
callq 0x4200
movq -0x1c8(%rbp), %rax
addq $0x1d0, %rsp            # imm = 0x1D0
popq %rbp
retq
movq -0x1b8(%rbp), %rdi
callq 0x4200
movq -0x20(%rbp), %rdi
callq 0x4500