	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gen12_port_hotplug_long_detect
_gen12_port_hotplug_long_detect:        ## @gen12_port_hotplug_long_detect
	.cfi_startproc
## %bb.0:
	addl	$-128, %edi
	xorl	%eax, %eax
	cmpl	$5, %edi
	ja	LBB0_2
## %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
	movslq	%edi, %rax
	leaq	l_switch.table.gen12_port_hotplug_long_detect(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	movl	(%rax), %edi
	callq	_GEN11_HOTPLUG_CTL_LONG_DETECT
	andl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
LBB0_2:
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PORT_TC1,4,2                   ## @PORT_TC1
	.comm	_PORT_TC2,4,2                   ## @PORT_TC2
	.comm	_PORT_TC3,4,2                   ## @PORT_TC3
	.comm	_PORT_TC4,4,2                   ## @PORT_TC4
	.comm	_PORT_TC5,4,2                   ## @PORT_TC5
	.comm	_PORT_TC6,4,2                   ## @PORT_TC6
	.no_dead_strip	_gen12_port_hotplug_long_detect
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.gen12_port_hotplug_long_detect
l_switch.table.gen12_port_hotplug_long_detect:
	.quad	_PORT_TC6
	.quad	_PORT_TC5
	.quad	_PORT_TC4
	.quad	_PORT_TC3
	.quad	_PORT_TC2
	.quad	_PORT_TC1

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gen12_port_hotplug_long_detect
_gen12_port_hotplug_long_detect:        ; @gen12_port_hotplug_long_detect
	.cfi_startproc
; %bb.0:
	sub	w8, w0, #128
	cmp	w8, #5
	b.hi	LBB0_2
; %bb.1:
	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
Lloh0:
	adrp	x9, l_switch.table.gen12_port_hotplug_long_detect@PAGE
Lloh1:
	add	x9, x9, l_switch.table.gen12_port_hotplug_long_detect@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
	ldr	w0, [x8]
	bl	_GEN11_HOTPLUG_CTL_LONG_DETECT
	and	w0, w0, w19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	mov	w0, #0
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_PORT_TC1,4,2                   ; @PORT_TC1
	.comm	_PORT_TC2,4,2                   ; @PORT_TC2
	.comm	_PORT_TC3,4,2                   ; @PORT_TC3
	.comm	_PORT_TC4,4,2                   ; @PORT_TC4
	.comm	_PORT_TC5,4,2                   ; @PORT_TC5
	.comm	_PORT_TC6,4,2                   ; @PORT_TC6
	.no_dead_strip	_gen12_port_hotplug_long_detect
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.gen12_port_hotplug_long_detect
l_switch.table.gen12_port_hotplug_long_detect:
	.quad	_PORT_TC6
	.quad	_PORT_TC5
	.quad	_PORT_TC4
	.quad	_PORT_TC3
	.quad	_PORT_TC2
	.quad	_PORT_TC1

.subsections_via_symbols
