	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dce120_update_dchub
_dce120_update_dchub:                   ## @dce120_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	movl	(%rsi), %eax
	cmpl	$130, %eax
	je	LBB0_5
## %bb.1:
	cmpl	$129, %eax
	je	LBB0_4
## %bb.2:
	cmpl	$128, %eax
	jne	LBB0_7
## %bb.3:
	movq	_DCHUB_FB_LOCATION@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_FB_TOP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_FB_BASE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%edx, %edx
	movl	$65535, %r8d                    ## imm = 0xFFFF
	callq	_REG_UPDATE_2
LBB0_4:
	movq	_DCHUB_AGP_BASE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_AGP_BASE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	4(%rbx), %edx
	sarl	$22, %edx
	callq	_REG_UPDATE
	movq	_DCHUB_AGP_BOT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_AGP_BOT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	8(%rbx), %edx
	sarl	$22, %edx
	callq	_REG_UPDATE
	movq	_DCHUB_AGP_TOP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_AGP_TOP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	8(%rbx), %eax
	movl	12(%rbx), %ecx
	leal	(%rax,%rcx), %edx
	decl	%edx
	sarl	$22, %edx
	jmp	LBB0_6
LBB0_5:
	movq	_DCHUB_AGP_BASE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_AGP_BASE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_REG_UPDATE
	movq	_DCHUB_AGP_BOT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_AGP_BOT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$262143, %edx                   ## imm = 0x3FFFF
	callq	_REG_UPDATE
	movq	_DCHUB_AGP_TOP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_AGP_TOP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
LBB0_6:
	callq	_REG_UPDATE
LBB0_7:
	movq	$1, 16(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DCHUB_FB_LOCATION,4,2          ## @DCHUB_FB_LOCATION
	.comm	_FB_TOP,4,2                     ## @FB_TOP
	.comm	_FB_BASE,4,2                    ## @FB_BASE
	.comm	_DCHUB_AGP_BASE,4,2             ## @DCHUB_AGP_BASE
	.comm	_AGP_BASE,4,2                   ## @AGP_BASE
	.comm	_DCHUB_AGP_BOT,4,2              ## @DCHUB_AGP_BOT
	.comm	_AGP_BOT,4,2                    ## @AGP_BOT
	.comm	_DCHUB_AGP_TOP,4,2              ## @DCHUB_AGP_TOP
	.comm	_AGP_TOP,4,2                    ## @AGP_TOP
	.no_dead_strip	_dce120_update_dchub
.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 dce120_update_dchub
lCPI0_0:
	.long	1                               ; 0x1
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_dce120_update_dchub:                   ; @dce120_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
	ldr	w8, [x1]
	cmp	w8, #130
	b.eq	LBB0_5
; %bb.1:
	cmp	w8, #129
	b.eq	LBB0_4
; %bb.2:
	cmp	w8, #128
	b.ne	LBB0_7
; %bb.3:
Lloh0:
	adrp	x8, _DCHUB_FB_LOCATION@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DCHUB_FB_LOCATION@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _FB_TOP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FB_TOP@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _FB_BASE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FB_BASE@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	mov	w2, #0
	mov	w4, #65535
	bl	_REG_UPDATE_2
LBB0_4:
Lloh9:
	adrp	x8, _DCHUB_AGP_BASE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DCHUB_AGP_BASE@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x8, _AGP_BASE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _AGP_BASE@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	ldr	w8, [x19, #4]
	asr	w2, w8, #22
	bl	_REG_UPDATE
Lloh15:
	adrp	x8, _DCHUB_AGP_BOT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _DCHUB_AGP_BOT@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
Lloh18:
	adrp	x8, _AGP_BOT@GOTPAGE
Lloh19:
	ldr	x8, [x8, _AGP_BOT@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	ldr	w8, [x19, #8]
	asr	w2, w8, #22
	bl	_REG_UPDATE
Lloh21:
	adrp	x8, _DCHUB_AGP_TOP@GOTPAGE
Lloh22:
	ldr	x8, [x8, _DCHUB_AGP_TOP@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
Lloh24:
	adrp	x8, _AGP_TOP@GOTPAGE
Lloh25:
	ldr	x8, [x8, _AGP_TOP@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	ldp	w8, w9, [x19, #8]
	add	w8, w8, w9
	sub	w8, w8, #1
	asr	w2, w8, #22
	b	LBB0_6
LBB0_5:
Lloh27:
	adrp	x8, _DCHUB_AGP_BASE@GOTPAGE
Lloh28:
	ldr	x8, [x8, _DCHUB_AGP_BASE@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
Lloh30:
	adrp	x8, _AGP_BASE@GOTPAGE
Lloh31:
	ldr	x8, [x8, _AGP_BASE@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_REG_UPDATE
Lloh33:
	adrp	x8, _DCHUB_AGP_BOT@GOTPAGE
Lloh34:
	ldr	x8, [x8, _DCHUB_AGP_BOT@GOTPAGEOFF]
Lloh35:
	ldr	w0, [x8]
Lloh36:
	adrp	x8, _AGP_BOT@GOTPAGE
Lloh37:
	ldr	x8, [x8, _AGP_BOT@GOTPAGEOFF]
Lloh38:
	ldr	w1, [x8]
	mov	w2, #262143
	bl	_REG_UPDATE
Lloh39:
	adrp	x8, _DCHUB_AGP_TOP@GOTPAGE
Lloh40:
	ldr	x8, [x8, _DCHUB_AGP_TOP@GOTPAGEOFF]
Lloh41:
	ldr	w0, [x8]
Lloh42:
	adrp	x8, _AGP_TOP@GOTPAGE
Lloh43:
	ldr	x8, [x8, _AGP_TOP@GOTPAGEOFF]
Lloh44:
	ldr	w1, [x8]
	mov	w2, #0
LBB0_6:
	bl	_REG_UPDATE
LBB0_7:
Lloh45:
	adrp	x8, lCPI0_0@PAGE
Lloh46:
	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 AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.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	Lloh42, Lloh43, Lloh44
	.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 AdrpLdr	Lloh45, Lloh46
	.cfi_endproc
                                        ; -- End function
	.comm	_DCHUB_FB_LOCATION,4,2          ; @DCHUB_FB_LOCATION
	.comm	_FB_TOP,4,2                     ; @FB_TOP
	.comm	_FB_BASE,4,2                    ; @FB_BASE
	.comm	_DCHUB_AGP_BASE,4,2             ; @DCHUB_AGP_BASE
	.comm	_AGP_BASE,4,2                   ; @AGP_BASE
	.comm	_DCHUB_AGP_BOT,4,2              ; @DCHUB_AGP_BOT
	.comm	_AGP_BOT,4,2                    ; @AGP_BOT
	.comm	_DCHUB_AGP_TOP,4,2              ; @DCHUB_AGP_TOP
	.comm	_AGP_TOP,4,2                    ; @AGP_TOP
	.no_dead_strip	_dce120_update_dchub
.subsections_via_symbols
