// File: /workspace/github_cpp_makefile_star2_O3/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, -0xf8(%rbp)
movq %rax, (%rdi)
movq $0x0, 0x8(%rdi)
movq %rdi, -0x30(%rbp)
movb $0x0, 0x10(%rdi)
leaq -0x2f0(%rbp), %rdi
callq 0x21a0
leaq -0x2f0(%rbp), %rdi
movl %ebx, %esi
callq 0x2200
leaq -0x2e8(%rbp), %rsi
leaq -0x50(%rbp), %rdi
callq 0x21e0
leaq 0x5e69(%rip), %rcx      # 0xf221
leaq -0x50(%rbp), %rdi
movl $0xa, %r8d
xorl %esi, %esi
xorl %edx, %edx
callq 0x2130
leaq -0x60(%rbp), %rsi
movq %rsi, -0x10(%rsi)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x93ef
movq %rdx, -0x70(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x60(%rbp)
jmp 0x93f5
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, -0x68(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq -0x40(%rbp), %rbx
movq -0x10(%rbx), %rdi
cmpq %rbx, %rdi
je 0x9425
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x2120
leaq -0x50(%rbp), %rdi
movq %rbx, (%rdi)
leaq 0x5df9(%rip), %rsi      # 0xf22c
leaq 0x5e08(%rip), %rdx      # 0xf242
callq 0x2d0e
movl $0x29, %r15d
movq 0x8b84(%rip), %rbx      # 0x11fd0
leaq 0x5402(%rip), %r14      # 0xe855
decl %r15d
je 0x946a
movl $0x1, %edx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x2140
jmp 0x9453
leaq -0x168(%rbp), %rbx
movq %rbx, -0x10(%rbx)
movq -0x70(%rbp), %rsi
movq -0x68(%rbp), %rdx
addq %rsi, %rdx
leaq -0x178(%rbp), %rdi
callq 0x2c70
leaq -0x148(%rbp), %r15
movq %r15, -0x10(%r15)
leaq 0x53b8(%rip), %rdx      # 0xe856
leaq -0x158(%rbp), %rdi
movq %rdx, %rsi
callq 0x2d0e
leaq -0x128(%rbp), %r12
movq %r12, -0x10(%r12)
movq -0x50(%rbp), %rsi
movq -0x48(%rbp), %rdx
addq %rsi, %rdx
leaq -0x138(%rbp), %rdi
callq 0x2c70
leaq -0x108(%rbp), %r13
movq %r13, -0x10(%r13)
leaq 0x5d61(%rip), %rsi      # 0xf243
leaq 0x5d6c(%rip), %rdx      # 0xf255
leaq -0x118(%rbp), %rdi
callq 0x2d0e
leaq -0x178(%rbp), %rdi
leaq -0x158(%rbp), %rsi
leaq -0x138(%rbp), %rdx
leaq -0x118(%rbp), %rcx
movl $0x2, %r8d
callq 0x8178
movq -0x118(%rbp), %rdi
cmpq %r13, %rdi
je 0x9537
movq -0x108(%rbp), %rsi
incq %rsi
callq 0x2120
movq -0x138(%rbp), %rdi
cmpq %r12, %rdi
je 0x9552
movq -0x128(%rbp), %rsi
incq %rsi
callq 0x2120
movq -0x158(%rbp), %rdi
cmpq %r15, %rdi
je 0x956d
movq -0x148(%rbp), %rsi
incq %rsi
callq 0x2120
movq -0x178(%rbp), %rdi
cmpq %rbx, %rdi
je 0x9588
movq -0x168(%rbp), %rsi
incq %rsi
callq 0x2120
movq 0x8a51(%rip), %rdi      # 0x11fe0
movq -0x30(%rbp), %rsi
callq 0x2180
leaq 0x52b7(%rip), %r15      # 0xe856
leaq -0xf0(%rbp), %rbx
movq 0x8a23(%rip), %r12      # 0x11fd0
leaq 0x52a1(%rip), %r14      # 0xe855
movq -0x30(%rbp), %r13
cmpq $0xb, 0x8(%r13)
jb 0x9726
movl $0x29, %r13d
decl %r13d
je 0x95e0
movl $0x1, %edx
movq %r12, %rdi
movq %r14, %rsi
callq 0x2140
jmp 0x95c9
leaq -0xc0(%rbp), %rax
movq %rax, -0xd0(%rbp)
leaq -0xd0(%rbp), %rdi
leaq 0x5c5a(%rip), %rsi      # 0xf256
leaq 0x5c65(%rip), %rdx      # 0xf268
callq 0x2d0e
leaq -0xa0(%rbp), %rax
movq %rax, -0xb0(%rbp)
leaq -0xb0(%rbp), %rdi
leaq 0x5c45(%rip), %rsi      # 0xf269
leaq 0x5c5b(%rip), %rdx      # 0xf286
callq 0x2d0e
leaq -0x80(%rbp), %rax
movq %rax, -0x90(%rbp)
leaq -0x90(%rbp), %rdi
movq %r15, %rsi
movq %r15, %rdx
callq 0x2d0e
leaq -0xe0(%rbp), %rax
movq %rax, -0xf0(%rbp)
movq %rbx, %rdi
movq %r15, %rsi
movq %r15, %rdx
callq 0x2d0e
leaq -0xd0(%rbp), %rdi
leaq -0xb0(%rbp), %rsi
leaq -0x90(%rbp), %rdx
movq %rbx, %rcx
movl $0x2, %r8d
callq 0x8178
movq -0xf0(%rbp), %rdi
leaq -0xe0(%rbp), %rax
cmpq %rax, %rdi
je 0x96ae
movq -0xe0(%rbp), %rsi
incq %rsi
callq 0x2120
movq -0x90(%rbp), %rdi
leaq -0x80(%rbp), %rax
cmpq %rax, %rdi
je 0x96ca
movq -0x80(%rbp), %rsi
incq %rsi
callq 0x2120
movq -0xb0(%rbp), %rdi
leaq -0xa0(%rbp), %rax
cmpq %rax, %rdi
je 0x96ec
movq -0xa0(%rbp), %rsi
incq %rsi
callq 0x2120
movq -0xd0(%rbp), %rdi
leaq -0xc0(%rbp), %rax
cmpq %rax, %rdi
je 0x970e
movq -0xc0(%rbp), %rsi
incq %rsi
callq 0x2120
movq 0x88cb(%rip), %rdi      # 0x11fe0
movq -0x30(%rbp), %r13
movq %r13, %rsi
callq 0x2180
jmp 0x95b8
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x973f
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x2120
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
cmpq %rax, %rdi
je 0x9758
movq -0x60(%rbp), %rsi
incq %rsi
callq 0x2120
movq 0x8869(%rip), %rsi      # 0x11fc8
leaq -0x2f0(%rbp), %rdi
callq 0x2070
leaq -0x280(%rbp), %rdi
callq 0x2060
movq -0x30(%rbp), %rax
addq $0x2c8, %rsp            # imm = 0x2C8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq -0x118(%rbp), %rdi
cmpq %r13, %rdi
je 0x97b0
movq -0x108(%rbp), %rsi
incq %rsi
callq 0x2120
jmp 0x97b0
movq %rax, %r14
movq -0x138(%rbp), %rdi
cmpq %r12, %rdi
je 0x97d0
movq -0x128(%rbp), %rsi
incq %rsi
callq 0x2120
jmp 0x97d0
movq %rax, %r14
movq -0x158(%rbp), %rdi
cmpq %r15, %rdi
je 0x97f0
movq -0x148(%rbp), %rsi
incq %rsi
callq 0x2120
jmp 0x97f0
movq %rax, %r14
movq -0x178(%rbp), %rdi
cmpq %rbx, %rdi
je 0x98f1
movq -0x168(%rbp), %rsi
jmp 0x98e2
movq %rax, %r14
leaq -0x60(%rbp), %rbx
jmp 0x990e
movq %rax, %r14
leaq -0x40(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x9923
movq -0x40(%rbp), %rsi
jmp 0x991b
jmp 0x9837
movq %rax, %r14
jmp 0x9923
movq %rax, %r14
jmp 0x9942
jmp 0x98ee
jmp 0x98ee
jmp 0x98ee
movq %rax, %r14
movq -0xf0(%rbp), %rdi
leaq -0xe0(%rbp), %rax
cmpq %rax, %rdi
je 0x9880
movq -0xe0(%rbp), %rsi
incq %rsi
callq 0x2120
jmp 0x9880
movq %rax, %r14
movq -0x90(%rbp), %rdi
leaq -0x80(%rbp), %rax
cmpq %rax, %rdi
je 0x98a1
movq -0x80(%rbp), %rsi
incq %rsi
callq 0x2120
jmp 0x98a1
movq %rax, %r14
movq -0xb0(%rbp), %rdi
leaq -0xa0(%rbp), %rax
cmpq %rax, %rdi
je 0x98c8
movq -0xa0(%rbp), %rsi
incq %rsi
callq 0x2120
jmp 0x98c8
movq %rax, %r14
movq -0xd0(%rbp), %rdi
leaq -0xc0(%rbp), %rax
cmpq %rax, %rdi
je 0x98f1
movq -0xc0(%rbp), %rsi
incq %rsi
callq 0x2120
jmp 0x98f1
jmp 0x98ee
movq %rax, %r14
leaq -0x60(%rbp), %rbx
leaq -0x40(%rbp), %rax
movq -0x50(%rbp), %rdi
cmpq %rax, %rdi
je 0x990e
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x2120
movq -0x70(%rbp), %rdi
cmpq %rbx, %rdi
je 0x9923
movq -0x60(%rbp), %rsi
incq %rsi
callq 0x2120
movq 0x869e(%rip), %rsi      # 0x11fc8
leaq -0x2f0(%rbp), %rdi
callq 0x2070
leaq -0x280(%rbp), %rdi
callq 0x2060
movq -0x30(%rbp), %rax
movq (%rax), %rdi
movq -0xf8(%rbp), %rax
cmpq %rax, %rdi
je 0x9960
movq (%rax), %rsi
incq %rsi
callq 0x2120
movq %r14, %rdi
callq 0x2210