	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function p8_ghash_final
_p8_ghash_final:                        ## @p8_ghash_final
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	callq	_crypto_shash_tfm
	movl	%eax, %edi
	callq	_crypto_tfm_ctx
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_shash_desc_ctx
	movq	%rax, %rbx
	movslq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	_GHASH_DIGEST_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpl	%ecx, %eax
	jge	LBB0_3
## %bb.2:
	movq	%rax, %rdi
	shlq	$3, %rdi
	addq	8(%rbx), %rdi
	notl	%eax
	addl	%eax, %ecx
	leaq	8(,%rcx,8), %rsi
	callq	___bzero
LBB0_3:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	___ghash_block
	movl	$0, (%rbx)
LBB0_4:
	movl	4(%rbx), %esi
	movq	_GHASH_DIGEST_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_memcpy
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	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_final
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function p8_ghash_final
_p8_ghash_final:                        ; @p8_ghash_final
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	w0, [x0]
	bl	_crypto_shash_tfm
	bl	_crypto_tfm_ctx
	mov	x21, x0
	mov	x0, x20
	bl	_shash_desc_ctx
	mov	x20, x0
	ldrsw	x8, [x0]
Lloh0:
	adrp	x22, _GHASH_DIGEST_SIZE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _GHASH_DIGEST_SIZE@GOTPAGEOFF]
	cbz	w8, LBB0_4
; %bb.1:
	ldr	w9, [x22]
	cmp	w8, w9
	b.ge	LBB0_3
; %bb.2:
	ldr	x10, [x20, #8]
	add	x0, x10, x8, lsl #3
	mvn	w8, w8
	add	w8, w9, w8
	lsl	x8, x8, #3
	add	x1, x8, #8
	bl	_bzero
LBB0_3:
	mov	x0, x21
	mov	x1, x20
	bl	___ghash_block
	str	wzr, [x20]
LBB0_4:
	ldr	w1, [x20, #4]
	ldr	w2, [x22]
	mov	x0, x19
	bl	_memcpy
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 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_final
.subsections_via_symbols
