// File: VanAndelInstitute[P]intent/include/zstr.hpp
// Function: zstr::Exception::Exception(z_stream_s*, int)
Exception(z_stream * zstrm_p, int ret)
        : _msg("zlib: ")
    {
        switch (ret)
        {
        case Z_STREAM_ERROR:
            _msg += "Z_STREAM_ERROR: ";
            break;
        case Z_DATA_ERROR:
            _msg += "Z_DATA_ERROR: ";
            break;
        case Z_MEM_ERROR:
            _msg += "Z_MEM_ERROR: ";
            break;
        case Z_VERSION_ERROR:
            _msg += "Z_VERSION_ERROR: ";
            break;
        case Z_BUF_ERROR:
            _msg += "Z_BUF_ERROR: ";
            break;
        default:
            std::ostringstream oss;
            oss << ret;
            _msg += "[" + oss.str() + "]: ";
            break;
        }
        _msg += zstrm_p->msg;
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x220, %rsp            # imm = 0x220
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl %edx, -0x14(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x218(%rbp)
callq 0x37c00
movq -0x218(%rbp), %rax
leaq 0x55e64(%rip), %rcx     # 0x8d758
movq %rcx, (%rax)
addq $0x8, %rax
movq %rax, -0x210(%rbp)
leaq -0x15(%rbp), %rdi
movq %rdi, -0x208(%rbp)
callq 0x8980
movq -0x210(%rbp), %rdi
movq -0x208(%rbp), %rdx
leaq 0x37dde(%rip), %rsi     # 0x6f705
callq 0x35e90
jmp 0x3792e
leaq -0x15(%rbp), %rdi
callq 0x85e0
movl -0x14(%rbp), %eax
addl $0x6, %eax
movl %eax, %ecx
movq %rcx, -0x220(%rbp)
subl $0x4, %eax
ja 0x37a27
movq -0x220(%rbp), %rax
leaq 0x366fb(%rip), %rcx     # 0x6e058
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x20(%rbp)
movl %eax, -0x24(%rbp)
leaq -0x15(%rbp), %rdi
callq 0x85e0
jmp 0x37b75
movq -0x218(%rbp), %rdi
addq $0x8, %rdi
leaq 0x37d7a(%rip), %rsi     # 0x6f70c
callq 0x8520
jmp 0x37999
jmp 0x37b46
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x20(%rbp)
movl %eax, -0x24(%rbp)
jmp 0x37b69
movq -0x218(%rbp), %rdi
addq $0x8, %rdi
leaq 0x37d5c(%rip), %rsi     # 0x6f71d
callq 0x8520
jmp 0x379c8
jmp 0x37b46
movq -0x218(%rbp), %rdi
addq $0x8, %rdi
leaq 0x37d4d(%rip), %rsi     # 0x6f72c
callq 0x8520
jmp 0x379e6
jmp 0x37b46
movq -0x218(%rbp), %rdi
addq $0x8, %rdi
leaq 0x37d3d(%rip), %rsi     # 0x6f73a
callq 0x8520
jmp 0x37a04
jmp 0x37b46
movq -0x218(%rbp), %rdi
addq $0x8, %rdi
leaq 0x37d31(%rip), %rsi     # 0x6f74c
callq 0x8520
jmp 0x37a22
jmp 0x37b46
leaq -0x1a0(%rbp), %rdi
callq 0x8780
jmp 0x37a35
movl -0x14(%rbp), %esi
leaq -0x1a0(%rbp), %rdi
callq 0x8940
jmp 0x37a46
leaq -0x200(%rbp), %rdi
leaq -0x1a0(%rbp), %rsi
callq 0x8580
jmp 0x37a5b
leaq 0x37cf8(%rip), %rsi     # 0x6f75a
leaq -0x1e0(%rbp), %rdi
leaq -0x200(%rbp), %rdx
callq 0x37c70
jmp 0x37a77
leaq 0x37cde(%rip), %rdx     # 0x6f75c
leaq -0x1c0(%rbp), %rdi
leaq -0x1e0(%rbp), %rsi
callq 0x37c20
jmp 0x37a93
movq -0x218(%rbp), %rdi
addq $0x8, %rdi
leaq -0x1c0(%rbp), %rsi
callq 0x8700
jmp 0x37aac
leaq -0x1c0(%rbp), %rdi
callq 0x8a98
leaq -0x1e0(%rbp), %rdi
callq 0x8a98
leaq -0x200(%rbp), %rdi
callq 0x8a98
leaq -0x1a0(%rbp), %rdi
callq 0x8130
jmp 0x37b46
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x20(%rbp)
movl %eax, -0x24(%rbp)
jmp 0x37b38
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x20(%rbp)
movl %eax, -0x24(%rbp)
jmp 0x37b2c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x20(%rbp)
movl %eax, -0x24(%rbp)
jmp 0x37b20
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x20(%rbp)
movl %eax, -0x24(%rbp)
leaq -0x1c0(%rbp), %rdi
callq 0x8a98
leaq -0x1e0(%rbp), %rdi
callq 0x8a98
leaq -0x200(%rbp), %rdi
callq 0x8a98
leaq -0x1a0(%rbp), %rdi
callq 0x8130
jmp 0x37b69
movq -0x218(%rbp), %rdi
movq -0x10(%rbp), %rax
movq 0x30(%rax), %rsi
addq $0x8, %rdi
callq 0x8520
jmp 0x37b60
addq $0x220, %rsp            # imm = 0x220
popq %rbp
retq
movq -0x210(%rbp), %rdi
callq 0x8a98
movq -0x218(%rbp), %rdi
callq 0x89c0
movq -0x20(%rbp), %rdi
callq 0x8970
nopw (%rax,%rax)