// File: /workspace/github_cpp_makefile_star2_O1/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 0x12ed(%rip), %rsi      # 0x316f
leaq 0x12ea(%rip), %rdx      # 0x3173
leaq -0x98(%rbp), %rdi
callq 0x21be
leaq -0x68(%rbp), %r15
movq %r15, -0x10(%r15)
leaq 0x12d0(%rip), %rsi      # 0x3174
leaq 0x12cf(%rip), %rdx      # 0x317a
leaq -0x78(%rbp), %rdi
callq 0x21be
leaq -0x128(%rbp), %rdi
leaq -0x98(%rbp), %rsi
leaq -0x78(%rbp), %rdx
callq 0x1610
movq -0x78(%rbp), %rdi
cmpq %r15, %rdi
je 0x1ee0
movq -0x68(%rbp), %rsi
incq %rsi
callq 0x10c0
movq -0x98(%rbp), %rdi
cmpq %r14, %rdi
je 0x1efb
movq -0x88(%rbp), %rsi
incq %rsi
callq 0x10c0
movq 0x30d6(%rip), %rdi      # 0x4fd8
leaq -0x128(%rbp), %rsi
callq 0x1982
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 0x1234(%rip), %rsi      # 0x317b
leaq 0x1234(%rip), %rdx      # 0x3182
leaq -0x58(%rbp), %rdi
callq 0x21be
leaq -0xc0(%rbp), %rdi
leaq -0x58(%rbp), %rsi
callq 0x1aa8
movq -0x58(%rbp), %rdi
cmpq %r14, %rdi
je 0x1f7c
movq -0x48(%rbp), %rsi
incq %rsi
callq 0x10c0
leaq -0x1a0(%rbp), %rdi
leaq -0xc0(%rbp), %rsi
callq 0x1b74
leaq -0x28(%rbp), %r14
movq %r14, -0x10(%r14)
leaq 0x11e5(%rip), %rsi      # 0x3183
leaq 0x11e2(%rip), %rdx      # 0x3187
leaq -0x38(%rbp), %rdi
callq 0x21be
leaq -0xe8(%rbp), %rdi
leaq -0x38(%rbp), %rsi
callq 0x12ec
movq -0x38(%rbp), %rdi
cmpq %r14, %rdi
je 0x1fd3
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 0x1b74
leaq -0x128(%rbp), %rdi
leaq -0xc0(%rbp), %rsi
callq 0x1974
leaq -0x128(%rbp), %rdi
leaq -0xe8(%rbp), %rsi
callq 0x1974
leaq -0x128(%rbp), %rdi
leaq -0x150(%rbp), %rsi
callq 0x1974
movq 0x2f9f(%rip), %rdi      # 0x4fd8
leaq -0xc0(%rbp), %rsi
callq 0x1db7
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 0x1c62
leaq -0x150(%rbp), %rdi
callq 0x147a
leaq -0xe8(%rbp), %rdi
callq 0x147a
leaq -0x1a0(%rbp), %rdi
callq 0x1c62
leaq -0xc0(%rbp), %rdi
callq 0x1c62
leaq -0x128(%rbp), %rdi
callq 0x1858
xorl %eax, %eax
addq $0x188, %rsp            # imm = 0x188
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
jmp 0x2179
movq %rax, %rbx
jmp 0x2185
movq %rax, %rbx
movq -0x38(%rbp), %rdi
cmpq %r14, %rdi
je 0x2191
movq -0x28(%rbp), %rsi
incq %rsi
callq 0x10c0
jmp 0x2191
movq %rax, %rbx
jmp 0x2191
movq %rax, %rbx
jmp 0x219d
movq %rax, %rbx
movq -0x58(%rbp), %rdi
cmpq %r14, %rdi
je 0x21a9
movq -0x48(%rbp), %rsi
incq %rsi
callq 0x10c0
jmp 0x21a9
jmp 0x2165
movq %rax, %rbx
movq -0x78(%rbp), %rdi
cmpq %r15, %rdi
je 0x2148
movq -0x68(%rbp), %rsi
incq %rsi
callq 0x10c0
jmp 0x2148
movq %rax, %rbx
movq -0x98(%rbp), %rdi
cmpq %r14, %rdi
je 0x21b5
movq -0x88(%rbp), %rsi
incq %rsi
callq 0x10c0
jmp 0x21b5
movq %rax, %rbx
jmp 0x21a9
movq %rax, %rbx
leaq -0x178(%rbp), %rdi
callq 0x1c62
leaq -0x150(%rbp), %rdi
callq 0x147a
leaq -0xe8(%rbp), %rdi
callq 0x147a
leaq -0x1a0(%rbp), %rdi
callq 0x1c62
leaq -0xc0(%rbp), %rdi
callq 0x1c62
leaq -0x128(%rbp), %rdi
callq 0x1858
movq %rbx, %rdi
callq 0x10f0
nop