	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tfp410_connector_detect
_tfp410_connector_detect:               ## @tfp410_connector_detect
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	callq	_drm_connector_to_tfp410
	movq	8(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.1:
	callq	_gpiod_get_value_cansleep
	testq	%rax, %rax
	jne	LBB0_7
LBB0_5:
	movq	_connector_status_disconnected@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_3:
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.4:
	callq	_drm_probe_ddc
	testq	%rax, %rax
	je	LBB0_5
LBB0_7:
	movq	_connector_status_connected@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_6:
	movq	_connector_status_unknown@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %eax
	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	_connector_status_unknown,4,2   ## @connector_status_unknown
	.no_dead_strip	_tfp410_connector_detect
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tfp410_connector_detect
_tfp410_connector_detect:               ; @tfp410_connector_detect
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	bl	_drm_connector_to_tfp410
	mov	x8, x0
	ldr	x0, [x0, #8]
	cbz	x0, LBB0_2
; %bb.1:
	bl	_gpiod_get_value_cansleep
	b	LBB0_4
LBB0_2:
	ldr	x0, [x8]
	cbz	x0, LBB0_6
; %bb.3:
	bl	_drm_probe_ddc
LBB0_4:
Lloh0:
	adrp	x8, _connector_status_connected@GOTPAGE
Lloh1:
	ldr	x8, [x8, _connector_status_connected@GOTPAGEOFF]
Lloh2:
	adrp	x9, _connector_status_disconnected@GOTPAGE
Lloh3:
	ldr	x9, [x9, _connector_status_disconnected@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x9, x8, eq
LBB0_5:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_6:
Lloh4:
	adrp	x8, _connector_status_unknown@GOTPAGE
Lloh5:
	ldr	x8, [x8, _connector_status_unknown@GOTPAGEOFF]
	b	LBB0_5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_connector_status_connected,4,2 ; @connector_status_connected
	.comm	_connector_status_disconnected,4,2 ; @connector_status_disconnected
	.comm	_connector_status_unknown,4,2   ; @connector_status_unknown
	.no_dead_strip	_tfp410_connector_detect
.subsections_via_symbols
