	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bdw_digital_port_connected
_bdw_digital_port_connected:            ## @bdw_digital_port_connected
	.cfi_startproc
## %bb.0:
	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
	movq	%rdi, %rbx
	movl	8(%rdi), %edi
	callq	_to_i915
	movq	(%rbx), %rax
	movq	_HPD_PORT_A@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	_GEN8_DE_PORT_ISR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_I915_READ
	movq	_GEN8_PORT_DP_A_HOTPLUG@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_2:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_cpt_digital_port_connected     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_HPD_PORT_A,8,3                 ## @HPD_PORT_A
	.comm	_GEN8_DE_PORT_ISR,4,2           ## @GEN8_DE_PORT_ISR
	.comm	_GEN8_PORT_DP_A_HOTPLUG,4,2     ## @GEN8_PORT_DP_A_HOTPLUG
	.no_dead_strip	_bdw_digital_port_connected
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bdw_digital_port_connected
_bdw_digital_port_connected:            ; @bdw_digital_port_connected
	.cfi_startproc
; %bb.0:
	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, x0
	ldr	w0, [x0, #8]
	bl	_to_i915
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _HPD_PORT_A@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HPD_PORT_A@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _GEN8_DE_PORT_ISR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GEN8_DE_PORT_ISR@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_I915_READ
Lloh6:
	adrp	x8, _GEN8_PORT_DP_A_HOTPLUG@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GEN8_PORT_DP_A_HOTPLUG@GOTPAGEOFF]
Lloh8:
	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
LBB0_2:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_cpt_digital_port_connected
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_HPD_PORT_A,8,3                 ; @HPD_PORT_A
	.comm	_GEN8_DE_PORT_ISR,4,2           ; @GEN8_DE_PORT_ISR
	.comm	_GEN8_PORT_DP_A_HOTPLUG,4,2     ; @GEN8_PORT_DP_A_HOTPLUG
	.no_dead_strip	_bdw_digital_port_connected
.subsections_via_symbols
