	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function intel_ddi_get_crtc_pll
_intel_ddi_get_crtc_pll:                ## @intel_ddi_get_crtc_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	callq	_intel_pipe_to_cpu_transcoder
	movq	_TRANSCODER_EDP@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_2
## %bb.1:
	movq	_PORT_A@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	jmp	LBB0_5
LBB0_2:
	movl	%eax, %edi
	callq	_TRANS_DDI_FUNC_CTL
	movl	%eax, %edi
	callq	_I915_READ
	movl	%eax, %r15d
	movq	_PORT_B@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_PORT_E@GOTPCREL(%rip), %r13
                                        ## implicit-def: $r12d
	cmpl	(%r13), %ebx
	jg	LBB0_5
## %bb.3:
	movq	_TRANS_DDI_PORT_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %r15d
                                        ## implicit-def: $r12d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_TRANS_DDI_SELECT_PORT
	cmpl	%eax, %r15d
	cmovel	%ebx, %r12d
	leal	1(%rbx), %eax
	cmpl	(%r13), %ebx
	movl	%eax, %ebx
	jl	LBB0_4
LBB0_5:
	movl	%r12d, %edi
	callq	_PORT_CLK_SEL
	movl	%eax, %edi
	callq	_I915_READ
	movl	%eax, %ebx
	movl	%r14d, %edi
	callq	_pipe_name
	movl	%eax, %r14d
	movl	%r12d, %edi
	callq	_port_name
	leaq	L_.str(%rip), %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	movl	%ebx, %ecx
	callq	_DRM_DEBUG_KMS
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TRANSCODER_EDP,4,2             ## @TRANSCODER_EDP
	.comm	_PORT_A,4,2                     ## @PORT_A
	.comm	_TRANS_DDI_PORT_MASK,4,2        ## @TRANS_DDI_PORT_MASK
	.comm	_PORT_B,4,2                     ## @PORT_B
	.comm	_PORT_E,4,2                     ## @PORT_E
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Pipe %c connected to port %c using clock 0x%08x\n"

	.no_dead_strip	_intel_ddi_get_crtc_pll
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function intel_ddi_get_crtc_pll
_intel_ddi_get_crtc_pll:                ; @intel_ddi_get_crtc_pll
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	bl	_intel_pipe_to_cpu_transcoder
Lloh0:
	adrp	x8, _TRANSCODER_EDP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TRANSCODER_EDP@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _PORT_A@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PORT_A@GOTPAGEOFF]
Lloh5:
	ldr	w20, [x8]
	b	LBB0_5
LBB0_2:
	bl	_TRANS_DDI_FUNC_CTL
	bl	_I915_READ
Lloh6:
	adrp	x8, _PORT_B@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PORT_B@GOTPAGEOFF]
Lloh8:
	ldr	w21, [x8]
Lloh9:
	adrp	x22, _PORT_E@GOTPAGE
Lloh10:
	ldr	x22, [x22, _PORT_E@GOTPAGEOFF]
	ldr	w8, [x22]
                                        ; implicit-def: $w20
	cmp	w21, w8
	b.gt	LBB0_5
; %bb.3:
Lloh11:
	adrp	x8, _TRANS_DDI_PORT_MASK@GOTPAGE
Lloh12:
	ldr	x8, [x8, _TRANS_DDI_PORT_MASK@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	and	w23, w8, w0
                                        ; implicit-def: $w20
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_TRANS_DDI_SELECT_PORT
	cmp	w23, w0
	csel	w20, w21, w20, eq
	add	w8, w21, #1
	ldr	w9, [x22]
	cmp	w21, w9
	mov	x21, x8
	b.lt	LBB0_4
LBB0_5:
	mov	x0, x20
	bl	_PORT_CLK_SEL
	bl	_I915_READ
	mov	x21, x0
	mov	x0, x19
	bl	_pipe_name
	mov	x19, x0
	mov	x0, x20
	bl	_port_name
	mov	x2, x0
Lloh14:
	adrp	x0, l_.str@PAGE
Lloh15:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	mov	x3, x21
	bl	_DRM_DEBUG_KMS
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_TRANSCODER_EDP,4,2             ; @TRANSCODER_EDP
	.comm	_PORT_A,4,2                     ; @PORT_A
	.comm	_TRANS_DDI_PORT_MASK,4,2        ; @TRANS_DDI_PORT_MASK
	.comm	_PORT_B,4,2                     ; @PORT_B
	.comm	_PORT_E,4,2                     ; @PORT_E
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Pipe %c connected to port %c using clock 0x%08x\n"

	.no_dead_strip	_intel_ddi_get_crtc_pll
.subsections_via_symbols
