Debian Codegraph @

win-x86_64/crypto/fipsmodule/sha1-x86_64-win.asm

raw
1 ; This file is generated from a similarly-named Perl script in the BoringSSL
2 ; source tree. Do not edit by hand.
3
4 %ifidn __OUTPUT_FORMAT__, win64
5 default rel
6 %define XMMWORD
7 %define YMMWORD
8 %define ZMMWORD
9
10 %ifdef BORINGSSL_PREFIX
11 %include "boringssl_prefix_symbols_nasm.inc"
12 %endif
13 section .text code align=64
14
15 EXTERN OPENSSL_ia32cap_P
16
17 global sha1_block_data_order
18
19 ALIGN 16
20 sha1_block_data_order:
21 mov QWORD[8+rsp],rdi ;WIN64 prologue
22 mov QWORD[16+rsp],rsi
23 mov rax,rsp
24 $L$SEH_begin_sha1_block_data_order:
25 mov rdi,rcx
26 mov rsi,rdx
27 mov rdx,r8
28
29
30
31 lea r10,[OPENSSL_ia32cap_P]
32 mov r9d,DWORD[r10]
33 mov r8d,DWORD[4+r10]
34 mov r10d,DWORD[8+r10]
35 test r8d,512
36 jz NEAR $L$ialu
37 test r10d,536870912
38 jnz NEAR _shaext_shortcut
39 and r10d,296
40 cmp r10d,296
41 je NEAR _avx2_shortcut
42 and r8d,268435456
43 and r9d,1073741824
44 or r8d,r9d
45 cmp r8d,1342177280
46 je NEAR _avx_shortcut
47 jmp NEAR _ssse3_shortcut
48
49 ALIGN 16
50 $L$ialu:
51 mov rax,rsp
52
53 push rbx
54
55 push rbp
56
57 push r12
58
59 push r13
60
61 push r14
62
63 mov r8,rdi
64 sub rsp,72
65 mov r9,rsi
66 and rsp,-64
67 mov r10,rdx
68 mov QWORD[64+rsp],rax
69
70 $L$prologue:
71
72 mov esi,DWORD[r8]
73 mov edi,DWORD[4+r8]
74 mov r11d,DWORD[8+r8]
75 mov r12d,DWORD[12+r8]
76 mov r13d,DWORD[16+r8]
77 jmp NEAR $L$loop
78
79 ALIGN 16
80 $L$loop:
81 mov edx,DWORD[r9]
82 bswap edx
83 mov ebp,DWORD[4+r9]
84 mov eax,r12d
85 mov DWORD[rsp],edx
86 mov ecx,esi
87 bswap ebp
88 xor eax,r11d
89 rol ecx,5
90 and eax,edi
91 lea r13d,[1518500249+r13*1+rdx]
92 add r13d,ecx
93 xor eax,r12d
94 rol edi,30
95 add r13d,eax
96 mov r14d,DWORD[8+r9]
97 mov eax,r11d
98 mov DWORD[4+rsp],ebp
99 mov ecx,r13d
100 bswap r14d
101 xor eax,edi
102 rol ecx,5
103 and eax,esi
104 lea r12d,[1518500249+r12*1+rbp]
105 add r12d,ecx
106 xor eax,r11d
107 rol esi,30
108 add r12d,eax
109 mov edx,DWORD[12+r9]
110 mov eax,edi
111 mov DWORD[8+rsp],r14d
112 mov ecx,r12d
113 bswap edx
114 xor eax,esi
115 rol ecx,5
116 and eax,r13d
117 lea r11d,[1518500249+r11*1+r14]
118 add r11d,ecx
119 xor eax,edi
120 rol r13d,30
121 add r11d,eax
122 mov ebp,DWORD[16+r9]
123 mov eax,esi
124 mov DWORD[12+rsp],edx
125 mov ecx,r11d
126 bswap ebp
127 xor eax,r13d
128 rol ecx,5
129 and eax,r12d
130 lea edi,[1518500249+rdi*1+rdx]
131 add edi,ecx
132 xor eax,esi
133 rol r12d,30
134 add edi,eax
135 mov r14d,DWORD[20+r9]
136 mov eax,r13d
137 mov DWORD[16+rsp],ebp
138 mov ecx,edi
139 bswap r14d
140 xor eax,r12d
141 rol ecx,5
142 and eax,r11d
143 lea esi,[1518500249+rsi*1+rbp]
144 add esi,ecx
145 xor eax,r13d
146 rol r11d,30
147 add esi,eax
148 mov edx,DWORD[24+r9]
149 mov eax,r12d
150 mov DWORD[20+rsp],r14d
151 mov ecx,esi
152 bswap edx
153 xor eax,r11d
154 rol ecx,5
155 and eax,edi
156 lea r13d,[1518500249+r13*1+r14]
157 add r13d,ecx
158 xor eax,r12d
159 rol edi,30
160 add r13d,eax
161 mov ebp,DWORD[28+r9]
162 mov eax,r11d
163 mov DWORD[24+rsp],edx
164 mov ecx,r13d
165 bswap ebp
166 xor eax,edi
167 rol ecx,5
168 and eax,esi
169 lea r12d,[1518500249+r12*1+rdx]
170 add r12d,ecx
171 xor eax,r11d
172 rol esi,30
173 add r12d,eax
174 mov r14d,DWORD[32+r9]
175 mov eax,edi
176 mov DWORD[28+rsp],ebp
177 mov ecx,r12d
178 bswap r14d
179 xor eax,esi
180 rol ecx,5
181 and eax,r13d
182 lea r11d,[1518500249+r11*1+rbp]
183 add r11d,ecx
184 xor eax,edi
185 rol r13d,30
186 add r11d,eax
187 mov edx,DWORD[36+r9]
188 mov eax,esi
189 mov DWORD[32+rsp],r14d
190 mov ecx,r11d
191 bswap edx
192 xor eax,r13d
193 rol ecx,5
194 and eax,r12d
195 lea edi,[1518500249+rdi*1+r14]
196 add edi,ecx
197 xor eax,esi
198 rol r12d,30
199 add edi,eax
200 mov ebp,DWORD[40+r9]
201 mov eax,r13d
202 mov DWORD[36+rsp],edx
203 mov ecx,edi
204 bswap ebp
205 xor eax,r12d
206 rol ecx,5
207 and eax,r11d
208 lea esi,[1518500249+rsi*1+rdx]
209 add esi,ecx
210 xor eax,r13d
211 rol r11d,30
212 add esi,eax
213 mov r14d,DWORD[44+r9]
214 mov eax,r12d
215 mov DWORD[40+rsp],ebp
216 mov ecx,esi
217 bswap r14d
218 xor eax,r11d
219 rol ecx,5
220 and eax,edi
221 lea r13d,[1518500249+r13*1+rbp]
222 add r13d,ecx
223 xor eax,r12d
224 rol edi,30
225 add r13d,eax
226 mov edx,DWORD[48+r9]
227 mov eax,r11d
228 mov DWORD[44+rsp],r14d
229 mov ecx,r13d
230 bswap edx
231 xor eax,edi
232 rol ecx,5
233 and eax,esi
234 lea r12d,[1518500249+r12*1+r14]
235 add r12d,ecx
236 xor eax,r11d
237 rol esi,30
238 add r12d,eax
239 mov ebp,DWORD[52+r9]
240 mov eax,edi
241 mov DWORD[48+rsp],edx
242 mov ecx,r12d
243 bswap ebp
244 xor eax,esi
245 rol ecx,5
246 and eax,r13d
247 lea r11d,[1518500249+r11*1+rdx]
248 add r11d,ecx
249 xor eax,edi
250 rol r13d,30
251 add r11d,eax
252 mov r14d,DWORD[56+r9]
253 mov eax,esi
254 mov DWORD[52+rsp],ebp
255 mov ecx,r11d
256 bswap r14d
257 xor eax,r13d
258 rol ecx,5
259 and eax,r12d
260 lea edi,[1518500249+rdi*1+rbp]
261 add edi,ecx
262 xor eax,esi
263 rol r12d,30
264 add edi,eax
265 mov edx,DWORD[60+r9]
266 mov eax,r13d
267 mov DWORD[56+rsp],r14d
268 mov ecx,edi
269 bswap edx
270 xor eax,r12d
271 rol ecx,5
272 and eax,r11d
273 lea esi,[1518500249+rsi*1+r14]
274 add esi,ecx
275 xor eax,r13d
276 rol r11d,30
277 add esi,eax
278 xor ebp,DWORD[rsp]
279 mov eax,r12d
280 mov DWORD[60+rsp],edx
281 mov ecx,esi
282 xor ebp,DWORD[8+rsp]
283 xor eax,r11d
284 rol ecx,5
285 xor ebp,DWORD[32+rsp]
286 and eax,edi
287 lea r13d,[1518500249+r13*1+rdx]
288 rol edi,30
289 xor eax,r12d
290 add r13d,ecx
291 rol ebp,1
292 add r13d,eax
293 xor r14d,DWORD[4+rsp]
294 mov eax,r11d
295 mov DWORD[rsp],ebp
296 mov ecx,r13d
297 xor r14d,DWORD[12+rsp]
298 xor eax,edi
299 rol ecx,5
300 xor r14d,DWORD[36+rsp]
301 and eax,esi
302 lea r12d,[1518500249+r12*1+rbp]
303 rol esi,30
304 xor eax,r11d
305 add r12d,ecx
306 rol r14d,1
307 add r12d,eax
308 xor edx,DWORD[8+rsp]
309 mov eax,edi
310 mov DWORD[4+rsp],r14d
311 mov ecx,r12d
312 xor edx,DWORD[16+rsp]
313 xor eax,esi
314 rol ecx,5
315 xor edx,DWORD[40+rsp]
316 and eax,r13d
317 lea r11d,[1518500249+r11*1+r14]
318 rol r13d,30
319 xor eax,edi
320 add r11d,ecx
321 rol edx,1
322 add r11d,eax
323 xor ebp,DWORD[12+rsp]
324 mov eax,esi
325 mov DWORD[8+rsp],edx
326 mov ecx,r11d
327 xor ebp,DWORD[20+rsp]
328 xor eax,r13d
329 rol ecx,5
330 xor ebp,DWORD[44+rsp]
331 and eax,r12d
332 lea edi,[1518500249+rdi*1+rdx]
333 rol r12d,30
334 xor eax,esi
335 add edi,ecx
336 rol ebp,1
337 add edi,eax
338 xor r14d,DWORD[16+rsp]
339 mov eax,r13d
340 mov DWORD[12+rsp],ebp
341 mov ecx,edi
342 xor r14d,DWORD[24+rsp]
343 xor eax,r12d
344 rol ecx,5
345 xor r14d,DWORD[48+rsp]
346 and eax,r11d
347 lea esi,[1518500249+rsi*1+rbp]
348 rol r11d,30
349 xor eax,r13d
350 add esi,ecx
351 rol r14d,1
352 add esi,eax
353 xor edx,DWORD[20+rsp]
354 mov eax,edi
355 mov DWORD[16+rsp],r14d
356 mov ecx,esi
357 xor edx,DWORD[28+rsp]
358 xor eax,r12d
359 rol ecx,5
360 xor edx,DWORD[52+rsp]
361 lea r13d,[1859775393+r13*1+r14]
362 xor eax,r11d
363 add r13d,ecx
364 rol edi,30
365 add r13d,eax
366 rol edx,1
367 xor ebp,DWORD[24+rsp]
368 mov eax,esi
369 mov DWORD[20+rsp],edx
370 mov ecx,r13d
371 xor ebp,DWORD[32+rsp]
372 xor eax,r11d
373 rol ecx,5
374 xor ebp,DWORD[56+rsp]
375 lea r12d,[1859775393+r12*1+rdx]
376 xor eax,edi
377 add r12d,ecx
378 rol esi,30
379 add r12d,eax
380 rol ebp,1
381 xor r14d,DWORD[28+rsp]
382 mov eax,r13d
383 mov DWORD[24+rsp],ebp
384 mov ecx,r12d
385 xor r14d,DWORD[36+rsp]
386 xor eax,edi
387 rol ecx,5
388 xor r14d,DWORD[60+rsp]
389 lea r11d,[1859775393+r11*1+rbp]
390 xor eax,esi
391 add r11d,ecx
392 rol r13d,30
393 add r11d,eax
394 rol r14d,1
395 xor edx,DWORD[32+rsp]
396 mov eax,r12d
397 mov DWORD[28+rsp],r14d
398 mov ecx,r11d
399 xor edx,DWORD[40+rsp]
400 xor eax,esi
401 rol ecx,5
402 xor edx,DWORD[rsp]
403 lea edi,[1859775393+rdi*1+r14]
404 xor eax,r13d
405 add edi,ecx
406 rol r12d,30
407 add edi,eax
408 rol edx,1
409 xor ebp,DWORD[36+rsp]
410 mov eax,r11d
411 mov DWORD[32+rsp],edx
412 mov ecx,edi
413 xor ebp,DWORD[44+rsp]
414 xor eax,r13d
415 rol ecx,5
416 xor ebp,DWORD[4+rsp]
417 lea esi,[1859775393+rsi*1+rdx]
418 xor eax,r12d
419 add esi,ecx
420 rol r11d,30
421 add esi,eax
422 rol ebp,1
423 xor r14d,DWORD[40+rsp]
424 mov eax,edi
425 mov DWORD[36+rsp],ebp
426 mov ecx,esi
427 xor r14d,DWORD[48+rsp]
428 xor eax,r12d
429 rol ecx,5
430 xor r14d,DWORD[8+rsp]
431 lea r13d,[1859775393+r13*1+rbp]
432 xor eax,r11d
433 add r13d,ecx
434 rol edi,30
435 add r13d,eax
436 rol r14d,1
437 xor edx,DWORD[44+rsp]
438 mov eax,esi
439 mov DWORD[40+rsp],r14d
440 mov ecx,r13d
441 xor edx,DWORD[52+rsp]
442 xor eax,r11d
443 rol ecx,5
444 xor edx,DWORD[12+rsp]
445 lea r12d,[1859775393+r12*1+r14]
446 xor eax,edi
447 add r12d,ecx
448 rol esi,30
449 add r12d,eax
450 rol edx,1
451 xor ebp,DWORD[48+rsp]
452 mov eax,r13d
453 mov DWORD[44+rsp],edx
454 mov ecx,r12d
455 xor ebp,DWORD[56+rsp]
456 xor eax,edi
457 rol ecx,5
458 xor ebp,DWORD[16+rsp]
459 lea r11d,[1859775393+r11*1+rdx]
460 xor eax,esi
461 add r11d,ecx
462 rol r13d,30
463 add r11d,eax
464 rol ebp,1
465 xor r14d,DWORD[52+rsp]
466 mov eax,r12d
467 mov DWORD[48+rsp],ebp
468 mov ecx,r11d
469 xor r14d,DWORD[60+rsp]
470 xor eax,esi
471 rol ecx,5
472 xor r14d,DWORD[20+rsp]
473 lea edi,[1859775393+rdi*1+rbp]
474 xor eax,r13d
475 add edi,ecx
476 rol r12d,30
477 add edi,eax
478 rol r14d,1
479 xor edx,DWORD[56+rsp]
480 mov eax,r11d
481 mov DWORD[52+rsp],r14d
482 mov ecx,edi
483 xor edx,DWORD[rsp]
484 xor eax,r13d
485 rol ecx,5
486 xor edx,DWORD[24+rsp]
487 lea esi,[1859775393+rsi*1+r14]
488 xor eax,r12d
489 add esi,ecx
490 rol r11d,30
491 add esi,eax
492 rol edx,1
493 xor ebp,DWORD[60+rsp]
494 mov eax,edi
495 mov DWORD[56+rsp],edx
496 mov ecx,esi
497 xor ebp,DWORD[4+rsp]
498 xor eax,r12d
499 rol ecx,5
500 xor ebp,DWORD[28+rsp]
501 lea r13d,[1859775393+r13*1+rdx]
502 xor eax,r11d
503 add r13d,ecx
504 rol edi,30
505 add r13d,eax
506 rol ebp,1
507 xor r14d,DWORD[rsp]
508 mov eax,esi
509 mov DWORD[60+rsp],ebp
510 mov ecx,r13d
511 xor r14d,DWORD[8+rsp]
512 xor eax,r11d
513 rol ecx,5
514 xor r14d,DWORD[32+rsp]
515 lea r12d,[1859775393+r12*1+rbp]
516 xor eax,edi
517 add r12d,ecx
518 rol esi,30
519 add r12d,eax
520 rol r14d,1
521 xor edx,DWORD[4+rsp]
522 mov eax,r13d
523 mov DWORD[rsp],r14d
524 mov ecx,r12d
525 xor edx,DWORD[12+rsp]
526 xor eax,edi
527 rol ecx,5
528 xor edx,DWORD[36+rsp]
529 lea r11d,[1859775393+r11*1+r14]
530 xor eax,esi
531 add r11d,ecx
532 rol r13d,30
533 add r11d,eax
534 rol edx,1
535 xor ebp,DWORD[8+rsp]
536 mov eax,r12d
537 mov DWORD[4+rsp],edx
538 mov ecx,r11d
539 xor ebp,DWORD[16+rsp]
540 xor eax,esi
541 rol ecx,5
542 xor ebp,DWORD[40+rsp]
543 lea edi,[1859775393+rdi*1+rdx]
544 xor eax,r13d
545 add edi,ecx
546 rol r12d,30
547 add edi,eax
548 rol ebp,1
549 xor r14d,DWORD[12+rsp]
550 mov eax,r11d
551 mov DWORD[8+rsp],ebp
552 mov ecx,edi
553 xor r14d,DWORD[20+rsp]
554 xor eax,r13d
555 rol ecx,5
556 xor r14d,DWORD[44+rsp]
557 lea esi,[1859775393+rsi*1+rbp]
558 xor eax,r12d
559 add esi,ecx
560 rol r11d,30
561 add esi,eax
562 rol r14d,1
563 xor edx,DWORD[16+rsp]
564 mov eax,edi
565 mov DWORD[12+rsp],r14d
566 mov ecx,esi
567 xor edx,DWORD[24+rsp]
568 xor eax,r12d
569 rol ecx,5
570 xor edx,DWORD[48+rsp]
571 lea r13d,[1859775393+r13*1+r14]
572 xor eax,r11d
573 add r13d,ecx
574 rol edi,30
575 add r13d,eax
576 rol edx,1
577 xor ebp,DWORD[20+rsp]
578 mov eax,esi
579 mov DWORD[16+rsp],edx
580 mov ecx,r13d
581 xor ebp,DWORD[28+rsp]
582 xor eax,r11d
583 rol ecx,5
584 xor ebp,DWORD[52+rsp]
585 lea r12d,[1859775393+r12*1+rdx]
586 xor eax,edi
587 add r12d,ecx
588 rol esi,30
589 add r12d,eax
590 rol ebp,1
591 xor r14d,DWORD[24+rsp]
592 mov eax,r13d
593 mov DWORD[20+rsp],ebp
594 mov ecx,r12d
595 xor r14d,DWORD[32+rsp]
596 xor eax,edi
597 rol ecx,5
598 xor r14d,DWORD[56+rsp]
599 lea r11d,[1859775393+r11*1+rbp]
600 xor eax,esi
601 add r11d,ecx
602 rol r13d,30
603 add r11d,eax
604 rol r14d,1
605 xor edx,DWORD[28+rsp]
606 mov eax,r12d
607 mov DWORD[24+rsp],r14d
608 mov ecx,r11d
609 xor edx,DWORD[36+rsp]
610 xor eax,esi
611 rol ecx,5
612 xor edx,DWORD[60+rsp]
613 lea edi,[1859775393+rdi*1+r14]
614 xor eax,r13d
615 add edi,ecx
616 rol r12d,30
617 add edi,eax
618 rol edx,1
619 xor ebp,DWORD[32+rsp]
620 mov eax,r11d
621 mov DWORD[28+rsp],edx
622 mov ecx,edi
623 xor ebp,DWORD[40+rsp]
624 xor eax,r13d
625 rol ecx,5
626 xor ebp,DWORD[rsp]
627 lea esi,[1859775393+rsi*1+rdx]
628 xor eax,r12d
629 add esi,ecx
630 rol r11d,30
631 add esi,eax
632 rol ebp,1
633 xor r14d,DWORD[36+rsp]
634 mov eax,r12d
635 mov DWORD[32+rsp],ebp
636 mov ebx,r12d
637 xor r14d,DWORD[44+rsp]
638 and eax,r11d
639 mov ecx,esi
640 xor r14d,DWORD[4+rsp]
641 lea r13d,[((-1894007588))+r13*1+rbp]
642 xor ebx,r11d
643 rol ecx,5
644 add r13d,eax
645 rol r14d,1
646 and ebx,edi
647 add r13d,ecx
648 rol edi,30
649 add r13d,ebx
650 xor edx,DWORD[40+rsp]
651 mov eax,r11d
652 mov DWORD[36+rsp],r14d
653 mov ebx,r11d
654 xor edx,DWORD[48+rsp]
655 and eax,edi
656 mov ecx,r13d
657 xor edx,DWORD[8+rsp]
658 lea r12d,[((-1894007588))+r12*1+r14]
659 xor ebx,edi
660 rol ecx,5
661 add r12d,eax
662 rol edx,1
663 and ebx,esi
664 add r12d,ecx
665 rol esi,30
666 add r12d,ebx
667 xor ebp,DWORD[44+rsp]
668 mov eax,edi
669 mov DWORD[40+rsp],edx
670 mov ebx,edi
671 xor ebp,DWORD[52+rsp]
672 and eax,esi
673 mov ecx,r12d
674 xor ebp,DWORD[12+rsp]
675 lea r11d,[((-1894007588))+r11*1+rdx]
676 xor ebx,esi
677 rol ecx,5
678 add r11d,eax
679 rol ebp,1
680 and ebx,r13d
681 add r11d,ecx
682 rol r13d,30
683 add r11d,ebx
684 xor r14d,DWORD[48+rsp]
685 mov eax,esi
686 mov DWORD[44+rsp],ebp
687 mov ebx,esi
688 xor r14d,DWORD[56+rsp]
689 and eax,r13d
690 mov ecx,r11d
691 xor r14d,DWORD[16+rsp]
692 lea edi,[((-1894007588))+rdi*1+rbp]
693 xor ebx,r13d
694 rol ecx,5
695 add edi,eax
696 rol r14d,1
697 and ebx,r12d
698 add edi,ecx
699 rol r12d,30
700 add edi,ebx
701 xor edx,DWORD[52+rsp]
702 mov eax,r13d
703 mov DWORD[48+rsp],r14d
704 mov ebx,r13d
705 xor edx,DWORD[60+rsp]
706 and eax,r12d
707 mov ecx,edi
708 xor edx,DWORD[20+rsp]
709 lea esi,[((-1894007588))+rsi*1+r14]
710 xor ebx,r12d
711 rol ecx,5
712 add esi,eax
713 rol edx,1
714 and ebx,r11d
715 add esi,ecx
716 rol r11d,30
717 add esi,ebx
718 xor ebp,DWORD[56+rsp]
719 mov eax,r12d
720 mov DWORD[52+rsp],edx
721 mov ebx,r12d
722 xor ebp,DWORD[rsp]
723 and eax,r11d
724 mov ecx,esi
725 xor ebp,DWORD[24+rsp]
726 lea r13d,[((-1894007588))+r13*1+rdx]
727 xor ebx,r11d
728 rol ecx,5
729 add r13d,eax
730 rol ebp,1
731 and ebx,edi
732 add r13d,ecx
733 rol edi,30
734 add r13d,ebx
735 xor r14d,DWORD[60+rsp]
736 mov eax,r11d
737 mov DWORD[56+rsp],ebp
738 mov ebx,r11d
739 xor r14d,DWORD[4+rsp]
740 and eax,edi
741 mov ecx,r13d
742 xor r14d,DWORD[28+rsp]
743 lea r12d,[((-1894007588))+r12*1+rbp]
744 xor ebx,edi
745 rol ecx,5
746 add r12d,eax
747 rol r14d,1
748 and ebx,esi
749 add r12d,ecx
750 rol esi,30
751 add r12d,ebx
752 xor edx,DWORD[rsp]
753 mov eax,edi
754 mov DWORD[60+rsp],r14d
755 mov ebx,edi
756 xor edx,DWORD[8+rsp]
757 and eax,esi
758 mov ecx,r12d
759 xor edx,DWORD[32+rsp]
760 lea r11d,[((-1894007588))+r11*1+r14]
761 xor ebx,esi
762 rol ecx,5
763 add r11d,eax
764 rol edx,1
765 and ebx,r13d
766 add r11d,ecx
767 rol r13d,30
768 add r11d,ebx
769 xor ebp,DWORD[4+rsp]
770 mov eax,esi
771 mov DWORD[rsp],edx
772 mov ebx,esi
773 xor ebp,DWORD[12+rsp]
774 and eax,r13d
775 mov ecx,r11d
776 xor ebp,DWORD[36+rsp]
777 lea edi,[((-1894007588))+rdi*1+rdx]
778 xor ebx,r13d
779 rol ecx,5
780 add edi,eax
781 rol ebp,1
782 and ebx,r12d
783 add edi,ecx
784 rol r12d,30
785 add edi,ebx
786 xor r14d,DWORD[8+rsp]
787 mov eax,r13d
788 mov DWORD[4+rsp],ebp
789 mov ebx,r13d
790 xor r14d,DWORD[16+rsp]
791 and eax,r12d
792 mov ecx,edi
793 xor r14d,DWORD[40+rsp]
794 lea esi,[((-1894007588))+rsi*1+rbp]
795 xor ebx,r12d
796 rol ecx,5
797 add esi,eax
798 rol r14d,1
799 and ebx,r11d
800 add esi,ecx
801 rol r11d,30
802 add esi,ebx
803 xor edx,DWORD[12+rsp]
804 mov eax,r12d
805 mov DWORD[8+rsp],r14d
806 mov ebx,r12d
807 xor edx,DWORD[20+rsp]
808 and eax,r11d
809 mov ecx,esi
810 xor edx,DWORD[44+rsp]
811 lea r13d,[((-1894007588))+r13*1+r14]
812 xor ebx,r11d
813 rol ecx,5
814 add r13d,eax
815 rol edx,1
816 and ebx,edi
817 add r13d,ecx
818 rol edi,30
819 add r13d,ebx
820 xor ebp,DWORD[16+rsp]
821 mov eax,r11d
822 mov DWORD[12+rsp],edx
823 mov ebx,r11d
824 xor ebp,DWORD[24+rsp]
825 and eax,edi
826 mov ecx,r13d
827 xor ebp,DWORD[48+rsp]
828 lea r12d,[((-1894007588))+r12*1+rdx]
829 xor ebx,edi
830 rol ecx,5
831 add r12d,eax
832 rol ebp,1
833 and ebx,esi
834 add r12d,ecx
835 rol esi,30
836 add r12d,ebx
837 xor r14d,DWORD[20+rsp]
838 mov eax,edi
839 mov DWORD[16+rsp],ebp
840 mov ebx,edi
841 xor r14d,DWORD[28+rsp]
842 and eax,esi
843 mov ecx,r12d
844 xor r14d,DWORD[52+rsp]
845 lea r11d,[((-1894007588))+r11*1+rbp]
846 xor ebx,esi
847 rol ecx,5
848 add r11d,eax
849 rol r14d,1
850 and ebx,r13d
851 add r11d,ecx
852 rol r13d,30
853 add r11d,ebx
854 xor edx,DWORD[24+rsp]
855 mov eax,esi
856 mov DWORD[20+rsp],r14d
857 mov ebx,esi
858 xor edx,DWORD[32+rsp]
859 and eax,r13d
860 mov ecx,r11d
861 xor edx,DWORD[56+rsp]
862 lea edi,[((-1894007588))+rdi*1+r14]
863 xor ebx,r13d
864 rol ecx,5
865 add edi,eax
866 rol edx,1
867 and ebx,r12d
868 add edi,ecx
869 rol r12d,30
870 add edi,ebx
871 xor ebp,DWORD[28+rsp]
872 mov eax,r13d
873 mov DWORD[24+rsp],edx
874 mov ebx,r13d
875 xor ebp,DWORD[36+rsp]
876 and eax,r12d
877 mov ecx,edi
878 xor ebp,DWORD[60+rsp]
879 lea esi,[((-1894007588))+rsi*1+rdx]
880 xor ebx,r12d
881 rol ecx,5
882 add esi,eax
883 rol ebp,1
884 and ebx,r11d
885 add esi,ecx
886 rol r11d,30
887 add esi,ebx
888 xor r14d,DWORD[32+rsp]
889 mov eax,r12d
890 mov DWORD[28+rsp],ebp
891 mov ebx,r12d
892 xor r14d,DWORD[40+rsp]
893 and eax,r11d
894 mov ecx,esi
895 xor r14d,DWORD[rsp]
896 lea r13d,[((-1894007588))+r13*1+rbp]
897 xor ebx,r11d
898 rol ecx,5
899 add r13d,eax
900 rol r14d,1
901 and ebx,edi
902 add r13d,ecx
903 rol edi,30
904 add r13d,ebx
905 xor edx,DWORD[36+rsp]
906 mov eax,r11d
907 mov DWORD[32+rsp],r14d
908 mov ebx,r11d
909 xor edx,DWORD[44+rsp]
910 and eax,edi
911 mov ecx,r13d
912 xor edx,DWORD[4+rsp]
913 lea r12d,[((-1894007588))+r12*1+r14]
914 xor ebx,edi
915 rol ecx,5
916 add r12d,eax
917 rol edx,1
918 and ebx,esi
919 add r12d,ecx
920 rol esi,30
921 add r12d,ebx
922 xor ebp,DWORD[40+rsp]
923 mov eax,edi
924 mov DWORD[36+rsp],edx
925 mov ebx,edi
926 xor ebp,DWORD[48+rsp]
927 and eax,esi
928 mov ecx,r12d
929 xor ebp,DWORD[8+rsp]
930 lea r11d,[((-1894007588))+r11*1+rdx]
931 xor ebx,esi
932 rol ecx,5
933 add r11d,eax
934 rol ebp,1
935 and ebx,r13d
936 add r11d,ecx
937 rol r13d,30
938 add r11d,ebx
939 xor r14d,DWORD[44+rsp]
940 mov eax,esi
941 mov DWORD[40+rsp],ebp
942 mov ebx,esi
943 xor r14d,DWORD[52+rsp]
944 and eax,r13d
945 mov ecx,r11d
946 xor r14d,DWORD[12+rsp]
947 lea edi,[((-1894007588))+rdi*1+rbp]
948 xor ebx,r13d
949 rol ecx,5
950 add edi,eax
951 rol r14d,1
952 and ebx,r12d
953 add edi,ecx
954 rol r12d,30
955 add edi,ebx
956 xor edx,DWORD[48+rsp]
957 mov eax,r13d
958 mov DWORD[44+rsp],r14d
959 mov ebx,r13d
960 xor edx,DWORD[56+rsp]
961 and eax,r12d
962 mov ecx,edi
963 xor edx,DWORD[16+rsp]
964 lea esi,[((-1894007588))+rsi*1+r14]
965 xor ebx,r12d
966 rol ecx,5
967 add esi,eax
968 rol edx,1
969 and ebx,r11d
970 add esi,ecx
971 rol r11d,30
972 add esi,ebx
973 xor ebp,DWORD[52+rsp]
974 mov eax,edi
975 mov DWORD[48+rsp],edx
976 mov ecx,esi
977 xor ebp,DWORD[60+rsp]
978 xor eax,r12d
979 rol ecx,5
980 xor ebp,DWORD[20+rsp]
981 lea r13d,[((-899497514))+r13*1+rdx]
982 xor eax,r11d
983 add r13d,ecx
984 rol edi,30
985 add r13d,eax
986 rol ebp,1
987 xor r14d,DWORD[56+rsp]
988 mov eax,esi
989 mov DWORD[52+rsp],ebp
990 mov ecx,r13d
991 xor r14d,DWORD[rsp]
992 xor eax,r11d
993 rol ecx,5
994 xor r14d,DWORD[24+rsp]
995 lea r12d,[((-899497514))+r12*1+rbp]
996 xor eax,edi
997 add r12d,ecx
998 rol esi,30
999 add r12d,eax
1000 rol r14d,1
1001 xor edx,DWORD[60+rsp]
1002 mov eax,r13d
1003 mov DWORD[56+rsp],r14d
1004 mov ecx,r12d
1005 xor edx,DWORD[4+rsp]
1006 xor eax,edi
1007 rol ecx,5
1008 xor edx,DWORD[28+rsp]
1009 lea r11d,[((-899497514))+r11*1+r14]
1010 xor eax,esi
1011 add r11d,ecx
1012 rol r13d,30
1013 add r11d,eax
1014 rol edx,1
1015 xor ebp,DWORD[rsp]
1016 mov eax,r12d
1017 mov DWORD[60+rsp],edx
1018 mov ecx,r11d
1019 xor ebp,DWORD[8+rsp]
1020 xor eax,esi
1021 rol ecx,5
1022 xor ebp,DWORD[32+rsp]
1023 lea edi,[((-899497514))+rdi*1+rdx]
1024 xor eax,r13d
1025 add edi,ecx
1026 rol r12d,30
1027 add edi,eax
1028 rol ebp,1
1029 xor r14d,DWORD[4+rsp]
1030 mov eax,r11d
1031 mov DWORD[rsp],ebp
1032 mov ecx,edi
1033 xor r14d,DWORD[12+rsp]
1034 xor eax,r13d
1035 rol ecx,5
1036 xor r14d,DWORD[36+rsp]
1037 lea esi,[((-899497514))+rsi*1+rbp]
1038 xor eax,r12d
1039 add esi,ecx
1040 rol r11d,30
1041 add esi,eax
1042 rol r14d,1
1043 xor edx,DWORD[8+rsp]
1044 mov eax,edi
1045 mov DWORD[4+rsp],r14d
1046 mov ecx,esi
1047 xor edx,DWORD[16+rsp]
1048 xor eax,r12d
1049 rol ecx,5
1050 xor edx,DWORD[40+rsp]
1051 lea r13d,[((-899497514))+r13*1+r14]
1052 xor eax,r11d
1053 add r13d,ecx
1054 rol edi,30
1055 add r13d,eax
1056 rol edx,1
1057 xor ebp,DWORD[12+rsp]
1058 mov eax,esi
1059 mov DWORD[8+rsp],edx
1060 mov ecx,r13d
1061 xor ebp,DWORD[20+rsp]
1062 xor eax,r11d
1063 rol ecx,5
1064 xor ebp,DWORD[44+rsp]
1065 lea r12d,[((-899497514))+r12*1+rdx]
1066 xor eax,edi
1067 add r12d,ecx
1068 rol esi,30
1069 add r12d,eax
1070 rol ebp,1
1071 xor r14d,DWORD[16+rsp]
1072 mov eax,r13d
1073 mov DWORD[12+rsp],ebp
1074 mov ecx,r12d
1075 xor r14d,DWORD[24+rsp]
1076 xor eax,edi
1077 rol ecx,5
1078 xor r14d,DWORD[48+rsp]
1079 lea r11d,[((-899497514))+r11*1+rbp]
1080 xor eax,esi
1081 add r11d,ecx
1082 rol r13d,30
1083 add r11d,eax
1084 rol r14d,1
1085 xor edx,DWORD[20+rsp]
1086 mov eax,r12d
1087 mov DWORD[16+rsp],r14d
1088 mov ecx,r11d
1089 xor edx,DWORD[28+rsp]
1090 xor eax,esi
1091 rol ecx,5
1092 xor edx,DWORD[52+rsp]
1093 lea edi,[((-899497514))+rdi*1+r14]
1094 xor eax,r13d
1095 add edi,ecx
1096 rol r12d,30
1097 add edi,eax
1098 rol edx,1
1099 xor ebp,DWORD[24+rsp]
1100 mov eax,r11d
1101 mov DWORD[20+rsp],edx
1102 mov ecx,edi
1103 xor ebp,DWORD[32+rsp]
1104 xor eax,r13d
1105 rol ecx,5
1106 xor ebp,DWORD[56+rsp]
1107 lea esi,[((-899497514))+rsi*1+rdx]
1108 xor eax,r12d
1109 add esi,ecx
1110 rol r11d,30
1111 add esi,eax
1112 rol ebp,1
1113 xor r14d,DWORD[28+rsp]
1114 mov eax,edi
1115 mov DWORD[24+rsp],ebp
1116 mov ecx,esi
1117 xor r14d,DWORD[36+rsp]
1118 xor eax,r12d
1119 rol ecx,5
1120 xor r14d,DWORD[60+rsp]
1121 lea r13d,[((-899497514))+r13*1+rbp]
1122 xor eax,r11d
1123 add r13d,ecx
1124 rol edi,30
1125 add r13d,eax
1126 rol r14d,1
1127 xor edx,DWORD[32+rsp]
1128 mov eax,esi
1129 mov DWORD[28+rsp],r14d
1130 mov ecx,r13d
1131 xor edx,DWORD[40+rsp]
1132 xor eax,r11d
1133 rol ecx,5
1134 xor edx,DWORD[rsp]
1135 lea r12d,[((-899497514))+r12*1+r14]
1136 xor eax,edi
1137 add r12d,ecx
1138 rol esi,30
1139 add r12d,eax
1140 rol edx,1
1141 xor ebp,DWORD[36+rsp]
1142 mov eax,r13d
1143
1144 mov ecx,r12d
1145 xor ebp,DWORD[44+rsp]
1146 xor eax,edi
1147 rol ecx,5
1148 xor ebp,DWORD[4+rsp]
1149 lea r11d,[((-899497514))+r11*1+rdx]
1150 xor eax,esi
1151 add r11d,ecx
1152 rol r13d,30
1153 add r11d,eax
1154 rol ebp,1
1155 xor r14d,DWORD[40+rsp]
1156 mov eax,r12d
1157
1158 mov ecx,r11d
1159 xor r14d,DWORD[48+rsp]
1160 xor eax,esi
1161 rol ecx,5
1162 xor r14d,DWORD[8+rsp]
1163 lea edi,[((-899497514))+rdi*1+rbp]
1164 xor eax,r13d
1165 add edi,ecx
1166 rol r12d,30
1167 add edi,eax
1168 rol r14d,1
1169 xor edx,DWORD[44+rsp]
1170 mov eax,r11d
1171
1172 mov ecx,edi
1173 xor edx,DWORD[52+rsp]
1174 xor eax,r13d
1175 rol ecx,5
1176 xor edx,DWORD[12+rsp]
1177 lea esi,[((-899497514))+rsi*1+r14]
1178 xor eax,r12d
1179 add esi,ecx
1180 rol r11d,30
1181 add esi,eax
1182 rol edx,1
1183 xor ebp,DWORD[48+rsp]
1184 mov eax,edi
1185
1186 mov ecx,esi
1187 xor ebp,DWORD[56+rsp]
1188 xor eax,r12d
1189 rol ecx,5
1190 xor ebp,DWORD[16+rsp]
1191 lea r13d,[((-899497514))+r13*1+rdx]
1192 xor eax,r11d
1193 add r13d,ecx
1194 rol edi,30
1195 add r13d,eax
1196 rol ebp,1
1197 xor r14d,DWORD[52+rsp]
1198 mov eax,esi
1199
1200 mov ecx,r13d
1201 xor r14d,DWORD[60+rsp]
1202 xor eax,r11d
1203 rol ecx,5
1204 xor r14d,DWORD[20+rsp]
1205 lea r12d,[((-899497514))+r12*1+rbp]
1206 xor eax,edi
1207 add r12d,ecx
1208 rol esi,30
1209 add r12d,eax
1210 rol r14d,1
1211 xor edx,DWORD[56+rsp]
1212 mov eax,r13d
1213
1214 mov ecx,r12d
1215 xor edx,DWORD[rsp]
1216 xor eax,edi
1217 rol ecx,5
1218 xor edx,DWORD[24+rsp]
1219 lea r11d,[((-899497514))+r11*1+r14]
1220 xor eax,esi
1221 add r11d,ecx
1222 rol r13d,30
1223 add r11d,eax
1224 rol edx,1
1225 xor ebp,DWORD[60+rsp]
1226 mov eax,r12d
1227
1228 mov ecx,r11d
1229 xor ebp,DWORD[4+rsp]
1230 xor eax,esi
1231 rol ecx,5
1232 xor ebp,DWORD[28+rsp]
1233 lea edi,[((-899497514))+rdi*1+rdx]
1234 xor eax,r13d
1235 add edi,ecx
1236 rol r12d,30
1237 add edi,eax
1238 rol ebp,1
1239 mov eax,r11d
1240 mov ecx,edi
1241 xor eax,r13d
1242 lea esi,[((-899497514))+rsi*1+rbp]
1243 rol ecx,5
1244 xor eax,r12d
1245 add esi,ecx
1246 rol r11d,30
1247 add esi,eax
1248 add esi,DWORD[r8]
1249 add edi,DWORD[4+r8]
1250 add r11d,DWORD[8+r8]
1251 add r12d,DWORD[12+r8]
1252 add r13d,DWORD[16+r8]
1253 mov DWORD[r8],esi
1254 mov DWORD[4+r8],edi
1255 mov DWORD[8+r8],r11d
1256 mov DWORD[12+r8],r12d
1257 mov DWORD[16+r8],r13d
1258
1259 sub r10,1
1260 lea r9,[64+r9]
1261 jnz NEAR $L$loop
1262
1263 mov rsi,QWORD[64+rsp]
1264
1265 mov r14,QWORD[((-40))+rsi]
1266
1267 mov r13,QWORD[((-32))+rsi]
1268
1269 mov r12,QWORD[((-24))+rsi]
1270
1271 mov rbp,QWORD[((-16))+rsi]
1272
1273 mov rbx,QWORD[((-8))+rsi]
1274
1275 lea rsp,[rsi]
1276
1277 $L$epilogue:
1278 mov rdi,QWORD[8+rsp] ;WIN64 epilogue
1279 mov rsi,QWORD[16+rsp]
1280 DB 0F3h,0C3h ;repret
1281
1282 $L$SEH_end_sha1_block_data_order:
1283
1284 ALIGN 32
1285 sha1_block_data_order_shaext:
1286 mov QWORD[8+rsp],rdi ;WIN64 prologue
1287 mov QWORD[16+rsp],rsi
1288 mov rax,rsp
1289 $L$SEH_begin_sha1_block_data_order_shaext:
1290 mov rdi,rcx
1291 mov rsi,rdx
1292 mov rdx,r8
1293
1294
1295 _shaext_shortcut:
1296
1297 lea rsp,[((-72))+rsp]
1298 movaps XMMWORD[(-8-64)+rax],xmm6
1299 movaps XMMWORD[(-8-48)+rax],xmm7
1300 movaps XMMWORD[(-8-32)+rax],xmm8
1301 movaps XMMWORD[(-8-16)+rax],xmm9
1302 $L$prologue_shaext:
1303 movdqu xmm0,XMMWORD[rdi]
1304 movd xmm1,DWORD[16+rdi]
1305 movdqa xmm3,XMMWORD[((K_XX_XX+160))]
1306
1307 movdqu xmm4,XMMWORD[rsi]
1308 pshufd xmm0,xmm0,27
1309 movdqu xmm5,XMMWORD[16+rsi]
1310 pshufd xmm1,xmm1,27
1311 movdqu xmm6,XMMWORD[32+rsi]
1312 DB 102,15,56,0,227
1313 movdqu xmm7,XMMWORD[48+rsi]
1314 DB 102,15,56,0,235
1315 DB 102,15,56,0,243
1316 movdqa xmm9,xmm1
1317 DB 102,15,56,0,251
1318 jmp NEAR $L$oop_shaext
1319
1320 ALIGN 16
1321 $L$oop_shaext:
1322 dec rdx
1323 lea r8,[64+rsi]
1324 paddd xmm1,xmm4
1325 cmovne rsi,r8
1326 prefetcht0 [512+rsi]
1327 movdqa xmm8,xmm0
1328 DB 15,56,201,229
1329 movdqa xmm2,xmm0
1330 DB 15,58,204,193,0
1331 DB 15,56,200,213
1332 pxor xmm4,xmm6
1333 DB 15,56,201,238
1334 DB 15,56,202,231
1335
1336 movdqa xmm1,xmm0
1337 DB 15,58,204,194,0
1338 DB 15,56,200,206
1339 pxor xmm5,xmm7
1340 DB 15,56,202,236
1341 DB 15,56,201,247
1342 movdqa xmm2,xmm0
1343 DB 15,58,204,193,0
1344 DB 15,56,200,215
1345 pxor xmm6,xmm4
1346 DB 15,56,201,252
1347 DB 15,56,202,245
1348
1349 movdqa xmm1,xmm0
1350 DB 15,58,204,194,0
1351 DB 15,56,200,204
1352 pxor xmm7,xmm5
1353 DB 15,56,202,254
1354 DB 15,56,201,229
1355 movdqa xmm2,xmm0
1356 DB 15,58,204,193,0
1357 DB 15,56,200,213
1358 pxor xmm4,xmm6
1359 DB 15,56,201,238
1360 DB 15,56,202,231
1361
1362 movdqa xmm1,xmm0
1363 DB 15,58,204,194,1
1364 DB 15,56,200,206
1365 pxor xmm5,xmm7
1366 DB 15,56,202,236
1367 DB 15,56,201,247
1368 movdqa xmm2,xmm0
1369 DB 15,58,204,193,1
1370 DB 15,56,200,215
1371 pxor xmm6,xmm4
1372 DB 15,56,201,252
1373 DB 15,56,202,245
1374
1375 movdqa xmm1,xmm0
1376 DB 15,58,204,194,1
1377 DB 15,56,200,204
1378 pxor xmm7,xmm5
1379 DB 15,56,202,254
1380 DB 15,56,201,229
1381 movdqa xmm2,xmm0
1382 DB 15,58,204,193,1
1383 DB 15,56,200,213
1384 pxor xmm4,xmm6
1385 DB 15,56,201,238
1386 DB 15,56,202,231
1387
1388 movdqa xmm1,xmm0
1389 DB 15,58,204,194,1
1390 DB 15,56,200,206
1391 pxor xmm5,xmm7
1392 DB 15,56,202,236
1393 DB 15,56,201,247
1394 movdqa xmm2,xmm0
1395 DB 15,58,204,193,2
1396 DB 15,56,200,215
1397 pxor xmm6,xmm4
1398 DB 15,56,201,252
1399 DB 15,56,202,245
1400
1401 movdqa xmm1,xmm0
1402 DB 15,58,204,194,2
1403 DB 15,56,200,204
1404 pxor xmm7,xmm5
1405 DB 15,56,202,254
1406 DB 15,56,201,229
1407 movdqa xmm2,xmm0
1408 DB 15,58,204,193,2
1409 DB 15,56,200,213
1410 pxor xmm4,xmm6
1411 DB 15,56,201,238
1412 DB 15,56,202,231
1413
1414 movdqa xmm1,xmm0
1415 DB 15,58,204,194,2
1416 DB 15,56,200,206
1417 pxor xmm5,xmm7
1418 DB 15,56,202,236
1419 DB 15,56,201,247
1420 movdqa xmm2,xmm0
1421 DB 15,58,204,193,2
1422 DB 15,56,200,215
1423 pxor xmm6,xmm4
1424 DB 15,56,201,252
1425 DB 15,56,202,245
1426
1427 movdqa xmm1,xmm0
1428 DB 15,58,204,194,3
1429 DB 15,56,200,204
1430 pxor xmm7,xmm5
1431 DB 15,56,202,254
1432 movdqu xmm4,XMMWORD[rsi]
1433 movdqa xmm2,xmm0
1434 DB 15,58,204,193,3
1435 DB 15,56,200,213
1436 movdqu xmm5,XMMWORD[16+rsi]
1437 DB 102,15,56,0,227
1438
1439 movdqa xmm1,xmm0
1440 DB 15,58,204,194,3
1441 DB 15,56,200,206
1442 movdqu xmm6,XMMWORD[32+rsi]
1443 DB 102,15,56,0,235
1444
1445 movdqa xmm2,xmm0
1446 DB 15,58,204,193,3
1447 DB 15,56,200,215
1448 movdqu xmm7,XMMWORD[48+rsi]
1449 DB 102,15,56,0,243
1450
1451 movdqa xmm1,xmm0
1452 DB 15,58,204,194,3
1453 DB 65,15,56,200,201
1454 DB 102,15,56,0,251
1455
1456 paddd xmm0,xmm8
1457 movdqa xmm9,xmm1
1458
1459 jnz NEAR $L$oop_shaext
1460
1461 pshufd xmm0,xmm0,27
1462 pshufd xmm1,xmm1,27
1463 movdqu XMMWORD[rdi],xmm0
1464 movd DWORD[16+rdi],xmm1
1465 movaps xmm6,XMMWORD[((-8-64))+rax]
1466 movaps xmm7,XMMWORD[((-8-48))+rax]
1467 movaps xmm8,XMMWORD[((-8-32))+rax]
1468 movaps xmm9,XMMWORD[((-8-16))+rax]
1469 mov rsp,rax
1470 $L$epilogue_shaext:
1471 mov rdi,QWORD[8+rsp] ;WIN64 epilogue
1472 mov rsi,QWORD[16+rsp]
1473 DB 0F3h,0C3h ;repret
1474
1475 $L$SEH_end_sha1_block_data_order_shaext:
1476
1477 ALIGN 16
1478 sha1_block_data_order_ssse3:
1479 mov QWORD[8+rsp],rdi ;WIN64 prologue
1480 mov QWORD[16+rsp],rsi
1481 mov rax,rsp
1482 $L$SEH_begin_sha1_block_data_order_ssse3:
1483 mov rdi,rcx
1484 mov rsi,rdx
1485 mov rdx,r8
1486
1487
1488 _ssse3_shortcut:
1489
1490 mov r11,rsp
1491
1492 push rbx
1493
1494 push rbp
1495
1496 push r12
1497
1498 push r13
1499
1500 push r14
1501
1502 lea rsp,[((-160))+rsp]
1503 movaps XMMWORD[(-40-96)+r11],xmm6
1504 movaps XMMWORD[(-40-80)+r11],xmm7
1505 movaps XMMWORD[(-40-64)+r11],xmm8
1506 movaps XMMWORD[(-40-48)+r11],xmm9
1507 movaps XMMWORD[(-40-32)+r11],xmm10
1508 movaps XMMWORD[(-40-16)+r11],xmm11
1509 $L$prologue_ssse3:
1510 and rsp,-64
1511 mov r8,rdi
1512 mov r9,rsi
1513 mov r10,rdx
1514
1515 shl r10,6
1516 add r10,r9
1517 lea r14,[((K_XX_XX+64))]
1518
1519 mov eax,DWORD[r8]
1520 mov ebx,DWORD[4+r8]
1521 mov ecx,DWORD[8+r8]
1522 mov edx,DWORD[12+r8]
1523 mov esi,ebx
1524 mov ebp,DWORD[16+r8]
1525 mov edi,ecx
1526 xor edi,edx
1527 and esi,edi
1528
1529 movdqa xmm6,XMMWORD[64+r14]
1530 movdqa xmm9,XMMWORD[((-64))+r14]
1531 movdqu xmm0,XMMWORD[r9]
1532 movdqu xmm1,XMMWORD[16+r9]
1533 movdqu xmm2,XMMWORD[32+r9]
1534 movdqu xmm3,XMMWORD[48+r9]
1535 DB 102,15,56,0,198
1536 DB 102,15,56,0,206
1537 DB 102,15,56,0,214
1538 add r9,64
1539 paddd xmm0,xmm9
1540 DB 102,15,56,0,222
1541 paddd xmm1,xmm9
1542 paddd xmm2,xmm9
1543 movdqa XMMWORD[rsp],xmm0
1544 psubd xmm0,xmm9
1545 movdqa XMMWORD[16+rsp],xmm1
1546 psubd xmm1,xmm9
1547 movdqa XMMWORD[32+rsp],xmm2
1548 psubd xmm2,xmm9
1549 jmp NEAR $L$oop_ssse3
1550 ALIGN 16
1551 $L$oop_ssse3:
1552 ror ebx,2
1553 pshufd xmm4,xmm0,238
1554 xor esi,edx
1555 movdqa xmm8,xmm3
1556 paddd xmm9,xmm3
1557 mov edi,eax
1558 add ebp,DWORD[rsp]
1559 punpcklqdq xmm4,xmm1
1560 xor ebx,ecx
1561 rol eax,5
1562 add ebp,esi
1563 psrldq xmm8,4
1564 and edi,ebx
1565 xor ebx,ecx
1566 pxor xmm4,xmm0
1567 add ebp,eax
1568 ror eax,7
1569 pxor xmm8,xmm2
1570 xor edi,ecx
1571 mov esi,ebp
1572 add edx,DWORD[4+rsp]
1573 pxor xmm4,xmm8
1574 xor eax,ebx
1575 rol ebp,5
1576 movdqa XMMWORD[48+rsp],xmm9
1577 add edx,edi
1578 and esi,eax
1579 movdqa xmm10,xmm4
1580 xor eax,ebx
1581 add edx,ebp
1582 ror ebp,7
1583 movdqa xmm8,xmm4
1584 xor esi,ebx
1585 pslldq xmm10,12
1586 paddd xmm4,xmm4
1587 mov edi,edx
1588 add ecx,DWORD[8+rsp]
1589 psrld xmm8,31
1590 xor ebp,eax
1591 rol edx,5
1592 add ecx,esi
1593 movdqa xmm9,xmm10
1594 and edi,ebp
1595 xor ebp,eax
1596 psrld xmm10,30
1597 add ecx,edx
1598 ror edx,7
1599 por xmm4,xmm8
1600 xor edi,eax
1601 mov esi,ecx
1602 add ebx,DWORD[12+rsp]
1603 pslld xmm9,2
1604 pxor xmm4,xmm10
1605 xor edx,ebp
1606 movdqa xmm10,XMMWORD[((-64))+r14]
1607 rol ecx,5
1608 add ebx,edi
1609 and esi,edx
1610 pxor xmm4,xmm9
1611 xor edx,ebp
1612 add ebx,ecx
1613 ror ecx,7
1614 pshufd xmm5,xmm1,238
1615 xor esi,ebp
1616 movdqa xmm9,xmm4
1617 paddd xmm10,xmm4
1618 mov edi,ebx
1619 add eax,DWORD[16+rsp]
1620 punpcklqdq xmm5,xmm2
1621 xor ecx,edx
1622 rol ebx,5
1623 add eax,esi
1624 psrldq xmm9,4
1625 and edi,ecx
1626 xor ecx,edx
1627 pxor xmm5,xmm1
1628 add eax,ebx
1629 ror ebx,7
1630 pxor xmm9,xmm3
1631 xor edi,edx
1632 mov esi,eax
1633 add ebp,DWORD[20+rsp]
1634 pxor xmm5,xmm9
1635 xor ebx,ecx
1636 rol eax,5
1637 movdqa XMMWORD[rsp],xmm10
1638 add ebp,edi
1639 and esi,ebx
1640 movdqa xmm8,xmm5
1641 xor ebx,ecx
1642 add ebp,eax
1643 ror eax,7
1644 movdqa xmm9,xmm5
1645 xor esi,ecx
1646 pslldq xmm8,12
1647 paddd xmm5,xmm5
1648 mov edi,ebp
1649 add edx,DWORD[24+rsp]
1650 psrld xmm9,31
1651 xor eax,ebx
1652 rol ebp,5
1653 add edx,esi
1654 movdqa xmm10,xmm8
1655 and edi,eax
1656 xor eax,ebx
1657 psrld xmm8,30
1658 add edx,ebp
1659 ror ebp,7
1660 por xmm5,xmm9
1661 xor edi,ebx
1662 mov esi,edx
1663 add ecx,DWORD[28+rsp]
1664 pslld xmm10,2
1665 pxor xmm5,xmm8
1666 xor ebp,eax
1667 movdqa xmm8,XMMWORD[((-32))+r14]
1668 rol edx,5
1669 add ecx,edi
1670 and esi,ebp
1671 pxor xmm5,xmm10
1672 xor ebp,eax
1673 add ecx,edx
1674 ror edx,7
1675 pshufd xmm6,xmm2,238
1676 xor esi,eax
1677 movdqa xmm10,xmm5
1678 paddd xmm8,xmm5
1679 mov edi,ecx
1680 add ebx,DWORD[32+rsp]
1681 punpcklqdq xmm6,xmm3
1682 xor edx,ebp
1683 rol ecx,5
1684 add ebx,esi
1685 psrldq xmm10,4
1686 and edi,edx
1687 xor edx,ebp
1688 pxor xmm6,xmm2
1689 add ebx,ecx
1690 ror ecx,7
1691 pxor xmm10,xmm4
1692 xor edi,ebp
1693 mov esi,ebx
1694 add eax,DWORD[36+rsp]
1695 pxor xmm6,xmm10
1696 xor ecx,edx
1697 rol ebx,5
1698 movdqa XMMWORD[16+rsp],xmm8
1699 add eax,edi
1700 and esi,ecx
1701 movdqa xmm9,xmm6
1702 xor ecx,edx
1703 add eax,ebx
1704 ror ebx,7
1705 movdqa xmm10,xmm6
1706 xor esi,edx
1707 pslldq xmm9,12
1708 paddd xmm6,xmm6
1709 mov edi,eax
1710 add ebp,DWORD[40+rsp]
1711 psrld xmm10,31
1712 xor ebx,ecx
1713 rol eax,5
1714 add ebp,esi
1715 movdqa xmm8,xmm9
1716 and edi,ebx
1717 xor ebx,ecx
1718 psrld xmm9,30
1719 add ebp,eax
1720 ror eax,7
1721 por xmm6,xmm10
1722 xor edi,ecx
1723 mov esi,ebp
1724 add edx,DWORD[44+rsp]
1725 pslld xmm8,2
1726 pxor xmm6,xmm9
1727 xor eax,ebx
1728 movdqa xmm9,XMMWORD[((-32))+r14]
1729 rol ebp,5
1730 add edx,edi
1731 and esi,eax
1732 pxor xmm6,xmm8
1733 xor eax,ebx
1734 add edx,ebp
1735 ror ebp,7
1736 pshufd xmm7,xmm3,238
1737 xor esi,ebx
1738 movdqa xmm8,xmm6
1739 paddd xmm9,xmm6
1740 mov edi,edx
1741 add ecx,DWORD[48+rsp]
1742 punpcklqdq xmm7,xmm4
1743 xor ebp,eax
1744 rol edx,5
1745 add ecx,esi
1746 psrldq xmm8,4
1747 and edi,ebp
1748 xor ebp,eax
1749 pxor xmm7,xmm3
1750 add ecx,edx
1751 ror edx,7
1752 pxor xmm8,xmm5
1753 xor edi,eax
1754 mov esi,ecx
1755 add ebx,DWORD[52+rsp]
1756 pxor xmm7,xmm8
1757 xor edx,ebp
1758 rol ecx,5
1759 movdqa XMMWORD[32+rsp],xmm9
1760 add ebx,edi
1761 and esi,edx
1762 movdqa xmm10,xmm7
1763 xor edx,ebp
1764 add ebx,ecx
1765 ror ecx,7
1766 movdqa xmm8,xmm7
1767 xor esi,ebp
1768 pslldq xmm10,12
1769 paddd xmm7,xmm7
1770 mov edi,ebx
1771 add eax,DWORD[56+rsp]
1772 psrld xmm8,31
1773 xor ecx,edx
1774 rol ebx,5
1775 add eax,esi
1776 movdqa xmm9,xmm10
1777 and edi,ecx
1778 xor ecx,edx
1779 psrld xmm10,30
1780 add eax,ebx
1781 ror ebx,7
1782 por xmm7,xmm8
1783 xor edi,edx
1784 mov esi,eax
1785 add ebp,DWORD[60+rsp]
1786 pslld xmm9,2
1787 pxor xmm7,xmm10
1788 xor ebx,ecx
1789 movdqa xmm10,XMMWORD[((-32))+r14]
1790 rol eax,5
1791 add ebp,edi
1792 and esi,ebx
1793 pxor xmm7,xmm9
1794 pshufd xmm9,xmm6,238
1795 xor ebx,ecx
1796 add ebp,eax
1797 ror eax,7
1798 pxor xmm0,xmm4
1799 xor esi,ecx
1800 mov edi,ebp
1801 add edx,DWORD[rsp]
1802 punpcklqdq xmm9,xmm7
1803 xor eax,ebx
1804 rol ebp,5
1805 pxor xmm0,xmm1
1806 add edx,esi
1807 and edi,eax
1808 movdqa xmm8,xmm10
1809 xor eax,ebx
1810 paddd xmm10,xmm7
1811 add edx,ebp
1812 pxor xmm0,xmm9
1813 ror ebp,7
1814 xor edi,ebx
1815 mov esi,edx
1816 add ecx,DWORD[4+rsp]
1817 movdqa xmm9,xmm0
1818 xor ebp,eax
1819 rol edx,5
1820 movdqa XMMWORD[48+rsp],xmm10
1821 add ecx,edi
1822 and esi,ebp
1823 xor ebp,eax
1824 pslld xmm0,2
1825 add ecx,edx
1826 ror edx,7
1827 psrld xmm9,30
1828 xor esi,eax
1829 mov edi,ecx
1830 add ebx,DWORD[8+rsp]
1831 por xmm0,xmm9
1832 xor edx,ebp
1833 rol ecx,5
1834 pshufd xmm10,xmm7,238
1835 add ebx,esi
1836 and edi,edx
1837 xor edx,ebp
1838 add ebx,ecx
1839 add eax,DWORD[12+rsp]
1840 xor edi,ebp
1841 mov esi,ebx
1842 rol ebx,5
1843 add eax,edi
1844 xor esi,edx
1845 ror ecx,7
1846 add eax,ebx
1847 pxor xmm1,xmm5
1848 add ebp,DWORD[16+rsp]
1849 xor esi,ecx
1850 punpcklqdq xmm10,xmm0
1851 mov edi,eax
1852 rol eax,5
1853 pxor xmm1,xmm2
1854 add ebp,esi
1855 xor edi,ecx
1856 movdqa xmm9,xmm8
1857 ror ebx,7
1858 paddd xmm8,xmm0
1859 add ebp,eax
1860 pxor xmm1,xmm10
1861 add edx,DWORD[20+rsp]
1862 xor edi,ebx
1863 mov esi,ebp
1864 rol ebp,5
1865 movdqa xmm10,xmm1
1866 add edx,edi
1867 xor esi,ebx
1868 movdqa XMMWORD[rsp],xmm8
1869 ror eax,7
1870 add edx,ebp
1871 add ecx,DWORD[24+rsp]
1872 pslld xmm1,2
1873 xor esi,eax
1874 mov edi,edx
1875 psrld xmm10,30
1876 rol edx,5
1877 add ecx,esi
1878 xor edi,eax
1879 ror ebp,7
1880 por xmm1,xmm10
1881 add ecx,edx
1882 add ebx,DWORD[28+rsp]
1883 pshufd xmm8,xmm0,238
1884 xor edi,ebp
1885 mov esi,ecx
1886 rol ecx,5
1887 add ebx,edi
1888 xor esi,ebp
1889 ror edx,7
1890 add ebx,ecx
1891 pxor xmm2,xmm6
1892 add eax,DWORD[32+rsp]
1893 xor esi,edx
1894 punpcklqdq xmm8,xmm1
1895 mov edi,ebx
1896 rol ebx,5
1897 pxor xmm2,xmm3
1898 add eax,esi
1899 xor edi,edx
1900 movdqa xmm10,XMMWORD[r14]
1901 ror ecx,7
1902 paddd xmm9,xmm1
1903 add eax,ebx
1904 pxor xmm2,xmm8
1905 add ebp,DWORD[36+rsp]
1906 xor edi,ecx
1907 mov esi,eax
1908 rol eax,5
1909 movdqa xmm8,xmm2
1910 add ebp,edi
1911 xor esi,ecx
1912 movdqa XMMWORD[16+rsp],xmm9
1913 ror ebx,7
1914 add ebp,eax
1915 add edx,DWORD[40+rsp]
1916 pslld xmm2,2
1917 xor esi,ebx
1918 mov edi,ebp
1919 psrld xmm8,30
1920 rol ebp,5
1921 add edx,esi
1922 xor edi,ebx
1923 ror eax,7
1924 por xmm2,xmm8
1925 add edx,ebp
1926 add ecx,DWORD[44+rsp]
1927 pshufd xmm9,xmm1,238
1928 xor edi,eax
1929 mov esi,edx
1930 rol edx,5
1931 add ecx,edi
1932 xor esi,eax
1933 ror ebp,7
1934 add ecx,edx
1935 pxor xmm3,xmm7
1936 add ebx,DWORD[48+rsp]
1937 xor esi,ebp
1938 punpcklqdq xmm9,xmm2
1939 mov edi,ecx
1940 rol ecx,5
1941 pxor xmm3,xmm4
1942 add ebx,esi
1943 xor edi,ebp
1944 movdqa xmm8,xmm10
1945 ror edx,7
1946 paddd xmm10,xmm2
1947 add ebx,ecx
1948 pxor xmm3,xmm9
1949 add eax,DWORD[52+rsp]
1950 xor edi,edx
1951 mov esi,ebx
1952 rol ebx,5
1953 movdqa xmm9,xmm3
1954 add eax,edi
1955 xor esi,edx
1956 movdqa XMMWORD[32+rsp],xmm10
1957 ror ecx,7
1958 add eax,ebx
1959 add ebp,DWORD[56+rsp]
1960 pslld xmm3,2
1961 xor esi,ecx
1962 mov edi,eax
1963 psrld xmm9,30
1964 rol eax,5
1965 add ebp,esi
1966 xor edi,ecx
1967 ror ebx,7
1968 por xmm3,xmm9
1969 add ebp,eax
1970 add edx,DWORD[60+rsp]
1971 pshufd xmm10,xmm2,238
1972 xor edi,ebx
1973 mov esi,ebp
1974 rol ebp,5
1975 add edx,edi
1976 xor esi,ebx
1977 ror eax,7
1978 add edx,ebp
1979 pxor xmm4,xmm0
1980 add ecx,DWORD[rsp]
1981 xor esi,eax
1982 punpcklqdq xmm10,xmm3
1983 mov edi,edx
1984 rol edx,5
1985 pxor xmm4,xmm5
1986 add ecx,esi
1987 xor edi,eax
1988 movdqa xmm9,xmm8
1989 ror ebp,7
1990 paddd xmm8,xmm3
1991 add ecx,edx
1992 pxor xmm4,xmm10
1993 add ebx,DWORD[4+rsp]
1994 xor edi,ebp
1995 mov esi,ecx
1996 rol ecx,5
1997 movdqa xmm10,xmm4
1998 add ebx,edi
1999 xor esi,ebp
2000 movdqa XMMWORD[48+rsp],xmm8
2001 ror edx,7
2002 add ebx,ecx
2003 add eax,DWORD[8+rsp]
2004 pslld xmm4,2
2005 xor esi,edx
2006 mov edi,ebx
2007 psrld xmm10,30
2008 rol ebx,5
2009 add eax,esi
2010 xor edi,edx
2011 ror ecx,7
2012 por xmm4,xmm10
2013 add eax,ebx
2014 add ebp,DWORD[12+rsp]
2015 pshufd xmm8,xmm3,238
2016 xor edi,ecx
2017 mov esi,eax
2018 rol eax,5
2019 add ebp,edi
2020 xor esi,ecx
2021 ror ebx,7
2022 add ebp,eax
2023 pxor xmm5,xmm1
2024 add edx,DWORD[16+rsp]
2025 xor esi,ebx
2026 punpcklqdq xmm8,xmm4
2027 mov edi,ebp
2028 rol ebp,5
2029 pxor xmm5,xmm6
2030 add edx,esi
2031 xor edi,ebx
2032 movdqa xmm10,xmm9
2033 ror eax,7
2034 paddd xmm9,xmm4
2035 add edx,ebp
2036 pxor xmm5,xmm8
2037 add ecx,DWORD[20+rsp]
2038 xor edi,eax
2039 mov esi,edx
2040 rol edx,5
2041 movdqa xmm8,xmm5
2042 add ecx,edi
2043 xor esi,eax
2044 movdqa XMMWORD[rsp],xmm9
2045 ror ebp,7
2046 add ecx,edx
2047 add ebx,DWORD[24+rsp]
2048 pslld xmm5,2
2049 xor esi,ebp
2050 mov edi,ecx
2051 psrld xmm8,30
2052 rol ecx,5
2053 add ebx,esi
2054 xor edi,ebp
2055 ror edx,7
2056 por xmm5,xmm8
2057 add ebx,ecx
2058 add eax,DWORD[28+rsp]
2059 pshufd xmm9,xmm4,238
2060 ror ecx,7
2061 mov esi,ebx
2062 xor edi,edx
2063 rol ebx,5
2064 add eax,edi
2065 xor esi,ecx
2066 xor ecx,edx
2067 add eax,ebx
2068 pxor xmm6,xmm2
2069 add ebp,DWORD[32+rsp]
2070 and esi,ecx
2071 xor ecx,edx
2072 ror ebx,7
2073 punpcklqdq xmm9,xmm5
2074 mov edi,eax
2075 xor esi,ecx
2076 pxor xmm6,xmm7
2077 rol eax,5
2078 add ebp,esi
2079 movdqa xmm8,xmm10
2080 xor edi,ebx
2081 paddd xmm10,xmm5
2082 xor ebx,ecx
2083 pxor xmm6,xmm9
2084 add ebp,eax
2085 add edx,DWORD[36+rsp]
2086 and edi,ebx
2087 xor ebx,ecx
2088 ror eax,7
2089 movdqa xmm9,xmm6
2090 mov esi,ebp
2091 xor edi,ebx
2092 movdqa XMMWORD[16+rsp],xmm10
2093 rol ebp,5
2094 add edx,edi
2095 xor esi,eax
2096 pslld xmm6,2
2097 xor eax,ebx
2098 add edx,ebp
2099 psrld xmm9,30
2100 add ecx,DWORD[40+rsp]
2101 and esi,eax
2102 xor eax,ebx
2103 por xmm6,xmm9
2104 ror ebp,7
2105 mov edi,edx
2106 xor esi,eax
2107 rol edx,5
2108 pshufd xmm10,xmm5,238
2109 add ecx,esi
2110 xor edi,ebp
2111 xor ebp,eax
2112 add ecx,edx
2113 add ebx,DWORD[44+rsp]
2114 and edi,ebp
2115 xor ebp,eax
2116 ror edx,7
2117 mov esi,ecx
2118 xor edi,ebp
2119 rol ecx,5
2120 add ebx,edi
2121 xor esi,edx
2122 xor edx,ebp
2123 add ebx,ecx
2124 pxor xmm7,xmm3
2125 add eax,DWORD[48+rsp]
2126 and esi,edx
2127 xor edx,ebp
2128 ror ecx,7
2129 punpcklqdq xmm10,xmm6
2130 mov edi,ebx
2131 xor esi,edx
2132 pxor xmm7,xmm0
2133 rol ebx,5
2134 add eax,esi
2135 movdqa xmm9,XMMWORD[32+r14]
2136 xor edi,ecx
2137 paddd xmm8,xmm6
2138 xor ecx,edx
2139 pxor xmm7,xmm10
2140 add eax,ebx
2141 add ebp,DWORD[52+rsp]
2142 and edi,ecx
2143 xor ecx,edx
2144 ror ebx,7
2145 movdqa xmm10,xmm7
2146 mov esi,eax
2147 xor edi,ecx
2148 movdqa XMMWORD[32+rsp],xmm8
2149 rol eax,5
2150 add ebp,edi
2151 xor esi,ebx
2152 pslld xmm7,2
2153 xor ebx,ecx
2154 add ebp,eax
2155 psrld xmm10,30
2156 add edx,DWORD[56+rsp]
2157 and esi,ebx
2158 xor ebx,ecx
2159 por xmm7,xmm10
2160 ror eax,7
2161 mov edi,ebp
2162 xor esi,ebx
2163 rol ebp,5
2164 pshufd xmm8,xmm6,238
2165 add edx,esi
2166 xor edi,eax
2167 xor eax,ebx
2168 add edx,ebp
2169 add ecx,DWORD[60+rsp]
2170 and edi,eax
2171 xor eax,ebx
2172 ror ebp,7
2173 mov esi,edx
2174 xor edi,eax
2175 rol edx,5
2176 add ecx,edi
2177 xor esi,ebp
2178 xor ebp,eax
2179 add ecx,edx
2180 pxor xmm0,xmm4
2181 add ebx,DWORD[rsp]
2182 and esi,ebp
2183 xor ebp,eax
2184 ror edx,7
2185 punpcklqdq xmm8,xmm7
2186 mov edi,ecx
2187 xor esi,ebp
2188 pxor xmm0,xmm1
2189 rol ecx,5
2190 add ebx,esi
2191 movdqa xmm10,xmm9
2192 xor edi,edx
2193 paddd xmm9,xmm7
2194 xor edx,ebp
2195 pxor xmm0,xmm8
2196 add ebx,ecx
2197 add eax,DWORD[4+rsp]
2198 and edi,edx
2199 xor edx,ebp
2200 ror ecx,7
2201 movdqa xmm8,xmm0
2202 mov esi,ebx
2203 xor edi,edx
2204 movdqa XMMWORD[48+rsp],xmm9
2205 rol ebx,5
2206 add eax,edi
2207 xor esi,ecx
2208 pslld xmm0,2
2209 xor ecx,edx
2210 add eax,ebx
2211 psrld xmm8,30
2212 add ebp,DWORD[8+rsp]
2213 and esi,ecx
2214 xor ecx,edx
2215 por xmm0,xmm8
2216 ror ebx,7
2217 mov edi,eax
2218 xor esi,ecx
2219 rol eax,5
2220 pshufd xmm9,xmm7,238
2221 add ebp,esi
2222 xor edi,ebx
2223 xor ebx,ecx
2224 add ebp,eax
2225 add edx,DWORD[12+rsp]
2226 and edi,ebx
2227 xor ebx,ecx
2228 ror eax,7
2229 mov esi,ebp
2230 xor edi,ebx
2231 rol ebp,5
2232 add edx,edi
2233 xor esi,eax
2234 xor eax,ebx
2235 add edx,ebp
2236 pxor xmm1,xmm5
2237 add ecx,DWORD[16+rsp]
2238 and esi,eax
2239 xor eax,ebx
2240 ror ebp,7
2241 punpcklqdq xmm9,xmm0
2242 mov edi,edx
2243 xor esi,eax
2244 pxor xmm1,xmm2
2245 rol edx,5
2246 add ecx,esi
2247 movdqa xmm8,xmm10
2248 xor edi,ebp
2249 paddd xmm10,xmm0
2250 xor ebp,eax
2251 pxor xmm1,xmm9
2252 add ecx,edx
2253 add ebx,DWORD[20+rsp]
2254 and edi,ebp
2255 xor ebp,eax
2256 ror edx,7
2257 movdqa xmm9,xmm1
2258 mov esi,ecx
2259 xor edi,ebp
2260 movdqa XMMWORD[rsp],xmm10
2261 rol ecx,5
2262 add ebx,edi
2263 xor esi,edx
2264 pslld xmm1,2
2265 xor edx,ebp
2266 add ebx,ecx
2267 psrld xmm9,30
2268 add eax,DWORD[24+rsp]
2269 and esi,edx
2270 xor edx,ebp
2271 por xmm1,xmm9
2272 ror ecx,7
2273 mov edi,ebx
2274 xor esi,edx
2275 rol ebx,5
2276 pshufd xmm10,xmm0,238
2277 add eax,esi
2278 xor edi,ecx
2279 xor ecx,edx
2280 add eax,ebx
2281 add ebp,DWORD[28+rsp]
2282 and edi,ecx
2283 xor ecx,edx
2284 ror ebx,7
2285 mov esi,eax
2286 xor edi,ecx
2287 rol eax,5
2288 add ebp,edi
2289 xor esi,ebx
2290 xor ebx,ecx
2291 add ebp,eax
2292 pxor xmm2,xmm6
2293 add edx,DWORD[32+rsp]
2294 and esi,ebx
2295 xor ebx,ecx
2296 ror eax,7
2297 punpcklqdq xmm10,xmm1
2298 mov edi,ebp
2299 xor esi,ebx
2300 pxor xmm2,xmm3
2301 rol ebp,5
2302 add edx,esi
2303 movdqa xmm9,xmm8
2304 xor edi,eax
2305 paddd xmm8,xmm1
2306 xor eax,ebx
2307 pxor xmm2,xmm10
2308 add edx,ebp
2309 add ecx,DWORD[36+rsp]
2310 and edi,eax
2311 xor eax,ebx
2312 ror ebp,7
2313 movdqa xmm10,xmm2
2314 mov esi,edx
2315 xor edi,eax
2316 movdqa XMMWORD[16+rsp],xmm8
2317 rol edx,5
2318 add ecx,edi
2319 xor esi,ebp
2320 pslld xmm2,2
2321 xor ebp,eax
2322 add ecx,edx
2323 psrld xmm10,30
2324 add ebx,DWORD[40+rsp]
2325 and esi,ebp
2326 xor ebp,eax
2327 por xmm2,xmm10
2328 ror edx,7
2329 mov edi,ecx
2330 xor esi,ebp
2331 rol ecx,5
2332 pshufd xmm8,xmm1,238
2333 add ebx,esi
2334 xor edi,edx
2335 xor edx,ebp
2336 add ebx,ecx
2337 add eax,DWORD[44+rsp]
2338 and edi,edx
2339 xor edx,ebp
2340 ror ecx,7
2341 mov esi,ebx
2342 xor edi,edx
2343 rol ebx,5
2344 add eax,edi
2345 xor esi,edx
2346 add eax,ebx
2347 pxor xmm3,xmm7
2348 add ebp,DWORD[48+rsp]
2349 xor esi,ecx
2350 punpcklqdq xmm8,xmm2
2351 mov edi,eax
2352 rol eax,5
2353 pxor xmm3,xmm4
2354 add ebp,esi
2355 xor edi,ecx
2356 movdqa xmm10,xmm9
2357 ror ebx,7
2358 paddd xmm9,xmm2
2359 add ebp,eax
2360 pxor xmm3,xmm8
2361 add edx,DWORD[52+rsp]
2362 xor edi,ebx
2363 mov esi,ebp
2364 rol ebp,5
2365 movdqa xmm8,xmm3
2366 add edx,edi
2367 xor esi,ebx
2368 movdqa XMMWORD[32+rsp],xmm9
2369 ror eax,7
2370 add edx,ebp
2371 add ecx,DWORD[56+rsp]
2372 pslld xmm3,2
2373 xor esi,eax
2374 mov edi,edx
2375 psrld xmm8,30
2376 rol edx,5
2377 add ecx,esi
2378 xor edi,eax
2379 ror ebp,7
2380 por xmm3,xmm8
2381 add ecx,edx
2382 add ebx,DWORD[60+rsp]
2383 xor edi,ebp
2384 mov esi,ecx
2385 rol ecx,5
2386 add ebx,edi
2387 xor esi,ebp
2388 ror edx,7
2389 add ebx,ecx
2390 add eax,DWORD[rsp]
2391 xor esi,edx
2392 mov edi,ebx
2393 rol ebx,5
2394 paddd xmm10,xmm3
2395 add eax,esi
2396 xor edi,edx
2397 movdqa XMMWORD[48+rsp],xmm10
2398 ror ecx,7
2399 add eax,ebx
2400 add ebp,DWORD[4+rsp]
2401 xor edi,ecx
2402 mov esi,eax
2403 rol eax,5
2404 add ebp,edi
2405 xor esi,ecx
2406 ror ebx,7
2407 add ebp,eax
2408 add edx,DWORD[8+rsp]
2409 xor esi,ebx
2410 mov edi,ebp
2411 rol ebp,5
2412 add edx,esi
2413 xor edi,ebx
2414 ror eax,7
2415 add edx,ebp
2416 add ecx,DWORD[12+rsp]
2417 xor edi,eax
2418 mov esi,edx
2419 rol edx,5
2420 add ecx,edi
2421 xor esi,eax
2422 ror ebp,7
2423 add ecx,edx
2424 cmp r9,r10
2425 je NEAR $L$done_ssse3
2426 movdqa xmm6,XMMWORD[64+r14]
2427 movdqa xmm9,XMMWORD[((-64))+r14]
2428 movdqu xmm0,XMMWORD[r9]
2429 movdqu xmm1,XMMWORD[16+r9]
2430 movdqu xmm2,XMMWORD[32+r9]
2431 movdqu xmm3,XMMWORD[48+r9]
2432 DB 102,15,56,0,198
2433 add r9,64
2434 add ebx,DWORD[16+rsp]
2435 xor esi,ebp
2436 mov edi,ecx
2437 DB 102,15,56,0,206
2438 rol ecx,5
2439 add ebx,esi
2440 xor edi,ebp
2441 ror edx,7
2442 paddd xmm0,xmm9
2443 add ebx,ecx
2444 add eax,DWORD[20+rsp]
2445 xor edi,edx
2446 mov esi,ebx
2447 movdqa XMMWORD[rsp],xmm0
2448 rol ebx,5
2449 add eax,edi
2450 xor esi,edx
2451 ror ecx,7
2452 psubd xmm0,xmm9
2453 add eax,ebx
2454 add ebp,DWORD[24+rsp]
2455 xor esi,ecx
2456 mov edi,eax
2457 rol eax,5
2458 add ebp,esi
2459 xor edi,ecx
2460 ror ebx,7
2461 add ebp,eax
2462 add edx,DWORD[28+rsp]
2463 xor edi,ebx
2464 mov esi,ebp
2465 rol ebp,5
2466 add edx,edi
2467 xor esi,ebx
2468 ror eax,7
2469 add edx,ebp
2470 add ecx,DWORD[32+rsp]
2471 xor esi,eax
2472 mov edi,edx
2473 DB 102,15,56,0,214
2474 rol edx,5
2475 add ecx,esi
2476 xor edi,eax
2477 ror ebp,7
2478 paddd xmm1,xmm9
2479 add ecx,edx
2480 add ebx,DWORD[36+rsp]
2481 xor edi,ebp
2482 mov esi,ecx
2483 movdqa XMMWORD[16+rsp],xmm1
2484 rol ecx,5
2485 add ebx,edi
2486 xor esi,ebp
2487 ror edx,7
2488 psubd xmm1,xmm9
2489 add ebx,ecx
2490 add eax,DWORD[40+rsp]
2491 xor esi,edx
2492 mov edi,ebx
2493 rol ebx,5
2494 add eax,esi
2495 xor edi,edx
2496 ror ecx,7
2497 add eax,ebx
2498 add ebp,DWORD[44+rsp]
2499 xor edi,ecx
2500 mov esi,eax
2501 rol eax,5
2502 add ebp,edi
2503 xor esi,ecx
2504 ror ebx,7
2505 add ebp,eax
2506 add edx,DWORD[48+rsp]
2507 xor esi,ebx
2508 mov edi,ebp
2509 DB 102,15,56,0,222
2510 rol ebp,5
2511 add edx,esi
2512 xor edi,ebx
2513 ror eax,7
2514 paddd xmm2,xmm9
2515 add edx,ebp
2516 add ecx,DWORD[52+rsp]
2517 xor edi,eax
2518 mov esi,edx
2519 movdqa XMMWORD[32+rsp],xmm2
2520 rol edx,5
2521 add ecx,edi
2522 xor esi,eax
2523 ror ebp,7
2524 psubd xmm2,xmm9
2525 add ecx,edx
2526 add ebx,DWORD[56+rsp]
2527 xor esi,ebp
2528 mov edi,ecx
2529 rol ecx,5
2530 add ebx,esi
2531 xor edi,ebp
2532 ror edx,7
2533 add ebx,ecx
2534 add eax,DWORD[60+rsp]
2535 xor edi,edx
2536 mov esi,ebx
2537 rol ebx,5
2538 add eax,edi
2539 ror ecx,7
2540 add eax,ebx
2541 add eax,DWORD[r8]
2542 add esi,DWORD[4+r8]
2543 add ecx,DWORD[8+r8]
2544 add edx,DWORD[12+r8]
2545 mov DWORD[r8],eax
2546 add ebp,DWORD[16+r8]
2547 mov DWORD[4+r8],esi
2548 mov ebx,esi
2549 mov DWORD[8+r8],ecx
2550 mov edi,ecx
2551 mov DWORD[12+r8],edx
2552 xor edi,edx
2553 mov DWORD[16+r8],ebp
2554 and esi,edi
2555 jmp NEAR $L$oop_ssse3
2556
2557 ALIGN 16
2558 $L$done_ssse3:
2559 add ebx,DWORD[16+rsp]
2560 xor esi,ebp
2561 mov edi,ecx
2562 rol ecx,5
2563 add ebx,esi
2564 xor edi,ebp
2565 ror edx,7
2566 add ebx,ecx
2567 add eax,DWORD[20+rsp]
2568 xor edi,edx
2569 mov esi,ebx
2570 rol ebx,5
2571 add eax,edi
2572 xor esi,edx
2573 ror ecx,7
2574 add eax,ebx
2575 add ebp,DWORD[24+rsp]
2576 xor esi,ecx
2577 mov edi,eax
2578 rol eax,5
2579 add ebp,esi
2580 xor edi,ecx
2581 ror ebx,7
2582 add ebp,eax
2583 add edx,DWORD[28+rsp]
2584 xor edi,ebx
2585 mov esi,ebp
2586 rol ebp,5
2587 add edx,edi
2588 xor esi,ebx
2589 ror eax,7
2590 add edx,ebp
2591 add ecx,DWORD[32+rsp]
2592 xor esi,eax
2593 mov edi,edx
2594 rol edx,5
2595 add ecx,esi
2596 xor edi,eax
2597 ror ebp,7
2598 add ecx,edx
2599 add ebx,DWORD[36+rsp]
2600 xor edi,ebp
2601 mov esi,ecx
2602 rol ecx,5
2603 add ebx,edi
2604 xor esi,ebp
2605 ror edx,7
2606 add ebx,ecx
2607 add eax,DWORD[40+rsp]
2608 xor esi,edx
2609 mov edi,ebx
2610 rol ebx,5
2611 add eax,esi
2612 xor edi,edx
2613 ror ecx,7
2614 add eax,ebx
2615 add ebp,DWORD[44+rsp]
2616 xor edi,ecx
2617 mov esi,eax
2618 rol eax,5
2619 add ebp,edi
2620 xor esi,ecx
2621 ror ebx,7
2622 add ebp,eax
2623 add edx,DWORD[48+rsp]
2624 xor esi,ebx
2625 mov edi,ebp
2626 rol ebp,5
2627 add edx,esi
2628 xor edi,ebx
2629 ror eax,7
2630 add edx,ebp
2631 add ecx,DWORD[52+rsp]
2632 xor edi,eax
2633 mov esi,edx
2634 rol edx,5
2635 add ecx,edi
2636 xor esi,eax
2637 ror ebp,7
2638 add ecx,edx
2639 add ebx,DWORD[56+rsp]
2640 xor esi,ebp
2641 mov edi,ecx
2642 rol ecx,5
2643 add ebx,esi
2644 xor edi,ebp
2645 ror edx,7
2646 add ebx,ecx
2647 add eax,DWORD[60+rsp]
2648 xor edi,edx
2649 mov esi,ebx
2650 rol ebx,5
2651 add eax,edi
2652 ror ecx,7
2653 add eax,ebx
2654 add eax,DWORD[r8]
2655 add esi,DWORD[4+r8]
2656 add ecx,DWORD[8+r8]
2657 mov DWORD[r8],eax
2658 add edx,DWORD[12+r8]
2659 mov DWORD[4+r8],esi
2660 add ebp,DWORD[16+r8]
2661 mov DWORD[8+r8],ecx
2662 mov DWORD[12+r8],edx
2663 mov DWORD[16+r8],ebp
2664 movaps xmm6,XMMWORD[((-40-96))+r11]
2665 movaps xmm7,XMMWORD[((-40-80))+r11]
2666 movaps xmm8,XMMWORD[((-40-64))+r11]
2667 movaps xmm9,XMMWORD[((-40-48))+r11]
2668 movaps xmm10,XMMWORD[((-40-32))+r11]
2669 movaps xmm11,XMMWORD[((-40-16))+r11]
2670 mov r14,QWORD[((-40))+r11]
2671
2672 mov r13,QWORD[((-32))+r11]
2673
2674 mov r12,QWORD[((-24))+r11]
2675
2676 mov rbp,QWORD[((-16))+r11]
2677
2678 mov rbx,QWORD[((-8))+r11]
2679
2680 lea rsp,[r11]
2681
2682 $L$epilogue_ssse3:
2683 mov rdi,QWORD[8+rsp] ;WIN64 epilogue
2684 mov rsi,QWORD[16+rsp]
2685 DB 0F3h,0C3h ;repret
2686
2687 $L$SEH_end_sha1_block_data_order_ssse3:
2688
2689 ALIGN 16
2690 sha1_block_data_order_avx:
2691 mov QWORD[8+rsp],rdi ;WIN64 prologue
2692 mov QWORD[16+rsp],rsi
2693 mov rax,rsp
2694 $L$SEH_begin_sha1_block_data_order_avx:
2695 mov rdi,rcx
2696 mov rsi,rdx
2697 mov rdx,r8
2698
2699
2700 _avx_shortcut:
2701
2702 mov r11,rsp
2703
2704 push rbx
2705
2706 push rbp
2707
2708 push r12
2709
2710 push r13
2711
2712 push r14
2713
2714 lea rsp,[((-160))+rsp]
2715 vzeroupper
2716 vmovaps XMMWORD[(-40-96)+r11],xmm6
2717 vmovaps XMMWORD[(-40-80)+r11],xmm7
2718 vmovaps XMMWORD[(-40-64)+r11],xmm8
2719 vmovaps XMMWORD[(-40-48)+r11],xmm9
2720 vmovaps XMMWORD[(-40-32)+r11],xmm10
2721 vmovaps XMMWORD[(-40-16)+r11],xmm11
2722 $L$prologue_avx:
2723 and rsp,-64
2724 mov r8,rdi
2725 mov r9,rsi
2726 mov r10,rdx
2727
2728 shl r10,6
2729 add r10,r9
2730 lea r14,[((K_XX_XX+64))]
2731
2732 mov eax,DWORD[r8]
2733 mov ebx,DWORD[4+r8]
2734 mov ecx,DWORD[8+r8]
2735 mov edx,DWORD[12+r8]
2736 mov esi,ebx
2737 mov ebp,DWORD[16+r8]
2738 mov edi,ecx
2739 xor edi,edx
2740 and esi,edi
2741
2742 vmovdqa xmm6,XMMWORD[64+r14]
2743 vmovdqa xmm11,XMMWORD[((-64))+r14]
2744 vmovdqu xmm0,XMMWORD[r9]
2745 vmovdqu xmm1,XMMWORD[16+r9]
2746 vmovdqu xmm2,XMMWORD[32+r9]
2747 vmovdqu xmm3,XMMWORD[48+r9]
2748 vpshufb xmm0,xmm0,xmm6
2749 add r9,64
2750 vpshufb xmm1,xmm1,xmm6
2751 vpshufb xmm2,xmm2,xmm6
2752 vpshufb xmm3,xmm3,xmm6
2753 vpaddd xmm4,xmm0,xmm11
2754 vpaddd xmm5,xmm1,xmm11
2755 vpaddd xmm6,xmm2,xmm11
2756 vmovdqa XMMWORD[rsp],xmm4
2757 vmovdqa XMMWORD[16+rsp],xmm5
2758 vmovdqa XMMWORD[32+rsp],xmm6
2759 jmp NEAR $L$oop_avx
2760 ALIGN 16
2761 $L$oop_avx:
2762 shrd ebx,ebx,2
2763 xor esi,edx
2764 vpalignr xmm4,xmm1,xmm0,8
2765 mov edi,eax
2766 add ebp,DWORD[rsp]
2767 vpaddd xmm9,xmm11,xmm3
2768 xor ebx,ecx
2769 shld eax,eax,5
2770 vpsrldq xmm8,xmm3,4
2771 add ebp,esi
2772 and edi,ebx
2773 vpxor xmm4,xmm4,xmm0
2774 xor ebx,ecx
2775 add ebp,eax
2776 vpxor xmm8,xmm8,xmm2
2777 shrd eax,eax,7
2778 xor edi,ecx
2779 mov esi,ebp
2780 add edx,DWORD[4+rsp]
2781 vpxor xmm4,xmm4,xmm8
2782 xor eax,ebx
2783 shld ebp,ebp,5
2784 vmovdqa XMMWORD[48+rsp],xmm9
2785 add edx,edi
2786 and esi,eax
2787 vpsrld xmm8,xmm4,31
2788 xor eax,ebx
2789 add edx,ebp
2790 shrd ebp,ebp,7
2791 xor esi,ebx
2792 vpslldq xmm10,xmm4,12
2793 vpaddd xmm4,xmm4,xmm4
2794 mov edi,edx
2795 add ecx,DWORD[8+rsp]
2796 xor ebp,eax
2797 shld edx,edx,5
2798 vpsrld xmm9,xmm10,30
2799 vpor xmm4,xmm4,xmm8
2800 add ecx,esi
2801 and edi,ebp
2802 xor ebp,eax
2803 add ecx,edx
2804 vpslld xmm10,xmm10,2
2805 vpxor xmm4,xmm4,xmm9
2806 shrd edx,edx,7
2807 xor edi,eax
2808 mov esi,ecx
2809 add ebx,DWORD[12+rsp]
2810 vpxor xmm4,xmm4,xmm10
2811 xor edx,ebp
2812 shld ecx,ecx,5
2813 add ebx,edi
2814 and esi,edx
2815 xor edx,ebp
2816 add ebx,ecx
2817 shrd ecx,ecx,7
2818 xor esi,ebp
2819 vpalignr xmm5,xmm2,xmm1,8
2820 mov edi,ebx
2821 add eax,DWORD[16+rsp]
2822 vpaddd xmm9,xmm11,xmm4
2823 xor ecx,edx
2824 shld ebx,ebx,5
2825 vpsrldq xmm8,xmm4,4
2826 add eax,esi
2827 and edi,ecx
2828 vpxor xmm5,xmm5,xmm1
2829 xor ecx,edx
2830 add eax,ebx
2831 vpxor xmm8,xmm8,xmm3
2832 shrd ebx,ebx,7
2833 xor edi,edx
2834 mov esi,eax
2835 add ebp,DWORD[20+rsp]
2836 vpxor xmm5,xmm5,xmm8
2837 xor ebx,ecx
2838 shld eax,eax,5
2839 vmovdqa XMMWORD[rsp],xmm9
2840 add ebp,edi
2841 and esi,ebx
2842 vpsrld xmm8,xmm5,31
2843 xor ebx,ecx
2844 add ebp,eax
2845 shrd eax,eax,7
2846 xor esi,ecx
2847 vpslldq xmm10,xmm5,12
2848 vpaddd xmm5,xmm5,xmm5
2849 mov edi,ebp
2850 add edx,DWORD[24+rsp]
2851 xor eax,ebx
2852 shld ebp,ebp,5
2853 vpsrld xmm9,xmm10,30
2854 vpor xmm5,xmm5,xmm8
2855 add edx,esi
2856 and edi,eax
2857 xor eax,ebx
2858 add edx,ebp
2859 vpslld xmm10,xmm10,2
2860 vpxor xmm5,xmm5,xmm9
2861 shrd ebp,ebp,7
2862 xor edi,ebx
2863 mov esi,edx
2864 add ecx,DWORD[28+rsp]
2865 vpxor xmm5,xmm5,xmm10
2866 xor ebp,eax
2867 shld edx,edx,5
2868 vmovdqa xmm11,XMMWORD[((-32))+r14]
2869 add ecx,edi
2870 and esi,ebp
2871 xor ebp,eax
2872 add ecx,edx
2873 shrd edx,edx,7
2874 xor esi,eax
2875 vpalignr xmm6,xmm3,xmm2,8
2876 mov edi,ecx
2877 add ebx,DWORD[32+rsp]
2878 vpaddd xmm9,xmm11,xmm5
2879 xor edx,ebp
2880 shld ecx,ecx,5
2881 vpsrldq xmm8,xmm5,4
2882 add ebx,esi
2883 and edi,edx
2884 vpxor xmm6,xmm6,xmm2
2885 xor edx,ebp
2886 add ebx,ecx
2887 vpxor xmm8,xmm8,xmm4
2888 shrd ecx,ecx,7
2889 xor edi,ebp
2890 mov esi,ebx
2891 add eax,DWORD[36+rsp]
2892 vpxor xmm6,xmm6,xmm8
2893 xor ecx,edx
2894 shld ebx,ebx,5
2895 vmovdqa XMMWORD[16+rsp],xmm9
2896 add eax,edi
2897 and esi,ecx
2898 vpsrld xmm8,xmm6,31
2899 xor ecx,edx
2900 add eax,ebx
2901 shrd ebx,ebx,7
2902 xor esi,edx
2903 vpslldq xmm10,xmm6,12
2904 vpaddd xmm6,xmm6,xmm6
2905 mov edi,eax
2906 add ebp,DWORD[40+rsp]
2907 xor ebx,ecx
2908 shld eax,eax,5
2909 vpsrld xmm9,xmm10,30
2910 vpor xmm6,xmm6,xmm8
2911 add ebp,esi
2912 and edi,ebx
2913 xor ebx,ecx
2914 add ebp,eax
2915 vpslld xmm10,xmm10,2
2916 vpxor xmm6,xmm6,xmm9
2917 shrd eax,eax,7
2918 xor edi,ecx
2919 mov esi,ebp
2920 add edx,DWORD[44+rsp]
2921 vpxor xmm6,xmm6,xmm10
2922 xor eax,ebx
2923 shld ebp,ebp,5
2924 add edx,edi
2925 and esi,eax
2926 xor eax,ebx
2927 add edx,ebp
2928 shrd ebp,ebp,7
2929 xor esi,ebx
2930 vpalignr xmm7,xmm4,xmm3,8
2931 mov edi,edx
2932 add ecx,DWORD[48+rsp]
2933 vpaddd xmm9,xmm11,xmm6
2934 xor ebp,eax
2935 shld edx,edx,5
2936 vpsrldq xmm8,xmm6,4
2937 add ecx,esi
2938 and edi,ebp
2939 vpxor xmm7,xmm7,xmm3
2940 xor ebp,eax
2941 add ecx,edx
2942 vpxor xmm8,xmm8,xmm5
2943 shrd edx,edx,7
2944 xor edi,eax
2945 mov esi,ecx
2946 add ebx,DWORD[52+rsp]
2947 vpxor xmm7,xmm7,xmm8
2948 xor edx,ebp
2949 shld ecx,ecx,5
2950 vmovdqa XMMWORD[32+rsp],xmm9
2951 add ebx,edi
2952 and esi,edx
2953 vpsrld xmm8,xmm7,31
2954 xor edx,ebp
2955 add ebx,ecx
2956 shrd ecx,ecx,7
2957 xor esi,ebp
2958 vpslldq xmm10,xmm7,12
2959 vpaddd xmm7,xmm7,xmm7
2960 mov edi,ebx
2961 add eax,DWORD[56+rsp]
2962 xor ecx,edx
2963 shld ebx,ebx,5
2964 vpsrld xmm9,xmm10,30
2965 vpor xmm7,xmm7,xmm8
2966 add eax,esi
2967 and edi,ecx
2968 xor ecx,edx
2969 add eax,ebx
2970 vpslld xmm10,xmm10,2
2971 vpxor xmm7,xmm7,xmm9
2972 shrd ebx,ebx,7
2973 xor edi,edx
2974 mov esi,eax
2975 add ebp,DWORD[60+rsp]
2976 vpxor xmm7,xmm7,xmm10
2977 xor ebx,ecx
2978 shld eax,eax,5
2979 add ebp,edi
2980 and esi,ebx
2981 xor ebx,ecx
2982 add ebp,eax
2983 vpalignr xmm8,xmm7,xmm6,8
2984 vpxor xmm0,xmm0,xmm4
2985 shrd eax,eax,7
2986 xor esi,ecx
2987 mov edi,ebp
2988 add edx,DWORD[rsp]
2989 vpxor xmm0,xmm0,xmm1
2990 xor eax,ebx
2991 shld ebp,ebp,5
2992 vpaddd xmm9,xmm11,xmm7
2993 add edx,esi
2994 and edi,eax
2995 vpxor xmm0,xmm0,xmm8
2996 xor eax,ebx
2997 add edx,ebp
2998 shrd ebp,ebp,7
2999 xor edi,ebx
3000 vpsrld xmm8,xmm0,30
3001 vmovdqa XMMWORD[48+rsp],xmm9
3002 mov esi,edx
3003 add ecx,DWORD[4+rsp]
3004 xor ebp,eax
3005 shld edx,edx,5
3006 vpslld xmm0,xmm0,2
3007 add ecx,edi
3008 and esi,ebp
3009 xor ebp,eax
3010 add ecx,edx
3011 shrd edx,edx,7
3012 xor esi,eax
3013 mov edi,ecx
3014 add ebx,DWORD[8+rsp]
3015 vpor xmm0,xmm0,xmm8
3016 xor edx,ebp
3017 shld ecx,ecx,5
3018 add ebx,esi
3019 and edi,edx
3020 xor edx,ebp
3021 add ebx,ecx
3022 add eax,DWORD[12+rsp]
3023 xor edi,ebp
3024 mov esi,ebx
3025 shld ebx,ebx,5
3026 add eax,edi
3027 xor esi,edx
3028 shrd ecx,ecx,7
3029 add eax,ebx
3030 vpalignr xmm8,xmm0,xmm7,8
3031 vpxor xmm1,xmm1,xmm5
3032 add ebp,DWORD[16+rsp]
3033 xor esi,ecx
3034 mov edi,eax
3035 shld eax,eax,5
3036 vpxor xmm1,xmm1,xmm2
3037 add ebp,esi
3038 xor edi,ecx
3039 vpaddd xmm9,xmm11,xmm0
3040 shrd ebx,ebx,7
3041 add ebp,eax
3042 vpxor xmm1,xmm1,xmm8
3043 add edx,DWORD[20+rsp]
3044 xor edi,ebx
3045 mov esi,ebp
3046 shld ebp,ebp,5
3047 vpsrld xmm8,xmm1,30
3048 vmovdqa XMMWORD[rsp],xmm9
3049 add edx,edi
3050 xor esi,ebx
3051 shrd eax,eax,7
3052 add edx,ebp
3053 vpslld xmm1,xmm1,2
3054 add ecx,DWORD[24+rsp]
3055 xor esi,eax
3056 mov edi,edx
3057 shld edx,edx,5
3058 add ecx,esi
3059 xor edi,eax
3060 shrd ebp,ebp,7
3061 add ecx,edx
3062 vpor xmm1,xmm1,xmm8
3063 add ebx,DWORD[28+rsp]
3064 xor edi,ebp
3065 mov esi,ecx
3066 shld ecx,ecx,5
3067 add ebx,edi
3068 xor esi,ebp
3069 shrd edx,edx,7
3070 add ebx,ecx
3071 vpalignr xmm8,xmm1,xmm0,8
3072 vpxor xmm2,xmm2,xmm6
3073 add eax,DWORD[32+rsp]
3074 xor esi,edx
3075 mov edi,ebx
3076 shld ebx,ebx,5
3077 vpxor xmm2,xmm2,xmm3
3078 add eax,esi
3079 xor edi,edx
3080 vpaddd xmm9,xmm11,xmm1
3081 vmovdqa xmm11,XMMWORD[r14]
3082 shrd ecx,ecx,7
3083 add eax,ebx
3084 vpxor xmm2,xmm2,xmm8
3085 add ebp,DWORD[36+rsp]
3086 xor edi,ecx
3087 mov esi,eax
3088 shld eax,eax,5
3089 vpsrld xmm8,xmm2,30
3090 vmovdqa XMMWORD[16+rsp],xmm9
3091 add ebp,edi
3092 xor esi,ecx
3093 shrd ebx,ebx,7
3094 add ebp,eax
3095 vpslld xmm2,xmm2,2
3096 add edx,DWORD[40+rsp]
3097 xor esi,ebx
3098 mov edi,ebp
3099 shld ebp,ebp,5
3100 add edx,esi
3101 xor edi,ebx
3102 shrd eax,eax,7
3103 add edx,ebp
3104 vpor xmm2,xmm2,xmm8
3105 add ecx,DWORD[44+rsp]
3106 xor edi,eax
3107 mov esi,edx
3108 shld edx,edx,5
3109 add ecx,edi
3110 xor esi,eax
3111 shrd ebp,ebp,7
3112 add ecx,edx
3113 vpalignr xmm8,xmm2,xmm1,8
3114 vpxor xmm3,xmm3,xmm7
3115 add ebx,DWORD[48+rsp]
3116 xor esi,ebp
3117 mov edi,ecx
3118 shld ecx,ecx,5
3119 vpxor xmm3,xmm3,xmm4
3120 add ebx,esi
3121 xor edi,ebp
3122 vpaddd xmm9,xmm11,xmm2
3123 shrd edx,edx,7
3124 add ebx,ecx
3125 vpxor xmm3,xmm3,xmm8
3126 add eax,DWORD[52+rsp]
3127 xor edi,edx
3128 mov esi,ebx
3129 shld ebx,ebx,5
3130 vpsrld xmm8,xmm3,30
3131 vmovdqa XMMWORD[32+rsp],xmm9
3132 add eax,edi
3133 xor esi,edx
3134 shrd ecx,ecx,7
3135 add eax,ebx
3136 vpslld xmm3,xmm3,2
3137 add ebp,DWORD[56+rsp]
3138 xor esi,ecx
3139 mov edi,eax
3140 shld eax,eax,5
3141 add ebp,esi
3142 xor edi,ecx
3143 shrd ebx,ebx,7
3144 add ebp,eax
3145 vpor xmm3,xmm3,xmm8
3146 add edx,DWORD[60+rsp]
3147 xor edi,ebx
3148 mov esi,ebp
3149 shld ebp,ebp,5
3150 add edx,edi
3151 xor esi,ebx
3152 shrd eax,eax,7
3153 add edx,ebp
3154 vpalignr xmm8,xmm3,xmm2,8
3155 vpxor xmm4,xmm4,xmm0
3156 add ecx,DWORD[rsp]
3157 xor esi,eax
3158 mov edi,edx
3159 shld edx,edx,5
3160 vpxor xmm4,xmm4,xmm5
3161 add ecx,esi
3162 xor edi,eax
3163 vpaddd xmm9,xmm11,xmm3
3164 shrd ebp,ebp,7
3165 add ecx,edx
3166 vpxor xmm4,xmm4,xmm8
3167 add ebx,DWORD[4+rsp]
3168 xor edi,ebp
3169 mov esi,ecx
3170 shld ecx,ecx,5
3171 vpsrld xmm8,xmm4,30
3172 vmovdqa XMMWORD[48+rsp],xmm9
3173 add ebx,edi
3174 xor esi,ebp
3175 shrd edx,edx,7
3176 add ebx,ecx
3177 vpslld xmm4,xmm4,2
3178 add eax,DWORD[8+rsp]
3179 xor esi,edx
3180 mov edi,ebx
3181 shld ebx,ebx,5
3182 add eax,esi
3183 xor edi,edx
3184 shrd ecx,ecx,7
3185 add eax,ebx
3186 vpor xmm4,xmm4,xmm8
3187 add ebp,DWORD[12+rsp]
3188 xor edi,ecx
3189 mov esi,eax
3190 shld eax,eax,5
3191 add ebp,edi
3192 xor esi,ecx
3193 shrd ebx,ebx,7
3194 add ebp,eax
3195 vpalignr xmm8,xmm4,xmm3,8
3196 vpxor xmm5,xmm5,xmm1
3197 add edx,DWORD[16+rsp]
3198 xor esi,ebx
3199 mov edi,ebp
3200 shld ebp,ebp,5
3201 vpxor xmm5,xmm5,xmm6
3202 add edx,esi
3203 xor edi,ebx
3204 vpaddd xmm9,xmm11,xmm4
3205 shrd eax,eax,7
3206 add edx,ebp
3207 vpxor xmm5,xmm5,xmm8
3208 add ecx,DWORD[20+rsp]
3209 xor edi,eax
3210 mov esi,edx
3211 shld edx,edx,5
3212 vpsrld xmm8,xmm5,30
3213 vmovdqa XMMWORD[rsp],xmm9
3214 add ecx,edi
3215 xor esi,eax
3216 shrd ebp,ebp,7
3217 add ecx,edx
3218 vpslld xmm5,xmm5,2
3219 add ebx,DWORD[24+rsp]
3220 xor esi,ebp
3221 mov edi,ecx
3222 shld ecx,ecx,5
3223 add ebx,esi
3224 xor edi,ebp
3225 shrd edx,edx,7
3226 add ebx,ecx
3227 vpor xmm5,xmm5,xmm8
3228 add eax,DWORD[28+rsp]
3229 shrd ecx,ecx,7
3230 mov esi,ebx
3231 xor edi,edx
3232 shld ebx,ebx,5
3233 add eax,edi
3234 xor esi,ecx
3235 xor ecx,edx
3236 add eax,ebx
3237 vpalignr xmm8,xmm5,xmm4,8
3238 vpxor xmm6,xmm6,xmm2
3239 add ebp,DWORD[32+rsp]
3240 and esi,ecx
3241 xor ecx,edx
3242 shrd ebx,ebx,7
3243 vpxor xmm6,xmm6,xmm7
3244 mov edi,eax
3245 xor esi,ecx
3246 vpaddd xmm9,xmm11,xmm5
3247 shld eax,eax,5
3248 add ebp,esi
3249 vpxor xmm6,xmm6,xmm8
3250 xor edi,ebx
3251 xor ebx,ecx
3252 add ebp,eax
3253 add edx,DWORD[36+rsp]
3254 vpsrld xmm8,xmm6,30
3255 vmovdqa XMMWORD[16+rsp],xmm9
3256 and edi,ebx
3257 xor ebx,ecx
3258 shrd eax,eax,7
3259 mov esi,ebp
3260 vpslld xmm6,xmm6,2
3261 xor edi,ebx
3262 shld ebp,ebp,5
3263 add edx,edi
3264 xor esi,eax
3265 xor eax,ebx
3266 add edx,ebp
3267 add ecx,DWORD[40+rsp]
3268 and esi,eax
3269 vpor xmm6,xmm6,xmm8
3270 xor eax,ebx
3271 shrd ebp,ebp,7
3272 mov edi,edx
3273 xor esi,eax
3274 shld edx,edx,5
3275 add ecx,esi
3276 xor edi,ebp
3277 xor ebp,eax
3278 add ecx,edx
3279 add ebx,DWORD[44+rsp]
3280 and edi,ebp
3281 xor ebp,eax
3282 shrd edx,edx,7
3283 mov esi,ecx
3284 xor edi,ebp
3285 shld ecx,ecx,5
3286 add ebx,edi
3287 xor esi,edx
3288 xor edx,ebp
3289 add ebx,ecx
3290 vpalignr xmm8,xmm6,xmm5,8
3291 vpxor xmm7,xmm7,xmm3
3292 add eax,DWORD[48+rsp]
3293 and esi,edx
3294 xor edx,ebp
3295 shrd ecx,ecx,7
3296 vpxor xmm7,xmm7,xmm0
3297 mov edi,ebx
3298 xor esi,edx
3299 vpaddd xmm9,xmm11,xmm6
3300 vmovdqa xmm11,XMMWORD[32+r14]
3301 shld ebx,ebx,5
3302 add eax,esi
3303 vpxor xmm7,xmm7,xmm8
3304 xor edi,ecx
3305 xor ecx,edx
3306 add eax,ebx
3307 add ebp,DWORD[52+rsp]
3308 vpsrld xmm8,xmm7,30
3309 vmovdqa XMMWORD[32+rsp],xmm9
3310 and edi,ecx
3311 xor ecx,edx
3312 shrd ebx,ebx,7
3313 mov esi,eax
3314 vpslld xmm7,xmm7,2
3315 xor edi,ecx
3316 shld eax,eax,5
3317 add ebp,edi
3318 xor esi,ebx
3319 xor ebx,ecx
3320 add ebp,eax
3321 add edx,DWORD[56+rsp]
3322 and esi,ebx
3323 vpor xmm7,xmm7,xmm8
3324 xor ebx,ecx
3325 shrd eax,eax,7
3326 mov edi,ebp
3327 xor esi,ebx
3328 shld ebp,ebp,5
3329 add edx,esi
3330 xor edi,eax
3331 xor eax,ebx
3332 add edx,ebp
3333 add ecx,DWORD[60+rsp]
3334 and edi,eax
3335 xor eax,ebx
3336 shrd ebp,ebp,7
3337 mov esi,edx
3338 xor edi,eax
3339 shld edx,edx,5
3340 add ecx,edi
3341 xor esi,ebp
3342 xor ebp,eax
3343 add ecx,edx
3344 vpalignr xmm8,xmm7,xmm6,8
3345 vpxor xmm0,xmm0,xmm4
3346 add ebx,DWORD[rsp]
3347 and esi,ebp
3348 xor ebp,eax
3349 shrd edx,edx,7
3350 vpxor xmm0,xmm0,xmm1
3351 mov edi,ecx
3352 xor esi,ebp
3353 vpaddd xmm9,xmm11,xmm7
3354 shld ecx,ecx,5
3355 add ebx,esi
3356 vpxor xmm0,xmm0,xmm8
3357 xor edi,edx
3358 xor edx,ebp
3359 add ebx,ecx
3360 add eax,DWORD[4+rsp]
3361 vpsrld xmm8,xmm0,30
3362 vmovdqa XMMWORD[48+rsp],xmm9
3363 and edi,edx
3364 xor edx,ebp
3365 shrd ecx,ecx,7
3366 mov esi,ebx
3367 vpslld xmm0,xmm0,2
3368 xor edi,edx
3369 shld ebx,ebx,5
3370 add eax,edi
3371 xor esi,ecx
3372 xor ecx,edx
3373 add eax,ebx
3374 add ebp,DWORD[8+rsp]
3375 and esi,ecx
3376 vpor xmm0,xmm0,xmm8
3377 xor ecx,edx
3378 shrd ebx,ebx,7
3379 mov edi,eax
3380 xor esi,ecx
3381 shld eax,eax,5
3382 add ebp,esi
3383 xor edi,ebx
3384 xor ebx,ecx
3385 add ebp,eax
3386 add edx,DWORD[12+rsp]
3387 and edi,ebx
3388 xor ebx,ecx
3389 shrd eax,eax,7
3390 mov esi,ebp
3391 xor edi,ebx
3392 shld ebp,ebp,5
3393 add edx,edi
3394 xor esi,eax
3395 xor eax,ebx
3396 add edx,ebp
3397 vpalignr xmm8,xmm0,xmm7,8
3398 vpxor xmm1,xmm1,xmm5
3399 add ecx,DWORD[16+rsp]
3400 and esi,eax
3401 xor eax,ebx
3402 shrd ebp,ebp,7
3403 vpxor xmm1,xmm1,xmm2
3404 mov edi,edx
3405 xor esi,eax
3406 vpaddd xmm9,xmm11,xmm0
3407 shld edx,edx,5
3408 add ecx,esi
3409 vpxor xmm1,xmm1,xmm8
3410 xor edi,ebp
3411 xor ebp,eax
3412 add ecx,edx
3413 add ebx,DWORD[20+rsp]
3414 vpsrld xmm8,xmm1,30
3415 vmovdqa XMMWORD[rsp],xmm9
3416 and edi,ebp
3417 xor ebp,eax
3418 shrd edx,edx,7
3419 mov esi,ecx
3420 vpslld xmm1,xmm1,2
3421 xor edi,ebp
3422 shld ecx,ecx,5
3423 add ebx,edi
3424 xor esi,edx
3425 xor edx,ebp
3426 add ebx,ecx
3427 add eax,DWORD[24+rsp]
3428 and esi,edx
3429 vpor xmm1,xmm1,xmm8
3430 xor edx,ebp
3431 shrd ecx,ecx,7
3432 mov edi,ebx
3433 xor esi,edx
3434 shld ebx,ebx,5
3435 add eax,esi
3436 xor edi,ecx
3437 xor ecx,edx
3438 add eax,ebx
3439 add ebp,DWORD[28+rsp]
3440 and edi,ecx
3441 xor ecx,edx
3442 shrd ebx,ebx,7
3443 mov esi,eax
3444 xor edi,ecx
3445 shld eax,eax,5
3446 add ebp,edi
3447 xor esi,ebx
3448 xor ebx,ecx
3449 add ebp,eax
3450 vpalignr xmm8,xmm1,xmm0,8
3451 vpxor xmm2,xmm2,xmm6
3452 add edx,DWORD[32+rsp]
3453 and esi,ebx
3454 xor ebx,ecx
3455 shrd eax,eax,7
3456 vpxor xmm2,xmm2,xmm3
3457 mov edi,ebp
3458 xor esi,ebx
3459 vpaddd xmm9,xmm11,xmm1
3460 shld ebp,ebp,5
3461 add edx,esi
3462 vpxor xmm2,xmm2,xmm8
3463 xor edi,eax
3464 xor eax,ebx
3465 add edx,ebp
3466 add ecx,DWORD[36+rsp]
3467 vpsrld xmm8,xmm2,30
3468 vmovdqa XMMWORD[16+rsp],xmm9
3469 and edi,eax
3470 xor eax,ebx
3471 shrd ebp,ebp,7
3472 mov esi,edx
3473 vpslld xmm2,xmm2,2
3474 xor edi,eax
3475 shld edx,edx,5
3476 add ecx,edi
3477 xor esi,ebp
3478 xor ebp,eax
3479 add ecx,edx
3480 add ebx,DWORD[40+rsp]
3481 and esi,ebp
3482 vpor xmm2,xmm2,xmm8
3483 xor ebp,eax
3484 shrd edx,edx,7
3485 mov edi,ecx
3486 xor esi,ebp
3487 shld ecx,ecx,5
3488 add ebx,esi
3489 xor edi,edx
3490 xor edx,ebp
3491 add ebx,ecx
3492 add eax,DWORD[44+rsp]
3493 and edi,edx
3494 xor edx,ebp
3495 shrd ecx,ecx,7
3496 mov esi,ebx
3497 xor edi,edx
3498 shld ebx,ebx,5
3499 add eax,edi
3500 xor esi,edx
3501 add eax,ebx
3502 vpalignr xmm8,xmm2,xmm1,8
3503 vpxor xmm3,xmm3,xmm7
3504 add ebp,DWORD[48+rsp]
3505 xor esi,ecx
3506 mov edi,eax
3507 shld eax,eax,5
3508 vpxor xmm3,xmm3,xmm4
3509 add ebp,esi
3510 xor edi,ecx
3511 vpaddd xmm9,xmm11,xmm2
3512 shrd ebx,ebx,7
3513 add ebp,eax
3514 vpxor xmm3,xmm3,xmm8
3515 add edx,DWORD[52+rsp]
3516 xor edi,ebx
3517 mov esi,ebp
3518 shld ebp,ebp,5
3519 vpsrld xmm8,xmm3,30
3520 vmovdqa XMMWORD[32+rsp],xmm9
3521 add edx,edi
3522 xor esi,ebx
3523 shrd eax,eax,7
3524 add edx,ebp
3525 vpslld xmm3,xmm3,2
3526 add ecx,DWORD[56+rsp]
3527 xor esi,eax
3528 mov edi,edx
3529 shld edx,edx,5
3530 add ecx,esi
3531 xor edi,eax
3532 shrd ebp,ebp,7
3533 add ecx,edx
3534 vpor xmm3,xmm3,xmm8
3535 add ebx,DWORD[60+rsp]
3536 xor edi,ebp
3537 mov esi,ecx
3538 shld ecx,ecx,5
3539 add ebx,edi
3540 xor esi,ebp
3541 shrd edx,edx,7
3542 add ebx,ecx
3543 add eax,DWORD[rsp]
3544 vpaddd xmm9,xmm11,xmm3
3545 xor esi,edx
3546 mov edi,ebx
3547 shld ebx,ebx,5
3548 add eax,esi
3549 vmovdqa XMMWORD[48+rsp],xmm9
3550 xor edi,edx
3551 shrd ecx,ecx,7
3552 add eax,ebx
3553 add ebp,DWORD[4+rsp]
3554 xor edi,ecx
3555 mov esi,eax
3556 shld eax,eax,5
3557 add ebp,edi
3558 xor esi,ecx
3559 shrd ebx,ebx,7
3560 add ebp,eax
3561 add edx,DWORD[8+rsp]
3562 xor esi,ebx
3563 mov edi,ebp
3564 shld ebp,ebp,5
3565 add edx,esi
3566 xor edi,ebx
3567 shrd eax,eax,7
3568 add edx,ebp
3569 add ecx,DWORD[12+rsp]
3570 xor edi,eax
3571 mov esi,edx
3572 shld edx,edx,5
3573 add ecx,edi
3574 xor esi,eax
3575 shrd ebp,ebp,7
3576 add ecx,edx
3577 cmp r9,r10
3578 je NEAR $L$done_avx
3579 vmovdqa xmm6,XMMWORD[64+r14]
3580 vmovdqa xmm11,XMMWORD[((-64))+r14]
3581 vmovdqu xmm0,XMMWORD[r9]
3582 vmovdqu xmm1,XMMWORD[16+r9]
3583 vmovdqu xmm2,XMMWORD[32+r9]
3584 vmovdqu xmm3,XMMWORD[48+r9]
3585 vpshufb xmm0,xmm0,xmm6
3586 add r9,64
3587 add ebx,DWORD[16+rsp]
3588 xor esi,ebp
3589 vpshufb xmm1,xmm1,xmm6
3590 mov edi,ecx
3591 shld ecx,ecx,5
3592 vpaddd xmm4,xmm0,xmm11
3593 add ebx,esi
3594 xor edi,ebp
3595 shrd edx,edx,7
3596 add ebx,ecx
3597 vmovdqa XMMWORD[rsp],xmm4
3598 add eax,DWORD[20+rsp]
3599 xor edi,edx
3600 mov esi,ebx
3601 shld ebx,ebx,5
3602 add eax,edi
3603 xor esi,edx
3604 shrd ecx,ecx,7
3605 add eax,ebx
3606 add ebp,DWORD[24+rsp]
3607 xor esi,ecx
3608 mov edi,eax
3609 shld eax,eax,5
3610 add ebp,esi
3611 xor edi,ecx
3612 shrd ebx,ebx,7
3613 add ebp,eax
3614 add edx,DWORD[28+rsp]
3615 xor edi,ebx
3616 mov esi,ebp
3617 shld ebp,ebp,5
3618 add edx,edi
3619 xor esi,ebx
3620 shrd eax,eax,7
3621 add edx,ebp
3622 add ecx,DWORD[32+rsp]
3623 xor esi,eax
3624 vpshufb xmm2,xmm2,xmm6
3625 mov edi,edx
3626 shld edx,edx,5
3627 vpaddd xmm5,xmm1,xmm11
3628 add ecx,esi
3629 xor edi,eax
3630 shrd ebp,ebp,7
3631 add ecx,edx
3632 vmovdqa XMMWORD[16+rsp],xmm5
3633 add ebx,DWORD[36+rsp]
3634 xor edi,ebp
3635 mov esi,ecx
3636 shld ecx,ecx,5
3637 add ebx,edi
3638 xor esi,ebp
3639 shrd edx,edx,7
3640 add ebx,ecx
3641 add eax,DWORD[40+rsp]
3642 xor esi,edx
3643 mov edi,ebx
3644 shld ebx,ebx,5
3645 add eax,esi
3646 xor edi,edx
3647 shrd ecx,ecx,7
3648 add eax,ebx
3649 add ebp,DWORD[44+rsp]
3650 xor edi,ecx
3651 mov esi,eax
3652 shld eax,eax,5
3653 add ebp,edi
3654 xor esi,ecx
3655 shrd ebx,ebx,7
3656 add ebp,eax
3657 add edx,DWORD[48+rsp]
3658 xor esi,ebx
3659 vpshufb xmm3,xmm3,xmm6
3660 mov edi,ebp
3661 shld ebp,ebp,5
3662 vpaddd xmm6,xmm2,xmm11
3663 add edx,esi
3664 xor edi,ebx
3665 shrd eax,eax,7
3666 add edx,ebp
3667 vmovdqa XMMWORD[32+rsp],xmm6
3668 add ecx,DWORD[52+rsp]
3669 xor edi,eax
3670 mov esi,edx
3671 shld edx,edx,5
3672 add ecx,edi
3673 xor esi,eax
3674 shrd ebp,ebp,7
3675 add ecx,edx
3676 add ebx,DWORD[56+rsp]
3677 xor esi,ebp
3678 mov edi,ecx
3679 shld ecx,ecx,5
3680 add ebx,esi
3681 xor edi,ebp
3682 shrd edx,edx,7
3683 add ebx,ecx
3684 add eax,DWORD[60+rsp]
3685 xor edi,edx
3686 mov esi,ebx
3687 shld ebx,ebx,5
3688 add eax,edi
3689 shrd ecx,ecx,7
3690 add eax,ebx
3691 add eax,DWORD[r8]
3692 add esi,DWORD[4+r8]
3693 add ecx,DWORD[8+r8]
3694 add edx,DWORD[12+r8]
3695 mov DWORD[r8],eax
3696 add ebp,DWORD[16+r8]
3697 mov DWORD[4+r8],esi
3698 mov ebx,esi
3699 mov DWORD[8+r8],ecx
3700 mov edi,ecx
3701 mov DWORD[12+r8],edx
3702 xor edi,edx
3703 mov DWORD[16+r8],ebp
3704 and esi,edi
3705 jmp NEAR $L$oop_avx
3706
3707 ALIGN 16
3708 $L$done_avx:
3709 add ebx,DWORD[16+rsp]
3710 xor esi,ebp
3711 mov edi,ecx
3712 shld ecx,ecx,5
3713 add ebx,esi
3714 xor edi,ebp
3715 shrd edx,edx,7
3716 add ebx,ecx
3717 add eax,DWORD[20+rsp]
3718 xor edi,edx
3719 mov esi,ebx
3720 shld ebx,ebx,5
3721 add eax,edi
3722 xor esi,edx
3723 shrd ecx,ecx,7
3724 add eax,ebx
3725 add ebp,DWORD[24+rsp]
3726 xor esi,ecx
3727 mov edi,eax
3728 shld eax,eax,5
3729 add ebp,esi
3730 xor edi,ecx
3731 shrd ebx,ebx,7
3732 add ebp,eax
3733 add edx,DWORD[28+rsp]
3734 xor edi,ebx
3735 mov esi,ebp
3736 shld ebp,ebp,5
3737 add edx,edi
3738 xor esi,ebx
3739 shrd eax,eax,7
3740 add edx,ebp
3741 add ecx,DWORD[32+rsp]
3742 xor esi,eax
3743 mov edi,edx
3744 shld edx,edx,5
3745 add ecx,esi
3746 xor edi,eax
3747 shrd ebp,ebp,7
3748 add ecx,edx
3749 add ebx,DWORD[36+rsp]
3750 xor edi,ebp
3751 mov esi,ecx
3752 shld ecx,ecx,5
3753 add ebx,edi
3754 xor esi,ebp
3755 shrd edx,edx,7
3756 add ebx,ecx
3757 add eax,DWORD[40+rsp]
3758 xor esi,edx
3759 mov edi,ebx
3760 shld ebx,ebx,5
3761 add eax,esi
3762 xor edi,edx
3763 shrd ecx,ecx,7
3764 add eax,ebx
3765 add ebp,DWORD[44+rsp]
3766 xor edi,ecx
3767 mov esi,eax
3768 shld eax,eax,5
3769 add ebp,edi
3770 xor esi,ecx
3771 shrd ebx,ebx,7
3772 add ebp,eax
3773 add edx,DWORD[48+rsp]
3774 xor esi,ebx
3775 mov edi,ebp
3776 shld ebp,ebp,5
3777 add edx,esi
3778 xor edi,ebx
3779 shrd eax,eax,7
3780 add edx,ebp
3781 add ecx,DWORD[52+rsp]
3782 xor edi,eax
3783 mov esi,edx
3784 shld edx,edx,5
3785 add ecx,edi
3786 xor esi,eax
3787 shrd ebp,ebp,7
3788 add ecx,edx
3789 add ebx,DWORD[56+rsp]
3790 xor esi,ebp
3791 mov edi,ecx
3792 shld ecx,ecx,5
3793 add ebx,esi
3794 xor edi,ebp
3795 shrd edx,edx,7
3796 add ebx,ecx
3797 add eax,DWORD[60+rsp]
3798 xor edi,edx
3799 mov esi,ebx
3800 shld ebx,ebx,5
3801 add eax,edi
3802 shrd ecx,ecx,7
3803 add eax,ebx
3804 vzeroupper
3805
3806 add eax,DWORD[r8]
3807 add esi,DWORD[4+r8]
3808 add ecx,DWORD[8+r8]
3809 mov DWORD[r8],eax
3810 add edx,DWORD[12+r8]
3811 mov DWORD[4+r8],esi
3812 add ebp,DWORD[16+r8]
3813 mov DWORD[8+r8],ecx
3814 mov DWORD[12+r8],edx
3815 mov DWORD[16+r8],ebp
3816 movaps xmm6,XMMWORD[((-40-96))+r11]
3817 movaps xmm7,XMMWORD[((-40-80))+r11]
3818 movaps xmm8,XMMWORD[((-40-64))+r11]
3819 movaps xmm9,XMMWORD[((-40-48))+r11]
3820 movaps xmm10,XMMWORD[((-40-32))+r11]
3821 movaps xmm11,XMMWORD[((-40-16))+r11]
3822 mov r14,QWORD[((-40))+r11]
3823
3824 mov r13,QWORD[((-32))+r11]
3825
3826 mov r12,QWORD[((-24))+r11]
3827
3828 mov rbp,QWORD[((-16))+r11]
3829
3830 mov rbx,QWORD[((-8))+r11]
3831
3832 lea rsp,[r11]
3833
3834 $L$epilogue_avx:
3835 mov rdi,QWORD[8+rsp] ;WIN64 epilogue
3836 mov rsi,QWORD[16+rsp]
3837 DB 0F3h,0C3h ;repret
3838
3839 $L$SEH_end_sha1_block_data_order_avx:
3840
3841 ALIGN 16
3842 sha1_block_data_order_avx2:
3843 mov QWORD[8+rsp],rdi ;WIN64 prologue
3844 mov QWORD[16+rsp],rsi
3845 mov rax,rsp
3846 $L$SEH_begin_sha1_block_data_order_avx2:
3847 mov rdi,rcx
3848 mov rsi,rdx
3849 mov rdx,r8
3850
3851
3852 _avx2_shortcut:
3853
3854 mov r11,rsp
3855
3856 push rbx
3857
3858 push rbp
3859
3860 push r12
3861
3862 push r13
3863
3864 push r14
3865
3866 vzeroupper
3867 lea rsp,[((-96))+rsp]
3868 vmovaps XMMWORD[(-40-96)+r11],xmm6
3869 vmovaps XMMWORD[(-40-80)+r11],xmm7
3870 vmovaps XMMWORD[(-40-64)+r11],xmm8
3871 vmovaps XMMWORD[(-40-48)+r11],xmm9
3872 vmovaps XMMWORD[(-40-32)+r11],xmm10
3873 vmovaps XMMWORD[(-40-16)+r11],xmm11
3874 $L$prologue_avx2:
3875 mov r8,rdi
3876 mov r9,rsi
3877 mov r10,rdx
3878
3879 lea rsp,[((-640))+rsp]
3880 shl r10,6
3881 lea r13,[64+r9]
3882 and rsp,-128
3883 add r10,r9
3884 lea r14,[((K_XX_XX+64))]
3885
3886 mov eax,DWORD[r8]
3887 cmp r13,r10
3888 cmovae r13,r9
3889 mov ebp,DWORD[4+r8]
3890 mov ecx,DWORD[8+r8]
3891 mov edx,DWORD[12+r8]
3892 mov esi,DWORD[16+r8]
3893 vmovdqu ymm6,YMMWORD[64+r14]
3894
3895 vmovdqu xmm0,XMMWORD[r9]
3896 vmovdqu xmm1,XMMWORD[16+r9]
3897 vmovdqu xmm2,XMMWORD[32+r9]
3898 vmovdqu xmm3,XMMWORD[48+r9]
3899 lea r9,[64+r9]
3900 vinserti128 ymm0,ymm0,XMMWORD[r13],1
3901 vinserti128 ymm1,ymm1,XMMWORD[16+r13],1
3902 vpshufb ymm0,ymm0,ymm6
3903 vinserti128 ymm2,ymm2,XMMWORD[32+r13],1
3904 vpshufb ymm1,ymm1,ymm6
3905 vinserti128 ymm3,ymm3,XMMWORD[48+r13],1
3906 vpshufb ymm2,ymm2,ymm6
3907 vmovdqu ymm11,YMMWORD[((-64))+r14]
3908 vpshufb ymm3,ymm3,ymm6
3909
3910 vpaddd ymm4,ymm0,ymm11
3911 vpaddd ymm5,ymm1,ymm11
3912 vmovdqu YMMWORD[rsp],ymm4
3913 vpaddd ymm6,ymm2,ymm11
3914 vmovdqu YMMWORD[32+rsp],ymm5
3915 vpaddd ymm7,ymm3,ymm11
3916 vmovdqu YMMWORD[64+rsp],ymm6
3917 vmovdqu YMMWORD[96+rsp],ymm7
3918 vpalignr ymm4,ymm1,ymm0,8
3919 vpsrldq ymm8,ymm3,4
3920 vpxor ymm4,ymm4,ymm0
3921 vpxor ymm8,ymm8,ymm2
3922 vpxor ymm4,ymm4,ymm8
3923 vpsrld ymm8,ymm4,31
3924 vpslldq ymm10,ymm4,12
3925 vpaddd ymm4,ymm4,ymm4
3926 vpsrld ymm9,ymm10,30
3927 vpor ymm4,ymm4,ymm8
3928 vpslld ymm10,ymm10,2
3929 vpxor ymm4,ymm4,ymm9
3930 vpxor ymm4,ymm4,ymm10
3931 vpaddd ymm9,ymm4,ymm11
3932 vmovdqu YMMWORD[128+rsp],ymm9
3933 vpalignr ymm5,ymm2,ymm1,8
3934 vpsrldq ymm8,ymm4,4
3935 vpxor ymm5,ymm5,ymm1
3936 vpxor ymm8,ymm8,ymm3
3937 vpxor ymm5,ymm5,ymm8
3938 vpsrld ymm8,ymm5,31
3939 vmovdqu ymm11,YMMWORD[((-32))+r14]
3940 vpslldq ymm10,ymm5,12
3941 vpaddd ymm5,ymm5,ymm5
3942 vpsrld ymm9,ymm10,30
3943 vpor ymm5,ymm5,ymm8
3944 vpslld ymm10,ymm10,2
3945 vpxor ymm5,ymm5,ymm9
3946 vpxor ymm5,ymm5,ymm10
3947 vpaddd ymm9,ymm5,ymm11
3948 vmovdqu YMMWORD[160+rsp],ymm9
3949 vpalignr ymm6,ymm3,ymm2,8
3950 vpsrldq ymm8,ymm5,4
3951 vpxor ymm6,ymm6,ymm2
3952 vpxor ymm8,ymm8,ymm4
3953 vpxor ymm6,ymm6,ymm8
3954 vpsrld ymm8,ymm6,31
3955 vpslldq ymm10,ymm6,12
3956 vpaddd ymm6,ymm6,ymm6
3957 vpsrld ymm9,ymm10,30
3958 vpor ymm6,ymm6,ymm8
3959 vpslld ymm10,ymm10,2
3960 vpxor ymm6,ymm6,ymm9
3961 vpxor ymm6,ymm6,ymm10
3962 vpaddd ymm9,ymm6,ymm11
3963 vmovdqu YMMWORD[192+rsp],ymm9
3964 vpalignr ymm7,ymm4,ymm3,8
3965 vpsrldq ymm8,ymm6,4
3966 vpxor ymm7,ymm7,ymm3
3967 vpxor ymm8,ymm8,ymm5
3968 vpxor ymm7,ymm7,ymm8
3969 vpsrld ymm8,ymm7,31
3970 vpslldq ymm10,ymm7,12
3971 vpaddd ymm7,ymm7,ymm7
3972 vpsrld ymm9,ymm10,30
3973 vpor ymm7,ymm7,ymm8
3974 vpslld ymm10,ymm10,2
3975 vpxor ymm7,ymm7,ymm9
3976 vpxor ymm7,ymm7,ymm10
3977 vpaddd ymm9,ymm7,ymm11
3978 vmovdqu YMMWORD[224+rsp],ymm9
3979 lea r13,[128+rsp]
3980 jmp NEAR $L$oop_avx2
3981 ALIGN 32
3982 $L$oop_avx2:
3983 rorx ebx,ebp,2
3984 andn edi,ebp,edx
3985 and ebp,ecx
3986 xor ebp,edi
3987 jmp NEAR $L$align32_1
3988 ALIGN 32
3989 $L$align32_1:
3990 vpalignr ymm8,ymm7,ymm6,8
3991 vpxor ymm0,ymm0,ymm4
3992 add esi,DWORD[((-128))+r13]
3993 andn edi,eax,ecx
3994 vpxor ymm0,ymm0,ymm1
3995 add esi,ebp
3996 rorx r12d,eax,27
3997 rorx ebp,eax,2
3998 vpxor ymm0,ymm0,ymm8
3999 and eax,ebx
4000 add esi,r12d
4001 xor eax,edi
4002 vpsrld ymm8,ymm0,30
4003 vpslld ymm0,ymm0,2
4004 add edx,DWORD[((-124))+r13]
4005 andn edi,esi,ebx
4006 add edx,eax
4007 rorx r12d,esi,27
4008 rorx eax,esi,2
4009 and esi,ebp
4010 vpor ymm0,ymm0,ymm8
4011 add edx,r12d
4012 xor esi,edi
4013 add ecx,DWORD[((-120))+r13]
4014 andn edi,edx,ebp
4015 vpaddd ymm9,ymm0,ymm11
4016 add ecx,esi
4017 rorx r12d,edx,27
4018 rorx esi,edx,2
4019 and edx,eax
4020 vmovdqu YMMWORD[256+rsp],ymm9
4021 add ecx,r12d
4022 xor edx,edi
4023 add ebx,DWORD[((-116))+r13]
4024 andn edi,ecx,eax
4025 add ebx,edx
4026 rorx r12d,ecx,27
4027 rorx edx,ecx,2
4028 and ecx,esi
4029 add ebx,r12d
4030 xor ecx,edi
4031 add ebp,DWORD[((-96))+r13]
4032 andn edi,ebx,esi
4033 add ebp,ecx
4034 rorx r12d,ebx,27
4035 rorx ecx,ebx,2
4036 and ebx,edx
4037 add ebp,r12d
4038 xor ebx,edi
4039 vpalignr ymm8,ymm0,ymm7,8
4040 vpxor ymm1,ymm1,ymm5
4041 add eax,DWORD[((-92))+r13]
4042 andn edi,ebp,edx
4043 vpxor ymm1,ymm1,ymm2
4044 add eax,ebx
4045 rorx r12d,ebp,27
4046 rorx ebx,ebp,2
4047 vpxor ymm1,ymm1,ymm8
4048 and ebp,ecx
4049 add eax,r12d
4050 xor ebp,edi
4051 vpsrld ymm8,ymm1,30
4052 vpslld ymm1,ymm1,2
4053 add esi,DWORD[((-88))+r13]
4054 andn edi,eax,ecx
4055 add esi,ebp
4056 rorx r12d,eax,27
4057 rorx ebp,eax,2
4058 and eax,ebx
4059 vpor ymm1,ymm1,ymm8
4060 add esi,r12d
4061 xor eax,edi
4062 add edx,DWORD[((-84))+r13]
4063 andn edi,esi,ebx
4064 vpaddd ymm9,ymm1,ymm11
4065 add edx,eax
4066 rorx r12d,esi,27
4067 rorx eax,esi,2
4068 and esi,ebp
4069 vmovdqu YMMWORD[288+rsp],ymm9
4070 add edx,r12d
4071 xor esi,edi
4072 add ecx,DWORD[((-64))+r13]
4073 andn edi,edx,ebp
4074 add ecx,esi
4075 rorx r12d,edx,27
4076 rorx esi,edx,2
4077 and edx,eax
4078 add ecx,r12d
4079 xor edx,edi
4080 add ebx,DWORD[((-60))+r13]
4081 andn edi,ecx,eax
4082 add ebx,edx
4083 rorx r12d,ecx,27
4084 rorx edx,ecx,2
4085 and ecx,esi
4086 add ebx,r12d
4087 xor ecx,edi
4088 vpalignr ymm8,ymm1,ymm0,8
4089 vpxor ymm2,ymm2,ymm6
4090 add ebp,DWORD[((-56))+r13]
4091 andn edi,ebx,esi
4092 vpxor ymm2,ymm2,ymm3
4093 vmovdqu ymm11,YMMWORD[r14]
4094 add ebp,ecx
4095 rorx r12d,ebx,27
4096 rorx ecx,ebx,2
4097 vpxor ymm2,ymm2,ymm8
4098 and ebx,edx
4099 add ebp,r12d
4100 xor ebx,edi
4101 vpsrld ymm8,ymm2,30
4102 vpslld ymm2,ymm2,2
4103 add eax,DWORD[((-52))+r13]
4104 andn edi,ebp,edx
4105 add eax,ebx
4106 rorx r12d,ebp,27
4107 rorx ebx,ebp,2
4108 and ebp,ecx
4109 vpor ymm2,ymm2,ymm8
4110 add eax,r12d
4111 xor ebp,edi
4112 add esi,DWORD[((-32))+r13]
4113 andn edi,eax,ecx
4114 vpaddd ymm9,ymm2,ymm11
4115 add esi,ebp
4116 rorx r12d,eax,27
4117 rorx ebp,eax,2
4118 and eax,ebx
4119 vmovdqu YMMWORD[320+rsp],ymm9
4120 add esi,r12d
4121 xor eax,edi
4122 add edx,DWORD[((-28))+r13]
4123 andn edi,esi,ebx
4124 add edx,eax
4125 rorx r12d,esi,27
4126 rorx eax,esi,2
4127 and esi,ebp
4128 add edx,r12d
4129 xor esi,edi
4130 add ecx,DWORD[((-24))+r13]
4131 andn edi,edx,ebp
4132 add ecx,esi
4133 rorx r12d,edx,27
4134 rorx esi,edx,2
4135 and edx,eax
4136 add ecx,r12d
4137 xor edx,edi
4138 vpalignr ymm8,ymm2,ymm1,8
4139 vpxor ymm3,ymm3,ymm7
4140 add ebx,DWORD[((-20))+r13]
4141 andn edi,ecx,eax
4142 vpxor ymm3,ymm3,ymm4
4143 add ebx,edx
4144 rorx r12d,ecx,27
4145 rorx edx,ecx,2
4146 vpxor ymm3,ymm3,ymm8
4147 and ecx,esi
4148 add ebx,r12d
4149 xor ecx,edi
4150 vpsrld ymm8,ymm3,30
4151 vpslld ymm3,ymm3,2
4152 add ebp,DWORD[r13]
4153 andn edi,ebx,esi
4154 add ebp,ecx
4155 rorx r12d,ebx,27
4156 rorx ecx,ebx,2
4157 and ebx,edx
4158 vpor ymm3,ymm3,ymm8
4159 add ebp,r12d
4160 xor ebx,edi
4161 add eax,DWORD[4+r13]
4162 andn edi,ebp,edx
4163 vpaddd ymm9,ymm3,ymm11
4164 add eax,ebx
4165 rorx r12d,ebp,27
4166 rorx ebx,ebp,2
4167 and ebp,ecx
4168 vmovdqu YMMWORD[352+rsp],ymm9
4169 add eax,r12d
4170 xor ebp,edi
4171 add esi,DWORD[8+r13]
4172 andn edi,eax,ecx
4173 add esi,ebp
4174 rorx r12d,eax,27
4175 rorx ebp,eax,2
4176 and eax,ebx
4177 add esi,r12d
4178 xor eax,edi
4179 add edx,DWORD[12+r13]
4180 lea edx,[rax*1+rdx]
4181 rorx r12d,esi,27
4182 rorx eax,esi,2
4183 xor esi,ebp
4184 add edx,r12d
4185 xor esi,ebx
4186 vpalignr ymm8,ymm3,ymm2,8
4187 vpxor ymm4,ymm4,ymm0
4188 add ecx,DWORD[32+r13]
4189 lea ecx,[rsi*1+rcx]
4190 vpxor ymm4,ymm4,ymm5
4191 rorx r12d,edx,27
4192 rorx esi,edx,2
4193 xor edx,eax
4194 vpxor ymm4,ymm4,ymm8
4195 add ecx,r12d
4196 xor edx,ebp
4197 add ebx,DWORD[36+r13]
4198 vpsrld ymm8,ymm4,30
4199 vpslld ymm4,ymm4,2
4200 lea ebx,[rdx*1+rbx]
4201 rorx r12d,ecx,27
4202 rorx edx,ecx,2
4203 xor ecx,esi
4204 add ebx,r12d
4205 xor ecx,eax
4206 vpor ymm4,ymm4,ymm8
4207 add ebp,DWORD[40+r13]
4208 lea ebp,[rbp*1+rcx]
4209 rorx r12d,ebx,27
4210 rorx ecx,ebx,2
4211 vpaddd ymm9,ymm4,ymm11
4212 xor ebx,edx
4213 add ebp,r12d
4214 xor ebx,esi
4215 add eax,DWORD[44+r13]
4216 vmovdqu YMMWORD[384+rsp],ymm9
4217 lea eax,[rbx*1+rax]
4218 rorx r12d,ebp,27
4219 rorx ebx,ebp,2
4220 xor ebp,ecx
4221 add eax,r12d
4222 xor ebp,edx
4223 add esi,DWORD[64+r13]
4224 lea esi,[rbp*1+rsi]
4225 rorx r12d,eax,27
4226 rorx ebp,eax,2
4227 xor eax,ebx
4228 add esi,r12d
4229 xor eax,ecx
4230 vpalignr ymm8,ymm4,ymm3,8
4231 vpxor ymm5,ymm5,ymm1
4232 add edx,DWORD[68+r13]
4233 lea edx,[rax*1+rdx]
4234 vpxor ymm5,ymm5,ymm6
4235 rorx r12d,esi,27
4236 rorx eax,esi,2
4237 xor esi,ebp
4238 vpxor ymm5,ymm5,ymm8
4239 add edx,r12d
4240 xor esi,ebx
4241 add ecx,DWORD[72+r13]
4242 vpsrld ymm8,ymm5,30
4243 vpslld ymm5,ymm5,2
4244 lea ecx,[rsi*1+rcx]
4245 rorx r12d,edx,27
4246 rorx esi,edx,2
4247 xor edx,eax
4248 add ecx,r12d
4249 xor edx,ebp
4250 vpor ymm5,ymm5,ymm8
4251 add ebx,DWORD[76+r13]
4252 lea ebx,[rdx*1+rbx]
4253 rorx r12d,ecx,27
4254 rorx edx,ecx,2
4255 vpaddd ymm9,ymm5,ymm11
4256 xor ecx,esi
4257 add ebx,r12d
4258 xor ecx,eax
4259 add ebp,DWORD[96+r13]
4260 vmovdqu YMMWORD[416+rsp],ymm9
4261 lea ebp,[rbp*1+rcx]
4262 rorx r12d,ebx,27
4263 rorx ecx,ebx,2
4264 xor ebx,edx
4265 add ebp,r12d
4266 xor ebx,esi
4267 add eax,DWORD[100+r13]
4268 lea eax,[rbx*1+rax]
4269 rorx r12d,ebp,27
4270 rorx ebx,ebp,2
4271 xor ebp,ecx
4272 add eax,r12d
4273 xor ebp,edx
4274 vpalignr ymm8,ymm5,ymm4,8
4275 vpxor ymm6,ymm6,ymm2
4276 add esi,DWORD[104+r13]
4277 lea esi,[rbp*1+rsi]
4278 vpxor ymm6,ymm6,ymm7
4279 rorx r12d,eax,27
4280 rorx ebp,eax,2
4281 xor eax,ebx
4282 vpxor ymm6,ymm6,ymm8
4283 add esi,r12d
4284 xor eax,ecx
4285 add edx,DWORD[108+r13]
4286 lea r13,[256+r13]
4287 vpsrld ymm8,ymm6,30
4288 vpslld ymm6,ymm6,2
4289 lea edx,[rax*1+rdx]
4290 rorx r12d,esi,27
4291 rorx eax,esi,2
4292 xor esi,ebp
4293 add edx,r12d
4294 xor esi,ebx
4295 vpor ymm6,ymm6,ymm8
4296 add ecx,DWORD[((-128))+r13]
4297 lea ecx,[rsi*1+rcx]
4298 rorx r12d,edx,27
4299 rorx esi,edx,2
4300 vpaddd ymm9,ymm6,ymm11
4301 xor edx,eax
4302 add ecx,r12d
4303 xor edx,ebp
4304 add ebx,DWORD[((-124))+r13]
4305 vmovdqu YMMWORD[448+rsp],ymm9
4306 lea ebx,[rdx*1+rbx]
4307 rorx r12d,ecx,27
4308 rorx edx,ecx,2
4309 xor ecx,esi
4310 add ebx,r12d
4311 xor ecx,eax
4312 add ebp,DWORD[((-120))+r13]
4313 lea ebp,[rbp*1+rcx]
4314 rorx r12d,ebx,27
4315 rorx ecx,ebx,2
4316 xor ebx,edx
4317 add ebp,r12d
4318 xor ebx,esi
4319 vpalignr ymm8,ymm6,ymm5,8
4320 vpxor ymm7,ymm7,ymm3
4321 add eax,DWORD[((-116))+r13]
4322 lea eax,[rbx*1+rax]
4323 vpxor ymm7,ymm7,ymm0
4324 vmovdqu ymm11,YMMWORD[32+r14]
4325 rorx r12d,ebp,27
4326 rorx ebx,ebp,2
4327 xor ebp,ecx
4328 vpxor ymm7,ymm7,ymm8
4329 add eax,r12d
4330 xor ebp,edx
4331 add esi,DWORD[((-96))+r13]
4332 vpsrld ymm8,ymm7,30
4333 vpslld ymm7,ymm7,2
4334 lea esi,[rbp*1+rsi]
4335 rorx r12d,eax,27
4336 rorx ebp,eax,2
4337 xor eax,ebx
4338 add esi,r12d
4339 xor eax,ecx
4340 vpor ymm7,ymm7,ymm8
4341 add edx,DWORD[((-92))+r13]
4342 lea edx,[rax*1+rdx]
4343 rorx r12d,esi,27
4344 rorx eax,esi,2
4345 vpaddd ymm9,ymm7,ymm11
4346 xor esi,ebp
4347 add edx,r12d
4348 xor esi,ebx
4349 add ecx,DWORD[((-88))+r13]
4350 vmovdqu YMMWORD[480+rsp],ymm9
4351 lea ecx,[rsi*1+rcx]
4352 rorx r12d,edx,27
4353 rorx esi,edx,2
4354 xor edx,eax
4355 add ecx,r12d
4356 xor edx,ebp
4357 add ebx,DWORD[((-84))+r13]
4358 mov edi,esi
4359 xor edi,eax
4360 lea ebx,[rdx*1+rbx]
4361 rorx r12d,ecx,27
4362 rorx edx,ecx,2
4363 xor ecx,esi
4364 add ebx,r12d
4365 and ecx,edi
4366 jmp NEAR $L$align32_2
4367 ALIGN 32
4368 $L$align32_2:
4369 vpalignr ymm8,ymm7,ymm6,8
4370 vpxor ymm0,ymm0,ymm4
4371 add ebp,DWORD[((-64))+r13]
4372 xor ecx,esi
4373 vpxor ymm0,ymm0,ymm1
4374 mov edi,edx
4375 xor edi,esi
4376 lea ebp,[rbp*1+rcx]
4377 vpxor ymm0,ymm0,ymm8
4378 rorx r12d,ebx,27
4379 rorx ecx,ebx,2
4380 xor ebx,edx
4381 vpsrld ymm8,ymm0,30
4382 vpslld ymm0,ymm0,2
4383 add ebp,r12d
4384 and ebx,edi
4385 add eax,DWORD[((-60))+r13]
4386 xor ebx,edx
4387 mov edi,ecx
4388 xor edi,edx
4389 vpor ymm0,ymm0,ymm8
4390 lea eax,[rbx*1+rax]
4391 rorx r12d,ebp,27
4392 rorx ebx,ebp,2
4393 xor ebp,ecx
4394 vpaddd ymm9,ymm0,ymm11
4395 add eax,r12d
4396 and ebp,edi
4397 add esi,DWORD[((-56))+r13]
4398 xor ebp,ecx
4399 vmovdqu YMMWORD[512+rsp],ymm9
4400 mov edi,ebx
4401 xor edi,ecx
4402 lea esi,[rbp*1+rsi]
4403 rorx r12d,eax,27
4404 rorx ebp,eax,2
4405 xor eax,ebx
4406 add esi,r12d
4407 and eax,edi
4408 add edx,DWORD[((-52))+r13]
4409 xor eax,ebx
4410 mov edi,ebp
4411 xor edi,ebx
4412 lea edx,[rax*1+rdx]
4413 rorx r12d,esi,27
4414 rorx eax,esi,2
4415 xor esi,ebp
4416 add edx,r12d
4417 and esi,edi
4418 add ecx,DWORD[((-32))+r13]
4419 xor esi,ebp
4420 mov edi,eax
4421 xor edi,ebp
4422 lea ecx,[rsi*1+rcx]
4423 rorx r12d,edx,27
4424 rorx esi,edx,2
4425 xor edx,eax
4426 add ecx,r12d
4427 and edx,edi
4428 vpalignr ymm8,ymm0,ymm7,8
4429 vpxor ymm1,ymm1,ymm5
4430 add ebx,DWORD[((-28))+r13]
4431 xor edx,eax
4432 vpxor ymm1,ymm1,ymm2
4433 mov edi,esi
4434 xor edi,eax
4435 lea ebx,[rdx*1+rbx]
4436 vpxor ymm1,ymm1,ymm8
4437 rorx r12d,ecx,27
4438 rorx edx,ecx,2
4439 xor ecx,esi
4440 vpsrld ymm8,ymm1,30
4441 vpslld ymm1,ymm1,2
4442 add ebx,r12d
4443 and ecx,edi
4444 add ebp,DWORD[((-24))+r13]
4445 xor ecx,esi
4446 mov edi,edx
4447 xor edi,esi
4448 vpor ymm1,ymm1,ymm8
4449 lea ebp,[rbp*1+rcx]
4450 rorx r12d,ebx,27
4451 rorx ecx,ebx,2
4452 xor ebx,edx
4453 vpaddd ymm9,ymm1,ymm11
4454 add ebp,r12d
4455 and ebx,edi
4456 add eax,DWORD[((-20))+r13]
4457 xor ebx,edx
4458 vmovdqu YMMWORD[544+rsp],ymm9
4459 mov edi,ecx
4460 xor edi,edx
4461 lea eax,[rbx*1+rax]
4462 rorx r12d,ebp,27
4463 rorx ebx,ebp,2
4464 xor ebp,ecx
4465 add eax,r12d
4466 and ebp,edi
4467 add esi,DWORD[r13]
4468 xor ebp,ecx
4469 mov edi,ebx
4470 xor edi,ecx
4471 lea esi,[rbp*1+rsi]
4472 rorx r12d,eax,27
4473 rorx ebp,eax,2
4474 xor eax,ebx
4475 add esi,r12d
4476 and eax,edi
4477 add edx,DWORD[4+r13]
4478 xor eax,ebx
4479 mov edi,ebp
4480 xor edi,ebx
4481 lea edx,[rax*1+rdx]
4482 rorx r12d,esi,27
4483 rorx eax,esi,2
4484 xor esi,ebp
4485 add edx,r12d
4486 and esi,edi
4487 vpalignr ymm8,ymm1,ymm0,8
4488 vpxor ymm2,ymm2,ymm6
4489 add ecx,DWORD[8+r13]
4490 xor esi,ebp
4491 vpxor ymm2,ymm2,ymm3
4492 mov edi,eax
4493 xor edi,ebp
4494 lea ecx,[rsi*1+rcx]
4495 vpxor ymm2,ymm2,ymm8
4496 rorx r12d,edx,27
4497 rorx esi,edx,2
4498 xor edx,eax
4499 vpsrld ymm8,ymm2,30
4500 vpslld ymm2,ymm2,2
4501 add ecx,r12d
4502 and edx,edi
4503 add ebx,DWORD[12+r13]
4504 xor edx,eax
4505 mov edi,esi
4506 xor edi,eax
4507 vpor ymm2,ymm2,ymm8
4508 lea ebx,[rdx*1+rbx]
4509 rorx r12d,ecx,27
4510 rorx edx,ecx,2
4511 xor ecx,esi
4512 vpaddd ymm9,ymm2,ymm11
4513 add ebx,r12d
4514 and ecx,edi
4515 add ebp,DWORD[32+r13]
4516 xor ecx,esi
4517 vmovdqu YMMWORD[576+rsp],ymm9
4518 mov edi,edx
4519 xor edi,esi
4520 lea ebp,[rbp*1+rcx]
4521 rorx r12d,ebx,27
4522 rorx ecx,ebx,2
4523 xor ebx,edx
4524 add ebp,r12d
4525 and ebx,edi
4526 add eax,DWORD[36+r13]
4527 xor ebx,edx
4528 mov edi,ecx
4529 xor edi,edx
4530 lea eax,[rbx*1+rax]
4531 rorx r12d,ebp,27
4532 rorx ebx,ebp,2
4533 xor ebp,ecx
4534 add eax,r12d
4535 and ebp,edi
4536 add esi,DWORD[40+r13]
4537 xor ebp,ecx
4538 mov edi,ebx
4539 xor edi,ecx
4540 lea esi,[rbp*1+rsi]
4541 rorx r12d,eax,27
4542 rorx ebp,eax,2
4543 xor eax,ebx
4544 add esi,r12d
4545 and eax,edi
4546 vpalignr ymm8,ymm2,ymm1,8
4547 vpxor ymm3,ymm3,ymm7
4548 add edx,DWORD[44+r13]
4549 xor eax,ebx
4550 vpxor ymm3,ymm3,ymm4
4551 mov edi,ebp
4552 xor edi,ebx
4553 lea edx,[rax*1+rdx]
4554 vpxor ymm3,ymm3,ymm8
4555 rorx r12d,esi,27
4556 rorx eax,esi,2
4557 xor esi,ebp
4558 vpsrld ymm8,ymm3,30
4559 vpslld ymm3,ymm3,2
4560 add edx,r12d
4561 and esi,edi
4562 add ecx,DWORD[64+r13]
4563 xor esi,ebp
4564 mov edi,eax
4565 xor edi,ebp
4566 vpor ymm3,ymm3,ymm8
4567 lea ecx,[rsi*1+rcx]
4568 rorx r12d,edx,27
4569 rorx esi,edx,2
4570 xor edx,eax
4571 vpaddd ymm9,ymm3,ymm11
4572 add ecx,r12d
4573 and edx,edi
4574 add ebx,DWORD[68+r13]
4575 xor edx,eax
4576 vmovdqu YMMWORD[608+rsp],ymm9
4577 mov edi,esi
4578 xor edi,eax
4579 lea ebx,[rdx*1+rbx]
4580 rorx r12d,ecx,27
4581 rorx edx,ecx,2
4582 xor ecx,esi
4583 add ebx,r12d
4584 and ecx,edi
4585 add ebp,DWORD[72+r13]
4586 xor ecx,esi
4587 mov edi,edx
4588 xor edi,esi
4589 lea ebp,[rbp*1+rcx]
4590 rorx r12d,ebx,27
4591 rorx ecx,ebx,2
4592 xor ebx,edx
4593 add ebp,r12d
4594 and ebx,edi
4595 add eax,DWORD[76+r13]
4596 xor ebx,edx
4597 lea eax,[rbx*1+rax]
4598 rorx r12d,ebp,27
4599 rorx ebx,ebp,2
4600 xor ebp,ecx
4601 add eax,r12d
4602 xor ebp,edx
4603 add esi,DWORD[96+r13]
4604 lea esi,[rbp*1+rsi]
4605 rorx r12d,eax,27
4606 rorx ebp,eax,2
4607 xor eax,ebx
4608 add esi,r12d
4609 xor eax,ecx
4610 add edx,DWORD[100+r13]
4611 lea edx,[rax*1+rdx]
4612 rorx r12d,esi,27
4613 rorx eax,esi,2
4614 xor esi,ebp
4615 add edx,r12d
4616 xor esi,ebx
4617 add ecx,DWORD[104+r13]
4618 lea ecx,[rsi*1+rcx]
4619 rorx r12d,edx,27
4620 rorx esi,edx,2
4621 xor edx,eax
4622 add ecx,r12d
4623 xor edx,ebp
4624 add ebx,DWORD[108+r13]
4625 lea r13,[256+r13]
4626 lea ebx,[rdx*1+rbx]
4627 rorx r12d,ecx,27
4628 rorx edx,ecx,2
4629 xor ecx,esi
4630 add ebx,r12d
4631 xor ecx,eax
4632 add ebp,DWORD[((-128))+r13]
4633 lea ebp,[rbp*1+rcx]
4634 rorx r12d,ebx,27
4635 rorx ecx,ebx,2
4636 xor ebx,edx
4637 add ebp,r12d
4638 xor ebx,esi
4639 add eax,DWORD[((-124))+r13]
4640 lea eax,[rbx*1+rax]
4641 rorx r12d,ebp,27
4642 rorx ebx,ebp,2
4643 xor ebp,ecx
4644 add eax,r12d
4645 xor ebp,edx
4646 add esi,DWORD[((-120))+r13]
4647 lea esi,[rbp*1+rsi]
4648 rorx r12d,eax,27
4649 rorx ebp,eax,2
4650 xor eax,ebx
4651 add esi,r12d
4652 xor eax,ecx
4653 add edx,DWORD[((-116))+r13]
4654 lea edx,[rax*1+rdx]
4655 rorx r12d,esi,27
4656 rorx eax,esi,2
4657 xor esi,ebp
4658 add edx,r12d
4659 xor esi,ebx
4660 add ecx,DWORD[((-96))+r13]
4661 lea ecx,[rsi*1+rcx]
4662 rorx r12d,edx,27
4663 rorx esi,edx,2
4664 xor edx,eax
4665 add ecx,r12d
4666 xor edx,ebp
4667 add ebx,DWORD[((-92))+r13]
4668 lea ebx,[rdx*1+rbx]
4669 rorx r12d,ecx,27
4670 rorx edx,ecx,2
4671 xor ecx,esi
4672 add ebx,r12d
4673 xor ecx,eax
4674 add ebp,DWORD[((-88))+r13]
4675 lea ebp,[rbp*1+rcx]
4676 rorx r12d,ebx,27
4677 rorx ecx,ebx,2
4678 xor ebx,edx
4679 add ebp,r12d
4680 xor ebx,esi
4681 add eax,DWORD[((-84))+r13]
4682 lea eax,[rbx*1+rax]
4683 rorx r12d,ebp,27
4684 rorx ebx,ebp,2
4685 xor ebp,ecx
4686 add eax,r12d
4687 xor ebp,edx
4688 add esi,DWORD[((-64))+r13]
4689 lea esi,[rbp*1+rsi]
4690 rorx r12d,eax,27
4691 rorx ebp,eax,2
4692 xor eax,ebx
4693 add esi,r12d
4694 xor eax,ecx
4695 add edx,DWORD[((-60))+r13]
4696 lea edx,[rax*1+rdx]
4697 rorx r12d,esi,27
4698 rorx eax,esi,2
4699 xor esi,ebp
4700 add edx,r12d
4701 xor esi,ebx
4702 add ecx,DWORD[((-56))+r13]
4703 lea ecx,[rsi*1+rcx]
4704 rorx r12d,edx,27
4705 rorx esi,edx,2
4706 xor edx,eax
4707 add ecx,r12d
4708 xor edx,ebp
4709 add ebx,DWORD[((-52))+r13]
4710 lea ebx,[rdx*1+rbx]
4711 rorx r12d,ecx,27
4712 rorx edx,ecx,2
4713 xor ecx,esi
4714 add ebx,r12d
4715 xor ecx,eax
4716 add ebp,DWORD[((-32))+r13]
4717 lea ebp,[rbp*1+rcx]
4718 rorx r12d,ebx,27
4719 rorx ecx,ebx,2
4720 xor ebx,edx
4721 add ebp,r12d
4722 xor ebx,esi
4723 add eax,DWORD[((-28))+r13]
4724 lea eax,[rbx*1+rax]
4725 rorx r12d,ebp,27
4726 rorx ebx,ebp,2
4727 xor ebp,ecx
4728 add eax,r12d
4729 xor ebp,edx
4730 add esi,DWORD[((-24))+r13]
4731 lea esi,[rbp*1+rsi]
4732 rorx r12d,eax,27
4733 rorx ebp,eax,2
4734 xor eax,ebx
4735 add esi,r12d
4736 xor eax,ecx
4737 add edx,DWORD[((-20))+r13]
4738 lea edx,[rax*1+rdx]
4739 rorx r12d,esi,27
4740 add edx,r12d
4741 lea r13,[128+r9]
4742 lea rdi,[128+r9]
4743 cmp r13,r10
4744 cmovae r13,r9
4745
4746
4747 add edx,DWORD[r8]
4748 add esi,DWORD[4+r8]
4749 add ebp,DWORD[8+r8]
4750 mov DWORD[r8],edx
4751 add ebx,DWORD[12+r8]
4752 mov DWORD[4+r8],esi
4753 mov eax,edx
4754 add ecx,DWORD[16+r8]
4755 mov r12d,ebp
4756 mov DWORD[8+r8],ebp
4757 mov edx,ebx
4758
4759 mov DWORD[12+r8],ebx
4760 mov ebp,esi
4761 mov DWORD[16+r8],ecx
4762
4763 mov esi,ecx
4764 mov ecx,r12d
4765
4766
4767 cmp r9,r10
4768 je NEAR $L$done_avx2
4769 vmovdqu ymm6,YMMWORD[64+r14]
4770 cmp rdi,r10
4771 ja NEAR $L$ast_avx2
4772
4773 vmovdqu xmm0,XMMWORD[((-64))+rdi]
4774 vmovdqu xmm1,XMMWORD[((-48))+rdi]
4775 vmovdqu xmm2,XMMWORD[((-32))+rdi]
4776 vmovdqu xmm3,XMMWORD[((-16))+rdi]
4777 vinserti128 ymm0,ymm0,XMMWORD[r13],1
4778 vinserti128 ymm1,ymm1,XMMWORD[16+r13],1
4779 vinserti128 ymm2,ymm2,XMMWORD[32+r13],1
4780 vinserti128 ymm3,ymm3,XMMWORD[48+r13],1
4781 jmp NEAR $L$ast_avx2
4782
4783 ALIGN 32
4784 $L$ast_avx2:
4785 lea r13,[((128+16))+rsp]
4786 rorx ebx,ebp,2
4787 andn edi,ebp,edx
4788 and ebp,ecx
4789 xor ebp,edi
4790 sub r9,-128
4791 add esi,DWORD[((-128))+r13]
4792 andn edi,eax,ecx
4793 add esi,ebp
4794 rorx r12d,eax,27
4795 rorx ebp,eax,2
4796 and eax,ebx
4797 add esi,r12d
4798 xor eax,edi
4799 add edx,DWORD[((-124))+r13]
4800 andn edi,esi,ebx
4801 add edx,eax
4802 rorx r12d,esi,27
4803 rorx eax,esi,2
4804 and esi,ebp
4805 add edx,r12d
4806 xor esi,edi
4807 add ecx,DWORD[((-120))+r13]
4808 andn edi,edx,ebp
4809 add ecx,esi
4810 rorx r12d,edx,27
4811 rorx esi,edx,2
4812 and edx,eax
4813 add ecx,r12d
4814 xor edx,edi
4815 add ebx,DWORD[((-116))+r13]
4816 andn edi,ecx,eax
4817 add ebx,edx
4818 rorx r12d,ecx,27
4819 rorx edx,ecx,2
4820 and ecx,esi
4821 add ebx,r12d
4822 xor ecx,edi
4823 add ebp,DWORD[((-96))+r13]
4824 andn edi,ebx,esi
4825 add ebp,ecx
4826 rorx r12d,ebx,27
4827 rorx ecx,ebx,2
4828 and ebx,edx
4829 add ebp,r12d
4830 xor ebx,edi
4831 add eax,DWORD[((-92))+r13]
4832 andn edi,ebp,edx
4833 add eax,ebx
4834 rorx r12d,ebp,27
4835 rorx ebx,ebp,2
4836 and ebp,ecx
4837 add eax,r12d
4838 xor ebp,edi
4839 add esi,DWORD[((-88))+r13]
4840 andn edi,eax,ecx
4841 add esi,ebp
4842 rorx r12d,eax,27
4843 rorx ebp,eax,2
4844 and eax,ebx
4845 add esi,r12d
4846 xor eax,edi
4847 add edx,DWORD[((-84))+r13]
4848 andn edi,esi,ebx
4849 add edx,eax
4850 rorx r12d,esi,27
4851 rorx eax,esi,2
4852 and esi,ebp
4853 add edx,r12d
4854 xor esi,edi
4855 add ecx,DWORD[((-64))+r13]
4856 andn edi,edx,ebp
4857 add ecx,esi
4858 rorx r12d,edx,27
4859 rorx esi,edx,2
4860 and edx,eax
4861 add ecx,r12d
4862 xor edx,edi
4863 add ebx,DWORD[((-60))+r13]
4864 andn edi,ecx,eax
4865 add ebx,edx
4866 rorx r12d,ecx,27
4867 rorx edx,ecx,2
4868 and ecx,esi
4869 add ebx,r12d
4870 xor ecx,edi
4871 add ebp,DWORD[((-56))+r13]
4872 andn edi,ebx,esi
4873 add ebp,ecx
4874 rorx r12d,ebx,27
4875 rorx ecx,ebx,2
4876 and ebx,edx
4877 add ebp,r12d
4878 xor ebx,edi
4879 add eax,DWORD[((-52))+r13]
4880 andn edi,ebp,edx
4881 add eax,ebx
4882 rorx r12d,ebp,27
4883 rorx ebx,ebp,2
4884 and ebp,ecx
4885 add eax,r12d
4886 xor ebp,edi
4887 add esi,DWORD[((-32))+r13]
4888 andn edi,eax,ecx
4889 add esi,ebp
4890 rorx r12d,eax,27
4891 rorx ebp,eax,2
4892 and eax,ebx
4893 add esi,r12d
4894 xor eax,edi
4895 add edx,DWORD[((-28))+r13]
4896 andn edi,esi,ebx
4897 add edx,eax
4898 rorx r12d,esi,27
4899 rorx eax,esi,2
4900 and esi,ebp
4901 add edx,r12d
4902 xor esi,edi
4903 add ecx,DWORD[((-24))+r13]
4904 andn edi,edx,ebp
4905 add ecx,esi
4906 rorx r12d,edx,27
4907 rorx esi,edx,2
4908 and edx,eax
4909 add ecx,r12d
4910 xor edx,edi
4911 add ebx,DWORD[((-20))+r13]
4912 andn edi,ecx,eax
4913 add ebx,edx
4914 rorx r12d,ecx,27
4915 rorx edx,ecx,2
4916 and ecx,esi
4917 add ebx,r12d
4918 xor ecx,edi
4919 add ebp,DWORD[r13]
4920 andn edi,ebx,esi
4921 add ebp,ecx
4922 rorx r12d,ebx,27
4923 rorx ecx,ebx,2
4924 and ebx,edx
4925 add ebp,r12d
4926 xor ebx,edi
4927 add eax,DWORD[4+r13]
4928 andn edi,ebp,edx
4929 add eax,ebx
4930 rorx r12d,ebp,27
4931 rorx ebx,ebp,2
4932 and ebp,ecx
4933 add eax,r12d
4934 xor ebp,edi
4935 add esi,DWORD[8+r13]
4936 andn edi,eax,ecx
4937 add esi,ebp
4938 rorx r12d,eax,27
4939 rorx ebp,eax,2
4940 and eax,ebx
4941 add esi,r12d
4942 xor eax,edi
4943 add edx,DWORD[12+r13]
4944 lea edx,[rax*1+rdx]
4945 rorx r12d,esi,27
4946 rorx eax,esi,2
4947 xor esi,ebp
4948 add edx,r12d
4949 xor esi,ebx
4950 add ecx,DWORD[32+r13]
4951 lea ecx,[rsi*1+rcx]
4952 rorx r12d,edx,27
4953 rorx esi,edx,2
4954 xor edx,eax
4955 add ecx,r12d
4956 xor edx,ebp
4957 add ebx,DWORD[36+r13]
4958 lea ebx,[rdx*1+rbx]
4959 rorx r12d,ecx,27
4960 rorx edx,ecx,2
4961 xor ecx,esi
4962 add ebx,r12d
4963 xor ecx,eax
4964 add ebp,DWORD[40+r13]
4965 lea ebp,[rbp*1+rcx]
4966 rorx r12d,ebx,27
4967 rorx ecx,ebx,2
4968 xor ebx,edx
4969 add ebp,r12d
4970 xor ebx,esi
4971 add eax,DWORD[44+r13]
4972 lea eax,[rbx*1+rax]
4973 rorx r12d,ebp,27
4974 rorx ebx,ebp,2
4975 xor ebp,ecx
4976 add eax,r12d
4977 xor ebp,edx
4978 add esi,DWORD[64+r13]
4979 lea esi,[rbp*1+rsi]
4980 rorx r12d,eax,27
4981 rorx ebp,eax,2
4982 xor eax,ebx
4983 add esi,r12d
4984 xor eax,ecx
4985 vmovdqu ymm11,YMMWORD[((-64))+r14]
4986 vpshufb ymm0,ymm0,ymm6
4987 add edx,DWORD[68+r13]
4988 lea edx,[rax*1+rdx]
4989 rorx r12d,esi,27
4990 rorx eax,esi,2
4991 xor esi,ebp
4992 add edx,r12d
4993 xor esi,ebx
4994 add ecx,DWORD[72+r13]
4995 lea ecx,[rsi*1+rcx]
4996 rorx r12d,edx,27
4997 rorx esi,edx,2
4998 xor edx,eax
4999 add ecx,r12d
5000 xor edx,ebp
5001 add ebx,DWORD[76+r13]
5002 lea ebx,[rdx*1+rbx]
5003 rorx r12d,ecx,27
5004 rorx edx,ecx,2
5005 xor ecx,esi
5006 add ebx,r12d
5007 xor ecx,eax
5008 add ebp,DWORD[96+r13]
5009 lea ebp,[rbp*1+rcx]
5010 rorx r12d,ebx,27
5011 rorx ecx,ebx,2
5012 xor ebx,edx
5013 add ebp,r12d
5014 xor ebx,esi
5015 add eax,DWORD[100+r13]
5016 lea eax,[rbx*1+rax]
5017 rorx r12d,ebp,27
5018 rorx ebx,ebp,2
5019 xor ebp,ecx
5020 add eax,r12d
5021 xor ebp,edx
5022 vpshufb ymm1,ymm1,ymm6
5023 vpaddd ymm8,ymm0,ymm11
5024 add esi,DWORD[104+r13]
5025 lea esi,[rbp*1+rsi]
5026 rorx r12d,eax,27
5027 rorx ebp,eax,2
5028 xor eax,ebx
5029 add esi,r12d
5030 xor eax,ecx
5031 add edx,DWORD[108+r13]
5032 lea r13,[256+r13]
5033 lea edx,[rax*1+rdx]
5034 rorx r12d,esi,27
5035 rorx eax,esi,2
5036 xor esi,ebp
5037 add edx,r12d
5038 xor esi,ebx
5039 add ecx,DWORD[((-128))+r13]
5040 lea ecx,[rsi*1+rcx]
5041 rorx r12d,edx,27
5042 rorx esi,edx,2
5043 xor edx,eax
5044 add ecx,r12d
5045 xor edx,ebp
5046 add ebx,DWORD[((-124))+r13]
5047 lea ebx,[rdx*1+rbx]
5048 rorx r12d,ecx,27
5049 rorx edx,ecx,2
5050 xor ecx,esi
5051 add ebx,r12d
5052 xor ecx,eax
5053 add ebp,DWORD[((-120))+r13]
5054 lea ebp,[rbp*1+rcx]
5055 rorx r12d,ebx,27
5056 rorx ecx,ebx,2
5057 xor ebx,edx
5058 add ebp,r12d
5059 xor ebx,esi
5060 vmovdqu YMMWORD[rsp],ymm8
5061 vpshufb ymm2,ymm2,ymm6
5062 vpaddd ymm9,ymm1,ymm11
5063 add eax,DWORD[((-116))+r13]
5064 lea eax,[rbx*1+rax]
5065 rorx r12d,ebp,27
5066 rorx ebx,ebp,2
5067 xor ebp,ecx
5068 add eax,r12d
5069 xor ebp,edx
5070 add esi,DWORD[((-96))+r13]
5071 lea esi,[rbp*1+rsi]
5072 rorx r12d,eax,27
5073 rorx ebp,eax,2
5074 xor eax,ebx
5075 add esi,r12d
5076 xor eax,ecx
5077 add edx,DWORD[((-92))+r13]
5078 lea edx,[rax*1+rdx]
5079 rorx r12d,esi,27
5080 rorx eax,esi,2
5081 xor esi,ebp
5082 add edx,r12d
5083 xor esi,ebx
5084 add ecx,DWORD[((-88))+r13]
5085 lea ecx,[rsi*1+rcx]
5086 rorx r12d,edx,27
5087 rorx esi,edx,2
5088 xor edx,eax
5089 add ecx,r12d
5090 xor edx,ebp
5091 add ebx,DWORD[((-84))+r13]
5092 mov edi,esi
5093 xor edi,eax
5094 lea ebx,[rdx*1+rbx]
5095 rorx r12d,ecx,27
5096 rorx edx,ecx,2
5097 xor ecx,esi
5098 add ebx,r12d
5099 and ecx,edi
5100 vmovdqu YMMWORD[32+rsp],ymm9
5101 vpshufb ymm3,ymm3,ymm6
5102 vpaddd ymm6,ymm2,ymm11
5103 add ebp,DWORD[((-64))+r13]
5104 xor ecx,esi
5105 mov edi,edx
5106 xor edi,esi
5107 lea ebp,[rbp*1+rcx]
5108 rorx r12d,ebx,27
5109 rorx ecx,ebx,2
5110 xor ebx,edx
5111 add ebp,r12d
5112 and ebx,edi
5113 add eax,DWORD[((-60))+r13]
5114 xor ebx,edx
5115 mov edi,ecx
5116 xor edi,edx
5117 lea eax,[rbx*1+rax]
5118 rorx r12d,ebp,27
5119 rorx ebx,ebp,2
5120 xor ebp,ecx
5121 add eax,r12d
5122 and ebp,edi
5123 add esi,DWORD[((-56))+r13]
5124 xor ebp,ecx
5125 mov edi,ebx
5126 xor edi,ecx
5127 lea esi,[rbp*1+rsi]
5128 rorx r12d,eax,27
5129 rorx ebp,eax,2
5130 xor eax,ebx
5131 add esi,r12d
5132 and eax,edi
5133 add edx,DWORD[((-52))+r13]
5134 xor eax,ebx
5135 mov edi,ebp
5136 xor edi,ebx
5137 lea edx,[rax*1+rdx]
5138 rorx r12d,esi,27
5139 rorx eax,esi,2
5140 xor esi,ebp
5141 add edx,r12d
5142 and esi,edi
5143 add ecx,DWORD[((-32))+r13]
5144 xor esi,ebp
5145 mov edi,eax
5146 xor edi,ebp
5147 lea ecx,[rsi*1+rcx]
5148 rorx r12d,edx,27
5149 rorx esi,edx,2
5150 xor edx,eax
5151 add ecx,r12d
5152 and edx,edi
5153 jmp NEAR $L$align32_3
5154 ALIGN 32
5155 $L$align32_3:
5156 vmovdqu YMMWORD[64+rsp],ymm6
5157 vpaddd ymm7,ymm3,ymm11
5158 add ebx,DWORD[((-28))+r13]
5159 xor edx,eax
5160 mov edi,esi
5161 xor edi,eax
5162 lea ebx,[rdx*1+rbx]
5163 rorx r12d,ecx,27
5164 rorx edx,ecx,2
5165 xor ecx,esi
5166 add ebx,r12d
5167 and ecx,edi
5168 add ebp,DWORD[((-24))+r13]
5169 xor ecx,esi
5170 mov edi,edx
5171 xor edi,esi
5172 lea ebp,[rbp*1+rcx]
5173 rorx r12d,ebx,27
5174 rorx ecx,ebx,2
5175 xor ebx,edx
5176 add ebp,r12d
5177 and ebx,edi
5178 add eax,DWORD[((-20))+r13]
5179 xor ebx,edx
5180 mov edi,ecx
5181 xor edi,edx
5182 lea eax,[rbx*1+rax]
5183 rorx r12d,ebp,27
5184 rorx ebx,ebp,2
5185 xor ebp,ecx
5186 add eax,r12d
5187 and ebp,edi
5188 add esi,DWORD[r13]
5189 xor ebp,ecx
5190 mov edi,ebx
5191 xor edi,ecx
5192 lea esi,[rbp*1+rsi]
5193 rorx r12d,eax,27
5194 rorx ebp,eax,2
5195 xor eax,ebx
5196 add esi,r12d
5197 and eax,edi
5198 add edx,DWORD[4+r13]
5199 xor eax,ebx
5200 mov edi,ebp
5201 xor edi,ebx
5202 lea edx,[rax*1+rdx]
5203 rorx r12d,esi,27
5204 rorx eax,esi,2
5205 xor esi,ebp
5206 add edx,r12d
5207 and esi,edi
5208 vmovdqu YMMWORD[96+rsp],ymm7
5209 add ecx,DWORD[8+r13]
5210 xor esi,ebp
5211 mov edi,eax
5212 xor edi,ebp
5213 lea ecx,[rsi*1+rcx]
5214 rorx r12d,edx,27
5215 rorx esi,edx,2
5216 xor edx,eax
5217 add ecx,r12d
5218 and edx,edi
5219 add ebx,DWORD[12+r13]
5220 xor edx,eax
5221 mov edi,esi
5222 xor edi,eax
5223 lea ebx,[rdx*1+rbx]
5224 rorx r12d,ecx,27
5225 rorx edx,ecx,2
5226 xor ecx,esi
5227 add ebx,r12d
5228 and ecx,edi
5229 add ebp,DWORD[32+r13]
5230 xor ecx,esi
5231 mov edi,edx
5232 xor edi,esi
5233 lea ebp,[rbp*1+rcx]
5234 rorx r12d,ebx,27
5235 rorx ecx,ebx,2
5236 xor ebx,edx
5237 add ebp,r12d
5238 and ebx,edi
5239 add eax,DWORD[36+r13]
5240 xor ebx,edx
5241 mov edi,ecx
5242 xor edi,edx
5243 lea eax,[rbx*1+rax]
5244 rorx r12d,ebp,27
5245 rorx ebx,ebp,2
5246 xor ebp,ecx
5247 add eax,r12d
5248 and ebp,edi
5249 add esi,DWORD[40+r13]
5250 xor ebp,ecx
5251 mov edi,ebx
5252 xor edi,ecx
5253 lea esi,[rbp*1+rsi]
5254 rorx r12d,eax,27
5255 rorx ebp,eax,2
5256 xor eax,ebx
5257 add esi,r12d
5258 and eax,edi
5259 vpalignr ymm4,ymm1,ymm0,8
5260 add edx,DWORD[44+r13]
5261 xor eax,ebx
5262 mov edi,ebp
5263 xor edi,ebx
5264 vpsrldq ymm8,ymm3,4
5265 lea edx,[rax*1+rdx]
5266 rorx r12d,esi,27
5267 rorx eax,esi,2
5268 vpxor ymm4,ymm4,ymm0
5269 vpxor ymm8,ymm8,ymm2
5270 xor esi,ebp
5271 add edx,r12d
5272 vpxor ymm4,ymm4,ymm8
5273 and esi,edi
5274 add ecx,DWORD[64+r13]
5275 xor esi,ebp
5276 mov edi,eax
5277 vpsrld ymm8,ymm4,31
5278 xor edi,ebp
5279 lea ecx,[rsi*1+rcx]
5280 rorx r12d,edx,27
5281 vpslldq ymm10,ymm4,12
5282 vpaddd ymm4,ymm4,ymm4
5283 rorx esi,edx,2
5284 xor edx,eax
5285 vpsrld ymm9,ymm10,30
5286 vpor ymm4,ymm4,ymm8
5287 add ecx,r12d
5288 and edx,edi
5289 vpslld ymm10,ymm10,2
5290 vpxor ymm4,ymm4,ymm9
5291 add ebx,DWORD[68+r13]
5292 xor edx,eax
5293 vpxor ymm4,ymm4,ymm10
5294 mov edi,esi
5295 xor edi,eax
5296 lea ebx,[rdx*1+rbx]
5297 vpaddd ymm9,ymm4,ymm11
5298 rorx r12d,ecx,27
5299 rorx edx,ecx,2
5300 xor ecx,esi
5301 vmovdqu YMMWORD[128+rsp],ymm9
5302 add ebx,r12d
5303 and ecx,edi
5304 add ebp,DWORD[72+r13]
5305 xor ecx,esi
5306 mov edi,edx
5307 xor edi,esi
5308 lea ebp,[rbp*1+rcx]
5309 rorx r12d,ebx,27
5310 rorx ecx,ebx,2
5311 xor ebx,edx
5312 add ebp,r12d
5313 and ebx,edi
5314 add eax,DWORD[76+r13]
5315 xor ebx,edx
5316 lea eax,[rbx*1+rax]
5317 rorx r12d,ebp,27
5318 rorx ebx,ebp,2
5319 xor ebp,ecx
5320 add eax,r12d
5321 xor ebp,edx
5322 vpalignr ymm5,ymm2,ymm1,8
5323 add esi,DWORD[96+r13]
5324 lea esi,[rbp*1+rsi]
5325 rorx r12d,eax,27
5326 rorx ebp,eax,2
5327 vpsrldq ymm8,ymm4,4
5328 xor eax,ebx
5329 add esi,r12d
5330 xor eax,ecx
5331 vpxor ymm5,ymm5,ymm1
5332 vpxor ymm8,ymm8,ymm3
5333 add edx,DWORD[100+r13]
5334 lea edx,[rax*1+rdx]
5335 vpxor ymm5,ymm5,ymm8
5336 rorx r12d,esi,27
5337 rorx eax,esi,2
5338 xor esi,ebp
5339 add edx,r12d
5340 vpsrld ymm8,ymm5,31
5341 vmovdqu ymm11,YMMWORD[((-32))+r14]
5342 xor esi,ebx
5343 add ecx,DWORD[104+r13]
5344 lea ecx,[rsi*1+rcx]
5345 vpslldq ymm10,ymm5,12
5346 vpaddd ymm5,ymm5,ymm5
5347 rorx r12d,edx,27
5348 rorx esi,edx,2
5349 vpsrld ymm9,ymm10,30
5350 vpor ymm5,ymm5,ymm8
5351 xor edx,eax
5352 add ecx,r12d
5353 vpslld ymm10,ymm10,2
5354 vpxor ymm5,ymm5,ymm9
5355 xor edx,ebp
5356 add ebx,DWORD[108+r13]
5357 lea r13,[256+r13]
5358 vpxor ymm5,ymm5,ymm10
5359 lea ebx,[rdx*1+rbx]
5360 rorx r12d,ecx,27
5361 rorx edx,ecx,2
5362 vpaddd ymm9,ymm5,ymm11
5363 xor ecx,esi
5364 add ebx,r12d
5365 xor ecx,eax
5366 vmovdqu YMMWORD[160+rsp],ymm9
5367 add ebp,DWORD[((-128))+r13]
5368 lea ebp,[rbp*1+rcx]
5369 rorx r12d,ebx,27
5370 rorx ecx,ebx,2
5371 xor ebx,edx
5372 add ebp,r12d
5373 xor ebx,esi
5374 vpalignr ymm6,ymm3,ymm2,8
5375 add eax,DWORD[((-124))+r13]
5376 lea eax,[rbx*1+rax]
5377 rorx r12d,ebp,27
5378 rorx ebx,ebp,2
5379 vpsrldq ymm8,ymm5,4
5380 xor ebp,ecx
5381 add eax,r12d
5382 xor ebp,edx
5383 vpxor ymm6,ymm6,ymm2
5384 vpxor ymm8,ymm8,ymm4
5385 add esi,DWORD[((-120))+r13]
5386 lea esi,[rbp*1+rsi]
5387 vpxor ymm6,ymm6,ymm8
5388 rorx r12d,eax,27
5389 rorx ebp,eax,2
5390 xor eax,ebx
5391 add esi,r12d
5392 vpsrld ymm8,ymm6,31
5393 xor eax,ecx
5394 add edx,DWORD[((-116))+r13]
5395 lea edx,[rax*1+rdx]
5396 vpslldq ymm10,ymm6,12
5397 vpaddd ymm6,ymm6,ymm6
5398 rorx r12d,esi,27
5399 rorx eax,esi,2
5400 vpsrld ymm9,ymm10,30
5401 vpor ymm6,ymm6,ymm8
5402 xor esi,ebp
5403 add edx,r12d
5404 vpslld ymm10,ymm10,2
5405 vpxor ymm6,ymm6,ymm9
5406 xor esi,ebx
5407 add ecx,DWORD[((-96))+r13]
5408 vpxor ymm6,ymm6,ymm10
5409 lea ecx,[rsi*1+rcx]
5410 rorx r12d,edx,27
5411 rorx esi,edx,2
5412 vpaddd ymm9,ymm6,ymm11
5413 xor edx,eax
5414 add ecx,r12d
5415 xor edx,ebp
5416 vmovdqu YMMWORD[192+rsp],ymm9
5417 add ebx,DWORD[((-92))+r13]
5418 lea ebx,[rdx*1+rbx]
5419 rorx r12d,ecx,27
5420 rorx edx,ecx,2
5421 xor ecx,esi
5422 add ebx,r12d
5423 xor ecx,eax
5424 vpalignr ymm7,ymm4,ymm3,8
5425 add ebp,DWORD[((-88))+r13]
5426 lea ebp,[rbp*1+rcx]
5427 rorx r12d,ebx,27
5428 rorx ecx,ebx,2
5429 vpsrldq ymm8,ymm6,4
5430 xor ebx,edx
5431 add ebp,r12d
5432 xor ebx,esi
5433 vpxor ymm7,ymm7,ymm3
5434 vpxor ymm8,ymm8,ymm5
5435 add eax,DWORD[((-84))+r13]
5436 lea eax,[rbx*1+rax]
5437 vpxor ymm7,ymm7,ymm8
5438 rorx r12d,ebp,27
5439 rorx ebx,ebp,2
5440 xor ebp,ecx
5441 add eax,r12d
5442 vpsrld ymm8,ymm7,31
5443 xor ebp,edx
5444 add esi,DWORD[((-64))+r13]
5445 lea esi,[rbp*1+rsi]
5446 vpslldq ymm10,ymm7,12
5447 vpaddd ymm7,ymm7,ymm7
5448 rorx r12d,eax,27
5449 rorx ebp,eax,2
5450 vpsrld ymm9,ymm10,30
5451 vpor ymm7,ymm7,ymm8
5452 xor eax,ebx
5453 add esi,r12d
5454 vpslld ymm10,ymm10,2
5455 vpxor ymm7,ymm7,ymm9
5456 xor eax,ecx
5457 add edx,DWORD[((-60))+r13]
5458 vpxor ymm7,ymm7,ymm10
5459 lea edx,[rax*1+rdx]
5460 rorx r12d,esi,27
5461 rorx eax,esi,2
5462 vpaddd ymm9,ymm7,ymm11
5463 xor esi,ebp
5464 add edx,r12d
5465 xor esi,ebx
5466 vmovdqu YMMWORD[224+rsp],ymm9
5467 add ecx,DWORD[((-56))+r13]
5468 lea ecx,[rsi*1+rcx]
5469 rorx r12d,edx,27
5470 rorx esi,edx,2
5471 xor edx,eax
5472 add ecx,r12d
5473 xor edx,ebp
5474 add ebx,DWORD[((-52))+r13]
5475 lea ebx,[rdx*1+rbx]
5476 rorx r12d,ecx,27
5477 rorx edx,ecx,2
5478 xor ecx,esi
5479 add ebx,r12d
5480 xor ecx,eax
5481 add ebp,DWORD[((-32))+r13]
5482 lea ebp,[rbp*1+rcx]
5483 rorx r12d,ebx,27
5484 rorx ecx,ebx,2
5485 xor ebx,edx
5486 add ebp,r12d
5487 xor ebx,esi
5488 add eax,DWORD[((-28))+r13]
5489 lea eax,[rbx*1+rax]
5490 rorx r12d,ebp,27
5491 rorx ebx,ebp,2
5492 xor ebp,ecx
5493 add eax,r12d
5494 xor ebp,edx
5495 add esi,DWORD[((-24))+r13]
5496 lea esi,[rbp*1+rsi]
5497 rorx r12d,eax,27
5498 rorx ebp,eax,2
5499 xor eax,ebx
5500 add esi,r12d
5501 xor eax,ecx
5502 add edx,DWORD[((-20))+r13]
5503 lea edx,[rax*1+rdx]
5504 rorx r12d,esi,27
5505 add edx,r12d
5506 lea r13,[128+rsp]
5507
5508
5509 add edx,DWORD[r8]
5510 add esi,DWORD[4+r8]
5511 add ebp,DWORD[8+r8]
5512 mov DWORD[r8],edx
5513 add ebx,DWORD[12+r8]
5514 mov DWORD[4+r8],esi
5515 mov eax,edx
5516 add ecx,DWORD[16+r8]
5517 mov r12d,ebp
5518 mov DWORD[8+r8],ebp
5519 mov edx,ebx
5520
5521 mov DWORD[12+r8],ebx
5522 mov ebp,esi
5523 mov DWORD[16+r8],ecx
5524
5525 mov esi,ecx
5526 mov ecx,r12d
5527
5528
5529 cmp r9,r10
5530 jbe NEAR $L$oop_avx2
5531
5532 $L$done_avx2:
5533 vzeroupper
5534 movaps xmm6,XMMWORD[((-40-96))+r11]
5535 movaps xmm7,XMMWORD[((-40-80))+r11]
5536 movaps xmm8,XMMWORD[((-40-64))+r11]
5537 movaps xmm9,XMMWORD[((-40-48))+r11]
5538 movaps xmm10,XMMWORD[((-40-32))+r11]
5539 movaps xmm11,XMMWORD[((-40-16))+r11]
5540 mov r14,QWORD[((-40))+r11]
5541
5542 mov r13,QWORD[((-32))+r11]
5543
5544 mov r12,QWORD[((-24))+r11]
5545
5546 mov rbp,QWORD[((-16))+r11]
5547
5548 mov rbx,QWORD[((-8))+r11]
5549
5550 lea rsp,[r11]
5551
5552 $L$epilogue_avx2:
5553 mov rdi,QWORD[8+rsp] ;WIN64 epilogue
5554 mov rsi,QWORD[16+rsp]
5555 DB 0F3h,0C3h ;repret
5556
5557 $L$SEH_end_sha1_block_data_order_avx2:
5558 section .rdata rdata align=8
5559 ALIGN 64
5560 K_XX_XX:
5561 DD 0x5a827999,0x5a827999,0x5a827999,0x5a827999
5562 DD 0x5a827999,0x5a827999,0x5a827999,0x5a827999
5563 DD 0x6ed9eba1,0x6ed9eba1,0x6ed9eba1,0x6ed9eba1
5564 DD 0x6ed9eba1,0x6ed9eba1,0x6ed9eba1,0x6ed9eba1
5565 DD 0x8f1bbcdc,0x8f1bbcdc,0x8f1bbcdc,0x8f1bbcdc
5566 DD 0x8f1bbcdc,0x8f1bbcdc,0x8f1bbcdc,0x8f1bbcdc
5567 DD 0xca62c1d6,0xca62c1d6,0xca62c1d6,0xca62c1d6
5568 DD 0xca62c1d6,0xca62c1d6,0xca62c1d6,0xca62c1d6
5569 DD 0x00010203,0x04050607,0x08090a0b,0x0c0d0e0f
5570 DD 0x00010203,0x04050607,0x08090a0b,0x0c0d0e0f
5571 DB 0xf,0xe,0xd,0xc,0xb,0xa,0x9,0x8,0x7,0x6,0x5,0x4,0x3,0x2,0x1,0x0
5572 DB 83,72,65,49,32,98,108,111,99,107,32,116,114,97,110,115
5573 DB 102,111,114,109,32,102,111,114,32,120,56,54,95,54,52,44
5574 DB 32,67,82,89,80,84,79,71,65,77,83,32,98,121,32,60
5575 DB 97,112,112,114,111,64,111,112,101,110,115,115,108,46,111,114
5576 DB 103,62,0
5577 ALIGN 64
5578 section .text
5579
5580 EXTERN __imp_RtlVirtualUnwind
5581
5582 ALIGN 16
5583 se_handler:
5584 push rsi
5585 push rdi
5586 push rbx
5587 push rbp
5588 push r12
5589 push r13
5590 push r14
5591 push r15
5592 pushfq
5593 sub rsp,64
5594
5595 mov rax,QWORD[120+r8]
5596 mov rbx,QWORD[248+r8]
5597
5598 lea r10,[$L$prologue]
5599 cmp rbx,r10
5600 jb NEAR $L$common_seh_tail
5601
5602 mov rax,QWORD[152+r8]
5603
5604 lea r10,[$L$epilogue]
5605 cmp rbx,r10
5606 jae NEAR $L$common_seh_tail
5607
5608 mov rax,QWORD[64+rax]
5609
5610 mov rbx,QWORD[((-8))+rax]
5611 mov rbp,QWORD[((-16))+rax]
5612 mov r12,QWORD[((-24))+rax]
5613 mov r13,QWORD[((-32))+rax]
5614 mov r14,QWORD[((-40))+rax]
5615 mov QWORD[144+r8],rbx
5616 mov QWORD[160+r8],rbp
5617 mov QWORD[216+r8],r12
5618 mov QWORD[224+r8],r13
5619 mov QWORD[232+r8],r14
5620
5621 jmp NEAR $L$common_seh_tail
5622
5623
5624 ALIGN 16
5625 shaext_handler:
5626 push rsi
5627 push rdi
5628 push rbx
5629 push rbp
5630 push r12
5631 push r13
5632 push r14
5633 push r15
5634 pushfq
5635 sub rsp,64
5636
5637 mov rax,QWORD[120+r8]
5638 mov rbx,QWORD[248+r8]
5639
5640 lea r10,[$L$prologue_shaext]
5641 cmp rbx,r10
5642 jb NEAR $L$common_seh_tail
5643
5644 lea r10,[$L$epilogue_shaext]
5645 cmp rbx,r10
5646 jae NEAR $L$common_seh_tail
5647
5648 lea rsi,[((-8-64))+rax]
5649 lea rdi,[512+r8]
5650 mov ecx,8
5651 DD 0xa548f3fc
5652
5653 jmp NEAR $L$common_seh_tail
5654
5655
5656 ALIGN 16
5657 ssse3_handler:
5658 push rsi
5659 push rdi
5660 push rbx
5661 push rbp
5662 push r12
5663 push r13
5664 push r14
5665 push r15
5666 pushfq
5667 sub rsp,64
5668
5669 mov rax,QWORD[120+r8]
5670 mov rbx,QWORD[248+r8]
5671
5672 mov rsi,QWORD[8+r9]
5673 mov r11,QWORD[56+r9]
5674
5675 mov r10d,DWORD[r11]
5676 lea r10,[r10*1+rsi]
5677 cmp rbx,r10
5678 jb NEAR $L$common_seh_tail
5679
5680 mov rax,QWORD[208+r8]
5681
5682 mov r10d,DWORD[4+r11]
5683 lea r10,[r10*1+rsi]
5684 cmp rbx,r10
5685 jae NEAR $L$common_seh_tail
5686
5687 lea rsi,[((-40-96))+rax]
5688 lea rdi,[512+r8]
5689 mov ecx,12
5690 DD 0xa548f3fc
5691
5692 mov rbx,QWORD[((-8))+rax]
5693 mov rbp,QWORD[((-16))+rax]
5694 mov r12,QWORD[((-24))+rax]
5695 mov r13,QWORD[((-32))+rax]
5696 mov r14,QWORD[((-40))+rax]
5697 mov QWORD[144+r8],rbx
5698 mov QWORD[160+r8],rbp
5699 mov QWORD[216+r8],r12
5700 mov QWORD[224+r8],r13
5701 mov QWORD[232+r8],r14
5702
5703 $L$common_seh_tail:
5704 mov rdi,QWORD[8+rax]
5705 mov rsi,QWORD[16+rax]
5706 mov QWORD[152+r8],rax
5707 mov QWORD[168+r8],rsi
5708 mov QWORD[176+r8],rdi
5709
5710 mov rdi,QWORD[40+r9]
5711 mov rsi,r8
5712 mov ecx,154
5713 DD 0xa548f3fc
5714
5715 mov rsi,r9
5716 xor rcx,rcx
5717 mov rdx,QWORD[8+rsi]
5718 mov r8,QWORD[rsi]
5719 mov r9,QWORD[16+rsi]
5720 mov r10,QWORD[40+rsi]
5721 lea r11,[56+rsi]
5722 lea r12,[24+rsi]
5723 mov QWORD[32+rsp],r10
5724 mov QWORD[40+rsp],r11
5725 mov QWORD[48+rsp],r12
5726 mov QWORD[56+rsp],rcx
5727 call QWORD[__imp_RtlVirtualUnwind]
5728
5729 mov eax,1
5730 add rsp,64
5731 popfq
5732 pop r15
5733 pop r14
5734 pop r13
5735 pop r12
5736 pop rbp
5737 pop rbx
5738 pop rdi
5739 pop rsi
5740 DB 0F3h,0C3h ;repret
5741
5742
5743 section .pdata rdata align=4
5744 ALIGN 4
5745 DD $L$SEH_begin_sha1_block_data_order wrt ..imagebase
5746 DD $L$SEH_end_sha1_block_data_order wrt ..imagebase
5747 DD $L$SEH_info_sha1_block_data_order wrt ..imagebase
5748 DD $L$SEH_begin_sha1_block_data_order_shaext wrt ..imagebase
5749 DD $L$SEH_end_sha1_block_data_order_shaext wrt ..imagebase
5750 DD $L$SEH_info_sha1_block_data_order_shaext wrt ..imagebase
5751 DD $L$SEH_begin_sha1_block_data_order_ssse3 wrt ..imagebase
5752 DD $L$SEH_end_sha1_block_data_order_ssse3 wrt ..imagebase
5753 DD $L$SEH_info_sha1_block_data_order_ssse3 wrt ..imagebase
5754 DD $L$SEH_begin_sha1_block_data_order_avx wrt ..imagebase
5755 DD $L$SEH_end_sha1_block_data_order_avx wrt ..imagebase
5756 DD $L$SEH_info_sha1_block_data_order_avx wrt ..imagebase
5757 DD $L$SEH_begin_sha1_block_data_order_avx2 wrt ..imagebase
5758 DD $L$SEH_end_sha1_block_data_order_avx2 wrt ..imagebase
5759 DD $L$SEH_info_sha1_block_data_order_avx2 wrt ..imagebase
5760 section .xdata rdata align=8
5761 ALIGN 8
5762 $L$SEH_info_sha1_block_data_order:
5763 DB 9,0,0,0
5764 DD se_handler wrt ..imagebase
5765 $L$SEH_info_sha1_block_data_order_shaext:
5766 DB 9,0,0,0
5767 DD shaext_handler wrt ..imagebase
5768 $L$SEH_info_sha1_block_data_order_ssse3:
5769 DB 9,0,0,0
5770 DD ssse3_handler wrt ..imagebase
5771 DD $L$prologue_ssse3 wrt ..imagebase,$L$epilogue_ssse3 wrt ..imagebase
5772 $L$SEH_info_sha1_block_data_order_avx:
5773 DB 9,0,0,0
5774 DD ssse3_handler wrt ..imagebase
5775 DD $L$prologue_avx wrt ..imagebase,$L$epilogue_avx wrt ..imagebase
5776 $L$SEH_info_sha1_block_data_order_avx2:
5777 DB 9,0,0,0
5778 DD ssse3_handler wrt ..imagebase
5779 DD $L$prologue_avx2 wrt ..imagebase,$L$epilogue_avx2 wrt ..imagebase
5780 %else
5781 ; Work around https://bugzilla.nasm.us/show_bug.cgi?id=3392738
5782 ret
5783 %endif