	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function sha_transform
LCPI0_0:
	.byte	3                               ## 0x3
	.byte	2                               ## 0x2
	.byte	1                               ## 0x1
	.byte	0                               ## 0x0
	.byte	7                               ## 0x7
	.byte	6                               ## 0x6
	.byte	5                               ## 0x5
	.byte	4                               ## 0x4
	.byte	11                              ## 0xb
	.byte	10                              ## 0xa
	.byte	9                               ## 0x9
	.byte	8                               ## 0x8
	.byte	15                              ## 0xf
	.byte	14                              ## 0xe
	.byte	13                              ## 0xd
	.byte	12                              ## 0xc
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_sha_transform:                         ## @sha_transform
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rdi, %r14
	leaq	64(%rsi), %rax
	cmpq	%rdx, %rax
	jbe	LBB0_15
## %bb.1:
	leaq	64(%r15), %rax
	cmpq	%rsi, %rax
	jbe	LBB0_15
## %bb.2:
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rsi,%rax,4), %ecx
	bswapl	%ecx
	movl	%ecx, (%r15,%rax,4)
	incq	%rax
	cmpq	$16, %rax
	jne	LBB0_3
	jmp	LBB0_4
LBB0_15:
	movdqu	(%rsi), %xmm0
	movdqa	LCPI0_0(%rip), %xmm1            ## xmm1 = [3,2,1,0,7,6,5,4,11,10,9,8,15,14,13,12]
	pshufb	%xmm1, %xmm0
	movdqu	%xmm0, (%r15)
	movdqu	16(%rsi), %xmm0
	pshufb	%xmm1, %xmm0
	movdqu	%xmm0, 16(%r15)
	movdqu	32(%rsi), %xmm0
	pshufb	%xmm1, %xmm0
	movdqu	%xmm0, 32(%r15)
	movdqu	48(%rsi), %xmm0
	pshufb	%xmm1, %xmm0
	movdqu	%xmm0, 48(%r15)
LBB0_4:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	32(%r15,%rbx,4), %edi
	xorl	52(%r15,%rbx,4), %edi
	xorl	8(%r15,%rbx,4), %edi
	xorl	(%r15,%rbx,4), %edi
	movl	$1, %esi
	callq	_rol32
	movl	%eax, 64(%r15,%rbx,4)
	incq	%rbx
	cmpq	$64, %rbx
	jne	LBB0_5
## %bb.6:
	movl	(%r14), %ebx
	movl	4(%r14), %edx
	movl	8(%r14), %eax
	movl	12(%r14), %ecx
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	movl	16(%r14), %esi
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	%esi, -52(%rbp)                 ## 4-byte Spill
	movl	%edx, %edi
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	movl	%eax, %r14d
	movl	%ecx, %r12d
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movl	%eax, %esi
	movl	%ecx, %edx
	callq	_f1
	movl	%eax, %r13d
	addl	-52(%rbp), %r13d                ## 4-byte Folded Reload
	movq	_K1@GOTPCREL(%rip), %rax
	addl	(%rax), %r13d
	movl	%ebx, %edi
	movl	$5, %esi
	callq	_rol32
	movl	%eax, %ebx
	addl	%r13d, %ebx
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	addl	(%rax,%r15,4), %ebx
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	movl	$30, %esi
	callq	_rol32
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	incq	%r15
	movl	%r12d, %esi
	movl	%r14d, %ecx
	cmpq	$20, %r15
	jne	LBB0_7
## %bb.8:
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movl	%edx, %edi
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movl	%eax, %r13d
	movl	%r14d, -48(%rbp)                ## 4-byte Spill
	movl	%eax, %esi
	movl	%r14d, %edx
	callq	_f2
	movl	%eax, %r14d
	addl	%r12d, %r14d
	movq	_K2@GOTPCREL(%rip), %rax
	addl	(%rax), %r14d
	movl	%ebx, %r12d
	movl	%ebx, %edi
	movl	$5, %esi
	callq	_rol32
	movl	%eax, %ebx
	addl	%r14d, %ebx
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	addl	80(%rax,%r15,4), %ebx
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	$30, %esi
	callq	_rol32
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movl	%r12d, %edx
	incq	%r15
	movl	%ecx, %r12d
	movl	%r13d, %r14d
	cmpq	$20, %r15
	jne	LBB0_9
## %bb.10:
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movl	%edx, %edi
	movl	%edx, -52(%rbp)                 ## 4-byte Spill
	movl	%eax, %r12d
	movl	%r13d, %r14d
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movl	%eax, %esi
	movl	%r13d, %edx
	callq	_f3
	movl	%eax, %r13d
	addl	-48(%rbp), %r13d                ## 4-byte Folded Reload
	movq	_K3@GOTPCREL(%rip), %rax
	addl	(%rax), %r13d
	movl	%ebx, %edi
	movl	$5, %esi
	callq	_rol32
	movl	%eax, %ebx
	addl	%r13d, %ebx
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	addl	160(%rax,%r15,4), %ebx
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movl	$30, %esi
	callq	_rol32
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	incq	%r15
	movl	%r14d, %ecx
	movl	%r12d, %r13d
	cmpq	$20, %r15
	jne	LBB0_11
## %bb.12:
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movl	%edx, %edi
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movl	%eax, %r13d
	movl	%r12d, -48(%rbp)                ## 4-byte Spill
	movl	%eax, %esi
	movl	%r12d, %edx
	callq	_f2
	movl	%eax, %r12d
	addl	%r14d, %r12d
	movq	_K4@GOTPCREL(%rip), %rax
	addl	(%rax), %r12d
	movl	%ebx, %r14d
	movl	%ebx, %edi
	movl	$5, %esi
	callq	_rol32
	movl	%eax, %ebx
	addl	%r12d, %ebx
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	addl	240(%rax,%r15,4), %ebx
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	$30, %esi
	callq	_rol32
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movl	%r14d, %edx
	incq	%r15
	movl	%ecx, %r14d
	movl	%r13d, %r12d
	cmpq	$20, %r15
	jne	LBB0_13
## %bb.14:
	movd	%ebx, %xmm0
	pinsrd	$1, %edx, %xmm0
	pinsrd	$2, %eax, %xmm0
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movdqu	(%rax), %xmm1
	pinsrd	$3, %r13d, %xmm0
	paddd	%xmm1, %xmm0
	movdqu	%xmm0, (%rax)
	addl	%ecx, 16(%rax)
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_K1,4,2                         ## @K1
	.comm	_K2,4,2                         ## @K2
	.comm	_K3,4,2                         ## @K3
	.comm	_K4,4,2                         ## @K4
	.no_dead_strip	_sha_transform
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sha_transform
_sha_transform:                         ; @sha_transform
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x28, x2
	mov	x22, x0
	add	x8, x2, #64
	add	x9, x1, #64
	cmp	x9, x2
	ccmp	x8, x1, #0, hi
	b.hi	LBB0_2
; %bb.1:
	ld4.16b	{ v0, v1, v2, v3 }, [x1]
	ushll.8h	v4, v0, #0
	ushll.4s	v5, v4, #0
	ushll2.4s	v4, v4, #0
	ushll2.8h	v6, v0, #0
	ushll.4s	v7, v6, #0
	ushll2.4s	v6, v6, #0
	shl.4s	v6, v6, #24
	shl.4s	v7, v7, #24
	shl.4s	v4, v4, #24
	shl.4s	v5, v5, #24
	ushll.8h	v16, v1, #0
	ushll2.8h	v17, v1, #0
	shll2.4s	v18, v17, #16
	shll.4s	v17, v17, #16
	shll2.4s	v19, v16, #16
	shll.4s	v16, v16, #16
	orr.16b	v5, v16, v5
	orr.16b	v4, v19, v4
	orr.16b	v7, v17, v7
	orr.16b	v6, v18, v6
	ushll2.8h	v16, v2, #0
	ushll.8h	v17, v2, #0
	ushll.4s	v18, v17, #8
	ushll2.4s	v17, v17, #8
	ushll.4s	v19, v16, #8
	ushll2.4s	v16, v16, #8
	orr.16b	v6, v6, v16
	orr.16b	v7, v7, v19
	orr.16b	v4, v4, v17
	orr.16b	v5, v5, v18
	ushll2.8h	v16, v3, #0
	ushll2.4s	v17, v16, #0
	ushll.4s	v16, v16, #0
	ushll.8h	v0, v3, #0
	ushll2.4s	v1, v0, #0
	ushll.4s	v0, v0, #0
	orr.16b	v0, v5, v0
	orr.16b	v2, v7, v16
	orr.16b	v3, v6, v17
	stp	q2, q3, [x28, #32]
	orr.16b	v1, v4, v1
	stp	q0, q1, [x28]
	b	LBB0_4
LBB0_2:
	mov	x8, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x1, x8]
	rev	w9, w9
	str	w9, [x28, x8]
	add	x8, x8, #4
	cmp	x8, #64
	b.ne	LBB0_3
LBB0_4:
	mov	x19, #0
	add	x20, x28, #32
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	add	x21, x20, x19
	ldr	w8, [x21, #20]
	ldr	w9, [x21]
	eor	w8, w9, w8
	ldur	w9, [x21, #-24]
	eor	w8, w8, w9
	ldur	w9, [x21, #-32]
	eor	w0, w8, w9
	mov	w1, #1
	bl	_rol32
	str	w0, [x21, #32]
	add	x19, x19, #4
	cmp	x19, #256
	b.ne	LBB0_5
; %bb.6:
	mov	x26, #0
	ldp	w27, w21, [x22]
	ldp	w0, w8, [x22, #8]
	str	x22, [sp]                       ; 8-byte Folded Spill
	ldr	w20, [x22, #16]
Lloh0:
	adrp	x19, _K1@GOTPAGE
Lloh1:
	ldr	x19, [x19, _K1@GOTPAGEOFF]
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	mov	x23, x21
	mov	x24, x0
	mov	x22, x8
	mov	x21, x27
	mov	x0, x23
	mov	x1, x24
	mov	x2, x8
	bl	_f1
	mov	x25, x0
	ldr	w27, [x19]
	mov	x0, x21
	mov	w1, #5
	bl	_rol32
	ldr	w8, [x28, x26]
	add	w9, w25, w20
	add	w9, w9, w27
	add	w9, w9, w0
	add	w27, w9, w8
	mov	x0, x23
	mov	w1, #30
	bl	_rol32
	add	x26, x26, #4
	mov	x20, x22
	mov	x8, x24
	cmp	x26, #80
	b.ne	LBB0_7
; %bb.8:
	mov	x8, x28
	mov	x28, #0
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
	add	x19, x8, #80
Lloh2:
	adrp	x20, _K2@GOTPAGE
Lloh3:
	ldr	x20, [x20, _K2@GOTPAGEOFF]
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	mov	x26, x21
	mov	x25, x0
	mov	x23, x24
	mov	x21, x27
	mov	x0, x26
	mov	x1, x25
	mov	x2, x24
	bl	_f2
	mov	x24, x0
	ldr	w27, [x20]
	mov	x0, x21
	mov	w1, #5
	bl	_rol32
	ldr	w8, [x19, x28]
	add	w9, w24, w22
	add	w9, w9, w27
	add	w9, w9, w0
	add	w27, w9, w8
	mov	x0, x26
	mov	w1, #30
	bl	_rol32
	add	x28, x28, #4
	mov	x22, x23
	mov	x24, x25
	cmp	x28, #80
	b.ne	LBB0_9
; %bb.10:
	mov	x28, #0
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	add	x19, x8, #160
Lloh4:
	adrp	x20, _K3@GOTPAGE
Lloh5:
	ldr	x20, [x20, _K3@GOTPAGEOFF]
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	mov	x26, x21
	mov	x24, x0
	mov	x22, x25
	mov	x21, x27
	mov	x0, x26
	mov	x1, x24
	mov	x2, x25
	bl	_f3
	mov	x25, x0
	ldr	w27, [x20]
	mov	x0, x21
	mov	w1, #5
	bl	_rol32
	ldr	w8, [x19, x28]
	add	w9, w25, w23
	add	w9, w9, w27
	add	w9, w9, w0
	add	w27, w9, w8
	mov	x0, x26
	mov	w1, #30
	bl	_rol32
	add	x28, x28, #4
	mov	x23, x22
	mov	x25, x24
	cmp	x28, #80
	b.ne	LBB0_11
; %bb.12:
	mov	x26, #0
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	add	x19, x8, #240
Lloh6:
	adrp	x28, _K4@GOTPAGE
Lloh7:
	ldr	x28, [x28, _K4@GOTPAGEOFF]
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	mov	x25, x21
	mov	x23, x0
	mov	x20, x24
	mov	x21, x27
	mov	x0, x25
	mov	x1, x23
	mov	x2, x24
	bl	_f2
	mov	x24, x0
	ldr	w27, [x28]
	mov	x0, x21
	mov	w1, #5
	bl	_rol32
	ldr	w8, [x19, x26]
	add	w9, w24, w22
	add	w9, w9, w27
	add	w9, w9, w0
	add	w27, w9, w8
	mov	x0, x25
	mov	w1, #30
	bl	_rol32
	add	x26, x26, #4
	mov	x22, x20
	mov	x24, x23
	cmp	x26, #80
	b.ne	LBB0_13
; %bb.14:
	ldr	x10, [sp]                       ; 8-byte Folded Reload
	ldp	w8, w9, [x10]
	add	w8, w8, w27
	add	w9, w9, w21
	stp	w8, w9, [x10]
	ldp	w8, w9, [x10, #8]
	add	w8, w8, w0
	add	w9, w9, w23
	stp	w8, w9, [x10, #8]
	ldr	w8, [x10, #16]
	add	w8, w8, w20
	str	w8, [x10, #16]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_K1,4,2                         ; @K1
	.comm	_K2,4,2                         ; @K2
	.comm	_K3,4,2                         ; @K3
	.comm	_K4,4,2                         ; @K4
	.no_dead_strip	_sha_transform
.subsections_via_symbols
