// File: /workspace/github_cpp_makefile_star2_O3/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 0x9edc
movq %rdi, %rbx
leaq 0xc339(%rip), %rcx      # 0x15f5c
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq 0x13395(%rip), %rax     # 0x1cfc8
movq (%rax), %rdi
movq 0xa8(%rbx), %rdx
leaq 0xc45d(%rip), %rsi      # 0x160a1
xorl %eax, %eax
callq 0x4460
movq 0xa8(%rbx), %rdx
leaq 0xc464(%rip), %rsi      # 0x160bd
leaq -0x4b0(%rbp), %rbx
movq %rbx, %rdi
xorl %eax, %eax
callq 0x4070
callq 0x9692
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 0x6be0
movq %r14, %rdi
movq %r15, %rsi
callq 0x98ba
movq -0x40(%rbp), %rdi
jmp 0x9ed2
movq 0x13310(%rip), %rax     # 0x1cfc8
movq (%rax), %rdi
movq 0xa8(%rbx), %rdx
leaq 0xc303(%rip), %rsi      # 0x15fcc
xorl %eax, %eax
callq 0x4460
movq 0xa8(%rbx), %rdx
leaq 0xc313(%rip), %rsi      # 0x15ff1
leaq -0x4b0(%rbp), %rbx
movq %rbx, %rdi
xorl %eax, %eax
callq 0x4070
callq 0x9692
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 0x6be0
movq %r14, %rdi
movq %r15, %rsi
callq 0x98ba
movq -0xa0(%rbp), %rdi
jmp 0x9ed2
movq 0x13282(%rip), %rax     # 0x1cfc8
movq (%rax), %rdi
movq 0xa8(%rbx), %rdx
leaq 0xc2be(%rip), %rsi      # 0x16015
xorl %eax, %eax
callq 0x4460
movq 0xa8(%rbx), %rdx
leaq 0xc2d7(%rip), %rsi      # 0x16043
leaq -0x4b0(%rbp), %rbx
movq %rbx, %rdi
xorl %eax, %eax
callq 0x4070
callq 0x9692
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 0x6be0
movq %r14, %rdi
movq %r15, %rsi
callq 0x98ba
movq -0x80(%rbp), %rdi
jmp 0x9ed2
movq 0x131fd(%rip), %rax     # 0x1cfc8
movq (%rax), %rdi
movq 0xa8(%rbx), %rdx
leaq 0xc294(%rip), %rsi      # 0x16070
xorl %eax, %eax
callq 0x4460
movq 0xa8(%rbx), %rdx
leaq 0xc298(%rip), %rsi      # 0x16089
leaq -0x4b0(%rbp), %rbx
movq %rbx, %rdi
xorl %eax, %eax
callq 0x4070
callq 0x9692
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 0x6be0
movq %r14, %rdi
movq %r15, %rsi
callq 0x98ba
movq -0x60(%rbp), %rdi
jmp 0x9ed2
movq 0x13178(%rip), %rax     # 0x1cfc8
movq (%rax), %rdi
movq 0xa8(%rbx), %rdx
leaq 0xc130(%rip), %rsi      # 0x15f91
xorl %eax, %eax
callq 0x4460
movq 0xa8(%rbx), %rdx
leaq 0xc139(%rip), %rsi      # 0x15faf
leaq -0x4b0(%rbp), %rbx
movq %rbx, %rdi
xorl %eax, %eax
callq 0x4070
callq 0x9692
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 0x6be0
movq %r14, %rdi
movq %r15, %rsi
callq 0x98ba
movq -0xc0(%rbp), %rdi
cmpq %r12, %rdi
je 0x9edc
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 0x9f1d
movq %rax, %rbx
movq -0x60(%rbp), %rdi
jmp 0x9f1d
movq %rax, %rbx
movq -0x40(%rbp), %rdi
jmp 0x9f1d
movq %rax, %rbx
movq -0x80(%rbp), %rdi
jmp 0x9f1d
movq %rax, %rbx
movq -0xa0(%rbp), %rdi
cmpq %r12, %rdi
je 0x9f27
callq 0x42f0
movq %rbx, %rdi
callq 0x4590
nop