	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mtk_aes_ctr_start
_mtk_aes_ctr_start:                     ## @mtk_aes_ctr_start
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	20(%rsi), %edi
	callq	_mtk_aes_ctr_ctx_cast
	movq	%rax, %r15
	movl	16(%rbx), %edi
	callq	_ablkcipher_request_cast
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_ablkcipher_request_ctx
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_mtk_aes_set_mode
	movl	8(%r15), %edi
	movl	(%r12), %esi
	movq	_AES_BLOCK_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcpy
	movq	$0, (%r15)
	movq	$0, 8(%rbx)
	movq	_mtk_aes_ctr_transfer@GOTPCREL(%rip), %rax
	movq	%rax, (%rbx)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mtk_aes_ctr_transfer           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AES_BLOCK_SIZE,4,2             ## @AES_BLOCK_SIZE
	.no_dead_strip	_mtk_aes_ctr_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mtk_aes_ctr_start
_mtk_aes_ctr_start:                     ; @mtk_aes_ctr_start
	.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
	ldr	w0, [x1, #20]
	bl	_mtk_aes_ctr_ctx_cast
	mov	x21, x0
	ldr	w0, [x19, #16]
	bl	_ablkcipher_request_cast
	mov	x22, x0
	bl	_ablkcipher_request_ctx
	mov	x1, x0
	mov	x0, x19
	bl	_mtk_aes_set_mode
	ldr	w0, [x21, #8]
	ldr	w1, [x22]
Lloh0:
	adrp	x8, _AES_BLOCK_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AES_BLOCK_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	bl	_memcpy
	str	xzr, [x21]
Lloh3:
	adrp	x8, _mtk_aes_ctr_transfer@GOTPAGE
Lloh4:
	ldr	x8, [x8, _mtk_aes_ctr_transfer@GOTPAGEOFF]
	stp	x8, xzr, [x19]
	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	_mtk_aes_ctr_transfer
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AES_BLOCK_SIZE,4,2             ; @AES_BLOCK_SIZE
	.no_dead_strip	_mtk_aes_ctr_start
.subsections_via_symbols
