// File: /workspace/github_cpp_makefile_star2_O1/FabienBounoir[P]JustePrix-CLI/justePrix.cpp
// Function: JustePrix::ChoisirMenu()
void JustePrix::ChoisirMenu()
{
    char choixMenu = 0;
    do{
        choixMenu = ihm->afficherMenu();
        if(choixMenu == 'R' || choixMenu == 'r')
        {
            meilleurScore->remettreAZeroScore();
            this->jouerNouvellePartie();
        }
        else if(choixMenu == 'M' || choixMenu == 'm')
        {
            ihm->afficherMeilleursScores(meilleurScore->getFichierDifficulte());
            ihm->afficherPositionScore(meilleurScore->calculerPositionClassement(this->getNbCoups()));
        }
        else if(choixMenu == 'H' || choixMenu == 'h')
        {
            ihm->afficherHistorique(historique->getHistorique());
        }
        else if(choixMenu == 'Q' || choixMenu == 'q')
        {
            ihm->arreterJeu(joueur->getNom());
        }
        else
        {
            cerr << "Désoler ce choix n'est Disponible" <<endl;
        }
    }
    while(choixMenu != 'R' && choixMenu != 'r' && choixMenu != 'Q' && choixMenu != 'q');
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rdi, %rbx
leaq 0x40(%rsp), %r14
movabsq $0x300000003, %rbp      # imm = 0x300000003
movq 0x10(%rbx), %rdi
callq 0x3a42
movl %eax, %r13d
andb $-0x21, %al
movzbl %al, %eax
cmpl $0x50, %eax
jg 0x2ad7
cmpl $0x48, %eax
je 0x2b3f
cmpl $0x4d, %eax
jne 0x2afb
movq %r14, %r12
movq %rbp, %r14
movq 0x10(%rbx), %r15
movq 0x28(%rbx), %rsi
leaq 0x20(%rsp), %rbp
movq %rbp, %rdi
callq 0x4c10
movq %r15, %rdi
movq %rbp, %rsi
callq 0x3da0
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
movq %r14, %rbp
je 0x2ab5
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x21f0
movq 0x10(%rbx), %r15
movq 0x28(%rbx), %rdi
movl 0xc(%rbx), %esi
callq 0x4c94
movq %r15, %rdi
movl %eax, %esi
callq 0x41c2
movq %r12, %r14
jmp 0x2b9d
cmpl $0x51, %eax
je 0x2b64
cmpl $0x52, %eax
jne 0x2afb
movq 0x28(%rbx), %rdi
callq 0x551e
movq %rbx, %rdi
callq 0x2c14
jmp 0x2b9d
movl $0x22, %edx
movq 0x74e9(%rip), %r15      # 0x9ff0
movq %r15, %rdi
leaq 0x3538(%rip), %rsi      # 0x6049
callq 0x2210
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x21d0
movsbl %al, %esi
movq %r15, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2100
jmp 0x2b9d
movq 0x10(%rbx), %r15
movq 0x20(%rbx), %rsi
movq %r14, %rdi
callq 0x4538
movq %r15, %rdi
movq %r14, %rsi
callq 0x3c52
movq %r14, %rdi
callq 0x2e68
jmp 0x2b9d
movq 0x10(%rbx), %r15
movq 0x18(%rbx), %rsi
movq %rsp, %r12
movq %r12, %rdi
callq 0x43d6
movq %r15, %rdi
movq %r12, %rsi
callq 0x3bb4
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x2b9d
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x21f0
movzbl %r13b, %eax
addl $-0x51, %eax
cmpl $0x21, %eax
ja 0x2a48
btq %rax, %rbp
jae 0x2a48
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x40(%rsp), %rdi
callq 0x2e68
jmp 0x2c0c
movq %rax, %rbx
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x2c0c
movq 0x30(%rsp), %rsi
jmp 0x2c04
movq %rax, %rbx
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x2c0c
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x21f0
movq %rbx, %rdi
callq 0x22f0