	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vlv_initial_pps_pipe
_vlv_initial_pps_pipe:                  ## @vlv_initial_pps_pipe
	.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
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	_PIPE_A@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_PIPE_B@GOTPCREL(%rip), %r14
	cmpl	(%r14), %r13d
	jbe	LBB0_1
LBB0_5:
	movq	_INVALID_PIPE@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
LBB0_6:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movl	%esi, %r15d
	movq	%rdi, %r12
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	incl	%r13d
	cmpl	(%r14), %r13d
	ja	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r13d, %edi
	callq	_PP_ON_DELAYS
	movl	%eax, %edi
	callq	_I915_READ
	movq	%rax, %rbx
	movq	_PANEL_PORT_SELECT_MASK@GOTPCREL(%rip), %rax
	andq	(%rax), %rbx
	movl	%r15d, %edi
	callq	_PANEL_PORT_SELECT_VLV
	cmpq	%rax, %rbx
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	movl	%r13d, %esi
	callq	*-48(%rbp)                      ## 8-byte Folded Reload
	testl	%eax, %eax
	je	LBB0_4
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_PIPE_A,4,2                     ## @PIPE_A
	.comm	_PIPE_B,4,2                     ## @PIPE_B
	.comm	_PANEL_PORT_SELECT_MASK,8,3     ## @PANEL_PORT_SELECT_MASK
	.comm	_INVALID_PIPE,4,2               ## @INVALID_PIPE
	.no_dead_strip	_vlv_initial_pps_pipe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vlv_initial_pps_pipe
_vlv_initial_pps_pipe:                  ; @vlv_initial_pps_pipe
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
Lloh0:
	adrp	x8, _PIPE_A@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PIPE_A@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
Lloh3:
	adrp	x23, _PIPE_B@GOTPAGE
Lloh4:
	ldr	x23, [x23, _PIPE_B@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w19, w8
	b.ls	LBB0_3
LBB0_1:
Lloh5:
	adrp	x8, _INVALID_PIPE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _INVALID_PIPE@GOTPAGEOFF]
Lloh7:
	ldr	w19, [x8]
LBB0_2:
	mov	x0, x19
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_3:
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
Lloh8:
	adrp	x24, _PANEL_PORT_SELECT_MASK@GOTPAGE
Lloh9:
	ldr	x24, [x24, _PANEL_PORT_SELECT_MASK@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	w19, w19, #1
	ldr	w8, [x23]
	cmp	w19, w8
	b.hi	LBB0_1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_PP_ON_DELAYS
	bl	_I915_READ
	ldr	x8, [x24]
	and	x25, x8, x0
	mov	x0, x21
	bl	_PANEL_PORT_SELECT_VLV
	cmp	x25, x0
	b.ne	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x22
	mov	x1, x19
	blr	x20
	cbz	w0, LBB0_4
	b	LBB0_2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_PIPE_A,4,2                     ; @PIPE_A
	.comm	_PIPE_B,4,2                     ; @PIPE_B
	.comm	_PANEL_PORT_SELECT_MASK,8,3     ; @PANEL_PORT_SELECT_MASK
	.comm	_INVALID_PIPE,4,2               ; @INVALID_PIPE
	.no_dead_strip	_vlv_initial_pps_pipe
.subsections_via_symbols
