	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dp_pipe_enabled
_dp_pipe_enabled:                       ## @dp_pipe_enabled
	.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
	movq	_DP_PORT_EN@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	testl	%ecx, (%rax)
	je	LBB0_5
## %bb.1:
	movl	%ecx, %ebx
	movl	%edx, %r14d
	movl	%esi, %r12d
	movl	(%rdi), %edi
	callq	_HAS_PCH_CPT
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movl	%r12d, %edi
	callq	_TRANS_DP_CTL
	movl	%eax, %edi
	callq	_I915_READ
	movq	_TRANS_DP_PORT_SEL_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	cmpl	%r14d, %eax
	jne	LBB0_5
LBB0_4:
	movl	$1, %r15d
LBB0_5:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	_DP_PIPE_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %ebx
	shll	$30, %r12d
	cmpl	%r12d, %ebx
	je	LBB0_4
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_DP_PORT_EN,4,2                 ## @DP_PORT_EN
	.comm	_TRANS_DP_PORT_SEL_MASK,4,2     ## @TRANS_DP_PORT_SEL_MASK
	.comm	_DP_PIPE_MASK,4,2               ## @DP_PIPE_MASK
	.no_dead_strip	_dp_pipe_enabled
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dp_pipe_enabled
_dp_pipe_enabled:                       ; @dp_pipe_enabled
	.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
Lloh0:
	adrp	x8, _DP_PORT_EN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DP_PORT_EN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w3
	b.eq	LBB0_5
; %bb.1:
	mov	x21, x3
	mov	x19, x2
	mov	x20, x1
	ldr	w0, [x0]
	bl	_HAS_PCH_CPT
	cbz	x0, LBB0_4
; %bb.2:
	mov	x0, x20
	bl	_TRANS_DP_CTL
	bl	_I915_READ
Lloh3:
	adrp	x8, _TRANS_DP_PORT_SEL_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TRANS_DP_PORT_SEL_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	and	w8, w8, w0
	cmp	w8, w19
	b.ne	LBB0_5
LBB0_3:
	mov	w0, #1
	b	LBB0_6
LBB0_4:
Lloh6:
	adrp	x8, _DP_PIPE_MASK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DP_PIPE_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	and	w8, w8, w21
	cmp	w8, w20, lsl #30
	b.eq	LBB0_3
LBB0_5:
	mov	w0, #0
LBB0_6:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_DP_PORT_EN,4,2                 ; @DP_PORT_EN
	.comm	_TRANS_DP_PORT_SEL_MASK,4,2     ; @TRANS_DP_PORT_SEL_MASK
	.comm	_DP_PIPE_MASK,4,2               ; @DP_PIPE_MASK
	.no_dead_strip	_dp_pipe_enabled
.subsections_via_symbols
