	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vlv_init_panel_power_sequencer
_vlv_init_panel_power_sequencer:        ## @vlv_init_panel_power_sequencer
	.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	%rsi, %r15
	movq	%rdi, %r14
	leaq	4(%rdi), %rbx
	movl	4(%rdi), %edi
	callq	_to_i915
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_enc_to_intel_dp
	movq	%rax, %rbx
	movl	(%r15), %edi
	callq	_to_intel_crtc
	movq	%rax, %r15
	movq	%r12, %rdi
	callq	_lockdep_assert_held
	movq	(%rbx), %rax
	movq	_INVALID_PIPE@GOTPCREL(%rip), %r13
	xorl	%edi, %edi
	cmpq	(%r13), %rax
	setne	%dil
	callq	_WARN_ON
	movq	8(%rbx), %rax
	cmpq	(%r13), %rax
	je	LBB0_3
## %bb.1:
	cmpq	(%r15), %rax
	je	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	callq	_vlv_detach_power_sequencer
LBB0_3:
	movq	(%r15), %rsi
	movq	%r12, %rdi
	callq	_vlv_steal_power_sequencer
	movq	(%r15), %rax
	movq	%rax, (%rbx)
	movq	%rbx, %rdi
	callq	_intel_dp_is_edp
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	movq	(%r15), %rdi
	movq	%rdi, 8(%rbx)
	callq	_pipe_name
	movl	%eax, %r15d
	movl	(%r14), %edi
	callq	_port_name
	leaq	L_.str(%rip), %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_DRM_DEBUG_KMS
	movq	%rbx, %rdi
	callq	_intel_dp_init_panel_power_sequencer
	movq	%rbx, %rdi
	movl	$1, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_intel_dp_init_panel_power_sequencer_registers ## TAILCALL
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INVALID_PIPE,8,3               ## @INVALID_PIPE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"initializing pipe %c power sequencer for port %c\n"

	.no_dead_strip	_vlv_init_panel_power_sequencer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vlv_init_panel_power_sequencer
_vlv_init_panel_power_sequencer:        ; @vlv_init_panel_power_sequencer
	.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	x21, x1
	mov	x20, x0
	mov	x19, x0
	ldr	w0, [x19, #4]!
	bl	_to_i915
	mov	x22, x0
	mov	x0, x19
	bl	_enc_to_intel_dp
	mov	x19, x0
	ldr	w0, [x21]
	bl	_to_intel_crtc
	mov	x21, x0
	mov	x0, x22
	bl	_lockdep_assert_held
	ldr	x8, [x19]
Lloh0:
	adrp	x23, _INVALID_PIPE@GOTPAGE
Lloh1:
	ldr	x23, [x23, _INVALID_PIPE@GOTPAGEOFF]
	ldr	x9, [x23]
	cmp	x8, x9
	cset	w0, ne
	bl	_WARN_ON
	ldr	x8, [x19, #8]
	ldr	x9, [x23]
	cmp	x8, x9
	b.eq	LBB0_3
; %bb.1:
	ldr	x9, [x21]
	cmp	x8, x9
	b.eq	LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_vlv_detach_power_sequencer
LBB0_3:
	ldr	x1, [x21]
	mov	x0, x22
	bl	_vlv_steal_power_sequencer
	ldr	x8, [x21]
	str	x8, [x19]
	mov	x0, x19
	bl	_intel_dp_is_edp
	cbz	w0, LBB0_5
; %bb.4:
	ldr	x0, [x21]
	str	x0, [x19, #8]
	bl	_pipe_name
	mov	x21, x0
	ldr	w0, [x20]
	bl	_port_name
	mov	x2, x0
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	bl	_DRM_DEBUG_KMS
	mov	x0, x19
	bl	_intel_dp_init_panel_power_sequencer
	mov	x0, x19
	mov	w1, #1
	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
	b	_intel_dp_init_panel_power_sequencer_registers
LBB0_5:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_INVALID_PIPE,8,3               ; @INVALID_PIPE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"initializing pipe %c power sequencer for port %c\n"

	.no_dead_strip	_vlv_init_panel_power_sequencer
.subsections_via_symbols
