// File: /workspace/github_cpp_makefile_star2_O3/pc260533[P]ITC313-TP1/main.cpp
// Function: main
int main() {
    /* Partie 1 Question 1
    Date date(28, 2, 2019);
    Date dateBissextile(28, 2, 2020);
    std::cout << "La date est de : " << date.toString() << endl;
    std::cout << "La date bissextile est de : " << dateBissextile.toString() << endl;
    date.jourProchain();
    dateBissextile.jourProchain();
    std::cout << "La date est de : " << date.toString() << endl;
    std::cout << "La date bissextile est de : " << dateBissextile.toString() << endl;
    */

    /* Question 2
    Client client("1", "Chassagne", "Pierre-Nicolas", 0);
    std::cout << "La client est : " << client.toString() << endl;
    client.setNomClient("Polybe");
    client.setPrenomClient("Polybe");
    client.ajouterReservation();
    std::cout << "La client est : " << client.toString() << endl;
    */

    /* Question 3
    Chambre chambre(1,TypeDeChambre::Simple, 10.0);
    std::cout << "La chambre est : " << chambre.toString() << endl;
    */

    /* Question 4
    Chambre chambre1(1,TypeDeChambre::Simple, 10.0);
    std::cout << "La chambre est : " << chambre1.toString() << endl << endl;
    Chambre chambre2(2,TypeDeChambre::Double, 20.0);
    std::cout << "La chambre est : " << chambre2.toString() << endl << endl;
    std::vector<Chambre> listeChambre;
    listeChambre.push_back(chambre1);
    listeChambre.push_back(chambre2);
    Hotel hotel("HOTEL", "Nom", "Ville", listeChambre);
    std::cout << "L'hotel est : " << hotel.toString() << endl;
    */

    /* Question 5
    Date date1(2, 6, 2019);
    Date date2(3, 8, 2021);
    std::cout << date1.nombreDeJoursAvecCetteDate(date2) << endl;

    Chambre chambre1(1,TypeDeChambre::Simple, 10.0);
    std::cout << "La chambre est : " << chambre1.toString() << endl << endl;
    Chambre chambre2(2,TypeDeChambre::Double, 20.0);
    std::cout << "La chambre est : " << chambre2.toString() << endl << endl;

    std::vector<Chambre> listeChambre;
    listeChambre.push_back(chambre1);
    listeChambre.push_back(chambre2);
    Hotel hotel("HOTEL", "Nom", "Ville", listeChambre);
    std::cout << "L'hotel est : " << hotel.toString() << endl;

    Client client("1", "Chassagne", "Pierre-Nicolas", 0);

    Reservation reservation(0, hotel, chambre1, client);
    reservation.setPeriodeDeReservation(date1, date2);;
    std::cout <<  "La reservation est : " << reservation.toString() << endl;
    */

    /* Partie 2 Question 6 */
    std::vector<Chambre> listeChambres;
    for (int i = 0; i < 10; i++) {
        if (i < 3) {
            listeChambres.push_back(Chambre(i, TypeDeChambre::Simple, 100.0));
        }
        else if (i < 8) {
            listeChambres.push_back(Chambre(i, TypeDeChambre::Double, 125.0));
        }
        else {
            listeChambres.push_back(Chambre(i, TypeDeChambre::Suite, 210.0));
        }
    }
    Hotel hotel("HOTEL", "Nom", "Ville", listeChambres);
    std::cout << "L'hotel est : " << hotel.toString() << endl;

    std::vector<Client> listeClients;
    for (int i = 0; i < 10; i++) {
        listeClients.push_back(Client("Client" + std::to_string(i), "Client" + std::to_string(i), "Client" + std::to_string(i), 0));
    }
    for (Client client : listeClients) {
        std::cout << "Le client est : " << client.toString() << std::endl;
    }
    std::cout << std::endl;

    std::vector<Reservation> listeReservations;
    for(int i = 0; i < 1; i++) {
        Reservation reservation;

        /* Question 7 */
        bool quitDatesReservation = false;
        while (!quitDatesReservation) {
            int jourDebut;
            int jourFin;
            int moisDebut;
            int moisFin;
            int anneeDebut;
            int anneeFin;
            std::cout << "Entrer la date de debut et la date de fin de la reservation :" << std::endl;
            std::cout << "Jour de debut : ";
            cin >> jourDebut;
            std::cout << "Mois de debut : ";
            cin >> moisDebut;
            std::cout << "Annee de debut : ";
            cin >> anneeDebut;
            std::cout << "Jour de fin : ";
            cin >> jourFin;
            std::cout << "Mois de fin : ";
            cin >> moisFin;
            std::cout << "Annee de fin : ";
            cin >> anneeFin;
            Date dateDebut(jourDebut, moisDebut, anneeDebut);
            Date dateFin(jourFin, moisFin, anneeFin);
            if ((dateDebut.estValide()) && (dateFin.estValide()) && (reservation.setPeriodeDeReservation(dateDebut, dateFin))) {
                quitDatesReservation = true;
            }
            else {
                std::cout << "Erreur de saisie : Veuillez resaisir les dates." << std::endl;
            }
        }

        /* Question 8 */
        bool quitChambreReservation = false;
        while (!quitChambreReservation) {
            std::cout << "Entrer le type de chambre désirer :" << std::endl;
            int choixTypeDeChambre = 0;
            std::vector<std::string> listeTypesDeChambre = listeChambres.at(0).getListeTypesDeChambre();
            for (int i = 0; i < listeTypesDeChambre.size(); i++) {
                std::cout << "Taper " << std::to_string(i) << " pour " << listeTypesDeChambre.at(i) << std::endl;
            }
            cin >> choixTypeDeChambre;
            TypeDeChambre typeDeChambreChoisi = listeChambres.at(0).getTypeDeChambreAvecString(listeTypesDeChambre.at(choixTypeDeChambre));
            if (hotel.chambreDeCeTypeEstDisponible(typeDeChambreChoisi)) {
                quitChambreReservation = true;
                reservation.setChambreReservation(hotel.reservePremiereChambreDeCeType(typeDeChambreChoisi));
            }
            else {
                std::cout << "Ce type de chambre n'est pas disponible." << std::endl;
            }
        }

        /* Question 9 */
        bool quitClientReservation = false;
        while (!quitClientReservation) {
            std::string nomClientReservation = "";
            std::cout << "Entrer le nom du client :" << std::endl;
            cin >> nomClientReservation;
            std::vector<Client> listeClientsSelectionnes;
            int choixClient = 0;
            Client clientReservation;
            for (Client client : listeClients) {
                if (client.getNomClient() == nomClientReservation) {
                    listeClientsSelectionnes.push_back(client);
                }
            }
            if (listeClientsSelectionnes.size() != 0) {
                for (int i = 0; i < listeClientsSelectionnes.size(); i++) {
                    std::cout << "Taper " << std::to_string(i) << " pour le client" << listeClientsSelectionnes.at(i).toString() << std::endl;
                }
                cin >> choixClient;
                clientReservation = listeClientsSelectionnes.at(choixClient);
                std::cout << "Le client est : " << clientReservation.toString() << std::endl;
                reservation.setClientReservation(clientReservation);
                quitClientReservation = true;
            }
            else {
                std::cout << "Aucun client ne possede ce nom." << std::endl;
            }
        }
        /* Question 10 */
        reservation.setHotelReservation(hotel);
        reservation.calculMontantTotal();
        listeReservations.push_back(reservation);
    }

    /* Question 10 */
    for (Reservation reservation : listeReservations) {
        std::cout << "La reservation est : " << listeReservations.at(0).toString() << std::endl;
    }
    return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x548, %rsp            # imm = 0x548
xorps %xmm0, %xmm0
leaq 0x40(%rsp), %rbx
movaps %xmm0, (%rbx)
movq $0x0, 0x10(%rbx)
xorl %ebp, %ebp
leaq 0x320(%rsp), %r14
cmpl $0x2, %ebp
ja 0x251c
movq %r14, %rdi
movl %ebp, %esi
xorl %edx, %edx
movsd 0x7b1a(%rip), %xmm0     # 0xa018
callq 0x6b8e
movq 0x48(%rsp), %rsi
cmpq 0x50(%rsp), %rsi
jne 0x2574
movq %rbx, %rdi
movq %r14, %rdx
callq 0x4798
jmp 0x2591
cmpl $0x7, %ebp
ja 0x2551
movq %r14, %rdi
movl %ebp, %esi
movl $0x1, %edx
movsd 0x7add(%rip), %xmm0     # 0xa010
callq 0x6b8e
movq 0x48(%rsp), %rsi
cmpq 0x50(%rsp), %rsi
jne 0x2574
movq %rbx, %rdi
movq %r14, %rdx
callq 0x4798
jmp 0x2591
movq %r14, %rdi
movl %ebp, %esi
movl $0x2, %edx
movsd 0x7aa5(%rip), %xmm0     # 0xa008
callq 0x6b8e
movq 0x48(%rsp), %rsi
cmpq 0x50(%rsp), %rsi
je 0x259e
movq 0x330(%rsp), %rax
movq %rax, 0x10(%rsi)
movups 0x320(%rsp), %xmm0
movups %xmm0, (%rsi)
addq $0x18, 0x48(%rsp)
incl %ebp
cmpl $0xa, %ebp
jne 0x24ea
jmp 0x25ab
movq %rbx, %rdi
movq %r14, %rdx
callq 0x4798
jmp 0x2591
leaq 0x310(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x7a72(%rip), %rsi      # 0xa030
leaq 0x7a70(%rip), %rdx      # 0xa035
leaq 0x300(%rsp), %rdi
callq 0x492e
leaq 0x2f0(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x7a51(%rip), %rsi      # 0xa036
leaq 0x7a4d(%rip), %rdx      # 0xa039
leaq 0x2e0(%rsp), %rdi
callq 0x492e
leaq 0x2d0(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x7a2d(%rip), %rsi      # 0xa03a
leaq 0x7a2b(%rip), %rdx      # 0xa03f
leaq 0x2c0(%rsp), %rdi
callq 0x492e
leaq 0x2a8(%rsp), %rdi
leaq 0x40(%rsp), %rsi
callq 0x4120
leaq 0x458(%rsp), %rdi
leaq 0x300(%rsp), %rsi
leaq 0x2e0(%rsp), %rdx
leaq 0x2c0(%rsp), %rcx
leaq 0x2a8(%rsp), %r8
callq 0x7aa4
movq 0x2a8(%rsp), %rdi
testq %rdi, %rdi
je 0x267d
movq 0x2b8(%rsp), %rsi
subq %rdi, %rsi
callq 0x2150
movq 0x2c0(%rsp), %rdi
cmpq %r12, %rdi
je 0x269a
movq 0x2d0(%rsp), %rsi
incq %rsi
callq 0x2150
movq 0x2e0(%rsp), %rdi
cmpq %r15, %rdi
je 0x26b7
movq 0x2f0(%rsp), %rsi
incq %rsi
callq 0x2150
movq 0x300(%rsp), %rdi
cmpq %r14, %rdi
je 0x26d4
movq 0x310(%rsp), %rsi
incq %rsi
callq 0x2150
movq 0xb8f5(%rip), %rdi      # 0xdfd0
leaq 0x795e(%rip), %rsi      # 0xa040
movl $0xe, %edx
callq 0x2180
leaq 0x320(%rsp), %rdi
leaq 0x458(%rsp), %rsi
callq 0x7d46
movq 0x320(%rsp), %rsi
movq 0x328(%rsp), %rdx
movq 0xb8b8(%rip), %rdi      # 0xdfd0
callq 0x2180
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2130
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20e0
leaq 0x330(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2768
movq 0x330(%rsp), %rsi
incq %rsi
callq 0x2150
xorps %xmm0, %xmm0
leaq 0x1d0(%rsp), %rax
movaps %xmm0, (%rax)
movq $0x0, 0x10(%rax)
leaq 0x220(%rsp), %r12
xorl %r15d, %r15d
leaq 0xc8(%rsp), %rbx
leaq 0x60(%rsp), %rbp
leaq 0x20(%rsp), %r14
movq %r12, %r13
leaq 0xd8(%rsp), %rax
movq %rax, 0xc8(%rsp)
movl $0x1, %esi
movq %rbx, %rdi
movl $0x2d, %edx
callq 0x2190
movq 0xc8(%rsp), %rdi
movl $0x1, %esi
movl %r15d, %edx
callq 0x468a
movl $0x6, %r8d
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
leaq 0x7866(%rip), %rcx      # 0xa04f
callq 0x2170
leaq 0x1c0(%rsp), %rsi
movq %rsi, 0x1b0(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x2822
movq %rdx, 0x1b0(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x1c0(%rsp)
jmp 0x2828
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x1b8(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x70(%rsp), %rax
movq %rax, 0x60(%rsp)
movl $0x1, %esi
movq %rbp, %rdi
movl $0x2d, %edx
callq 0x2190
movq %r13, %r12
movq 0x60(%rsp), %rdi
movl $0x1, %esi
movl %r15d, %edx
callq 0x468a
movl $0x6, %r8d
movq %rbp, %rdi
xorl %esi, %esi
xorl %edx, %edx
leaq 0x77c7(%rip), %rcx      # 0xa04f
callq 0x2170
leaq 0x1a0(%rsp), %rsi
movq %rsi, 0x190(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x28c1
movq %rdx, 0x190(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x1a0(%rsp)
jmp 0x28c7
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x198(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x30(%rsp), %rax
movq %rax, 0x20(%rsp)
movl $0x1, %esi
movq %r14, %rdi
movl $0x2d, %edx
callq 0x2190
movq 0x20(%rsp), %rdi
movl $0x1, %esi
movl %r15d, %edx
callq 0x468a
movl $0x6, %r8d
movq %r14, %rdi
xorl %esi, %esi
xorl %edx, %edx
leaq 0x772b(%rip), %rcx      # 0xa04f
callq 0x2170
movq %r12, 0x210(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
leaq 0x320(%rsp), %rbx
je 0x295d
movq %rdx, 0x210(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x220(%rsp)
jmp 0x2965
movups (%rcx), %xmm0
movups %xmm0, (%r12)
movq 0x8(%rax), %rdx
movq %rdx, 0x218(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq %rbx, %rdi
leaq 0x1b0(%rsp), %rsi
leaq 0x190(%rsp), %rdx
leaq 0x210(%rsp), %rcx
xorl %r8d, %r8d
callq 0x6648
leaq 0x1d0(%rsp), %rdi
movq %rbx, %rsi
callq 0x4a34
movq 0x360(%rsp), %rdi
leaq 0x370(%rsp), %rax
cmpq %rax, %rdi
je 0x29d8
movq 0x370(%rsp), %rsi
incq %rsi
callq 0x2150
movq 0x340(%rsp), %rdi
leaq 0x350(%rsp), %rax
cmpq %rax, %rdi
je 0x29fd
movq 0x350(%rsp), %rsi
incq %rsi
callq 0x2150
movq 0x320(%rsp), %rdi
leaq 0x330(%rsp), %rax
cmpq %rax, %rdi
je 0x2a22
movq 0x330(%rsp), %rsi
incq %rsi
callq 0x2150
movq 0x210(%rsp), %rdi
cmpq %r12, %rdi
je 0x2a3f
movq 0x220(%rsp), %rsi
incq %rsi
callq 0x2150
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x2a5b
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x2150
movq 0x190(%rsp), %rdi
leaq 0x1a0(%rsp), %rax
cmpq %rax, %rdi
je 0x2a80
movq 0x1a0(%rsp), %rsi
incq %rsi
callq 0x2150
movq 0x60(%rsp), %rdi
leaq 0x70(%rsp), %rax
cmpq %rax, %rdi
je 0x2a9c
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x2150
movq 0x1b0(%rsp), %rdi
leaq 0x1c0(%rsp), %rax
cmpq %rax, %rdi
je 0x2ac1
movq 0x1c0(%rsp), %rsi
incq %rsi
callq 0x2150
movq 0xc8(%rsp), %rdi
leaq 0xd8(%rsp), %rax
cmpq %rax, %rdi
je 0x2ae6
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0x2150
incl %r15d
cmpl $0xa, %r15d
leaq 0xc8(%rsp), %rbx
jne 0x279b
movq 0x1d0(%rsp), %r14
movq 0x1d8(%rsp), %r13
cmpq %r13, %r14
je 0x2caa
leaq 0x320(%rsp), %r15
movq 0xb4ad(%rip), %r12      # 0xdfd0
leaq 0xc8(%rsp), %rbp
leaq 0x330(%rsp), %rax
movq %rax, 0x320(%rsp)
movq (%r14), %rsi
movq 0x8(%r14), %rdx
addq %rsi, %rdx
movq %r15, %rdi
callq 0x4702
leaq 0x350(%rsp), %rax
movq %rax, 0x340(%rsp)
movq 0x20(%r14), %rsi
movq 0x28(%r14), %rdx
addq %rsi, %rdx
leaq 0x340(%rsp), %rdi
callq 0x4702
leaq 0x370(%rsp), %rax
movq %rax, 0x360(%rsp)
movq 0x40(%r14), %rsi
movq 0x48(%r14), %rdx
addq %rsi, %rdx
leaq 0x360(%rsp), %rdi
callq 0x4702
movl 0x60(%r14), %eax
movl %eax, 0x380(%rsp)
movl $0x10, %edx
movq %r12, %rdi
leaq 0x749f(%rip), %rsi      # 0xa056
callq 0x2180
movq %rbp, %rdi
movq %r15, %rsi
callq 0x670a
movq 0xc8(%rsp), %rsi
movq 0xd0(%rsp), %rdx
movq %r12, %rdi
callq 0x2180
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2130
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20e0
movq 0xc8(%rsp), %rdi
leaq 0xd8(%rsp), %rax
cmpq %rax, %rdi
je 0x2c2e
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0x2150
movq 0x360(%rsp), %rdi
leaq 0x370(%rsp), %rax
cmpq %rax, %rdi
je 0x2c53
movq 0x370(%rsp), %rsi
incq %rsi
callq 0x2150
movq 0x340(%rsp), %rdi
leaq 0x350(%rsp), %rax
cmpq %rax, %rdi
je 0x2c78
movq 0x350(%rsp), %rsi
incq %rsi
callq 0x2150
movq 0x320(%rsp), %rdi
leaq 0x330(%rsp), %rax
cmpq %rax, %rdi
je 0x2c9d
movq 0x330(%rsp), %rsi
incq %rsi
callq 0x2150
addq $0x68, %r14
cmpq %r13, %r14
jne 0x2b2b
movq 0xb31f(%rip), %rdi      # 0xdfd0
movq (%rdi), %rax
addq -0x18(%rax), %rdi
movl $0xa, %esi
callq 0x2130
movsbl %al, %esi
movq 0xb304(%rip), %rbx      # 0xdfd0
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20e0
xorps %xmm0, %xmm0
movaps %xmm0, 0x170(%rsp)
movq $0x0, 0x180(%rsp)
leaq 0x320(%rsp), %rdi
callq 0x8850
movq 0xb2d9(%rip), %r12      # 0xdfe0
leaq 0x168(%rsp), %r14
leaq 0xc8(%rsp), %r15
leaq 0x60(%rsp), %r13
leaq 0x73e4(%rip), %rbp      # 0xa107
movl $0x3d, %edx
movq %rbx, %rdi
leaq 0x7335(%rip), %rsi      # 0xa067
callq 0x2180
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2130
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20e0
movl $0x10, %edx
movq %rbx, %rdi
leaq 0x7338(%rip), %rsi      # 0xa0a5
callq 0x2180
movq %r12, %rdi
leaq 0x20(%rsp), %rsi
callq 0x20d0
movl $0x10, %edx
movq %rbx, %rdi
leaq 0x7328(%rip), %rsi      # 0xa0b6
callq 0x2180
movq %r12, %rdi
leaq 0x130(%rsp), %rsi
callq 0x20d0
movl $0x11, %edx
movq %rbx, %rdi
leaq 0x7315(%rip), %rsi      # 0xa0c7
callq 0x2180
movq %r12, %rdi
leaq 0x16c(%rsp), %rsi
callq 0x20d0
movl $0xe, %edx
movq %rbx, %rdi
leaq 0x7303(%rip), %rsi      # 0xa0d9
callq 0x2180
movq %r12, %rdi
leaq 0x148(%rsp), %rsi
callq 0x20d0
movl $0xe, %edx
movq %rbx, %rdi
leaq 0x72ee(%rip), %rsi      # 0xa0e8
callq 0x2180
movq %r12, %rdi
leaq 0x1c(%rsp), %rsi
callq 0x20d0
movl $0xf, %edx
movq %rbx, %rdi
leaq 0x72dc(%rip), %rsi      # 0xa0f7
callq 0x2180
movq %r12, %rdi
movq %r14, %rsi
callq 0x20d0
movl 0x20(%rsp), %esi
movl 0x130(%rsp), %edx
movl 0x16c(%rsp), %ecx
movq %r15, %rdi
callq 0x5850
movl 0x148(%rsp), %esi
movl 0x1c(%rsp), %edx
movl 0x168(%rsp), %ecx
movq %r13, %rdi
callq 0x5850
movq %r15, %rdi
callq 0x59d6
testb %al, %al
je 0x2ea1
movq %r13, %rdi
callq 0x59d6
testb %al, %al
je 0x2ea1
movq 0xc8(%rsp), %rsi
movl 0xd0(%rsp), %edx
movq 0x60(%rsp), %rcx
movl 0x68(%rsp), %r8d
leaq 0x320(%rsp), %rdi
callq 0x8a20
testb %al, %al
jne 0x2edd
movl $0x2f, %edx
movq %rbx, %rdi
movq %rbp, %rsi
callq 0x2180
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2130
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20e0
jmp 0x2d23
leaq 0xc8(%rsp), %r13
leaq 0x7277(%rip), %r14      # 0xa163
movl $0xd1b71759, %r12d      # imm = 0xD1B71759
movl $0x24, %edx
movq %rbx, %rdi
leaq 0x7236(%rip), %rsi      # 0xa137
callq 0x2180
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2130
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20e0
movl $0x0, 0x20(%rsp)
movq 0x40(%rsp), %rsi
cmpq %rsi, 0x48(%rsp)
je 0x3bcb
leaq 0x60(%rsp), %rdi
callq 0x6b9e
movq 0x68(%rsp), %rax
cmpq 0x60(%rsp), %rax
je 0x30b5
xorl %r15d, %r15d
movl $0x6, %edx
movq %rbx, %rdi
leaq 0x71eb(%rip), %rsi      # 0xa15c
callq 0x2180
movl $0x1, %ebp
cmpq $0xa, %r15
jb 0x2fbe
movl $0x4, %ebp
movl %r15d, %eax
cmpl $0x63, %eax
jbe 0x2fb7
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x2fbc
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x2fbe
movl %eax, %ecx
imulq %r12, %rcx
shrq $0x2d, %rcx
addl $0x4, %ebp
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x2f89
addl $-0x3, %ebp
jmp 0x2fbe
addl $-0x2, %ebp
jmp 0x2fbe
decl %ebp
movl %ebp, %esi
leaq 0xd8(%rsp), %rax
movq %rax, 0xc8(%rsp)
movq %r13, %rdi
movl $0x2d, %edx
callq 0x2190
movq 0xc8(%rsp), %rdi
movl %ebp, %esi
movl %r15d, %edx
callq 0x468a
movq 0xc8(%rsp), %rsi
movq 0xd0(%rsp), %rdx
movq %rbx, %rdi
callq 0x2180
movq %rax, %rbp
movl $0x6, %edx
movq %rax, %rdi
movq %r14, %rsi
callq 0x2180
movq 0x60(%rsp), %rax
movq 0x68(%rsp), %rdx
subq %rax, %rdx
sarq $0x5, %rdx
cmpq %r15, %rdx
jbe 0x3ba9
movq %r15, %rcx
shlq $0x5, %rcx
movq (%rax,%rcx), %rsi
movq 0x8(%rax,%rcx), %rdx
movq %rbp, %rdi
callq 0x2180
movq %rax, %rbp
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbp, %rdi
movl $0xa, %esi
callq 0x2130
movsbl %al, %esi
movq %rbp, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20e0
movq 0xc8(%rsp), %rdi
leaq 0xd8(%rsp), %rax
cmpq %rax, %rdi
je 0x309b
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0x2150
incq %r15
movq 0x68(%rsp), %rax
subq 0x60(%rsp), %rax
sarq $0x5, %rax
cmpq %r15, %rax
ja 0x2f62
movq 0xaf24(%rip), %rdi      # 0xdfe0
leaq 0x20(%rsp), %rsi
callq 0x20d0
movq 0x40(%rsp), %r15
cmpq %r15, 0x48(%rsp)
je 0x3bdd
movslq 0x20(%rsp), %rsi
movq 0x60(%rsp), %rcx
movq 0x68(%rsp), %rdx
subq %rcx, %rdx
sarq $0x5, %rdx
cmpq %rsi, %rdx
jbe 0x3be1
shlq $0x5, %rsi
leaq 0x200(%rsp), %rax
movq %rax, 0x1f0(%rsp)
movq (%rcx,%rsi), %rax
movq 0x8(%rcx,%rsi), %rdx
addq %rax, %rdx
leaq 0x1f0(%rsp), %rdi
movq %rax, %rsi
callq 0x4702
movq %r15, %rdi
leaq 0x1f0(%rsp), %rsi
callq 0x6c98
movl %eax, %ebp
movq 0x1f0(%rsp), %rdi
leaq 0x200(%rsp), %rax
cmpq %rax, %rdi
je 0x315c
movq 0x200(%rsp), %rsi
incq %rsi
callq 0x2150
leaq 0x458(%rsp), %rdi
movl %ebp, %esi
callq 0x7bcc
testb %al, %al
jne 0x31b9
movl $0x28, %edx
movq %rbx, %rdi
leaq 0x6fec(%rip), %rsi      # 0xa16a
callq 0x2180
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2130
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20e0
leaq 0x60(%rsp), %rdi
callq 0x41fe
jmp 0x2ef2
leaq 0x440(%rsp), %rdi
leaq 0x458(%rsp), %rsi
movl %ebp, %edx
callq 0x7c38
movq 0x450(%rsp), %rax
movq %rax, 0x10(%rsp)
movups 0x440(%rsp), %xmm0
movups %xmm0, (%rsp)
leaq 0x320(%rsp), %rdi
callq 0x872e
leaq 0x60(%rsp), %rdi
callq 0x41fe
leaq 0x90(%rsp), %r14
leaq 0x20(%rsp), %rbp
movl $0xd1b71759, %r15d      # imm = 0xD1B71759
leaq 0x30(%rsp), %rax
movq %rax, 0x20(%rsp)
movq %rbp, %rdi
leaq 0x72d4(%rip), %rdx      # 0xa4fb
movq %rdx, %rsi
callq 0x492e
movl $0x19, %edx
movq %rbx, %rdi
leaq 0x6f55(%rip), %rsi      # 0xa193
callq 0x2180
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2130
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20e0
movq 0xad6f(%rip), %rdi      # 0xdfe0
movq %rbp, %rsi
callq 0x21a0
xorps %xmm0, %xmm0
movaps %xmm0, 0x130(%rsp)
movq $0x0, 0x140(%rsp)
movl $0x0, 0x1c(%rsp)
leaq 0xc8(%rsp), %rdi
callq 0x65a4
movq 0x1d0(%rsp), %r13
movq 0x1d8(%rsp), %rbp
cmpq %rbp, %r13
je 0x3429
leaq 0x70(%rsp), %rax
movq %rax, 0x60(%rsp)
movq (%r13), %rsi
movq 0x8(%r13), %rdx
addq %rsi, %rdx
leaq 0x60(%rsp), %rdi
callq 0x4702
movq %r14, 0x80(%rsp)
movq 0x20(%r13), %rsi
movq 0x28(%r13), %rdx
addq %rsi, %rdx
leaq 0x80(%rsp), %rdi
callq 0x4702
leaq 0xb0(%rsp), %rax
movq %rax, 0xa0(%rsp)
movq 0x40(%r13), %rsi
movq 0x48(%r13), %rdx
addq %rsi, %rdx
leaq 0xa0(%rsp), %rdi
callq 0x4702
movl 0x60(%r13), %eax
movl %eax, 0xc0(%rsp)
leaq 0x148(%rsp), %rdi
leaq 0x60(%rsp), %rsi
callq 0x6540
movq 0x150(%rsp), %rdx
cmpq 0x28(%rsp), %rdx
jne 0x3373
movq 0x148(%rsp), %r12
testq %rdx, %rdx
je 0x3380
movq 0x20(%rsp), %rsi
movq %r12, %rdi
callq 0x2160
testl %eax, %eax
sete %r14b
jmp 0x3383
movq 0x148(%rsp), %r12
xorl %r14d, %r14d
jmp 0x3383
movb $0x1, %r14b
leaq 0x158(%rsp), %rax
cmpq %rax, %r12
je 0x33a3
movq 0x158(%rsp), %rsi
incq %rsi
movq %r12, %rdi
callq 0x2150
testb %r14b, %r14b
je 0x33ba
leaq 0x130(%rsp), %rdi
leaq 0x60(%rsp), %rsi
callq 0x425c
movq 0xa0(%rsp), %rdi
leaq 0xb0(%rsp), %rax
cmpq %rax, %rdi
je 0x33df
movq 0xb0(%rsp), %rsi
incq %rsi
callq 0x2150
movq 0x80(%rsp), %rdi
leaq 0x90(%rsp), %r14
cmpq %r14, %rdi
je 0x3404
movq 0x90(%rsp), %rsi
incq %rsi
callq 0x2150
movq 0x60(%rsp), %rdi
leaq 0x70(%rsp), %rax
cmpq %rax, %rdi
je 0x3420
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x2150
addq $0x68, %r13
jmp 0x32b5
movq 0x130(%rsp), %rax
movq 0x138(%rsp), %rcx
movq %rax, 0x2a0(%rsp)
movq %rcx, 0x298(%rsp)
cmpq %rax, %rcx
je 0x3831
xorl %r12d, %r12d
leaq 0x20(%rsp), %rbp
movl $0x6, %edx
movq %rbx, %rdi
leaq 0x6cf3(%rip), %rsi      # 0xa15c
callq 0x2180
movl $0x1, %r13d
cmpq $0xa, %r12
jb 0x34bc
movl $0x4, %r13d
movl %r12d, %eax
cmpl $0x63, %eax
jbe 0x34b3
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x34b9
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x34bc
movl %eax, %ecx
imulq %r15, %rcx
shrq $0x2d, %rcx
addl $0x4, %r13d
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x3483
addl $-0x3, %r13d
jmp 0x34bc
addl $-0x2, %r13d
jmp 0x34bc
decl %r13d
movl %r13d, %esi
leaq 0x70(%rsp), %rax
movq %rax, 0x60(%rsp)
leaq 0x60(%rsp), %rdi
movl $0x2d, %edx
callq 0x2190
movq 0x60(%rsp), %rdi
movl %r13d, %esi
movl %r12d, %edx
callq 0x468a
movq 0x60(%rsp), %rsi
movq 0x68(%rsp), %rdx
movq %rbx, %rdi
callq 0x2180
movq %rax, %r13
movl $0xf, %edx
movq %rax, %rdi
leaq 0x6ca1(%rip), %rsi      # 0xa1ad
callq 0x2180
movq 0x130(%rsp), %rsi
movq 0x138(%rsp), %rdx
subq %rsi, %rdx
sarq $0x3, %rdx
movabsq $0x4ec4ec4ec4ec4ec5, %rax # imm = 0x4EC4EC4EC4EC4EC5
imulq %rax, %rdx
cmpq %r12, %rdx
jbe 0x3bba
imulq $0x68, %r12, %rax
addq %rax, %rsi
leaq 0x148(%rsp), %rdi
callq 0x670a
movq 0x148(%rsp), %rsi
movq 0x150(%rsp), %rdx
movq %r13, %rdi
callq 0x2180
movq %rax, %r13
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x2130
movsbl %al, %esi
movq %r13, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20e0
movq 0x148(%rsp), %rdi
leaq 0x158(%rsp), %rax
cmpq %rax, %rdi
je 0x35ba
movq 0x158(%rsp), %rsi
incq %rsi
callq 0x2150
movq 0x60(%rsp), %rdi
leaq 0x70(%rsp), %rax
cmpq %rax, %rdi
je 0x35d6
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x2150
movq 0x138(%rsp), %rax
subq 0x130(%rsp), %rax
incq %r12
sarq $0x3, %rax
movabsq $0x4ec4ec4ec4ec4ec5, %rcx # imm = 0x4EC4EC4EC4EC4EC5
imulq %rcx, %rax
cmpq %r12, %rax
ja 0x345a
movq 0xa9d5(%rip), %rdi      # 0xdfe0
leaq 0x1c(%rsp), %rsi
callq 0x20d0
movslq 0x1c(%rsp), %rsi
movq 0x130(%rsp), %r12
movq 0x138(%rsp), %rdx
subq %r12, %rdx
sarq $0x3, %rdx
movabsq $0x4ec4ec4ec4ec4ec5, %rax # imm = 0x4EC4EC4EC4EC4EC5
imulq %rax, %rdx
cmpq %rsi, %rdx
jbe 0x3bef
imulq $0x68, %rsi, %rax
addq %rax, %r12
leaq 0xc8(%rsp), %rdi
movq %r12, %rsi
callq 0x20c0
leaq 0x20(%r12), %rsi
leaq 0xe8(%rsp), %rdi
callq 0x20c0
leaq 0x40(%r12), %rsi
leaq 0x108(%rsp), %rdi
callq 0x20c0
movl 0x60(%r12), %eax
movl %eax, 0x128(%rsp)
movl $0x10, %edx
movq %rbx, %rdi
leaq 0x69b8(%rip), %rsi      # 0xa056
callq 0x2180
leaq 0x60(%rsp), %rdi
leaq 0xc8(%rsp), %rsi
callq 0x670a
movq 0x60(%rsp), %rsi
movq 0x68(%rsp), %rdx
movq %rbx, %rdi
callq 0x2180
movq %rax, %r12
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x2130
movsbl %al, %esi
movq %r12, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20e0
movq 0x60(%rsp), %rdi
leaq 0x70(%rsp), %rax
cmpq %rax, %rdi
je 0x370d
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x2150
leaq 0x240(%rsp), %rax
movq %rax, 0x230(%rsp)
movq 0xc8(%rsp), %rsi
movq 0xd0(%rsp), %rdx
addq %rsi, %rdx
leaq 0x230(%rsp), %rdi
callq 0x4702
leaq 0x260(%rsp), %rax
movq %rax, 0x250(%rsp)
movq 0xe8(%rsp), %rsi
movq 0xf0(%rsp), %rdx
addq %rsi, %rdx
leaq 0x250(%rsp), %rdi
callq 0x4702
leaq 0x280(%rsp), %rax
movq %rax, 0x270(%rsp)
movq 0x108(%rsp), %rsi
movq 0x110(%rsp), %rdx
addq %rsi, %rdx
leaq 0x270(%rsp), %rdi
callq 0x4702
movl 0x128(%rsp), %eax
movl %eax, 0x290(%rsp)
leaq 0x320(%rsp), %rdi
leaq 0x230(%rsp), %rsi
callq 0x8808
movq 0x270(%rsp), %rdi
leaq 0x280(%rsp), %rax
cmpq %rax, %rdi
je 0x37e5
movq 0x280(%rsp), %rsi
incq %rsi
callq 0x2150
movq 0x250(%rsp), %rdi
leaq 0x260(%rsp), %rax
cmpq %rax, %rdi
je 0x380a
movq 0x260(%rsp), %rsi
incq %rsi
callq 0x2150
movq 0x230(%rsp), %rdi
leaq 0x240(%rsp), %rax
cmpq %rax, %rdi
je 0x3871
movq 0x240(%rsp), %rsi
incq %rsi
callq 0x2150
jmp 0x3871
movl $0x1f, %edx
movq %rbx, %rdi
leaq 0x697d(%rip), %rsi      # 0xa1bd
callq 0x2180
leaq 0x20(%rsp), %rbp
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2130
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20e0
movq 0x108(%rsp), %rdi
leaq 0x118(%rsp), %rax
cmpq %rax, %rdi
je 0x3896
movq 0x118(%rsp), %rsi
incq %rsi
callq 0x2150
movq 0xe8(%rsp), %rdi
leaq 0xf8(%rsp), %rax
cmpq %rax, %rdi
je 0x38bb
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0x2150
movq 0xc8(%rsp), %rdi
leaq 0xd8(%rsp), %rax
cmpq %rax, %rdi
je 0x38e0
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0x2150
leaq 0x130(%rsp), %rdi
callq 0x4286
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x3909
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x2150
movq 0x298(%rsp), %rax
cmpq 0x2a0(%rsp), %rax
je 0x3213
leaq 0x4d0(%rsp), %rdi
leaq 0x458(%rsp), %rsi
callq 0x42b6
leaq 0x320(%rsp), %rdi
leaq 0x4d0(%rsp), %rsi
callq 0x86cc
movq 0x530(%rsp), %rdi
testq %rdi, %rdi
je 0x3966
movq 0x540(%rsp), %rsi
subq %rdi, %rsi
callq 0x2150
leaq 0x520(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3987
movq 0x520(%rsp), %rsi
incq %rsi
callq 0x2150
leaq 0x500(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x39a8
movq 0x500(%rsp), %rsi
incq %rsi
callq 0x2150
leaq 0x4e0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x39c9
movq 0x4e0(%rsp), %rsi
incq %rsi
callq 0x2150
leaq 0x320(%rsp), %rdi
callq 0x8664
leaq 0x170(%rsp), %rdi
leaq 0x320(%rsp), %rsi
callq 0x43f8
leaq 0x320(%rsp), %rdi
callq 0x4428
movq 0x170(%rsp), %rbx
movq 0x178(%rsp), %r12
cmpq %r12, %rbx
je 0x3ae4
leaq 0x320(%rsp), %r14
movq 0xa5b0(%rip), %r15      # 0xdfd0
leaq 0xc8(%rsp), %r13
movq %r14, %rdi
movq %rbx, %rsi
callq 0x44ec
movl $0x15, %edx
movq %r15, %rdi
leaq 0x679b(%rip), %rsi      # 0xa1dd
callq 0x2180
movq 0x170(%rsp), %rsi
cmpq %rsi, 0x178(%rsp)
je 0x3bfd
movq %r13, %rdi
callq 0x8aaa
movq 0xc8(%rsp), %rsi
movq 0xd0(%rsp), %rdx
movq %r15, %rdi
callq 0x2180
movq %rax, %rbp
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbp, %rdi
movl $0xa, %esi
callq 0x2130
movsbl %al, %esi
movq %rbp, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20e0
movq 0xc8(%rsp), %rdi
leaq 0xd8(%rsp), %rax
cmpq %rax, %rdi
je 0x3acc
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0x2150
movq %r14, %rdi
callq 0x4428
addq $0x120, %rbx            # imm = 0x120
cmpq %r12, %rbx
jne 0x3a28
leaq 0x170(%rsp), %rdi
callq 0x4640
leaq 0x1d0(%rsp), %rdi
callq 0x4286
movq 0x4b8(%rsp), %rdi
testq %rdi, %rdi
je 0x3b1b
movq 0x4c8(%rsp), %rsi
subq %rdi, %rsi
callq 0x2150
leaq 0x4a8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3b3c
movq 0x4a8(%rsp), %rsi
incq %rsi
callq 0x2150
leaq 0x488(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3b5d
movq 0x488(%rsp), %rsi
incq %rsi
callq 0x2150
leaq 0x468(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3b7e
movq 0x468(%rsp), %rsi
incq %rsi
callq 0x2150
movq 0x40(%rsp), %rdi
testq %rdi, %rdi
je 0x3b95
movq 0x50(%rsp), %rsi
subq %rdi, %rsi
callq 0x2150
xorl %eax, %eax
addq $0x548, %rsp            # imm = 0x548
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x6687(%rip), %rdi      # 0xa237
movq %r15, %rsi
xorl %eax, %eax
callq 0x21c0
leaq 0x6676(%rip), %rdi      # 0xa237
movq %r12, %rsi
xorl %eax, %eax
callq 0x21c0
leaq 0x6665(%rip), %rdi      # 0xa237
xorl %esi, %esi
xorl %edx, %edx
xorl %eax, %eax
callq 0x21c0
xorl %esi, %esi
xorl %edx, %edx
leaq 0x664f(%rip), %rdi      # 0xa237
xorl %eax, %eax
callq 0x21c0
leaq 0x6641(%rip), %rdi      # 0xa237
xorl %eax, %eax
callq 0x21c0
leaq 0x6633(%rip), %rdi      # 0xa237
xorl %esi, %esi
xorl %edx, %edx
xorl %eax, %eax
callq 0x21c0
movq %rax, %rbx
leaq 0x4d0(%rsp), %rdi
callq 0x4394
jmp 0x40cc
jmp 0x3d0d
jmp 0x3c2b
movq %rax, %rbx
jmp 0x40f3
movq %rax, %rbx
movq 0x2a8(%rsp), %rdi
testq %rdi, %rdi
je 0x3c58
movq 0x2b8(%rsp), %rsi
subq %rdi, %rsi
callq 0x2150
jmp 0x3c58
movq %rax, %rbx
movq 0x2c0(%rsp), %rdi
cmpq %r12, %rdi
je 0x3c7a
movq 0x2d0(%rsp), %rsi
incq %rsi
callq 0x2150
jmp 0x3c7a
movq %rax, %rbx
movq 0x2e0(%rsp), %rdi
cmpq %r15, %rdi
je 0x3c9c
movq 0x2f0(%rsp), %rsi
incq %rsi
callq 0x2150
jmp 0x3c9c
movq %rax, %rbx
movq 0x300(%rsp), %rdi
cmpq %r14, %rdi
je 0x4100
movq 0x310(%rsp), %rsi
incq %rsi
callq 0x2150
jmp 0x4100
jmp 0x3df3
jmp 0x4007
jmp 0x4016
jmp 0x3e40
movq %rax, %rbx
leaq 0x330(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x40f3
movq 0x330(%rsp), %rsi
incq %rsi
callq 0x2150
jmp 0x40f3
jmp 0x3df3
jmp 0x3df3
movq %rax, %rbx
jmp 0x40d9
jmp 0x4016
jmp 0x4016
jmp 0x4016
jmp 0x3ff9
jmp 0x3ff9
movq %rax, %rbx
jmp 0x3d5b
movq %rax, %rbx
movq 0x250(%rsp), %rdi
leaq 0x260(%rsp), %rax
cmpq %rax, %rdi
je 0x3d5b
movq 0x260(%rsp), %rsi
incq %rsi
callq 0x2150
movq 0x230(%rsp), %rdi
leaq 0x240(%rsp), %rax
cmpq %rax, %rdi
je 0x4062
movq 0x240(%rsp), %rsi
jmp 0x405a
movq %rax, %rbx
leaq 0x230(%rsp), %rdi
jmp 0x3ff2
jmp 0x3e40
movq %rax, %rbx
jmp 0x3dc3
movq %rax, %rbx
movq 0x340(%rsp), %rdi
leaq 0x350(%rsp), %rax
cmpq %rax, %rdi
je 0x3dc3
movq 0x350(%rsp), %rsi
incq %rsi
callq 0x2150
movq 0x320(%rsp), %rdi
leaq 0x330(%rsp), %rax
cmpq %rax, %rdi
je 0x40e6
movq 0x330(%rsp), %rsi
jmp 0x3f3c
jmp 0x3deb
movq %rax, %rbx
jmp 0x3fa4
movq %rax, %rbx
jmp 0x4100
jmp 0x4016
movq %rax, %rbx
jmp 0x406f
jmp 0x4007
movq %rax, %rbx
movq 0x1f0(%rsp), %rdi
leaq 0x200(%rsp), %rax
cmpq %rax, %rdi
je 0x40c2
movq 0x200(%rsp), %rsi
jmp 0x40ba
jmp 0x4016
jmp 0x4016
movq %rax, %rbx
jmp 0x40e6
movq %rax, %rbx
jmp 0x3f1b
movq %rax, %rbx
jmp 0x3ef6
movq %rax, %rbx
jmp 0x3eda
movq %rax, %rbx
jmp 0x3eb5
movq %rax, %rbx
jmp 0x3e99
movq %rax, %rbx
leaq 0x320(%rsp), %rdi
callq 0x41b0
jmp 0x3e7c
movq %rax, %rbx
movq 0x210(%rsp), %rdi
cmpq %r13, %rdi
je 0x3e99
movq 0x220(%rsp), %rsi
incq %rsi
callq 0x2150
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x3eb5
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x2150
movq 0x190(%rsp), %rdi
leaq 0x1a0(%rsp), %rax
cmpq %rax, %rdi
je 0x3eda
movq 0x1a0(%rsp), %rsi
incq %rsi
callq 0x2150
movq 0x60(%rsp), %rdi
leaq 0x70(%rsp), %rax
cmpq %rax, %rdi
je 0x3ef6
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x2150
movq 0x1b0(%rsp), %rdi
leaq 0x1c0(%rsp), %rax
cmpq %rax, %rdi
je 0x3f1b
movq 0x1c0(%rsp), %rsi
incq %rsi
callq 0x2150
movq 0xc8(%rsp), %rdi
leaq 0xd8(%rsp), %rax
cmpq %rax, %rdi
je 0x40e6
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0x2150
jmp 0x40e6
jmp 0x4007
movq %rax, %rbx
movq 0xc8(%rsp), %rdi
leaq 0xd8(%rsp), %rax
cmpq %rax, %rdi
je 0x40cc
movq 0xd8(%rsp), %rsi
jmp 0x4090
jmp 0x4011
movq %rax, %rbx
movq 0xc8(%rsp), %rdi
leaq 0xd8(%rsp), %rax
cmpq %rax, %rdi
je 0x3fa4
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0x2150
leaq 0x320(%rsp), %rdi
callq 0x41b0
jmp 0x40e6
jmp 0x4016
jmp 0x4016
movq %rax, %rbx
jmp 0x407c
jmp 0x3ff9
jmp 0x4007
jmp 0x3fea
jmp 0x4011
jmp 0x4011
jmp 0x3ff9
jmp 0x3ff9
movq %rax, %rbx
movq 0x80(%rsp), %rdi
cmpq %r14, %rdi
je 0x4046
movq 0x90(%rsp), %rsi
jmp 0x403e
movq %rax, %rbx
leaq 0x60(%rsp), %rdi
callq 0x41b0
jmp 0x4062
movq %rax, %rbx
jmp 0x4062
jmp 0x4011
jmp 0x4007
jmp 0x409a
movq %rax, %rbx
jmp 0x40c2
jmp 0x4016
movq %rax, %rbx
jmp 0x4046
movq %rax, %rbx
jmp 0x40cc
movq %rax, %rbx
movq 0x148(%rsp), %rdi
leaq 0x158(%rsp), %rax
cmpq %rax, %rdi
je 0x4046
movq 0x158(%rsp), %rsi
incq %rsi
callq 0x2150
movq 0x60(%rsp), %rdi
leaq 0x70(%rsp), %rax
cmpq %rax, %rdi
je 0x4062
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x2150
leaq 0xc8(%rsp), %rdi
callq 0x41b0
leaq 0x130(%rsp), %rdi
callq 0x4286
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x40cc
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x2150
jmp 0x40cc
movq %rax, %rbx
movq 0xc8(%rsp), %rdi
leaq 0xd8(%rsp), %rax
cmpq %rax, %rdi
je 0x40c2
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0x2150
leaq 0x60(%rsp), %rdi
callq 0x41fe
leaq 0x320(%rsp), %rdi
callq 0x4428
leaq 0x170(%rsp), %rdi
callq 0x4640
leaq 0x1d0(%rsp), %rdi
callq 0x4286
leaq 0x458(%rsp), %rdi
callq 0x4394
movq 0x40(%rsp), %rdi
testq %rdi, %rdi
je 0x4117
movq 0x50(%rsp), %rsi
subq %rdi, %rsi
callq 0x2150
movq %rbx, %rdi
callq 0x2220
nop