	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tlg_fm_vidioc_queryctrl
_tlg_fm_vidioc_queryctrl:               ## @tlg_fm_vidioc_queryctrl
	.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
	movl	(%rdx), %eax
	movq	_V4L2_CTRL_FLAG_NEXT_CTRL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	je	LBB0_3
## %bb.1:
	movq	%rdx, %rbx
	notl	%ecx
	andl	%ecx, %eax
	movl	%eax, (%rdx)
	movq	_V4L2_CID_TUNE_PREEMPHASIS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpl	%ecx, %eax
	jne	LBB0_2
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_4
LBB0_2:
	movl	%ecx, (%rbx)
	movq	_V4L2_PREEMPHASIS_DISABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_V4L2_PREEMPHASIS_75_uS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_V4L2_PREEMPHASIS_50_uS@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%rbx, %rdi
	movl	$1, %ecx
	callq	_v4l2_ctrl_query_fill
	movq	_V4L2_CTRL_FLAG_UPDATE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	xorl	%eax, %eax
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_CTRL_FLAG_NEXT_CTRL,4,2   ## @V4L2_CTRL_FLAG_NEXT_CTRL
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_V4L2_CID_TUNE_PREEMPHASIS,4,2  ## @V4L2_CID_TUNE_PREEMPHASIS
	.comm	_V4L2_PREEMPHASIS_DISABLED,4,2  ## @V4L2_PREEMPHASIS_DISABLED
	.comm	_V4L2_PREEMPHASIS_75_uS,4,2     ## @V4L2_PREEMPHASIS_75_uS
	.comm	_V4L2_PREEMPHASIS_50_uS,4,2     ## @V4L2_PREEMPHASIS_50_uS
	.comm	_V4L2_CTRL_FLAG_UPDATE,4,2      ## @V4L2_CTRL_FLAG_UPDATE
	.no_dead_strip	_tlg_fm_vidioc_queryctrl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tlg_fm_vidioc_queryctrl
_tlg_fm_vidioc_queryctrl:               ; @tlg_fm_vidioc_queryctrl
	.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
	ldr	w8, [x2]
Lloh0:
	adrp	x9, _V4L2_CTRL_FLAG_NEXT_CTRL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _V4L2_CTRL_FLAG_NEXT_CTRL@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	mov	x19, x2
	bic	w9, w8, w9
	str	w9, [x2]
Lloh3:
	adrp	x8, _V4L2_CID_TUNE_PREEMPHASIS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _V4L2_CID_TUNE_PREEMPHASIS@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w9, w8
	b.ne	LBB0_3
LBB0_2:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_4
LBB0_3:
	str	w8, [x19]
Lloh9:
	adrp	x8, _V4L2_PREEMPHASIS_DISABLED@GOTPAGE
Lloh10:
	ldr	x8, [x8, _V4L2_PREEMPHASIS_DISABLED@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x8, _V4L2_PREEMPHASIS_75_uS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _V4L2_PREEMPHASIS_75_uS@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
Lloh15:
	adrp	x8, _V4L2_PREEMPHASIS_50_uS@GOTPAGE
Lloh16:
	ldr	x8, [x8, _V4L2_PREEMPHASIS_50_uS@GOTPAGEOFF]
Lloh17:
	ldr	w4, [x8]
	mov	x0, x19
	mov	w3, #1
	bl	_v4l2_ctrl_query_fill
	mov	w0, #0
Lloh18:
	adrp	x8, _V4L2_CTRL_FLAG_UPDATE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _V4L2_CTRL_FLAG_UPDATE@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	str	w8, [x19, #4]
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_CTRL_FLAG_NEXT_CTRL,4,2   ; @V4L2_CTRL_FLAG_NEXT_CTRL
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_V4L2_CID_TUNE_PREEMPHASIS,4,2  ; @V4L2_CID_TUNE_PREEMPHASIS
	.comm	_V4L2_PREEMPHASIS_DISABLED,4,2  ; @V4L2_PREEMPHASIS_DISABLED
	.comm	_V4L2_PREEMPHASIS_75_uS,4,2     ; @V4L2_PREEMPHASIS_75_uS
	.comm	_V4L2_PREEMPHASIS_50_uS,4,2     ; @V4L2_PREEMPHASIS_50_uS
	.comm	_V4L2_CTRL_FLAG_UPDATE,4,2      ; @V4L2_CTRL_FLAG_UPDATE
	.no_dead_strip	_tlg_fm_vidioc_queryctrl
.subsections_via_symbols
