	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sha512_update_block
_sha512_update_block:                   ## @sha512_update_block
	.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	$232, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -192(%rbp)                ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%rdi, -216(%rbp)                ## 8-byte Spill
	movq	8(%rdi), %r8
	movq	(%r8), %rax
	movq	8(%r8), %rbx
	movq	16(%r8), %rdi
	movq	24(%r8), %rdx
	movq	32(%r8), %rcx
	movq	40(%r8), %r10
	movq	48(%r8), %r9
	movq	56(%r8), %rsi
	movq	%rsi, -184(%rbp)                ## 8-byte Spill
	xorl	%r14d, %r14d
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	leal	14(%r14), %eax
	andl	$15, %eax
	movq	-176(%rbp,%rax,8), %rdi
	callq	_SSIG1
	movq	%rax, %rbx
	leal	9(%r14), %eax
	andl	$15, %eax
	addq	-176(%rbp,%rax,8), %rbx
	leaq	1(%r14), %rax
	movq	%rax, -200(%rbp)                ## 8-byte Spill
                                        ## kill: def $eax killed $eax killed $rax def $rax
	andl	$15, %eax
	movq	-176(%rbp,%rax,8), %rdi
	callq	_SSIG0
	movq	%rax, %r13
	addq	%rbx, %r13
	movl	%r14d, %eax
	andl	$15, %eax
	addq	-176(%rbp,%rax,8), %r13
	movq	%r13, -176(%rbp,%rax,8)
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	-184(%rbp), %rax                ## 8-byte Reload
	addq	%rax, %r13
	movq	-208(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_BSIG1
	movq	%rax, %r15
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r12, -224(%rbp)                ## 8-byte Spill
	movq	-264(%rbp), %r12                ## 8-byte Reload
	movq	%r12, %rdx
	callq	_CH
	movq	_K@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	addq	%r13, %r15
	addq	%rax, %r15
	addq	(%rcx,%r14,8), %r15
	movq	-256(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_BSIG0
	movq	%rax, -184(%rbp)                ## 8-byte Spill
	movq	%rbx, %rdi
	movq	-240(%rbp), %r14                ## 8-byte Reload
	movq	%r14, %rsi
	movq	-248(%rbp), %r13                ## 8-byte Reload
	movq	%r13, %rdx
	callq	_MAJ
	movq	-224(%rbp), %r11                ## 8-byte Reload
	movq	%r14, %r8
	addq	-184(%rbp), %rax                ## 8-byte Folded Reload
	movq	-232(%rbp), %rcx                ## 8-byte Reload
	addq	%r15, %rcx
	addq	%r15, %rax
	movq	-200(%rbp), %rsi                ## 8-byte Reload
	movq	%rsi, %r14
	movq	%r12, -184(%rbp)                ## 8-byte Spill
	movq	%r11, %r9
	movq	-208(%rbp), %r10                ## 8-byte Reload
	movq	%r13, %rdx
	movq	%r8, %rdi
	cmpq	$80, %rsi
	je	LBB0_5
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rdx, -232(%rbp)                ## 8-byte Spill
	movq	%rbx, -240(%rbp)                ## 8-byte Spill
	movq	%rdi, -248(%rbp)                ## 8-byte Spill
	movq	%rcx, -208(%rbp)                ## 8-byte Spill
	movq	%r10, %r12
	movq	%r9, -264(%rbp)                 ## 8-byte Spill
	movq	%rax, -256(%rbp)                ## 8-byte Spill
	cmpq	$15, %r14
	ja	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	-192(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_read64_be
	movq	%rax, %r13
	movq	%rax, -176(%rbp,%r14,8)
	addq	$32, %rbx
	movq	%rbx, -192(%rbp)                ## 8-byte Spill
	leaq	1(%r14), %rax
	movq	%rax, -200(%rbp)                ## 8-byte Spill
	jmp	LBB0_4
LBB0_5:
	movq	%r10, %r15
	movq	-216(%rbp), %rsi                ## 8-byte Reload
	movq	8(%rsi), %rdx
	movq	%rbx, %xmm0
	movq	%rax, %xmm1
	punpcklqdq	%xmm0, %xmm1            ## xmm1 = xmm1[0],xmm0[0]
	movdqu	(%rdx), %xmm0
	paddq	%xmm1, %xmm0
	movdqu	24(%rdx), %xmm1
	movdqu	%xmm0, (%rdx)
	addq	%r8, 16(%rdx)
	movq	%rcx, %xmm0
	movq	%r13, %xmm2
	punpcklqdq	%xmm0, %xmm2            ## xmm2 = xmm2[0],xmm0[0]
	paddq	%xmm1, %xmm2
	movdqu	%xmm2, 24(%rdx)
	addq	%r10, 40(%rdx)
	addq	%r11, 48(%rdx)
	addq	%r12, 56(%rdx)
	incl	(%rsi)
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_7
## %bb.6:
	addq	$232, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_K,8,3                          ## @K
	.no_dead_strip	_sha512_update_block
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sha512_update_block
_sha512_update_block:                   ; @sha512_update_block
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #272
	.cfi_def_cfa_offset 272
	stp	x28, x27, [sp, #176]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #192]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #208]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #224]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #240]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #256]            ; 16-byte Folded Spill
	add	x29, sp, #256
	.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
	str	x1, [sp, #8]                    ; 8-byte Folded Spill
	mov	x19, #0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
	str	x0, [sp]                        ; 8-byte Folded Spill
	ldr	x13, [x0, #8]
	ldp	x9, x21, [x13]
	ldp	x12, x26, [x13, #16]
	ldp	x8, x11, [x13, #32]
	ldp	x10, x23, [x13, #48]
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w8, w19, #14
	and	x8, x8, #0xf
	add	x28, sp, #32
	ldr	x0, [x28, x8, lsl #3]
	bl	_SSIG1
	add	w8, w19, #9
	and	x8, x8, #0xf
	ldr	x8, [x28, x8, lsl #3]
	add	x27, x8, x0
	add	x22, x19, #1
	and	x8, x22, #0xf
	ldr	x0, [x28, x8, lsl #3]
	bl	_SSIG0
	and	x8, x19, #0xf
	lsl	x8, x8, #3
	ldr	x9, [x28, x8]
	add	x10, x27, x0
	add	x27, x10, x9
	str	x27, [x28, x8]
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x24
	bl	_BSIG1
	mov	x28, x0
	mov	x0, x24
	mov	x1, x25
	mov	x2, x20
	bl	_CH
Lloh3:
	adrp	x8, _K@GOTPAGE
Lloh4:
	ldr	x8, [x8, _K@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	x8, [x8, x19, lsl #3]
	add	x9, x27, x23
	add	x9, x9, x28
	add	x9, x9, x0
	add	x19, x9, x8
	mov	x0, x21
	bl	_BSIG0
	mov	x27, x0
	mov	x0, x21
	ldp	x23, x28, [sp, #16]             ; 16-byte Folded Reload
	mov	x1, x28
	mov	x2, x23
	bl	_MAJ
	mov	x14, x23
	add	x8, x19, x26
	add	x9, x0, x27
	add	x9, x9, x19
	mov	x19, x22
	mov	x23, x20
	mov	x10, x25
	mov	x11, x24
	mov	x26, x14
	mov	x12, x28
	cmp	x22, #80
	b.eq	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	stp	x12, x21, [sp, #16]             ; 16-byte Folded Spill
	mov	x24, x8
	mov	x21, x9
	mov	x20, x10
	mov	x25, x11
	cmp	x19, #15
	b.hi	LBB0_1
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x22, [sp, #8]                   ; 8-byte Folded Reload
	mov	x0, x22
	bl	_read64_be
	mov	x27, x0
	add	x8, sp, #32
	str	x0, [x8, x19, lsl #3]
	add	x22, x22, #32
	str	x22, [sp, #8]                   ; 8-byte Folded Spill
	add	x22, x19, #1
	b	LBB0_2
LBB0_5:
	ldr	x13, [sp]                       ; 8-byte Folded Reload
	ldr	x10, [x13, #8]
	ldp	x11, x12, [x10]
	add	x9, x11, x9
	add	x11, x12, x21
	stp	x9, x11, [x10]
	ldp	x9, x11, [x10, #16]
	add	x9, x9, x28
	add	x11, x11, x14
	stp	x9, x11, [x10, #16]
	ldp	x9, x11, [x10, #32]
	add	x8, x9, x8
	add	x9, x11, x24
	stp	x8, x9, [x10, #32]
	ldp	x8, x9, [x10, #48]
	add	x8, x8, x25
	add	x9, x9, x20
	stp	x8, x9, [x10, #48]
	ldr	w8, [x13]
	add	w8, w8, #1
	str	w8, [x13]
	ldur	x8, [x29, #-96]
Lloh6:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh7:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.6:
	ldp	x29, x30, [sp, #256]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #240]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #224]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #208]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #192]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #176]            ; 16-byte Folded Reload
	add	sp, sp, #272
	ret
LBB0_7:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_K,8,3                          ; @K
	.no_dead_strip	_sha512_update_block
.subsections_via_symbols
