	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbedtls_sha512_process         ## -- Begin function mbedtls_sha512_process
	.p2align	4, 0x90
_mbedtls_sha512_process:                ## @mbedtls_sha512_process
	.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	%rbx
	subq	$648, %rsp                      ## imm = 0x288
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	xorl	%r15d, %r15d
	xorl	%edx, %edx
	callq	_GET_UINT64_BE
	movq	%r14, %rsi
	movl	$8, %edx
	callq	_GET_UINT64_BE
	movq	%r14, %rsi
	movl	$16, %edx
	callq	_GET_UINT64_BE
	movq	%r14, %rsi
	movl	$24, %edx
	callq	_GET_UINT64_BE
	movq	%r14, %rsi
	movl	$32, %edx
	callq	_GET_UINT64_BE
	movq	%r14, %rsi
	movl	$40, %edx
	callq	_GET_UINT64_BE
	movq	%r14, %rsi
	movl	$48, %edx
	callq	_GET_UINT64_BE
	movq	%r14, %rsi
	movl	$56, %edx
	callq	_GET_UINT64_BE
	movq	%r14, %rsi
	movl	$64, %edx
	callq	_GET_UINT64_BE
	movq	%r14, %rsi
	movl	$72, %edx
	callq	_GET_UINT64_BE
	movq	%r14, %rsi
	movl	$80, %edx
	callq	_GET_UINT64_BE
	movq	%r14, %rsi
	movl	$88, %edx
	callq	_GET_UINT64_BE
	movq	%r14, %rsi
	movl	$96, %edx
	callq	_GET_UINT64_BE
	movq	%r14, %rsi
	movl	$104, %edx
	callq	_GET_UINT64_BE
	movq	%r14, %rsi
	movl	$112, %edx
	callq	_GET_UINT64_BE
	movq	%r14, %rsi
	movl	$120, %edx
	callq	_GET_UINT64_BE
                                        ## implicit-def: $rax
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	-664(%rbp,%r15,8), %r8
	movq	-560(%rbp,%r15,8), %rdx
	movq	%rdx, %rsi
	sarq	$19, %rsi
	movq	%rdx, %rdi
	shlq	$45, %rdi
	orq	%rsi, %rdi
	movq	%rdx, %rsi
	sarq	$61, %rsi
	leaq	(,%rdx,8), %rbx
	orq	%rsi, %rbx
	sarq	$6, %rdx
	xorq	%rbx, %rdx
	xorq	%rdi, %rdx
	movq	%r8, %rsi
	sarq	%rsi
	movq	%r8, %rdi
	shlq	$63, %rdi
	orq	%rsi, %rdi
	movq	%r8, %rsi
	sarq	$8, %rsi
	movq	%r8, %rcx
	shlq	$56, %rcx
	orq	%rsi, %rcx
	movq	%r8, %rsi
	sarq	$7, %rsi
	xorq	%rcx, %rsi
	xorq	%rdi, %rsi
	addq	-600(%rbp,%r15,8), %rax
	addq	%rdx, %rax
	addq	%rsi, %rax
	movq	%rax, -544(%rbp,%r15,8)
	incq	%r15
	movq	%r8, %rax
	cmpq	$64, %r15
	jne	LBB0_1
## %bb.2:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_4
## %bb.3:
	addq	$648, %rsp                      ## imm = 0x288
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_K,8,3                          ## @K
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbedtls_sha512_process         ; -- Begin function mbedtls_sha512_process
	.p2align	2
_mbedtls_sha512_process:                ; @mbedtls_sha512_process
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	sub	sp, sp, #656
	mov	x19, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
	mov	w2, #0
	bl	_GET_UINT64_BE
	mov	x1, x19
	mov	w2, #8
	bl	_GET_UINT64_BE
	mov	x1, x19
	mov	w2, #16
	bl	_GET_UINT64_BE
	mov	x1, x19
	mov	w2, #24
	bl	_GET_UINT64_BE
	mov	x1, x19
	mov	w2, #32
	bl	_GET_UINT64_BE
	mov	x1, x19
	mov	w2, #40
	bl	_GET_UINT64_BE
	mov	x1, x19
	mov	w2, #48
	bl	_GET_UINT64_BE
	mov	x1, x19
	mov	w2, #56
	bl	_GET_UINT64_BE
	mov	x1, x19
	mov	w2, #64
	bl	_GET_UINT64_BE
	mov	x1, x19
	mov	w2, #72
	bl	_GET_UINT64_BE
	mov	x1, x19
	mov	w2, #80
	bl	_GET_UINT64_BE
	mov	x1, x19
	mov	w2, #88
	bl	_GET_UINT64_BE
	mov	x1, x19
	mov	w2, #96
	bl	_GET_UINT64_BE
	mov	x1, x19
	mov	w2, #104
	bl	_GET_UINT64_BE
	mov	x1, x19
	mov	w2, #112
	bl	_GET_UINT64_BE
	mov	x1, x19
	mov	w2, #120
	bl	_GET_UINT64_BE
	mov	x8, #0
	add	x9, sp, #8
	add	x9, x9, #128
                                        ; implicit-def: $x10
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	add	x11, x9, x8
	ldur	x12, [x11, #-16]
	asr	x13, x12, #19
	orr	x13, x13, x12, lsl #45
	asr	x14, x12, #61
	orr	x14, x14, x12, lsl #3
	eor	x12, x14, x12, asr #6
	eor	x12, x12, x13
	ldur	x13, [x11, #-56]
	ldur	x14, [x11, #-120]
	asr	x15, x14, #1
	orr	x15, x15, x14, lsl #63
	asr	x16, x14, #8
	orr	x16, x16, x14, lsl #56
	eor	x16, x16, x14, asr #7
	eor	x15, x16, x15
	add	x10, x10, x13
	add	x10, x10, x12
	add	x10, x10, x15
	str	x10, [x11]
	add	x8, x8, #8
	mov	x10, x14
	cmp	x8, #512
	b.ne	LBB0_1
; %bb.2:
	ldur	x8, [x29, #-24]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.3:
	add	sp, sp, #656
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_K,8,3                          ; @K
.subsections_via_symbols
