	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vlv_detach_power_sequencer
_vlv_detach_power_sequencer:            ## @vlv_detach_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	%rdi, %r12
	callq	_dp_to_dig_port
	movq	%rax, %r15
	movl	4(%rax), %edi
	callq	_to_i915
	movl	(%r12), %ebx
	movl	%ebx, %edi
	callq	_PP_ON_DELAYS
	movl	%eax, %r14d
	movq	8(%r12), %rax
	movq	_INVALID_PIPE@GOTPCREL(%rip), %r13
	xorl	%edi, %edi
	cmpq	(%r13), %rax
	setne	%dil
	callq	_WARN_ON
	movq	_PIPE_A@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	setne	%al
	movq	_PIPE_B@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %ebx
	setne	%cl
	andb	%al, %cl
	movzbl	%cl, %edi
	callq	_WARN_ON
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	%r12, %rdi
	callq	_edp_panel_vdd_off_sync
	movl	%ebx, %edi
	callq	_pipe_name
	movl	%eax, %ebx
	movl	(%r15), %edi
	callq	_port_name
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_DRM_DEBUG_KMS
	movl	%r14d, %edi
	xorl	%esi, %esi
	callq	_I915_WRITE
	movl	%r14d, %edi
	callq	_POSTING_READ
	movl	(%r13), %eax
	movl	%eax, (%r12)
LBB0_2:
	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
	.comm	_PIPE_A,4,2                     ## @PIPE_A
	.comm	_PIPE_B,4,2                     ## @PIPE_B
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"detaching pipe %c power sequencer from port %c\n"

	.no_dead_strip	_vlv_detach_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_detach_power_sequencer
_vlv_detach_power_sequencer:            ; @vlv_detach_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	x19, x0
	bl	_dp_to_dig_port
	mov	x21, x0
	ldr	w0, [x0, #4]
	bl	_to_i915
	ldr	w22, [x19]
	mov	x0, x22
	bl	_PP_ON_DELAYS
	mov	x20, x0
	ldr	x8, [x19, #8]
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
Lloh2:
	adrp	x8, _PIPE_A@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PIPE_A@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w22, w8
Lloh5:
	adrp	x8, _PIPE_B@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PIPE_B@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	ccmp	w22, w8, #4, ne
	cset	w0, ne
	bl	_WARN_ON
	cbnz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_edp_panel_vdd_off_sync
	mov	x0, x22
	bl	_pipe_name
	mov	x22, x0
	ldr	w0, [x21]
	bl	_port_name
	mov	x2, x0
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x22
	bl	_DRM_DEBUG_KMS
	mov	x0, x20
	mov	w1, #0
	bl	_I915_WRITE
	mov	x0, x20
	bl	_POSTING_READ
	ldr	x8, [x23]
	str	w8, [x19]
LBB0_2:
	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	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_INVALID_PIPE,8,3               ; @INVALID_PIPE
	.comm	_PIPE_A,4,2                     ; @PIPE_A
	.comm	_PIPE_B,4,2                     ; @PIPE_B
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"detaching pipe %c power sequencer from port %c\n"

	.no_dead_strip	_vlv_detach_power_sequencer
.subsections_via_symbols
