	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mtk_aes_padlen
_mtk_aes_padlen:                        ## @mtk_aes_padlen
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_AES_BLOCK_SIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	leaq	-1(%rax), %rcx
	andq	%rdi, %rcx
	subq	%rcx, %rax
	testq	%rcx, %rcx
	cmoveq	%rcx, %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AES_BLOCK_SIZE,4,2             ## @AES_BLOCK_SIZE
	.no_dead_strip	_mtk_aes_padlen
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mtk_aes_padlen
_mtk_aes_padlen:                        ; @mtk_aes_padlen
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _AES_BLOCK_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AES_BLOCK_SIZE@GOTPAGEOFF]
Lloh2:
	ldrsw	x8, [x8]
	sub	x9, x8, #1
	ands	x10, x9, x0
	sub	x8, x8, x10
	tst	x9, x0
	csel	x0, xzr, x8, eq
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AES_BLOCK_SIZE,4,2             ; @AES_BLOCK_SIZE
	.no_dead_strip	_mtk_aes_padlen
.subsections_via_symbols
