	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dcn20_display_init             ## -- Begin function dcn20_display_init
	.p2align	4, 0x90
_dcn20_display_init:                    ## @dcn20_display_init
	.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	(%rdi), %rbx
	movq	_RBBMIF_TIMEOUT_DIS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$-1, %esi
	callq	_REG_WRITE
	movq	_RBBMIF_TIMEOUT_DIS_2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$-1, %esi
	callq	_REG_WRITE
	movq	%rbx, %rdi
	callq	_dcn20_dccg_init
	movq	_DC_MEM_GLOBAL_PWR_REQ_CNTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_DC_MEM_GLOBAL_PWR_REQ_DIS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_REG_UPDATE
	movq	_DCHUBBUB_GLOBAL_TIMER_CNTL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	_DCHUBBUB_GLOBAL_TIMER_REFDIV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$2, %edx
	callq	_REG_UPDATE
	movl	(%rbx), %edi
	movq	_DCHUBBUB_GLOBAL_TIMER_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %edx
	callq	_REG_UPDATE
	movq	_REFCLK_CNTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_REG_WRITE
	movq	_AZALIA_AUDIO_DTO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_AZALIA_AUDIO_DTO_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$100, %edx
	callq	_REG_UPDATE
	movq	_AZALIA_CONTROLLER_CLOCK_GATING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$1, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_REG_WRITE                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RBBMIF_TIMEOUT_DIS,4,2         ## @RBBMIF_TIMEOUT_DIS
	.comm	_RBBMIF_TIMEOUT_DIS_2,4,2       ## @RBBMIF_TIMEOUT_DIS_2
	.comm	_DC_MEM_GLOBAL_PWR_REQ_CNTL,4,2 ## @DC_MEM_GLOBAL_PWR_REQ_CNTL
	.comm	_DC_MEM_GLOBAL_PWR_REQ_DIS,4,2  ## @DC_MEM_GLOBAL_PWR_REQ_DIS
	.comm	_DCHUBBUB_GLOBAL_TIMER_CNTL,4,2 ## @DCHUBBUB_GLOBAL_TIMER_CNTL
	.comm	_DCHUBBUB_GLOBAL_TIMER_REFDIV,4,2 ## @DCHUBBUB_GLOBAL_TIMER_REFDIV
	.comm	_DCHUBBUB_GLOBAL_TIMER_ENABLE,4,2 ## @DCHUBBUB_GLOBAL_TIMER_ENABLE
	.comm	_REFCLK_CNTL,4,2                ## @REFCLK_CNTL
	.comm	_AZALIA_AUDIO_DTO,4,2           ## @AZALIA_AUDIO_DTO
	.comm	_AZALIA_AUDIO_DTO_MODULE,4,2    ## @AZALIA_AUDIO_DTO_MODULE
	.comm	_AZALIA_CONTROLLER_CLOCK_GATING,4,2 ## @AZALIA_CONTROLLER_CLOCK_GATING
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dcn20_display_init             ; -- Begin function dcn20_display_init
	.p2align	2
_dcn20_display_init:                    ; @dcn20_display_init
	.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
	ldr	x19, [x0]
Lloh0:
	adrp	x8, _RBBMIF_TIMEOUT_DIS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RBBMIF_TIMEOUT_DIS@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	w1, #-1
	bl	_REG_WRITE
Lloh3:
	adrp	x8, _RBBMIF_TIMEOUT_DIS_2@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RBBMIF_TIMEOUT_DIS_2@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	w1, #-1
	bl	_REG_WRITE
	mov	x0, x19
	bl	_dcn20_dccg_init
Lloh6:
	adrp	x8, _DC_MEM_GLOBAL_PWR_REQ_CNTL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DC_MEM_GLOBAL_PWR_REQ_CNTL@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x8, _DC_MEM_GLOBAL_PWR_REQ_DIS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DC_MEM_GLOBAL_PWR_REQ_DIS@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_REG_UPDATE
Lloh12:
	adrp	x19, _DCHUBBUB_GLOBAL_TIMER_CNTL@GOTPAGE
Lloh13:
	ldr	x19, [x19, _DCHUBBUB_GLOBAL_TIMER_CNTL@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh14:
	adrp	x8, _DCHUBBUB_GLOBAL_TIMER_REFDIV@GOTPAGE
Lloh15:
	ldr	x8, [x8, _DCHUBBUB_GLOBAL_TIMER_REFDIV@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	w2, #2
	bl	_REG_UPDATE
	ldr	w0, [x19]
Lloh17:
	adrp	x8, _DCHUBBUB_GLOBAL_TIMER_ENABLE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _DCHUBBUB_GLOBAL_TIMER_ENABLE@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	w2, #1
	bl	_REG_UPDATE
Lloh20:
	adrp	x8, _REFCLK_CNTL@GOTPAGE
Lloh21:
	ldr	x8, [x8, _REFCLK_CNTL@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_REG_WRITE
Lloh23:
	adrp	x8, _AZALIA_AUDIO_DTO@GOTPAGE
Lloh24:
	ldr	x8, [x8, _AZALIA_AUDIO_DTO@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
Lloh26:
	adrp	x8, _AZALIA_AUDIO_DTO_MODULE@GOTPAGE
Lloh27:
	ldr	x8, [x8, _AZALIA_AUDIO_DTO_MODULE@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	mov	w2, #100
	bl	_REG_UPDATE
Lloh29:
	adrp	x8, _AZALIA_CONTROLLER_CLOCK_GATING@GOTPAGE
Lloh30:
	ldr	x8, [x8, _AZALIA_CONTROLLER_CLOCK_GATING@GOTPAGEOFF]
Lloh31:
	ldr	w0, [x8]
	mov	w1, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_REG_WRITE
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.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 AdrpLdrGot	Lloh12, Lloh13
	.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	_RBBMIF_TIMEOUT_DIS,4,2         ; @RBBMIF_TIMEOUT_DIS
	.comm	_RBBMIF_TIMEOUT_DIS_2,4,2       ; @RBBMIF_TIMEOUT_DIS_2
	.comm	_DC_MEM_GLOBAL_PWR_REQ_CNTL,4,2 ; @DC_MEM_GLOBAL_PWR_REQ_CNTL
	.comm	_DC_MEM_GLOBAL_PWR_REQ_DIS,4,2  ; @DC_MEM_GLOBAL_PWR_REQ_DIS
	.comm	_DCHUBBUB_GLOBAL_TIMER_CNTL,4,2 ; @DCHUBBUB_GLOBAL_TIMER_CNTL
	.comm	_DCHUBBUB_GLOBAL_TIMER_REFDIV,4,2 ; @DCHUBBUB_GLOBAL_TIMER_REFDIV
	.comm	_DCHUBBUB_GLOBAL_TIMER_ENABLE,4,2 ; @DCHUBBUB_GLOBAL_TIMER_ENABLE
	.comm	_REFCLK_CNTL,4,2                ; @REFCLK_CNTL
	.comm	_AZALIA_AUDIO_DTO,4,2           ; @AZALIA_AUDIO_DTO
	.comm	_AZALIA_AUDIO_DTO_MODULE,4,2    ; @AZALIA_AUDIO_DTO_MODULE
	.comm	_AZALIA_CONTROLLER_CLOCK_GATING,4,2 ; @AZALIA_CONTROLLER_CLOCK_GATING
.subsections_via_symbols
