	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movl	%esi, %r12d
	movq	%rdi, %rbx
	callq	_intel_pipe_to_cpu_transcoder
	movl	%eax, %r15d
	movq	_PIPE_A@GOTPCREL(%rip), %rax
	cmpl	%r12d, (%rax)
	jne	LBB0_2
## %bb.1:
	movq	_QUIRK_PIPEA_FORCE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	movl	$1, %eax
	cmovnel	%eax, %r14d
LBB0_2:
	movl	4(%rbx), %edi
	callq	_IS_HASWELL
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movq	_TRANSCODER_EDP@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	je	LBB0_6
## %bb.4:
	movq	_HSW_PWR_WELL_DRIVER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_I915_READ
	movq	_HSW_PWR_WELL_ENABLE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_5
LBB0_6:
	movl	%r15d, %edi
	callq	_PIPECONF
	movl	%eax, %edi
	callq	_I915_READ
	movq	_PIPECONF_ENABLE@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	testl	%eax, (%rcx)
	setne	%bl
	jmp	LBB0_7
LBB0_5:
	xorl	%ebx, %ebx
LBB0_7:
	xorl	%r15d, %r15d
	cmpl	%r14d, %ebx
	setne	%r15b
	movl	%r12d, %edi
	callq	_pipe_name
	movl	%eax, %r12d
	movl	%r14d, %edi
	callq	_state_string
	movl	%eax, %r14d
	movl	%ebx, %edi
	callq	_state_string
	leaq	L_.str(%rip), %rsi
	movl	%r15d, %edi
	movl	%r12d, %edx
	movl	%r14d, %ecx
	movl	%eax, %r8d
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_WARN                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PIPE_A,4,2                     ## @PIPE_A
	.comm	_QUIRK_PIPEA_FORCE,4,2          ## @QUIRK_PIPEA_FORCE
	.comm	_TRANSCODER_EDP,4,2             ## @TRANSCODER_EDP
	.comm	_HSW_PWR_WELL_DRIVER,4,2        ## @HSW_PWR_WELL_DRIVER
	.comm	_HSW_PWR_WELL_ENABLE,4,2        ## @HSW_PWR_WELL_ENABLE
	.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	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x22, x0
	bl	_intel_pipe_to_cpu_transcoder
	mov	x21, x0
Lloh0:
	adrp	x8, _PIPE_A@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PIPE_A@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w20
	b.ne	LBB0_2
; %bb.1:
	ldr	w8, [x22]
Lloh3:
	adrp	x9, _QUIRK_PIPEA_FORCE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _QUIRK_PIPEA_FORCE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	csinc	w19, w19, wzr, eq
LBB0_2:
	ldr	w0, [x22, #4]
	bl	_IS_HASWELL
Lloh6:
	adrp	x8, _TRANSCODER_EDP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TRANSCODER_EDP@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	x0, #0
	ccmp	w21, w8, #4, ne
	b.eq	LBB0_4
; %bb.3:
Lloh9:
	adrp	x8, _HSW_PWR_WELL_DRIVER@GOTPAGE
Lloh10:
	ldr	x8, [x8, _HSW_PWR_WELL_DRIVER@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_I915_READ
Lloh12:
	adrp	x8, _HSW_PWR_WELL_ENABLE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _HSW_PWR_WELL_ENABLE@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_5
LBB0_4:
	mov	x0, x21
	bl	_PIPECONF
	bl	_I915_READ
Lloh15:
	adrp	x8, _PIPECONF_ENABLE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _PIPECONF_ENABLE@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	tst	w8, w0
	cset	w21, ne
	b	LBB0_6
LBB0_5:
	mov	w21, #0
LBB0_6:
	cmp	w21, w19
	cset	w22, ne
	mov	x0, x20
	bl	_pipe_name
	mov	x20, x0
	mov	x0, x19
	bl	_state_string
	mov	x19, x0
	mov	x0, x21
	bl	_state_string
Lloh18:
	adrp	x1, l_.str@PAGE
Lloh19:
	add	x1, x1, l_.str@PAGEOFF
	mov	x4, x0
	mov	x0, x22
	mov	x2, x20
	mov	x3, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_WARN
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_PIPE_A,4,2                     ; @PIPE_A
	.comm	_QUIRK_PIPEA_FORCE,4,2          ; @QUIRK_PIPEA_FORCE
	.comm	_TRANSCODER_EDP,4,2             ; @TRANSCODER_EDP
	.comm	_HSW_PWR_WELL_DRIVER,4,2        ; @HSW_PWR_WELL_DRIVER
	.comm	_HSW_PWR_WELL_ENABLE,4,2        ; @HSW_PWR_WELL_ENABLE
	.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
