	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cdv_intel_find_dp_pll
_cdv_intel_find_dp_pll:                 ## @cdv_intel_find_dp_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
	movq	%r8, %r14
	movl	%ecx, %r15d
	movl	%edx, %ebx
	movq	%rsi, %rdi
	callq	_to_gma_crtc
	cmpl	$100000, %r15d                  ## imm = 0x186A0
	je	LBB0_5
## %bb.1:
	xorl	%ecx, %ecx
	cmpl	$27000, %r15d                   ## imm = 0x6978
	jne	LBB0_10
## %bb.2:
	cmpl	$199999, %ebx                   ## imm = 0x30D3F
	jg	LBB0_4
## %bb.3:
	movl	$2, -48(%rbp)
	movl	$118, %ecx
	movl	$1, %edx
	jmp	LBB0_9
LBB0_5:
	cmpl	$199999, %ebx                   ## imm = 0x30D3F
	jg	LBB0_7
## %bb.6:
	movl	$2, -48(%rbp)
	movl	$160, %ecx
	jmp	LBB0_8
LBB0_4:
	movl	$1, -48(%rbp)
	movl	$98, %ecx
	movl	$1, %edx
	jmp	LBB0_9
LBB0_7:
	movl	$1, -48(%rbp)
	movl	$133, %ecx
LBB0_8:
	movl	$5, %edx
LBB0_9:
	movl	$10, -44(%rbp)
	movl	%edx, -40(%rbp)
	movl	$0, -32(%rbp)
	movl	%ecx, -36(%rbp)
	movq	(%rax), %rax
	leaq	-48(%rbp), %rbx
	movl	%r15d, %edi
	movq	%rbx, %rsi
	callq	*(%rax)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	$20, %edx
	callq	_memcpy
	movl	$1, %ecx
LBB0_10:
	movl	%ecx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_cdv_intel_find_dp_pll
.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 cdv_intel_find_dp_pll
lCPI0_0:
	.long	5                               ; 0x5
	.long	133                             ; 0x85
lCPI0_1:
	.long	5                               ; 0x5
	.long	160                             ; 0xa0
lCPI0_2:
	.long	1                               ; 0x1
	.long	98                              ; 0x62
lCPI0_3:
	.long	1                               ; 0x1
	.long	118                             ; 0x76
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_cdv_intel_find_dp_pll:                 ; @cdv_intel_find_dp_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	x19, x4
	mov	x20, x3
	mov	x21, x2
	mov	x0, x1
	bl	_to_gma_crtc
	sub	w8, w20, #24, lsl #12           ; =98304
	cmp	w8, #1696
	b.eq	LBB0_4
; %bb.1:
	mov	w8, #27000
	cmp	w20, w8
	b.ne	LBB0_6
; %bb.2:
	mov	w8, #3392
	movk	w8, #3, lsl #16
	cmp	w21, w8
	b.ge	LBB0_7
; %bb.3:
	mov	w8, #2
	str	w8, [sp, #8]
Lloh0:
	adrp	x8, lCPI0_3@PAGE
Lloh1:
	ldr	d0, [x8, lCPI0_3@PAGEOFF]
	b	LBB0_9
LBB0_4:
	mov	w8, #3392
	movk	w8, #3, lsl #16
	cmp	w21, w8
	b.ge	LBB0_8
; %bb.5:
	mov	w8, #2
	str	w8, [sp, #8]
Lloh2:
	adrp	x8, lCPI0_1@PAGE
Lloh3:
	ldr	d0, [x8, lCPI0_1@PAGEOFF]
	b	LBB0_9
LBB0_6:
	mov	w0, #0
	b	LBB0_10
LBB0_7:
	mov	w8, #1
	str	w8, [sp, #8]
Lloh4:
	adrp	x8, lCPI0_2@PAGE
Lloh5:
	ldr	d0, [x8, lCPI0_2@PAGEOFF]
	b	LBB0_9
LBB0_8:
	mov	w8, #1
	str	w8, [sp, #8]
Lloh6:
	adrp	x8, lCPI0_0@PAGE
Lloh7:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
LBB0_9:
	mov	w8, #10
	str	w8, [sp, #12]
	str	wzr, [sp, #24]
	str	d0, [sp, #16]
	ldr	x8, [x0]
	ldr	x8, [x8]
	add	x1, sp, #8
	mov	x0, x20
	blr	x8
	add	x1, sp, #8
	mov	x0, x19
	mov	w2, #20
	bl	_memcpy
	mov	w0, #1
LBB0_10:
	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 AdrpLdr	Lloh0, Lloh1
	.loh AdrpLdr	Lloh2, Lloh3
	.loh AdrpLdr	Lloh4, Lloh5
	.loh AdrpLdr	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_cdv_intel_find_dp_pll
.subsections_via_symbols
