	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i915_pipe_enabled
_i915_pipe_enabled:                     ## @i915_pipe_enabled
	.cfi_startproc
## %bb.0:
	xorl	%eax, %eax
	cmpl	$1, %esi
	ja	LBB0_8
## %bb.1:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%esi, %ebx
	callq	_HAS_PCH_SPLIT
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movl	%ebx, %edi
	callq	__PCH_DPLL
	movl	%eax, %edi
	jmp	LBB0_7
LBB0_3:
	movq	_PIPE_A@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_4
## %bb.5:
	movq	__DPLL_A@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_4:
	movq	__DPLL_B@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %edi
LBB0_7:
	callq	_I915_READ
	movq	_DPLL_VCO_ENABLE@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
LBB0_8:
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PIPE_A,4,2                     ## @PIPE_A
	.comm	__DPLL_A,4,2                    ## @_DPLL_A
	.comm	__DPLL_B,4,2                    ## @_DPLL_B
	.comm	_DPLL_VCO_ENABLE,4,2            ## @DPLL_VCO_ENABLE
	.no_dead_strip	_i915_pipe_enabled
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i915_pipe_enabled
_i915_pipe_enabled:                     ; @i915_pipe_enabled
	.cfi_startproc
; %bb.0:
	cmp	w1, #1
	b.ls	LBB0_2
; %bb.1:
	mov	w0, #0
	ret
LBB0_2:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	bl	_HAS_PCH_SPLIT
	cbz	x0, LBB0_4
; %bb.3:
	mov	x0, x19
	bl	__PCH_DPLL
	b	LBB0_5
LBB0_4:
Lloh0:
	adrp	x8, _PIPE_A@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PIPE_A@GOTPAGEOFF]
Lloh2:
	adrp	x9, __DPLL_A@GOTPAGE
Lloh3:
	ldr	x9, [x9, __DPLL_A@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x10, __DPLL_B@GOTPAGE
Lloh6:
	ldr	x10, [x10, __DPLL_B@GOTPAGEOFF]
	cmp	w8, w19
	csel	x8, x9, x10, eq
	ldr	w0, [x8]
LBB0_5:
	bl	_I915_READ
Lloh7:
	adrp	x8, _DPLL_VCO_ENABLE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _DPLL_VCO_ENABLE@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	and	w0, w8, w0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_PIPE_A,4,2                     ; @PIPE_A
	.comm	__DPLL_A,4,2                    ; @_DPLL_A
	.comm	__DPLL_B,4,2                    ; @_DPLL_B
	.comm	_DPLL_VCO_ENABLE,4,2            ; @DPLL_VCO_ENABLE
	.no_dead_strip	_i915_pipe_enabled
.subsections_via_symbols
