	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mtk_chkdata_reg
_mtk_chkdata_reg:                       ## @mtk_chkdata_reg
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $esi killed $esi def $rsi
	movq	(%rdi), %rax
	movq	(%rax), %rcx
	movq	_MTK_CHKDATA_REG@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	leal	(,%rsi,4), %eax
	addl	(%rcx,%rdx,4), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MTK_CHKDATA_REG,8,3            ## @MTK_CHKDATA_REG
	.no_dead_strip	_mtk_chkdata_reg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mtk_chkdata_reg
_mtk_chkdata_reg:                       ; @mtk_chkdata_reg
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _MTK_CHKDATA_REG@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MTK_CHKDATA_REG@GOTPAGEOFF]
	ldr	x8, [x8]
Lloh2:
	ldr	x9, [x9]
	ldr	w8, [x8, x9, lsl #2]
	add	w0, w8, w1, lsl #2
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MTK_CHKDATA_REG,8,3            ; @MTK_CHKDATA_REG
	.no_dead_strip	_mtk_chkdata_reg
.subsections_via_symbols
