// File: /workspace/github_cpp_makefile_star2_O1/afinit[P]afin/gzip.cpp
// Function: Gzip::zerr()
void Gzip::zerr(){
  char log_buff[1000];

  switch (status) {
    case Z_ERRNO:
      fprintf( stderr, "zlib: error reading file: %s\n", filename.c_str() );
      sprintf( log_buff, "zlib: error reading file: %s", filename.c_str() );
      Log::Inst()->log_it( log_buff );
      break;
    case Z_STREAM_ERROR:
      fprintf( stderr, "zlib: invalid compression level: %s\n", filename.c_str() );
      sprintf( log_buff, "zlib: invalid compression level: %s", filename.c_str() );
      Log::Inst()->log_it( log_buff );
      break;
    case Z_DATA_ERROR:
      fprintf( stderr, "zlib: invalid or incomplete deflate data: %s\n", filename.c_str() );
      sprintf( log_buff, "zlib: invalid or incomplete deflate data: %s", filename.c_str() );
      Log::Inst()->log_it( log_buff );
      break;
    case Z_MEM_ERROR:
      fprintf( stderr, "zlib: out of memory: %s\n", filename.c_str() );
      sprintf( log_buff, "zlib: out of memory: %s", filename.c_str() );
      Log::Inst()->log_it( log_buff );
      break;
    case Z_VERSION_ERROR:
      fprintf( stderr, "zlib: version mismatch: %s\n", filename.c_str() );
      sprintf( log_buff, "zlib: version mismatch: %s", filename.c_str() );
      Log::Inst()->log_it( log_buff );
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x490, %rsp            # imm = 0x490
movl 0xc(%rdi), %eax
addl $0x6, %eax
cmpl $0x5, %eax
ja 0x9e68
movq %rdi, %rbx
leaq 0xc3ad(%rip), %rcx      # 0x15f5c
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq 0x13409(%rip), %rax     # 0x1cfc8
movq (%rax), %rdi
movq 0xa8(%rbx), %rdx
leaq 0xc4d1(%rip), %rsi      # 0x160a1
xorl %eax, %eax
callq 0x4460
movq 0xa8(%rbx), %rdx
leaq 0xc4d8(%rip), %rsi      # 0x160bd
leaq -0x4b0(%rbp), %rbx
movq %rbx, %rdi
xorl %eax, %eax
callq 0x4070
callq 0x9626
movq %rax, %r14
leaq -0x30(%rbp), %r12
movq %r12, -0x10(%r12)
movq %rbx, %rdi
callq 0x4140
leaq (%rax,%rbp), %rdx
addq $-0x4b0, %rdx           # imm = 0xFB50
leaq -0x40(%rbp), %r15
movq %r15, %rdi
movq %rbx, %rsi
callq 0x6b5c
movq %r14, %rdi
movq %r15, %rsi
callq 0x9846
movq -0x40(%rbp), %rdi
jmp 0x9e5e
movq 0x13384(%rip), %rax     # 0x1cfc8
movq (%rax), %rdi
movq 0xa8(%rbx), %rdx
leaq 0xc377(%rip), %rsi      # 0x15fcc
xorl %eax, %eax
callq 0x4460
movq 0xa8(%rbx), %rdx
leaq 0xc387(%rip), %rsi      # 0x15ff1
leaq -0x4b0(%rbp), %rbx
movq %rbx, %rdi
xorl %eax, %eax
callq 0x4070
callq 0x9626
movq %rax, %r14
leaq -0x90(%rbp), %r12
movq %r12, -0x10(%r12)
movq %rbx, %rdi
callq 0x4140
leaq (%rax,%rbp), %rdx
addq $-0x4b0, %rdx           # imm = 0xFB50
leaq -0xa0(%rbp), %r15
movq %r15, %rdi
movq %rbx, %rsi
callq 0x6b5c
movq %r14, %rdi
movq %r15, %rsi
callq 0x9846
movq -0xa0(%rbp), %rdi
jmp 0x9e5e
movq 0x132f6(%rip), %rax     # 0x1cfc8
movq (%rax), %rdi
movq 0xa8(%rbx), %rdx
leaq 0xc332(%rip), %rsi      # 0x16015
xorl %eax, %eax
callq 0x4460
movq 0xa8(%rbx), %rdx
leaq 0xc34b(%rip), %rsi      # 0x16043
leaq -0x4b0(%rbp), %rbx
movq %rbx, %rdi
xorl %eax, %eax
callq 0x4070
callq 0x9626
movq %rax, %r14
leaq -0x70(%rbp), %r12
movq %r12, -0x10(%r12)
movq %rbx, %rdi
callq 0x4140
leaq (%rax,%rbp), %rdx
addq $-0x4b0, %rdx           # imm = 0xFB50
leaq -0x80(%rbp), %r15
movq %r15, %rdi
movq %rbx, %rsi
callq 0x6b5c
movq %r14, %rdi
movq %r15, %rsi
callq 0x9846
movq -0x80(%rbp), %rdi
jmp 0x9e5e
movq 0x13271(%rip), %rax     # 0x1cfc8
movq (%rax), %rdi
movq 0xa8(%rbx), %rdx
leaq 0xc308(%rip), %rsi      # 0x16070
xorl %eax, %eax
callq 0x4460
movq 0xa8(%rbx), %rdx
leaq 0xc30c(%rip), %rsi      # 0x16089
leaq -0x4b0(%rbp), %rbx
movq %rbx, %rdi
xorl %eax, %eax
callq 0x4070
callq 0x9626
movq %rax, %r14
leaq -0x50(%rbp), %r12
movq %r12, -0x10(%r12)
movq %rbx, %rdi
callq 0x4140
leaq (%rax,%rbp), %rdx
addq $-0x4b0, %rdx           # imm = 0xFB50
leaq -0x60(%rbp), %r15
movq %r15, %rdi
movq %rbx, %rsi
callq 0x6b5c
movq %r14, %rdi
movq %r15, %rsi
callq 0x9846
movq -0x60(%rbp), %rdi
jmp 0x9e5e
movq 0x131ec(%rip), %rax     # 0x1cfc8
movq (%rax), %rdi
movq 0xa8(%rbx), %rdx
leaq 0xc1a4(%rip), %rsi      # 0x15f91
xorl %eax, %eax
callq 0x4460
movq 0xa8(%rbx), %rdx
leaq 0xc1ad(%rip), %rsi      # 0x15faf
leaq -0x4b0(%rbp), %rbx
movq %rbx, %rdi
xorl %eax, %eax
callq 0x4070
callq 0x9626
movq %rax, %r14
leaq -0xb0(%rbp), %r12
movq %r12, -0x10(%r12)
movq %rbx, %rdi
callq 0x4140
leaq (%rax,%rbp), %rdx
addq $-0x4b0, %rdx           # imm = 0xFB50
leaq -0xc0(%rbp), %r15
movq %r15, %rdi
movq %rbx, %rsi
callq 0x6b5c
movq %r14, %rdi
movq %r15, %rsi
callq 0x9846
movq -0xc0(%rbp), %rdi
cmpq %r12, %rdi
je 0x9e68
callq 0x42f0
addq $0x490, %rsp            # imm = 0x490
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq -0xc0(%rbp), %rdi
jmp 0x9ea9
movq %rax, %rbx
movq -0x60(%rbp), %rdi
jmp 0x9ea9
movq %rax, %rbx
movq -0x40(%rbp), %rdi
jmp 0x9ea9
movq %rax, %rbx
movq -0x80(%rbp), %rdi
jmp 0x9ea9
movq %rax, %rbx
movq -0xa0(%rbp), %rdi
cmpq %r12, %rdi
je 0x9eb3
callq 0x42f0
movq %rbx, %rdi
callq 0x4590
nop