// File: /workspace/github_cpp_makefile_star2_O1/malcolmyeh[P]CC3K/phoenix.cc
// Function: Phoenix::dealDamage[abi:cxx11](Character*)
std::string Phoenix::dealDamage(Character *opponent)
{
    double amount;
    std::string combatMsg;
    std::string attacker = this->race;
    int attack = this->Atk;
    int defense = opponent->getDef();

    if (this->stunned)
    {
        this->stunned = false;
        combatMsg = attacker + " is stunned. ";
        return combatMsg;
    }
    if (rand() % 2 == 0)
    {
        combatMsg = attacker + "'s attack missed. ";
        return combatMsg;
    }
    amount = ceil((100.0 / (100.0 + defense)) * attack);

    if (rand() % 5 == 0)
    {
        //rebirth
        opponent->takeDamage((int)amount);
        combatMsg = attacker + " deals " + std::to_string((int)amount) + " damage to you (HP: " + std::to_string(opponent->getHP()) + "). ";
        combatMsg += "Phoenix consumes itself in fire and is reborn (HP: 50). ";
        this->HP = 50;
    }
    else if (rand() % 5 == 1 || rand() % 5 == 2)
    {
        //critical strike
        amount *= 1.25;
        opponent->takeDamage((int)amount);
        combatMsg = attacker + " unleashes its fire energy, dealing " + std::to_string((int)amount) + " damage to you (HP: " + std::to_string(opponent->getHP()) + "). ";
    }
    else
    {
        opponent->takeDamage((int)amount);
        combatMsg = attacker + " deals " + std::to_string((int)amount) + " damage to you (HP: " + std::to_string(opponent->getHP()) + "). ";
    }

    if (opponent->getHP() == 0)
    {
        combatMsg += "You have been slain.";
    }

    return combatMsg;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x118, %rsp            # imm = 0x118
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x10(%rdi), %rax
movq %rax, -0x140(%rbp)
movq %rax, (%rdi)
movq $0x0, 0x8(%rdi)
movb $0x0, 0x10(%rdi)
leaq -0x120(%rbp), %r13
movq %r13, -0x10(%r13)
movq 0x18(%rsi), %rsi
movq 0x20(%r15), %rdx
addq %rsi, %rdx
leaq -0x130(%rbp), %rdi
callq 0xa582
movl 0x8(%r15), %r12d
movq (%r14), %rax
movq %r14, -0xf0(%rbp)
movq %r14, %rdi
callq *0x10(%rax)
cmpb $0x1, 0x39(%r15)
jne 0x11994
movb $0x0, 0x39(%r15)
leaq -0x100(%rbp), %r15
movq %r15, -0x10(%r15)
movq -0x130(%rbp), %rsi
movq -0x128(%rbp), %rdx
addq %rsi, %rdx
leaq -0x110(%rbp), %rdi
callq 0xa582
leaq 0xbfd0(%rip), %rsi      # 0x1d956
leaq -0x110(%rbp), %rdi
callq 0x4280
jmp 0x119db
movl %eax, %r14d
callq 0x4060
testb $0x1, %al
jne 0x11a0d
leaq -0x100(%rbp), %r15
movq %r15, -0x10(%r15)
movq -0x130(%rbp), %rsi
movq -0x128(%rbp), %rdx
addq %rsi, %rdx
leaq -0x110(%rbp), %rdi
callq 0xa582
leaq 0xbf95(%rip), %rsi      # 0x1d964
leaq -0x110(%rbp), %rdi
callq 0x4280
leaq -0x110(%rbp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x41c0
movq (%r14), %rdi
cmpq %r15, %rdi
je 0x127b5
movq -0x100(%rbp), %rsi
incq %rsi
callq 0x4170
jmp 0x127b5
cvtsi2sd %r14d, %xmm0
movsd 0xbefe(%rip), %xmm1     # 0x1d918
addsd %xmm1, %xmm0
divsd %xmm0, %xmm1
xorps %xmm0, %xmm0
cvtsi2sd %r12d, %xmm0
mulsd %xmm1, %xmm0
callq 0x4040
movsd %xmm0, -0x138(%rbp)
callq 0x4060
imull $0xcccccccd, %eax, %eax # imm = 0xCCCCCCCD
addl $0x19999999, %eax       # imm = 0x19999999
cmpl $0x33333332, %eax       # imm = 0x33333332
jbe 0x11b68
callq 0x4060
cltq
imulq $0x66666667, %rax, %rcx # imm = 0x66666667
movq %rcx, %rdx
shrq $0x3f, %rdx
sarq $0x21, %rcx
addl %edx, %ecx
leal (%rcx,%rcx,4), %ecx
subl %ecx, %eax
cmpl $0x1, %eax
movq -0xf0(%rbp), %r14
je 0x11aab
callq 0x4060
cltq
imulq $0x66666667, %rax, %rcx # imm = 0x66666667
movq %rcx, %rdx
shrq $0x3f, %rdx
sarq $0x21, %rcx
addl %edx, %ecx
leal (%rcx,%rcx,4), %ecx
subl %ecx, %eax
cmpl $0x2, %eax
jne 0x11c1d
movsd -0x138(%rbp), %xmm0
mulsd 0xc0f5(%rip), %xmm0     # 0x1dbb0
cvttsd2si %xmm0, %r15d
movq (%r14), %rax
movq %r14, %rdi
movl %r15d, %esi
callq *0x48(%rax)
leaq -0x38(%rbp), %r13
movq %r13, -0x10(%r13)
movq -0x130(%rbp), %rsi
movq -0x128(%rbp), %rdx
addq %rsi, %rdx
leaq -0x48(%rbp), %rdi
callq 0xa582
leaq 0xc104(%rip), %rsi      # 0x1dbf9
leaq -0x48(%rbp), %rdi
callq 0x4280
movl %r15d, %r12d
negl %r12d
cmovsl %r15d, %r12d
movl $0x1, %r14d
cmpl $0xa, %r12d
jb 0x11cd7
movl $0x4, %r14d
movl $0xd1b71759, %eax       # imm = 0xD1B71759
movl %r12d, %ecx
cmpl $0x63, %ecx
jbe 0x11cce
cmpl $0x3e7, %ecx            # imm = 0x3E7
jbe 0x11cd4
cmpl $0x2710, %ecx           # imm = 0x2710
jb 0x11cd7
movl %ecx, %edx
imulq %rax, %rdx
shrq $0x2d, %rdx
addl $0x4, %r14d
cmpl $0x1869f, %ecx          # imm = 0x1869F
movl %edx, %ecx
ja 0x11b26
addl $-0x3, %r14d
jmp 0x11cd7
cvttsd2si -0x138(%rbp), %r12d
movq -0xf0(%rbp), %rdi
movq (%rdi), %rax
movl %r12d, %esi
callq *0x48(%rax)
leaq -0x38(%rbp), %rax
movq %rax, -0x10(%rax)
movq -0x130(%rbp), %rsi
movq -0x128(%rbp), %rdx
addq %rsi, %rdx
leaq -0x48(%rbp), %rdi
callq 0xa582
leaq 0xbdcd(%rip), %rsi      # 0x1d977
leaq -0x48(%rbp), %rdi
callq 0x4280
movl %r12d, %r13d
negl %r13d
cmovsl %r12d, %r13d
movl $0x1, %r14d
cmpl $0xa, %r13d
jb 0x11f9e
movl $0x4, %r14d
movl $0xd1b71759, %eax       # imm = 0xD1B71759
movl %r13d, %ecx
cmpl $0x63, %ecx
jbe 0x11f95
cmpl $0x3e7, %ecx            # imm = 0x3E7
jbe 0x11f9b
cmpl $0x2710, %ecx           # imm = 0x2710
jb 0x11f9e
movl %ecx, %edx
imulq %rax, %rdx
shrq $0x2d, %rdx
addl $0x4, %r14d
cmpl $0x1869f, %ecx          # imm = 0x1869F
movl %edx, %ecx
ja 0x11bdb
addl $-0x3, %r14d
jmp 0x11f9e
cvttsd2si -0x138(%rbp), %r15d
movq (%r14), %rax
movq %r14, %rdi
movl %r15d, %esi
callq *0x48(%rax)
leaq -0x38(%rbp), %r13
movq %r13, -0x10(%r13)
movq -0x130(%rbp), %rsi
movq -0x128(%rbp), %rdx
addq %rsi, %rdx
leaq -0x48(%rbp), %rdi
callq 0xa582
leaq 0xbd1c(%rip), %rsi      # 0x1d977
leaq -0x48(%rbp), %rdi
callq 0x4280
movl %r15d, %r12d
negl %r12d
cmovsl %r15d, %r12d
movl $0x1, %r14d
cmpl $0xa, %r12d
jb 0x123b5
movl $0x4, %r14d
movl $0xd1b71759, %eax       # imm = 0xD1B71759
movl %r12d, %ecx
cmpl $0x63, %ecx
jbe 0x123ac
cmpl $0x3e7, %ecx            # imm = 0x3E7
jbe 0x123b2
cmpl $0x2710, %ecx           # imm = 0x2710
jb 0x123b5
movl %ecx, %edx
imulq %rax, %rdx
shrq $0x2d, %rdx
addl $0x4, %r14d
cmpl $0x1869f, %ecx          # imm = 0x1869F
movl %edx, %ecx
ja 0x11c8c
addl $-0x3, %r14d
jmp 0x123b5
addl $-0x2, %r14d
jmp 0x11cd7
decl %r14d
shrl $0x1f, %r15d
leal (%r14,%r15), %esi
leaq -0x78(%rbp), %rax
movq %rax, -0x10(%rax)
leaq -0x88(%rbp), %rdi
movl $0x2d, %edx
callq 0x41b0
movl %r15d, %edi
addq -0x88(%rbp), %rdi
movl %r14d, %esi
movl %r12d, %edx
callq 0xa510
movq -0x48(%rbp), %rcx
movq -0x40(%rbp), %r8
movq -0x80(%rbp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %esi
cmpq %r13, %rcx
je 0x11d2b
movq -0x38(%rbp), %rsi
cmpq %rsi, %rax
movq -0xf0(%rbp), %r14
jbe 0x11d52
movl $0xf, %esi
leaq -0x78(%rbp), %rdi
cmpq %rdi, -0x88(%rbp)
je 0x11d4d
movq -0x78(%rbp), %rsi
cmpq %rsi, %rax
jbe 0x11d64
movq -0x88(%rbp), %rsi
leaq -0x48(%rbp), %rdi
callq 0x4080
jmp 0x11d74
leaq -0x88(%rbp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x4190
leaq -0x98(%rbp), %rdx
movq %rdx, -0x10(%rdx)
movq (%rax), %rsi
leaq 0x10(%rax), %rcx
cmpq %rcx, %rsi
je 0x11d9e
movq %rsi, -0xa8(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x98(%rbp)
jmp 0x11da6
movupd (%rcx), %xmm0
movupd %xmm0, (%rdx)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, -0xa0(%rbp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0xbbb3(%rip), %rsi      # 0x1d97f
leaq -0xa8(%rbp), %rdi
callq 0x4280
leaq -0xb8(%rbp), %rsi
movq %rsi, -0x10(%rsi)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x11e08
movq %rsi, %r13
movq %rdx, -0xc8(%rbp)
movq (%rcx), %rdx
movq %rdx, -0xb8(%rbp)
jmp 0x11e13
movupd (%rcx), %xmm0
movq %rsi, %r13
movupd %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, -0xc0(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq (%r14), %rax
movq %r14, %rdi
callq *0x18(%rax)
movl %eax, %r12d
movl %eax, %r15d
negl %r15d
cmovsl %eax, %r15d
movl $0x1, %r14d
cmpl $0xa, %r15d
jb 0x11e99
movl $0x4, %r14d
movl $0xd1b71759, %eax       # imm = 0xD1B71759
movl %r15d, %ecx
cmpl $0x63, %ecx
jbe 0x11e90
cmpl $0x3e7, %ecx            # imm = 0x3E7
jbe 0x11e96
cmpl $0x2710, %ecx           # imm = 0x2710
jb 0x11e99
movl %ecx, %edx
imulq %rax, %rdx
shrq $0x2d, %rdx
addl $0x4, %r14d
cmpl $0x1869f, %ecx          # imm = 0x1869F
movl %edx, %ecx
ja 0x11e5d
addl $-0x3, %r14d
jmp 0x11e99
addl $-0x2, %r14d
jmp 0x11e99
decl %r14d
shrl $0x1f, %r12d
leal (%r14,%r12), %esi
leaq -0x58(%rbp), %rax
movq %rax, -0x10(%rax)
leaq -0x68(%rbp), %rdi
movl $0x2d, %edx
callq 0x41b0
movl %r12d, %edi
addq -0x68(%rbp), %rdi
movl %r14d, %esi
movl %r15d, %edx
callq 0xa510
movq -0xc8(%rbp), %rcx
movq -0xc0(%rbp), %r8
movq -0x60(%rbp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %esi
cmpq %r13, %rcx
je 0x11ef0
movq -0xb8(%rbp), %rsi
cmpq %rsi, %rax
jbe 0x11f0d
movl $0xf, %esi
leaq -0x58(%rbp), %rdi
cmpq %rdi, -0x68(%rbp)
je 0x11f08
movq -0x58(%rbp), %rsi
cmpq %rsi, %rax
jbe 0x11f1f
movq -0x68(%rbp), %rsi
leaq -0xc8(%rbp), %rdi
callq 0x4080
jmp 0x11f2c
leaq -0x68(%rbp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x4190
leaq -0xd8(%rbp), %rdx
movq %rdx, -0x10(%rdx)
movq (%rax), %rsi
leaq 0x10(%rax), %rcx
cmpq %rcx, %rsi
je 0x11f56
movq %rsi, -0xe8(%rbp)
movq (%rcx), %rdx
movq %rdx, -0xd8(%rbp)
jmp 0x11f5e
movupd (%rcx), %xmm0
movupd %xmm0, (%rdx)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, -0xe0(%rbp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0xbc71(%rip), %rsi      # 0x1dbf5
leaq -0xe8(%rbp), %rdi
callq 0x4280
jmp 0x1266e
addl $-0x2, %r14d
jmp 0x11f9e
decl %r14d
shrl $0x1f, %r12d
leal (%r14,%r12), %esi
leaq -0x78(%rbp), %rax
movq %rax, -0x10(%rax)
leaq -0x88(%rbp), %rdi
movl $0x2d, %edx
callq 0x41b0
movl %r12d, %edi
addq -0x88(%rbp), %rdi
movl %r14d, %esi
movl %r13d, %edx
callq 0xa510
movq -0x48(%rbp), %rcx
movq -0x40(%rbp), %r8
movq -0x80(%rbp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %esi
leaq -0x38(%rbp), %rdi
cmpq %rdi, %rcx
je 0x11ff6
movq -0x38(%rbp), %rsi
cmpq %rsi, %rax
movq -0xf0(%rbp), %r14
jbe 0x1201d
movl $0xf, %esi
leaq -0x78(%rbp), %rdi
cmpq %rdi, -0x88(%rbp)
je 0x12018
movq -0x78(%rbp), %rsi
cmpq %rsi, %rax
jbe 0x1202f
movq -0x88(%rbp), %rsi
leaq -0x48(%rbp), %rdi
callq 0x4080
jmp 0x1203f
leaq -0x88(%rbp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x4190
leaq -0x98(%rbp), %rdx
movq %rdx, -0x10(%rdx)
movq (%rax), %rsi
leaq 0x10(%rax), %rcx
cmpq %rcx, %rsi
je 0x12069
movq %rsi, -0xa8(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x98(%rbp)
jmp 0x12071
movupd (%rcx), %xmm0
movupd %xmm0, (%rdx)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, -0xa0(%rbp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0xb8e8(%rip), %rsi      # 0x1d97f
leaq -0xa8(%rbp), %rdi
callq 0x4280
leaq -0xb8(%rbp), %rsi
movq %rsi, -0x10(%rsi)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x120d0
movq %rdx, -0xc8(%rbp)
movq (%rcx), %rdx
movq %rdx, -0xb8(%rbp)
jmp 0x120d8
movupd (%rcx), %xmm0
movupd %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, -0xc0(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq (%r14), %rax
movq %r14, %rdi
callq *0x18(%rax)
movl %eax, %r13d
movl %eax, %r12d
negl %r12d
cmovsl %eax, %r12d
movl $0x1, %r14d
cmpl $0xa, %r12d
jb 0x1215e
movl $0x4, %r14d
movl $0xd1b71759, %eax       # imm = 0xD1B71759
movl %r12d, %ecx
cmpl $0x63, %ecx
jbe 0x12155
cmpl $0x3e7, %ecx            # imm = 0x3E7
jbe 0x1215b
cmpl $0x2710, %ecx           # imm = 0x2710
jb 0x1215e
movl %ecx, %edx
imulq %rax, %rdx
shrq $0x2d, %rdx
addl $0x4, %r14d
cmpl $0x1869f, %ecx          # imm = 0x1869F
movl %edx, %ecx
ja 0x12122
addl $-0x3, %r14d
jmp 0x1215e
addl $-0x2, %r14d
jmp 0x1215e
decl %r14d
shrl $0x1f, %r13d
leal (%r14,%r13), %esi
leaq -0x58(%rbp), %rax
movq %rax, -0x10(%rax)
leaq -0x68(%rbp), %rdi
movl $0x2d, %edx
callq 0x41b0
movl %r13d, %edi
addq -0x68(%rbp), %rdi
movl %r14d, %esi
movl %r12d, %edx
callq 0xa510
movq -0xc8(%rbp), %rcx
movq -0xc0(%rbp), %r8
movq -0x60(%rbp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %esi
leaq -0xb8(%rbp), %rdi
cmpq %rdi, %rcx
je 0x121bc
movq -0xb8(%rbp), %rsi
cmpq %rsi, %rax
leaq -0x120(%rbp), %r13
jbe 0x121e0
movl $0xf, %esi
leaq -0x58(%rbp), %rdi
cmpq %rdi, -0x68(%rbp)
je 0x121db
movq -0x58(%rbp), %rsi
cmpq %rsi, %rax
jbe 0x121f2
movq -0x68(%rbp), %rsi
leaq -0xc8(%rbp), %rdi
callq 0x4080
jmp 0x121ff
leaq -0x68(%rbp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x4190
leaq -0xd8(%rbp), %rdx
movq %rdx, -0x10(%rdx)
movq (%rax), %rsi
leaq 0x10(%rax), %rcx
cmpq %rcx, %rsi
je 0x12229
movq %rsi, -0xe8(%rbp)
movq (%rcx), %rdx
movq %rdx, -0xd8(%rbp)
jmp 0x12231
movupd (%rcx), %xmm0
movupd %xmm0, (%rdx)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, -0xe0(%rbp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0xb99e(%rip), %rsi      # 0x1dbf5
leaq -0xe8(%rbp), %rdi
callq 0x4280
leaq -0x100(%rbp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x12291
movq %rdx, -0x110(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x100(%rbp)
jmp 0x1229b
movupd (%rcx), %xmm0
movupd %xmm0, (%r12)
movq 0x8(%rax), %rdx
leaq -0x110(%rbp), %r14
movq %rdx, 0x8(%r14)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq %rbx, %rdi
movq %r14, %rsi
callq 0x41c0
movq (%r14), %rdi
cmpq %r12, %rdi
je 0x122db
movq -0x100(%rbp), %rsi
incq %rsi
callq 0x4170
leaq -0xd8(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x122fa
movq -0xd8(%rbp), %rsi
incq %rsi
callq 0x4170
movq -0x68(%rbp), %rdi
leaq -0x58(%rbp), %rax
cmpq %rax, %rdi
je 0x12313
movq -0x58(%rbp), %rsi
incq %rsi
callq 0x4170
movq -0xc8(%rbp), %rdi
leaq -0xb8(%rbp), %rax
cmpq %rax, %rdi
je 0x12335
movq -0xb8(%rbp), %rsi
incq %rsi
callq 0x4170
leaq -0x98(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x12354
movq -0x98(%rbp), %rsi
incq %rsi
callq 0x4170
movq -0x88(%rbp), %rdi
leaq -0x78(%rbp), %rax
cmpq %rax, %rdi
je 0x12370
movq -0x78(%rbp), %rsi
incq %rsi
callq 0x4170
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0x12389
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x4170
leaq 0xb830(%rip), %rsi      # 0x1dbc0
movq %rbx, %rdi
callq 0x4280
movl $0x32, 0x10(%r15)
movq -0xf0(%rbp), %r14
jmp 0x12799
addl $-0x2, %r14d
jmp 0x123b5
decl %r14d
shrl $0x1f, %r15d
leal (%r14,%r15), %esi
leaq -0x78(%rbp), %rax
movq %rax, -0x10(%rax)
leaq -0x88(%rbp), %rdi
movl $0x2d, %edx
callq 0x41b0
movl %r15d, %edi
addq -0x88(%rbp), %rdi
movl %r14d, %esi
movl %r12d, %edx
callq 0xa510
movq -0x48(%rbp), %rcx
movq -0x40(%rbp), %r8
movq -0x80(%rbp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %esi
cmpq %r13, %rcx
je 0x12409
movq -0x38(%rbp), %rsi
cmpq %rsi, %rax
movq -0xf0(%rbp), %r14
jbe 0x12430
movl $0xf, %esi
leaq -0x78(%rbp), %rdi
cmpq %rdi, -0x88(%rbp)
je 0x1242b
movq -0x78(%rbp), %rsi
cmpq %rsi, %rax
jbe 0x12442
movq -0x88(%rbp), %rsi
leaq -0x48(%rbp), %rdi
callq 0x4080
jmp 0x12452
leaq -0x88(%rbp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x4190
leaq -0x98(%rbp), %rdx
movq %rdx, -0x10(%rdx)
movq (%rax), %rsi
leaq 0x10(%rax), %rcx
cmpq %rcx, %rsi
je 0x1247c
movq %rsi, -0xa8(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x98(%rbp)
jmp 0x12484
movupd (%rcx), %xmm0
movupd %xmm0, (%rdx)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, -0xa0(%rbp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0xb4d5(%rip), %rsi      # 0x1d97f
leaq -0xa8(%rbp), %rdi
callq 0x4280
leaq -0xb8(%rbp), %rsi
movq %rsi, -0x10(%rsi)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x124e6
movq %rsi, %r13
movq %rdx, -0xc8(%rbp)
movq (%rcx), %rdx
movq %rdx, -0xb8(%rbp)
jmp 0x124f1
movupd (%rcx), %xmm0
movq %rsi, %r13
movupd %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, -0xc0(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq (%r14), %rax
movq %r14, %rdi
callq *0x18(%rax)
movl %eax, %r12d
movl %eax, %r15d
negl %r15d
cmovsl %eax, %r15d
movl $0x1, %r14d
cmpl $0xa, %r15d
jb 0x12577
movl $0x4, %r14d
movl $0xd1b71759, %eax       # imm = 0xD1B71759
movl %r15d, %ecx
cmpl $0x63, %ecx
jbe 0x1256e
cmpl $0x3e7, %ecx            # imm = 0x3E7
jbe 0x12574
cmpl $0x2710, %ecx           # imm = 0x2710
jb 0x12577
movl %ecx, %edx
imulq %rax, %rdx
shrq $0x2d, %rdx
addl $0x4, %r14d
cmpl $0x1869f, %ecx          # imm = 0x1869F
movl %edx, %ecx
ja 0x1253b
addl $-0x3, %r14d
jmp 0x12577
addl $-0x2, %r14d
jmp 0x12577
decl %r14d
shrl $0x1f, %r12d
leal (%r14,%r12), %esi
leaq -0x58(%rbp), %rax
movq %rax, -0x10(%rax)
leaq -0x68(%rbp), %rdi
movl $0x2d, %edx
callq 0x41b0
movl %r12d, %edi
addq -0x68(%rbp), %rdi
movl %r14d, %esi
movl %r15d, %edx
callq 0xa510
movq -0xc8(%rbp), %rcx
movq -0xc0(%rbp), %r8
movq -0x60(%rbp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %esi
cmpq %r13, %rcx
je 0x125ce
movq -0xb8(%rbp), %rsi
cmpq %rsi, %rax
jbe 0x125eb
movl $0xf, %esi
leaq -0x58(%rbp), %rdi
cmpq %rdi, -0x68(%rbp)
je 0x125e6
movq -0x58(%rbp), %rsi
cmpq %rsi, %rax
jbe 0x125fd
movq -0x68(%rbp), %rsi
leaq -0xc8(%rbp), %rdi
callq 0x4080
jmp 0x1260a
leaq -0x68(%rbp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x4190
leaq -0xd8(%rbp), %rdx
movq %rdx, -0x10(%rdx)
movq (%rax), %rsi
leaq 0x10(%rax), %rcx
cmpq %rcx, %rsi
je 0x12634
movq %rsi, -0xe8(%rbp)
movq (%rcx), %rdx
movq %rdx, -0xd8(%rbp)
jmp 0x1263c
movupd (%rcx), %xmm0
movupd %xmm0, (%rdx)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, -0xe0(%rbp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0xb593(%rip), %rsi      # 0x1dbf5
leaq -0xe8(%rbp), %rdi
callq 0x4280
leaq -0x100(%rbp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x1269b
movq %rdx, -0x110(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x100(%rbp)
jmp 0x126a4
movupd (%rcx), %xmm0
movupd %xmm0, (%r15)
movq 0x8(%rax), %rdx
leaq -0x110(%rbp), %r14
movq %rdx, 0x8(%r14)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq %rbx, %rdi
movq %r14, %rsi
callq 0x41c0
movq (%r14), %rdi
cmpq %r15, %rdi
je 0x126e4
movq -0x100(%rbp), %rsi
incq %rsi
callq 0x4170
leaq -0xd8(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
movq -0xf0(%rbp), %r14
je 0x1270a
movq -0xd8(%rbp), %rsi
incq %rsi
callq 0x4170
movq -0x68(%rbp), %rdi
leaq -0x58(%rbp), %rax
cmpq %rax, %rdi
je 0x12723
movq -0x58(%rbp), %rsi
incq %rsi
callq 0x4170
movq -0xc8(%rbp), %rdi
cmpq %r13, %rdi
leaq -0x120(%rbp), %r13
je 0x12745
movq -0xb8(%rbp), %rsi
incq %rsi
callq 0x4170
leaq -0x98(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x12764
movq -0x98(%rbp), %rsi
incq %rsi
callq 0x4170
movq -0x88(%rbp), %rdi
leaq -0x78(%rbp), %rax
cmpq %rax, %rdi
je 0x12780
movq -0x78(%rbp), %rsi
incq %rsi
callq 0x4170
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0x12799
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x4170
movq (%r14), %rax
movq %r14, %rdi
callq *0x18(%rax)
testl %eax, %eax
jne 0x127b5
leaq 0xb1e7(%rip), %rsi      # 0x1d994
movq %rbx, %rdi
callq 0x4280
movq -0x130(%rbp), %rdi
cmpq %r13, %rdi
je 0x127d0
movq -0x120(%rbp), %rsi
incq %rsi
callq 0x4170
movq %rbx, %rax
addq $0x118, %rsp            # imm = 0x118
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x1285d
jmp 0x12881
jmp 0x1289f
jmp 0x128a4
jmp 0x128a9
jmp 0x128b1
jmp 0x1297a
jmp 0x128e3
movq %rax, %r14
leaq -0xd8(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x12831
movq -0xd8(%rbp), %rsi
incq %rsi
callq 0x4170
jmp 0x12831
movq %rax, %r14
movq -0x68(%rbp), %rdi
leaq -0x58(%rbp), %rax
cmpq %rax, %rdi
je 0x128ce
movq -0x58(%rbp), %rsi
incq %rsi
callq 0x4170
jmp 0x128ce
jmp 0x1289f
jmp 0x128a4
jmp 0x128a9
jmp 0x128a9
jmp 0x1297a
movq %rax, %r14
leaq -0xd8(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x12884
movq -0xd8(%rbp), %rsi
incq %rsi
callq 0x4170
jmp 0x12884
movq %rax, %r14
movq -0x68(%rbp), %rdi
leaq -0x58(%rbp), %rax
cmpq %rax, %rdi
je 0x128e6
movq -0x58(%rbp), %rsi
incq %rsi
callq 0x4170
jmp 0x128e6
movq %rax, %r14
jmp 0x12901
movq %rax, %r14
jmp 0x12920
movq %rax, %r14
jmp 0x1293c
movq %rax, %r14
movq -0x48(%rbp), %rdi
cmpq %r13, %rdi
jne 0x12949
jmp 0x1297d
jmp 0x1297a
movq %rax, %r14
movq -0xc8(%rbp), %rdi
leaq -0xb8(%rbp), %rax
cmpq %rax, %rdi
jne 0x128f2
jmp 0x12901
movq %rax, %r14
movq -0xc8(%rbp), %rdi
cmpq %r13, %rdi
je 0x12901
movq -0xb8(%rbp), %rsi
incq %rsi
callq 0x4170
leaq -0x98(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x12920
movq -0x98(%rbp), %rsi
incq %rsi
callq 0x4170
movq -0x88(%rbp), %rdi
leaq -0x78(%rbp), %rax
cmpq %rax, %rdi
je 0x1293c
movq -0x78(%rbp), %rsi
incq %rsi
callq 0x4170
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0x1297d
movq -0x38(%rbp), %rsi
jmp 0x12969
jmp 0x12953
jmp 0x1297a
movq %rax, %r14
movq -0x110(%rbp), %rdi
cmpq %r15, %rdi
je 0x1297d
movq -0x100(%rbp), %rsi
incq %rsi
callq 0x4170
jmp 0x1297d
jmp 0x1297a
movq %rax, %r14
jmp 0x1299f
movq %rax, %r14
movq -0x130(%rbp), %rdi
leaq -0x120(%rbp), %rax
cmpq %rax, %rdi
je 0x1299f
movq -0x120(%rbp), %rsi
incq %rsi
callq 0x4170
movq (%rbx), %rdi
cmpq -0x140(%rbp), %rdi
je 0x129bd
movq -0x140(%rbp), %rax
movq (%rax), %rsi
incq %rsi
callq 0x4170
movq %r14, %rdi
callq 0x4250
nopl (%rax)