// File: /workspace/github_cpp_makefile_star2_O1/brashi[P]PetFera/src/animal/animal.cpp
// Function: Animal::getClasse[abi:cxx11](std::shared_ptr<Animal>, bool)
string Animal::getClasse(shared_ptr<Animal> animal, bool simplificado) {
    if(shared_ptr<Ave> teste = dynamic_pointer_cast< Ave >(animal)) {
        if(simplificado)
            return "ave";
        else
            return "Ave";
    } if(shared_ptr<Anfibio> teste = dynamic_pointer_cast< Anfibio >(animal)) {
        if(simplificado)
            return "anf";
        else
            return "Anfíbio";
    } if(shared_ptr<Reptil> teste = dynamic_pointer_cast< Reptil >(animal)) {
        if(simplificado)
            return "rep";
        else
            return "Réptil";
    } else {
        if(simplificado)
            return "mam";
        else
            return "Mamífero";
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %edx, %ebp
movq %rsi, %r15
movq %rdi, %rbx
movq (%rsi), %rdi
testq %rdi, %rdi
je 0x1848e
leaq 0x149d9(%rip), %rsi     # 0x2ce50
leaq 0x14a12(%rip), %rdx     # 0x2ce90
xorl %ecx, %ecx
callq 0x6300
testq %rax, %rax
setne %r12b
jmp 0x18491
xorl %r12d, %r12d
testb %r12b, %r12b
je 0x184b5
movq 0x8(%r15), %r14
testq %r14, %r14
je 0x184b8
movq 0x15b22(%rip), %rax     # 0x2dfc8
cmpb $0x0, (%rax)
je 0x185d7
incl 0x8(%r14)
jmp 0x184b8
xorl %r14d, %r14d
testb %r12b, %r12b
je 0x184f7
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
testb %bpl, %bpl
je 0x184e1
leaq 0xaadd(%rip), %rsi      # 0x22fad
leaq 0xaad9(%rip), %rdx      # 0x22fb0
movq %rbx, %rdi
callq 0xadd8
jmp 0x184f7
leaq 0xaa91(%rip), %rsi      # 0x22f79
leaq 0xaa8d(%rip), %rdx      # 0x22f7c
movq %rbx, %rdi
callq 0xadd8
testq %r14, %r14
je 0x18504
movq %r14, %rdi
callq 0xafa0
testb %r12b, %r12b
jne 0x18696
movq (%r15), %rdi
testq %rdi, %rdi
je 0x18533
leaq 0x14934(%rip), %rsi     # 0x2ce50
leaq 0x14985(%rip), %rdx     # 0x2cea8
xorl %ecx, %ecx
callq 0x6300
testq %rax, %rax
setne %r12b
jmp 0x18536
xorl %r12d, %r12d
testb %r12b, %r12b
je 0x1855a
movq 0x8(%r15), %r14
testq %r14, %r14
je 0x1855d
movq 0x15a7d(%rip), %rax     # 0x2dfc8
cmpb $0x0, (%rax)
je 0x18607
incl 0x8(%r14)
jmp 0x1855d
xorl %r14d, %r14d
testb %r12b, %r12b
je 0x1859c
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
testb %bpl, %bpl
je 0x18586
leaq 0x8aab(%rip), %rsi      # 0x21020
leaq 0x8aa7(%rip), %rdx      # 0x21023
movq %rbx, %rdi
callq 0xadd8
jmp 0x1859c
leaq 0xa9f0(%rip), %rsi      # 0x22f7d
leaq 0xa9f1(%rip), %rdx      # 0x22f85
movq %rbx, %rdi
callq 0xadd8
testq %r14, %r14
je 0x185a9
movq %r14, %rdi
callq 0xafa0
testb %r12b, %r12b
jne 0x18696
movq (%r15), %rdi
testq %rdi, %rdi
je 0x185e1
leaq 0x1488f(%rip), %rsi     # 0x2ce50
leaq 0x148f8(%rip), %rdx     # 0x2cec0
xorl %ecx, %ecx
callq 0x6300
testq %rax, %rax
sete %al
jmp 0x185e3
lock
incl 0x8(%r14)
jmp 0x184b8
movb $0x1, %al
testb %al, %al
je 0x185ec
xorl %r14d, %r14d
jmp 0x18616
movq 0x8(%r15), %r14
testq %r14, %r14
je 0x18616
movq 0x159cc(%rip), %rcx     # 0x2dfc8
cmpb $0x0, (%rcx)
je 0x18611
incl 0x8(%r14)
jmp 0x18616
lock
incl 0x8(%r14)
jmp 0x1855d
lock
incl 0x8(%r14)
leaq 0x10(%rbx), %rcx
movq %rcx, (%rbx)
testb %al, %al
je 0x1863e
testb %bpl, %bpl
je 0x1865b
leaq 0x89f7(%rip), %rsi      # 0x21024
leaq 0x89f3(%rip), %rdx      # 0x21027
movq %rbx, %rdi
callq 0xadd8
jmp 0x18689
testb %bpl, %bpl
je 0x18673
leaq 0x89de(%rip), %rsi      # 0x21028
leaq 0x89da(%rip), %rdx      # 0x2102b
movq %rbx, %rdi
callq 0xadd8
jmp 0x18689
leaq 0xa057(%rip), %rsi      # 0x226b9
leaq 0xa059(%rip), %rdx      # 0x226c2
movq %rbx, %rdi
callq 0xadd8
jmp 0x18689
leaq 0xa037(%rip), %rsi      # 0x226b1
leaq 0xa037(%rip), %rdx      # 0x226b8
movq %rbx, %rdi
callq 0xadd8
testq %r14, %r14
je 0x18696
movq %r14, %rdi
callq 0xafa0
movq %rbx, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
jmp 0x186b0
jmp 0x186b0
jmp 0x186b0
jmp 0x186b0
jmp 0x186b0
jmp 0x186b0
jmp 0x186b0
movq %rax, %rbx
testq %r14, %r14
je 0x186c0
movq %r14, %rdi
callq 0xafa0
movq %rbx, %rdi
callq 0x6460