	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function v4l2_async_notifier_asd_valid
_v4l2_async_notifier_asd_valid:         ## @v4l2_async_notifier_asd_valid
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rcx
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	(%rax), %rbx
	testq	%rcx, %rcx
	jne	LBB0_4
	jmp	LBB0_9
LBB0_1:
	xorl	%ebx, %ebx
	testq	%rcx, %rcx
	je	LBB0_9
LBB0_4:
	movl	(%rcx), %eax
	movl	%eax, %esi
	andl	$-4, %esi
	cmpl	$128, %esi
	jne	LBB0_8
## %bb.5:
	movq	%rcx, %rsi
	callq	_v4l2_async_notifier_has_async_subdev
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_dev_dbg
	movq	_EEXIST@GOTPCREL(%rip), %rcx
	jmp	LBB0_10
LBB0_8:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_dev_err
LBB0_9:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
LBB0_10:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_6:
	xorl	%eax, %eax
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"subdev descriptor already listed in this or other notifiers\n"

	.comm	_EEXIST,4,2                     ## @EEXIST
L_.str.1:                               ## @.str.1
	.asciz	"Invalid match type %u on %p\n"

	.no_dead_strip	_v4l2_async_notifier_asd_valid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function v4l2_async_notifier_asd_valid
_v4l2_async_notifier_asd_valid:         ; @v4l2_async_notifier_asd_valid
	.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	x3, x1
	ldr	x8, [x0]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	x19, [x8]
	cbnz	x3, LBB0_3
	b	LBB0_7
LBB0_2:
	mov	x19, #0
	cbz	x3, LBB0_7
LBB0_3:
	ldr	w8, [x3]
	and	w9, w8, #0xfffffffc
	cmp	w9, #128
	b.ne	LBB0_6
; %bb.4:
	mov	x1, x3
	bl	_v4l2_async_notifier_has_async_subdev
	cbz	w0, LBB0_9
; %bb.5:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
Lloh2:
	adrp	x8, _EEXIST@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EEXIST@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x2, x8
	bl	_dev_err
LBB0_7:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_8:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"subdev descriptor already listed in this or other notifiers\n"

	.comm	_EEXIST,4,2                     ; @EEXIST
l_.str.1:                               ; @.str.1
	.asciz	"Invalid match type %u on %p\n"

	.no_dead_strip	_v4l2_async_notifier_asd_valid
.subsections_via_symbols
