Rev | Line | |
---|
[9] | 1 | .sect .text; .sect .rom; .sect .data; .sect .bss
|
---|
| 2 | .extern .compact
|
---|
| 3 | .sect .text
|
---|
| 4 | .compact:
|
---|
| 5 | push ebp
|
---|
| 6 | mov ebp,esp
|
---|
| 7 | sub esp,16
|
---|
| 8 | push esi
|
---|
| 9 | push edi
|
---|
| 10 | mov esi,8(ebp)
|
---|
| 11 | mov -4(ebp),0
|
---|
| 12 | cmp 16(ebp),8
|
---|
| 13 | jne I1_4
|
---|
| 14 | mov edi,12(ebp)
|
---|
| 15 | mov edx,-768
|
---|
| 16 | and edx,8(esi)
|
---|
| 17 | or edx,4(esi)
|
---|
| 18 | jne I1_7
|
---|
| 19 | push edi
|
---|
| 20 | call .zrf8
|
---|
| 21 | pop ecx
|
---|
| 22 | jmp I1_1
|
---|
| 23 | I1_7:
|
---|
| 24 | movsx eax,2(esi)
|
---|
| 25 | add eax,1023
|
---|
| 26 | movsx eax,eax
|
---|
| 27 | o16 mov 2(esi),eax
|
---|
| 28 | movsx ebx,2(esi)
|
---|
| 29 | cmp ebx,2046
|
---|
| 30 | jle I1_10
|
---|
| 31 | I1_12:
|
---|
| 32 | push 4
|
---|
| 33 | call __fptrp
|
---|
| 34 | pop ecx
|
---|
| 35 | o16 mov 2(esi),2047
|
---|
| 36 | mov 4(esi),0
|
---|
| 37 | mov 8(esi),0
|
---|
| 38 | mov edx,-4(ebp)
|
---|
| 39 | mov ecx,edx
|
---|
| 40 | inc ecx
|
---|
| 41 | mov -4(ebp),ecx
|
---|
| 42 | test edx,edx
|
---|
| 43 | je I1_11
|
---|
| 44 | jmp I1_1
|
---|
| 45 | I1_10:
|
---|
| 46 | movsx eax,2(esi)
|
---|
| 47 | ! kill cc
|
---|
| 48 | test eax,eax
|
---|
| 49 | jg I1_11
|
---|
| 50 | lea eax,4(esi)
|
---|
| 51 | push eax
|
---|
| 52 | call .b64_rsft
|
---|
| 53 | pop ecx
|
---|
| 54 | movsx eax,2(esi)
|
---|
| 55 | test eax,eax
|
---|
| 56 | jns I1_11
|
---|
| 57 | movsx eax,2(esi)
|
---|
| 58 | neg eax
|
---|
| 59 | push eax
|
---|
| 60 | lea eax,4(esi)
|
---|
| 61 | push eax
|
---|
| 62 | call .b64_sft
|
---|
| 63 | pop ecx
|
---|
| 64 | pop ecx
|
---|
| 65 | o16 mov 2(esi),0
|
---|
| 66 | I1_11:
|
---|
| 67 | mov edx,4(esi)
|
---|
| 68 | shr edx,11
|
---|
| 69 | mov (edi),edx
|
---|
| 70 | mov edx,8(esi)
|
---|
| 71 | shr edx,11
|
---|
| 72 | mov 4(edi),edx
|
---|
| 73 | lea edx,4(edi)
|
---|
| 74 | mov -12(ebp),edx
|
---|
| 75 | mov ecx,4(esi)
|
---|
| 76 | sal ecx,21
|
---|
| 77 | or ecx,(edx)
|
---|
| 78 | mov eax,-12(ebp)
|
---|
| 79 | mov (eax),ecx
|
---|
| 80 | ! kill eax
|
---|
| 81 | mov edx,2047
|
---|
| 82 | and edx,8(esi)
|
---|
| 83 | cmp edx,1024
|
---|
| 84 | ja I1_22
|
---|
| 85 | mov edx,2047
|
---|
| 86 | and edx,8(esi)
|
---|
| 87 | cmp edx,1024
|
---|
| 88 | jne I1_23
|
---|
| 89 | test 8(esi),2048
|
---|
| 90 | je I1_23
|
---|
| 91 | I1_22:
|
---|
| 92 | lea edx,4(edi)
|
---|
| 93 | mov -12(ebp),edx
|
---|
| 94 | mov ecx,1
|
---|
| 95 | add ecx,(edx)
|
---|
| 96 | mov eax,-12(ebp)
|
---|
| 97 | mov (eax),ecx
|
---|
| 98 | ! kill eax
|
---|
| 99 | cmp 4(edi),0
|
---|
| 100 | jne I1_28
|
---|
| 101 | mov -12(ebp),edi
|
---|
| 102 | mov edx,1
|
---|
| 103 | add edx,(edi)
|
---|
| 104 | mov eax,-12(ebp)
|
---|
| 105 | mov (eax),edx
|
---|
| 106 | ! kill eax
|
---|
| 107 | movzx edx,2(esi)
|
---|
| 108 | test edx,edx
|
---|
| 109 | jne I1_31
|
---|
| 110 | test (edi),-1048576
|
---|
| 111 | je I1_31
|
---|
| 112 | movsx eax,2(esi)
|
---|
| 113 | inc eax
|
---|
| 114 | movsx eax,eax
|
---|
| 115 | o16 mov 2(esi),eax
|
---|
| 116 | I1_31:
|
---|
| 117 | test (edi),2097152
|
---|
| 118 | je I1_28
|
---|
| 119 | mov edx,(edi)
|
---|
| 120 | testb dl,1
|
---|
| 121 | je I1_38
|
---|
| 122 | mov 4(edi),-2147483648
|
---|
| 123 | I1_38:
|
---|
| 124 | mov -12(ebp),edi
|
---|
| 125 | mov edx,(edi)
|
---|
| 126 | shr edx,1
|
---|
| 127 | mov eax,-12(ebp)
|
---|
| 128 | mov (eax),edx
|
---|
| 129 | ! kill eax
|
---|
| 130 | movsx eax,2(esi)
|
---|
| 131 | inc eax
|
---|
| 132 | movsx eax,eax
|
---|
| 133 | o16 mov 2(esi),eax
|
---|
| 134 | I1_28:
|
---|
| 135 | movsx eax,2(esi)
|
---|
| 136 | cmp eax,2046
|
---|
| 137 | jg I1_12
|
---|
| 138 | I1_23:
|
---|
| 139 | mov -12(ebp),edi
|
---|
| 140 | mov edx,1048575
|
---|
| 141 | and edx,(edi)
|
---|
| 142 | mov eax,-12(ebp)
|
---|
| 143 | mov (eax),edx
|
---|
| 144 | ! kill eax
|
---|
| 145 | mov -12(ebp),edi
|
---|
| 146 | movsx eax,2(esi)
|
---|
| 147 | sal eax,4
|
---|
| 148 | sal eax,16
|
---|
| 149 | or eax,(edi)
|
---|
| 150 | mov ebx,-12(ebp)
|
---|
| 151 | mov (ebx),eax
|
---|
| 152 | ! kill ebx
|
---|
| 153 | movzx edx,(esi)
|
---|
| 154 | test edx,edx
|
---|
| 155 | je I1_44
|
---|
| 156 | mov -12(ebp),edi
|
---|
| 157 | mov edx,-2147483648
|
---|
| 158 | or edx,(edi)
|
---|
| 159 | mov eax,-12(ebp)
|
---|
| 160 | mov (eax),edx
|
---|
| 161 | ! kill eax
|
---|
| 162 | I1_44:
|
---|
| 163 | mov edx,4(edi)
|
---|
| 164 | mov -16(ebp),edx
|
---|
| 165 | mov edx,(edi)
|
---|
| 166 | mov 4(edi),edx
|
---|
| 167 | mov edx,-16(ebp)
|
---|
| 168 | mov (edi),edx
|
---|
| 169 | jmp I1_1
|
---|
| 170 | I1_4:
|
---|
| 171 | mov edi,12(ebp)
|
---|
| 172 | test 4(esi),-128
|
---|
| 173 | jne I1_47
|
---|
| 174 | mov (edi),0
|
---|
| 175 | jmp I1_1
|
---|
| 176 | I1_47:
|
---|
| 177 | movsx eax,2(esi)
|
---|
| 178 | add eax,127
|
---|
| 179 | movsx eax,eax
|
---|
| 180 | o16 mov 2(esi),eax
|
---|
| 181 | movsx ebx,2(esi)
|
---|
| 182 | cmp ebx,254
|
---|
| 183 | jle I1_50
|
---|
| 184 | I1_52:
|
---|
| 185 | push 4
|
---|
| 186 | call __fptrp
|
---|
| 187 | pop ecx
|
---|
| 188 | o16 mov 2(esi),255
|
---|
| 189 | mov 4(esi),0
|
---|
| 190 | mov 8(esi),0
|
---|
| 191 | mov edx,-4(ebp)
|
---|
| 192 | mov ecx,edx
|
---|
| 193 | inc ecx
|
---|
| 194 | mov -4(ebp),ecx
|
---|
| 195 | test edx,edx
|
---|
| 196 | je I1_51
|
---|
| 197 | jmp I1_1
|
---|
| 198 | I1_50:
|
---|
| 199 | movsx eax,2(esi)
|
---|
| 200 | ! kill cc
|
---|
| 201 | test eax,eax
|
---|
| 202 | jg I1_51
|
---|
| 203 | lea eax,4(esi)
|
---|
| 204 | push eax
|
---|
| 205 | call .b64_rsft
|
---|
| 206 | pop ecx
|
---|
| 207 | movsx eax,2(esi)
|
---|
| 208 | test eax,eax
|
---|
| 209 | jns I1_51
|
---|
| 210 | movsx eax,2(esi)
|
---|
| 211 | neg eax
|
---|
| 212 | push eax
|
---|
| 213 | lea eax,4(esi)
|
---|
| 214 | push eax
|
---|
| 215 | call .b64_sft
|
---|
| 216 | pop ecx
|
---|
| 217 | pop ecx
|
---|
| 218 | o16 mov 2(esi),0
|
---|
| 219 | I1_51:
|
---|
| 220 | mov edx,4(esi)
|
---|
| 221 | shr edx,8
|
---|
| 222 | mov (edi),edx
|
---|
| 223 | mov edx,4(esi)
|
---|
| 224 | movzxb ecx,dl
|
---|
| 225 | cmp ecx,128
|
---|
| 226 | ja I1_62
|
---|
| 227 | cmpb dl,128
|
---|
| 228 | jne I1_63
|
---|
| 229 | test 4(esi),256
|
---|
| 230 | je I1_63
|
---|
| 231 | I1_62:
|
---|
| 232 | inc (edi)
|
---|
| 233 | movzx edx,2(esi)
|
---|
| 234 | test edx,edx
|
---|
| 235 | jne I1_68
|
---|
| 236 | test (edi),-8388608
|
---|
| 237 | je I1_68
|
---|
| 238 | movsx eax,2(esi)
|
---|
| 239 | inc eax
|
---|
| 240 | movsx eax,eax
|
---|
| 241 | o16 mov 2(esi),eax
|
---|
| 242 | I1_68:
|
---|
| 243 | test (edi),16777216
|
---|
| 244 | je I1_72
|
---|
| 245 | shr (edi),1
|
---|
| 246 | movsx eax,2(esi)
|
---|
| 247 | inc eax
|
---|
| 248 | movsx eax,eax
|
---|
| 249 | o16 mov 2(esi),eax
|
---|
| 250 | I1_72:
|
---|
| 251 | movsx eax,2(esi)
|
---|
| 252 | cmp eax,254
|
---|
| 253 | jg I1_52
|
---|
| 254 | I1_63:
|
---|
| 255 | and (edi),8388607
|
---|
| 256 | movsx eax,2(esi)
|
---|
| 257 | sal eax,7
|
---|
| 258 | sal eax,16
|
---|
| 259 | or (edi),eax
|
---|
| 260 | movzx edx,(esi)
|
---|
| 261 | test edx,edx
|
---|
| 262 | je I1_78
|
---|
| 263 | or (edi),-2147483648
|
---|
| 264 | I1_78:
|
---|
| 265 | mov edi,(edi)
|
---|
| 266 | I1_1:
|
---|
| 267 | pop edi
|
---|
| 268 | pop esi
|
---|
| 269 | leave
|
---|
| 270 | ret
|
---|
Note:
See
TracBrowser
for help on using the repository browser.