	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tpd_hpd_isr
_tpd_hpd_isr:                           ## @tpd_hpd_isr
	.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
	movq	%rsi, %rdi
	callq	_mutex_lock
	cmpq	$0, 8(%rbx)
	je	LBB0_5
## %bb.1:
	leaq	16(%rbx), %rdi
	callq	_tpd_detect
	testq	%rax, %rax
	jne	LBB0_2
## %bb.3:
	movq	_connector_status_disconnected@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_2:
	movq	_connector_status_connected@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %esi
	movl	4(%rbx), %edi
	callq	*8(%rbx)
LBB0_5:
	movq	%rbx, %rdi
	callq	_mutex_unlock
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_connector_status_connected,4,2 ## @connector_status_connected
	.comm	_connector_status_disconnected,4,2 ## @connector_status_disconnected
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_tpd_hpd_isr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tpd_hpd_isr
_tpd_hpd_isr:                           ; @tpd_hpd_isr
	.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
	mov	x0, x1
	bl	_mutex_lock
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_2
; %bb.1:
	add	x0, x19, #16
	bl	_tpd_detect
Lloh0:
	adrp	x8, _connector_status_disconnected@GOTPAGE
Lloh1:
	ldr	x8, [x8, _connector_status_disconnected@GOTPAGEOFF]
Lloh2:
	adrp	x9, _connector_status_connected@GOTPAGE
Lloh3:
	ldr	x9, [x9, _connector_status_connected@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x8, x9, eq
	ldr	w1, [x8]
	ldr	x8, [x19, #8]
	ldr	w0, [x19, #4]
	blr	x8
LBB0_2:
	mov	x0, x19
	bl	_mutex_unlock
Lloh4:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh5:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_connector_status_connected,4,2 ; @connector_status_connected
	.comm	_connector_status_disconnected,4,2 ; @connector_status_disconnected
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_tpd_hpd_isr
.subsections_via_symbols
