	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hubp2_dcc_control              ## -- Begin function hubp2_dcc_control
	.p2align	4, 0x90
_hubp2_dcc_control:                     ## @hubp2_dcc_control
	.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
	xorl	%r14d, %r14d
	testl	%esi, %esi
	setne	%r14b
	xorl	%ebx, %ebx
	testl	%edx, %edx
	setne	%bl
	callq	_TO_DCN20_HUBP
	movq	_DCSURF_SURFACE_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PRIMARY_SURFACE_DCC_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_PRIMARY_SURFACE_DCC_IND_64B_BLK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_SECONDARY_SURFACE_DCC_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_SECONDARY_SURFACE_DCC_IND_64B_BLK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	subq	$8, %rsp
	movl	%r14d, %edx
	movl	%ebx, %r8d
	pushq	%rbx
	pushq	%rax
	pushq	%r14
	callq	_REG_UPDATE_4
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DCSURF_SURFACE_CONTROL,4,2     ## @DCSURF_SURFACE_CONTROL
	.comm	_PRIMARY_SURFACE_DCC_EN,4,2     ## @PRIMARY_SURFACE_DCC_EN
	.comm	_PRIMARY_SURFACE_DCC_IND_64B_BLK,4,2 ## @PRIMARY_SURFACE_DCC_IND_64B_BLK
	.comm	_SECONDARY_SURFACE_DCC_EN,4,2   ## @SECONDARY_SURFACE_DCC_EN
	.comm	_SECONDARY_SURFACE_DCC_IND_64B_BLK,4,2 ## @SECONDARY_SURFACE_DCC_IND_64B_BLK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hubp2_dcc_control              ; -- Begin function hubp2_dcc_control
	.p2align	2
_hubp2_dcc_control:                     ; @hubp2_dcc_control
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	cmp	w1, #0
	cset	w19, ne
	cmp	w2, #0
	cset	w20, ne
	bl	_TO_DCN20_HUBP
Lloh0:
	adrp	x8, _DCSURF_SURFACE_CONTROL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DCSURF_SURFACE_CONTROL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _PRIMARY_SURFACE_DCC_EN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PRIMARY_SURFACE_DCC_EN@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _PRIMARY_SURFACE_DCC_IND_64B_BLK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PRIMARY_SURFACE_DCC_IND_64B_BLK@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
Lloh9:
	adrp	x8, _SECONDARY_SURFACE_DCC_EN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SECONDARY_SURFACE_DCC_EN@GOTPAGEOFF]
Lloh11:
	ldr	w5, [x8]
Lloh12:
	adrp	x8, _SECONDARY_SURFACE_DCC_IND_64B_BLK@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SECONDARY_SURFACE_DCC_IND_64B_BLK@GOTPAGEOFF]
Lloh14:
	ldr	w7, [x8]
	str	w20, [sp]
	mov	x2, x19
	mov	x4, x20
	mov	x6, x19
	bl	_REG_UPDATE_4
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.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	_DCSURF_SURFACE_CONTROL,4,2     ; @DCSURF_SURFACE_CONTROL
	.comm	_PRIMARY_SURFACE_DCC_EN,4,2     ; @PRIMARY_SURFACE_DCC_EN
	.comm	_PRIMARY_SURFACE_DCC_IND_64B_BLK,4,2 ; @PRIMARY_SURFACE_DCC_IND_64B_BLK
	.comm	_SECONDARY_SURFACE_DCC_EN,4,2   ; @SECONDARY_SURFACE_DCC_EN
	.comm	_SECONDARY_SURFACE_DCC_IND_64B_BLK,4,2 ; @SECONDARY_SURFACE_DCC_IND_64B_BLK
.subsections_via_symbols
