	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vidi_probe
_vidi_probe:                            ## @vidi_probe
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$16, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%r15, 8(%rax)
	movq	%rax, %rdi
	addq	$4, %rdi
	movq	_vidi_fake_vblank_timer@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%r14d, %r14d
	xorl	%edx, %edx
	callq	_timer_setup
	movq	%rbx, %rdi
	callq	_mutex_init
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_platform_set_drvdata
	movq	_dev_attr_connection@GOTPCREL(%rip), %rsi
	movq	%r15, %rdi
	callq	_device_create_file
	testl	%eax, %eax
	js	LBB0_3
## %bb.4:
	movq	_vidi_component_ops@GOTPCREL(%rip), %rsi
	movq	%r15, %rdi
	callq	_component_add
	testl	%eax, %eax
	je	LBB0_7
## %bb.5:
	movl	%eax, %ebx
	movq	_dev_attr_connection@GOTPCREL(%rip), %rsi
	movq	%r15, %rdi
	callq	_device_remove_file
	jmp	LBB0_6
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_7
LBB0_3:
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_DRM_DEV_ERROR
LBB0_6:
	movl	%ebx, %r14d
LBB0_7:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_vidi_fake_vblank_timer,4,2     ## @vidi_fake_vblank_timer
	.comm	_dev_attr_connection,4,2        ## @dev_attr_connection
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to create connection sysfs.\n"

	.comm	_vidi_component_ops,4,2         ## @vidi_component_ops
	.no_dead_strip	_vidi_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vidi_probe
_vidi_probe:                            ; @vidi_probe
	.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, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #16
	bl	_devm_kzalloc
	cbz	x0, LBB0_4
; %bb.1:
	mov	x20, x0
	str	x19, [x0, #8]
	add	x0, x0, #4
Lloh3:
	adrp	x8, _vidi_fake_vblank_timer@GOTPAGE
Lloh4:
	ldr	x8, [x8, _vidi_fake_vblank_timer@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_timer_setup
	mov	x0, x20
	bl	_mutex_init
	mov	x0, x19
	mov	x1, x20
	bl	_platform_set_drvdata
Lloh6:
	adrp	x1, _dev_attr_connection@GOTPAGE
Lloh7:
	ldr	x1, [x1, _dev_attr_connection@GOTPAGEOFF]
	mov	x0, x19
	bl	_device_create_file
	tbnz	w0, #31, LBB0_5
; %bb.2:
Lloh8:
	adrp	x1, _vidi_component_ops@GOTPAGE
Lloh9:
	ldr	x1, [x1, _vidi_component_ops@GOTPAGEOFF]
	mov	x0, x19
	bl	_component_add
	mov	x20, x0
	cbz	w0, LBB0_6
; %bb.3:
Lloh10:
	adrp	x1, _dev_attr_connection@GOTPAGE
Lloh11:
	ldr	x1, [x1, _dev_attr_connection@GOTPAGEOFF]
	mov	x0, x19
	bl	_device_remove_file
	b	LBB0_6
LBB0_4:
Lloh12:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_6
LBB0_5:
	mov	x20, x0
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_DRM_DEV_ERROR
LBB0_6:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_vidi_fake_vblank_timer,4,2     ; @vidi_fake_vblank_timer
	.comm	_dev_attr_connection,4,2        ; @dev_attr_connection
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to create connection sysfs.\n"

	.comm	_vidi_component_ops,4,2         ; @vidi_component_ops
	.no_dead_strip	_vidi_probe
.subsections_via_symbols
