; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.24215.1 

include listing.inc

INCLUDELIB OLDNAMES

PUBLIC	??_C@_02JDPG@rb?$AA@				; `string'
PUBLIC	??_C@_03HMFOOINA@r?$CLb?$AA@			; `string'
PUBLIC	??_C@_02GMLFBBN@wb?$AA@				; `string'
EXTRN	__imp__fseeki64:PROC
EXTRN	__imp_fread:PROC
EXTRN	__imp__ftelli64:PROC
EXTRN	__imp_fwrite:PROC
EXTRN	__imp_fseek:PROC
EXTRN	__imp_fclose:PROC
EXTRN	__imp_fopen:PROC
EXTRN	__imp_ferror:PROC
EXTRN	__imp_ftell:PROC
;	COMDAT ??_C@_02GMLFBBN@wb?$AA@
CONST	SEGMENT
??_C@_02GMLFBBN@wb?$AA@ DB 'wb', 00H			; `string'
CONST	ENDS
;	COMDAT ??_C@_03HMFOOINA@r?$CLb?$AA@
CONST	SEGMENT
??_C@_03HMFOOINA@r?$CLb?$AA@ DB 'r+b', 00H		; `string'
CONST	ENDS
;	COMDAT ??_C@_02JDPG@rb?$AA@
CONST	SEGMENT
??_C@_02JDPG@rb?$AA@ DB 'rb', 00H			; `string'
PUBLIC	fill_fopen64_filefunc
PUBLIC	fill_zlib_filefunc64_32_def_from_filefunc32
PUBLIC	call_ztell64
PUBLIC	call_zseek64
PUBLIC	call_zopen64
;	COMDAT pdata
pdata	SEGMENT
$pdata$fseek64_file_func DD imagerel fseek64_file_func
	DD	imagerel fseek64_file_func+87
	DD	imagerel $unwind$fseek64_file_func
pdata	ENDS
;	COMDAT pdata
pdata	SEGMENT
$pdata$fseek_file_func DD imagerel fseek_file_func
	DD	imagerel fseek_file_func+87
	DD	imagerel $unwind$fseek_file_func
pdata	ENDS
;	COMDAT pdata
pdata	SEGMENT
$pdata$call_ztell64 DD imagerel $LN8
	DD	imagerel $LN8+50
	DD	imagerel $unwind$call_ztell64
;	COMDAT xdata
xdata	SEGMENT
$unwind$call_ztell64 DD 010401H
	DD	04204H
xdata	ENDS
;	COMDAT xdata
xdata	SEGMENT
$unwind$fseek_file_func DD 020601H
	DD	030023206H
xdata	ENDS
;	COMDAT xdata
xdata	SEGMENT
$unwind$fseek64_file_func DD 020601H
	DD	030023206H
; Function compile flags: /Ogtpy
; File c:\mywork\pkcs\zlib-1.2.11\contrib\minizip\ioapi.c
;	COMDAT call_zopen64
_TEXT	SEGMENT
pfilefunc$ = 8
filename$ = 16
mode$ = 24
call_zopen64 PROC					; COMDAT

; 33   :     if (pfilefunc->zfile_func64.zopen64_file != NULL)

  00000	4c 8b 09	 mov	 r9, QWORD PTR [rcx]
  00003	48 8b c1	 mov	 rax, rcx

; 34   :         return (*(pfilefunc->zfile_func64.zopen64_file)) (pfilefunc->zfile_func64.opaque,filename,mode);

  00006	48 8b 49 38	 mov	 rcx, QWORD PTR [rcx+56]
  0000a	4d 85 c9	 test	 r9, r9
  0000d	74 03		 je	 SHORT $LN2@call_zopen
  0000f	49 ff e1	 rex_jmp r9
$LN2@call_zopen:

; 35   :     else
; 36   :     {
; 37   :         return (*(pfilefunc->zopen32_file))(pfilefunc->zfile_func64.opaque,(const char*)filename,mode);

  00012	48 ff 60 40	 rex_jmp QWORD PTR [rax+64]
call_zopen64 ENDP
_TEXT	ENDS
; Function compile flags: /Ogtpy
; File c:\mywork\pkcs\zlib-1.2.11\contrib\minizip\ioapi.c
;	COMDAT call_zseek64
_TEXT	SEGMENT
pfilefunc$ = 8
filestream$ = 16
offset$ = 24
origin$ = 32
call_zseek64 PROC					; COMDAT

; 43   :     if (pfilefunc->zfile_func64.zseek64_file != NULL)

  00000	48 8b 41 20	 mov	 rax, QWORD PTR [rcx+32]
  00004	4c 8b d1	 mov	 r10, rcx
  00007	48 85 c0	 test	 rax, rax
  0000a	74 07		 je	 SHORT $LN2@call_zseek

; 44   :         return (*(pfilefunc->zfile_func64.zseek64_file)) (pfilefunc->zfile_func64.opaque,filestream,offset,origin);

  0000c	48 8b 49 38	 mov	 rcx, QWORD PTR [rcx+56]
  00010	48 ff e0	 rex_jmp rax
$LN2@call_zseek:

; 45   :     else
; 46   :     {
; 47   :         uLong offsetTruncated = (uLong)offset;
; 48   :         if (offsetTruncated != offset)

  00013	41 8b c0	 mov	 eax, r8d
  00016	49 3b c0	 cmp	 rax, r8
  00019	74 04		 je	 SHORT $LN4@call_zseek

; 49   :             return -1;

  0001b	83 c8 ff	 or	 eax, -1

; 52   :     }
; 53   : }

  0001e	c3		 ret	 0
$LN4@call_zseek:

; 50   :         else
; 51   :             return (*(pfilefunc->zseek32_file))(pfilefunc->zfile_func64.opaque,filestream,offsetTruncated,origin);

  0001f	48 8b 49 38	 mov	 rcx, QWORD PTR [rcx+56]
  00023	49 ff 62 50	 rex_jmp QWORD PTR [r10+80]
call_zseek64 ENDP
_TEXT	ENDS
; Function compile flags: /Ogtpy
; File c:\mywork\pkcs\zlib-1.2.11\contrib\minizip\ioapi.c
;	COMDAT call_ztell64
_TEXT	SEGMENT
pfilefunc$ = 48
filestream$ = 56
call_ztell64 PROC					; COMDAT

; 56   : {

$LN8:
  00000	48 83 ec 28	 sub	 rsp, 40			; 00000028H

; 57   :     if (pfilefunc->zfile_func64.zseek64_file != NULL)

  00004	48 83 79 20 00	 cmp	 QWORD PTR [rcx+32], 0
  00009	48 8b c1	 mov	 rax, rcx

; 58   :         return (*(pfilefunc->zfile_func64.ztell64_file)) (pfilefunc->zfile_func64.opaque,filestream);

  0000c	48 8b 49 38	 mov	 rcx, QWORD PTR [rcx+56]
  00010	74 08		 je	 SHORT $LN2@call_ztell

; 66   :     }
; 67   : }

  00012	48 83 c4 28	 add	 rsp, 40			; 00000028H

; 58   :         return (*(pfilefunc->zfile_func64.ztell64_file)) (pfilefunc->zfile_func64.opaque,filestream);

  00016	48 ff 60 18	 rex_jmp QWORD PTR [rax+24]
$LN2@call_ztell:

; 59   :     else
; 60   :     {
; 61   :         uLong tell_uLong = (*(pfilefunc->ztell32_file))(pfilefunc->zfile_func64.opaque,filestream);

  0001a	ff 50 48	 call	 QWORD PTR [rax+72]

; 62   :         if ((tell_uLong) == MAXU32)

  0001d	83 f8 ff	 cmp	 eax, -1			; ffffffffH
  00020	75 09		 jne	 SHORT $LN4@call_ztell

; 63   :             return (ZPOS64_T)-1;

  00022	48 83 c8 ff	 or	 rax, -1

; 66   :     }
; 67   : }

  00026	48 83 c4 28	 add	 rsp, 40			; 00000028H
  0002a	c3		 ret	 0
$LN4@call_ztell:

; 64   :         else
; 65   :             return tell_uLong;

  0002b	8b c0		 mov	 eax, eax

; 66   :     }
; 67   : }

  0002d	48 83 c4 28	 add	 rsp, 40			; 00000028H
  00031	c3		 ret	 0
call_ztell64 ENDP
_TEXT	ENDS
; Function compile flags: /Ogtpy
; File c:\mywork\pkcs\zlib-1.2.11\contrib\minizip\ioapi.c
;	COMDAT fill_zlib_filefunc64_32_def_from_filefunc32
_TEXT	SEGMENT
p_filefunc64_32$ = 8
p_filefunc32$ = 16
fill_zlib_filefunc64_32_def_from_filefunc32 PROC	; COMDAT

; 71   :     p_filefunc64_32->zfile_func64.zopen64_file = NULL;
; 72   :     p_filefunc64_32->zopen32_file = p_filefunc32->zopen_file;

  00000	48 8b 02	 mov	 rax, QWORD PTR [rdx]
  00003	45 33 c0	 xor	 r8d, r8d
  00006	48 89 41 40	 mov	 QWORD PTR [rcx+64], rax

; 73   :     p_filefunc64_32->zfile_func64.zerror_file = p_filefunc32->zerror_file;
; 74   :     p_filefunc64_32->zfile_func64.zread_file = p_filefunc32->zread_file;

  0000a	48 8b 42 08	 mov	 rax, QWORD PTR [rdx+8]
  0000e	48 89 41 08	 mov	 QWORD PTR [rcx+8], rax

; 75   :     p_filefunc64_32->zfile_func64.zwrite_file = p_filefunc32->zwrite_file;

  00012	48 8b 42 10	 mov	 rax, QWORD PTR [rdx+16]
  00016	48 89 41 10	 mov	 QWORD PTR [rcx+16], rax

; 76   :     p_filefunc64_32->zfile_func64.ztell64_file = NULL;
; 77   :     p_filefunc64_32->zfile_func64.zseek64_file = NULL;
; 78   :     p_filefunc64_32->zfile_func64.zclose_file = p_filefunc32->zclose_file;

  0001a	48 8b 42 28	 mov	 rax, QWORD PTR [rdx+40]
  0001e	48 89 41 28	 mov	 QWORD PTR [rcx+40], rax

; 79   :     p_filefunc64_32->zfile_func64.zerror_file = p_filefunc32->zerror_file;

  00022	48 8b 42 30	 mov	 rax, QWORD PTR [rdx+48]
  00026	48 89 41 30	 mov	 QWORD PTR [rcx+48], rax

; 80   :     p_filefunc64_32->zfile_func64.opaque = p_filefunc32->opaque;

  0002a	48 8b 42 38	 mov	 rax, QWORD PTR [rdx+56]
  0002e	48 89 41 38	 mov	 QWORD PTR [rcx+56], rax

; 81   :     p_filefunc64_32->zseek32_file = p_filefunc32->zseek_file;

  00032	48 8b 42 20	 mov	 rax, QWORD PTR [rdx+32]
  00036	48 89 41 50	 mov	 QWORD PTR [rcx+80], rax

; 82   :     p_filefunc64_32->ztell32_file = p_filefunc32->ztell_file;

  0003a	48 8b 42 18	 mov	 rax, QWORD PTR [rdx+24]
  0003e	48 89 41 48	 mov	 QWORD PTR [rcx+72], rax
  00042	4c 89 01	 mov	 QWORD PTR [rcx], r8
  00045	4c 89 41 18	 mov	 QWORD PTR [rcx+24], r8
  00049	4c 89 41 20	 mov	 QWORD PTR [rcx+32], r8

; 83   : }

  0004d	c3		 ret	 0
fill_zlib_filefunc64_32_def_from_filefunc32 ENDP
_TEXT	ENDS
; Function compile flags: /Ogtpy
; File c:\mywork\pkcs\zlib-1.2.11\contrib\minizip\ioapi.c
;	COMDAT fopen_file_func
_TEXT	SEGMENT
opaque$ = 8
filename$ = 16
mode$ = 24
fopen_file_func PROC					; COMDAT

; 97   :     FILE* file = NULL;
; 98   :     const char* mode_fopen = NULL;
; 99   :     if ((mode & ZLIB_FILEFUNC_MODE_READWRITEFILTER)==ZLIB_FILEFUNC_MODE_READ)

  00000	41 8b c0	 mov	 eax, r8d
  00003	33 c9		 xor	 ecx, ecx
  00005	24 03		 and	 al, 3
  00007	4c 8b ca	 mov	 r9, rdx
  0000a	3c 01		 cmp	 al, 1
  0000c	75 09		 jne	 SHORT $LN2@fopen_file

; 100  :         mode_fopen = "rb";

  0000e	48 8d 15 00 00
	00 00		 lea	 rdx, OFFSET FLAT:??_C@_02JDPG@rb?$AA@
  00015	eb 1e		 jmp	 SHORT $LN6@fopen_file
$LN2@fopen_file:

; 101  :     else
; 102  :     if (mode & ZLIB_FILEFUNC_MODE_EXISTING)

  00017	41 f6 c0 04	 test	 r8b, 4
  0001b	74 09		 je	 SHORT $LN4@fopen_file

; 103  :         mode_fopen = "r+b";

  0001d	48 8d 15 00 00
	00 00		 lea	 rdx, OFFSET FLAT:??_C@_03HMFOOINA@r?$CLb?$AA@
  00024	eb 0f		 jmp	 SHORT $LN6@fopen_file
$LN4@fopen_file:

; 104  :     else
; 105  :     if (mode & ZLIB_FILEFUNC_MODE_CREATE)

  00026	41 f6 c0 08	 test	 r8b, 8
  0002a	48 8d 15 00 00
	00 00		 lea	 rdx, OFFSET FLAT:??_C@_02GMLFBBN@wb?$AA@
  00031	48 0f 44 d1	 cmove	 rdx, rcx
$LN6@fopen_file:

; 106  :         mode_fopen = "wb";
; 107  : 
; 108  :     if ((filename!=NULL) && (mode_fopen != NULL))

  00035	4d 85 c9	 test	 r9, r9
  00038	74 0f		 je	 SHORT $LN9@fopen_file
  0003a	48 85 d2	 test	 rdx, rdx
  0003d	74 0a		 je	 SHORT $LN9@fopen_file

; 109  :         file = fopen(filename, mode_fopen);

  0003f	49 8b c9	 mov	 rcx, r9
  00042	48 ff 25 00 00
	00 00		 rex_jmp QWORD PTR __imp_fopen
$LN9@fopen_file:

; 110  :     return file;

  00049	48 8b c1	 mov	 rax, rcx

; 111  : }

  0004c	c3		 ret	 0
fopen_file_func ENDP
_TEXT	ENDS
; Function compile flags: /Ogtpy
; File c:\mywork\pkcs\zlib-1.2.11\contrib\minizip\ioapi.c
;	COMDAT fopen64_file_func
_TEXT	SEGMENT
opaque$ = 8
filename$ = 16
mode$ = 24
fopen64_file_func PROC					; COMDAT

; 115  :     FILE* file = NULL;
; 116  :     const char* mode_fopen = NULL;
; 117  :     if ((mode & ZLIB_FILEFUNC_MODE_READWRITEFILTER)==ZLIB_FILEFUNC_MODE_READ)

  00000	41 8b c0	 mov	 eax, r8d
  00003	33 c9		 xor	 ecx, ecx
  00005	24 03		 and	 al, 3
  00007	4c 8b ca	 mov	 r9, rdx
  0000a	3c 01		 cmp	 al, 1
  0000c	75 09		 jne	 SHORT $LN2@fopen64_fi

; 118  :         mode_fopen = "rb";

  0000e	48 8d 15 00 00
	00 00		 lea	 rdx, OFFSET FLAT:??_C@_02JDPG@rb?$AA@
  00015	eb 1e		 jmp	 SHORT $LN6@fopen64_fi
$LN2@fopen64_fi:

; 119  :     else
; 120  :     if (mode & ZLIB_FILEFUNC_MODE_EXISTING)

  00017	41 f6 c0 04	 test	 r8b, 4
  0001b	74 09		 je	 SHORT $LN4@fopen64_fi

; 121  :         mode_fopen = "r+b";

  0001d	48 8d 15 00 00
	00 00		 lea	 rdx, OFFSET FLAT:??_C@_03HMFOOINA@r?$CLb?$AA@
  00024	eb 0f		 jmp	 SHORT $LN6@fopen64_fi
$LN4@fopen64_fi:

; 122  :     else
; 123  :     if (mode & ZLIB_FILEFUNC_MODE_CREATE)

  00026	41 f6 c0 08	 test	 r8b, 8
  0002a	48 8d 15 00 00
	00 00		 lea	 rdx, OFFSET FLAT:??_C@_02GMLFBBN@wb?$AA@
  00031	48 0f 44 d1	 cmove	 rdx, rcx
$LN6@fopen64_fi:

; 124  :         mode_fopen = "wb";
; 125  : 
; 126  :     if ((filename!=NULL) && (mode_fopen != NULL))

  00035	4d 85 c9	 test	 r9, r9
  00038	74 0f		 je	 SHORT $LN9@fopen64_fi
  0003a	48 85 d2	 test	 rdx, rdx
  0003d	74 0a		 je	 SHORT $LN9@fopen64_fi

; 127  :         file = FOPEN_FUNC((const char*)filename, mode_fopen);

  0003f	49 8b c9	 mov	 rcx, r9
  00042	48 ff 25 00 00
	00 00		 rex_jmp QWORD PTR __imp_fopen
$LN9@fopen64_fi:

; 128  :     return file;

  00049	48 8b c1	 mov	 rax, rcx

; 129  : }

  0004c	c3		 ret	 0
fopen64_file_func ENDP
_TEXT	ENDS
; Function compile flags: /Ogtpy
; File c:\mywork\pkcs\zlib-1.2.11\contrib\minizip\ioapi.c
;	COMDAT fread_file_func
_TEXT	SEGMENT
opaque$ = 8
stream$ = 16
buf$ = 24
size$ = 32
fread_file_func PROC					; COMDAT

; 133  : {

  00000	49 8b c8	 mov	 rcx, r8

; 134  :     uLong ret;
; 135  :     ret = (uLong)fread(buf, 1, (size_t)size, (FILE *)stream);

  00003	45 8b c1	 mov	 r8d, r9d
  00006	4c 8b ca	 mov	 r9, rdx
  00009	ba 01 00 00 00	 mov	 edx, 1
  0000e	48 ff 25 00 00
	00 00		 rex_jmp QWORD PTR __imp_fread
fread_file_func ENDP
_TEXT	ENDS
; Function compile flags: /Ogtpy
; File c:\mywork\pkcs\zlib-1.2.11\contrib\minizip\ioapi.c
;	COMDAT fwrite_file_func
_TEXT	SEGMENT
opaque$ = 8
stream$ = 16
buf$ = 24
size$ = 32
fwrite_file_func PROC					; COMDAT

; 140  : {

  00000	49 8b c8	 mov	 rcx, r8

; 141  :     uLong ret;
; 142  :     ret = (uLong)fwrite(buf, 1, (size_t)size, (FILE *)stream);

  00003	45 8b c1	 mov	 r8d, r9d
  00006	4c 8b ca	 mov	 r9, rdx
  00009	ba 01 00 00 00	 mov	 edx, 1
  0000e	48 ff 25 00 00
	00 00		 rex_jmp QWORD PTR __imp_fwrite
fwrite_file_func ENDP
_TEXT	ENDS
; Function compile flags: /Ogtpy
; File c:\mywork\pkcs\zlib-1.2.11\contrib\minizip\ioapi.c
;	COMDAT ftell_file_func
_TEXT	SEGMENT
opaque$ = 8
stream$ = 16
ftell_file_func PROC					; COMDAT

; 148  :     long ret;
; 149  :     ret = ftell((FILE *)stream);

  00000	48 8b ca	 mov	 rcx, rdx
  00003	48 ff 25 00 00
	00 00		 rex_jmp QWORD PTR __imp_ftell
ftell_file_func ENDP
_TEXT	ENDS
; Function compile flags: /Ogtpy
; File c:\mywork\pkcs\zlib-1.2.11\contrib\minizip\ioapi.c
;	COMDAT ftell64_file_func
_TEXT	SEGMENT
opaque$ = 8
stream$ = 16
ftell64_file_func PROC					; COMDAT

; 156  :     ZPOS64_T ret;
; 157  :     ret = FTELLO_FUNC((FILE *)stream);

  00000	48 8b ca	 mov	 rcx, rdx
  00003	48 ff 25 00 00
	00 00		 rex_jmp QWORD PTR __imp__ftelli64
ftell64_file_func ENDP
_TEXT	ENDS
; Function compile flags: /Ogtpy
; File c:\mywork\pkcs\zlib-1.2.11\contrib\minizip\ioapi.c
;	COMDAT fseek_file_func
_TEXT	SEGMENT
opaque$ = 48
stream$ = 56
offset$ = 64
origin$ = 72
fseek_file_func PROC					; COMDAT

; 162  : {

  00000	40 53		 push	 rbx
  00002	48 83 ec 20	 sub	 rsp, 32			; 00000020H

; 163  :     int fseek_origin=0;
; 164  :     long ret;
; 165  :     switch (origin)

  00006	33 db		 xor	 ebx, ebx
  00008	45 8b d0	 mov	 r10d, r8d
  0000b	4c 8b da	 mov	 r11, rdx
  0000e	45 85 c9	 test	 r9d, r9d
  00011	74 25		 je	 SHORT $LN6@fseek_file
  00013	41 83 e9 01	 sub	 r9d, 1
  00017	74 17		 je	 SHORT $LN4@fseek_file
  00019	41 83 f9 01	 cmp	 r9d, 1
  0001d	74 09		 je	 SHORT $LN5@fseek_file

; 175  :         break;
; 176  :     default: return -1;

  0001f	83 c8 ff	 or	 eax, -1

; 182  : }

  00022	48 83 c4 20	 add	 rsp, 32			; 00000020H
  00026	5b		 pop	 rbx
  00027	c3		 ret	 0
$LN5@fseek_file:

; 170  :     case ZLIB_FILEFUNC_SEEK_END :
; 171  :         fseek_origin = SEEK_END;

  00028	41 b8 02 00 00
	00		 mov	 r8d, 2

; 172  :         break;

  0002e	eb 0b		 jmp	 SHORT $LN2@fseek_file
$LN4@fseek_file:

; 166  :     {
; 167  :     case ZLIB_FILEFUNC_SEEK_CUR :
; 168  :         fseek_origin = SEEK_CUR;

  00030	41 b8 01 00 00
	00		 mov	 r8d, 1

; 169  :         break;

  00036	eb 03		 jmp	 SHORT $LN2@fseek_file
$LN6@fseek_file:

; 173  :     case ZLIB_FILEFUNC_SEEK_SET :
; 174  :         fseek_origin = SEEK_SET;

  00038	44 8b c3	 mov	 r8d, ebx
$LN2@fseek_file:

; 177  :     }
; 178  :     ret = 0;
; 179  :     if (fseek((FILE *)stream, offset, fseek_origin) != 0)

  0003b	41 8b d2	 mov	 edx, r10d
  0003e	49 8b cb	 mov	 rcx, r11
  00041	ff 15 00 00 00
	00		 call	 QWORD PTR __imp_fseek
  00047	83 c9 ff	 or	 ecx, -1
  0004a	85 c0		 test	 eax, eax
  0004c	0f 45 d9	 cmovne	 ebx, ecx

; 180  :         ret = -1;
; 181  :     return ret;

  0004f	8b c3		 mov	 eax, ebx

; 182  : }

  00051	48 83 c4 20	 add	 rsp, 32			; 00000020H
  00055	5b		 pop	 rbx
  00056	c3		 ret	 0
fseek_file_func ENDP
_TEXT	ENDS
; Function compile flags: /Ogtpy
; File c:\mywork\pkcs\zlib-1.2.11\contrib\minizip\ioapi.c
;	COMDAT fseek64_file_func
_TEXT	SEGMENT
opaque$ = 48
stream$ = 56
offset$ = 64
origin$ = 72
fseek64_file_func PROC					; COMDAT

; 185  : {

  00000	40 53		 push	 rbx
  00002	48 83 ec 20	 sub	 rsp, 32			; 00000020H

; 186  :     int fseek_origin=0;
; 187  :     long ret;
; 188  :     switch (origin)

  00006	33 db		 xor	 ebx, ebx
  00008	4d 8b d0	 mov	 r10, r8
  0000b	4c 8b da	 mov	 r11, rdx
  0000e	45 85 c9	 test	 r9d, r9d
  00011	74 25		 je	 SHORT $LN6@fseek64_fi
  00013	41 83 e9 01	 sub	 r9d, 1
  00017	74 17		 je	 SHORT $LN4@fseek64_fi
  00019	41 83 f9 01	 cmp	 r9d, 1
  0001d	74 09		 je	 SHORT $LN5@fseek64_fi

; 198  :         break;
; 199  :     default: return -1;

  0001f	83 c8 ff	 or	 eax, -1

; 207  : }

  00022	48 83 c4 20	 add	 rsp, 32			; 00000020H
  00026	5b		 pop	 rbx
  00027	c3		 ret	 0
$LN5@fseek64_fi:

; 193  :     case ZLIB_FILEFUNC_SEEK_END :
; 194  :         fseek_origin = SEEK_END;

  00028	41 b8 02 00 00
	00		 mov	 r8d, 2

; 195  :         break;

  0002e	eb 0b		 jmp	 SHORT $LN2@fseek64_fi
$LN4@fseek64_fi:

; 189  :     {
; 190  :     case ZLIB_FILEFUNC_SEEK_CUR :
; 191  :         fseek_origin = SEEK_CUR;

  00030	41 b8 01 00 00
	00		 mov	 r8d, 1

; 192  :         break;

  00036	eb 03		 jmp	 SHORT $LN2@fseek64_fi
$LN6@fseek64_fi:

; 196  :     case ZLIB_FILEFUNC_SEEK_SET :
; 197  :         fseek_origin = SEEK_SET;

  00038	44 8b c3	 mov	 r8d, ebx
$LN2@fseek64_fi:

; 200  :     }
; 201  :     ret = 0;
; 202  : 
; 203  :     if(FSEEKO_FUNC((FILE *)stream, offset, fseek_origin) != 0)

  0003b	49 8b d2	 mov	 rdx, r10
  0003e	49 8b cb	 mov	 rcx, r11
  00041	ff 15 00 00 00
	00		 call	 QWORD PTR __imp__fseeki64
  00047	83 c9 ff	 or	 ecx, -1
  0004a	85 c0		 test	 eax, eax
  0004c	0f 45 d9	 cmovne	 ebx, ecx

; 204  :                         ret = -1;
; 205  : 
; 206  :     return ret;

  0004f	8b c3		 mov	 eax, ebx

; 207  : }

  00051	48 83 c4 20	 add	 rsp, 32			; 00000020H
  00055	5b		 pop	 rbx
  00056	c3		 ret	 0
fseek64_file_func ENDP
_TEXT	ENDS
; Function compile flags: /Ogtpy
; File c:\mywork\pkcs\zlib-1.2.11\contrib\minizip\ioapi.c
;	COMDAT fclose_file_func
_TEXT	SEGMENT
opaque$ = 8
stream$ = 16
fclose_file_func PROC					; COMDAT

; 212  :     int ret;
; 213  :     ret = fclose((FILE *)stream);

  00000	48 8b ca	 mov	 rcx, rdx
  00003	48 ff 25 00 00
	00 00		 rex_jmp QWORD PTR __imp_fclose
fclose_file_func ENDP
_TEXT	ENDS
; Function compile flags: /Ogtpy
; File c:\mywork\pkcs\zlib-1.2.11\contrib\minizip\ioapi.c
;	COMDAT ferror_file_func
_TEXT	SEGMENT
opaque$ = 8
stream$ = 16
ferror_file_func PROC					; COMDAT

; 219  :     int ret;
; 220  :     ret = ferror((FILE *)stream);

  00000	48 8b ca	 mov	 rcx, rdx
  00003	48 ff 25 00 00
	00 00		 rex_jmp QWORD PTR __imp_ferror
ferror_file_func ENDP
_TEXT	ENDS
; Function compile flags: /Ogtpy
; File c:\mywork\pkcs\zlib-1.2.11\contrib\minizip\ioapi.c
;	COMDAT fill_fopen64_filefunc
_TEXT	SEGMENT
pzlib_filefunc_def$ = 8
fill_fopen64_filefunc PROC				; COMDAT

; 239  :     pzlib_filefunc_def->zopen64_file = fopen64_file_func;

  00000	48 8d 05 00 00
	00 00		 lea	 rax, OFFSET FLAT:fopen64_file_func

; 240  :     pzlib_filefunc_def->zread_file = fread_file_func;
; 241  :     pzlib_filefunc_def->zwrite_file = fwrite_file_func;
; 242  :     pzlib_filefunc_def->ztell64_file = ftell64_file_func;
; 243  :     pzlib_filefunc_def->zseek64_file = fseek64_file_func;
; 244  :     pzlib_filefunc_def->zclose_file = fclose_file_func;
; 245  :     pzlib_filefunc_def->zerror_file = ferror_file_func;
; 246  :     pzlib_filefunc_def->opaque = NULL;

  00007	48 c7 41 38 00
	00 00 00	 mov	 QWORD PTR [rcx+56], 0
  0000f	48 89 01	 mov	 QWORD PTR [rcx], rax
  00012	48 8d 05 00 00
	00 00		 lea	 rax, OFFSET FLAT:fread_file_func
  00019	48 89 41 08	 mov	 QWORD PTR [rcx+8], rax
  0001d	48 8d 05 00 00
	00 00		 lea	 rax, OFFSET FLAT:fwrite_file_func
  00024	48 89 41 10	 mov	 QWORD PTR [rcx+16], rax
  00028	48 8d 05 00 00
	00 00		 lea	 rax, OFFSET FLAT:ftell64_file_func
  0002f	48 89 41 18	 mov	 QWORD PTR [rcx+24], rax
  00033	48 8d 05 00 00
	00 00		 lea	 rax, OFFSET FLAT:fseek64_file_func
  0003a	48 89 41 20	 mov	 QWORD PTR [rcx+32], rax
  0003e	48 8d 05 00 00
	00 00		 lea	 rax, OFFSET FLAT:fclose_file_func
  00045	48 89 41 28	 mov	 QWORD PTR [rcx+40], rax
  00049	48 8d 05 00 00
	00 00		 lea	 rax, OFFSET FLAT:ferror_file_func
  00050	48 89 41 30	 mov	 QWORD PTR [rcx+48], rax

; 247  : }

  00054	c3		 ret	 0
fill_fopen64_filefunc ENDP
_TEXT	ENDS
END
