	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ctrl_cx2341x_getv4lflags
_ctrl_cx2341x_getv4lflags:              ## @ctrl_cx2341x_getv4lflags
	.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	%rdi, %rbx
	movq	$0, -16(%rbp)
	movq	(%rdi), %rax
	movl	(%rax), %eax
	movl	%eax, -12(%rbp)
	movq	8(%rdi), %rdi
	leaq	-16(%rbp), %rsi
	callq	_cx2341x_ctrl_query
	movq	(%rbx), %rcx
	movl	-16(%rbp), %eax
	movq	_V4L2_CTRL_FLAG_READ_ONLY@GOTPCREL(%rip), %rsi
	movq	(%rcx), %rdx
	testl	%eax, (%rsi)
	je	LBB0_3
## %bb.1:
	testq	%rdx, %rdx
	je	LBB0_6
## %bb.2:
	xorl	%edx, %edx
	jmp	LBB0_5
LBB0_3:
	testq	%rdx, %rdx
	jne	LBB0_6
## %bb.4:
	movq	_ctrl_cx2341x_set@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
LBB0_5:
	movq	%rdx, (%rcx)
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_CTRL_FLAG_READ_ONLY,4,2   ## @V4L2_CTRL_FLAG_READ_ONLY
	.comm	_ctrl_cx2341x_set,8,3           ## @ctrl_cx2341x_set
	.no_dead_strip	_ctrl_cx2341x_getv4lflags
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ctrl_cx2341x_getv4lflags
_ctrl_cx2341x_getv4lflags:              ; @ctrl_cx2341x_getv4lflags
	.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, x0
	str	xzr, [sp, #8]
	ldp	x8, x0, [x0]
	ldr	w8, [x8]
	str	w8, [sp, #12]
	add	x1, sp, #8
	bl	_cx2341x_ctrl_query
	ldr	x8, [x19]
	ldr	w0, [sp, #8]
Lloh0:
	adrp	x9, _V4L2_CTRL_FLAG_READ_ONLY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _V4L2_CTRL_FLAG_READ_ONLY@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x9]
	ldr	x9, [x8]
	tst	w10, w0
	b.eq	LBB0_3
; %bb.1:
	cbz	x9, LBB0_6
; %bb.2:
	mov	x9, #0
	b	LBB0_5
LBB0_3:
	cbnz	x9, LBB0_6
; %bb.4:
Lloh3:
	adrp	x9, _ctrl_cx2341x_set@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ctrl_cx2341x_set@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
LBB0_5:
	str	x9, [x8]
LBB0_6:
	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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_CTRL_FLAG_READ_ONLY,4,2   ; @V4L2_CTRL_FLAG_READ_ONLY
	.comm	_ctrl_cx2341x_set,8,3           ; @ctrl_cx2341x_set
	.no_dead_strip	_ctrl_cx2341x_getv4lflags
.subsections_via_symbols
