	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mmhub_v1_0_get_fb_location     ## -- Begin function mmhub_v1_0_get_fb_location
	.p2align	4, 0x90
_mmhub_v1_0_get_fb_location:            ## @mmhub_v1_0_get_fb_location
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_MMHUB@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	_mmMC_VM_FB_LOCATION_BASE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_RREG32_SOC15
	movl	%eax, %ebx
	movl	(%r15), %edi
	movq	_mmMC_VM_FB_LOCATION_TOP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_RREG32_SOC15
	movq	_MC_VM_FB_LOCATION_BASE__FB_BASE_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %ebx
	movq	_MC_VM_FB_LOCATION_TOP__FB_TOP_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	shll	$24, %ebx
	shll	$24, %eax
	movl	%ebx, (%r14)
	movl	%eax, 4(%r14)
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MMHUB,4,2                      ## @MMHUB
	.comm	_mmMC_VM_FB_LOCATION_BASE,4,2   ## @mmMC_VM_FB_LOCATION_BASE
	.comm	_mmMC_VM_FB_LOCATION_TOP,4,2    ## @mmMC_VM_FB_LOCATION_TOP
	.comm	_MC_VM_FB_LOCATION_BASE__FB_BASE_MASK,4,2 ## @MC_VM_FB_LOCATION_BASE__FB_BASE_MASK
	.comm	_MC_VM_FB_LOCATION_TOP__FB_TOP_MASK,4,2 ## @MC_VM_FB_LOCATION_TOP__FB_TOP_MASK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mmhub_v1_0_get_fb_location     ; -- Begin function mmhub_v1_0_get_fb_location
	.p2align	2
_mmhub_v1_0_get_fb_location:            ; @mmhub_v1_0_get_fb_location
	.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, x0
Lloh0:
	adrp	x21, _MMHUB@GOTPAGE
Lloh1:
	ldr	x21, [x21, _MMHUB@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh2:
	adrp	x8, _mmMC_VM_FB_LOCATION_BASE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _mmMC_VM_FB_LOCATION_BASE@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_RREG32_SOC15
	mov	x20, x0
	ldr	w0, [x21]
Lloh5:
	adrp	x8, _mmMC_VM_FB_LOCATION_TOP@GOTPAGE
Lloh6:
	ldr	x8, [x8, _mmMC_VM_FB_LOCATION_TOP@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_RREG32_SOC15
Lloh8:
	adrp	x8, _MC_VM_FB_LOCATION_BASE__FB_BASE_MASK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MC_VM_FB_LOCATION_BASE__FB_BASE_MASK@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	and	w8, w8, w20
	lsl	w8, w8, #24
Lloh11:
	adrp	x9, _MC_VM_FB_LOCATION_TOP__FB_TOP_MASK@GOTPAGE
Lloh12:
	ldr	x9, [x9, _MC_VM_FB_LOCATION_TOP__FB_TOP_MASK@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	and	w9, w9, w0
	lsl	w9, w9, #24
	stp	w8, w9, [x19]
	mov	x0, x8
	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	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MMHUB,4,2                      ; @MMHUB
	.comm	_mmMC_VM_FB_LOCATION_BASE,4,2   ; @mmMC_VM_FB_LOCATION_BASE
	.comm	_mmMC_VM_FB_LOCATION_TOP,4,2    ; @mmMC_VM_FB_LOCATION_TOP
	.comm	_MC_VM_FB_LOCATION_BASE__FB_BASE_MASK,4,2 ; @MC_VM_FB_LOCATION_BASE__FB_BASE_MASK
	.comm	_MC_VM_FB_LOCATION_TOP__FB_TOP_MASK,4,2 ; @MC_VM_FB_LOCATION_TOP__FB_TOP_MASK
.subsections_via_symbols
