// File: /workspace/github_cpp_makefile_star2_O3/t0mm4rx[P]piscine_cpp/day04/ex00/main.cpp
// Function: main
int main(void)
{
	Sorcerer john("John", "Master");
	std::cout << john << std::endl;
	Victim micheal("Micheal");
	Victim tmp = micheal;
	Peon rose("Rose");
	Peon roseCopy = rose;
	Victim michealCopy(micheal);
	john.polymorph(micheal);
	john.polymorph(rose);
	john.polymorph(roseCopy);
	std::cout << micheal << std::endl;
	return (0);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x188, %rsp            # imm = 0x188
leaq -0x88(%rbp), %r14
movq %r14, -0x10(%r14)
leaq 0x12e9(%rip), %rsi      # 0x316f
leaq 0x12e6(%rip), %rdx      # 0x3173
leaq -0x98(%rbp), %rdi
callq 0x21c2
leaq -0x68(%rbp), %r15
movq %r15, -0x10(%r15)
leaq 0x12cc(%rip), %rsi      # 0x3174
leaq 0x12cb(%rip), %rdx      # 0x317a
leaq -0x78(%rbp), %rdi
callq 0x21c2
leaq -0x128(%rbp), %rdi
leaq -0x98(%rbp), %rsi
leaq -0x78(%rbp), %rdx
callq 0x1614
movq -0x78(%rbp), %rdi
cmpq %r15, %rdi
je 0x1ee4
movq -0x68(%rbp), %rsi
incq %rsi
callq 0x10c0
movq -0x98(%rbp), %rdi
cmpq %r14, %rdi
je 0x1eff
movq -0x88(%rbp), %rsi
incq %rsi
callq 0x10c0
movq 0x30d2(%rip), %rdi      # 0x4fd8
leaq -0x128(%rbp), %rsi
callq 0x1986
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x10b0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x1030
movq %rax, %rdi
callq 0x1070
leaq -0x48(%rbp), %r14
movq %r14, -0x10(%r14)
leaq 0x1230(%rip), %rsi      # 0x317b
leaq 0x1230(%rip), %rdx      # 0x3182
leaq -0x58(%rbp), %rdi
callq 0x21c2
leaq -0xc0(%rbp), %rdi
leaq -0x58(%rbp), %rsi
callq 0x1aac
movq -0x58(%rbp), %rdi
cmpq %r14, %rdi
je 0x1f80
movq -0x48(%rbp), %rsi
incq %rsi
callq 0x10c0
leaq -0x1a0(%rbp), %rdi
leaq -0xc0(%rbp), %rsi
callq 0x1b78
leaq -0x28(%rbp), %r14
movq %r14, -0x10(%r14)
leaq 0x11e1(%rip), %rsi      # 0x3183
leaq 0x11de(%rip), %rdx      # 0x3187
leaq -0x38(%rbp), %rdi
callq 0x21c2
leaq -0xe8(%rbp), %rdi
leaq -0x38(%rbp), %rsi
callq 0x12ec
movq -0x38(%rbp), %rdi
cmpq %r14, %rdi
je 0x1fd7
movq -0x28(%rbp), %rsi
incq %rsi
callq 0x10c0
leaq -0x150(%rbp), %rdi
leaq -0xe8(%rbp), %rsi
callq 0x13d6
leaq -0x178(%rbp), %rdi
leaq -0xc0(%rbp), %rsi
callq 0x1b78
leaq -0x128(%rbp), %rdi
leaq -0xc0(%rbp), %rsi
callq 0x1978
leaq -0x128(%rbp), %rdi
leaq -0xe8(%rbp), %rsi
callq 0x1978
leaq -0x128(%rbp), %rdi
leaq -0x150(%rbp), %rsi
callq 0x1978
movq 0x2f9b(%rip), %rdi      # 0x4fd8
leaq -0xc0(%rbp), %rsi
callq 0x1dbb
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x10b0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x1030
movq %rax, %rdi
callq 0x1070
leaq -0x178(%rbp), %rdi
callq 0x1c66
leaq -0x150(%rbp), %rdi
callq 0x147a
leaq -0xe8(%rbp), %rdi
callq 0x147a
leaq -0x1a0(%rbp), %rdi
callq 0x1c66
leaq -0xc0(%rbp), %rdi
callq 0x1c66
leaq -0x128(%rbp), %rdi
callq 0x185c
xorl %eax, %eax
addq $0x188, %rsp            # imm = 0x188
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
jmp 0x217d
movq %rax, %rbx
jmp 0x2189
movq %rax, %rbx
movq -0x38(%rbp), %rdi
cmpq %r14, %rdi
je 0x2195
movq -0x28(%rbp), %rsi
incq %rsi
callq 0x10c0
jmp 0x2195
movq %rax, %rbx
jmp 0x2195
movq %rax, %rbx
jmp 0x21a1
movq %rax, %rbx
movq -0x58(%rbp), %rdi
cmpq %r14, %rdi
je 0x21ad
movq -0x48(%rbp), %rsi
incq %rsi
callq 0x10c0
jmp 0x21ad
jmp 0x2169
movq %rax, %rbx
movq -0x78(%rbp), %rdi
cmpq %r15, %rdi
je 0x214c
movq -0x68(%rbp), %rsi
incq %rsi
callq 0x10c0
jmp 0x214c
movq %rax, %rbx
movq -0x98(%rbp), %rdi
cmpq %r14, %rdi
je 0x21b9
movq -0x88(%rbp), %rsi
incq %rsi
callq 0x10c0
jmp 0x21b9
movq %rax, %rbx
jmp 0x21ad
movq %rax, %rbx
leaq -0x178(%rbp), %rdi
callq 0x1c66
leaq -0x150(%rbp), %rdi
callq 0x147a
leaq -0xe8(%rbp), %rdi
callq 0x147a
leaq -0x1a0(%rbp), %rdi
callq 0x1c66
leaq -0xc0(%rbp), %rdi
callq 0x1c66
leaq -0x128(%rbp), %rdi
callq 0x185c
movq %rbx, %rdi
callq 0x10f0
nop