	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function atombios_crtc_set_disp_eng_pll
_atombios_crtc_set_disp_eng_pll:        ## @atombios_crtc_set_disp_eng_pll
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %r14
	leaq	-40(%rbp), %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movq	_COMMAND@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SetPixelClock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_GetIndexIntoMasterTable
	movl	%eax, %ebx
	movl	(%r14), %edi
	leaq	-48(%rbp), %rdx
	leaq	-44(%rbp), %rcx
	movl	%eax, %esi
	callq	_atom_parse_cmd_header
	testl	%eax, %eax
	je	LBB0_14
## %bb.1:
	movl	-48(%rbp), %esi
	movl	-44(%rbp), %edx
	cmpl	$1, %esi
	jne	LBB0_12
## %bb.2:
	cmpl	$6, %edx
	je	LBB0_6
## %bb.3:
	cmpl	$5, %edx
	jne	LBB0_11
## %bb.4:
	movq	_ATOM_CRTC_INVALID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -28(%rbp)
	movl	%r15d, %edi
	callq	_cpu_to_le16
	movl	%eax, -32(%rbp)
LBB0_5:
	movq	_ATOM_DCPLL@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_12:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_13
LBB0_6:
	movl	%r15d, %edi
	callq	_cpu_to_le32
	movl	%eax, -32(%rbp)
	movq	%r14, %rdi
	callq	_ASIC_IS_DCE61
	testl	%eax, %eax
	je	LBB0_9
## %bb.7:
	movq	_ATOM_EXT_PLL1@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_11:
	leaq	L_.str(%rip), %rdi
	movl	$1, %esi
LBB0_13:
	callq	_DRM_ERROR
	jmp	LBB0_14
LBB0_9:
	movq	%r14, %rdi
	callq	_ASIC_IS_DCE6
	testl	%eax, %eax
	je	LBB0_5
## %bb.10:
	movq	_ATOM_PPLL0@GOTPCREL(%rip), %rax
LBB0_8:
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movl	(%r14), %edi
	leaq	-40(%rbp), %rdx
	movl	%ebx, %esi
	callq	_atom_execute_table
LBB0_14:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_COMMAND,4,2                    ## @COMMAND
	.comm	_SetPixelClock,4,2              ## @SetPixelClock
	.comm	_ATOM_CRTC_INVALID,4,2          ## @ATOM_CRTC_INVALID
	.comm	_ATOM_DCPLL,8,3                 ## @ATOM_DCPLL
	.comm	_ATOM_EXT_PLL1,8,3              ## @ATOM_EXT_PLL1
	.comm	_ATOM_PPLL0,8,3                 ## @ATOM_PPLL0
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unknown table version %d %d\n"

	.no_dead_strip	_atombios_crtc_set_disp_eng_pll
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function atombios_crtc_set_disp_eng_pll
_atombios_crtc_set_disp_eng_pll:        ; @atombios_crtc_set_disp_eng_pll
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x21, x1
	mov	x19, x0
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #16
	bl	_memset
Lloh0:
	adrp	x8, _COMMAND@GOTPAGE
Lloh1:
	ldr	x8, [x8, _COMMAND@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _SetPixelClock@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SetPixelClock@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_GetIndexIntoMasterTable
	mov	x20, x0
	ldr	w0, [x19]
	add	x2, sp, #28
	add	x3, sp, #24
	mov	x1, x20
	bl	_atom_parse_cmd_header
	cbz	w0, LBB0_14
; %bb.1:
	ldp	w2, w1, [sp, #24]
	cmp	w1, #1
	b.ne	LBB0_6
; %bb.2:
	cmp	w2, #6
	b.eq	LBB0_7
; %bb.3:
	cmp	w2, #5
	b.ne	LBB0_9
; %bb.4:
Lloh6:
	adrp	x8, _ATOM_CRTC_INVALID@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ATOM_CRTC_INVALID@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [sp, #20]
	mov	x0, x21
	bl	_cpu_to_le16
	str	w0, [sp, #16]
LBB0_5:
Lloh9:
	adrp	x8, _ATOM_DCPLL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ATOM_DCPLL@GOTPAGEOFF]
	b	LBB0_13
LBB0_6:
Lloh11:
	adrp	x0, l_.str@PAGE
Lloh12:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_10
LBB0_7:
	mov	x0, x21
	bl	_cpu_to_le32
	str	w0, [sp, #16]
	mov	x0, x19
	bl	_ASIC_IS_DCE61
	cbz	w0, LBB0_11
; %bb.8:
Lloh13:
	adrp	x8, _ATOM_EXT_PLL1@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ATOM_EXT_PLL1@GOTPAGEOFF]
	b	LBB0_13
LBB0_9:
Lloh15:
	adrp	x0, l_.str@PAGE
Lloh16:
	add	x0, x0, l_.str@PAGEOFF
	mov	w1, #1
LBB0_10:
	bl	_DRM_ERROR
	b	LBB0_14
LBB0_11:
	mov	x0, x19
	bl	_ASIC_IS_DCE6
	cbz	w0, LBB0_5
; %bb.12:
Lloh17:
	adrp	x8, _ATOM_PPLL0@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ATOM_PPLL0@GOTPAGEOFF]
LBB0_13:
	ldr	x8, [x8]
	str	x8, [sp, #8]
	ldr	w0, [x19]
	add	x2, sp, #8
	mov	x1, x20
	bl	_atom_execute_table
LBB0_14:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_COMMAND,4,2                    ; @COMMAND
	.comm	_SetPixelClock,4,2              ; @SetPixelClock
	.comm	_ATOM_CRTC_INVALID,4,2          ; @ATOM_CRTC_INVALID
	.comm	_ATOM_DCPLL,8,3                 ; @ATOM_DCPLL
	.comm	_ATOM_EXT_PLL1,8,3              ; @ATOM_EXT_PLL1
	.comm	_ATOM_PPLL0,8,3                 ; @ATOM_PPLL0
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unknown table version %d %d\n"

	.no_dead_strip	_atombios_crtc_set_disp_eng_pll
.subsections_via_symbols
