	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mv_cesa_ahash_import
_mv_cesa_ahash_import:                  ## @mv_cesa_ahash_import
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	callq	_crypto_ahash_reqtfm
	movq	%rax, %r13
	movq	%rbx, %rdi
	callq	_ahash_request_ctx
	movq	%rax, %r12
	movq	%r13, %rdi
	callq	_crypto_ahash_digestsize
	movl	%eax, %r15d
	movq	%rbx, %rdi
	callq	_crypto_ahash_init
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_5
## %bb.1:
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%r13, %rdi
	callq	_crypto_ahash_blocksize
	movl	%eax, %r13d
	movl	-48(%rbp), %r15d                ## 4-byte Reload
	cmpl	%r15d, %eax
	ja	LBB0_3
## %bb.2:
	movq	%r12, %rdi
	addq	$16, %rdi
	movq	_CESA_SA_DESC_CFG_MID_FRAG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CESA_SA_DESC_CFG_FRAG_MSK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_mv_cesa_update_op_cfg
LBB0_3:
	movl	%r15d, (%r12)
	movl	12(%r12), %edi
	movq	%rbx, %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_memcpy
	movl	$0, 4(%r12)
	movl	%r15d, %edi
	movl	%r13d, %esi
	callq	_do_div
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	movl	%eax, %ebx
	movl	8(%r12), %edi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%eax, %edx
	callq	_memcpy
	movl	%ebx, 4(%r12)
LBB0_5:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CESA_SA_DESC_CFG_MID_FRAG,4,2  ## @CESA_SA_DESC_CFG_MID_FRAG
	.comm	_CESA_SA_DESC_CFG_FRAG_MSK,4,2  ## @CESA_SA_DESC_CFG_FRAG_MSK
	.no_dead_strip	_mv_cesa_ahash_import
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mv_cesa_ahash_import
_mv_cesa_ahash_import:                  ; @mv_cesa_ahash_import
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x3
	mov	x21, x2
	mov	x23, x1
	mov	x22, x0
	bl	_crypto_ahash_reqtfm
	mov	x25, x0
	mov	x0, x22
	bl	_ahash_request_ctx
	mov	x20, x0
	mov	x0, x25
	bl	_crypto_ahash_digestsize
	mov	x24, x0
	mov	x0, x22
	bl	_crypto_ahash_init
	mov	x22, x0
	cbnz	w0, LBB0_5
; %bb.1:
	mov	x0, x25
	bl	_crypto_ahash_blocksize
	mov	x25, x0
	cmp	w0, w21
	b.hi	LBB0_3
; %bb.2:
	add	x0, x20, #16
Lloh0:
	adrp	x8, _CESA_SA_DESC_CFG_MID_FRAG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CESA_SA_DESC_CFG_MID_FRAG@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _CESA_SA_DESC_CFG_FRAG_MSK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CESA_SA_DESC_CFG_FRAG_MSK@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	bl	_mv_cesa_update_op_cfg
LBB0_3:
	str	w21, [x20]
	ldr	w0, [x20, #12]
	mov	x1, x23
	mov	x2, x24
	bl	_memcpy
	str	wzr, [x20, #4]
	mov	x0, x21
	mov	x1, x25
	bl	_do_div
	cbz	w0, LBB0_5
; %bb.4:
	mov	x21, x0
	ldr	w0, [x20, #8]
	mov	x1, x19
	mov	x2, x21
	bl	_memcpy
	str	w21, [x20, #4]
LBB0_5:
	mov	x0, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CESA_SA_DESC_CFG_MID_FRAG,4,2  ; @CESA_SA_DESC_CFG_MID_FRAG
	.comm	_CESA_SA_DESC_CFG_FRAG_MSK,4,2  ; @CESA_SA_DESC_CFG_FRAG_MSK
	.no_dead_strip	_mv_cesa_ahash_import
.subsections_via_symbols
