	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function p8_ghash_update
_p8_ghash_update:                       ## @p8_ghash_update
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r13d
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	callq	_crypto_shash_tfm
	movl	%eax, %edi
	callq	_crypto_tfm_ctx
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_shash_desc_ctx
	movq	%rax, %r15
	movslq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	leal	(%rax,%r13), %ecx
	movq	_GHASH_DIGEST_SIZE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	8(%r15), %rdi
	addq	%rax, %rdi
	cmpl	%edx, %ecx
	jae	LBB0_3
## %bb.2:
	movq	%r14, %rsi
	movl	%r13d, %edx
	callq	_memcpy
	addl	(%r15), %r13d
	jmp	LBB0_8
LBB0_3:
	subl	%eax, %edx
	movq	%r14, %rsi
	callq	_memcpy
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	___ghash_block
	movl	(%rbx), %eax
	subl	(%r15), %eax
	leaq	(%r14,%rax,4), %r14
	subl	%eax, %r13d
	movl	$0, (%r15)
LBB0_4:
	movq	_GHASH_DIGEST_SIZE@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	andl	%r13d, %ebx
	je	LBB0_6
## %bb.5:
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	movl	%ebx, %ecx
	callq	___ghash_blocks
	movl	%ebx, %eax
	leaq	(%r14,%rax,4), %r14
	subl	%ebx, %r13d
LBB0_6:
	testl	%r13d, %r13d
	je	LBB0_9
## %bb.7:
	movq	8(%r15), %rdi
	movq	%r14, %rsi
	movl	%r13d, %edx
	callq	_memcpy
LBB0_8:
	movl	%r13d, (%r15)
LBB0_9:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GHASH_DIGEST_SIZE,4,2          ## @GHASH_DIGEST_SIZE
	.no_dead_strip	_p8_ghash_update
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function p8_ghash_update
_p8_ghash_update:                       ; @p8_ghash_update
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	w0, [x0]
	bl	_crypto_shash_tfm
	bl	_crypto_tfm_ctx
	mov	x22, x0
	mov	x0, x21
	bl	_shash_desc_ctx
	mov	x21, x0
	ldrsw	x8, [x0]
Lloh0:
	adrp	x23, _GHASH_DIGEST_SIZE@GOTPAGE
Lloh1:
	ldr	x23, [x23, _GHASH_DIGEST_SIZE@GOTPAGEOFF]
	cbz	w8, LBB0_4
; %bb.1:
	ldr	w9, [x23]
	ldr	x10, [x21, #8]
	add	x0, x10, x8
	add	w10, w8, w19
	cmp	w10, w9
	b.hs	LBB0_3
; %bb.2:
	mov	x1, x20
	mov	x2, x19
	bl	_memcpy
	ldr	w8, [x21]
	add	w19, w8, w19
	b	LBB0_8
LBB0_3:
	sub	w2, w9, w8
	mov	x1, x20
	bl	_memcpy
	mov	x0, x22
	mov	x1, x21
	bl	___ghash_block
	ldr	w8, [x23]
	ldr	w9, [x21]
	sub	w8, w8, w9
	sub	w19, w19, w8
	add	x20, x20, w8, uxtw #2
	str	wzr, [x21]
LBB0_4:
	ldr	w8, [x23]
	neg	w8, w8
	ands	w23, w19, w8
	b.eq	LBB0_6
; %bb.5:
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	mov	x3, x23
	bl	___ghash_blocks
	add	x20, x20, w23, uxtw #2
	sub	w19, w19, w23
LBB0_6:
	cbz	w19, LBB0_9
; %bb.7:
	ldr	x0, [x21, #8]
	mov	x1, x20
	mov	x2, x19
	bl	_memcpy
LBB0_8:
	str	w19, [x21]
LBB0_9:
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_GHASH_DIGEST_SIZE,4,2          ; @GHASH_DIGEST_SIZE
	.no_dead_strip	_p8_ghash_update
.subsections_via_symbols
