	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_hw_reg_base
_get_hw_reg_base:                       ## @get_hw_reg_base
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	movq	_VDEC_TOP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_mtk_vcodec_get_reg_addr
	movq	%rax, 56(%rbx)
	movl	(%rbx), %edi
	movq	_VDEC_CM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_mtk_vcodec_get_reg_addr
	movq	%rax, 48(%rbx)
	movl	(%rbx), %edi
	movq	_VDEC_HWD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_mtk_vcodec_get_reg_addr
	movq	%rax, 40(%rbx)
	movl	(%rbx), %edi
	movq	_VDEC_SYS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_mtk_vcodec_get_reg_addr
	movq	%rax, 32(%rbx)
	movl	(%rbx), %edi
	movq	_VDEC_MISC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_mtk_vcodec_get_reg_addr
	movq	%rax, 24(%rbx)
	movl	(%rbx), %edi
	movq	_VDEC_LD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_mtk_vcodec_get_reg_addr
	movq	%rax, 16(%rbx)
	movl	(%rbx), %edi
	movq	_VDEC_HWB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_mtk_vcodec_get_reg_addr
	movq	%rax, 8(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VDEC_TOP,4,2                   ## @VDEC_TOP
	.comm	_VDEC_CM,4,2                    ## @VDEC_CM
	.comm	_VDEC_HWD,4,2                   ## @VDEC_HWD
	.comm	_VDEC_SYS,4,2                   ## @VDEC_SYS
	.comm	_VDEC_MISC,4,2                  ## @VDEC_MISC
	.comm	_VDEC_LD,4,2                    ## @VDEC_LD
	.comm	_VDEC_HWB,4,2                   ## @VDEC_HWB
	.no_dead_strip	_get_hw_reg_base
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_hw_reg_base
_get_hw_reg_base:                       ; @get_hw_reg_base
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w0, [x0]
Lloh0:
	adrp	x8, _VDEC_TOP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VDEC_TOP@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_mtk_vcodec_get_reg_addr
	str	x0, [x19, #56]
	ldr	w0, [x19]
Lloh3:
	adrp	x8, _VDEC_CM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VDEC_CM@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_mtk_vcodec_get_reg_addr
	str	x0, [x19, #48]
	ldr	w0, [x19]
Lloh6:
	adrp	x8, _VDEC_HWD@GOTPAGE
Lloh7:
	ldr	x8, [x8, _VDEC_HWD@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_mtk_vcodec_get_reg_addr
	str	x0, [x19, #40]
	ldr	w0, [x19]
Lloh9:
	adrp	x8, _VDEC_SYS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _VDEC_SYS@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	bl	_mtk_vcodec_get_reg_addr
	str	x0, [x19, #32]
	ldr	w0, [x19]
Lloh12:
	adrp	x8, _VDEC_MISC@GOTPAGE
Lloh13:
	ldr	x8, [x8, _VDEC_MISC@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	bl	_mtk_vcodec_get_reg_addr
	str	x0, [x19, #24]
	ldr	w0, [x19]
Lloh15:
	adrp	x8, _VDEC_LD@GOTPAGE
Lloh16:
	ldr	x8, [x8, _VDEC_LD@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	bl	_mtk_vcodec_get_reg_addr
	str	x0, [x19, #16]
	ldr	w0, [x19]
Lloh18:
	adrp	x8, _VDEC_HWB@GOTPAGE
Lloh19:
	ldr	x8, [x8, _VDEC_HWB@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	bl	_mtk_vcodec_get_reg_addr
	str	x0, [x19, #8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_VDEC_TOP,4,2                   ; @VDEC_TOP
	.comm	_VDEC_CM,4,2                    ; @VDEC_CM
	.comm	_VDEC_HWD,4,2                   ; @VDEC_HWD
	.comm	_VDEC_SYS,4,2                   ; @VDEC_SYS
	.comm	_VDEC_MISC,4,2                  ; @VDEC_MISC
	.comm	_VDEC_LD,4,2                    ; @VDEC_LD
	.comm	_VDEC_HWB,4,2                   ; @VDEC_HWB
	.no_dead_strip	_get_hw_reg_base
.subsections_via_symbols
