	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_radeon_atom_disp_eng_pll_init  ## -- Begin function radeon_atom_disp_eng_pll_init
	.p2align	4, 0x90
_radeon_atom_disp_eng_pll_init:         ## @radeon_atom_disp_eng_pll_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_ASIC_IS_DCE6
	testq	%rax, %rax
	je	LBB0_1
## %bb.6:
	movl	(%rbx), %esi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_atombios_crtc_set_disp_eng_pll ## TAILCALL
LBB0_1:
	movq	%rbx, %rdi
	callq	_ASIC_IS_DCE4
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movq	_ASIC_INTERNAL_SS_ON_DCPLL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%rbx), %ecx
	leaq	-32(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_radeon_atombios_get_asic_ss_info
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movq	_ATOM_DISABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ATOM_DCPLL@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	leaq	-32(%rbp), %r14
	movq	%rbx, %rdi
	movl	$-1, %ecx
	movq	%r14, %r8
	callq	_atombios_crtc_program_ss
	movl	(%rbx), %esi
	movq	%rbx, %rdi
	callq	_atombios_crtc_set_disp_eng_pll
	movq	_ATOM_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r15), %edx
	movq	%rbx, %rdi
	movl	$-1, %ecx
	movq	%r14, %r8
	callq	_atombios_crtc_program_ss
	jmp	LBB0_5
LBB0_4:
	movl	(%rbx), %esi
	movq	%rbx, %rdi
	callq	_atombios_crtc_set_disp_eng_pll
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ASIC_INTERNAL_SS_ON_DCPLL,4,2  ## @ASIC_INTERNAL_SS_ON_DCPLL
	.comm	_ATOM_DISABLE,4,2               ## @ATOM_DISABLE
	.comm	_ATOM_DCPLL,4,2                 ## @ATOM_DCPLL
	.comm	_ATOM_ENABLE,4,2                ## @ATOM_ENABLE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_radeon_atom_disp_eng_pll_init  ; -- Begin function radeon_atom_disp_eng_pll_init
	.p2align	2
_radeon_atom_disp_eng_pll_init:         ; @radeon_atom_disp_eng_pll_init
	.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
	mov	x19, x0
	bl	_ASIC_IS_DCE6
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w1, [x19]
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_atombios_crtc_set_disp_eng_pll
LBB0_2:
	mov	x0, x19
	bl	_ASIC_IS_DCE4
	cbz	x0, LBB0_6
; %bb.3:
Lloh0:
	adrp	x8, _ASIC_INTERNAL_SS_ON_DCPLL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ASIC_INTERNAL_SS_ON_DCPLL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	ldr	w3, [x19]
	add	x1, sp, #8
	mov	x0, x19
	bl	_radeon_atombios_get_asic_ss_info
	cbz	w0, LBB0_5
; %bb.4:
Lloh3:
	adrp	x8, _ATOM_DISABLE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ATOM_DISABLE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x20, _ATOM_DCPLL@GOTPAGE
Lloh7:
	ldr	x20, [x20, _ATOM_DCPLL@GOTPAGEOFF]
	ldr	w2, [x20]
	add	x4, sp, #8
	mov	x0, x19
	mov	w3, #-1
	bl	_atombios_crtc_program_ss
	ldr	w1, [x19]
	mov	x0, x19
	bl	_atombios_crtc_set_disp_eng_pll
Lloh8:
	adrp	x8, _ATOM_ENABLE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ATOM_ENABLE@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	ldr	w2, [x20]
	add	x4, sp, #8
	mov	x0, x19
	mov	w3, #-1
	bl	_atombios_crtc_program_ss
	b	LBB0_6
LBB0_5:
	ldr	w1, [x19]
	mov	x0, x19
	bl	_atombios_crtc_set_disp_eng_pll
LBB0_6:
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ASIC_INTERNAL_SS_ON_DCPLL,4,2  ; @ASIC_INTERNAL_SS_ON_DCPLL
	.comm	_ATOM_DISABLE,4,2               ; @ATOM_DISABLE
	.comm	_ATOM_DCPLL,4,2                 ; @ATOM_DCPLL
	.comm	_ATOM_ENABLE,4,2                ; @ATOM_ENABLE
.subsections_via_symbols
