	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ghash_update
_ghash_update:                          ## @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, %r14d
	movq	%rsi, %rbx
	movq	%rdi, %r15
	callq	_shash_desc_ctx
	movq	%rax, %r12
	movl	(%r15), %edi
	callq	_crypto_shash_ctx
	movq	%rax, %r13
	movq	8(%r12), %r15
	xorl	%eax, %eax
	callq	_kernel_fpu_begin
	movl	(%r12), %esi
	testl	%esi, %esi
	je	LBB0_24
## %bb.1:
	movl	%r14d, %edi
	callq	_min
                                        ## kill: def $eax killed $eax def $rax
	movq	_GHASH_BLOCK_SIZE@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rdx
	movslq	(%r12), %rsi
	movl	%esi, %ecx
	subl	%eax, %ecx
	movl	%ecx, (%r12)
	testl	%eax, %eax
	je	LBB0_22
## %bb.2:
	movq	%rdx, %r11
	subq	%rsi, %r11
	leaq	(%r15,%r11,4), %rcx
	leal	-1(%rax), %r10d
	cmpl	$7, %r10d
	jb	LBB0_3
## %bb.4:
	leaq	(%rbx,%r10,4), %rdi
	addq	$4, %rdi
	cmpq	%rdi, %rcx
	jae	LBB0_7
## %bb.5:
	addq	%r10, %rdx
	subq	%rsi, %rdx
	leaq	(%r15,%rdx,4), %rdx
	addq	$4, %rdx
	cmpq	%rbx, %rdx
	jbe	LBB0_7
LBB0_3:
	movl	%eax, %r9d
LBB0_14:
	leal	-1(%r9), %r8d
	movl	%r9d, %edi
	andl	$3, %edi
	je	LBB0_18
## %bb.15:
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %edx
	xorl	%edx, (%rcx)
	addq	$4, %rbx
	addq	$4, %rcx
	incl	%esi
	cmpl	%esi, %edi
	jne	LBB0_16
## %bb.17:
	subl	%esi, %r9d
LBB0_18:
	cmpl	$3, %r8d
	jb	LBB0_21
## %bb.19:
	movl	%r9d, %edx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %edi
	xorl	%edi, (%rcx,%rsi,4)
	movl	4(%rbx), %edi
	xorl	%edi, 4(%rcx,%rsi,4)
	movl	8(%rbx), %edi
	xorl	%edi, 8(%rcx,%rsi,4)
	movl	12(%rbx), %edi
	xorl	%edi, 12(%rcx,%rsi,4)
	addq	$16, %rbx
	addq	$4, %rsi
	cmpl	%esi, %edx
	jne	LBB0_20
	jmp	LBB0_21
LBB0_7:
	incq	%r10
	movq	%r10, %r8
	andq	$-8, %r8
	leaq	-8(%r8), %rdx
	movq	%rdx, %r9
	shrq	$3, %r9
	incq	%r9
	testq	%rdx, %rdx
	je	LBB0_33
## %bb.8:
	movq	%r9, %rsi
	andq	$-2, %rsi
	leaq	(%r15,%r11,4), %rdx
	addq	$48, %rdx
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movups	(%rbx,%rdi,4), %xmm0
	movups	16(%rbx,%rdi,4), %xmm1
	movups	-48(%rdx,%rdi,4), %xmm2
	xorps	%xmm0, %xmm2
	movups	-32(%rdx,%rdi,4), %xmm0
	xorps	%xmm1, %xmm0
	movups	-16(%rdx,%rdi,4), %xmm1
	movups	(%rdx,%rdi,4), %xmm3
	movups	%xmm2, -48(%rdx,%rdi,4)
	movups	%xmm0, -32(%rdx,%rdi,4)
	movups	32(%rbx,%rdi,4), %xmm0
	xorps	%xmm1, %xmm0
	movups	48(%rbx,%rdi,4), %xmm1
	xorps	%xmm3, %xmm1
	movups	%xmm0, -16(%rdx,%rdi,4)
	movups	%xmm1, (%rdx,%rdi,4)
	addq	$16, %rdi
	addq	$-2, %rsi
	jne	LBB0_9
## %bb.10:
	testb	$1, %r9b
	je	LBB0_12
LBB0_11:
	movups	(%rbx,%rdi,4), %xmm0
	movups	16(%rbx,%rdi,4), %xmm1
	movups	(%rcx,%rdi,4), %xmm2
	xorps	%xmm0, %xmm2
	movups	16(%rcx,%rdi,4), %xmm0
	xorps	%xmm1, %xmm0
	movups	%xmm2, (%rcx,%rdi,4)
	movups	%xmm0, 16(%rcx,%rdi,4)
LBB0_12:
	leaq	(%rbx,%r8,4), %rbx
	cmpq	%r8, %r10
	jne	LBB0_13
LBB0_21:
	movl	(%r12), %ecx
LBB0_22:
	subl	%eax, %r14d
	testl	%ecx, %ecx
	jne	LBB0_24
## %bb.23:
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_clmul_ghash_mul
LBB0_24:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	%r14d, %edx
	movq	%r13, %rcx
	callq	_clmul_ghash_update
	xorl	%eax, %eax
	callq	_kernel_fpu_end
	movl	%r14d, %edx
	andl	$15, %edx
	je	LBB0_32
## %bb.25:
	movl	%r14d, %eax
	andl	$-16, %eax
	leaq	(%rbx,%rax,4), %rax
	movq	_GHASH_BLOCK_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	subl	%edx, %ecx
	movl	%ecx, (%r12)
	leal	-1(%rdx), %ecx
	testb	$3, %r14b
	je	LBB0_29
## %bb.26:
	movl	%r14d, %esi
	andl	$3, %esi
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_27:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rax), %edi
	xorl	%edi, (%r15)
	addq	$4, %rax
	addq	$4, %r15
	incq	%rdx
	cmpl	%edx, %esi
	jne	LBB0_27
## %bb.28:
	andl	$15, %r14d
	subl	%edx, %r14d
	movl	%r14d, %edx
LBB0_29:
	cmpl	$3, %ecx
	jb	LBB0_32
## %bb.30:
	movl	%edx, %ecx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_31:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rax,%rdx,4), %esi
	xorl	%esi, (%r15,%rdx,4)
	movl	4(%rax,%rdx,4), %esi
	xorl	%esi, 4(%r15,%rdx,4)
	movl	8(%rax,%rdx,4), %esi
	xorl	%esi, 8(%r15,%rdx,4)
	movl	12(%rax,%rdx,4), %esi
	xorl	%esi, 12(%r15,%rdx,4)
	addq	$4, %rdx
	cmpl	%edx, %ecx
	jne	LBB0_31
LBB0_32:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	leaq	(%rcx,%r8,4), %rcx
	movl	%eax, %r9d
	subl	%r8d, %r9d
	jmp	LBB0_14
LBB0_33:
	xorl	%edi, %edi
	testb	$1, %r9b
	jne	LBB0_11
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_GHASH_BLOCK_SIZE,4,2           ## @GHASH_BLOCK_SIZE
	.no_dead_strip	_ghash_update
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ghash_update
_ghash_update:                          ; @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	x20, x2
	mov	x23, x1
	mov	x19, x0
	bl	_shash_desc_ctx
	mov	x21, x0
	ldr	w0, [x19]
	bl	_crypto_shash_ctx
	mov	x22, x0
	ldr	x19, [x21, #8]
	bl	_kernel_fpu_begin
	ldr	w1, [x21]
Lloh0:
	adrp	x24, _GHASH_BLOCK_SIZE@GOTPAGE
Lloh1:
	ldr	x24, [x24, _GHASH_BLOCK_SIZE@GOTPAGEOFF]
	cbz	w1, LBB0_13
; %bb.1:
	mov	x0, x20
	bl	_min
	ldrsw	x12, [x24]
	ldrsw	x13, [x21]
	sub	w8, w13, w0
	str	w8, [x21]
	sub	w20, w20, w0
	cbz	w0, LBB0_11
; %bb.2:
	sub	w8, w12, w13
	add	x8, x19, w8, sxtw #2
	sub	w9, w0, #1
	cmp	w9, #15
	b.hs	LBB0_4
; %bb.3:
	mov	x9, x23
	b	LBB0_9
LBB0_4:
	add	x10, x12, x9
	sub	x10, x10, x13
	add	x10, x19, x10, lsl #2
	add	x10, x10, #4
	add	x11, x23, w9, uxtw #2
	add	x11, x11, #4
	cmp	x8, x11
	ccmp	x10, x23, #0, lo
	b.hi	LBB0_8
; %bb.5:
	add	x10, x9, #1
	and	x11, x10, #0x1fffffff0
	lsl	x9, x11, #2
	add	x8, x8, x9
	sub	w0, w0, w11
	add	x9, x23, x9
	sub	x12, x12, x13
	add	x12, x19, x12, lsl #2
	add	x12, x12, #32
	add	x13, x23, #32
	mov	x14, x11
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q0, q1, [x13, #-32]
	ldp	q2, q3, [x13], #64
	ldp	q4, q5, [x12, #-32]
	ldp	q6, q7, [x12]
	eor.16b	v0, v4, v0
	eor.16b	v1, v5, v1
	eor.16b	v2, v6, v2
	eor.16b	v3, v7, v3
	stp	q0, q1, [x12, #-32]
	stp	q2, q3, [x12], #64
	subs	x14, x14, #16
	b.ne	LBB0_6
; %bb.7:
	cmp	x10, x11
	b.ne	LBB0_9
	b	LBB0_10
LBB0_8:
	mov	x9, x23
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x9], #4
	ldr	w11, [x8]
	eor	w10, w11, w10
	str	w10, [x8], #4
	subs	w0, w0, #1
	b.ne	LBB0_9
LBB0_10:
	ldr	w8, [x21]
	mov	x23, x9
LBB0_11:
	cbnz	w8, LBB0_13
; %bb.12:
	mov	x0, x19
	mov	x1, x22
	bl	_clmul_ghash_mul
LBB0_13:
	mov	x0, x19
	mov	x1, x23
	mov	x2, x20
	mov	x3, x22
	bl	_clmul_ghash_update
	bl	_kernel_fpu_end
	ands	w8, w20, #0xf
	b.eq	LBB0_16
; %bb.14:
	and	w9, w20, #0xfffffff0
	add	x9, x23, w9, uxtw #2
	ldr	w10, [x24]
	sub	w10, w10, w8
	str	w10, [x21]
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x9], #4
	ldr	w11, [x19]
	eor	w10, w11, w10
	str	w10, [x19], #4
	subs	w8, w8, #1
	b.ne	LBB0_15
LBB0_16:
	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_BLOCK_SIZE,4,2           ; @GHASH_BLOCK_SIZE
	.no_dead_strip	_ghash_update
.subsections_via_symbols
