	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hubbub1_update_dchub           ## -- Begin function hubbub1_update_dchub
	.p2align	4, 0x90
_hubbub1_update_dchub:                  ## @hubbub1_update_dchub
	.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, %r14
	callq	_TO_DCN10_HUBBUB
	movq	_DCHUBBUB_SDPIF_FB_TOP@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_REG
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	movl	(%r14), %eax
	cmpl	$130, %eax
	je	LBB0_6
## %bb.2:
	cmpl	$129, %eax
	je	LBB0_5
## %bb.3:
	cmpl	$128, %eax
	jne	LBB0_8
## %bb.4:
	movl	(%rbx), %edi
	movq	_SDPIF_FB_TOP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_REG_UPDATE
	movq	_DCHUBBUB_SDPIF_FB_BASE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SDPIF_FB_BASE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$65535, %edx                    ## imm = 0xFFFF
	callq	_REG_UPDATE
LBB0_5:
	movq	_DCHUBBUB_SDPIF_AGP_BASE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SDPIF_AGP_BASE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	4(%r14), %edx
	sarl	$22, %edx
	callq	_REG_UPDATE
	movq	_DCHUBBUB_SDPIF_AGP_BOT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SDPIF_AGP_BOT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	8(%r14), %edx
	sarl	$22, %edx
	callq	_REG_UPDATE
	movq	_DCHUBBUB_SDPIF_AGP_TOP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SDPIF_AGP_TOP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	8(%r14), %eax
	movl	12(%r14), %ecx
	leal	(%rax,%rcx), %edx
	decl	%edx
	sarl	$22, %edx
	jmp	LBB0_7
LBB0_9:
	xorl	%edi, %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ASSERT                         ## TAILCALL
LBB0_6:
	movq	_DCHUBBUB_SDPIF_AGP_BASE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SDPIF_AGP_BASE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_REG_UPDATE
	movq	_DCHUBBUB_SDPIF_AGP_BOT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SDPIF_AGP_BOT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$262143, %edx                   ## imm = 0x3FFFF
	callq	_REG_UPDATE
	movq	_DCHUBBUB_SDPIF_AGP_TOP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SDPIF_AGP_TOP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
LBB0_7:
	callq	_REG_UPDATE
LBB0_8:
	movq	$1, 16(%r14)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DCHUBBUB_SDPIF_FB_TOP,4,2      ## @DCHUBBUB_SDPIF_FB_TOP
	.comm	_SDPIF_FB_TOP,4,2               ## @SDPIF_FB_TOP
	.comm	_DCHUBBUB_SDPIF_FB_BASE,4,2     ## @DCHUBBUB_SDPIF_FB_BASE
	.comm	_SDPIF_FB_BASE,4,2              ## @SDPIF_FB_BASE
	.comm	_DCHUBBUB_SDPIF_AGP_BASE,4,2    ## @DCHUBBUB_SDPIF_AGP_BASE
	.comm	_SDPIF_AGP_BASE,4,2             ## @SDPIF_AGP_BASE
	.comm	_DCHUBBUB_SDPIF_AGP_BOT,4,2     ## @DCHUBBUB_SDPIF_AGP_BOT
	.comm	_SDPIF_AGP_BOT,4,2              ## @SDPIF_AGP_BOT
	.comm	_DCHUBBUB_SDPIF_AGP_TOP,4,2     ## @DCHUBBUB_SDPIF_AGP_TOP
	.comm	_SDPIF_AGP_TOP,4,2              ## @SDPIF_AGP_TOP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function hubbub1_update_dchub
lCPI0_0:
	.long	1                               ; 0x1
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_hubbub1_update_dchub
	.p2align	2
_hubbub1_update_dchub:                  ; @hubbub1_update_dchub
	.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_DCN10_HUBBUB
Lloh0:
	adrp	x20, _DCHUBBUB_SDPIF_FB_TOP@GOTPAGE
Lloh1:
	ldr	x20, [x20, _DCHUBBUB_SDPIF_FB_TOP@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_REG
	cbz	x0, LBB0_6
; %bb.1:
	ldr	w8, [x19]
	cmp	w8, #130
	b.eq	LBB0_7
; %bb.2:
	cmp	w8, #129
	b.eq	LBB0_5
; %bb.3:
	cmp	w8, #128
	b.ne	LBB0_9
; %bb.4:
	ldr	w0, [x20]
Lloh2:
	adrp	x8, _SDPIF_FB_TOP@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SDPIF_FB_TOP@GOTPAGEOFF]
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P_TOP@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	ldp	w8, w9, [x19, #8]
	add	w8, w8, w9
	sub	w8, w8, #1
	asr	w2, w8, #22
	b	LBB0_8
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ASSERT
LBB0_7:
Lloh29:
	adrp	x8, _DCHUBBUB_SDPIF_AGP_BASE@GOTPAGE
Lloh30:
	ldr	x8, [x8, _DCHUBBUB_SDPIF_AGP_BASE@GOTPAGEOFF]
Lloh31:
	ldr	w0, [x8]
Lloh32:
	adrp	x8, _SDPIF_AGP_BASE@GOTPAGE
Lloh33:
	ldr	x8, [x8, _SDPIF_AGP_BASE@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_REG_UPDATE
Lloh35:
	adrp	x8, _DCHUBBUB_SDPIF_AGP_BOT@GOTPAGE
Lloh36:
	ldr	x8, [x8, _DCHUBBUB_SDPIF_AGP_BOT@GOTPAGEOFF]
Lloh37:
	ldr	w0, [x8]
Lloh38:
	adrp	x8, _SDPIF_AGP_BOT@GOTPAGE
Lloh39:
	ldr	x8, [x8, _SDPIF_AGP_BOT@GOTPAGEOFF]
Lloh40:
	ldr	w1, [x8]
	mov	w2, #262143
	bl	_REG_UPDATE
Lloh41:
	adrp	x8, _DCHUBBUB_SDPIF_AGP_TOP@GOTPAGE
Lloh42:
	ldr	x8, [x8, _DCHUBBUB_SDPIF_AGP_TOP@GOTPAGEOFF]
Lloh43:
	ldr	w0, [x8]
Lloh44:
	adrp	x8, _SDPIF_AGP_TOP@GOTPAGE
Lloh45:
	ldr	x8, [x8, _SDPIF_AGP_TOP@GOTPAGEOFF]
Lloh46:
	ldr	w1, [x8]
	mov	w2, #0
LBB0_8:
	bl	_REG_UPDATE
LBB0_9:
Lloh47:
	adrp	x8, lCPI0_0@PAGE
Lloh48:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x19, #16]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdr	Lloh47, Lloh48
	.cfi_endproc
                                        ; -- End function
	.comm	_DCHUBBUB_SDPIF_FB_TOP,4,2      ; @DCHUBBUB_SDPIF_FB_TOP
	.comm	_SDPIF_FB_TOP,4,2               ; @SDPIF_FB_TOP
	.comm	_DCHUBBUB_SDPIF_FB_BASE,4,2     ; @DCHUBBUB_SDPIF_FB_BASE
	.comm	_SDPIF_FB_BASE,4,2              ; @SDPIF_FB_BASE
	.comm	_DCHUBBUB_SDPIF_AGP_BASE,4,2    ; @DCHUBBUB_SDPIF_AGP_BASE
	.comm	_SDPIF_AGP_BASE,4,2             ; @SDPIF_AGP_BASE
	.comm	_DCHUBBUB_SDPIF_AGP_BOT,4,2     ; @DCHUBBUB_SDPIF_AGP_BOT
	.comm	_SDPIF_AGP_BOT,4,2              ; @SDPIF_AGP_BOT
	.comm	_DCHUBBUB_SDPIF_AGP_TOP,4,2     ; @DCHUBBUB_SDPIF_AGP_TOP
	.comm	_SDPIF_AGP_TOP,4,2              ; @SDPIF_AGP_TOP
.subsections_via_symbols
