// File: /workspace/github_cpp_makefile_star2_O2/giovifazi[P]knossos-bloodbath/Menu.cpp
// Function: setName[abi:cxx11](int)
std::string setName(int num) 	
{                                      
	std::string name;
	std::ostringstream convert;
	convert<<num;
	std::string stringa = "Giocatore "+convert.str(); 
        std::string stringa2 = "inserisci il tuo nome:";  
        for (int i=0; i<40; i++, std::cout<<"\n"); 			//spazio fra una schermata e l'altra        
	stampaMenu(stringa,"",stringa2,"[max 10 caratteri]", 2);	
	std::cin>> name;
	while (name.size() > lenght)					//controllo lunghezza nome
	{
                for (int i=0; i<40; i++, std::cout<<"\n");
		stampaMenu("Nome troppo lungo!","riprova con un nome piu corto","","",2);
		std::cin>>name;
	}
		return name;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x2c8, %rsp            # imm = 0x2C8
movl %esi, %ebx
leaq 0x10(%rdi), %rax
movq %rax, (%rdi)
andq $0x0, 0x8(%rdi)
movq %rdi, -0x38(%rbp)
movb $0x0, 0x10(%rdi)
leaq -0x2f0(%rbp), %rdi
callq 0x21c0
leaq -0x2f0(%rbp), %rdi
movl %ebx, %esi
callq 0x2210
leaq -0x2e8(%rbp), %rsi
leaq -0x58(%rbp), %rdi
callq 0x21f0
leaq 0x5b4e(%rip), %rsi      # 0xd221
leaq -0x118(%rbp), %rdi
leaq -0x58(%rbp), %rdx
callq 0x79dc
leaq -0x58(%rbp), %rdi
callq 0x2080
leaq 0x5b39(%rip), %rsi      # 0xd22c
leaq -0x58(%rbp), %rdi
leaq -0x29(%rbp), %rdx
callq 0x2b10
pushq $0x29
popq %r15
movq 0x88c5(%rip), %rbx      # 0xffd0
leaq 0x5143(%rip), %r14      # 0xc855
decl %r15d
je 0x7724
movq %rbx, %rdi
movq %r14, %rsi
callq 0x2120
jmp 0x7712
leaq -0xf8(%rbp), %rdi
leaq -0x118(%rbp), %rsi
callq 0x21d0
leaq 0x5118(%rip), %rsi      # 0xc856
leaq -0xd8(%rbp), %rdi
leaq -0x29(%rbp), %rdx
callq 0x2b10
leaq -0xb8(%rbp), %rdi
leaq -0x58(%rbp), %rsi
callq 0x21d0
leaq 0x5ade(%rip), %rsi      # 0xd243
leaq -0x98(%rbp), %rdi
leaq -0x2a(%rbp), %rdx
callq 0x2b10
leaq -0xf8(%rbp), %rdi
leaq -0xd8(%rbp), %rsi
leaq -0xb8(%rbp), %rdx
leaq -0x98(%rbp), %rcx
pushq $0x2
popq %r8
callq 0x6a0c
leaq -0x98(%rbp), %rdi
callq 0x2080
leaq -0xb8(%rbp), %rdi
callq 0x2080
leaq -0xd8(%rbp), %rdi
callq 0x2080
leaq -0xf8(%rbp), %rdi
callq 0x2080
movq 0x880f(%rip), %rdi      # 0xffe0
movq -0x38(%rbp), %rsi
callq 0x2190
movq 0x87ef(%rip), %r13      # 0xffd0
leaq 0x506d(%rip), %r15      # 0xc855
movq -0x38(%rbp), %r14
cmpq $0xb, 0x8(%r14)
jb 0x78ce
pushq $0x29
popq %r14
leaq -0x138(%rbp), %r12
leaq -0x178(%rbp), %rbx
decl %r14d
je 0x781b
movq %r13, %rdi
movq %r15, %rsi
callq 0x2120
jmp 0x7809
leaq -0x78(%rbp), %rdi
leaq 0x5a30(%rip), %rsi      # 0xd256
leaq -0x29(%rbp), %rdx
callq 0x2b10
leaq -0x158(%rbp), %rdi
leaq 0x5a2c(%rip), %rsi      # 0xd269
leaq -0x2a(%rbp), %rdx
callq 0x2b10
movq %r12, %rdi
leaq 0x5006(%rip), %r14      # 0xc856
movq %r14, %rsi
leaq -0x2c(%rbp), %rdx
callq 0x2b10
movq %rbx, %rdi
movq %r14, %rsi
leaq -0x2b(%rbp), %rdx
callq 0x2b10
movq %rbx, %rax
leaq -0x78(%rbp), %rdi
leaq -0x158(%rbp), %r12
movq %r12, %rsi
leaq -0x138(%rbp), %rbx
movq %rbx, %rdx
movq %rax, %r14
movq %rax, %rcx
pushq $0x2
popq %r8
callq 0x6a0c
movq %r14, %rdi
callq 0x2080
movq %rbx, %rdi
callq 0x2080
movq %r12, %rdi
callq 0x2080
leaq -0x78(%rbp), %rdi
callq 0x2080
movq 0x8723(%rip), %rdi      # 0xffe0
movq -0x38(%rbp), %r14
movq %r14, %rsi
callq 0x2190
jmp 0x77ec
leaq -0x58(%rbp), %rdi
callq 0x2080
leaq -0x118(%rbp), %rdi
callq 0x2080
leaq -0x2f0(%rbp), %rdi
callq 0x2030
movq -0x38(%rbp), %rax
addq $0x2c8, %rsp            # imm = 0x2C8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
leaq -0x98(%rbp), %rdi
callq 0x2080
jmp 0x7919
movq %rax, %r14
leaq -0xb8(%rbp), %rdi
callq 0x2080
jmp 0x792a
movq %rax, %r14
leaq -0xd8(%rbp), %rdi
callq 0x2080
jmp 0x793b
movq %rax, %r14
leaq -0xf8(%rbp), %rdi
jmp 0x799e
movq %rax, %r14
jmp 0x79b3
movq %rax, %r14
leaq -0x58(%rbp), %rdi
jmp 0x79ba
jmp 0x7954
movq %rax, %r14
jmp 0x79bf
movq %rax, %r14
jmp 0x79cb
jmp 0x79a7
jmp 0x79a7
jmp 0x79a7
movq %rax, %r14
leaq -0x178(%rbp), %rdi
callq 0x2080
jmp 0x7978
movq %rax, %r14
leaq -0x138(%rbp), %rdi
callq 0x2080
jmp 0x7989
movq %rax, %r14
leaq -0x158(%rbp), %rdi
callq 0x2080
jmp 0x799a
movq %rax, %r14
leaq -0x78(%rbp), %rdi
callq 0x2080
jmp 0x79aa
jmp 0x79a7
movq %rax, %r14
leaq -0x58(%rbp), %rdi
callq 0x2080
leaq -0x118(%rbp), %rdi
callq 0x2080
leaq -0x2f0(%rbp), %rdi
callq 0x2030
movq -0x38(%rbp), %rdi
callq 0x2080
movq %r14, %rdi
callq 0x2220