// File: pc260533[P]ITC313-TP2/client.cpp
// Function: Client::deserialiserObjet(ObjetSerialized)
void Client::deserialiserObjet(ObjetSerialized objetSerialized) {
    objetSerialized.remplirMapNomAttributValeurAttribut();
    this->setIdentifiantClient(std::stoi(objetSerialized.getValeurAttribut(this->getMapAttributsNomAttributs().at("identifiantClient"))));
    this->setPrenomClient(objetSerialized.getValeurAttribut(this->getMapAttributsNomAttributs().at("prenomClient")));
    this->setNomClient(objetSerialized.getValeurAttribut(this->getMapAttributsNomAttributs().at("nomClient")));

    std::vector<std::string> listeNomProduitsSelectionnes;
    std::stringstream listeNomProduitsSelectionnesStringStream(objetSerialized.getValeurAttribut(this->getMapAttributsNomAttributs().at("listeNomProduitsSelectionnes")));
    std::string nomProduitSelectionne = "";
    while (std::getline(listeNomProduitsSelectionnesStringStream, nomProduitSelectionne, ',')) {
        listeNomProduitsSelectionnes.push_back(nomProduitSelectionne);
    }
    this->listeNomProduitsSelectionnes = listeNomProduitsSelectionnes;

    std::stringstream llisteQuantitesProduitsSelectionnesStringStream(objetSerialized.getValeurAttribut(this->getMapAttributsNomAttributs().at("listeQuantitesProduitsSelectionnes")));
    std::string quantiteProduitSelectionne = "";
    while (std::getline(llisteQuantitesProduitsSelectionnesStringStream, quantiteProduitSelectionne, ',')) {
        this->listeQuantitesProduitsSelectionnes.push_back(std::stoi(quantiteProduitSelectionne));
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x750, %rsp            # imm = 0x750
movq %rsi, -0x6b0(%rbp)
movq %rdi, %rax
movq -0x6b0(%rbp), %rdi
movq %rdi, -0x6a8(%rbp)
movq %rax, -0x8(%rbp)
movq %rdi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x6a0(%rbp)
callq 0x199e0
movq -0x6a0(%rbp), %rsi
leaq -0x80(%rbp), %rdi
callq 0x1b9b0
leaq -0xa1(%rbp), %rdi
movq %rdi, -0x698(%rbp)
callq 0x4510
movq -0x698(%rbp), %rdx
leaq 0x123ed(%rip), %rsi     # 0x1c759
leaq -0xa0(%rbp), %rdi
callq 0x7da0
jmp 0xa37a
leaq -0x80(%rbp), %rdi
leaq -0xa0(%rbp), %rsi
callq 0xbb00
movq %rax, -0x6b8(%rbp)
jmp 0xa393
movq -0x6b8(%rbp), %rsi
leaq -0x50(%rbp), %rdi
callq 0x4150
jmp 0xa3a5
movq -0x6a8(%rbp), %rsi
leaq -0x30(%rbp), %rdi
leaq -0x50(%rbp), %rdx
callq 0x19d70
jmp 0xa3bb
xorl %eax, %eax
movl %eax, %esi
leaq -0x30(%rbp), %rdi
movl $0xa, %edx
callq 0x7e80
movl %eax, -0x6bc(%rbp)
jmp 0xa3d5
movq -0x6a0(%rbp), %rdi
movl -0x6bc(%rbp), %esi
callq 0x8570
leaq -0x30(%rbp), %rdi
callq 0x4200
leaq -0x50(%rbp), %rdi
callq 0x4200
leaq -0xa0(%rbp), %rdi
callq 0x4200
leaq -0xa1(%rbp), %rdi
callq 0x4330
leaq -0x80(%rbp), %rdi
callq 0xbba0
movq -0x6a0(%rbp), %rsi
leaq -0x128(%rbp), %rdi
callq 0x1b9b0
leaq -0x149(%rbp), %rdi
movq %rdi, -0x6c8(%rbp)
callq 0x4510
movq -0x6c8(%rbp), %rdx
leaq 0x1231d(%rip), %rsi     # 0x1c76b
leaq -0x148(%rbp), %rdi
callq 0x7da0
jmp 0xa45c
leaq -0x128(%rbp), %rdi
leaq -0x148(%rbp), %rsi
callq 0xbb00
movq %rax, -0x6d0(%rbp)
jmp 0xa478
movq -0x6d0(%rbp), %rsi
leaq -0xf8(%rbp), %rdi
callq 0x4150
jmp 0xa48d
movq -0x6a8(%rbp), %rsi
leaq -0xd8(%rbp), %rdi
leaq -0xf8(%rbp), %rdx
callq 0x19d70
jmp 0xa4a9
movq -0x6a0(%rbp), %rdi
leaq -0xd8(%rbp), %rsi
callq 0x85c0
jmp 0xa4be
leaq -0xd8(%rbp), %rdi
callq 0x4200
leaq -0xf8(%rbp), %rdi
callq 0x4200
leaq -0x148(%rbp), %rdi
callq 0x4200
leaq -0x149(%rbp), %rdi
callq 0x4330
leaq -0x128(%rbp), %rdi
callq 0xbba0
movq -0x6a0(%rbp), %rsi
leaq -0x1c0(%rbp), %rdi
callq 0x1b9b0
leaq -0x1e1(%rbp), %rdi
movq %rdi, -0x6d8(%rbp)
callq 0x4510
movq -0x6d8(%rbp), %rdx
leaq 0x12240(%rip), %rsi     # 0x1c76e
leaq -0x1e0(%rbp), %rdi
callq 0x7da0
jmp 0xa53c
leaq -0x1c0(%rbp), %rdi
leaq -0x1e0(%rbp), %rsi
callq 0xbb00
movq %rax, -0x6e0(%rbp)
jmp 0xa558
movq -0x6e0(%rbp), %rsi
leaq -0x190(%rbp), %rdi
callq 0x4150
jmp 0xa56d
movq -0x6a8(%rbp), %rsi
leaq -0x170(%rbp), %rdi
leaq -0x190(%rbp), %rdx
callq 0x19d70
jmp 0xa589
movq -0x6a0(%rbp), %rdi
leaq -0x170(%rbp), %rsi
callq 0x8620
jmp 0xa59e
leaq -0x170(%rbp), %rdi
callq 0x4200
leaq -0x190(%rbp), %rdi
callq 0x4200
leaq -0x1e0(%rbp), %rdi
callq 0x4200
leaq -0x1e1(%rbp), %rdi
callq 0x4330
leaq -0x1c0(%rbp), %rdi
callq 0xbba0
leaq -0x200(%rbp), %rdi
callq 0xb070
movq -0x6a0(%rbp), %rsi
leaq -0x3f8(%rbp), %rdi
callq 0x1b9b0
jmp 0xa5fb
leaq -0x419(%rbp), %rdi
movq %rdi, -0x6e8(%rbp)
callq 0x4510
movq -0x6e8(%rbp), %rdx
leaq 0x1215c(%rip), %rsi     # 0x1c778
leaq -0x418(%rbp), %rdi
callq 0x7da0
jmp 0xa62a
leaq -0x3f8(%rbp), %rdi
leaq -0x418(%rbp), %rsi
callq 0xbb00
movq %rax, -0x6f0(%rbp)
jmp 0xa646
movq -0x6f0(%rbp), %rsi
leaq -0x3c8(%rbp), %rdi
callq 0x4150
jmp 0xa65b
movq -0x6a8(%rbp), %rsi
leaq -0x3a8(%rbp), %rdi
leaq -0x3c8(%rbp), %rdx
callq 0x19d70
jmp 0xa677
movl $0x10, %edi
movl $0x8, %esi
callq 0xbcc0
movl %eax, -0x6f4(%rbp)
jmp 0xa68e
movl -0x6f4(%rbp), %edx
leaq -0x388(%rbp), %rdi
leaq -0x3a8(%rbp), %rsi
callq 0x4470
jmp 0xa6a9
leaq -0x3a8(%rbp), %rdi
callq 0x4200
leaq -0x3c8(%rbp), %rdi
callq 0x4200
leaq -0x418(%rbp), %rdi
callq 0x4200
leaq -0x419(%rbp), %rdi
callq 0x4330
leaq -0x3f8(%rbp), %rdi
callq 0xbba0
leaq -0x441(%rbp), %rdi
movq %rdi, -0x700(%rbp)
callq 0x4510
movq -0x700(%rbp), %rdx
leaq 0x12430(%rip), %rsi     # 0x1cb36
leaq -0x440(%rbp), %rdi
callq 0x7da0
jmp 0xa714
leaq -0x441(%rbp), %rdi
callq 0x4330
leaq -0x388(%rbp), %rdi
leaq -0x440(%rbp), %rsi
movl $0x2c, %edx
callq 0x4550
movq %rax, -0x708(%rbp)
jmp 0xa741
movq -0x708(%rbp), %rdi
movq (%rdi), %rax
movq -0x18(%rax), %rax
addq %rax, %rdi
callq 0x43a0
movb %al, -0x709(%rbp)
jmp 0xa75f
movb -0x709(%rbp), %al
testb $0x1, %al
jne 0xa76e
jmp 0xaa09
leaq -0x200(%rbp), %rdi
leaq -0x440(%rbp), %rsi
callq 0xbce0
jmp 0xa783
jmp 0xa720
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xb0(%rbp)
movl %eax, -0xb4(%rbp)
jmp 0xa7f1
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xb0(%rbp)
movl %eax, -0xb4(%rbp)
jmp 0xa7e5
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xb0(%rbp)
movl %eax, -0xb4(%rbp)
jmp 0xa7dc
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xb0(%rbp)
movl %eax, -0xb4(%rbp)
leaq -0x30(%rbp), %rdi
callq 0x4200
leaq -0x50(%rbp), %rdi
callq 0x4200
leaq -0xa0(%rbp), %rdi
callq 0x4200
leaq -0xa1(%rbp), %rdi
callq 0x4330
leaq -0x80(%rbp), %rdi
callq 0xbba0
jmp 0xad48
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xb0(%rbp)
movl %eax, -0xb4(%rbp)
jmp 0xa87d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xb0(%rbp)
movl %eax, -0xb4(%rbp)
jmp 0xa871
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xb0(%rbp)
movl %eax, -0xb4(%rbp)
jmp 0xa865
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xb0(%rbp)
movl %eax, -0xb4(%rbp)
leaq -0xd8(%rbp), %rdi
callq 0x4200
leaq -0xf8(%rbp), %rdi
callq 0x4200
leaq -0x148(%rbp), %rdi
callq 0x4200
leaq -0x149(%rbp), %rdi
callq 0x4330
leaq -0x128(%rbp), %rdi
callq 0xbba0
jmp 0xad48
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xb0(%rbp)
movl %eax, -0xb4(%rbp)
jmp 0xa90c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xb0(%rbp)
movl %eax, -0xb4(%rbp)
jmp 0xa900
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xb0(%rbp)
movl %eax, -0xb4(%rbp)
jmp 0xa8f4
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xb0(%rbp)
movl %eax, -0xb4(%rbp)
leaq -0x170(%rbp), %rdi
callq 0x4200
leaq -0x190(%rbp), %rdi
callq 0x4200
leaq -0x1e0(%rbp), %rdi
callq 0x4200
leaq -0x1e1(%rbp), %rdi
callq 0x4330
leaq -0x1c0(%rbp), %rdi
callq 0xbba0
jmp 0xad48
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xb0(%rbp)
movl %eax, -0xb4(%rbp)
jmp 0xad3c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xb0(%rbp)
movl %eax, -0xb4(%rbp)
jmp 0xa9b2
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xb0(%rbp)
movl %eax, -0xb4(%rbp)
jmp 0xa9a6
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xb0(%rbp)
movl %eax, -0xb4(%rbp)
jmp 0xa99a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xb0(%rbp)
movl %eax, -0xb4(%rbp)
leaq -0x3a8(%rbp), %rdi
callq 0x4200
leaq -0x3c8(%rbp), %rdi
callq 0x4200
leaq -0x418(%rbp), %rdi
callq 0x4200
leaq -0x419(%rbp), %rdi
callq 0x4330
leaq -0x3f8(%rbp), %rdi
callq 0xbba0
jmp 0xad3c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xb0(%rbp)
movl %eax, -0xb4(%rbp)
leaq -0x441(%rbp), %rdi
callq 0x4330
jmp 0xad30
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xb0(%rbp)
movl %eax, -0xb4(%rbp)
jmp 0xad24
movq -0x6a0(%rbp), %rdi
addq $0xb0, %rdi
leaq -0x200(%rbp), %rsi
callq 0xbd50
jmp 0xaa25
movq -0x6a0(%rbp), %rsi
leaq -0x640(%rbp), %rdi
callq 0x1b9b0
jmp 0xaa3a
leaq -0x661(%rbp), %rdi
movq %rdi, -0x718(%rbp)
callq 0x4510
movq -0x718(%rbp), %rdx
leaq 0x11d54(%rip), %rsi     # 0x1c7af
leaq -0x660(%rbp), %rdi
callq 0x7da0
jmp 0xaa69
leaq -0x640(%rbp), %rdi
leaq -0x660(%rbp), %rsi
callq 0xbb00
movq %rax, -0x720(%rbp)
jmp 0xaa85
movq -0x720(%rbp), %rsi
leaq -0x610(%rbp), %rdi
callq 0x4150
jmp 0xaa9a
movq -0x6a8(%rbp), %rsi
leaq -0x5f0(%rbp), %rdi
leaq -0x610(%rbp), %rdx
callq 0x19d70
jmp 0xaab6
movl $0x10, %edi
movl $0x8, %esi
callq 0xbcc0
movl %eax, -0x724(%rbp)
jmp 0xaacd
movl -0x724(%rbp), %edx
leaq -0x5d0(%rbp), %rdi
leaq -0x5f0(%rbp), %rsi
callq 0x4470
jmp 0xaae8
leaq -0x5f0(%rbp), %rdi
callq 0x4200
leaq -0x610(%rbp), %rdi
callq 0x4200
leaq -0x660(%rbp), %rdi
callq 0x4200
leaq -0x661(%rbp), %rdi
callq 0x4330
leaq -0x640(%rbp), %rdi
callq 0xbba0
leaq -0x689(%rbp), %rdi
movq %rdi, -0x730(%rbp)
callq 0x4510
movq -0x730(%rbp), %rdx
leaq 0x11ff1(%rip), %rsi     # 0x1cb36
leaq -0x688(%rbp), %rdi
callq 0x7da0
jmp 0xab53
leaq -0x689(%rbp), %rdi
callq 0x4330
leaq -0x5d0(%rbp), %rdi
leaq -0x688(%rbp), %rsi
movl $0x2c, %edx
callq 0x4550
movq %rax, -0x738(%rbp)
jmp 0xab80
movq -0x738(%rbp), %rdi
movq (%rdi), %rax
movq -0x18(%rax), %rax
addq %rax, %rdi
callq 0x43a0
movb %al, -0x739(%rbp)
jmp 0xab9e
movb -0x739(%rbp), %al
testb $0x1, %al
jne 0xabad
jmp 0xacd3
movq -0x6a0(%rbp), %rax
addq $0x98, %rax
movq %rax, -0x748(%rbp)
xorl %eax, %eax
movl %eax, %esi
leaq -0x688(%rbp), %rdi
movl $0xa, %edx
callq 0x7e80
movl %eax, -0x740(%rbp)
jmp 0xabde
movq -0x748(%rbp), %rdi
movl -0x740(%rbp), %eax
movl %eax, -0x690(%rbp)
leaq -0x690(%rbp), %rsi
callq 0xb220
jmp 0xabff
jmp 0xab5f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xb0(%rbp)
movl %eax, -0xb4(%rbp)
jmp 0xac76
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xb0(%rbp)
movl %eax, -0xb4(%rbp)
jmp 0xac6a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xb0(%rbp)
movl %eax, -0xb4(%rbp)
jmp 0xac5e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xb0(%rbp)
movl %eax, -0xb4(%rbp)
leaq -0x5f0(%rbp), %rdi
callq 0x4200
leaq -0x610(%rbp), %rdi
callq 0x4200
leaq -0x660(%rbp), %rdi
callq 0x4200
leaq -0x661(%rbp), %rdi
callq 0x4330
leaq -0x640(%rbp), %rdi
callq 0xbba0
jmp 0xad24
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xb0(%rbp)
movl %eax, -0xb4(%rbp)
leaq -0x689(%rbp), %rdi
callq 0x4330
jmp 0xad18
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xb0(%rbp)
movl %eax, -0xb4(%rbp)
leaq -0x688(%rbp), %rdi
callq 0x4200
jmp 0xad18
leaq -0x688(%rbp), %rdi
callq 0x4200
leaq -0x5d0(%rbp), %rdi
callq 0x4260
leaq -0x440(%rbp), %rdi
callq 0x4200
leaq -0x388(%rbp), %rdi
callq 0x4260
leaq -0x200(%rbp), %rdi
callq 0xb090
addq $0x750, %rsp            # imm = 0x750
popq %rbp
retq
leaq -0x5d0(%rbp), %rdi
callq 0x4260
leaq -0x440(%rbp), %rdi
callq 0x4200
leaq -0x388(%rbp), %rdi
callq 0x4260
leaq -0x200(%rbp), %rdi
callq 0xb090
movq -0xb0(%rbp), %rdi
callq 0x4500
nopw %cs:(%rax,%rax)
nop