	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ctrl_is_pointer
_ctrl_is_pointer:                       ## @ctrl_is_pointer
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %r14
	callq	_video_devdata
	movq	%rax, %rbx
	movl	%r15d, -40(%rbp)
	movl	$0, -36(%rbp)
	movq	16(%rax), %r12
	movq	_V4L2_FL_USES_V4L2_FH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	8(%rbx), %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	(%r14), %rsi
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.2:
	movq	(%rsi), %rdi
	testq	%rdi, %rdi
	jne	LBB0_6
	jmp	LBB0_5
LBB0_4:
	xorl	%esi, %esi
LBB0_5:
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
LBB0_6:
	movl	%r15d, %esi
	callq	_v4l2_ctrl_find
	testq	%rax, %rax
	je	LBB0_13
## %bb.7:
	cmpq	$0, (%rax)
	setne	%al
	jmp	LBB0_14
LBB0_8:
	testq	%r12, %r12
	je	LBB0_13
## %bb.9:
	movq	(%r12), %rcx
	testq	%rcx, %rcx
	je	LBB0_13
## %bb.10:
	leaq	-40(%rbp), %rdx
	movq	%r14, %rdi
	callq	*%rcx
	testl	%eax, %eax
	sete	%cl
	movq	_V4L2_CTRL_FLAG_HAS_PAYLOAD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, -40(%rbp)
	setne	%al
	andb	%cl, %al
	jmp	LBB0_14
LBB0_13:
	xorl	%eax, %eax
LBB0_14:
	movzbl	%al, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_FL_USES_V4L2_FH,4,2       ## @V4L2_FL_USES_V4L2_FH
	.comm	_V4L2_CTRL_FLAG_HAS_PAYLOAD,4,2 ## @V4L2_CTRL_FLAG_HAS_PAYLOAD
	.no_dead_strip	_ctrl_is_pointer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ctrl_is_pointer
_ctrl_is_pointer:                       ; @ctrl_is_pointer
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x1
	mov	x19, x0
	bl	_video_devdata
	mov	x21, x0
	stp	w20, wzr, [sp, #8]
	ldr	x22, [x0, #16]
Lloh0:
	adrp	x8, _V4L2_FL_USES_V4L2_FH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V4L2_FL_USES_V4L2_FH@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, x21, #8
	bl	_test_bit
	cbz	x0, LBB0_6
; %bb.1:
	ldr	x1, [x19]
	cbz	x1, LBB0_3
; %bb.2:
	ldr	x0, [x1]
	cbnz	x0, LBB0_4
LBB0_3:
	ldr	x0, [x21]
	cbz	x0, LBB0_7
LBB0_4:
	mov	x1, x20
	bl	_v4l2_ctrl_find
	cbz	x0, LBB0_11
; %bb.5:
	ldr	x8, [x0]
	cmp	x8, #0
	cset	w0, ne
	b	LBB0_11
LBB0_6:
	mov	x1, #0
	ldr	x0, [x21]
	cbnz	x0, LBB0_4
LBB0_7:
	cbz	x22, LBB0_10
; %bb.8:
	ldr	x8, [x22]
	cbz	x8, LBB0_10
; %bb.9:
	add	x2, sp, #8
	mov	x0, x19
	blr	x8
	ldr	w8, [sp, #8]
Lloh3:
	adrp	x9, _V4L2_CTRL_FLAG_HAS_PAYLOAD@GOTPAGE
Lloh4:
	ldr	x9, [x9, _V4L2_CTRL_FLAG_HAS_PAYLOAD@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	ccmp	w0, #0, #0, ne
	cset	w0, eq
	b	LBB0_11
LBB0_10:
	mov	w0, #0
LBB0_11:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_FL_USES_V4L2_FH,4,2       ; @V4L2_FL_USES_V4L2_FH
	.comm	_V4L2_CTRL_FLAG_HAS_PAYLOAD,4,2 ; @V4L2_CTRL_FLAG_HAS_PAYLOAD
	.no_dead_strip	_ctrl_is_pointer
.subsections_via_symbols
