// File: /workspace/github_cpp_makefile_star2_O1/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 0x6ad6
movq 0x48(%rsp), %rsi
cmpq 0x50(%rsp), %rsi
jne 0x2574
movq %rbx, %rdi
movq %r14, %rdx
callq 0x4834
jmp 0x2591
cmpl $0x7, %ebp
ja 0x2551
movq %r14, %rdi
movl %ebp, %esi
movl $0x1, %edx
movsd 0x7add(%rip), %xmm0     # 0xa010
callq 0x6ad6
movq 0x48(%rsp), %rsi
cmpq 0x50(%rsp), %rsi
jne 0x2574
movq %rbx, %rdi
movq %r14, %rdx
callq 0x4834
jmp 0x2591
movq %r14, %rdi
movl %ebp, %esi
movl $0x2, %edx
movsd 0x7aa5(%rip), %xmm0     # 0xa008
callq 0x6ad6
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 0x4834
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 0x49ca
leaq 0x2f0(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x7a51(%rip), %rsi      # 0xa036
leaq 0x7a4d(%rip), %rdx      # 0xa039
leaq 0x2e0(%rsp), %rdi
callq 0x49ca
leaq 0x2d0(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x7a2d(%rip), %rsi      # 0xa03a
leaq 0x7a2b(%rip), %rdx      # 0xa03f
leaq 0x2c0(%rsp), %rdi
callq 0x49ca
leaq 0x2a8(%rsp), %rdi
leaq 0x40(%rsp), %rsi
callq 0x41ca
leaq 0x458(%rsp), %rdi
leaq 0x300(%rsp), %rsi
leaq 0x2e0(%rsp), %rdx
leaq 0x2c0(%rsp), %rcx
leaq 0x2a8(%rsp), %r8
callq 0x79ec
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 0x7c9c
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 0x1e0(%rsp), %rax
movaps %xmm0, (%rax)
movq $0x0, 0x10(%rax)
leaq 0x230(%rsp), %r12
xorl %r15d, %r15d
leaq 0xe8(%rsp), %rbx
leaq 0x80(%rsp), %rbp
leaq 0x20(%rsp), %r14
movq %r12, %r13
leaq 0xf8(%rsp), %rax
movq %rax, 0xe8(%rsp)
movl $0x1, %esi
movq %rbx, %rdi
movl $0x2d, %edx
callq 0x2190
movq 0xe8(%rsp), %rdi
movl $0x1, %esi
movl %r15d, %edx
callq 0x472c
movl $0x6, %r8d
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
leaq 0x7863(%rip), %rcx      # 0xa04f
callq 0x2170
leaq 0x1d0(%rsp), %rsi
movq %rsi, 0x1c0(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x2825
movq %rdx, 0x1c0(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x1d0(%rsp)
jmp 0x282b
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x1c8(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x90(%rsp), %rax
movq %rax, 0x80(%rsp)
movl $0x1, %esi
movq %rbp, %rdi
movl $0x2d, %edx
callq 0x2190
movq %r13, %r12
movq 0x80(%rsp), %rdi
movl $0x1, %esi
movl %r15d, %edx
callq 0x472c
movl $0x6, %r8d
movq %rbp, %rdi
xorl %esi, %esi
xorl %edx, %edx
leaq 0x77bb(%rip), %rcx      # 0xa04f
callq 0x2170
leaq 0x1b0(%rsp), %rsi
movq %rsi, 0x1a0(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x28cd
movq %rdx, 0x1a0(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x1b0(%rsp)
jmp 0x28d3
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x1a8(%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 0x472c
movl $0x6, %r8d
movq %r14, %rdi
xorl %esi, %esi
xorl %edx, %edx
leaq 0x771f(%rip), %rcx      # 0xa04f
callq 0x2170
movq %r12, 0x220(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
leaq 0x320(%rsp), %rbx
je 0x2969
movq %rdx, 0x220(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x230(%rsp)
jmp 0x2971
movups (%rcx), %xmm0
movups %xmm0, (%r12)
movq 0x8(%rax), %rdx
movq %rdx, 0x228(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq %rbx, %rdi
leaq 0x1c0(%rsp), %rsi
leaq 0x1a0(%rsp), %rdx
leaq 0x220(%rsp), %rcx
xorl %r8d, %r8d
callq 0x658c
leaq 0x1e0(%rsp), %rdi
movq %rbx, %rsi
callq 0x4aca
movq 0x360(%rsp), %rdi
leaq 0x370(%rsp), %rax
cmpq %rax, %rdi
je 0x29e4
movq 0x370(%rsp), %rsi
incq %rsi
callq 0x2150
movq 0x340(%rsp), %rdi
leaq 0x350(%rsp), %rax
cmpq %rax, %rdi
je 0x2a09
movq 0x350(%rsp), %rsi
incq %rsi
callq 0x2150
movq 0x320(%rsp), %rdi
leaq 0x330(%rsp), %rax
cmpq %rax, %rdi
je 0x2a2e
movq 0x330(%rsp), %rsi
incq %rsi
callq 0x2150
movq 0x220(%rsp), %rdi
cmpq %r12, %rdi
je 0x2a4b
movq 0x230(%rsp), %rsi
incq %rsi
callq 0x2150
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x2a67
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x2150
movq 0x1a0(%rsp), %rdi
leaq 0x1b0(%rsp), %rax
cmpq %rax, %rdi
je 0x2a8c
movq 0x1b0(%rsp), %rsi
incq %rsi
callq 0x2150
movq 0x80(%rsp), %rdi
leaq 0x90(%rsp), %rax
cmpq %rax, %rdi
je 0x2ab1
movq 0x90(%rsp), %rsi
incq %rsi
callq 0x2150
movq 0x1c0(%rsp), %rdi
leaq 0x1d0(%rsp), %rax
cmpq %rax, %rdi
je 0x2ad6
movq 0x1d0(%rsp), %rsi
incq %rsi
callq 0x2150
movq 0xe8(%rsp), %rdi
leaq 0xf8(%rsp), %rax
cmpq %rax, %rdi
je 0x2afb
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0x2150
incl %r15d
cmpl $0xa, %r15d
leaq 0xe8(%rsp), %rbx
jne 0x279e
movq 0x1e0(%rsp), %r14
movq 0x1e8(%rsp), %r13
cmpq %r13, %r14
je 0x2cbf
leaq 0x320(%rsp), %r15
movq 0xb498(%rip), %r12      # 0xdfd0
leaq 0xe8(%rsp), %rbp
leaq 0x330(%rsp), %rax
movq %rax, 0x320(%rsp)
movq (%r14), %rsi
movq 0x8(%r14), %rdx
addq %rsi, %rdx
movq %r15, %rdi
callq 0x47a4
leaq 0x350(%rsp), %rax
movq %rax, 0x340(%rsp)
movq 0x20(%r14), %rsi
movq 0x28(%r14), %rdx
addq %rsi, %rdx
leaq 0x340(%rsp), %rdi
callq 0x47a4
leaq 0x370(%rsp), %rax
movq %rax, 0x360(%rsp)
movq 0x40(%r14), %rsi
movq 0x48(%r14), %rdx
addq %rsi, %rdx
leaq 0x360(%rsp), %rdi
callq 0x47a4
movl 0x60(%r14), %eax
movl %eax, 0x380(%rsp)
movl $0x10, %edx
movq %r12, %rdi
leaq 0x748a(%rip), %rsi      # 0xa056
callq 0x2180
movq %rbp, %rdi
movq %r15, %rsi
callq 0x664e
movq 0xe8(%rsp), %rsi
movq 0xf0(%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 0xe8(%rsp), %rdi
leaq 0xf8(%rsp), %rax
cmpq %rax, %rdi
je 0x2c43
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0x2150
movq 0x360(%rsp), %rdi
leaq 0x370(%rsp), %rax
cmpq %rax, %rdi
je 0x2c68
movq 0x370(%rsp), %rsi
incq %rsi
callq 0x2150
movq 0x340(%rsp), %rdi
leaq 0x350(%rsp), %rax
cmpq %rax, %rdi
je 0x2c8d
movq 0x350(%rsp), %rsi
incq %rsi
callq 0x2150
movq 0x320(%rsp), %rdi
leaq 0x330(%rsp), %rax
cmpq %rax, %rdi
je 0x2cb2
movq 0x330(%rsp), %rsi
incq %rsi
callq 0x2150
addq $0x68, %r14
cmpq %r13, %r14
jne 0x2b40
movq 0xb30a(%rip), %rdi      # 0xdfd0
movq (%rdi), %rax
addq -0x18(%rax), %rdi
movl $0xa, %esi
callq 0x2130
movsbl %al, %esi
movq 0xb2ef(%rip), %rbx      # 0xdfd0
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20e0
xorps %xmm0, %xmm0
movaps %xmm0, 0x180(%rsp)
movq $0x0, 0x190(%rsp)
leaq 0x320(%rsp), %rdi
callq 0x87a0
xorl %ebp, %ebp
movq 0xb2c2(%rip), %r12      # 0xdfe0
leaq 0x178(%rsp), %r14
leaq 0xe8(%rsp), %r15
leaq 0x80(%rsp), %r13
movl $0x3d, %edx
movq %rbx, %rdi
leaq 0x7322(%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 0x7325(%rip), %rsi      # 0xa0a5
callq 0x2180
movq %r12, %rdi
leaq 0x20(%rsp), %rsi
callq 0x20d0
movl $0x10, %edx
movq %rbx, %rdi
leaq 0x7315(%rip), %rsi      # 0xa0b6
callq 0x2180
movq %r12, %rdi
leaq 0x60(%rsp), %rsi
callq 0x20d0
movl $0x11, %edx
movq %rbx, %rdi
leaq 0x7305(%rip), %rsi      # 0xa0c7
callq 0x2180
movq %r12, %rdi
leaq 0x17c(%rsp), %rsi
callq 0x20d0
movl $0xe, %edx
movq %rbx, %rdi
leaq 0x72f3(%rip), %rsi      # 0xa0d9
callq 0x2180
movq %r12, %rdi
leaq 0x158(%rsp), %rsi
callq 0x20d0
movl $0xe, %edx
movq %rbx, %rdi
leaq 0x72de(%rip), %rsi      # 0xa0e8
callq 0x2180
movq %r12, %rdi
leaq 0x1c(%rsp), %rsi
callq 0x20d0
movl $0xf, %edx
movq %rbx, %rdi
leaq 0x72cc(%rip), %rsi      # 0xa0f7
callq 0x2180
movq %r12, %rdi
movq %r14, %rsi
callq 0x20d0
movl 0x20(%rsp), %esi
movl 0x60(%rsp), %edx
movl 0x17c(%rsp), %ecx
movq %r15, %rdi
callq 0x5914
movl 0x158(%rsp), %esi
movl 0x1c(%rsp), %edx
movl 0x178(%rsp), %ecx
movq %r13, %rdi
callq 0x5914
movq %r15, %rdi
callq 0x5aaa
testb %al, %al
je 0x2eb6
movq %r13, %rdi
callq 0x5aaa
testb %al, %al
je 0x2eb6
movq 0xe8(%rsp), %rsi
movl 0xf0(%rsp), %edx
movq 0x80(%rsp), %rcx
movl 0x88(%rsp), %r8d
leaq 0x320(%rsp), %rdi
callq 0x8970
movb $0x1, %cl
testb %al, %al
jne 0x2ef3
movl $0x2f, %edx
movq %rbx, %rdi
leaq 0x7242(%rip), %rsi      # 0xa107
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 %ebp, %ecx
movl %ecx, %ebp
testb $0x1, %cl
je 0x2d36
movq $0x0, 0x150(%rsp)
leaq 0xe8(%rsp), %r13
leaq 0x724a(%rip), %r14      # 0xa163
movl $0xd1b71759, %r12d      # imm = 0xD1B71759
movl $0x24, %edx
movq %rbx, %rdi
leaq 0x7209(%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
movq 0x48(%rsp), %rax
subq %rsi, %rax
je 0x3c33
leaq 0x80(%rsp), %rdi
callq 0x6ae6
movq 0x88(%rsp), %rax
cmpq 0x80(%rsp), %rax
je 0x30fa
xorl %r15d, %r15d
movl $0x6, %edx
movq %rbx, %rdi
leaq 0x71b2(%rip), %rsi      # 0xa15c
callq 0x2180
movl $0x1, %ebp
cmpq $0xa, %r15
jb 0x2ff7
movl $0x4, %ebp
movl %r15d, %eax
cmpl $0x63, %eax
jbe 0x2ff0
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x2ff5
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x2ff7
movl %eax, %ecx
imulq %r12, %rcx
shrq $0x2d, %rcx
addl $0x4, %ebp
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x2fc2
addl $-0x3, %ebp
jmp 0x2ff7
addl $-0x2, %ebp
jmp 0x2ff7
decl %ebp
movl %ebp, %esi
leaq 0xf8(%rsp), %rax
movq %rax, 0xe8(%rsp)
movq %r13, %rdi
movl $0x2d, %edx
callq 0x2190
movq 0xe8(%rsp), %rdi
movl %ebp, %esi
movl %r15d, %edx
callq 0x472c
movq 0xe8(%rsp), %rsi
movq 0xf0(%rsp), %rdx
movq %rbx, %rdi
callq 0x2180
movq %rax, %rbp
movl $0x6, %edx
movq %rax, %rdi
movq %r14, %rsi
callq 0x2180
movq 0x80(%rsp), %rax
movq 0x88(%rsp), %rdx
subq %rax, %rdx
sarq $0x5, %rdx
cmpq %r15, %rdx
jbe 0x3c11
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 0xe8(%rsp), %rdi
leaq 0xf8(%rsp), %rax
cmpq %rax, %rdi
je 0x30da
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0x2150
incq %r15
movq 0x88(%rsp), %rax
subq 0x80(%rsp), %rax
sarq $0x5, %rax
cmpq %r15, %rax
ja 0x2f9b
movq 0xaedf(%rip), %rdi      # 0xdfe0
leaq 0x20(%rsp), %rsi
callq 0x20d0
movq 0x40(%rsp), %r15
movq 0x48(%rsp), %rax
subq %r15, %rax
je 0x3c55
movslq 0x20(%rsp), %rsi
movq 0x80(%rsp), %rcx
movq 0x88(%rsp), %rdx
subq %rcx, %rdx
sarq $0x5, %rdx
cmpq %rsi, %rdx
jbe 0x3c69
shlq $0x5, %rsi
leaq 0x210(%rsp), %rax
movq %rax, 0x200(%rsp)
movq (%rcx,%rsi), %rax
movq 0x8(%rcx,%rsi), %rdx
addq %rax, %rdx
leaq 0x200(%rsp), %rdi
movq %rax, %rsi
callq 0x47a4
movq %r15, %rdi
leaq 0x200(%rsp), %rsi
callq 0x6be0
movl %eax, %ebp
movq 0x200(%rsp), %rdi
leaq 0x210(%rsp), %rax
cmpq %rax, %rdi
je 0x31aa
movq 0x210(%rsp), %rsi
incq %rsi
callq 0x2150
leaq 0x458(%rsp), %rdi
movl %ebp, %esi
callq 0x7b14
testb %al, %al
je 0x3206
leaq 0x440(%rsp), %rdi
leaq 0x458(%rsp), %rsi
movl %ebp, %edx
callq 0x7b8c
movb $0x1, %al
movq %rax, 0x150(%rsp)
movq 0x450(%rsp), %rax
movq %rax, 0x10(%rsp)
movups 0x440(%rsp), %xmm0
movups %xmm0, (%rsp)
leaq 0x320(%rsp), %rdi
callq 0x867e
jmp 0x3241
movl $0x28, %edx
movq %rbx, %rdi
leaq 0x6f55(%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 0x80(%rsp), %rdi
callq 0x42a8
testb $0x1, 0x150(%rsp)
je 0x2f1f
leaq 0xb0(%rsp), %r12
xorl %r13d, %r13d
leaq 0x20(%rsp), %r14
leaq 0x80(%rsp), %rbp
movl $0xd1b71759, %r15d      # imm = 0xD1B71759
leaq 0x30(%rsp), %rax
movq %rax, 0x20(%rsp)
movq %r14, %rdi
leaq 0x71c5(%rip), %rdx      # 0xa453
movq %rdx, %rsi
callq 0x49ca
movl $0x19, %edx
movq %rbx, %rdi
leaq 0x6eee(%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 0xad08(%rip), %rdi      # 0xdfe0
movq %r14, %rsi
callq 0x21a0
movq %r13, 0x150(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0x60(%rsp)
movq $0x0, 0x70(%rsp)
movl $0x0, 0x1c(%rsp)
leaq 0xe8(%rsp), %rdi
callq 0x64e8
movq 0x1e0(%rsp), %r13
movq 0x1e8(%rsp), %r14
cmpq %r14, %r13
je 0x3492
leaq 0x90(%rsp), %rax
movq %rax, 0x80(%rsp)
movq (%r13), %rsi
movq 0x8(%r13), %rdx
addq %rsi, %rdx
movq %rbp, %rdi
callq 0x47a4
movq %r12, 0xa0(%rsp)
movq 0x20(%r13), %rsi
movq 0x28(%r13), %rdx
addq %rsi, %rdx
leaq 0xa0(%rsp), %rdi
callq 0x47a4
leaq 0xd0(%rsp), %rax
movq %rax, 0xc0(%rsp)
movq 0x40(%r13), %rsi
movq 0x48(%r13), %rdx
addq %rsi, %rdx
leaq 0xc0(%rsp), %rdi
callq 0x47a4
movl 0x60(%r13), %eax
movl %eax, 0xe0(%rsp)
leaq 0x158(%rsp), %rdi
movq %rbp, %rsi
callq 0x6484
movq 0x160(%rsp), %rdx
cmpq 0x28(%rsp), %rdx
jne 0x33db
testq %rdx, %rdx
je 0x33e0
movq 0x20(%rsp), %rsi
movq 0x158(%rsp), %rdi
callq 0x2160
testl %eax, %eax
sete %r12b
jmp 0x33e3
xorl %r12d, %r12d
jmp 0x33e3
movb $0x1, %r12b
movq 0x158(%rsp), %rdi
leaq 0x168(%rsp), %rax
cmpq %rax, %rdi
je 0x3408
movq 0x168(%rsp), %rsi
incq %rsi
callq 0x2150
testb %r12b, %r12b
je 0x341a
leaq 0x60(%rsp), %rdi
movq %rbp, %rsi
callq 0x4304
movq 0xc0(%rsp), %rdi
leaq 0xd0(%rsp), %rax
cmpq %rax, %rdi
je 0x343f
movq 0xd0(%rsp), %rsi
incq %rsi
callq 0x2150
movq 0xa0(%rsp), %rdi
leaq 0xb0(%rsp), %r12
cmpq %r12, %rdi
je 0x3464
movq 0xb0(%rsp), %rsi
incq %rsi
callq 0x2150
movq 0x80(%rsp), %rdi
leaq 0x90(%rsp), %rax
cmpq %rax, %rdi
je 0x3489
movq 0x90(%rsp), %rsi
incq %rsi
callq 0x2150
addq $0x68, %r13
jmp 0x331e
movq 0x68(%rsp), %rax
cmpq 0x60(%rsp), %rax
je 0x389d
movq 0x68(%rsp), %rax
cmpq 0x60(%rsp), %rax
je 0x3669
xorl %r13d, %r13d
movl $0x6, %edx
movq %rbx, %rdi
leaq 0x6c98(%rip), %rsi      # 0xa15c
callq 0x2180
movl $0x1, %r14d
cmpq $0xa, %r13
jb 0x3517
movl $0x4, %r14d
movl %r13d, %eax
cmpl $0x63, %eax
jbe 0x350e
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x3514
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x3517
movl %eax, %ecx
imulq %r15, %rcx
shrq $0x2d, %rcx
addl $0x4, %r14d
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x34de
addl $-0x3, %r14d
jmp 0x3517
addl $-0x2, %r14d
jmp 0x3517
decl %r14d
movl %r14d, %esi
leaq 0x90(%rsp), %rax
movq %rax, 0x80(%rsp)
movq %rbp, %rdi
movl $0x2d, %edx
callq 0x2190
movq 0x80(%rsp), %rdi
movl %r14d, %esi
movl %r13d, %edx
callq 0x472c
movq 0x80(%rsp), %rsi
movq 0x88(%rsp), %rdx
movq %rbx, %rdi
callq 0x2180
movq %rax, %r14
movl $0xf, %edx
movq %rax, %rdi
leaq 0x6c39(%rip), %rsi      # 0xa1ad
callq 0x2180
movq 0x60(%rsp), %rsi
movq 0x68(%rsp), %rdx
subq %rsi, %rdx
sarq $0x3, %rdx
movabsq $0x4ec4ec4ec4ec4ec5, %rax # imm = 0x4EC4EC4EC4EC4EC5
imulq %rax, %rdx
cmpq %r13, %rdx
jbe 0x3c22
imulq $0x68, %r13, %rax
addq %rax, %rsi
leaq 0x158(%rsp), %rdi
callq 0x664e
movq 0x158(%rsp), %rsi
movq 0x160(%rsp), %rdx
movq %r14, %rdi
callq 0x2180
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x2130
movsbl %al, %esi
movq %r14, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20e0
movq 0x158(%rsp), %rdi
leaq 0x168(%rsp), %rax
cmpq %rax, %rdi
je 0x361c
movq 0x168(%rsp), %rsi
incq %rsi
callq 0x2150
movq 0x80(%rsp), %rdi
leaq 0x90(%rsp), %rax
cmpq %rax, %rdi
je 0x3641
movq 0x90(%rsp), %rsi
incq %rsi
callq 0x2150
movq 0x68(%rsp), %rax
subq 0x60(%rsp), %rax
incq %r13
sarq $0x3, %rax
movabsq $0x4ec4ec4ec4ec4ec5, %rcx # imm = 0x4EC4EC4EC4EC4EC5
imulq %rcx, %rax
cmpq %r13, %rax
ja 0x34b5
movq 0xa970(%rip), %rdi      # 0xdfe0
leaq 0x1c(%rsp), %rsi
callq 0x20d0
movslq 0x1c(%rsp), %rsi
movq 0x60(%rsp), %r14
movq 0x68(%rsp), %rdx
subq %r14, %rdx
sarq $0x3, %rdx
movabsq $0x4ec4ec4ec4ec4ec5, %rax # imm = 0x4EC4EC4EC4EC4EC5
imulq %rax, %rdx
cmpq %rsi, %rdx
jbe 0x3c77
imulq $0x68, %rsi, %rax
addq %rax, %r14
leaq 0xe8(%rsp), %rdi
movq %r14, %rsi
callq 0x20c0
leaq 0x20(%r14), %rsi
leaq 0x108(%rsp), %rdi
callq 0x20c0
leaq 0x40(%r14), %rsi
leaq 0x128(%rsp), %rdi
callq 0x20c0
movl 0x60(%r14), %eax
movl %eax, 0x148(%rsp)
movl $0x10, %edx
movq %rbx, %rdi
leaq 0x695c(%rip), %rsi      # 0xa056
callq 0x2180
movq %rbp, %rdi
leaq 0xe8(%rsp), %rsi
callq 0x664e
movq 0x80(%rsp), %rsi
movq 0x88(%rsp), %rdx
movq %rbx, %rdi
callq 0x2180
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x2130
movsbl %al, %esi
movq %r14, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20e0
movq 0x80(%rsp), %rdi
leaq 0x90(%rsp), %rax
cmpq %rax, %rdi
je 0x3776
movq 0x90(%rsp), %rsi
incq %rsi
callq 0x2150
leaq 0x250(%rsp), %rax
movq %rax, 0x240(%rsp)
movq 0xe8(%rsp), %rsi
movq 0xf0(%rsp), %rdx
addq %rsi, %rdx
leaq 0x240(%rsp), %rdi
callq 0x47a4
leaq 0x270(%rsp), %rax
movq %rax, 0x260(%rsp)
movq 0x108(%rsp), %rsi
movq 0x110(%rsp), %rdx
addq %rsi, %rdx
leaq 0x260(%rsp), %rdi
callq 0x47a4
leaq 0x290(%rsp), %rax
movq %rax, 0x280(%rsp)
movq 0x128(%rsp), %rsi
movq 0x130(%rsp), %rdx
addq %rsi, %rdx
leaq 0x280(%rsp), %rdi
callq 0x47a4
movl 0x148(%rsp), %eax
movl %eax, 0x2a0(%rsp)
leaq 0x320(%rsp), %rdi
leaq 0x240(%rsp), %rsi
callq 0x8758
movq 0x280(%rsp), %rdi
leaq 0x290(%rsp), %rax
cmpq %rax, %rdi
je 0x384e
movq 0x290(%rsp), %rsi
incq %rsi
callq 0x2150
movq 0x260(%rsp), %rdi
leaq 0x270(%rsp), %rax
cmpq %rax, %rdi
je 0x3873
movq 0x270(%rsp), %rsi
incq %rsi
callq 0x2150
movq 0x240(%rsp), %rdi
movb $0x1, %r13b
leaq 0x250(%rsp), %rax
cmpq %rax, %rdi
je 0x38e0
movq 0x250(%rsp), %rsi
incq %rsi
callq 0x2150
jmp 0x38e0
movl $0x1f, %edx
movq %rbx, %rdi
leaq 0x6911(%rip), %rsi      # 0xa1bd
callq 0x2180
movq 0x150(%rsp), %r13
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 0x128(%rsp), %rdi
leaq 0x138(%rsp), %rax
cmpq %rax, %rdi
je 0x3905
movq 0x138(%rsp), %rsi
incq %rsi
callq 0x2150
movq 0x108(%rsp), %rdi
leaq 0x118(%rsp), %rax
cmpq %rax, %rdi
leaq 0x20(%rsp), %r14
je 0x392f
movq 0x118(%rsp), %rsi
incq %rsi
callq 0x2150
movq 0xe8(%rsp), %rdi
leaq 0xf8(%rsp), %rax
cmpq %rax, %rdi
je 0x3954
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0x2150
leaq 0x60(%rsp), %rdi
callq 0x432e
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x397a
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x2150
testb $0x1, %r13b
je 0x327a
leaq 0x4d0(%rsp), %rdi
leaq 0x458(%rsp), %rsi
callq 0x435e
leaq 0x320(%rsp), %rdi
leaq 0x4d0(%rsp), %rsi
callq 0x861c
movq 0x530(%rsp), %rdi
testq %rdi, %rdi
je 0x39cb
movq 0x540(%rsp), %rsi
subq %rdi, %rsi
callq 0x2150
leaq 0x520(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x39ec
movq 0x520(%rsp), %rsi
incq %rsi
callq 0x2150
leaq 0x500(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3a0d
movq 0x500(%rsp), %rsi
incq %rsi
callq 0x2150
leaq 0x4e0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3a2e
movq 0x4e0(%rsp), %rsi
incq %rsi
callq 0x2150
leaq 0x320(%rsp), %rdi
callq 0x85b4
leaq 0x180(%rsp), %rdi
leaq 0x320(%rsp), %rsi
callq 0x44a0
leaq 0x320(%rsp), %rdi
callq 0x44d0
movq 0x180(%rsp), %rbx
movq 0x188(%rsp), %r12
cmpq %r12, %rbx
je 0x3b4c
leaq 0x320(%rsp), %r14
movq 0xa54b(%rip), %r15      # 0xdfd0
leaq 0xe8(%rsp), %r13
movq %r14, %rdi
movq %rbx, %rsi
callq 0x4594
movl $0x15, %edx
movq %r15, %rdi
leaq 0x6736(%rip), %rsi      # 0xa1dd
callq 0x2180
movq 0x180(%rsp), %rsi
movq 0x188(%rsp), %rax
subq %rsi, %rax
je 0x3c85
movq %r13, %rdi
callq 0x89fa
movq 0xe8(%rsp), %rsi
movq 0xf0(%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 0xe8(%rsp), %rdi
leaq 0xf8(%rsp), %rax
cmpq %rax, %rdi
je 0x3b34
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0x2150
movq %r14, %rdi
callq 0x44d0
addq $0x120, %rbx            # imm = 0x120
cmpq %r12, %rbx
jne 0x3a8d
leaq 0x180(%rsp), %rdi
callq 0x46e8
leaq 0x1e0(%rsp), %rdi
callq 0x432e
movq 0x4b8(%rsp), %rdi
testq %rdi, %rdi
je 0x3b83
movq 0x4c8(%rsp), %rsi
subq %rdi, %rsi
callq 0x2150
leaq 0x4a8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3ba4
movq 0x4a8(%rsp), %rsi
incq %rsi
callq 0x2150
leaq 0x488(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3bc5
movq 0x488(%rsp), %rsi
incq %rsi
callq 0x2150
leaq 0x468(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3be6
movq 0x468(%rsp), %rsi
incq %rsi
callq 0x2150
movq 0x40(%rsp), %rdi
testq %rdi, %rdi
je 0x3bfd
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 0x661f(%rip), %rdi      # 0xa237
movq %r15, %rsi
xorl %eax, %eax
callq 0x21c0
leaq 0x660e(%rip), %rdi      # 0xa237
movq %r13, %rsi
xorl %eax, %eax
callq 0x21c0
sarq $0x3, %rax
movabsq $-0x5555555555555555, %rdx # imm = 0xAAAAAAAAAAAAAAAB
imulq %rax, %rdx
leaq 0x65eb(%rip), %rdi      # 0xa237
xorl %esi, %esi
xorl %eax, %eax
callq 0x21c0
sarq $0x3, %rax
movabsq $-0x5555555555555555, %rdx # imm = 0xAAAAAAAAAAAAAAAB
imulq %rax, %rdx
xorl %esi, %esi
leaq 0x65c7(%rip), %rdi      # 0xa237
xorl %eax, %eax
callq 0x21c0
leaq 0x65b9(%rip), %rdi      # 0xa237
xorl %eax, %eax
callq 0x21c0
sarq $0x5, %rax
movabsq $-0x71c71c71c71c71c7, %rdx # imm = 0x8E38E38E38E38E39
imulq %rax, %rdx
leaq 0x6599(%rip), %rdi      # 0xa237
xorl %esi, %esi
xorl %eax, %eax
callq 0x21c0
movq %rax, %rbx
leaq 0x4d0(%rsp), %rdi
callq 0x443c
jmp 0x4177
jmp 0x3da0
jmp 0x3cc3
movq %rax, %rbx
jmp 0x419e
movq %rax, %rbx
movq 0x2a8(%rsp), %rdi
testq %rdi, %rdi
je 0x3cf0
movq 0x2b8(%rsp), %rsi
subq %rdi, %rsi
callq 0x2150
jmp 0x3cf0
movq %rax, %rbx
movq 0x2c0(%rsp), %rdi
cmpq %r12, %rdi
je 0x3d12
movq 0x2d0(%rsp), %rsi
incq %rsi
callq 0x2150
jmp 0x3d12
movq %rax, %rbx
movq 0x2e0(%rsp), %rdi
cmpq %r15, %rdi
je 0x3d34
movq 0x2f0(%rsp), %rsi
incq %rsi
callq 0x2150
jmp 0x3d34
movq %rax, %rbx
movq 0x300(%rsp), %rdi
cmpq %r14, %rdi
je 0x41ab
movq 0x310(%rsp), %rsi
incq %rsi
callq 0x2150
jmp 0x41ab
jmp 0x3e86
jmp 0x4071
jmp 0x3ed8
movq %rax, %rbx
leaq 0x330(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x419e
movq 0x330(%rsp), %rsi
incq %rsi
callq 0x2150
jmp 0x419e
jmp 0x3e86
jmp 0x3e86
movq %rax, %rbx
jmp 0x4184
jmp 0x4071
jmp 0x4071
jmp 0x4071
jmp 0x40a5
movq %rax, %rbx
jmp 0x3de9
movq %rax, %rbx
movq 0x260(%rsp), %rdi
leaq 0x270(%rsp), %rax
cmpq %rax, %rdi
je 0x3de9
movq 0x270(%rsp), %rsi
incq %rsi
callq 0x2150
movq 0x240(%rsp), %rdi
leaq 0x250(%rsp), %rax
cmpq %rax, %rdi
je 0x410d
movq 0x250(%rsp), %rsi
jmp 0x4105
movq %rax, %rbx
leaq 0x240(%rsp), %rdi
jmp 0x409e
jmp 0x40a5
jmp 0x3ed8
movq %rax, %rbx
jmp 0x3e56
movq %rax, %rbx
movq 0x340(%rsp), %rdi
leaq 0x350(%rsp), %rax
cmpq %rax, %rdi
je 0x3e56
movq 0x350(%rsp), %rsi
incq %rsi
callq 0x2150
movq 0x320(%rsp), %rdi
leaq 0x330(%rsp), %rax
cmpq %rax, %rdi
je 0x4191
movq 0x330(%rsp), %rsi
jmp 0x3fdd
jmp 0x3e7e
movq %rax, %rbx
jmp 0x4045
movq %rax, %rbx
jmp 0x41ab
jmp 0x4071
movq %rax, %rbx
jmp 0x411a
jmp 0x40b3
movq %rax, %rbx
movq 0x200(%rsp), %rdi
leaq 0x210(%rsp), %rax
cmpq %rax, %rdi
je 0x416a
movq 0x210(%rsp), %rsi
jmp 0x4162
jmp 0x4071
jmp 0x4071
jmp 0x4071
movq %rax, %rbx
jmp 0x4191
movq %rax, %rbx
jmp 0x3fbc
movq %rax, %rbx
jmp 0x3f97
movq %rax, %rbx
jmp 0x3f72
movq %rax, %rbx
jmp 0x3f4d
movq %rax, %rbx
jmp 0x3f14
movq %rax, %rbx
jmp 0x3f31
movq %rax, %rbx
leaq 0x320(%rsp), %rdi
callq 0x425a
movq 0x220(%rsp), %rdi
cmpq %r13, %rdi
je 0x3f31
movq 0x230(%rsp), %rsi
incq %rsi
callq 0x2150
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x3f4d
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x2150
movq 0x1a0(%rsp), %rdi
leaq 0x1b0(%rsp), %rax
cmpq %rax, %rdi
je 0x3f72
movq 0x1b0(%rsp), %rsi
incq %rsi
callq 0x2150
movq 0x80(%rsp), %rdi
leaq 0x90(%rsp), %rax
cmpq %rax, %rdi
je 0x3f97
movq 0x90(%rsp), %rsi
incq %rsi
callq 0x2150
movq 0x1c0(%rsp), %rdi
leaq 0x1d0(%rsp), %rax
cmpq %rax, %rdi
je 0x3fbc
movq 0x1d0(%rsp), %rsi
incq %rsi
callq 0x2150
movq 0xe8(%rsp), %rdi
leaq 0xf8(%rsp), %rax
cmpq %rax, %rdi
je 0x4191
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0x2150
jmp 0x4191
jmp 0x40b3
movq %rax, %rbx
movq 0xe8(%rsp), %rdi
leaq 0xf8(%rsp), %rax
cmpq %rax, %rdi
je 0x4177
movq 0xf8(%rsp), %rsi
jmp 0x4138
jmp 0x40bb
movq %rax, %rbx
movq 0xe8(%rsp), %rdi
leaq 0xf8(%rsp), %rax
cmpq %rax, %rdi
je 0x4045
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0x2150
leaq 0x320(%rsp), %rdi
callq 0x425a
jmp 0x4191
jmp 0x4071
movq %rax, %rbx
jmp 0x4124
jmp 0x40b3
jmp 0x40a5
jmp 0x4071
jmp 0x4093
jmp 0x40bb
jmp 0x40bb
jmp 0x40a5
jmp 0x40a5
movq %rax, %rbx
jmp 0x4177
movq %rax, %rbx
movq 0xa0(%rsp), %rdi
cmpq %r12, %rdi
je 0x40e8
movq 0xb0(%rsp), %rsi
jmp 0x40e0
movq %rax, %rbx
leaq 0x80(%rsp), %rdi
callq 0x425a
jmp 0x410d
movq %rax, %rbx
jmp 0x410d
jmp 0x40bb
jmp 0x4142
jmp 0x40b3
movq %rax, %rbx
jmp 0x416a
movq %rax, %rbx
jmp 0x40e8
movq %rax, %rbx
movq 0x158(%rsp), %rdi
leaq 0x168(%rsp), %rax
cmpq %rax, %rdi
je 0x40e8
movq 0x168(%rsp), %rsi
incq %rsi
callq 0x2150
movq 0x80(%rsp), %rdi
leaq 0x90(%rsp), %rax
cmpq %rax, %rdi
je 0x410d
movq 0x90(%rsp), %rsi
incq %rsi
callq 0x2150
leaq 0xe8(%rsp), %rdi
callq 0x425a
leaq 0x60(%rsp), %rdi
callq 0x432e
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x4177
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x2150
jmp 0x4177
movq %rax, %rbx
movq 0xe8(%rsp), %rdi
leaq 0xf8(%rsp), %rax
cmpq %rax, %rdi
je 0x416a
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0x2150
leaq 0x80(%rsp), %rdi
callq 0x42a8
leaq 0x320(%rsp), %rdi
callq 0x44d0
leaq 0x180(%rsp), %rdi
callq 0x46e8
leaq 0x1e0(%rsp), %rdi
callq 0x432e
leaq 0x458(%rsp), %rdi
callq 0x443c
movq 0x40(%rsp), %rdi
testq %rdi, %rdi
je 0x41c2
movq 0x50(%rsp), %rsi
subq %rdi, %rsi
callq 0x2150
movq %rbx, %rdi
callq 0x2220