1 ; Listing generated by Microsoft (R) Optimizing Compiler Version 16.00.30319.01
\r
3 TITLE D:\FMU\FMUSolution\zlib-1.2.6\gzclose.c
\r
12 ; Function compile flags: /Ogtp
\r
13 ; File d:\fmu\fmusolution\zlib-1.2.6\gzclose.c
\r
16 _file$ = 8 ; size = 4
\r
17 _gzclose@4 PROC ; COMDAT
\r
22 00001 8b ec mov ebp, esp
\r
24 ; 14 : #ifndef NO_GZCOMPRESS
\r
25 ; 15 : gz_statep state;
\r
27 ; 17 : if (file == NULL)
\r
29 00003 8b 45 08 mov eax, DWORD PTR _file$[ebp]
\r
30 00006 85 c0 test eax, eax
\r
31 00008 75 09 jne SHORT $LN1@gzclose
\r
33 ; 18 : return Z_STREAM_ERROR;
\r
35 0000a b8 fe ff ff ff mov eax, -2 ; fffffffeH
\r
38 ; 23 : return gzclose_r(file);
\r
43 00010 c2 04 00 ret 4
\r
46 ; 19 : state = (gz_statep)file;
\r
48 ; 21 : return state->mode == GZ_READ ? gzclose_r(file) : gzclose_w(file);
\r
50 00013 81 78 10 4f 1c
\r
51 00 00 cmp DWORD PTR [eax+16], 7247 ; 00001c4fH
\r
53 0001b 75 09 jne SHORT $LN4@gzclose
\r
54 0001d e8 00 00 00 00 call _gzclose_r@4
\r
57 ; 23 : return gzclose_r(file);
\r
62 00023 c2 04 00 ret 4
\r
65 ; 19 : state = (gz_statep)file;
\r
67 ; 21 : return state->mode == GZ_READ ? gzclose_r(file) : gzclose_w(file);
\r
69 00026 e8 00 00 00 00 call _gzclose_w@4
\r
72 ; 23 : return gzclose_r(file);
\r
77 0002c c2 04 00 ret 4
\r