	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_assert_pipe                    ## -- Begin function assert_pipe
	.p2align	4, 0x90
_assert_pipe:                           ## @assert_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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r13
	movl	%esi, -48(%rbp)                 ## 4-byte Spill
	callq	_intel_pipe_to_cpu_transcoder
	movl	%eax, %ebx
	movq	%r13, %rdi
	callq	_IS_I830
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	%ebx, %edi
	callq	_POWER_DOMAIN_TRANSCODER
	movl	%eax, %r14d
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_intel_display_power_get_if_enabled
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movl	%ebx, %edi
	callq	_PIPECONF
	movl	%eax, %edi
	callq	_I915_READ
	movq	_PIPECONF_ENABLE@GOTPCREL(%rip), %rcx
	xorl	%r12d, %r12d
	andl	(%rcx), %eax
	setne	%r12b
	movq	%r13, %rdi
	movl	%r14d, %esi
	movq	%r15, %rdx
	callq	_intel_display_power_put
	jmp	LBB0_3
LBB0_1:
	xorl	%r12d, %r12d
LBB0_3:
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	movl	$1, %ebx
	cmovel	-44(%rbp), %ebx                 ## 4-byte Folded Reload
	xorl	%r14d, %r14d
	cmpl	%ebx, %r12d
	setne	%r14b
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	callq	_pipe_name
	movl	%eax, %r15d
	movl	%ebx, %edi
	callq	_onoff
	movl	%eax, %ebx
	movl	%r12d, %edi
	callq	_onoff
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edi
	movl	%r15d, %edx
	movl	%ebx, %ecx
	movl	%eax, %r8d
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_I915_STATE_WARN                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PIPECONF_ENABLE,4,2            ## @PIPECONF_ENABLE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pipe %c assertion failure (expected %s, current %s)\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_assert_pipe                    ; -- Begin function assert_pipe
	.p2align	2
_assert_pipe:                           ; @assert_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
	mov	x20, x2
	mov	x19, x1
	mov	x22, x0
	bl	_intel_pipe_to_cpu_transcoder
	mov	x24, x0
	mov	x0, x22
	bl	_IS_I830
	mov	x21, x0
	mov	x0, x24
	bl	_POWER_DOMAIN_TRANSCODER
	mov	x23, x0
	mov	x0, x22
	mov	x1, x23
	bl	_intel_display_power_get_if_enabled
	cbz	x0, LBB0_2
; %bb.1:
	mov	x25, x0
	mov	x0, x24
	bl	_PIPECONF
	bl	_I915_READ
Lloh0:
	adrp	x8, _PIPECONF_ENABLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PIPECONF_ENABLE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w0
	cset	w24, ne
	mov	x0, x22
	mov	x1, x23
	mov	x2, x25
	bl	_intel_display_power_put
	b	LBB0_3
LBB0_2:
	mov	w24, #0
LBB0_3:
	cmp	x21, #0
	csinc	w20, w20, wzr, eq
	cmp	w24, w20
	cset	w21, ne
	mov	x0, x19
	bl	_pipe_name
	mov	x19, x0
	mov	x0, x20
	bl	_onoff
	mov	x20, x0
	mov	x0, x24
	bl	_onoff
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x4, x0
	mov	x0, x21
	mov	x2, x19
	mov	x3, x20
	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
	b	_I915_STATE_WARN
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_PIPECONF_ENABLE,4,2            ; @PIPECONF_ENABLE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pipe %c assertion failure (expected %s, current %s)\n"

.subsections_via_symbols
