	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tfp410_detect
_tfp410_detect:                         ## @tfp410_detect
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_connector_status_disconnected@GOTPCREL(%rip), %r14
	movl	(%r14), %ebx
	movq	_TFP410_CTL_2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-20(%rbp), %rdx
	callq	_tfp410_readb
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	_TFP410_CTL_2_RSEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, -20(%rbp)
	je	LBB0_3
## %bb.2:
	movq	_connector_status_connected@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_4
LBB0_3:
	movl	(%r14), %ebx
LBB0_4:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_connector_status_disconnected,4,2 ## @connector_status_disconnected
	.comm	_TFP410_CTL_2,4,2               ## @TFP410_CTL_2
	.comm	_TFP410_CTL_2_RSEN,4,2          ## @TFP410_CTL_2_RSEN
	.comm	_connector_status_connected,4,2 ## @connector_status_connected
	.no_dead_strip	_tfp410_detect
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tfp410_detect
_tfp410_detect:                         ; @tfp410_detect
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x20, _connector_status_disconnected@GOTPAGE
Lloh1:
	ldr	x20, [x20, _connector_status_disconnected@GOTPAGEOFF]
	ldr	w19, [x20]
Lloh2:
	adrp	x8, _TFP410_CTL_2@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TFP410_CTL_2@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	add	x2, sp, #12
	bl	_tfp410_readb
	cbz	x0, LBB0_4
; %bb.1:
	ldr	w8, [sp, #12]
Lloh5:
	adrp	x9, _TFP410_CTL_2_RSEN@GOTPAGE
Lloh6:
	ldr	x9, [x9, _TFP410_CTL_2_RSEN@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
Lloh8:
	adrp	x8, _connector_status_connected@GOTPAGE
Lloh9:
	ldr	x8, [x8, _connector_status_connected@GOTPAGEOFF]
Lloh10:
	ldr	w19, [x8]
	b	LBB0_4
LBB0_3:
	ldr	w19, [x20]
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_connector_status_disconnected,4,2 ; @connector_status_disconnected
	.comm	_TFP410_CTL_2,4,2               ; @TFP410_CTL_2
	.comm	_TFP410_CTL_2_RSEN,4,2          ; @TFP410_CTL_2_RSEN
	.comm	_connector_status_connected,4,2 ; @connector_status_connected
	.no_dead_strip	_tfp410_detect
.subsections_via_symbols
