// File: /workspace/github_cpp_makefile_star2_O1/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 0x5e96(%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 0x93c2
movq %rdx, -0x70(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x60(%rbp)
jmp 0x93c8
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 0x93f8
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x2120
leaq -0x50(%rbp), %rdi
movq %rbx, (%rdi)
leaq 0x5e26(%rip), %rsi      # 0xf22c
leaq 0x5e35(%rip), %rdx      # 0xf242
callq 0x2cfa
movl $0x29, %r15d
movq 0x8bb1(%rip), %rbx      # 0x11fd0
leaq 0x542f(%rip), %r14      # 0xe855
decl %r15d
je 0x943d
movl $0x1, %edx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x2140
jmp 0x9426
leaq -0x168(%rbp), %rbx
movq %rbx, -0x10(%rbx)
movq -0x70(%rbp), %rsi
movq -0x68(%rbp), %rdx
addq %rsi, %rdx
leaq -0x178(%rbp), %rdi
callq 0x2c60
leaq -0x148(%rbp), %r15
movq %r15, -0x10(%r15)
leaq 0x53e5(%rip), %rdx      # 0xe856
leaq -0x158(%rbp), %rdi
movq %rdx, %rsi
callq 0x2cfa
leaq -0x128(%rbp), %r12
movq %r12, -0x10(%r12)
movq -0x50(%rbp), %rsi
movq -0x48(%rbp), %rdx
addq %rsi, %rdx
leaq -0x138(%rbp), %rdi
callq 0x2c60
leaq -0x108(%rbp), %r13
movq %r13, -0x10(%r13)
leaq 0x5d8e(%rip), %rsi      # 0xf243
leaq 0x5d99(%rip), %rdx      # 0xf255
leaq -0x118(%rbp), %rdi
callq 0x2cfa
leaq -0x178(%rbp), %rdi
leaq -0x158(%rbp), %rsi
leaq -0x138(%rbp), %rdx
leaq -0x118(%rbp), %rcx
movl $0x2, %r8d
callq 0x814c
movq -0x118(%rbp), %rdi
cmpq %r13, %rdi
je 0x950a
movq -0x108(%rbp), %rsi
incq %rsi
callq 0x2120
movq -0x138(%rbp), %rdi
cmpq %r12, %rdi
je 0x9525
movq -0x128(%rbp), %rsi
incq %rsi
callq 0x2120
movq -0x158(%rbp), %rdi
cmpq %r15, %rdi
je 0x9540
movq -0x148(%rbp), %rsi
incq %rsi
callq 0x2120
movq -0x178(%rbp), %rdi
cmpq %rbx, %rdi
je 0x955b
movq -0x168(%rbp), %rsi
incq %rsi
callq 0x2120
movq 0x8a7e(%rip), %rdi      # 0x11fe0
movq -0x30(%rbp), %rsi
callq 0x2180
leaq 0x52e4(%rip), %r15      # 0xe856
leaq -0xf0(%rbp), %rbx
movq 0x8a50(%rip), %r12      # 0x11fd0
leaq 0x52ce(%rip), %r14      # 0xe855
movq -0x30(%rbp), %r13
cmpq $0xb, 0x8(%r13)
jb 0x96f9
movl $0x29, %r13d
decl %r13d
je 0x95b3
movl $0x1, %edx
movq %r12, %rdi
movq %r14, %rsi
callq 0x2140
jmp 0x959c
leaq -0xc0(%rbp), %rax
movq %rax, -0xd0(%rbp)
leaq -0xd0(%rbp), %rdi
leaq 0x5c87(%rip), %rsi      # 0xf256
leaq 0x5c92(%rip), %rdx      # 0xf268
callq 0x2cfa
leaq -0xa0(%rbp), %rax
movq %rax, -0xb0(%rbp)
leaq -0xb0(%rbp), %rdi
leaq 0x5c72(%rip), %rsi      # 0xf269
leaq 0x5c88(%rip), %rdx      # 0xf286
callq 0x2cfa
leaq -0x80(%rbp), %rax
movq %rax, -0x90(%rbp)
leaq -0x90(%rbp), %rdi
movq %r15, %rsi
movq %r15, %rdx
callq 0x2cfa
leaq -0xe0(%rbp), %rax
movq %rax, -0xf0(%rbp)
movq %rbx, %rdi
movq %r15, %rsi
movq %r15, %rdx
callq 0x2cfa
leaq -0xd0(%rbp), %rdi
leaq -0xb0(%rbp), %rsi
leaq -0x90(%rbp), %rdx
movq %rbx, %rcx
movl $0x2, %r8d
callq 0x814c
movq -0xf0(%rbp), %rdi
leaq -0xe0(%rbp), %rax
cmpq %rax, %rdi
je 0x9681
movq -0xe0(%rbp), %rsi
incq %rsi
callq 0x2120
movq -0x90(%rbp), %rdi
leaq -0x80(%rbp), %rax
cmpq %rax, %rdi
je 0x969d
movq -0x80(%rbp), %rsi
incq %rsi
callq 0x2120
movq -0xb0(%rbp), %rdi
leaq -0xa0(%rbp), %rax
cmpq %rax, %rdi
je 0x96bf
movq -0xa0(%rbp), %rsi
incq %rsi
callq 0x2120
movq -0xd0(%rbp), %rdi
leaq -0xc0(%rbp), %rax
cmpq %rax, %rdi
je 0x96e1
movq -0xc0(%rbp), %rsi
incq %rsi
callq 0x2120
movq 0x88f8(%rip), %rdi      # 0x11fe0
movq -0x30(%rbp), %r13
movq %r13, %rsi
callq 0x2180
jmp 0x958b
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x9712
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x2120
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
cmpq %rax, %rdi
je 0x972b
movq -0x60(%rbp), %rsi
incq %rsi
callq 0x2120
movq 0x8896(%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 0x9783
movq -0x108(%rbp), %rsi
incq %rsi
callq 0x2120
jmp 0x9783
movq %rax, %r14
movq -0x138(%rbp), %rdi
cmpq %r12, %rdi
je 0x97a3
movq -0x128(%rbp), %rsi
incq %rsi
callq 0x2120
jmp 0x97a3
movq %rax, %r14
movq -0x158(%rbp), %rdi
cmpq %r15, %rdi
je 0x97c3
movq -0x148(%rbp), %rsi
incq %rsi
callq 0x2120
jmp 0x97c3
movq %rax, %r14
movq -0x178(%rbp), %rdi
cmpq %rbx, %rdi
je 0x98c4
movq -0x168(%rbp), %rsi
jmp 0x98b5
movq %rax, %r14
leaq -0x60(%rbp), %rbx
jmp 0x98e1
movq %rax, %r14
leaq -0x40(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x98f6
movq -0x40(%rbp), %rsi
jmp 0x98ee
jmp 0x980a
movq %rax, %r14
jmp 0x98f6
movq %rax, %r14
jmp 0x9915
jmp 0x98c1
jmp 0x98c1
jmp 0x98c1
movq %rax, %r14
movq -0xf0(%rbp), %rdi
leaq -0xe0(%rbp), %rax
cmpq %rax, %rdi
je 0x9853
movq -0xe0(%rbp), %rsi
incq %rsi
callq 0x2120
jmp 0x9853
movq %rax, %r14
movq -0x90(%rbp), %rdi
leaq -0x80(%rbp), %rax
cmpq %rax, %rdi
je 0x9874
movq -0x80(%rbp), %rsi
incq %rsi
callq 0x2120
jmp 0x9874
movq %rax, %r14
movq -0xb0(%rbp), %rdi
leaq -0xa0(%rbp), %rax
cmpq %rax, %rdi
je 0x989b
movq -0xa0(%rbp), %rsi
incq %rsi
callq 0x2120
jmp 0x989b
movq %rax, %r14
movq -0xd0(%rbp), %rdi
leaq -0xc0(%rbp), %rax
cmpq %rax, %rdi
je 0x98c4
movq -0xc0(%rbp), %rsi
incq %rsi
callq 0x2120
jmp 0x98c4
jmp 0x98c1
movq %rax, %r14
leaq -0x60(%rbp), %rbx
leaq -0x40(%rbp), %rax
movq -0x50(%rbp), %rdi
cmpq %rax, %rdi
je 0x98e1
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x2120
movq -0x70(%rbp), %rdi
cmpq %rbx, %rdi
je 0x98f6
movq -0x60(%rbp), %rsi
incq %rsi
callq 0x2120
movq 0x86cb(%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 0x9933
movq (%rax), %rsi
incq %rsi
callq 0x2120
movq %r14, %rdi
callq 0x2210
nop