	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mv_cesa_aes_setkey
_mv_cesa_aes_setkey:                    ## @mv_cesa_aes_setkey
	.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, %r12
	movq	%rdi, %r15
	callq	_crypto_skcipher_tfm
	movq	%rax, %rdi
	callq	_crypto_tfm_ctx
	movq	%rax, %r13
	movq	%rax, %rdi
	movq	%r12, %rsi
	movl	%r14d, %edx
	callq	_aes_expandkey
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %r14d
	movq	_CRYPTO_TFM_RES_BAD_KEY_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_crypto_skcipher_set_flags
	jmp	LBB0_5
LBB0_2:
	movslq	(%r13), %rax
	xorl	%r14d, %r14d
	cmpq	$20, %rax
	jl	LBB0_5
## %bb.3:
	movq	%rax, %r15
	shlq	$2, %r15
	leal	-16(%rax), %r12d
	shrl	$2, %r12d
	leaq	(,%r12,4), %rax
	subq	%rax, %r15
	addq	$96, %r15
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r13), %rax
	addq	%r15, %rax
	movl	(%rax,%rbx,4), %edi
	callq	_cpu_to_le32
	movq	16(%r13), %rcx
	movl	%eax, 16(%rcx,%rbx,4)
	incq	%rbx
	cmpq	%rbx, %r12
	jne	LBB0_4
LBB0_5:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CRYPTO_TFM_RES_BAD_KEY_LEN,4,2 ## @CRYPTO_TFM_RES_BAD_KEY_LEN
	.no_dead_strip	_mv_cesa_aes_setkey
.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_setkey
_mv_cesa_aes_setkey:                    ; @mv_cesa_aes_setkey
	.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	x21, x2
	mov	x22, x1
	mov	x20, x0
	bl	_crypto_skcipher_tfm
	bl	_crypto_tfm_ctx
	mov	x19, x0
	mov	x1, x22
	mov	x2, x21
	bl	_aes_expandkey
	cbz	w0, LBB0_2
; %bb.1:
	mov	x21, x0
Lloh0:
	adrp	x8, _CRYPTO_TFM_RES_BAD_KEY_LEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CRYPTO_TFM_RES_BAD_KEY_LEN@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_crypto_skcipher_set_flags
	b	LBB0_6
LBB0_2:
	ldr	w8, [x19]
	cmp	w8, #20
	b.lt	LBB0_5
; %bb.3:
	mov	x20, #0
	add	w9, w8, #24
	sub	w8, w8, #16
	and	w21, w8, #0xfffffffc
	sbfiz	x8, x9, #2, #32
	sub	x22, x8, x21
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	add	x8, x8, x22
	ldr	w0, [x8, x20]
	bl	_cpu_to_le32
	ldr	x8, [x19, #16]
	add	x8, x8, x20
	str	w0, [x8, #16]
	add	x20, x20, #4
	cmp	x21, x20
	b.ne	LBB0_4
LBB0_5:
	mov	w21, #0
LBB0_6:
	mov	x0, x21
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CRYPTO_TFM_RES_BAD_KEY_LEN,4,2 ; @CRYPTO_TFM_RES_BAD_KEY_LEN
	.no_dead_strip	_mv_cesa_aes_setkey
.subsections_via_symbols
