Home | History | Annotate | Line # | Download | only in aarch64
      1  1.1  christos #include "arm_arch.h"
      2  1.1  christos 
      3  1.1  christos .text
      4  1.1  christos .globl	ossl_md5_block_asm_data_order
      5  1.1  christos .type	ossl_md5_block_asm_data_order,@function
      6  1.1  christos ossl_md5_block_asm_data_order:
      7  1.1  christos 	AARCH64_VALID_CALL_TARGET
      8  1.1  christos         // Save all callee-saved registers
      9  1.1  christos 	stp	x19,x20,[sp,#-80]!
     10  1.1  christos 	stp	x21,x22,[sp,#16]
     11  1.1  christos 	stp	x23,x24,[sp,#32]
     12  1.1  christos 	stp	x25,x26,[sp,#48]
     13  1.1  christos 	stp	x27,x28,[sp,#64]
     14  1.1  christos 
     15  1.1  christos 	ldp	w10, w11, [x0, #0]        // .Load MD5 state->A and state->B
     16  1.1  christos 	ldp	w12, w13, [x0, #8]        // .Load MD5 state->C and state->D
     17  1.1  christos .align	5
     18  1.1  christos ossl_md5_blocks_loop:
     19  1.1  christos 	eor	x17, x12, x13             // Begin aux function round 1 F(x,y,z)=(((y^z)&x)^z)
     20  1.1  christos 	and	x16, x17, x11             // Continue aux function round 1 F(x,y,z)=(((y^z)&x)^z)
     21  1.1  christos 	ldp	w15, w20, [x1]            // .Load 2 words of input data0 M[0],M[1]
     22  1.1  christos 	ldp	w3, w21, [x1, #8]        // .Load 2 words of input data0 M[2],M[3]
     23  1.1  christos #ifdef __AARCH64EB__
     24  1.1  christos 	rev	w15, w15
     25  1.1  christos 	rev	w20, w20
     26  1.1  christos 	rev	w3, w3
     27  1.1  christos 	rev	w21, w21
     28  1.1  christos #endif
     29  1.1  christos 	eor	x14, x16, x13             // End aux function round 1 F(x,y,z)=(((y^z)&x)^z)
     30  1.1  christos 	movz	x9, #0xa478              // .Load lower half of constant 0xd76aa478
     31  1.1  christos 	movk	x9, #0xd76a, lsl #16     // .Load upper half of constant 0xd76aa478
     32  1.1  christos 	add	w8, w10, w15              // Add dest value
     33  1.1  christos 	add	w7, w8, w9                // Add constant 0xd76aa478
     34  1.1  christos 	add	w6, w7, w14               // Add aux function result
     35  1.1  christos 	ror	w6, w6, #25               // Rotate left s=7 bits
     36  1.1  christos 	eor	x5, x11, x12              // Begin aux function round 1 F(x,y,z)=(((y^z)&x)^z)
     37  1.1  christos 	add	w4, w11, w6               // Add X parameter round 1 A=FF(A, B, C, D, 0xd76aa478, s=7, M[0])
     38  1.1  christos 	and	x8, x5, x4                // Continue aux function round 1 F(x,y,z)=(((y^z)&x)^z)
     39  1.1  christos 	eor	x17, x8, x12              // End aux function round 1 F(x,y,z)=(((y^z)&x)^z)
     40  1.1  christos 	movz	x16, #0xb756             // .Load lower half of constant 0xe8c7b756
     41  1.1  christos 	movk	x16, #0xe8c7, lsl #16    // .Load upper half of constant 0xe8c7b756
     42  1.1  christos 	add	w9, w13, w20              // Add dest value
     43  1.1  christos 	add	w7, w9, w16               // Add constant 0xe8c7b756
     44  1.1  christos 	add	w14, w7, w17              // Add aux function result
     45  1.1  christos 	ror	w14, w14, #20             // Rotate left s=12 bits
     46  1.1  christos 	eor	x6, x4, x11               // Begin aux function round 1 F(x,y,z)=(((y^z)&x)^z)
     47  1.1  christos 	add	w5, w4, w14               // Add X parameter round 1 D=FF(D, A, B, C, 0xe8c7b756, s=12, M[1])
     48  1.1  christos 	and	x8, x6, x5                // Continue aux function round 1 F(x,y,z)=(((y^z)&x)^z)
     49  1.1  christos 	eor	x9, x8, x11               // End aux function round 1 F(x,y,z)=(((y^z)&x)^z)
     50  1.1  christos 	movz	x16, #0x70db             // .Load lower half of constant 0x242070db
     51  1.1  christos 	movk	x16, #0x2420, lsl #16    // .Load upper half of constant 0x242070db
     52  1.1  christos 	add	w7, w12, w3               // Add dest value
     53  1.1  christos 	add	w17, w7, w16              // Add constant 0x242070db
     54  1.1  christos 	add	w14, w17, w9              // Add aux function result
     55  1.1  christos 	ror	w14, w14, #15             // Rotate left s=17 bits
     56  1.1  christos 	eor	x6, x5, x4                // Begin aux function round 1 F(x,y,z)=(((y^z)&x)^z)
     57  1.1  christos 	add	w8, w5, w14               // Add X parameter round 1 C=FF(C, D, A, B, 0x242070db, s=17, M[2])
     58  1.1  christos 	and	x7, x6, x8                // Continue aux function round 1 F(x,y,z)=(((y^z)&x)^z)
     59  1.1  christos 	eor	x16, x7, x4               // End aux function round 1 F(x,y,z)=(((y^z)&x)^z)
     60  1.1  christos 	movz	x9, #0xceee              // .Load lower half of constant 0xc1bdceee
     61  1.1  christos 	movk	x9, #0xc1bd, lsl #16     // .Load upper half of constant 0xc1bdceee
     62  1.1  christos 	add	w14, w11, w21             // Add dest value
     63  1.1  christos 	add	w6, w14, w9               // Add constant 0xc1bdceee
     64  1.1  christos 	add	w7, w6, w16               // Add aux function result
     65  1.1  christos 	ror	w7, w7, #10               // Rotate left s=22 bits
     66  1.1  christos 	eor	x17, x8, x5               // Begin aux function round 1 F(x,y,z)=(((y^z)&x)^z)
     67  1.1  christos 	add	w9, w8, w7                // Add X parameter round 1 B=FF(B, C, D, A, 0xc1bdceee, s=22, M[3])
     68  1.1  christos 	ldp	w14, w22, [x1, #16]       // .Load 2 words of input data0 M[4],M[5]
     69  1.1  christos 	ldp	w7, w23, [x1, #24]        // .Load 2 words of input data0 M[6],M[7]
     70  1.1  christos #ifdef __AARCH64EB__
     71  1.1  christos 	rev	w14, w14
     72  1.1  christos 	rev	w22, w22
     73  1.1  christos 	rev	w7, w7
     74  1.1  christos 	rev	w23, w23
     75  1.1  christos #endif
     76  1.1  christos 	and	x16, x17, x9              // Continue aux function round 1 F(x,y,z)=(((y^z)&x)^z)
     77  1.1  christos 	eor	x6, x16, x5               // End aux function round 1 F(x,y,z)=(((y^z)&x)^z)
     78  1.1  christos 	movz	x16, #0xfaf              // .Load lower half of constant 0xf57c0faf
     79  1.1  christos 	movk	x16, #0xf57c, lsl #16    // .Load upper half of constant 0xf57c0faf
     80  1.1  christos 	add	w17, w4, w14              // Add dest value
     81  1.1  christos 	add	w16, w17, w16             // Add constant 0xf57c0faf
     82  1.1  christos 	add	w4, w16, w6               // Add aux function result
     83  1.1  christos 	ror	w4, w4, #25               // Rotate left s=7 bits
     84  1.1  christos 	eor	x16, x9, x8               // Begin aux function round 1 F(x,y,z)=(((y^z)&x)^z)
     85  1.1  christos 	add	w17, w9, w4               // Add X parameter round 1 A=FF(A, B, C, D, 0xf57c0faf, s=7, M[4])
     86  1.1  christos 	and	x16, x16, x17             // Continue aux function round 1 F(x,y,z)=(((y^z)&x)^z)
     87  1.1  christos 	eor	x6, x16, x8               // End aux function round 1 F(x,y,z)=(((y^z)&x)^z)
     88  1.1  christos 	movz	x4, #0xc62a              // .Load lower half of constant 0x4787c62a
     89  1.1  christos 	movk	x4, #0x4787, lsl #16     // .Load upper half of constant 0x4787c62a
     90  1.1  christos 	add	w16, w5, w22              // Add dest value
     91  1.1  christos 	add	w16, w16, w4              // Add constant 0x4787c62a
     92  1.1  christos 	add	w5, w16, w6               // Add aux function result
     93  1.1  christos 	ror	w5, w5, #20               // Rotate left s=12 bits
     94  1.1  christos 	eor	x4, x17, x9               // Begin aux function round 1 F(x,y,z)=(((y^z)&x)^z)
     95  1.1  christos 	add	w19, w17, w5              // Add X parameter round 1 D=FF(D, A, B, C, 0x4787c62a, s=12, M[5])
     96  1.1  christos 	and	x6, x4, x19               // Continue aux function round 1 F(x,y,z)=(((y^z)&x)^z)
     97  1.1  christos 	eor	x5, x6, x9                // End aux function round 1 F(x,y,z)=(((y^z)&x)^z)
     98  1.1  christos 	movz	x4, #0x4613              // .Load lower half of constant 0xa8304613
     99  1.1  christos 	movk	x4, #0xa830, lsl #16     // .Load upper half of constant 0xa8304613
    100  1.1  christos 	add	w6, w8, w7                // Add dest value
    101  1.1  christos 	add	w8, w6, w4                // Add constant 0xa8304613
    102  1.1  christos 	add	w4, w8, w5                // Add aux function result
    103  1.1  christos 	ror	w4, w4, #15               // Rotate left s=17 bits
    104  1.1  christos 	eor	x6, x19, x17              // Begin aux function round 1 F(x,y,z)=(((y^z)&x)^z)
    105  1.1  christos 	add	w8, w19, w4               // Add X parameter round 1 C=FF(C, D, A, B, 0xa8304613, s=17, M[6])
    106  1.1  christos 	and	x5, x6, x8                // Continue aux function round 1 F(x,y,z)=(((y^z)&x)^z)
    107  1.1  christos 	eor	x4, x5, x17               // End aux function round 1 F(x,y,z)=(((y^z)&x)^z)
    108  1.1  christos 	movz	x6, #0x9501              // .Load lower half of constant 0xfd469501
    109  1.1  christos 	movk	x6, #0xfd46, lsl #16     // .Load upper half of constant 0xfd469501
    110  1.1  christos 	add	w9, w9, w23               // Add dest value
    111  1.1  christos 	add	w5, w9, w6                // Add constant 0xfd469501
    112  1.1  christos 	add	w9, w5, w4                // Add aux function result
    113  1.1  christos 	ror	w9, w9, #10               // Rotate left s=22 bits
    114  1.1  christos 	eor	x6, x8, x19               // Begin aux function round 1 F(x,y,z)=(((y^z)&x)^z)
    115  1.1  christos 	add	w4, w8, w9                // Add X parameter round 1 B=FF(B, C, D, A, 0xfd469501, s=22, M[7])
    116  1.1  christos 	ldp	w5, w24, [x1, #32]        // .Load 2 words of input data0 M[8],M[9]
    117  1.1  christos 	ldp	w16, w25, [x1, #40]        // .Load 2 words of input data0 M[10],M[11]
    118  1.1  christos #ifdef __AARCH64EB__
    119  1.1  christos 	rev	w5, w5
    120  1.1  christos 	rev	w24, w24
    121  1.1  christos 	rev	w16, w16
    122  1.1  christos 	rev	w25, w25
    123  1.1  christos #endif
    124  1.1  christos 	and	x9, x6, x4                // Continue aux function round 1 F(x,y,z)=(((y^z)&x)^z)
    125  1.1  christos 	eor	x6, x9, x19               // End aux function round 1 F(x,y,z)=(((y^z)&x)^z)
    126  1.1  christos 	movz	x9, #0x98d8              // .Load lower half of constant 0x698098d8
    127  1.1  christos 	movk	x9, #0x6980, lsl #16     // .Load upper half of constant 0x698098d8
    128  1.1  christos 	add	w17, w17, w5              // Add dest value
    129  1.1  christos 	add	w9, w17, w9               // Add constant 0x698098d8
    130  1.1  christos 	add	w17, w9, w6               // Add aux function result
    131  1.1  christos 	ror	w17, w17, #25             // Rotate left s=7 bits
    132  1.1  christos 	eor	x9, x4, x8                // Begin aux function round 1 F(x,y,z)=(((y^z)&x)^z)
    133  1.1  christos 	add	w6, w4, w17               // Add X parameter round 1 A=FF(A, B, C, D, 0x698098d8, s=7, M[8])
    134  1.1  christos 	and	x17, x9, x6               // Continue aux function round 1 F(x,y,z)=(((y^z)&x)^z)
    135  1.1  christos 	eor	x9, x17, x8               // End aux function round 1 F(x,y,z)=(((y^z)&x)^z)
    136  1.1  christos 	movz	x17, #0xf7af             // .Load lower half of constant 0x8b44f7af
    137  1.1  christos 	movk	x17, #0x8b44, lsl #16    // .Load upper half of constant 0x8b44f7af
    138  1.1  christos 	add	w19, w19, w24             // Add dest value
    139  1.1  christos 	add	w17, w19, w17             // Add constant 0x8b44f7af
    140  1.1  christos 	add	w19, w17, w9              // Add aux function result
    141  1.1  christos 	ror	w19, w19, #20             // Rotate left s=12 bits
    142  1.1  christos 	eor	x9, x6, x4                // Begin aux function round 1 F(x,y,z)=(((y^z)&x)^z)
    143  1.1  christos 	add	w17, w6, w19              // Add X parameter round 1 D=FF(D, A, B, C, 0x8b44f7af, s=12, M[9])
    144  1.1  christos 	and	x9, x9, x17               // Continue aux function round 1 F(x,y,z)=(((y^z)&x)^z)
    145  1.1  christos 	eor	x9, x9, x4                // End aux function round 1 F(x,y,z)=(((y^z)&x)^z)
    146  1.1  christos 	movz	x11, #0x5bb1             // .Load lower half of constant 0xffff5bb1
    147  1.1  christos 	movk	x11, #0xffff, lsl #16    // .Load upper half of constant 0xffff5bb1
    148  1.1  christos 	add	w8, w8, w16               // Add dest value
    149  1.1  christos 	add	w8, w8, w11               // Add constant 0xffff5bb1
    150  1.1  christos 	add	w8, w8, w9                // Add aux function result
    151  1.1  christos 	ror	w8, w8, #15               // Rotate left s=17 bits
    152  1.1  christos 	eor	x9, x17, x6               // Begin aux function round 1 F(x,y,z)=(((y^z)&x)^z)
    153  1.1  christos 	add	w8, w17, w8               // Add X parameter round 1 C=FF(C, D, A, B, 0xffff5bb1, s=17, M[10])
    154  1.1  christos 	and	x9, x9, x8                // Continue aux function round 1 F(x,y,z)=(((y^z)&x)^z)
    155  1.1  christos 	eor	x9, x9, x6                // End aux function round 1 F(x,y,z)=(((y^z)&x)^z)
    156  1.1  christos 	movz	x11, #0xd7be             // .Load lower half of constant 0x895cd7be
    157  1.1  christos 	movk	x11, #0x895c, lsl #16    // .Load upper half of constant 0x895cd7be
    158  1.1  christos 	add	w4, w4, w25               // Add dest value
    159  1.1  christos 	add	w4, w4, w11               // Add constant 0x895cd7be
    160  1.1  christos 	add	w9, w4, w9                // Add aux function result
    161  1.1  christos 	ror	w9, w9, #10               // Rotate left s=22 bits
    162  1.1  christos 	eor	x4, x8, x17               // Begin aux function round 1 F(x,y,z)=(((y^z)&x)^z)
    163  1.1  christos 	add	w9, w8, w9                // Add X parameter round 1 B=FF(B, C, D, A, 0x895cd7be, s=22, M[11])
    164  1.1  christos 	ldp	w11, w26, [x1, #48]       // .Load 2 words of input data0 M[12],M[13]
    165  1.1  christos 	ldp	w12, w27, [x1, #56]       // .Load 2 words of input data0 M[14],M[15]
    166  1.1  christos #ifdef __AARCH64EB__
    167  1.1  christos 	rev	w11, w11
    168  1.1  christos 	rev	w26, w26
    169  1.1  christos 	rev	w12, w12
    170  1.1  christos 	rev	w27, w27
    171  1.1  christos #endif
    172  1.1  christos 	and	x4, x4, x9                // Continue aux function round 1 F(x,y,z)=(((y^z)&x)^z)
    173  1.1  christos 	eor	x4, x4, x17               // End aux function round 1 F(x,y,z)=(((y^z)&x)^z)
    174  1.1  christos 	movz	x19, #0x1122             // .Load lower half of constant 0x6b901122
    175  1.1  christos 	movk	x19, #0x6b90, lsl #16    // .Load upper half of constant 0x6b901122
    176  1.1  christos 	add	w6, w6, w11               // Add dest value
    177  1.1  christos 	add	w6, w6, w19               // Add constant 0x6b901122
    178  1.1  christos 	add	w4, w6, w4                // Add aux function result
    179  1.1  christos 	ror	w4, w4, #25               // Rotate left s=7 bits
    180  1.1  christos 	eor	x6, x9, x8                // Begin aux function round 1 F(x,y,z)=(((y^z)&x)^z)
    181  1.1  christos 	add	w4, w9, w4                // Add X parameter round 1 A=FF(A, B, C, D, 0x6b901122, s=7, M[12])
    182  1.1  christos 	and	x6, x6, x4                // Continue aux function round 1 F(x,y,z)=(((y^z)&x)^z)
    183  1.1  christos 	eor	x6, x6, x8                // End aux function round 1 F(x,y,z)=(((y^z)&x)^z)
    184  1.1  christos 	movz	x19, #0x7193             // .Load lower half of constant 0xfd987193
    185  1.1  christos 	movk	x19, #0xfd98, lsl #16    // .Load upper half of constant 0xfd987193
    186  1.1  christos 	add	w17, w17, w26             // Add dest value
    187  1.1  christos 	add	w17, w17, w19             // Add constant 0xfd987193
    188  1.1  christos 	add	w17, w17, w6              // Add aux function result
    189  1.1  christos 	ror	w17, w17, #20             // Rotate left s=12 bits
    190  1.1  christos 	eor	x6, x4, x9                // Begin aux function round 1 F(x,y,z)=(((y^z)&x)^z)
    191  1.1  christos 	add	w17, w4, w17              // Add X parameter round 1 D=FF(D, A, B, C, 0xfd987193, s=12, M[13])
    192  1.1  christos 	and	x6, x6, x17               // Continue aux function round 1 F(x,y,z)=(((y^z)&x)^z)
    193  1.1  christos 	eor	x6, x6, x9                // End aux function round 1 F(x,y,z)=(((y^z)&x)^z)
    194  1.1  christos 	movz	x13, #0x438e             // .Load lower half of constant 0xa679438e
    195  1.1  christos 	movk	x13, #0xa679, lsl #16    // .Load upper half of constant 0xa679438e
    196  1.1  christos 	add	w8, w8, w12               // Add dest value
    197  1.1  christos 	add	w8, w8, w13               // Add constant 0xa679438e
    198  1.1  christos 	add	w8, w8, w6                // Add aux function result
    199  1.1  christos 	ror	w8, w8, #15               // Rotate left s=17 bits
    200  1.1  christos 	eor	x6, x17, x4               // Begin aux function round 1 F(x,y,z)=(((y^z)&x)^z)
    201  1.1  christos 	add	w8, w17, w8               // Add X parameter round 1 C=FF(C, D, A, B, 0xa679438e, s=17, M[14])
    202  1.1  christos 	and	x6, x6, x8                // Continue aux function round 1 F(x,y,z)=(((y^z)&x)^z)
    203  1.1  christos 	eor	x6, x6, x4                // End aux function round 1 F(x,y,z)=(((y^z)&x)^z)
    204  1.1  christos 	movz	x13, #0x821              // .Load lower half of constant 0x49b40821
    205  1.1  christos 	movk	x13, #0x49b4, lsl #16    // .Load upper half of constant 0x49b40821
    206  1.1  christos 	add	w9, w9, w27               // Add dest value
    207  1.1  christos 	add	w9, w9, w13               // Add constant 0x49b40821
    208  1.1  christos 	add	w9, w9, w6                // Add aux function result
    209  1.1  christos 	ror	w9, w9, #10               // Rotate left s=22 bits
    210  1.1  christos 	bic	x6, x8, x17               // Aux function round 2 (~z & y)
    211  1.1  christos 	add	w9, w8, w9                // Add X parameter round 1 B=FF(B, C, D, A, 0x49b40821, s=22, M[15])
    212  1.1  christos 	movz	x13, #0x2562             // .Load lower half of constant 0xf61e2562
    213  1.1  christos 	movk	x13, #0xf61e, lsl #16    // .Load upper half of constant 0xf61e2562
    214  1.1  christos 	add	w4, w4, w20               // Add dest value
    215  1.1  christos 	add	w4, w4, w13               // Add constant 0xf61e2562
    216  1.1  christos 	and	x13, x9, x17              // Aux function round 2 (x & z)
    217  1.1  christos 	add	w4, w4, w6                // Add (~z & y)
    218  1.1  christos 	add	w4, w4, w13               // Add (x & z)
    219  1.1  christos 	ror	w4, w4, #27               // Rotate left s=5 bits
    220  1.1  christos 	bic	x6, x9, x8                // Aux function round 2 (~z & y)
    221  1.1  christos 	add	w4, w9, w4                // Add X parameter round 2 A=GG(A, B, C, D, 0xf61e2562, s=5, M[1])
    222  1.1  christos 	movz	x13, #0xb340             // .Load lower half of constant 0xc040b340
    223  1.1  christos 	movk	x13, #0xc040, lsl #16    // .Load upper half of constant 0xc040b340
    224  1.1  christos 	add	w17, w17, w7              // Add dest value
    225  1.1  christos 	add	w17, w17, w13             // Add constant 0xc040b340
    226  1.1  christos 	and	x13, x4, x8               // Aux function round 2 (x & z)
    227  1.1  christos 	add	w17, w17, w6              // Add (~z & y)
    228  1.1  christos 	add	w17, w17, w13             // Add (x & z)
    229  1.1  christos 	ror	w17, w17, #23             // Rotate left s=9 bits
    230  1.1  christos 	bic	x6, x4, x9                // Aux function round 2 (~z & y)
    231  1.1  christos 	add	w17, w4, w17              // Add X parameter round 2 D=GG(D, A, B, C, 0xc040b340, s=9, M[6])
    232  1.1  christos 	movz	x13, #0x5a51             // .Load lower half of constant 0x265e5a51
    233  1.1  christos 	movk	x13, #0x265e, lsl #16    // .Load upper half of constant 0x265e5a51
    234  1.1  christos 	add	w8, w8, w25               // Add dest value
    235  1.1  christos 	add	w8, w8, w13               // Add constant 0x265e5a51
    236  1.1  christos 	and	x13, x17, x9              // Aux function round 2 (x & z)
    237  1.1  christos 	add	w8, w8, w6                // Add (~z & y)
    238  1.1  christos 	add	w8, w8, w13               // Add (x & z)
    239  1.1  christos 	ror	w8, w8, #18               // Rotate left s=14 bits
    240  1.1  christos 	bic	x6, x17, x4               // Aux function round 2 (~z & y)
    241  1.1  christos 	add	w8, w17, w8               // Add X parameter round 2 C=GG(C, D, A, B, 0x265e5a51, s=14, M[11])
    242  1.1  christos 	movz	x13, #0xc7aa             // .Load lower half of constant 0xe9b6c7aa
    243  1.1  christos 	movk	x13, #0xe9b6, lsl #16    // .Load upper half of constant 0xe9b6c7aa
    244  1.1  christos 	add	w9, w9, w15               // Add dest value
    245  1.1  christos 	add	w9, w9, w13               // Add constant 0xe9b6c7aa
    246  1.1  christos 	and	x13, x8, x4               // Aux function round 2 (x & z)
    247  1.1  christos 	add	w9, w9, w6                // Add (~z & y)
    248  1.1  christos 	add	w9, w9, w13               // Add (x & z)
    249  1.1  christos 	ror	w9, w9, #12               // Rotate left s=20 bits
    250  1.1  christos 	bic	x6, x8, x17               // Aux function round 2 (~z & y)
    251  1.1  christos 	add	w9, w8, w9                // Add X parameter round 2 B=GG(B, C, D, A, 0xe9b6c7aa, s=20, M[0])
    252  1.1  christos 	movz	x13, #0x105d             // .Load lower half of constant 0xd62f105d
    253  1.1  christos 	movk	x13, #0xd62f, lsl #16    // .Load upper half of constant 0xd62f105d
    254  1.1  christos 	add	w4, w4, w22               // Add dest value
    255  1.1  christos 	add	w4, w4, w13               // Add constant 0xd62f105d
    256  1.1  christos 	and	x13, x9, x17              // Aux function round 2 (x & z)
    257  1.1  christos 	add	w4, w4, w6                // Add (~z & y)
    258  1.1  christos 	add	w4, w4, w13               // Add (x & z)
    259  1.1  christos 	ror	w4, w4, #27               // Rotate left s=5 bits
    260  1.1  christos 	bic	x6, x9, x8                // Aux function round 2 (~z & y)
    261  1.1  christos 	add	w4, w9, w4                // Add X parameter round 2 A=GG(A, B, C, D, 0xd62f105d, s=5, M[5])
    262  1.1  christos 	movz	x13, #0x1453             // .Load lower half of constant 0x2441453
    263  1.1  christos 	movk	x13, #0x244, lsl #16     // .Load upper half of constant 0x2441453
    264  1.1  christos 	add	w17, w17, w16             // Add dest value
    265  1.1  christos 	add	w17, w17, w13             // Add constant 0x2441453
    266  1.1  christos 	and	x13, x4, x8               // Aux function round 2 (x & z)
    267  1.1  christos 	add	w17, w17, w6              // Add (~z & y)
    268  1.1  christos 	add	w17, w17, w13             // Add (x & z)
    269  1.1  christos 	ror	w17, w17, #23             // Rotate left s=9 bits
    270  1.1  christos 	bic	x6, x4, x9                // Aux function round 2 (~z & y)
    271  1.1  christos 	add	w17, w4, w17              // Add X parameter round 2 D=GG(D, A, B, C, 0x2441453, s=9, M[10])
    272  1.1  christos 	movz	x13, #0xe681             // .Load lower half of constant 0xd8a1e681
    273  1.1  christos 	movk	x13, #0xd8a1, lsl #16    // .Load upper half of constant 0xd8a1e681
    274  1.1  christos 	add	w8, w8, w27               // Add dest value
    275  1.1  christos 	add	w8, w8, w13               // Add constant 0xd8a1e681
    276  1.1  christos 	and	x13, x17, x9              // Aux function round 2 (x & z)
    277  1.1  christos 	add	w8, w8, w6                // Add (~z & y)
    278  1.1  christos 	add	w8, w8, w13               // Add (x & z)
    279  1.1  christos 	ror	w8, w8, #18               // Rotate left s=14 bits
    280  1.1  christos 	bic	x6, x17, x4               // Aux function round 2 (~z & y)
    281  1.1  christos 	add	w8, w17, w8               // Add X parameter round 2 C=GG(C, D, A, B, 0xd8a1e681, s=14, M[15])
    282  1.1  christos 	movz	x13, #0xfbc8             // .Load lower half of constant 0xe7d3fbc8
    283  1.1  christos 	movk	x13, #0xe7d3, lsl #16    // .Load upper half of constant 0xe7d3fbc8
    284  1.1  christos 	add	w9, w9, w14               // Add dest value
    285  1.1  christos 	add	w9, w9, w13               // Add constant 0xe7d3fbc8
    286  1.1  christos 	and	x13, x8, x4               // Aux function round 2 (x & z)
    287  1.1  christos 	add	w9, w9, w6                // Add (~z & y)
    288  1.1  christos 	add	w9, w9, w13               // Add (x & z)
    289  1.1  christos 	ror	w9, w9, #12               // Rotate left s=20 bits
    290  1.1  christos 	bic	x6, x8, x17               // Aux function round 2 (~z & y)
    291  1.1  christos 	add	w9, w8, w9                // Add X parameter round 2 B=GG(B, C, D, A, 0xe7d3fbc8, s=20, M[4])
    292  1.1  christos 	movz	x13, #0xcde6             // .Load lower half of constant 0x21e1cde6
    293  1.1  christos 	movk	x13, #0x21e1, lsl #16    // .Load upper half of constant 0x21e1cde6
    294  1.1  christos 	add	w4, w4, w24               // Add dest value
    295  1.1  christos 	add	w4, w4, w13               // Add constant 0x21e1cde6
    296  1.1  christos 	and	x13, x9, x17              // Aux function round 2 (x & z)
    297  1.1  christos 	add	w4, w4, w6                // Add (~z & y)
    298  1.1  christos 	add	w4, w4, w13               // Add (x & z)
    299  1.1  christos 	ror	w4, w4, #27               // Rotate left s=5 bits
    300  1.1  christos 	bic	x6, x9, x8                // Aux function round 2 (~z & y)
    301  1.1  christos 	add	w4, w9, w4                // Add X parameter round 2 A=GG(A, B, C, D, 0x21e1cde6, s=5, M[9])
    302  1.1  christos 	movz	x13, #0x7d6              // .Load lower half of constant 0xc33707d6
    303  1.1  christos 	movk	x13, #0xc337, lsl #16    // .Load upper half of constant 0xc33707d6
    304  1.1  christos 	add	w17, w17, w12             // Add dest value
    305  1.1  christos 	add	w17, w17, w13             // Add constant 0xc33707d6
    306  1.1  christos 	and	x13, x4, x8               // Aux function round 2 (x & z)
    307  1.1  christos 	add	w17, w17, w6              // Add (~z & y)
    308  1.1  christos 	add	w17, w17, w13             // Add (x & z)
    309  1.1  christos 	ror	w17, w17, #23             // Rotate left s=9 bits
    310  1.1  christos 	bic	x6, x4, x9                // Aux function round 2 (~z & y)
    311  1.1  christos 	add	w17, w4, w17              // Add X parameter round 2 D=GG(D, A, B, C, 0xc33707d6, s=9, M[14])
    312  1.1  christos 	movz	x13, #0xd87              // .Load lower half of constant 0xf4d50d87
    313  1.1  christos 	movk	x13, #0xf4d5, lsl #16    // .Load upper half of constant 0xf4d50d87
    314  1.1  christos 	add	w8, w8, w21               // Add dest value
    315  1.1  christos 	add	w8, w8, w13               // Add constant 0xf4d50d87
    316  1.1  christos 	and	x13, x17, x9              // Aux function round 2 (x & z)
    317  1.1  christos 	add	w8, w8, w6                // Add (~z & y)
    318  1.1  christos 	add	w8, w8, w13               // Add (x & z)
    319  1.1  christos 	ror	w8, w8, #18               // Rotate left s=14 bits
    320  1.1  christos 	bic	x6, x17, x4               // Aux function round 2 (~z & y)
    321  1.1  christos 	add	w8, w17, w8               // Add X parameter round 2 C=GG(C, D, A, B, 0xf4d50d87, s=14, M[3])
    322  1.1  christos 	movz	x13, #0x14ed             // .Load lower half of constant 0x455a14ed
    323  1.1  christos 	movk	x13, #0x455a, lsl #16    // .Load upper half of constant 0x455a14ed
    324  1.1  christos 	add	w9, w9, w5                // Add dest value
    325  1.1  christos 	add	w9, w9, w13               // Add constant 0x455a14ed
    326  1.1  christos 	and	x13, x8, x4               // Aux function round 2 (x & z)
    327  1.1  christos 	add	w9, w9, w6                // Add (~z & y)
    328  1.1  christos 	add	w9, w9, w13               // Add (x & z)
    329  1.1  christos 	ror	w9, w9, #12               // Rotate left s=20 bits
    330  1.1  christos 	bic	x6, x8, x17               // Aux function round 2 (~z & y)
    331  1.1  christos 	add	w9, w8, w9                // Add X parameter round 2 B=GG(B, C, D, A, 0x455a14ed, s=20, M[8])
    332  1.1  christos 	movz	x13, #0xe905             // .Load lower half of constant 0xa9e3e905
    333  1.1  christos 	movk	x13, #0xa9e3, lsl #16    // .Load upper half of constant 0xa9e3e905
    334  1.1  christos 	add	w4, w4, w26               // Add dest value
    335  1.1  christos 	add	w4, w4, w13               // Add constant 0xa9e3e905
    336  1.1  christos 	and	x13, x9, x17              // Aux function round 2 (x & z)
    337  1.1  christos 	add	w4, w4, w6                // Add (~z & y)
    338  1.1  christos 	add	w4, w4, w13               // Add (x & z)
    339  1.1  christos 	ror	w4, w4, #27               // Rotate left s=5 bits
    340  1.1  christos 	bic	x6, x9, x8                // Aux function round 2 (~z & y)
    341  1.1  christos 	add	w4, w9, w4                // Add X parameter round 2 A=GG(A, B, C, D, 0xa9e3e905, s=5, M[13])
    342  1.1  christos 	movz	x13, #0xa3f8             // .Load lower half of constant 0xfcefa3f8
    343  1.1  christos 	movk	x13, #0xfcef, lsl #16    // .Load upper half of constant 0xfcefa3f8
    344  1.1  christos 	add	w17, w17, w3              // Add dest value
    345  1.1  christos 	add	w17, w17, w13             // Add constant 0xfcefa3f8
    346  1.1  christos 	and	x13, x4, x8               // Aux function round 2 (x & z)
    347  1.1  christos 	add	w17, w17, w6              // Add (~z & y)
    348  1.1  christos 	add	w17, w17, w13             // Add (x & z)
    349  1.1  christos 	ror	w17, w17, #23             // Rotate left s=9 bits
    350  1.1  christos 	bic	x6, x4, x9                // Aux function round 2 (~z & y)
    351  1.1  christos 	add	w17, w4, w17              // Add X parameter round 2 D=GG(D, A, B, C, 0xfcefa3f8, s=9, M[2])
    352  1.1  christos 	movz	x13, #0x2d9              // .Load lower half of constant 0x676f02d9
    353  1.1  christos 	movk	x13, #0x676f, lsl #16    // .Load upper half of constant 0x676f02d9
    354  1.1  christos 	add	w8, w8, w23               // Add dest value
    355  1.1  christos 	add	w8, w8, w13               // Add constant 0x676f02d9
    356  1.1  christos 	and	x13, x17, x9              // Aux function round 2 (x & z)
    357  1.1  christos 	add	w8, w8, w6                // Add (~z & y)
    358  1.1  christos 	add	w8, w8, w13               // Add (x & z)
    359  1.1  christos 	ror	w8, w8, #18               // Rotate left s=14 bits
    360  1.1  christos 	bic	x6, x17, x4               // Aux function round 2 (~z & y)
    361  1.1  christos 	add	w8, w17, w8               // Add X parameter round 2 C=GG(C, D, A, B, 0x676f02d9, s=14, M[7])
    362  1.1  christos 	movz	x13, #0x4c8a             // .Load lower half of constant 0x8d2a4c8a
    363  1.1  christos 	movk	x13, #0x8d2a, lsl #16    // .Load upper half of constant 0x8d2a4c8a
    364  1.1  christos 	add	w9, w9, w11               // Add dest value
    365  1.1  christos 	add	w9, w9, w13               // Add constant 0x8d2a4c8a
    366  1.1  christos 	and	x13, x8, x4               // Aux function round 2 (x & z)
    367  1.1  christos 	add	w9, w9, w6                // Add (~z & y)
    368  1.1  christos 	add	w9, w9, w13               // Add (x & z)
    369  1.1  christos 	eor	x6, x8, x17               // Begin aux function round 3 H(x,y,z)=(x^y^z)
    370  1.1  christos 	ror	w9, w9, #12               // Rotate left s=20 bits
    371  1.1  christos 	movz	x10, #0x3942             // .Load lower half of constant 0xfffa3942
    372  1.1  christos 	add	w9, w8, w9                // Add X parameter round 2 B=GG(B, C, D, A, 0x8d2a4c8a, s=20, M[12])
    373  1.1  christos 	movk	x10, #0xfffa, lsl #16    // .Load upper half of constant 0xfffa3942
    374  1.1  christos 	add	w4, w4, w22               // Add dest value
    375  1.1  christos 	eor	x6, x6, x9                // End aux function round 3 H(x,y,z)=(x^y^z)
    376  1.1  christos 	add	w4, w4, w10               // Add constant 0xfffa3942
    377  1.1  christos 	add	w4, w4, w6                // Add aux function result
    378  1.1  christos 	ror	w4, w4, #28               // Rotate left s=4 bits
    379  1.1  christos 	eor	x6, x9, x8                // Begin aux function round 3 H(x,y,z)=(x^y^z)
    380  1.1  christos 	movz	x10, #0xf681             // .Load lower half of constant 0x8771f681
    381  1.1  christos 	add	w4, w9, w4                // Add X parameter round 3 A=HH(A, B, C, D, 0xfffa3942, s=4, M[5])
    382  1.1  christos 	movk	x10, #0x8771, lsl #16    // .Load upper half of constant 0x8771f681
    383  1.1  christos 	add	w17, w17, w5              // Add dest value
    384  1.1  christos 	eor	x6, x6, x4                // End aux function round 3 H(x,y,z)=(x^y^z)
    385  1.1  christos 	add	w17, w17, w10             // Add constant 0x8771f681
    386  1.1  christos 	add	w17, w17, w6              // Add aux function result
    387  1.1  christos 	eor	x6, x4, x9                // Begin aux function round 3 H(x,y,z)=(x^y^z)
    388  1.1  christos 	ror	w17, w17, #21             // Rotate left s=11 bits
    389  1.1  christos 	movz	x13, #0x6122             // .Load lower half of constant 0x6d9d6122
    390  1.1  christos 	add	w17, w4, w17              // Add X parameter round 3 D=HH(D, A, B, C, 0x8771f681, s=11, M[8])
    391  1.1  christos 	movk	x13, #0x6d9d, lsl #16    // .Load upper half of constant 0x6d9d6122
    392  1.1  christos 	add	w8, w8, w25               // Add dest value
    393  1.1  christos 	eor	x6, x6, x17               // End aux function round 3 H(x,y,z)=(x^y^z)
    394  1.1  christos 	add	w8, w8, w13               // Add constant 0x6d9d6122
    395  1.1  christos 	add	w8, w8, w6                // Add aux function result
    396  1.1  christos 	ror	w8, w8, #16               // Rotate left s=16 bits
    397  1.1  christos 	eor	x6, x17, x4               // Begin aux function round 3 H(x,y,z)=(x^y^z)
    398  1.1  christos 	movz	x13, #0x380c             // .Load lower half of constant 0xfde5380c
    399  1.1  christos 	add	w8, w17, w8               // Add X parameter round 3 C=HH(C, D, A, B, 0x6d9d6122, s=16, M[11])
    400  1.1  christos 	movk	x13, #0xfde5, lsl #16    // .Load upper half of constant 0xfde5380c
    401  1.1  christos 	add	w9, w9, w12               // Add dest value
    402  1.1  christos 	eor	x6, x6, x8                // End aux function round 3 H(x,y,z)=(x^y^z)
    403  1.1  christos 	add	w9, w9, w13               // Add constant 0xfde5380c
    404  1.1  christos 	add	w9, w9, w6                // Add aux function result
    405  1.1  christos 	eor	x6, x8, x17               // Begin aux function round 3 H(x,y,z)=(x^y^z)
    406  1.1  christos 	ror	w9, w9, #9                // Rotate left s=23 bits
    407  1.1  christos 	movz	x10, #0xea44             // .Load lower half of constant 0xa4beea44
    408  1.1  christos 	add	w9, w8, w9                // Add X parameter round 3 B=HH(B, C, D, A, 0xfde5380c, s=23, M[14])
    409  1.1  christos 	movk	x10, #0xa4be, lsl #16    // .Load upper half of constant 0xa4beea44
    410  1.1  christos 	add	w4, w4, w20               // Add dest value
    411  1.1  christos 	eor	x6, x6, x9                // End aux function round 3 H(x,y,z)=(x^y^z)
    412  1.1  christos 	add	w4, w4, w10               // Add constant 0xa4beea44
    413  1.1  christos 	add	w4, w4, w6                // Add aux function result
    414  1.1  christos 	ror	w4, w4, #28               // Rotate left s=4 bits
    415  1.1  christos 	eor	x6, x9, x8                // Begin aux function round 3 H(x,y,z)=(x^y^z)
    416  1.1  christos 	movz	x10, #0xcfa9             // .Load lower half of constant 0x4bdecfa9
    417  1.1  christos 	add	w4, w9, w4                // Add X parameter round 3 A=HH(A, B, C, D, 0xa4beea44, s=4, M[1])
    418  1.1  christos 	movk	x10, #0x4bde, lsl #16    // .Load upper half of constant 0x4bdecfa9
    419  1.1  christos 	add	w17, w17, w14             // Add dest value
    420  1.1  christos 	eor	x6, x6, x4                // End aux function round 3 H(x,y,z)=(x^y^z)
    421  1.1  christos 	add	w17, w17, w10             // Add constant 0x4bdecfa9
    422  1.1  christos 	add	w17, w17, w6              // Add aux function result
    423  1.1  christos 	eor	x6, x4, x9                // Begin aux function round 3 H(x,y,z)=(x^y^z)
    424  1.1  christos 	ror	w17, w17, #21             // Rotate left s=11 bits
    425  1.1  christos 	movz	x13, #0x4b60             // .Load lower half of constant 0xf6bb4b60
    426  1.1  christos 	add	w17, w4, w17              // Add X parameter round 3 D=HH(D, A, B, C, 0x4bdecfa9, s=11, M[4])
    427  1.1  christos 	movk	x13, #0xf6bb, lsl #16    // .Load upper half of constant 0xf6bb4b60
    428  1.1  christos 	add	w8, w8, w23               // Add dest value
    429  1.1  christos 	eor	x6, x6, x17               // End aux function round 3 H(x,y,z)=(x^y^z)
    430  1.1  christos 	add	w8, w8, w13               // Add constant 0xf6bb4b60
    431  1.1  christos 	add	w8, w8, w6                // Add aux function result
    432  1.1  christos 	ror	w8, w8, #16               // Rotate left s=16 bits
    433  1.1  christos 	eor	x6, x17, x4               // Begin aux function round 3 H(x,y,z)=(x^y^z)
    434  1.1  christos 	movz	x13, #0xbc70             // .Load lower half of constant 0xbebfbc70
    435  1.1  christos 	add	w8, w17, w8               // Add X parameter round 3 C=HH(C, D, A, B, 0xf6bb4b60, s=16, M[7])
    436  1.1  christos 	movk	x13, #0xbebf, lsl #16    // .Load upper half of constant 0xbebfbc70
    437  1.1  christos 	add	w9, w9, w16               // Add dest value
    438  1.1  christos 	eor	x6, x6, x8                // End aux function round 3 H(x,y,z)=(x^y^z)
    439  1.1  christos 	add	w9, w9, w13               // Add constant 0xbebfbc70
    440  1.1  christos 	add	w9, w9, w6                // Add aux function result
    441  1.1  christos 	eor	x6, x8, x17               // Begin aux function round 3 H(x,y,z)=(x^y^z)
    442  1.1  christos 	ror	w9, w9, #9                // Rotate left s=23 bits
    443  1.1  christos 	movz	x10, #0x7ec6             // .Load lower half of constant 0x289b7ec6
    444  1.1  christos 	add	w9, w8, w9                // Add X parameter round 3 B=HH(B, C, D, A, 0xbebfbc70, s=23, M[10])
    445  1.1  christos 	movk	x10, #0x289b, lsl #16    // .Load upper half of constant 0x289b7ec6
    446  1.1  christos 	add	w4, w4, w26               // Add dest value
    447  1.1  christos 	eor	x6, x6, x9                // End aux function round 3 H(x,y,z)=(x^y^z)
    448  1.1  christos 	add	w4, w4, w10               // Add constant 0x289b7ec6
    449  1.1  christos 	add	w4, w4, w6                // Add aux function result
    450  1.1  christos 	ror	w4, w4, #28               // Rotate left s=4 bits
    451  1.1  christos 	eor	x6, x9, x8                // Begin aux function round 3 H(x,y,z)=(x^y^z)
    452  1.1  christos 	movz	x10, #0x27fa             // .Load lower half of constant 0xeaa127fa
    453  1.1  christos 	add	w4, w9, w4                // Add X parameter round 3 A=HH(A, B, C, D, 0x289b7ec6, s=4, M[13])
    454  1.1  christos 	movk	x10, #0xeaa1, lsl #16    // .Load upper half of constant 0xeaa127fa
    455  1.1  christos 	add	w17, w17, w15             // Add dest value
    456  1.1  christos 	eor	x6, x6, x4                // End aux function round 3 H(x,y,z)=(x^y^z)
    457  1.1  christos 	add	w17, w17, w10             // Add constant 0xeaa127fa
    458  1.1  christos 	add	w17, w17, w6              // Add aux function result
    459  1.1  christos 	eor	x6, x4, x9                // Begin aux function round 3 H(x,y,z)=(x^y^z)
    460  1.1  christos 	ror	w17, w17, #21             // Rotate left s=11 bits
    461  1.1  christos 	movz	x13, #0x3085             // .Load lower half of constant 0xd4ef3085
    462  1.1  christos 	add	w17, w4, w17              // Add X parameter round 3 D=HH(D, A, B, C, 0xeaa127fa, s=11, M[0])
    463  1.1  christos 	movk	x13, #0xd4ef, lsl #16    // .Load upper half of constant 0xd4ef3085
    464  1.1  christos 	add	w8, w8, w21               // Add dest value
    465  1.1  christos 	eor	x6, x6, x17               // End aux function round 3 H(x,y,z)=(x^y^z)
    466  1.1  christos 	add	w8, w8, w13               // Add constant 0xd4ef3085
    467  1.1  christos 	add	w8, w8, w6                // Add aux function result
    468  1.1  christos 	ror	w8, w8, #16               // Rotate left s=16 bits
    469  1.1  christos 	eor	x6, x17, x4               // Begin aux function round 3 H(x,y,z)=(x^y^z)
    470  1.1  christos 	movz	x13, #0x1d05             // .Load lower half of constant 0x4881d05
    471  1.1  christos 	add	w8, w17, w8               // Add X parameter round 3 C=HH(C, D, A, B, 0xd4ef3085, s=16, M[3])
    472  1.1  christos 	movk	x13, #0x488, lsl #16     // .Load upper half of constant 0x4881d05
    473  1.1  christos 	add	w9, w9, w7                // Add dest value
    474  1.1  christos 	eor	x6, x6, x8                // End aux function round 3 H(x,y,z)=(x^y^z)
    475  1.1  christos 	add	w9, w9, w13               // Add constant 0x4881d05
    476  1.1  christos 	add	w9, w9, w6                // Add aux function result
    477  1.1  christos 	eor	x6, x8, x17               // Begin aux function round 3 H(x,y,z)=(x^y^z)
    478  1.1  christos 	ror	w9, w9, #9                // Rotate left s=23 bits
    479  1.1  christos 	movz	x10, #0xd039             // .Load lower half of constant 0xd9d4d039
    480  1.1  christos 	add	w9, w8, w9                // Add X parameter round 3 B=HH(B, C, D, A, 0x4881d05, s=23, M[6])
    481  1.1  christos 	movk	x10, #0xd9d4, lsl #16    // .Load upper half of constant 0xd9d4d039
    482  1.1  christos 	add	w4, w4, w24               // Add dest value
    483  1.1  christos 	eor	x6, x6, x9                // End aux function round 3 H(x,y,z)=(x^y^z)
    484  1.1  christos 	add	w4, w4, w10               // Add constant 0xd9d4d039
    485  1.1  christos 	add	w4, w4, w6                // Add aux function result
    486  1.1  christos 	ror	w4, w4, #28               // Rotate left s=4 bits
    487  1.1  christos 	eor	x6, x9, x8                // Begin aux function round 3 H(x,y,z)=(x^y^z)
    488  1.1  christos 	movz	x10, #0x99e5             // .Load lower half of constant 0xe6db99e5
    489  1.1  christos 	add	w4, w9, w4                // Add X parameter round 3 A=HH(A, B, C, D, 0xd9d4d039, s=4, M[9])
    490  1.1  christos 	movk	x10, #0xe6db, lsl #16    // .Load upper half of constant 0xe6db99e5
    491  1.1  christos 	add	w17, w17, w11             // Add dest value
    492  1.1  christos 	eor	x6, x6, x4                // End aux function round 3 H(x,y,z)=(x^y^z)
    493  1.1  christos 	add	w17, w17, w10             // Add constant 0xe6db99e5
    494  1.1  christos 	add	w17, w17, w6              // Add aux function result
    495  1.1  christos 	eor	x6, x4, x9                // Begin aux function round 3 H(x,y,z)=(x^y^z)
    496  1.1  christos 	ror	w17, w17, #21             // Rotate left s=11 bits
    497  1.1  christos 	movz	x13, #0x7cf8             // .Load lower half of constant 0x1fa27cf8
    498  1.1  christos 	add	w17, w4, w17              // Add X parameter round 3 D=HH(D, A, B, C, 0xe6db99e5, s=11, M[12])
    499  1.1  christos 	movk	x13, #0x1fa2, lsl #16    // .Load upper half of constant 0x1fa27cf8
    500  1.1  christos 	add	w8, w8, w27               // Add dest value
    501  1.1  christos 	eor	x6, x6, x17               // End aux function round 3 H(x,y,z)=(x^y^z)
    502  1.1  christos 	add	w8, w8, w13               // Add constant 0x1fa27cf8
    503  1.1  christos 	add	w8, w8, w6                // Add aux function result
    504  1.1  christos 	ror	w8, w8, #16               // Rotate left s=16 bits
    505  1.1  christos 	eor	x6, x17, x4               // Begin aux function round 3 H(x,y,z)=(x^y^z)
    506  1.1  christos 	movz	x13, #0x5665             // .Load lower half of constant 0xc4ac5665
    507  1.1  christos 	add	w8, w17, w8               // Add X parameter round 3 C=HH(C, D, A, B, 0x1fa27cf8, s=16, M[15])
    508  1.1  christos 	movk	x13, #0xc4ac, lsl #16    // .Load upper half of constant 0xc4ac5665
    509  1.1  christos 	add	w9, w9, w3                // Add dest value
    510  1.1  christos 	eor	x6, x6, x8                // End aux function round 3 H(x,y,z)=(x^y^z)
    511  1.1  christos 	add	w9, w9, w13               // Add constant 0xc4ac5665
    512  1.1  christos 	add	w9, w9, w6                // Add aux function result
    513  1.1  christos 	ror	w9, w9, #9                // Rotate left s=23 bits
    514  1.1  christos 	movz	x6, #0x2244              // .Load lower half of constant 0xf4292244
    515  1.1  christos 	movk	x6, #0xf429, lsl #16     // .Load upper half of constant 0xf4292244
    516  1.1  christos 	add	w9, w8, w9                // Add X parameter round 3 B=HH(B, C, D, A, 0xc4ac5665, s=23, M[2])
    517  1.1  christos 	add	w4, w4, w15               // Add dest value
    518  1.1  christos 	orn	x13, x9, x17              // Begin aux function round 4 I(x,y,z)=((~z|x)^y)
    519  1.1  christos 	add	w4, w4, w6                // Add constant 0xf4292244
    520  1.1  christos 	eor	x6, x8, x13               // End aux function round 4 I(x,y,z)=((~z|x)^y)
    521  1.1  christos 	add	w4, w4, w6                // Add aux function result
    522  1.1  christos 	ror	w4, w4, #26               // Rotate left s=6 bits
    523  1.1  christos 	movz	x6, #0xff97              // .Load lower half of constant 0x432aff97
    524  1.1  christos 	movk	x6, #0x432a, lsl #16     // .Load upper half of constant 0x432aff97
    525  1.1  christos 	add	w4, w9, w4                // Add X parameter round 4 A=II(A, B, C, D, 0xf4292244, s=6, M[0])
    526  1.1  christos 	orn	x10, x4, x8               // Begin aux function round 4 I(x,y,z)=((~z|x)^y)
    527  1.1  christos 	add	w17, w17, w23             // Add dest value
    528  1.1  christos 	eor	x10, x9, x10              // End aux function round 4 I(x,y,z)=((~z|x)^y)
    529  1.1  christos 	add	w17, w17, w6              // Add constant 0x432aff97
    530  1.1  christos 	add	w6, w17, w10              // Add aux function result
    531  1.1  christos 	ror	w6, w6, #22               // Rotate left s=10 bits
    532  1.1  christos 	movz	x17, #0x23a7             // .Load lower half of constant 0xab9423a7
    533  1.1  christos 	movk	x17, #0xab94, lsl #16    // .Load upper half of constant 0xab9423a7
    534  1.1  christos 	add	w6, w4, w6                // Add X parameter round 4 D=II(D, A, B, C, 0x432aff97, s=10, M[7])
    535  1.1  christos 	add	w8, w8, w12               // Add dest value
    536  1.1  christos 	orn	x10, x6, x9               // Begin aux function round 4 I(x,y,z)=((~z|x)^y)
    537  1.1  christos 	add	w8, w8, w17               // Add constant 0xab9423a7
    538  1.1  christos 	eor	x17, x4, x10              // End aux function round 4 I(x,y,z)=((~z|x)^y)
    539  1.1  christos 	add	w8, w8, w17               // Add aux function result
    540  1.1  christos 	ror	w8, w8, #17               // Rotate left s=15 bits
    541  1.1  christos 	movz	x17, #0xa039             // .Load lower half of constant 0xfc93a039
    542  1.1  christos 	movk	x17, #0xfc93, lsl #16    // .Load upper half of constant 0xfc93a039
    543  1.1  christos 	add	w8, w6, w8                // Add X parameter round 4 C=II(C, D, A, B, 0xab9423a7, s=15, M[14])
    544  1.1  christos 	orn	x13, x8, x4               // Begin aux function round 4 I(x,y,z)=((~z|x)^y)
    545  1.1  christos 	add	w9, w9, w22               // Add dest value
    546  1.1  christos 	eor	x13, x6, x13              // End aux function round 4 I(x,y,z)=((~z|x)^y)
    547  1.1  christos 	add	w9, w9, w17               // Add constant 0xfc93a039
    548  1.1  christos 	add	w17, w9, w13              // Add aux function result
    549  1.1  christos 	ror	w17, w17, #11             // Rotate left s=21 bits
    550  1.1  christos 	movz	x9, #0x59c3              // .Load lower half of constant 0x655b59c3
    551  1.1  christos 	movk	x9, #0x655b, lsl #16     // .Load upper half of constant 0x655b59c3
    552  1.1  christos 	add	w17, w8, w17              // Add X parameter round 4 B=II(B, C, D, A, 0xfc93a039, s=21, M[5])
    553  1.1  christos 	add	w4, w4, w11               // Add dest value
    554  1.1  christos 	orn	x13, x17, x6              // Begin aux function round 4 I(x,y,z)=((~z|x)^y)
    555  1.1  christos 	add	w9, w4, w9                // Add constant 0x655b59c3
    556  1.1  christos 	eor	x4, x8, x13               // End aux function round 4 I(x,y,z)=((~z|x)^y)
    557  1.1  christos 	add	w9, w9, w4                // Add aux function result
    558  1.1  christos 	ror	w9, w9, #26               // Rotate left s=6 bits
    559  1.1  christos 	movz	x4, #0xcc92              // .Load lower half of constant 0x8f0ccc92
    560  1.1  christos 	movk	x4, #0x8f0c, lsl #16     // .Load upper half of constant 0x8f0ccc92
    561  1.1  christos 	add	w9, w17, w9               // Add X parameter round 4 A=II(A, B, C, D, 0x655b59c3, s=6, M[12])
    562  1.1  christos 	orn	x10, x9, x8               // Begin aux function round 4 I(x,y,z)=((~z|x)^y)
    563  1.1  christos 	add	w6, w6, w21               // Add dest value
    564  1.1  christos 	eor	x10, x17, x10             // End aux function round 4 I(x,y,z)=((~z|x)^y)
    565  1.1  christos 	add	w4, w6, w4                // Add constant 0x8f0ccc92
    566  1.1  christos 	add	w6, w4, w10               // Add aux function result
    567  1.1  christos 	ror	w6, w6, #22               // Rotate left s=10 bits
    568  1.1  christos 	movz	x4, #0xf47d              // .Load lower half of constant 0xffeff47d
    569  1.1  christos 	movk	x4, #0xffef, lsl #16     // .Load upper half of constant 0xffeff47d
    570  1.1  christos 	add	w6, w9, w6                // Add X parameter round 4 D=II(D, A, B, C, 0x8f0ccc92, s=10, M[3])
    571  1.1  christos 	add	w8, w8, w16               // Add dest value
    572  1.1  christos 	orn	x10, x6, x17              // Begin aux function round 4 I(x,y,z)=((~z|x)^y)
    573  1.1  christos 	add	w8, w8, w4                // Add constant 0xffeff47d
    574  1.1  christos 	eor	x4, x9, x10               // End aux function round 4 I(x,y,z)=((~z|x)^y)
    575  1.1  christos 	add	w8, w8, w4                // Add aux function result
    576  1.1  christos 	ror	w8, w8, #17               // Rotate left s=15 bits
    577  1.1  christos 	movz	x4, #0x5dd1              // .Load lower half of constant 0x85845dd1
    578  1.1  christos 	movk	x4, #0x8584, lsl #16     // .Load upper half of constant 0x85845dd1
    579  1.1  christos 	add	w8, w6, w8                // Add X parameter round 4 C=II(C, D, A, B, 0xffeff47d, s=15, M[10])
    580  1.1  christos 	orn	x10, x8, x9               // Begin aux function round 4 I(x,y,z)=((~z|x)^y)
    581  1.1  christos 	add	w15, w17, w20             // Add dest value
    582  1.1  christos 	eor	x17, x6, x10              // End aux function round 4 I(x,y,z)=((~z|x)^y)
    583  1.1  christos 	add	w15, w15, w4              // Add constant 0x85845dd1
    584  1.1  christos 	add	w4, w15, w17              // Add aux function result
    585  1.1  christos 	ror	w4, w4, #11               // Rotate left s=21 bits
    586  1.1  christos 	movz	x15, #0x7e4f             // .Load lower half of constant 0x6fa87e4f
    587  1.1  christos 	movk	x15, #0x6fa8, lsl #16    // .Load upper half of constant 0x6fa87e4f
    588  1.1  christos 	add	w17, w8, w4               // Add X parameter round 4 B=II(B, C, D, A, 0x85845dd1, s=21, M[1])
    589  1.1  christos 	add	w4, w9, w5                // Add dest value
    590  1.1  christos 	orn	x9, x17, x6               // Begin aux function round 4 I(x,y,z)=((~z|x)^y)
    591  1.1  christos 	add	w15, w4, w15              // Add constant 0x6fa87e4f
    592  1.1  christos 	eor	x4, x8, x9                // End aux function round 4 I(x,y,z)=((~z|x)^y)
    593  1.1  christos 	add	w9, w15, w4               // Add aux function result
    594  1.1  christos 	ror	w9, w9, #26               // Rotate left s=6 bits
    595  1.1  christos 	movz	x15, #0xe6e0             // .Load lower half of constant 0xfe2ce6e0
    596  1.1  christos 	movk	x15, #0xfe2c, lsl #16    // .Load upper half of constant 0xfe2ce6e0
    597  1.1  christos 	add	w4, w17, w9               // Add X parameter round 4 A=II(A, B, C, D, 0x6fa87e4f, s=6, M[8])
    598  1.1  christos 	orn	x9, x4, x8                // Begin aux function round 4 I(x,y,z)=((~z|x)^y)
    599  1.1  christos 	add	w6, w6, w27               // Add dest value
    600  1.1  christos 	eor	x9, x17, x9               // End aux function round 4 I(x,y,z)=((~z|x)^y)
    601  1.1  christos 	add	w15, w6, w15              // Add constant 0xfe2ce6e0
    602  1.1  christos 	add	w6, w15, w9               // Add aux function result
    603  1.1  christos 	ror	w6, w6, #22               // Rotate left s=10 bits
    604  1.1  christos 	movz	x9, #0x4314              // .Load lower half of constant 0xa3014314
    605  1.1  christos 	movk	x9, #0xa301, lsl #16     // .Load upper half of constant 0xa3014314
    606  1.1  christos 	add	w15, w4, w6               // Add X parameter round 4 D=II(D, A, B, C, 0xfe2ce6e0, s=10, M[15])
    607  1.1  christos 	add	w6, w8, w7                // Add dest value
    608  1.1  christos 	orn	x7, x15, x17              // Begin aux function round 4 I(x,y,z)=((~z|x)^y)
    609  1.1  christos 	add	w8, w6, w9                // Add constant 0xa3014314
    610  1.1  christos 	eor	x9, x4, x7                // End aux function round 4 I(x,y,z)=((~z|x)^y)
    611  1.1  christos 	add	w6, w8, w9                // Add aux function result
    612  1.1  christos 	ror	w6, w6, #17               // Rotate left s=15 bits
    613  1.1  christos 	movz	x7, #0x11a1              // .Load lower half of constant 0x4e0811a1
    614  1.1  christos 	movk	x7, #0x4e08, lsl #16     // .Load upper half of constant 0x4e0811a1
    615  1.1  christos 	add	w8, w15, w6               // Add X parameter round 4 C=II(C, D, A, B, 0xa3014314, s=15, M[6])
    616  1.1  christos 	orn	x9, x8, x4                // Begin aux function round 4 I(x,y,z)=((~z|x)^y)
    617  1.1  christos 	add	w6, w17, w26              // Add dest value
    618  1.1  christos 	eor	x17, x15, x9              // End aux function round 4 I(x,y,z)=((~z|x)^y)
    619  1.1  christos 	add	w9, w6, w7                // Add constant 0x4e0811a1
    620  1.1  christos 	add	w7, w9, w17               // Add aux function result
    621  1.1  christos 	ror	w7, w7, #11               // Rotate left s=21 bits
    622  1.1  christos 	movz	x6, #0x7e82              // .Load lower half of constant 0xf7537e82
    623  1.1  christos 	movk	x6, #0xf753, lsl #16     // .Load upper half of constant 0xf7537e82
    624  1.1  christos 	add	w9, w8, w7                // Add X parameter round 4 B=II(B, C, D, A, 0x4e0811a1, s=21, M[13])
    625  1.1  christos 	add	w17, w4, w14              // Add dest value
    626  1.1  christos 	orn	x7, x9, x15               // Begin aux function round 4 I(x,y,z)=((~z|x)^y)
    627  1.1  christos 	add	w14, w17, w6              // Add constant 0xf7537e82
    628  1.1  christos 	eor	x4, x8, x7                // End aux function round 4 I(x,y,z)=((~z|x)^y)
    629  1.1  christos 	add	w17, w14, w4              // Add aux function result
    630  1.1  christos 	ror	w17, w17, #26             // Rotate left s=6 bits
    631  1.1  christos 	movz	x6, #0xf235              // .Load lower half of constant 0xbd3af235
    632  1.1  christos 	movk	x6, #0xbd3a, lsl #16     // .Load upper half of constant 0xbd3af235
    633  1.1  christos 	add	w7, w9, w17               // Add X parameter round 4 A=II(A, B, C, D, 0xf7537e82, s=6, M[4])
    634  1.1  christos 	orn	x14, x7, x8               // Begin aux function round 4 I(x,y,z)=((~z|x)^y)
    635  1.1  christos 	add	w4, w15, w25              // Add dest value
    636  1.1  christos 	eor	x17, x9, x14              // End aux function round 4 I(x,y,z)=((~z|x)^y)
    637  1.1  christos 	add	w15, w4, w6               // Add constant 0xbd3af235
    638  1.1  christos 	add	w16, w15, w17             // Add aux function result
    639  1.1  christos 	ror	w16, w16, #22             // Rotate left s=10 bits
    640  1.1  christos 	movz	x14, #0xd2bb             // .Load lower half of constant 0x2ad7d2bb
    641  1.1  christos 	movk	x14, #0x2ad7, lsl #16    // .Load upper half of constant 0x2ad7d2bb
    642  1.1  christos 	add	w4, w7, w16               // Add X parameter round 4 D=II(D, A, B, C, 0xbd3af235, s=10, M[11])
    643  1.1  christos 	add	w6, w8, w3                // Add dest value
    644  1.1  christos 	orn	x15, x4, x9               // Begin aux function round 4 I(x,y,z)=((~z|x)^y)
    645  1.1  christos 	add	w17, w6, w14              // Add constant 0x2ad7d2bb
    646  1.1  christos 	eor	x16, x7, x15              // End aux function round 4 I(x,y,z)=((~z|x)^y)
    647  1.1  christos 	add	w8, w17, w16              // Add aux function result
    648  1.1  christos 	ror	w8, w8, #17               // Rotate left s=15 bits
    649  1.1  christos 	movz	x3, #0xd391              // .Load lower half of constant 0xeb86d391
    650  1.1  christos 	movk	x3, #0xeb86, lsl #16     // .Load upper half of constant 0xeb86d391
    651  1.1  christos 	add	w14, w4, w8               // Add X parameter round 4 C=II(C, D, A, B, 0x2ad7d2bb, s=15, M[2])
    652  1.1  christos 	orn	x6, x14, x7               // Begin aux function round 4 I(x,y,z)=((~z|x)^y)
    653  1.1  christos 	add	w15, w9, w24              // Add dest value
    654  1.1  christos 	eor	x17, x4, x6               // End aux function round 4 I(x,y,z)=((~z|x)^y)
    655  1.1  christos 	add	w16, w15, w3              // Add constant 0xeb86d391
    656  1.1  christos 	add	w8, w16, w17              // Add aux function result
    657  1.1  christos 	ror	w8, w8, #11               // Rotate left s=21 bits
    658  1.1  christos 	ldp	w6, w15, [x0]             // Reload MD5 state->A and state->B
    659  1.1  christos 	ldp	w5, w9, [x0, #8]          // Reload MD5 state->C and state->D
    660  1.1  christos 	add	w3, w14, w8               // Add X parameter round 4 B=II(B, C, D, A, 0xeb86d391, s=21, M[9])
    661  1.1  christos 	add	w13, w4, w9               // Add result of MD5 rounds to state->D
    662  1.1  christos 	add	w12, w14, w5              // Add result of MD5 rounds to state->C
    663  1.1  christos 	add	w10, w7, w6               // Add result of MD5 rounds to state->A
    664  1.1  christos 	add	w11, w3, w15              // Add result of MD5 rounds to state->B
    665  1.1  christos 	stp	w12, w13, [x0, #8]        // Store MD5 states C,D
    666  1.1  christos 	stp	w10, w11, [x0]            // Store MD5 states A,B
    667  1.1  christos 	add	x1, x1, #64               // Increment data pointer
    668  1.1  christos 	subs	w2, w2, #1               // Decrement block counter
    669  1.1  christos 	b.ne	ossl_md5_blocks_loop
    670  1.1  christos 
    671  1.1  christos 	ldp	x21,x22,[sp,#16]
    672  1.1  christos 	ldp	x23,x24,[sp,#32]
    673  1.1  christos 	ldp	x25,x26,[sp,#48]
    674  1.1  christos 	ldp	x27,x28,[sp,#64]
    675  1.1  christos 	ldp	x19,x20,[sp],#80
    676  1.1  christos 	ret
    677  1.1  christos 
    678