	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cx18_try_ctrl
_cx18_try_ctrl:                         ## @cx18_try_ctrl
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	%rdx, %rbx
	movl	(%rdx), %eax
	movl	%eax, -16(%rbp)
	leaq	-24(%rbp), %rdx
	callq	_cx18_queryctrl
	testl	%eax, %eax
	jne	LBB0_5
## %bb.1:
	movq	-24(%rbp), %rax
	movq	_V4L2_CTRL_TYPE_MENU@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.3:
	movl	-16(%rbp), %edi
	callq	_v4l2_ctrl_get_menu
	movq	%rax, %rdx
	jmp	LBB0_4
LBB0_2:
	xorl	%edx, %edx
LBB0_4:
	leaq	-24(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_v4l2_ctrl_check
LBB0_5:
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_CTRL_TYPE_MENU,8,3        ## @V4L2_CTRL_TYPE_MENU
	.no_dead_strip	_cx18_try_ctrl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cx18_try_ctrl
_cx18_try_ctrl:                         ; @cx18_try_ctrl
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x2
	ldr	w8, [x2]
	str	w8, [sp, #8]
	mov	x2, sp
	bl	_cx18_queryctrl
	cbnz	w0, LBB0_5
; %bb.1:
	ldr	x8, [sp]
Lloh0:
	adrp	x9, _V4L2_CTRL_TYPE_MENU@GOTPAGE
Lloh1:
	ldr	x9, [x9, _V4L2_CTRL_TYPE_MENU@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
	ldr	w0, [sp, #8]
	bl	_v4l2_ctrl_get_menu
	mov	x2, x0
	b	LBB0_4
LBB0_3:
	mov	x2, #0
LBB0_4:
	mov	x1, sp
	mov	x0, x19
	bl	_v4l2_ctrl_check
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_CTRL_TYPE_MENU,8,3        ; @V4L2_CTRL_TYPE_MENU
	.no_dead_strip	_cx18_try_ctrl
.subsections_via_symbols
