	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mv_cesa_skcipher_req_init
_mv_cesa_skcipher_req_init:             ## @mv_cesa_skcipher_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	_skcipher_request_ctx
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_crypto_skcipher_reqtfm
	movq	%rax, %rdi
	callq	_crypto_skcipher_blocksize
	movl	(%rbx), %edi
	movl	%eax, %esi
	callq	_IS_ALIGNED
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movl	(%rbx), %esi
	movl	8(%rbx), %edi
	callq	_sg_nents_for_len
	movq	%rax, (%r15)
	testq	%rax, %rax
	jns	LBB0_4
## %bb.3:
	movq	_cesa_dev@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	8(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
	movl	(%r15), %eax
	jmp	LBB0_6
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_6
LBB0_4:
	movl	(%rbx), %esi
	movl	4(%rbx), %edi
	callq	_sg_nents_for_len
	movq	%rax, 8(%r15)
	testq	%rax, %rax
	jns	LBB0_7
## %bb.5:
	movq	_cesa_dev@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	8(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_dev_err
	movl	8(%r15), %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	_CESA_SA_DESC_CFG_OP_CRYPT_ONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CESA_SA_DESC_CFG_OP_MSK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_mv_cesa_update_op_cfg
	movq	_cesa_dev@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rax)
	je	LBB0_8
## %bb.9:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mv_cesa_skcipher_dma_req_init  ## TAILCALL
LBB0_8:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mv_cesa_skcipher_std_req_init  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_cesa_dev,8,3                   ## @cesa_dev
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid number of src SG"

L_.str.1:                               ## @.str.1
	.asciz	"Invalid number of dst SG"

	.comm	_CESA_SA_DESC_CFG_OP_CRYPT_ONLY,4,2 ## @CESA_SA_DESC_CFG_OP_CRYPT_ONLY
	.comm	_CESA_SA_DESC_CFG_OP_MSK,4,2    ## @CESA_SA_DESC_CFG_OP_MSK
	.no_dead_strip	_mv_cesa_skcipher_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_skcipher_req_init
_mv_cesa_skcipher_req_init:             ; @mv_cesa_skcipher_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	x19, x1
	mov	x20, x0
	bl	_skcipher_request_ctx
	mov	x21, x0
	mov	x0, x20
	bl	_crypto_skcipher_reqtfm
	bl	_crypto_skcipher_blocksize
	mov	x1, x0
	ldr	w0, [x20]
	bl	_IS_ALIGNED
	cbz	w0, LBB0_3
; %bb.1:
	ldr	w0, [x20, #8]
	ldr	w1, [x20]
	bl	_sg_nents_for_len
	str	x0, [x21]
	tbz	x0, #63, LBB0_4
; %bb.2:
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]
	b	LBB0_6
LBB0_3:
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_6
LBB0_4:
	ldp	w1, w0, [x20]
	bl	_sg_nents_for_len
	str	x0, [x21, #8]
	tbz	x0, #63, LBB0_7
; %bb.5:
Lloh8:
	adrp	x8, _cesa_dev@GOTPAGE
Lloh9:
	ldr	x8, [x8, _cesa_dev@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	ldr	w0, [x8, #8]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_err
	ldr	w0, [x21, #8]
LBB0_6:
	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_7:
Lloh13:
	adrp	x8, _CESA_SA_DESC_CFG_OP_CRYPT_ONLY@GOTPAGE
Lloh14:
	ldr	x8, [x8, _CESA_SA_DESC_CFG_OP_CRYPT_ONLY@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
Lloh16:
	adrp	x8, _CESA_SA_DESC_CFG_OP_MSK@GOTPAGE
Lloh17:
	ldr	x8, [x8, _CESA_SA_DESC_CFG_OP_MSK@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_mv_cesa_update_op_cfg
Lloh19:
	adrp	x8, _cesa_dev@GOTPAGE
Lloh20:
	ldr	x8, [x8, _cesa_dev@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	x8, [x8]
	cbz	x8, LBB0_9
; %bb.8:
	mov	x0, x20
	mov	x1, 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_skcipher_dma_req_init
LBB0_9:
	mov	x0, x20
	mov	x1, 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_skcipher_std_req_init
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_cesa_dev,8,3                   ; @cesa_dev
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid number of src SG"

l_.str.1:                               ; @.str.1
	.asciz	"Invalid number of dst SG"

	.comm	_CESA_SA_DESC_CFG_OP_CRYPT_ONLY,4,2 ; @CESA_SA_DESC_CFG_OP_CRYPT_ONLY
	.comm	_CESA_SA_DESC_CFG_OP_MSK,4,2    ; @CESA_SA_DESC_CFG_OP_MSK
	.no_dead_strip	_mv_cesa_skcipher_req_init
.subsections_via_symbols
