	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hubbub2_init_dchub_sys_ctx     ## -- Begin function hubbub2_init_dchub_sys_ctx
	.p2align	4, 0x90
_hubbub2_init_dchub_sys_ctx:            ## @hubbub2_init_dchub_sys_ctx
	.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
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	callq	_TO_DCN20_HUBBUB
	movq	%rax, %r14
	movq	_DCN_VM_FB_LOCATION_BASE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_FB_BASE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movsbl	19(%rbx), %ecx
	xorl	%esi, %esi
	callq	_REG_SET
	movq	_DCN_VM_FB_LOCATION_TOP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_FB_TOP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movsbl	23(%rbx), %ecx
	xorl	%esi, %esi
	callq	_REG_SET
	movq	_DCN_VM_FB_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_FB_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movsbl	27(%rbx), %ecx
	xorl	%esi, %esi
	callq	_REG_SET
	movq	_DCN_VM_AGP_BOT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_AGP_BOT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movsbl	31(%rbx), %ecx
	xorl	%esi, %esi
	callq	_REG_SET
	movq	_DCN_VM_AGP_TOP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_AGP_TOP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movsbl	35(%rbx), %ecx
	xorl	%esi, %esi
	callq	_REG_SET
	movq	_DCN_VM_AGP_BASE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_AGP_BASE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movsbl	39(%rbx), %ecx
	xorl	%esi, %esi
	callq	_REG_SET
	movq	_DCN_VM_PROTECTION_FAULT_DEFAULT_ADDR_MSB@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	movl	%edi, %edx
	callq	_REG_SET
	movq	_DCN_VM_PROTECTION_FAULT_DEFAULT_ADDR_LSB@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %ecx
	sarl	$12, %ecx
	xorl	%esi, %esi
	movl	%edi, %edx
	callq	_REG_SET
	movl	4(%rbx), %ecx
	movl	8(%rbx), %eax
	cmpl	%eax, %ecx
	je	LBB0_2
## %bb.1:
	sarl	$12, %ecx
	movl	%ecx, -48(%rbp)
	sarl	$12, %eax
	movl	%eax, -44(%rbp)
	movl	12(%rbx), %eax
	movl	%eax, -24(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -40(%rbp)
	movq	(%r14), %rdi
	leaq	-48(%rbp), %rsi
	callq	_dcn20_vmid_setup
LBB0_2:
	movq	_NUM_VMID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DCN_VM_FB_LOCATION_BASE,4,2    ## @DCN_VM_FB_LOCATION_BASE
	.comm	_FB_BASE,4,2                    ## @FB_BASE
	.comm	_DCN_VM_FB_LOCATION_TOP,4,2     ## @DCN_VM_FB_LOCATION_TOP
	.comm	_FB_TOP,4,2                     ## @FB_TOP
	.comm	_DCN_VM_FB_OFFSET,4,2           ## @DCN_VM_FB_OFFSET
	.comm	_FB_OFFSET,4,2                  ## @FB_OFFSET
	.comm	_DCN_VM_AGP_BOT,4,2             ## @DCN_VM_AGP_BOT
	.comm	_AGP_BOT,4,2                    ## @AGP_BOT
	.comm	_DCN_VM_AGP_TOP,4,2             ## @DCN_VM_AGP_TOP
	.comm	_AGP_TOP,4,2                    ## @AGP_TOP
	.comm	_DCN_VM_AGP_BASE,4,2            ## @DCN_VM_AGP_BASE
	.comm	_AGP_BASE,4,2                   ## @AGP_BASE
	.comm	_DCN_VM_PROTECTION_FAULT_DEFAULT_ADDR_MSB,4,2 ## @DCN_VM_PROTECTION_FAULT_DEFAULT_ADDR_MSB
	.comm	_DCN_VM_PROTECTION_FAULT_DEFAULT_ADDR_LSB,4,2 ## @DCN_VM_PROTECTION_FAULT_DEFAULT_ADDR_LSB
	.comm	_NUM_VMID,4,2                   ## @NUM_VMID
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hubbub2_init_dchub_sys_ctx     ; -- Begin function hubbub2_init_dchub_sys_ctx
	.p2align	2
_hubbub2_init_dchub_sys_ctx:            ; @hubbub2_init_dchub_sys_ctx
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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_DCN20_HUBBUB
	mov	x20, x0
Lloh0:
	adrp	x8, _DCN_VM_FB_LOCATION_BASE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DCN_VM_FB_LOCATION_BASE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _FB_BASE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FB_BASE@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	ldrsb	w3, [x19, #19]
	mov	w1, #0
	bl	_REG_SET
Lloh6:
	adrp	x8, _DCN_VM_FB_LOCATION_TOP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DCN_VM_FB_LOCATION_TOP@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x8, _FB_TOP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _FB_TOP@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	ldrsb	w3, [x19, #23]
	mov	w1, #0
	bl	_REG_SET
Lloh12:
	adrp	x8, _DCN_VM_FB_OFFSET@GOTPAGE
Lloh13:
	ldr	x8, [x8, _DCN_VM_FB_OFFSET@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x8, _FB_OFFSET@GOTPAGE
Lloh16:
	ldr	x8, [x8, _FB_OFFSET@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	ldrsb	w3, [x19, #27]
	mov	w1, #0
	bl	_REG_SET
Lloh18:
	adrp	x8, _DCN_VM_AGP_BOT@GOTPAGE
Lloh19:
	ldr	x8, [x8, _DCN_VM_AGP_BOT@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
Lloh21:
	adrp	x8, _AGP_BOT@GOTPAGE
Lloh22:
	ldr	x8, [x8, _AGP_BOT@GOTPAGEOFF]
Lloh23:
	ldr	w2, [x8]
	ldrsb	w3, [x19, #31]
	mov	w1, #0
	bl	_REG_SET
Lloh24:
	adrp	x8, _DCN_VM_AGP_TOP@GOTPAGE
Lloh25:
	ldr	x8, [x8, _DCN_VM_AGP_TOP@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
Lloh27:
	adrp	x8, _AGP_TOP@GOTPAGE
Lloh28:
	ldr	x8, [x8, _AGP_TOP@GOTPAGEOFF]
Lloh29:
	ldr	w2, [x8]
	ldrsb	w3, [x19, #35]
	mov	w1, #0
	bl	_REG_SET
Lloh30:
	adrp	x8, _DCN_VM_AGP_BASE@GOTPAGE
Lloh31:
	ldr	x8, [x8, _DCN_VM_AGP_BASE@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
Lloh33:
	adrp	x8, _AGP_BASE@GOTPAGE
Lloh34:
	ldr	x8, [x8, _AGP_BASE@GOTPAGEOFF]
Lloh35:
	ldr	w2, [x8]
	ldrsb	w3, [x19, #39]
	mov	w1, #0
	bl	_REG_SET
Lloh36:
	adrp	x8, _DCN_VM_PROTECTION_FAULT_DEFAULT_ADDR_MSB@GOTPAGE
Lloh37:
	ldr	x8, [x8, _DCN_VM_PROTECTION_FAULT_DEFAULT_ADDR_MSB@GOTPAGEOFF]
Lloh38:
	ldr	w0, [x8]
	mov	w1, #0
	mov	x2, x0
	bl	_REG_SET
Lloh39:
	adrp	x8, _DCN_VM_PROTECTION_FAULT_DEFAULT_ADDR_LSB@GOTPAGE
Lloh40:
	ldr	x8, [x8, _DCN_VM_PROTECTION_FAULT_DEFAULT_ADDR_LSB@GOTPAGEOFF]
Lloh41:
	ldr	w0, [x8]
	ldr	w8, [x19]
	asr	w3, w8, #12
	mov	w1, #0
	mov	x2, x0
	bl	_REG_SET
	ldp	w9, w8, [x19, #4]
	cmp	w9, w8
	b.eq	LBB0_2
; %bb.1:
	asr	w9, w9, #12
	asr	w8, w8, #12
	stp	w9, w8, [sp]
	ldr	w8, [x19, #12]
	str	w8, [sp, #24]
	stp	xzr, xzr, [sp, #8]
	ldr	x0, [x20]
	mov	x1, sp
	bl	_dcn20_vmid_setup
LBB0_2:
Lloh42:
	adrp	x8, _NUM_VMID@GOTPAGE
Lloh43:
	ldr	x8, [x8, _NUM_VMID@GOTPAGEOFF]
Lloh44:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.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
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.cfi_endproc
                                        ; -- End function
	.comm	_DCN_VM_FB_LOCATION_BASE,4,2    ; @DCN_VM_FB_LOCATION_BASE
	.comm	_FB_BASE,4,2                    ; @FB_BASE
	.comm	_DCN_VM_FB_LOCATION_TOP,4,2     ; @DCN_VM_FB_LOCATION_TOP
	.comm	_FB_TOP,4,2                     ; @FB_TOP
	.comm	_DCN_VM_FB_OFFSET,4,2           ; @DCN_VM_FB_OFFSET
	.comm	_FB_OFFSET,4,2                  ; @FB_OFFSET
	.comm	_DCN_VM_AGP_BOT,4,2             ; @DCN_VM_AGP_BOT
	.comm	_AGP_BOT,4,2                    ; @AGP_BOT
	.comm	_DCN_VM_AGP_TOP,4,2             ; @DCN_VM_AGP_TOP
	.comm	_AGP_TOP,4,2                    ; @AGP_TOP
	.comm	_DCN_VM_AGP_BASE,4,2            ; @DCN_VM_AGP_BASE
	.comm	_AGP_BASE,4,2                   ; @AGP_BASE
	.comm	_DCN_VM_PROTECTION_FAULT_DEFAULT_ADDR_MSB,4,2 ; @DCN_VM_PROTECTION_FAULT_DEFAULT_ADDR_MSB
	.comm	_DCN_VM_PROTECTION_FAULT_DEFAULT_ADDR_LSB,4,2 ; @DCN_VM_PROTECTION_FAULT_DEFAULT_ADDR_LSB
	.comm	_NUM_VMID,4,2                   ; @NUM_VMID
.subsections_via_symbols
