	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mv_cesa_ahash_req_init
_mv_cesa_ahash_req_init:                ## @mv_cesa_ahash_req_init
	.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
	callq	_ahash_request_ctx
	movq	%rax, %r15
	movl	(%rbx), %esi
	movl	4(%rbx), %edi
	callq	_sg_nents_for_len
	movq	%rax, (%r15)
	testq	%rax, %rax
	js	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	callq	_mv_cesa_ahash_cache_req
	movl	%eax, %ecx
	movl	%eax, (%r14)
	xorl	%eax, %eax
	testl	%ecx, %ecx
	jne	LBB0_4
## %bb.3:
	movq	_cesa_dev@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_4
## %bb.5:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mv_cesa_ahash_dma_req_init     ## TAILCALL
LBB0_1:
	movq	_cesa_dev@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	8(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
	movl	(%r15), %eax
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cesa_dev,8,3                   ## @cesa_dev
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid number of src SG"

	.no_dead_strip	_mv_cesa_ahash_req_init
.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_req_init
_mv_cesa_ahash_req_init:                ; @mv_cesa_ahash_req_init
	.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	x20, x1
	mov	x19, x0
	bl	_ahash_request_ctx
	mov	x21, x0
	ldp	w1, w0, [x19]
	bl	_sg_nents_for_len
	str	x0, [x21]
	tbnz	x0, #63, LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_mv_cesa_ahash_cache_req
	str	w0, [x20]
	cbz	w0, LBB0_5
LBB0_2:
	mov	w0, #0
	b	LBB0_4
LBB0_3:
Lloh0:
	adrp	x8, _cesa_dev@GOTPAGE
Lloh1:
	ldr	x8, [x8, _cesa_dev@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w0, [x8, #8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
	ldr	w0, [x21]
LBB0_4:
	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
LBB0_5:
Lloh5:
	adrp	x8, _cesa_dev@GOTPAGE
Lloh6:
	ldr	x8, [x8, _cesa_dev@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.6:
	mov	x0, x19
	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
	b	_mv_cesa_ahash_dma_req_init
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_cesa_dev,8,3                   ; @cesa_dev
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid number of src SG"

	.no_dead_strip	_mv_cesa_ahash_req_init
.subsections_via_symbols
