	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function v4l2_async_match_notify
_v4l2_async_match_notify:               ## @v4l2_async_match_notify
	.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, %r12
	movq	%rdx, %r15
	movq	%rdi, %r14
	movq	%rsi, %rdi
	movq	%rdx, %rsi
	callq	_v4l2_device_register_subdev
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_v4l2_async_notifier_call_bound
	testl	%eax, %eax
	js	LBB0_3
## %bb.4:
	movq	%r12, %rdi
	callq	_list_del
	movq	%r12, 16(%r15)
	movq	%r14, 8(%r15)
	leaq	8(%r14), %rsi
	movq	%r15, %rdi
	callq	_list_move
	movq	%r15, %rdi
	callq	_v4l2_async_find_subdev_notifier
	xorl	%ebx, %ebx
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	cmpq	$0, (%rax)
	jne	LBB0_6
## %bb.7:
	movq	%r14, (%rax)
	movq	%rax, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_v4l2_async_notifier_try_all_subdevs ## TAILCALL
LBB0_1:
	movl	%eax, %ebx
	jmp	LBB0_6
LBB0_3:
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_v4l2_device_unregister_subdev
LBB0_6:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_v4l2_async_match_notify
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function v4l2_async_match_notify
_v4l2_async_match_notify:               ; @v4l2_async_match_notify
	.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	x21, x3
	mov	x20, x2
	mov	x19, x0
	mov	x0, x1
	mov	x1, x2
	bl	_v4l2_device_register_subdev
	tbnz	w0, #31, LBB0_5
; %bb.1:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_v4l2_async_notifier_call_bound
	tbnz	w0, #31, LBB0_6
; %bb.2:
	mov	x0, x21
	bl	_list_del
	stp	x19, x21, [x20, #8]
	add	x1, x19, #8
	mov	x0, x20
	bl	_list_move
	mov	x0, x20
	bl	_v4l2_async_find_subdev_notifier
	cbz	x0, LBB0_4
; %bb.3:
	ldr	x8, [x0]
	cbz	x8, LBB0_8
LBB0_4:
	mov	w22, #0
	b	LBB0_7
LBB0_5:
	mov	x22, x0
	b	LBB0_7
LBB0_6:
	mov	x22, x0
	mov	x0, x20
	bl	_v4l2_device_unregister_subdev
LBB0_7:
	mov	x0, x22
	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
LBB0_8:
	str	x19, [x0]
	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
	b	_v4l2_async_notifier_try_all_subdevs
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_v4l2_async_match_notify
.subsections_via_symbols
