	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function spt_digital_port_connected
_spt_digital_port_connected:            ## @spt_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	4(%rdi), %edi
	callq	_to_i915
	movl	(%rbx), %eax
	cmpl	$129, %eax
	je	LBB0_1
## %bb.2:
	cmpl	$128, %eax
	jne	LBB0_5
## %bb.3:
	movq	_SDE_PORTE_HOTPLUG_SPT@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_1:
	movq	_SDE_PORTA_HOTPLUG_SPT@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %ebx
	movq	_SDEISR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_I915_READ
	andl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_5:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_cpt_digital_port_connected     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SDE_PORTA_HOTPLUG_SPT,4,2      ## @SDE_PORTA_HOTPLUG_SPT
	.comm	_SDE_PORTE_HOTPLUG_SPT,4,2      ## @SDE_PORTE_HOTPLUG_SPT
	.comm	_SDEISR,4,2                     ## @SDEISR
	.no_dead_strip	_spt_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 spt_digital_port_connected
_spt_digital_port_connected:            ; @spt_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, #4]
	bl	_to_i915
	ldr	w8, [x19]
	cmp	w8, #129
	b.eq	LBB0_3
; %bb.1:
	cmp	w8, #128
	b.ne	LBB0_5
; %bb.2:
Lloh0:
	adrp	x8, _SDE_PORTE_HOTPLUG_SPT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SDE_PORTE_HOTPLUG_SPT@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh2:
	adrp	x8, _SDE_PORTA_HOTPLUG_SPT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SDE_PORTA_HOTPLUG_SPT@GOTPAGEOFF]
LBB0_4:
	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
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_SDE_PORTA_HOTPLUG_SPT,4,2      ; @SDE_PORTA_HOTPLUG_SPT
	.comm	_SDE_PORTE_HOTPLUG_SPT,4,2      ; @SDE_PORTE_HOTPLUG_SPT
	.comm	_SDEISR,4,2                     ; @SDEISR
	.no_dead_strip	_spt_digital_port_connected
.subsections_via_symbols
