// File: /workspace/github_cpp_makefile_star2_O3/malcolmyeh[P]CC3K/elf.cc
// Function: Elf::dealDamage[abi:cxx11](Character*)
std::string Elf::dealDamage(Character *opponent)
{
    double amount;
    std::string combatMsg;
    std::string defender = opponent->getRace();
    int attack = this->Atk;
    int defense = opponent->getDef();

    if (this->HP < 35)
    {
        if (rand() % 2 == 0)
        {
            this->heal(15); 
            combatMsg += "Elven magic restored 15 health (HP: " + std::to_string(this->HP) + "). ";
        }
    }
    amount = ceil((100.0 / (100.0 + defense)) * attack);

    if (rand() % 10 == 0)
    {
        opponent->getStunned();
        opponent->takeDamage((int)amount);
        combatMsg += "You cast Shockwave dealing " + std::to_string((int)amount) + " damage to " + defender + " (HP: " + std::to_string(opponent->getHP()) + ") and stunning them. ";
    }
    else
    {
        opponent->takeDamage((int)amount);
        combatMsg += "You deal " + std::to_string((int)amount) + " damage to " + defender + " (HP: " + std::to_string(opponent->getHP()) + "). ";
    }
    if (opponent->getHP() == 0)
    {
        combatMsg += defender + " has been slain. You have earned " + std::to_string(opponent->getGold()) + " gold. ";
        this->updateGold(opponent->getGold());
    }

    return combatMsg;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x148, %rsp            # imm = 0x148
movq %rdx, %r14
movq %rsi, %rbx
leaq 0x10(%rdi), %rax
movq %rax, -0x148(%rbp)
movq %rax, (%rdi)
movq $0x0, 0x8(%rdi)
movq %rdi, -0xb8(%rbp)
movb $0x0, 0x10(%rdi)
movq (%rdx), %rax
leaq -0x168(%rbp), %rdi
movq %rdx, %rsi
callq *0x28(%rax)
movl 0x8(%rbx), %r15d
movq (%r14), %rax
movq %r14, %rdi
callq *0x10(%rax)
movl %eax, %r12d
cmpl $0x22, 0x10(%rbx)
movq %rbx, -0x170(%rbp)
movq %r14, -0xb0(%rbp)
jg 0xe8c4
callq 0x4060
testb $0x1, %al
jne 0xe8c4
movq %rbx, %rdi
movl $0xf, %esi
callq 0xb54e
movl 0x10(%rbx), %r13d
movl %r13d, %r14d
negl %r14d
cmovsl %r13d, %r14d
movl $0x1, %ebx
cmpl $0xa, %r14d
jb 0xe76d
movl $0x4, %ebx
movl $0xd1b71759, %eax       # imm = 0xD1B71759
movl %r14d, %ecx
cmpl $0x63, %ecx
jbe 0xe766
cmpl $0x3e7, %ecx            # imm = 0x3E7
jbe 0xe76b
cmpl $0x2710, %ecx           # imm = 0x2710
jb 0xe76d
movl %ecx, %edx
imulq %rax, %rdx
shrq $0x2d, %rdx
addl $0x4, %ebx
cmpl $0x1869f, %ecx          # imm = 0x1869F
movl %edx, %ecx
ja 0xe735
addl $-0x3, %ebx
jmp 0xe76d
addl $-0x2, %ebx
jmp 0xe76d
decl %ebx
movl %r15d, -0xe0(%rbp)
shrl $0x1f, %r13d
leal (%rbx,%r13), %esi
leaq -0x58(%rbp), %rax
movq %rax, -0x10(%rax)
leaq -0x68(%rbp), %rdi
movl $0x2d, %edx
callq 0x41b0
leaq -0x68(%rbp), %r15
addq (%r15), %r13
movq %r13, %rdi
movl %ebx, %esi
movl %r14d, %edx
callq 0xa44c
leaq 0xf254(%rip), %rcx      # 0x1da01
movl $0x24, %r8d
movq %r15, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x4190
leaq -0x38(%rbp), %rbx
movq %rbx, -0x10(%rbx)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
movq -0xb0(%rbp), %r14
je 0xe7ea
movq %rdx, -0x48(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x38(%rbp)
jmp 0xe7f2
movupd (%rcx), %xmm0
movupd %xmm0, (%rbx)
movq 0x8(%rax), %rdx
leaq -0x48(%rbp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0xf3e1(%rip), %rsi      # 0x1dbf5
callq 0x4280
leaq -0x78(%rbp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0xe840
movq %rdx, -0x88(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x78(%rbp)
jmp 0xe849
movupd (%rcx), %xmm0
movupd %xmm0, (%r15)
movq 0x8(%rax), %rdx
movq %rdx, -0x80(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq -0x88(%rbp), %rsi
movq -0x80(%rbp), %rdx
movq -0xb8(%rbp), %rdi
callq 0x4080
movq -0x88(%rbp), %rdi
cmpq %r15, %rdi
je 0xe88f
movq -0x78(%rbp), %rsi
incq %rsi
callq 0x4170
movq -0x48(%rbp), %rdi
cmpq %rbx, %rdi
movl -0xe0(%rbp), %r15d
je 0xe8ab
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x4170
movq -0x68(%rbp), %rdi
leaq -0x58(%rbp), %rax
cmpq %rax, %rdi
je 0xe8c4
movq -0x58(%rbp), %rsi
incq %rsi
callq 0x4170
xorps %xmm0, %xmm0
cvtsi2sd %r12d, %xmm0
movsd 0xf044(%rip), %xmm1     # 0x1d918
addsd %xmm1, %xmm0
divsd %xmm0, %xmm1
xorps %xmm0, %xmm0
cvtsi2sd %r15d, %xmm0
mulsd %xmm1, %xmm0
callq 0x4040
movsd %xmm0, -0xe0(%rbp)
callq 0x4060
imull $0xcccccccd, %eax, %eax # imm = 0xCCCCCCCD
movl $0x19999998, %ecx       # imm = 0x19999998
addl %ecx, %eax
rorl %eax
cmpl %ecx, %eax
jbe 0xe988
cvttsd2si -0xe0(%rbp), %r12d
movq (%r14), %rax
movq %r14, %rdi
movl %r12d, %esi
callq *0x48(%rax)
movl %r12d, %r14d
negl %r14d
cmovsl %r12d, %r14d
movl $0x1, %ebx
cmpl $0xa, %r14d
jb 0xea12
movl $0x4, %ebx
movl $0xd1b71759, %eax       # imm = 0xD1B71759
movl %r14d, %ecx
cmpl $0x63, %ecx
jbe 0xea0b
cmpl $0x3e7, %ecx            # imm = 0x3E7
jbe 0xea10
cmpl $0x2710, %ecx           # imm = 0x2710
jb 0xea12
movl %ecx, %edx
imulq %rax, %rdx
shrq $0x2d, %rdx
addl $0x4, %ebx
cmpl $0x1869f, %ecx          # imm = 0x1869F
movl %edx, %ecx
ja 0xe948
addl $-0x3, %ebx
jmp 0xea12
movq %r14, %rdi
callq 0xaaf0
cvttsd2si -0xe0(%rbp), %r12d
movq (%r14), %rax
movq %r14, %rdi
movl %r12d, %esi
callq *0x48(%rax)
movl %r12d, %r14d
negl %r14d
cmovsl %r12d, %r14d
movl $0x1, %ebx
cmpl $0xa, %r14d
jb 0xed8d
movl $0x4, %ebx
movl $0xd1b71759, %eax       # imm = 0xD1B71759
movl %r14d, %ecx
cmpl $0x63, %ecx
jbe 0xed86
cmpl $0x3e7, %ecx            # imm = 0x3E7
jbe 0xed8b
cmpl $0x2710, %ecx           # imm = 0x2710
jb 0xed8d
movl %ecx, %edx
imulq %rax, %rdx
shrq $0x2d, %rdx
addl $0x4, %ebx
cmpl $0x1869f, %ecx          # imm = 0x1869F
movl %edx, %ecx
ja 0xe9cb
addl $-0x3, %ebx
jmp 0xed8d
addl $-0x2, %ebx
jmp 0xea12
decl %ebx
shrl $0x1f, %r12d
leal (%rbx,%r12), %esi
leaq -0x130(%rbp), %rax
movq %rax, -0x10(%rax)
leaq -0x140(%rbp), %rdi
movl $0x2d, %edx
callq 0x41b0
movl %r12d, %edi
leaq -0x140(%rbp), %r15
addq (%r15), %rdi
movl %ebx, %esi
movl %r14d, %edx
callq 0xa44c
leaq 0xef88(%rip), %rcx      # 0x1d9dc
movl $0x9, %r8d
movq %r15, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x4190
leaq -0xf0(%rbp), %rsi
movq %rsi, -0x10(%rsi)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0xea93
movq %rdx, -0x100(%rbp)
movq (%rcx), %rdx
movq %rdx, -0xf0(%rbp)
jmp 0xea9b
movupd (%rcx), %xmm0
movupd %xmm0, (%rsi)
movq 0x8(%rax), %rdx
leaq -0x100(%rbp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0xee60(%rip), %rsi      # 0x1d920
callq 0x4280
leaq -0x110(%rbp), %rsi
movq %rsi, -0x10(%rsi)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0xeaf2
movq %rdx, -0x120(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x110(%rbp)
jmp 0xeafa
movupd (%rcx), %xmm0
movupd %xmm0, (%rsi)
movq 0x8(%rax), %rdx
leaq -0x120(%rbp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq -0x168(%rbp), %rsi
movq -0x160(%rbp), %rdx
callq 0x4080
leaq -0x98(%rbp), %rsi
movq %rsi, -0x10(%rsi)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0xeb58
movq %rdx, -0xa8(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x98(%rbp)
jmp 0xeb60
movupd (%rcx), %xmm0
movupd %xmm0, (%rsi)
movq 0x8(%rax), %rdx
leaq -0xa8(%rbp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0xf10d(%rip), %rsi      # 0x1dc92
callq 0x4280
leaq -0x58(%rbp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0xebae
movq %rdx, -0x68(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x58(%rbp)
jmp 0xebb8
movupd (%rcx), %xmm0
movupd %xmm0, (%r13)
movq 0x8(%rax), %rdx
movq %rdx, -0x60(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq -0xb0(%rbp), %rdi
movq (%rdi), %rax
callq *0x18(%rax)
movl %eax, %r12d
movl %eax, %r14d
negl %r14d
cmovsl %eax, %r14d
movl $0x1, %ebx
cmpl $0xa, %r14d
jb 0xec39
movl $0x4, %ebx
movl $0xd1b71759, %eax       # imm = 0xD1B71759
movl %r14d, %ecx
cmpl $0x63, %ecx
jbe 0xec32
cmpl $0x3e7, %ecx            # imm = 0x3E7
jbe 0xec37
cmpl $0x2710, %ecx           # imm = 0x2710
jb 0xec39
movl %ecx, %edx
imulq %rax, %rdx
shrq $0x2d, %rdx
addl $0x4, %ebx
cmpl $0x1869f, %ecx          # imm = 0x1869F
movl %edx, %ecx
ja 0xec01
addl $-0x3, %ebx
jmp 0xec39
addl $-0x2, %ebx
jmp 0xec39
decl %ebx
shrl $0x1f, %r12d
leal (%rbx,%r12), %esi
leaq -0xc8(%rbp), %r15
movq %r15, -0x10(%r15)
leaq -0xd8(%rbp), %rdi
movl $0x2d, %edx
callq 0x41b0
movl %r12d, %edi
addq -0xd8(%rbp), %rdi
movl %ebx, %esi
movl %r14d, %edx
callq 0xa44c
movq -0x68(%rbp), %rcx
movq -0x60(%rbp), %r8
movq -0xd0(%rbp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %edi
cmpq %r13, %rcx
je 0xec92
movq -0x58(%rbp), %rdi
movq -0xd8(%rbp), %rsi
cmpq %rdi, %rax
jbe 0xecb4
movl $0xf, %edi
cmpq %r15, %rsi
je 0xecaf
movq -0xc8(%rbp), %rdi
cmpq %rdi, %rax
jbe 0xecbf
leaq -0x68(%rbp), %rdi
callq 0x4080
jmp 0xeccf
leaq -0xd8(%rbp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x4190
leaq -0x38(%rbp), %rdx
movq %rdx, -0x10(%rdx)
movq (%rax), %rsi
leaq 0x10(%rax), %rcx
cmpq %rcx, %rsi
je 0xecf0
movq %rsi, -0x48(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x38(%rbp)
jmp 0xecf8
movupd (%rcx), %xmm0
movupd %xmm0, (%rdx)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, -0x40(%rbp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0xeeda(%rip), %rsi      # 0x1dbf5
leaq -0x48(%rbp), %rdi
callq 0x4280
leaq -0x78(%rbp), %rbx
movq %rbx, -0x10(%rbx)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0xed4b
movq %rdx, -0x88(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x78(%rbp)
jmp 0xed53
movupd (%rcx), %xmm0
movupd %xmm0, (%rbx)
movq 0x8(%rax), %rdx
movq %rdx, -0x80(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq -0x88(%rbp), %rsi
movq -0x80(%rbp), %rdx
movq -0xb8(%rbp), %rdi
callq 0x4080
jmp 0xf0fc
addl $-0x2, %ebx
jmp 0xed8d
decl %ebx
shrl $0x1f, %r12d
leal (%rbx,%r12), %esi
leaq -0x130(%rbp), %rax
movq %rax, -0x10(%rax)
leaq -0x140(%rbp), %rdi
movl $0x2d, %edx
callq 0x41b0
movl %r12d, %edi
leaq -0x140(%rbp), %r15
addq (%r15), %rdi
movl %ebx, %esi
movl %r14d, %edx
callq 0xa44c
leaq 0xec57(%rip), %rcx      # 0x1da26
movl $0x1b, %r8d
movq %r15, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x4190
leaq -0xf0(%rbp), %rsi
movq %rsi, -0x10(%rsi)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0xee0e
movq %rdx, -0x100(%rbp)
movq (%rcx), %rdx
movq %rdx, -0xf0(%rbp)
jmp 0xee16
movupd (%rcx), %xmm0
movupd %xmm0, (%rsi)
movq 0x8(%rax), %rdx
leaq -0x100(%rbp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0xeae5(%rip), %rsi      # 0x1d920
callq 0x4280
leaq -0x110(%rbp), %rsi
movq %rsi, -0x10(%rsi)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0xee6d
movq %rdx, -0x120(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x110(%rbp)
jmp 0xee75
movupd (%rcx), %xmm0
movupd %xmm0, (%rsi)
movq 0x8(%rax), %rdx
leaq -0x120(%rbp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq -0x168(%rbp), %rsi
movq -0x160(%rbp), %rdx
callq 0x4080
leaq -0x98(%rbp), %rsi
movq %rsi, -0x10(%rsi)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0xeed3
movq %rdx, -0xa8(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x98(%rbp)
jmp 0xeedb
movupd (%rcx), %xmm0
movupd %xmm0, (%rsi)
movq 0x8(%rax), %rdx
leaq -0xa8(%rbp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0xed92(%rip), %rsi      # 0x1dc92
callq 0x4280
leaq -0x58(%rbp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0xef29
movq %rdx, -0x68(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x58(%rbp)
jmp 0xef33
movupd (%rcx), %xmm0
movupd %xmm0, (%r13)
movq 0x8(%rax), %rdx
movq %rdx, -0x60(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq -0xb0(%rbp), %rdi
movq (%rdi), %rax
callq *0x18(%rax)
movl %eax, %r12d
movl %eax, %r14d
negl %r14d
cmovsl %eax, %r14d
movl $0x1, %ebx
cmpl $0xa, %r14d
jb 0xefb4
movl $0x4, %ebx
movl $0xd1b71759, %eax       # imm = 0xD1B71759
movl %r14d, %ecx
cmpl $0x63, %ecx
jbe 0xefad
cmpl $0x3e7, %ecx            # imm = 0x3E7
jbe 0xefb2
cmpl $0x2710, %ecx           # imm = 0x2710
jb 0xefb4
movl %ecx, %edx
imulq %rax, %rdx
shrq $0x2d, %rdx
addl $0x4, %ebx
cmpl $0x1869f, %ecx          # imm = 0x1869F
movl %edx, %ecx
ja 0xef7c
addl $-0x3, %ebx
jmp 0xefb4
addl $-0x2, %ebx
jmp 0xefb4
decl %ebx
shrl $0x1f, %r12d
leal (%rbx,%r12), %esi
leaq -0xc8(%rbp), %r15
movq %r15, -0x10(%r15)
leaq -0xd8(%rbp), %rdi
movl $0x2d, %edx
callq 0x41b0
movl %r12d, %edi
addq -0xd8(%rbp), %rdi
movl %ebx, %esi
movl %r14d, %edx
callq 0xa44c
movq -0x68(%rbp), %rcx
movq -0x60(%rbp), %r8
movq -0xd0(%rbp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %edi
cmpq %r13, %rcx
je 0xf00d
movq -0x58(%rbp), %rdi
movq -0xd8(%rbp), %rsi
cmpq %rdi, %rax
jbe 0xf02f
movl $0xf, %edi
cmpq %r15, %rsi
je 0xf02a
movq -0xc8(%rbp), %rdi
cmpq %rdi, %rax
jbe 0xf03a
leaq -0x68(%rbp), %rdi
callq 0x4080
jmp 0xf04a
leaq -0xd8(%rbp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x4190
leaq -0x38(%rbp), %rdx
movq %rdx, -0x10(%rdx)
movq (%rax), %rsi
leaq 0x10(%rax), %rcx
cmpq %rcx, %rsi
je 0xf06b
movq %rsi, -0x48(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x38(%rbp)
jmp 0xf073
movupd (%rcx), %xmm0
movupd %xmm0, (%rdx)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, -0x40(%rbp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0xe9ac(%rip), %rsi      # 0x1da42
leaq -0x48(%rbp), %rdi
callq 0x4280
leaq -0x78(%rbp), %rbx
movq %rbx, -0x10(%rbx)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0xf0c6
movq %rdx, -0x88(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x78(%rbp)
jmp 0xf0ce
movupd (%rcx), %xmm0
movupd %xmm0, (%rbx)
movq 0x8(%rax), %rdx
movq %rdx, -0x80(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq -0x88(%rbp), %rsi
movq -0x80(%rbp), %rdx
movq -0xb8(%rbp), %rdi
callq 0x4080
movq -0x88(%rbp), %rdi
cmpq %rbx, %rdi
je 0xf114
movq -0x78(%rbp), %rsi
incq %rsi
callq 0x4170
leaq -0x38(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xf12d
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x4170
movq -0xd8(%rbp), %rdi
cmpq %r15, %rdi
je 0xf148
movq -0xc8(%rbp), %rsi
incq %rsi
callq 0x4170
movq -0x68(%rbp), %rdi
cmpq %r13, %rdi
je 0xf15d
movq -0x58(%rbp), %rsi
incq %rsi
callq 0x4170
movq -0xa8(%rbp), %rdi
leaq -0x98(%rbp), %rax
cmpq %rax, %rdi
movq -0xb0(%rbp), %rbx
leaq -0x130(%rbp), %r14
je 0xf18d
movq -0x98(%rbp), %rsi
incq %rsi
callq 0x4170
movq -0x120(%rbp), %rdi
leaq -0x110(%rbp), %rax
cmpq %rax, %rdi
je 0xf1af
movq -0x110(%rbp), %rsi
incq %rsi
callq 0x4170
movq -0x100(%rbp), %rdi
leaq -0xf0(%rbp), %rax
cmpq %rax, %rdi
je 0xf1d1
movq -0xf0(%rbp), %rsi
incq %rsi
callq 0x4170
movq -0x140(%rbp), %rdi
cmpq %r14, %rdi
je 0xf1ec
movq -0x130(%rbp), %rsi
incq %rsi
callq 0x4170
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x18(%rax)
testl %eax, %eax
jne 0xf45f
leaq -0x58(%rbp), %r15
movq %r15, -0x10(%r15)
movq -0x168(%rbp), %rsi
movq -0x160(%rbp), %rdx
addq %rsi, %rdx
leaq -0x68(%rbp), %rdi
callq 0xa4be
leaq 0xe706(%rip), %rsi      # 0x1d92c
leaq -0x68(%rbp), %rdi
callq 0x4280
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x20(%rax)
movl %eax, %r12d
movl %eax, %r14d
negl %r14d
cmovsl %eax, %r14d
movl $0x1, %ebx
cmpl $0xa, %r14d
jb 0xf295
movl $0x4, %ebx
movl $0xd1b71759, %eax       # imm = 0xD1B71759
movl %r14d, %ecx
cmpl $0x63, %ecx
jbe 0xf28e
cmpl $0x3e7, %ecx            # imm = 0x3E7
jbe 0xf293
cmpl $0x2710, %ecx           # imm = 0x2710
jb 0xf295
movl %ecx, %edx
imulq %rax, %rdx
shrq $0x2d, %rdx
addl $0x4, %ebx
cmpl $0x1869f, %ecx          # imm = 0x1869F
movl %edx, %ecx
ja 0xf25d
addl $-0x3, %ebx
jmp 0xf295
addl $-0x2, %ebx
jmp 0xf295
decl %ebx
shrl $0x1f, %r12d
leal (%rbx,%r12), %esi
leaq -0x98(%rbp), %r13
movq %r13, -0x10(%r13)
leaq -0xa8(%rbp), %rdi
movl $0x2d, %edx
callq 0x41b0
movl %r12d, %edi
addq -0xa8(%rbp), %rdi
movl %ebx, %esi
movl %r14d, %edx
callq 0xa44c
movq -0x68(%rbp), %rcx
movq -0x60(%rbp), %r8
movq -0xa0(%rbp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %edi
cmpq %r15, %rcx
je 0xf2ee
movq -0x58(%rbp), %rdi
movq -0xa8(%rbp), %rsi
cmpq %rdi, %rax
jbe 0xf310
movl $0xf, %edi
cmpq %r13, %rsi
je 0xf30b
movq -0x98(%rbp), %rdi
cmpq %rdi, %rax
jbe 0xf31b
leaq -0x68(%rbp), %rdi
callq 0x4080
jmp 0xf32b
leaq -0xa8(%rbp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x4190
leaq -0x38(%rbp), %rdx
movq %rdx, -0x10(%rdx)
movq (%rax), %rsi
leaq 0x10(%rax), %rcx
cmpq %rcx, %rsi
je 0xf34c
movq %rsi, -0x48(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x38(%rbp)
jmp 0xf354
movupd (%rcx), %xmm0
movupd %xmm0, (%rdx)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, -0x40(%rbp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0xdfeb(%rip), %rsi      # 0x1d362
leaq -0x48(%rbp), %rdi
callq 0x4280
leaq -0x78(%rbp), %rbx
movq %rbx, -0x10(%rbx)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0xf3a7
movq %rdx, -0x88(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x78(%rbp)
jmp 0xf3af
movupd (%rcx), %xmm0
movupd %xmm0, (%rbx)
movq 0x8(%rax), %rdx
movq %rdx, -0x80(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq -0x88(%rbp), %rsi
movq -0x80(%rbp), %rdx
movq -0xb8(%rbp), %rdi
callq 0x4080
movq -0x88(%rbp), %rdi
cmpq %rbx, %rdi
je 0xf3f5
movq -0x78(%rbp), %rsi
incq %rsi
callq 0x4170
leaq -0x38(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xf40e
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x4170
movq -0xa8(%rbp), %rdi
cmpq %r13, %rdi
je 0xf429
movq -0x98(%rbp), %rsi
incq %rsi
callq 0x4170
movq -0x68(%rbp), %rdi
cmpq %r15, %rdi
movq -0x170(%rbp), %rbx
movq -0xb0(%rbp), %r14
je 0xf44c
movq -0x58(%rbp), %rsi
incq %rsi
callq 0x4170
movq (%r14), %rax
movq %r14, %rdi
callq *0x20(%rax)
movq (%rbx), %rcx
movq %rbx, %rdi
movl %eax, %esi
callq *(%rcx)
leaq -0x158(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xf47e
movq -0x158(%rbp), %rsi
incq %rsi
callq 0x4170
movq -0xb8(%rbp), %rax
addq $0x148, %rsp            # imm = 0x148
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq -0x88(%rbp), %rdi
cmpq %r15, %rdi
je 0xf4b7
movq -0x78(%rbp), %rsi
incq %rsi
callq 0x4170
jmp 0xf4b7
movq %rax, %r14
movq -0x48(%rbp), %rdi
cmpq %rbx, %rdi
je 0xf4d1
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x4170
jmp 0xf4d1
movq %rax, %r14
movq -0x68(%rbp), %rdi
leaq -0x58(%rbp), %rax
cmpq %rax, %rdi
jne 0xf5f5
jmp 0xf6ad
jmp 0xf6aa
movq %rax, %r14
movq -0x88(%rbp), %rdi
cmpq %rbx, %rdi
je 0xf50c
movq -0x78(%rbp), %rsi
incq %rsi
callq 0x4170
jmp 0xf50c
movq %rax, %r14
leaq -0x38(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xf52a
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x4170
jmp 0xf52a
movq %rax, %r14
movq -0xa8(%rbp), %rdi
cmpq %r13, %rdi
je 0xf5e8
movq -0x98(%rbp), %rsi
incq %rsi
callq 0x4170
jmp 0xf5e8
jmp 0xf5e5
jmp 0xf6aa
jmp 0xf56b
jmp 0xf588
jmp 0xf5a6
jmp 0xf5c6
jmp 0xf5cb
jmp 0xf5d0
jmp 0xf5d8
jmp 0xf6aa
movq %rax, %r14
movq -0x88(%rbp), %rdi
cmpq %rbx, %rdi
je 0xf58b
movq -0x78(%rbp), %rsi
incq %rsi
callq 0x4170
jmp 0xf58b
movq %rax, %r14
leaq -0x38(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xf5a9
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x4170
jmp 0xf5a9
movq %rax, %r14
movq -0xd8(%rbp), %rdi
cmpq %r15, %rdi
je 0xf60b
movq -0xc8(%rbp), %rsi
incq %rsi
callq 0x4170
jmp 0xf60b
movq %rax, %r14
jmp 0xf620
movq %rax, %r14
jmp 0xf642
movq %rax, %r14
jmp 0xf664
movq %rax, %r14
jmp 0xf686
jmp 0xf6aa
movq %rax, %r14
movq -0x68(%rbp), %rdi
cmpq %r15, %rdi
je 0xf6ad
movq -0x58(%rbp), %rsi
jmp 0xf6a0
jmp 0xf608
movq %rax, %r14
jmp 0xf6cc
movq %rax, %r14
movq -0x68(%rbp), %rdi
cmpq %r13, %rdi
je 0xf620
movq -0x58(%rbp), %rsi
incq %rsi
callq 0x4170
movq -0xa8(%rbp), %rdi
leaq -0x98(%rbp), %rax
cmpq %rax, %rdi
je 0xf642
movq -0x98(%rbp), %rsi
incq %rsi
callq 0x4170
movq -0x120(%rbp), %rdi
leaq -0x110(%rbp), %rax
cmpq %rax, %rdi
je 0xf664
movq -0x110(%rbp), %rsi
incq %rsi
callq 0x4170
movq -0x100(%rbp), %rdi
leaq -0xf0(%rbp), %rax
cmpq %rax, %rdi
je 0xf686
movq -0xf0(%rbp), %rsi
incq %rsi
callq 0x4170
movq -0x140(%rbp), %rdi
leaq -0x130(%rbp), %rax
cmpq %rax, %rdi
je 0xf6ad
movq -0x130(%rbp), %rsi
incq %rsi
callq 0x4170
jmp 0xf6ad
movq %rax, %r14
leaq -0x158(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xf6cc
movq -0x158(%rbp), %rsi
incq %rsi
callq 0x4170
movq -0xb8(%rbp), %rax
movq (%rax), %rdi
cmpq -0x148(%rbp), %rdi
je 0xf6f1
movq -0x148(%rbp), %rax
movq (%rax), %rsi
incq %rsi
callq 0x4170
movq %r14, %rdi
callq 0x4250
nopl (%rax)