	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function SHA512_Transform
_SHA512_Transform:                      ## @SHA512_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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rbx
	movq	%rdi, -96(%rbp)                 ## 8-byte Spill
	movq	8(%rdi), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %r15d
	movl	4(%rbx), %ecx
	movl	8(%rbx), %eax
	movl	12(%rbx), %edx
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movl	16(%rbx), %edx
	movl	20(%rbx), %r9d
	movl	24(%rbx), %esi
	movl	28(%rbx), %r14d
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r15d, %r12d
	movl	%ecx, -60(%rbp)                 ## 4-byte Spill
	movl	%r14d, -56(%rbp)                ## 4-byte Spill
	movl	%esi, -48(%rbp)                 ## 4-byte Spill
	movl	%r9d, %r14d
	movl	%r9d, -52(%rbp)                 ## 4-byte Spill
	movl	%edx, %r15d
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, -68(%rbp)                 ## 4-byte Spill
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%edx, %edi
	movl	%edx, -64(%rbp)                 ## 4-byte Spill
	callq	_Sigma1_512
	movl	%eax, %ebx
	addl	-56(%rbp), %ebx                 ## 4-byte Folded Reload
	movl	%r15d, %edi
	movl	%r14d, %esi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	callq	_Ch
	movl	%eax, %r14d
	addl	%ebx, %r14d
	movq	_K512@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addl	(%rax,%r13,4), %r14d
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	addl	(%rax,%r13,4), %r14d
	movl	%r12d, %edi
	callq	_Sigma0_512
	movl	%eax, %r15d
	movl	%r12d, %edi
	movl	-60(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %esi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_Maj
	movl	-68(%rbp), %edx                 ## 4-byte Reload
	movl	-64(%rbp), %r9d                 ## 4-byte Reload
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	addl	%r14d, %edx
	addl	%r14d, %r15d
	movl	-48(%rbp), %r14d                ## 4-byte Reload
	addl	%eax, %r15d
	incq	%r13
	movl	%ebx, %eax
	movl	%r12d, %ecx
	cmpq	$16, %r13
	jne	LBB0_1
## %bb.2:
	movl	$30, %r13d
	movl	%r14d, %r8d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r15d, -56(%rbp)                ## 4-byte Spill
	movl	%r12d, -60(%rbp)                ## 4-byte Spill
	movl	%r8d, -72(%rbp)                 ## 4-byte Spill
	movl	%esi, -48(%rbp)                 ## 4-byte Spill
	movl	%r9d, -52(%rbp)                 ## 4-byte Spill
	movl	%edx, %r14d
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	leal	-14(%r13), %eax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	leal	-13(%r13), %eax
	andl	$15, %eax
	movq	-88(%rbp), %r15                 ## 8-byte Reload
	movl	(%r15,%rax,4), %edi
	callq	_sigma0_512
	movl	%eax, -76(%rbp)                 ## 4-byte Spill
	movl	%r13d, %eax
	andl	$15, %eax
	movl	(%r15,%rax,4), %edi
	callq	_sigma1_512
	movl	%eax, %ebx
	movl	%r14d, -64(%rbp)                ## 4-byte Spill
	movl	%r14d, %edi
	callq	_Sigma1_512
	movl	%eax, %r12d
	addl	-72(%rbp), %r12d                ## 4-byte Folded Reload
	movl	%r14d, %edi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	callq	_Ch
	addl	%r12d, %eax
	movq	_K512@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	addl	-56(%rcx,%r13,4), %eax
	leal	-5(%r13), %ecx
	andl	$15, %ecx
	movq	-104(%rbp), %rdx                ## 8-byte Reload
	andl	$15, %edx
	addl	-76(%rbp), %ebx                 ## 4-byte Folded Reload
	addl	(%r15,%rcx,4), %ebx
	addl	(%r15,%rdx,4), %ebx
	movl	%ebx, (%r15,%rdx,4)
	addl	%eax, %ebx
	movl	-56(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %edi
	callq	_Sigma0_512
	movl	%eax, %r12d
	movl	%r14d, %edi
	movl	%r14d, %r15d
	movl	-60(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %esi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_Maj
	movl	-48(%rbp), %r8d                 ## 4-byte Reload
	movl	%r15d, %ecx
	movl	-68(%rbp), %edx                 ## 4-byte Reload
	movl	-64(%rbp), %r9d                 ## 4-byte Reload
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	movl	%eax, %r15d
	addl	%r12d, %r15d
	addl	%ebx, %edx
	addl	%ebx, %r15d
	incq	%r13
	movl	%r14d, %ebx
	movl	%ecx, %r12d
	cmpq	$94, %r13
	jne	LBB0_3
## %bb.4:
	movd	%r15d, %xmm0
	pinsrd	$1, %ecx, %xmm0
	pinsrd	$2, %r14d, %xmm0
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	pinsrd	$3, -44(%rbp), %xmm0            ## 4-byte Folded Reload
	movdqu	(%rax), %xmm1
	paddd	%xmm0, %xmm1
	movdqu	16(%rax), %xmm0
	movdqu	%xmm1, (%rax)
	movd	%edx, %xmm1
	pinsrd	$1, %r9d, %xmm1
	pinsrd	$2, %esi, %xmm1
	pinsrd	$3, %r8d, %xmm1
	paddd	%xmm0, %xmm1
	movdqu	%xmm1, 16(%rax)
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_K512,8,3                       ## @K512
	.no_dead_strip	_SHA512_Transform
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function SHA512_Transform
_SHA512_Transform:                      ; @SHA512_Transform
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x22, #0
	ldp	x12, x28, [x0]
	str	x0, [sp]                        ; 8-byte Folded Spill
	ldp	w9, w11, [x12]
	ldp	w10, w23, [x12, #8]
	ldp	w8, w21, [x12, #16]
	ldp	w19, w20, [x12, #24]
	str	x28, [sp, #24]                  ; 8-byte Folded Spill
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x27, x9
	mov	x26, x11
	mov	x24, x20
	mov	x20, x19
	mov	x19, x21
	mov	x21, x8
	mov	x25, x23
	mov	x23, x10
	mov	x0, x8
	bl	_Sigma1_512
	add	w24, w0, w24
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	bl	_Ch
Lloh0:
	adrp	x8, _K512@GOTPAGE
Lloh1:
	ldr	x8, [x8, _K512@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w8, [x8, x22]
	add	w9, w24, w0
	add	w8, w9, w8
	ldr	w9, [x28, x22]
	add	w28, w8, w9
	mov	x0, x27
	bl	_Sigma0_512
	mov	x24, x0
	mov	x0, x27
	mov	x1, x26
	mov	x2, x23
	bl	_Maj
	add	w8, w28, w25
	add	w9, w28, w24
	ldr	x28, [sp, #24]                  ; 8-byte Folded Reload
	add	w9, w9, w0
	add	x22, x22, #4
	mov	x10, x26
	mov	x11, x27
	cmp	x22, #64
	b.ne	LBB0_1
; %bb.2:
	mov	x22, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x25, x9
	mov	x24, x27
	mov	x28, x20
	mov	x20, x19
	mov	x19, x21
	mov	x21, x8
	str	w23, [sp, #20]                  ; 4-byte Folded Spill
	mov	x23, x26
	add	w8, w22, #16
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
	add	w8, w22, #17
	and	x8, x8, #0xf
	ldr	x9, [sp, #24]                   ; 8-byte Folded Reload
	ldr	w0, [x9, x8, lsl #2]
	bl	_sigma0_512
	mov	x26, x0
	add	w8, w22, #30
	and	x8, x8, #0xf
	ldr	x9, [sp, #24]                   ; 8-byte Folded Reload
	ldr	w0, [x9, x8, lsl #2]
	bl	_sigma1_512
	mov	x27, x0
	mov	x0, x21
	bl	_Sigma1_512
	add	w28, w0, w28
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	bl	_Ch
Lloh3:
	adrp	x8, _K512@GOTPAGE
Lloh4:
	ldr	x8, [x8, _K512@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	add	x8, x8, x22, lsl #2
	ldr	w8, [x8, #64]
	add	w9, w28, w0
	ldr	x13, [sp, #24]                  ; 8-byte Folded Reload
	add	w8, w9, w8
	add	w9, w22, #25
	and	x9, x9, #0xf
	ldr	w9, [x13, x9, lsl #2]
	ldr	x10, [sp, #8]                   ; 8-byte Folded Reload
	and	x10, x10, #0xf
	lsl	x10, x10, #2
	ldr	w11, [x13, x10]
	add	w12, w27, w26
	add	w9, w12, w9
	add	w9, w9, w11
	add	w27, w8, w9
	str	w9, [x13, x10]
	mov	x0, x25
	bl	_Sigma0_512
	mov	x26, x0
	mov	x0, x25
	mov	x1, x24
	mov	x2, x23
	bl	_Maj
	ldr	w8, [sp, #20]                   ; 4-byte Folded Reload
	add	w8, w27, w8
	add	w9, w0, w26
	add	w9, w9, w27
	add	x22, x22, #1
	mov	x26, x24
	mov	x27, x25
	cmp	x22, #64
	b.ne	LBB0_3
; %bb.4:
	ldr	x10, [sp]                       ; 8-byte Folded Reload
	ldr	x10, [x10]
	ldp	w11, w12, [x10]
	add	w9, w11, w9
	add	w11, w12, w25
	stp	w9, w11, [x10]
	ldp	w9, w11, [x10, #8]
	add	w9, w9, w24
	add	w11, w11, w23
	stp	w9, w11, [x10, #8]
	ldp	w9, w11, [x10, #16]
	add	w8, w9, w8
	add	w9, w11, w21
	stp	w8, w9, [x10, #16]
	ldp	w8, w9, [x10, #24]
	add	w8, w8, w19
	add	w9, w9, w20
	stp	w8, w9, [x10, #24]
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_K512,8,3                       ; @K512
	.no_dead_strip	_SHA512_Transform
.subsections_via_symbols
