	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mv_cesa_aes_op
_mv_cesa_aes_op:                        ## @mv_cesa_aes_op
	.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
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	callq	_crypto_tfm_ctx
	movq	%rax, %r13
	movq	_CESA_SA_DESC_CFG_CRYPTM_AES@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%r12, %rdi
	callq	_mv_cesa_get_op_cfg
	movq	_CESA_SA_DESC_CFG_DIR_DEC@GOTPCREL(%rip), %rdx
	xorl	%ecx, %ecx
	testl	%eax, (%rdx)
	setne	%dl
	movl	(%r13), %eax
	cmpl	$4, %eax
	jb	LBB0_4
## %bb.1:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movb	%dl, %cl
	movq	8(%r13,%rcx,8), %rbx
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx,%r14,4), %edi
	callq	_cpu_to_le32
	movq	(%r12), %rcx
	movl	%eax, (%rcx,%r14,4)
	incq	%r14
	movslq	(%r13), %rax
	movq	%rax, %rcx
	shrq	$2, %rcx
	cmpq	%r14, %rcx
	ja	LBB0_2
## %bb.3:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
LBB0_4:
	cmpl	$32, %eax
	je	LBB0_7
## %bb.5:
	cmpl	$24, %eax
	jne	LBB0_9
## %bb.6:
	movq	_CESA_SA_DESC_CFG_AES_LEN_192@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_7:
	movq	_CESA_SA_DESC_CFG_AES_LEN_256@GOTPCREL(%rip), %rax
LBB0_8:
	orl	(%rax), %r15d
LBB0_9:
	movq	_CESA_SA_DESC_CFG_CRYPTM_MSK@GOTPCREL(%rip), %rax
	movq	_CESA_SA_DESC_CFG_AES_LEN_MSK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_mv_cesa_update_op_cfg
	movq	%rbx, %rdi
	movq	%r12, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mv_cesa_skcipher_queue_req     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CESA_SA_DESC_CFG_CRYPTM_AES,4,2 ## @CESA_SA_DESC_CFG_CRYPTM_AES
	.comm	_CESA_SA_DESC_CFG_DIR_DEC,4,2   ## @CESA_SA_DESC_CFG_DIR_DEC
	.comm	_CESA_SA_DESC_CFG_AES_LEN_192,4,2 ## @CESA_SA_DESC_CFG_AES_LEN_192
	.comm	_CESA_SA_DESC_CFG_AES_LEN_256,4,2 ## @CESA_SA_DESC_CFG_AES_LEN_256
	.comm	_CESA_SA_DESC_CFG_CRYPTM_MSK,4,2 ## @CESA_SA_DESC_CFG_CRYPTM_MSK
	.comm	_CESA_SA_DESC_CFG_AES_LEN_MSK,4,2 ## @CESA_SA_DESC_CFG_AES_LEN_MSK
	.no_dead_strip	_mv_cesa_aes_op
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mv_cesa_aes_op
_mv_cesa_aes_op:                        ; @mv_cesa_aes_op
	.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, x1
	mov	x20, x0
	ldr	w0, [x0]
	bl	_crypto_tfm_ctx
	mov	x22, x0
Lloh0:
	adrp	x8, _CESA_SA_DESC_CFG_CRYPTM_AES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CESA_SA_DESC_CFG_CRYPTM_AES@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	mov	x0, x19
	bl	_mv_cesa_get_op_cfg
Lloh3:
	adrp	x8, _CESA_SA_DESC_CFG_DIR_DEC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CESA_SA_DESC_CFG_DIR_DEC@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w0
	mov	w8, #16
	mov	w9, #8
	csel	x9, x9, x8, eq
	ldr	w8, [x22]
	cmp	w8, #4
	b.lo	LBB0_3
; %bb.1:
	mov	x23, #0
	ldr	x24, [x22, x9]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x25, x23, #2
	ldr	w0, [x24, x25]
	bl	_cpu_to_le32
	ldr	x8, [x19]
	str	w0, [x8, x25]
	add	x23, x23, #1
	ldrsw	x8, [x22]
	cmp	x23, x8, lsr #2
	b.lo	LBB0_2
LBB0_3:
	cmp	w8, #32
	b.eq	LBB0_6
; %bb.4:
	cmp	w8, #24
	b.ne	LBB0_8
; %bb.5:
Lloh6:
	adrp	x8, _CESA_SA_DESC_CFG_AES_LEN_192@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CESA_SA_DESC_CFG_AES_LEN_192@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh8:
	adrp	x8, _CESA_SA_DESC_CFG_AES_LEN_256@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CESA_SA_DESC_CFG_AES_LEN_256@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	orr	w21, w8, w21
LBB0_8:
Lloh10:
	adrp	x8, _CESA_SA_DESC_CFG_CRYPTM_MSK@GOTPAGE
Lloh11:
	ldr	x8, [x8, _CESA_SA_DESC_CFG_CRYPTM_MSK@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
Lloh13:
	adrp	x9, _CESA_SA_DESC_CFG_AES_LEN_MSK@GOTPAGE
Lloh14:
	ldr	x9, [x9, _CESA_SA_DESC_CFG_AES_LEN_MSK@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x19
	mov	x1, x21
	bl	_mv_cesa_update_op_cfg
	mov	x0, x20
	mov	x1, x19
	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
	b	_mv_cesa_skcipher_queue_req
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_CESA_SA_DESC_CFG_CRYPTM_AES,4,2 ; @CESA_SA_DESC_CFG_CRYPTM_AES
	.comm	_CESA_SA_DESC_CFG_DIR_DEC,4,2   ; @CESA_SA_DESC_CFG_DIR_DEC
	.comm	_CESA_SA_DESC_CFG_AES_LEN_192,4,2 ; @CESA_SA_DESC_CFG_AES_LEN_192
	.comm	_CESA_SA_DESC_CFG_AES_LEN_256,4,2 ; @CESA_SA_DESC_CFG_AES_LEN_256
	.comm	_CESA_SA_DESC_CFG_CRYPTM_MSK,4,2 ; @CESA_SA_DESC_CFG_CRYPTM_MSK
	.comm	_CESA_SA_DESC_CFG_AES_LEN_MSK,4,2 ; @CESA_SA_DESC_CFG_AES_LEN_MSK
	.no_dead_strip	_mv_cesa_aes_op
.subsections_via_symbols
