// File: /workspace/github_c_makefile_star2_O0/Paxa[P]fast_excel/libxlsxwriter/third_party/minizip/zip.c
// Function: zip64local_getLong64
local int zip64local_getLong64(const zlib_filefunc64_32_def* pzlib_filefunc_def, voidpf filestream, ZPOS64_T *pX) {
  ZPOS64_T x;
  int i = 0;
  int err;

  err = zip64local_getByte(pzlib_filefunc_def,filestream,&i);
  x = (ZPOS64_T)i;

  if (err==ZIP_OK)
    err = zip64local_getByte(pzlib_filefunc_def,filestream,&i);
  x += ((ZPOS64_T)i)<<8;

  if (err==ZIP_OK)
    err = zip64local_getByte(pzlib_filefunc_def,filestream,&i);
  x += ((ZPOS64_T)i)<<16;

  if (err==ZIP_OK)
    err = zip64local_getByte(pzlib_filefunc_def,filestream,&i);
  x += ((ZPOS64_T)i)<<24;

  if (err==ZIP_OK)
    err = zip64local_getByte(pzlib_filefunc_def,filestream,&i);
  x += ((ZPOS64_T)i)<<32;

  if (err==ZIP_OK)
    err = zip64local_getByte(pzlib_filefunc_def,filestream,&i);
  x += ((ZPOS64_T)i)<<40;

  if (err==ZIP_OK)
    err = zip64local_getByte(pzlib_filefunc_def,filestream,&i);
  x += ((ZPOS64_T)i)<<48;

  if (err==ZIP_OK)
    err = zip64local_getByte(pzlib_filefunc_def,filestream,&i);
  x += ((ZPOS64_T)i)<<56;

  if (err==ZIP_OK)
    *pX = x;
  else
    *pX = 0;

  return err;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movl $0x0, -0x24(%rbp)
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rsi
leaq -0x24(%rbp), %rdx
callq 0x11430
movl %eax, -0x28(%rbp)
movslq -0x24(%rbp), %rax
movq %rax, -0x20(%rbp)
cmpl $0x0, -0x28(%rbp)
jne 0x11261
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rsi
leaq -0x24(%rbp), %rdx
callq 0x11430
movl %eax, -0x28(%rbp)
movslq -0x24(%rbp), %rax
shlq $0x8, %rax
addq -0x20(%rbp), %rax
movq %rax, -0x20(%rbp)
cmpl $0x0, -0x28(%rbp)
jne 0x1128b
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rsi
leaq -0x24(%rbp), %rdx
callq 0x11430
movl %eax, -0x28(%rbp)
movslq -0x24(%rbp), %rax
shlq $0x10, %rax
addq -0x20(%rbp), %rax
movq %rax, -0x20(%rbp)
cmpl $0x0, -0x28(%rbp)
jne 0x112b5
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rsi
leaq -0x24(%rbp), %rdx
callq 0x11430
movl %eax, -0x28(%rbp)
movslq -0x24(%rbp), %rax
shlq $0x18, %rax
addq -0x20(%rbp), %rax
movq %rax, -0x20(%rbp)
cmpl $0x0, -0x28(%rbp)
jne 0x112df
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rsi
leaq -0x24(%rbp), %rdx
callq 0x11430
movl %eax, -0x28(%rbp)
movslq -0x24(%rbp), %rax
shlq $0x20, %rax
addq -0x20(%rbp), %rax
movq %rax, -0x20(%rbp)
cmpl $0x0, -0x28(%rbp)
jne 0x11309
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rsi
leaq -0x24(%rbp), %rdx
callq 0x11430
movl %eax, -0x28(%rbp)
movslq -0x24(%rbp), %rax
shlq $0x28, %rax
addq -0x20(%rbp), %rax
movq %rax, -0x20(%rbp)
cmpl $0x0, -0x28(%rbp)
jne 0x11333
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rsi
leaq -0x24(%rbp), %rdx
callq 0x11430
movl %eax, -0x28(%rbp)
movslq -0x24(%rbp), %rax
shlq $0x30, %rax
addq -0x20(%rbp), %rax
movq %rax, -0x20(%rbp)
cmpl $0x0, -0x28(%rbp)
jne 0x1135d
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rsi
leaq -0x24(%rbp), %rdx
callq 0x11430
movl %eax, -0x28(%rbp)
movslq -0x24(%rbp), %rax
shlq $0x38, %rax
addq -0x20(%rbp), %rax
movq %rax, -0x20(%rbp)
cmpl $0x0, -0x28(%rbp)
jne 0x11380
movq -0x20(%rbp), %rcx
movq -0x18(%rbp), %rax
movq %rcx, (%rax)
jmp 0x1138b
movq -0x18(%rbp), %rax
movq $0x0, (%rax)
movl -0x28(%rbp), %eax
addq $0x30, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)