	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vidi_store_connection
_vidi_store_connection:                 ## @vidi_store_connection
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %rbx
	movq	%rdi, %r15
	callq	_dev_get_drvdata
	movq	%rax, %r12
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movq	%rax, %rdx
	callq	_kstrtoint
	testl	%eax, %eax
	jne	LBB0_6
## %bb.1:
	cmpl	$2, (%r12)
	jge	LBB0_2
## %bb.3:
	movq	8(%r12), %rax
	movq	_fake_edid_info@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	testq	%rax, %rax
	je	LBB0_4
## %bb.7:
	cmpq	%rcx, %rax
	je	LBB0_5
## %bb.8:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_DRM_DEV_DEBUG_KMS
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_6
LBB0_4:
	movq	%rcx, 8(%r12)
LBB0_5:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_DRM_DEV_DEBUG_KMS
	movl	4(%r12), %edi
	callq	_drm_helper_hpd_irq_event
	movl	%r14d, %eax
LBB0_6:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_fake_edid_info,8,3             ## @fake_edid_info
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"edid data is not fake data.\n"

L_.str.1:                               ## @.str.1
	.asciz	"requested connection.\n"

	.no_dead_strip	_vidi_store_connection
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vidi_store_connection
_vidi_store_connection:                 ; @vidi_store_connection
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x3
	mov	x22, x2
	mov	x20, x0
	bl	_dev_get_drvdata
	mov	x21, x0
	mov	x0, x22
	mov	w1, #0
	mov	x2, x21
	bl	_kstrtoint
	cbnz	w0, LBB0_8
; %bb.1:
	ldr	w8, [x21]
	cmp	w8, #2
	b.ge	LBB0_5
; %bb.2:
	ldr	x9, [x21, #8]
Lloh0:
	adrp	x8, _fake_edid_info@GOTPAGE
Lloh1:
	ldr	x8, [x8, _fake_edid_info@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x9, LBB0_6
; %bb.3:
	cmp	x9, x8
	b.eq	LBB0_7
; %bb.4:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_DRM_DEV_DEBUG_KMS
LBB0_5:
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_8
LBB0_6:
	str	x8, [x21, #8]
LBB0_7:
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_DRM_DEV_DEBUG_KMS
	ldr	w0, [x21, #4]
	bl	_drm_helper_hpd_irq_event
	mov	x0, x19
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_fake_edid_info,8,3             ; @fake_edid_info
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"edid data is not fake data.\n"

l_.str.1:                               ; @.str.1
	.asciz	"requested connection.\n"

	.no_dead_strip	_vidi_store_connection
.subsections_via_symbols
