	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hubp1_set_blank                ## -- Begin function hubp1_set_blank
	.p2align	4, 0x90
_hubp1_set_blank:                       ## @hubp1_set_blank
	.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
	movl	%esi, %ebx
	movq	%rdi, %r14
	callq	_TO_DCN10_HUBP
	xorl	%edx, %edx
	testl	%ebx, %ebx
	setne	%dl
	movq	_DCHUBP_CNTL@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	_HUBP_BLANK_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_HUBP_TTU_DISABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%edx, %r8d
	callq	_REG_UPDATE_2
	testl	%ebx, %ebx
	je	LBB0_4
## %bb.1:
	movl	(%r15), %edi
	callq	_REG_READ
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	movl	(%r15), %edi
	movq	_HUBP_NO_OUTSTANDING_REQ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %edx
	movl	$1, %ecx
	movl	$200, %r8d
	callq	_REG_WAIT
LBB0_3:
	movl	$15, (%r14)
	movq	_OPP_ID_INVALID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r14)
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DCHUBP_CNTL,4,2                ## @DCHUBP_CNTL
	.comm	_HUBP_BLANK_EN,4,2              ## @HUBP_BLANK_EN
	.comm	_HUBP_TTU_DISABLE,4,2           ## @HUBP_TTU_DISABLE
	.comm	_HUBP_NO_OUTSTANDING_REQ,4,2    ## @HUBP_NO_OUTSTANDING_REQ
	.comm	_OPP_ID_INVALID,4,2             ## @OPP_ID_INVALID
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hubp1_set_blank                ; -- Begin function hubp1_set_blank
	.p2align	2
_hubp1_set_blank:                       ; @hubp1_set_blank
	.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	x20, x1
	mov	x19, x0
	bl	_TO_DCN10_HUBP
	cmp	w20, #0
	cset	w2, ne
Lloh0:
	adrp	x21, _DCHUBP_CNTL@GOTPAGE
Lloh1:
	ldr	x21, [x21, _DCHUBP_CNTL@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh2:
	adrp	x8, _HUBP_BLANK_EN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HUBP_BLANK_EN@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x8, _HUBP_TTU_DISABLE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _HUBP_TTU_DISABLE@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x8]
	mov	x4, x2
	bl	_REG_UPDATE_2
	cbz	w20, LBB0_4
; %bb.1:
	ldr	w0, [x21]
	bl	_REG_READ
	cbz	w0, LBB0_3
; %bb.2:
	ldr	w0, [x21]
Lloh8:
	adrp	x8, _HUBP_NO_OUTSTANDING_REQ@GOTPAGE
Lloh9:
	ldr	x8, [x8, _HUBP_NO_OUTSTANDING_REQ@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	w2, #1
	mov	w3, #1
	mov	w4, #200
	bl	_REG_WAIT
LBB0_3:
	mov	w8, #15
	str	w8, [x19]
Lloh11:
	adrp	x8, _OPP_ID_INVALID@GOTPAGE
Lloh12:
	ldr	x8, [x8, _OPP_ID_INVALID@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	str	w8, [x19, #4]
LBB0_4:
	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	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_DCHUBP_CNTL,4,2                ; @DCHUBP_CNTL
	.comm	_HUBP_BLANK_EN,4,2              ; @HUBP_BLANK_EN
	.comm	_HUBP_TTU_DISABLE,4,2           ; @HUBP_TTU_DISABLE
	.comm	_HUBP_NO_OUTSTANDING_REQ,4,2    ; @HUBP_NO_OUTSTANDING_REQ
	.comm	_OPP_ID_INVALID,4,2             ; @OPP_ID_INVALID
.subsections_via_symbols
