	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hubp21_set_vm_system_aperture_settings ## -- Begin function hubp21_set_vm_system_aperture_settings
	.p2align	4, 0x90
_hubp21_set_vm_system_aperture_settings: ## @hubp21_set_vm_system_aperture_settings
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	callq	_TO_DCN21_HUBP
	movl	(%rbx), %r14d
	movl	4(%rbx), %ecx
	sarl	$18, %ecx
	sarl	$18, %r14d
	movq	_DCN_VM_SYSTEM_APERTURE_LOW_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_MC_VM_SYSTEM_APERTURE_LOW_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_REG_SET
	movq	_DCN_VM_SYSTEM_APERTURE_HIGH_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_MC_VM_SYSTEM_APERTURE_HIGH_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	movl	%r14d, %ecx
	callq	_REG_SET
	movq	_DCN_VM_MX_L1_TLB_CNTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ENABLE_L1_TLB@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_SYSTEM_ACCESS_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	xorl	%esi, %esi
	movl	$1, %ecx
	movl	$3, %r9d
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_REG_SET_2                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DCN_VM_SYSTEM_APERTURE_LOW_ADDR,4,2 ## @DCN_VM_SYSTEM_APERTURE_LOW_ADDR
	.comm	_MC_VM_SYSTEM_APERTURE_LOW_ADDR,4,2 ## @MC_VM_SYSTEM_APERTURE_LOW_ADDR
	.comm	_DCN_VM_SYSTEM_APERTURE_HIGH_ADDR,4,2 ## @DCN_VM_SYSTEM_APERTURE_HIGH_ADDR
	.comm	_MC_VM_SYSTEM_APERTURE_HIGH_ADDR,4,2 ## @MC_VM_SYSTEM_APERTURE_HIGH_ADDR
	.comm	_DCN_VM_MX_L1_TLB_CNTL,4,2      ## @DCN_VM_MX_L1_TLB_CNTL
	.comm	_ENABLE_L1_TLB,4,2              ## @ENABLE_L1_TLB
	.comm	_SYSTEM_ACCESS_MODE,4,2         ## @SYSTEM_ACCESS_MODE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hubp21_set_vm_system_aperture_settings ; -- Begin function hubp21_set_vm_system_aperture_settings
	.p2align	2
_hubp21_set_vm_system_aperture_settings: ; @hubp21_set_vm_system_aperture_settings
	.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, x1
	bl	_TO_DCN21_HUBP
	ldp	w9, w8, [x19]
	asr	w3, w8, #18
	asr	w19, w9, #18
Lloh0:
	adrp	x8, _DCN_VM_SYSTEM_APERTURE_LOW_ADDR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DCN_VM_SYSTEM_APERTURE_LOW_ADDR@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _MC_VM_SYSTEM_APERTURE_LOW_ADDR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MC_VM_SYSTEM_APERTURE_LOW_ADDR@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_REG_SET
Lloh6:
	adrp	x8, _DCN_VM_SYSTEM_APERTURE_HIGH_ADDR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DCN_VM_SYSTEM_APERTURE_HIGH_ADDR@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x8, _MC_VM_SYSTEM_APERTURE_HIGH_ADDR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MC_VM_SYSTEM_APERTURE_HIGH_ADDR@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	w1, #0
	mov	x3, x19
	bl	_REG_SET
Lloh12:
	adrp	x8, _DCN_VM_MX_L1_TLB_CNTL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _DCN_VM_MX_L1_TLB_CNTL@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x8, _ENABLE_L1_TLB@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ENABLE_L1_TLB@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
Lloh18:
	adrp	x8, _SYSTEM_ACCESS_MODE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _SYSTEM_ACCESS_MODE@GOTPAGEOFF]
Lloh20:
	ldr	w4, [x8]
	mov	w1, #0
	mov	w3, #1
	mov	w5, #3
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_REG_SET_2
	.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	_DCN_VM_SYSTEM_APERTURE_LOW_ADDR,4,2 ; @DCN_VM_SYSTEM_APERTURE_LOW_ADDR
	.comm	_MC_VM_SYSTEM_APERTURE_LOW_ADDR,4,2 ; @MC_VM_SYSTEM_APERTURE_LOW_ADDR
	.comm	_DCN_VM_SYSTEM_APERTURE_HIGH_ADDR,4,2 ; @DCN_VM_SYSTEM_APERTURE_HIGH_ADDR
	.comm	_MC_VM_SYSTEM_APERTURE_HIGH_ADDR,4,2 ; @MC_VM_SYSTEM_APERTURE_HIGH_ADDR
	.comm	_DCN_VM_MX_L1_TLB_CNTL,4,2      ; @DCN_VM_MX_L1_TLB_CNTL
	.comm	_ENABLE_L1_TLB,4,2              ; @ENABLE_L1_TLB
	.comm	_SYSTEM_ACCESS_MODE,4,2         ; @SYSTEM_ACCESS_MODE
.subsections_via_symbols
