// File: /workspace/github_cpp_makefile_star2_O3/Serfati[P]Heroes-of-Might-and-Magic-3/Army.cpp
// Function: Army::showArmy[abi:cxx11]()
string Army::showArmy() {
    string showArmy = "",t = " \t\r\f\v";
    Creature c;
    for (int i = 5; i >= 0; i --) {
        if ( armyList[i] != 0 ) {
            showArmy += std::to_string(armyList[i]);
            showArmy += " " + c.creaType(i) + " ";
        }
    }
    showArmy.erase(showArmy.find_last_not_of(t) + 1);
    showArmy += ".";
    return showArmy;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xb8, %rsp
movq %rsi, -0xa0(%rbp)
movq %rdi, %rbx
leaq 0x10(%rdi), %r14
movq %r14, (%rdi)
leaq 0x435d(%rip), %rdx      # 0xb52b
movq %rdx, %rsi
callq 0x39b0
leaq -0x80(%rbp), %rax
movq %rax, -0x10(%rax)
leaq 0x4341(%rip), %rsi      # 0xb526
leaq 0x433f(%rip), %rdx      # 0xb52b
leaq -0x90(%rbp), %rdi
movq %rbx, -0x50(%rbp)
movq %r14, -0x98(%rbp)
callq 0x39b0
leaq -0xd8(%rbp), %rdi
callq 0x9ea8
movl $0x5, %r15d
movl $0xd1b71759, %edx       # imm = 0xD1B71759
movq -0xa0(%rbp), %rax
movq (%rax), %rax
movl (%rax,%r15,4), %r13d
testq %r13, %r13
je 0x7404
movl %r13d, %r12d
negl %r12d
cmovsl %r13d, %r12d
movl $0x1, %ebx
cmpl $0xa, %r12d
jb 0x7283
movl $0x4, %ebx
movl %r12d, %eax
cmpl $0x63, %eax
jbe 0x727c
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x7281
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x7283
movl %eax, %ecx
imulq %rdx, %rcx
shrq $0x2d, %rcx
addl $0x4, %ebx
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x724e
addl $-0x3, %ebx
jmp 0x7283
addl $-0x2, %ebx
jmp 0x7283
decl %ebx
shrl $0x1f, %r13d
leal (%rbx,%r13), %esi
leaq -0x38(%rbp), %rax
movq %rax, -0x48(%rbp)
leaq -0x48(%rbp), %rdi
movl $0x2d, %edx
callq 0x32e0
addq -0x48(%rbp), %r13
movq %r13, %rdi
movl %ebx, %esi
movl %r12d, %edx
callq 0x7955
movq -0x48(%rbp), %rsi
movq -0x40(%rbp), %rdx
movq -0x50(%rbp), %rbx
movq %rbx, %rdi
callq 0x30c0
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %r13
cmpq %r13, %rdi
leaq -0x60(%rbp), %r12
je 0x72e3
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3290
leaq -0xc0(%rbp), %r14
movq %r14, %rdi
leaq -0xd8(%rbp), %rsi
movl %r15d, %edx
callq 0xa056
movl $0x1, %r8d
movq %r14, %rdi
xorl %esi, %esi
xorl %edx, %edx
leaq 0x44f5(%rip), %rcx      # 0xb805
callq 0x32b0
movq %r12, -0x70(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x7335
movq %rdx, -0x70(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x60(%rbp)
jmp 0x733d
movups (%rcx), %xmm0
movups %xmm0, (%r12)
movq 0x8(%rax), %rdx
movq %rdx, -0x68(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq -0x70(%rbp), %rdi
leaq 0x44a6(%rip), %rsi      # 0xb805
callq 0x3470
movq %r13, -0x48(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x7384
movq %rdx, -0x48(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x38(%rbp)
jmp 0x738c
movups (%rcx), %xmm0
movups %xmm0, (%r13)
movq 0x8(%rax), %rdx
movq %rdx, -0x40(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq -0x48(%rbp), %rsi
movq -0x40(%rbp), %rdx
movq %rbx, %rdi
callq 0x30c0
movq -0x48(%rbp), %rdi
cmpq %r13, %rdi
je 0x73c8
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3290
movq -0x70(%rbp), %rdi
cmpq %r12, %rdi
je 0x73dd
movq -0x60(%rbp), %rsi
incq %rsi
callq 0x3290
movq -0xc0(%rbp), %rdi
leaq -0xb0(%rbp), %rax
cmpq %rax, %rdi
je 0x73ff
movq -0xb0(%rbp), %rsi
incq %rsi
callq 0x3290
movl $0xd1b71759, %edx       # imm = 0xD1B71759
subq $0x1, %r15
jae 0x721a
movq -0x90(%rbp), %rsi
movq -0x88(%rbp), %rcx
movq %rbx, %rdi
movq $-0x1, %rdx
callq 0x33a0
incq %rax
movq 0x8(%rbx), %rcx
cmpq %rax, %rcx
jb 0x7482
movq %rax, 0x8(%rbx)
movq (%rbx), %rcx
movb $0x0, (%rcx,%rax)
leaq 0x3c52(%rip), %rsi      # 0xb09b
movq %rbx, %rdi
callq 0x3470
movq -0x90(%rbp), %rdi
leaq -0x80(%rbp), %rax
cmpq %rax, %rdi
je 0x746d
movq -0x80(%rbp), %rsi
incq %rsi
callq 0x3290
movq %rbx, %rax
addq $0xb8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x40a3(%rip), %rdi      # 0xb52c
leaq 0x40d3(%rip), %rsi      # 0xb563
movq %rax, %rdx
xorl %eax, %eax
callq 0x3340
jmp 0x74d8
movq %rax, %rbx
jmp 0x753c
jmp 0x74d8
jmp 0x74d8
movq %rax, %rbx
movq -0x48(%rbp), %rdi
cmpq %r13, %rdi
je 0x74e5
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3290
jmp 0x74e5
movq %rax, %rbx
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0x7520
movq -0x38(%rbp), %rsi
jmp 0x7518
movq %rax, %rbx
jmp 0x7520
movq %rax, %rbx
jmp 0x74fe
movq %rax, %rbx
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
cmpq %rax, %rdi
je 0x74fe
movq -0x60(%rbp), %rsi
incq %rsi
callq 0x3290
movq -0xc0(%rbp), %rdi
leaq -0xb0(%rbp), %rax
cmpq %rax, %rdi
je 0x7520
movq -0xb0(%rbp), %rsi
incq %rsi
callq 0x3290
movq -0x90(%rbp), %rdi
leaq -0x80(%rbp), %rax
cmpq %rax, %rdi
je 0x753c
movq -0x80(%rbp), %rsi
incq %rsi
callq 0x3290
movq -0x50(%rbp), %rax
movq (%rax), %rdi
movq -0x98(%rbp), %rax
cmpq %rax, %rdi
je 0x755a
movq (%rax), %rsi
incq %rsi
callq 0x3290
movq %rbx, %rdi
callq 0x3420