// File: /workspace/github_cpp_makefile_star2_O1/sagardoshi[P]NegotiationsEncounter/src/Encounter.cpp
// Function: Encounter::printScore()
void Encounter::printScore() {
    string startedWith = player->toPreciseString(startInvValue);
    string gaveAway = player->toPreciseString(offerInvValue);
    string endedWith = player->toPreciseString(endInvValue);

    string border = "***** ENCOUNTER SCORE *****\n";
    string scoreText  = "You began with an inventory of market value: ";
           scoreText += (startInvValue >= 10 ? "" : " ");
           scoreText += "£" + startedWith + "\n";
           scoreText += "You gave away a total market value of:       ";
           scoreText += (offerInvValue >= 10 ? "" : " ");
           scoreText += "£" + gaveAway + "\n";
           scoreText += "You ended with an inventory of market value: ";
           scoreText += (endInvValue >= 10 ? "" : " ");
           scoreText += "£" + endedWith + "\n";

    cout << border << scoreText << border << endl;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xe8, %rsp
movq %rdi, %rbx
movq 0x10(%rdi), %rsi
movss 0x28(%rdi), %xmm0
leaq 0xc8(%rsp), %rdi
xorl %edx, %edx
callq 0xa082
movq 0x10(%rbx), %rsi
movss 0x2c(%rbx), %xmm0
leaq 0xa8(%rsp), %rdi
xorl %edx, %edx
callq 0xa082
movq 0x10(%rbx), %rsi
movss 0x30(%rbx), %xmm0
leaq 0x88(%rsp), %rdi
xorl %edx, %edx
callq 0xa082
leaq 0x78(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x7079(%rip), %rsi      # 0xfa47
leaq 0x708e(%rip), %rdx      # 0xfa63
leaq 0x68(%rsp), %rdi
callq 0x290e
leaq 0x58(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x7074(%rip), %rsi      # 0xfa64
leaq 0x709a(%rip), %rdx      # 0xfa91
leaq 0x48(%rsp), %rdi
callq 0x290e
movss 0x28(%rbx), %xmm0
ucomiss 0x6b8f(%rip), %xmm0     # 0xf59c
leaq 0x69a4(%rip), %r15      # 0xf3b8
leaq 0x70a3(%rip), %r14      # 0xfabe
movq %r14, %rsi
cmovaeq %r15, %rsi
leaq 0x48(%rsp), %rdi
callq 0x23d0
leaq 0x73b5(%rip), %rsi      # 0xfde8
leaq 0x28(%rsp), %rdi
leaq 0xc8(%rsp), %rdx
callq 0x6696
leaq 0x696b(%rip), %rsi      # 0xf3b7
leaq 0x28(%rsp), %rdi
callq 0x23d0
leaq 0x18(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x8a7d
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x8a84
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
movq 0x8(%rax), %rdx
movq %rdx, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
leaq 0x48(%rsp), %rdi
callq 0x20d0
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x8ac7
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2210
leaq 0x38(%rsp), %r13
movq -0x10(%r13), %rdi
cmpq %r13, %rdi
je 0x8ae2
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x2210
leaq 0x6fa9(%rip), %rsi      # 0xfa92
leaq 0x48(%rsp), %rdi
callq 0x23d0
movss 0x2c(%rbx), %xmm0
ucomiss 0x6a9d(%rip), %xmm0     # 0xf59c
movq %r14, %rsi
cmovaeq %r15, %rsi
leaq 0x48(%rsp), %rdi
callq 0x23d0
leaq 0x72d1(%rip), %rsi      # 0xfde8
leaq 0x28(%rsp), %rdi
leaq 0xa8(%rsp), %rdx
callq 0x6696
leaq 0x6887(%rip), %rsi      # 0xf3b7
leaq 0x28(%rsp), %rdi
callq 0x23d0
movq %rbp, 0x8(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x8b5d
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x8b64
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
movq 0x8(%rax), %rdx
movq %rdx, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
leaq 0x48(%rsp), %rdi
callq 0x20d0
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x8ba7
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2210
movq 0x28(%rsp), %rdi
cmpq %r13, %rdi
je 0x8bbe
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x2210
leaq 0x6efb(%rip), %rsi      # 0xfac0
leaq 0x48(%rsp), %rdi
callq 0x23d0
movss 0x30(%rbx), %xmm0
ucomiss 0x69c1(%rip), %xmm0     # 0xf59c
cmovaeq %r15, %r14
leaq 0x48(%rsp), %rdi
movq %r14, %rsi
callq 0x23d0
leaq 0x71f5(%rip), %rsi      # 0xfde8
leaq 0x28(%rsp), %rdi
leaq 0x88(%rsp), %rdx
callq 0x6696
leaq 0x67ab(%rip), %rsi      # 0xf3b7
leaq 0x28(%rsp), %rdi
callq 0x23d0
movq %rbp, 0x8(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x8c39
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x8c40
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
movq 0x8(%rax), %rdx
movq %rdx, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
leaq 0x48(%rsp), %rdi
callq 0x20d0
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x8c83
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2210
movq 0x28(%rsp), %rdi
cmpq %r13, %rdi
je 0x8c9a
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x2210
movq 0x68(%rsp), %rsi
movq 0x70(%rsp), %rdx
movq 0xc325(%rip), %rdi      # 0x14fd0
callq 0x2260
movq 0x48(%rsp), %rsi
movq 0x50(%rsp), %rdx
movq %rax, %rdi
callq 0x2260
movq 0x68(%rsp), %rsi
movq 0x70(%rsp), %rdx
movq %rax, %rdi
callq 0x2260
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x21f0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2170
movq 0x48(%rsp), %rdi
cmpq %r12, %rdi
je 0x8d15
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x2210
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x8d31
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x2210
leaq 0x98(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8d52
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x2210
leaq 0xb8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8d73
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x2210
leaq 0xd8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8d94
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0x2210
addq $0xe8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x8dac
jmp 0x8dc8
jmp 0x8e2b
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x8dcb
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2210
jmp 0x8dcb
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r13, %rdi
jne 0x8e06
jmp 0x8e2e
jmp 0x8e2b
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x8df8
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2210
jmp 0x8df8
movq %rax, %rbx
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8e2e
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x2210
jmp 0x8e2e
jmp 0x8e2b
movq %rax, %rbx
jmp 0x8e45
movq %rax, %rbx
jmp 0x8e61
movq %rax, %rbx
jmp 0x8e82
movq %rax, %rbx
jmp 0x8ea3
movq %rax, %rbx
movq 0x48(%rsp), %rdi
cmpq %r12, %rdi
je 0x8e45
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x2210
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x8e61
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x2210
leaq 0x98(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8e82
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x2210
leaq 0xb8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8ea3
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x2210
leaq 0xd8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8ec4
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0x2210
movq %rbx, %rdi
callq 0x2390