// File: /workspace/github_cpp_makefile_star2_O2/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 %r14
pushq %rbx
subq $0x490, %rsp            # imm = 0x490
movl 0xc(%rdi), %eax
addl $0x6, %eax
cmpl $0x5, %eax
ja 0x885e
movq %rdi, %rbx
leaq 0xa92d(%rip), %rcx      # 0x12f5c
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq 0x12989(%rip), %rax     # 0x1afc8
movq (%rax), %rdi
movq 0xa8(%rbx), %rdx
leaq 0xaa51(%rip), %rsi      # 0x130a1
xorl %eax, %eax
callq 0x4450
movq 0xa8(%rbx), %rdx
leaq 0xaa58(%rip), %rsi      # 0x130bd
leaq -0x4a0(%rbp), %r14
movq %r14, %rdi
xorl %eax, %eax
callq 0x4070
callq 0x81fe
movq %rax, %rbx
leaq -0x38(%rbp), %rdi
leaq -0x11(%rbp), %rdx
movq %r14, %rsi
callq 0x4120
leaq -0x38(%rbp), %rsi
movq %rbx, %rdi
callq 0x83ae
leaq -0x38(%rbp), %rdi
jmp 0x8859
movq 0x1291e(%rip), %rax     # 0x1afc8
movq (%rax), %rdi
movq 0xa8(%rbx), %rdx
leaq 0xa911(%rip), %rsi      # 0x12fcc
xorl %eax, %eax
callq 0x4450
movq 0xa8(%rbx), %rdx
leaq 0xa921(%rip), %rsi      # 0x12ff1
leaq -0x4a0(%rbp), %r14
movq %r14, %rdi
xorl %eax, %eax
callq 0x4070
callq 0x81fe
movq %rax, %rbx
leaq -0x98(%rbp), %rdi
leaq -0x11(%rbp), %rdx
movq %r14, %rsi
callq 0x4120
leaq -0x98(%rbp), %rsi
movq %rbx, %rdi
callq 0x83ae
leaq -0x98(%rbp), %rdi
jmp 0x8859
movq 0x128aa(%rip), %rax     # 0x1afc8
movq (%rax), %rdi
movq 0xa8(%rbx), %rdx
leaq 0xa8e6(%rip), %rsi      # 0x13015
xorl %eax, %eax
callq 0x4450
movq 0xa8(%rbx), %rdx
leaq 0xa8ff(%rip), %rsi      # 0x13043
leaq -0x4a0(%rbp), %r14
movq %r14, %rdi
xorl %eax, %eax
callq 0x4070
callq 0x81fe
movq %rax, %rbx
leaq -0x78(%rbp), %rdi
leaq -0x11(%rbp), %rdx
movq %r14, %rsi
callq 0x4120
leaq -0x78(%rbp), %rsi
movq %rbx, %rdi
callq 0x83ae
leaq -0x78(%rbp), %rdi
jmp 0x8859
movq 0x1283f(%rip), %rax     # 0x1afc8
movq (%rax), %rdi
movq 0xa8(%rbx), %rdx
leaq 0xa8d6(%rip), %rsi      # 0x13070
xorl %eax, %eax
callq 0x4450
movq 0xa8(%rbx), %rdx
leaq 0xa8da(%rip), %rsi      # 0x13089
leaq -0x4a0(%rbp), %r14
movq %r14, %rdi
xorl %eax, %eax
callq 0x4070
callq 0x81fe
movq %rax, %rbx
leaq -0x58(%rbp), %rdi
leaq -0x11(%rbp), %rdx
movq %r14, %rsi
callq 0x4120
leaq -0x58(%rbp), %rsi
movq %rbx, %rdi
callq 0x83ae
leaq -0x58(%rbp), %rdi
jmp 0x8859
movq 0x127d7(%rip), %rax     # 0x1afc8
movq (%rax), %rdi
movq 0xa8(%rbx), %rdx
leaq 0xa78f(%rip), %rsi      # 0x12f91
xorl %eax, %eax
callq 0x4450
movq 0xa8(%rbx), %rdx
leaq 0xa798(%rip), %rsi      # 0x12faf
leaq -0x4a0(%rbp), %r14
movq %r14, %rdi
xorl %eax, %eax
callq 0x4070
callq 0x81fe
movq %rax, %rbx
leaq -0xb8(%rbp), %rdi
leaq -0x11(%rbp), %rdx
movq %r14, %rsi
callq 0x4120
leaq -0xb8(%rbp), %rsi
movq %rbx, %rdi
callq 0x83ae
leaq -0xb8(%rbp), %rdi
callq 0x4160
addq $0x490, %rsp            # imm = 0x490
popq %rbx
popq %r14
popq %rbp
retq
movq %rax, %rbx
leaq -0xb8(%rbp), %rdi
jmp 0x889b
movq %rax, %rbx
leaq -0x58(%rbp), %rdi
jmp 0x889b
movq %rax, %rbx
leaq -0x38(%rbp), %rdi
jmp 0x889b
movq %rax, %rbx
leaq -0x78(%rbp), %rdi
jmp 0x889b
movq %rax, %rbx
leaq -0x98(%rbp), %rdi
callq 0x4160
jmp 0x88ad
jmp 0x88aa
jmp 0x88aa
jmp 0x88aa
jmp 0x88aa
movq %rax, %rbx
movq %rbx, %rdi
callq 0x4590
nop