	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ibx_digital_port_connected     ## -- Begin function ibx_digital_port_connected
	.p2align	4, 0x90
_ibx_digital_port_connected:            ## @ibx_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	%rsi, %rbx
	movl	(%rdi), %edi
	callq	_HAS_PCH_IBX
	movq	%rax, %rcx
	movl	(%rbx), %edx
	addl	$-128, %edx
	movl	$1, %eax
	cmpl	$2, %edx
	ja	LBB0_2
## %bb.1:
	testq	%rcx, %rcx
	leaq	l_switch.table.ibx_digital_port_connected.1(%rip), %rax
	leaq	l_switch.table.ibx_digital_port_connected(%rip), %rcx
	cmoveq	%rax, %rcx
	movslq	%edx, %rax
	movq	(%rcx,%rax,8), %rax
	movl	(%rax), %ebx
	movq	_SDEISR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_I915_READ
	andl	%ebx, %eax
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SDE_PORTB_HOTPLUG,4,2          ## @SDE_PORTB_HOTPLUG
	.comm	_SDE_PORTC_HOTPLUG,4,2          ## @SDE_PORTC_HOTPLUG
	.comm	_SDE_PORTD_HOTPLUG,4,2          ## @SDE_PORTD_HOTPLUG
	.comm	_SDE_PORTB_HOTPLUG_CPT,4,2      ## @SDE_PORTB_HOTPLUG_CPT
	.comm	_SDE_PORTC_HOTPLUG_CPT,4,2      ## @SDE_PORTC_HOTPLUG_CPT
	.comm	_SDE_PORTD_HOTPLUG_CPT,4,2      ## @SDE_PORTD_HOTPLUG_CPT
	.comm	_SDEISR,4,2                     ## @SDEISR
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.ibx_digital_port_connected
l_switch.table.ibx_digital_port_connected:
	.quad	_SDE_PORTD_HOTPLUG
	.quad	_SDE_PORTC_HOTPLUG
	.quad	_SDE_PORTB_HOTPLUG

	.p2align	3                               ## @switch.table.ibx_digital_port_connected.1
l_switch.table.ibx_digital_port_connected.1:
	.quad	_SDE_PORTD_HOTPLUG_CPT
	.quad	_SDE_PORTC_HOTPLUG_CPT
	.quad	_SDE_PORTB_HOTPLUG_CPT

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ibx_digital_port_connected     ; -- Begin function ibx_digital_port_connected
	.p2align	2
_ibx_digital_port_connected:            ; @ibx_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, x1
	ldr	w0, [x0]
	bl	_HAS_PCH_IBX
	ldr	w8, [x19]
	sub	w8, w8, #128
	cmp	w8, #2
	b.hi	LBB0_2
; %bb.1:
Lloh0:
	adrp	x9, l_switch.table.ibx_digital_port_connected@PAGE
Lloh1:
	add	x9, x9, l_switch.table.ibx_digital_port_connected@PAGEOFF
Lloh2:
	adrp	x10, l_switch.table.ibx_digital_port_connected.1@PAGE
Lloh3:
	add	x10, x10, l_switch.table.ibx_digital_port_connected.1@PAGEOFF
	cmp	x0, #0
	csel	x9, x10, x9, eq
	ldr	x8, [x9, w8, sxtw #3]
	ldr	w19, [x8]
Lloh4:
	adrp	x8, _SDEISR@GOTPAGE
Lloh5:
	ldr	x8, [x8, _SDEISR@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	bl	_I915_READ
	and	w0, w0, w19
	b	LBB0_3
LBB0_2:
	mov	w0, #1
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_SDE_PORTB_HOTPLUG,4,2          ; @SDE_PORTB_HOTPLUG
	.comm	_SDE_PORTC_HOTPLUG,4,2          ; @SDE_PORTC_HOTPLUG
	.comm	_SDE_PORTD_HOTPLUG,4,2          ; @SDE_PORTD_HOTPLUG
	.comm	_SDE_PORTB_HOTPLUG_CPT,4,2      ; @SDE_PORTB_HOTPLUG_CPT
	.comm	_SDE_PORTC_HOTPLUG_CPT,4,2      ; @SDE_PORTC_HOTPLUG_CPT
	.comm	_SDE_PORTD_HOTPLUG_CPT,4,2      ; @SDE_PORTD_HOTPLUG_CPT
	.comm	_SDEISR,4,2                     ; @SDEISR
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.ibx_digital_port_connected
l_switch.table.ibx_digital_port_connected:
	.quad	_SDE_PORTD_HOTPLUG
	.quad	_SDE_PORTC_HOTPLUG
	.quad	_SDE_PORTB_HOTPLUG

	.p2align	3                               ; @switch.table.ibx_digital_port_connected.1
l_switch.table.ibx_digital_port_connected.1:
	.quad	_SDE_PORTD_HOTPLUG_CPT
	.quad	_SDE_PORTC_HOTPLUG_CPT
	.quad	_SDE_PORTB_HOTPLUG_CPT

.subsections_via_symbols
