	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vidioc_queryctrl
_vidioc_queryctrl:                      ## @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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %r14
	movq	(%rdx), %rdi
	movq	_V4L2_CID_BASE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	jl	LBB0_2
## %bb.1:
	movq	_V4L2_CID_LASTP1@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	jl	LBB0_5
LBB0_2:
	movq	_V4L2_CID_PRIVATE_BASE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	jl	LBB0_4
## %bb.3:
	movq	_V4L2_CID_PRIVATE_LASTP1@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	jge	LBB0_4
LBB0_5:
	callq	_ctrl_by_id
	testq	%rax, %rax
	je	LBB0_4
## %bb.6:
	movq	%rax, %rbx
	movq	(%r14), %rdi
	callq	_DEB_EE
	movq	(%rbx), %rax
	movq	%rax, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_7
LBB0_4:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_CID_BASE,8,3              ## @V4L2_CID_BASE
	.comm	_V4L2_CID_LASTP1,8,3            ## @V4L2_CID_LASTP1
	.comm	_V4L2_CID_PRIVATE_BASE,8,3      ## @V4L2_CID_PRIVATE_BASE
	.comm	_V4L2_CID_PRIVATE_LASTP1,8,3    ## @V4L2_CID_PRIVATE_LASTP1
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_vidioc_queryctrl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vidioc_queryctrl
_vidioc_queryctrl:                      ; @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
	mov	x19, x2
	ldr	x0, [x2]
Lloh0:
	adrp	x8, _V4L2_CID_BASE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V4L2_CID_BASE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _V4L2_CID_LASTP1@GOTPAGE
Lloh4:
	ldr	x9, [x9, _V4L2_CID_LASTP1@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x0, x8
	ccmp	x0, x9, #0, ge
	b.lt	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _V4L2_CID_PRIVATE_BASE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _V4L2_CID_PRIVATE_BASE@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
Lloh9:
	adrp	x9, _V4L2_CID_PRIVATE_LASTP1@GOTPAGE
Lloh10:
	ldr	x9, [x9, _V4L2_CID_PRIVATE_LASTP1@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x0, x8
	ccmp	x0, x9, #0, ge
	b.ge	LBB0_4
LBB0_2:
	bl	_ctrl_by_id
	cbz	x0, LBB0_4
; %bb.3:
	mov	x20, x0
	ldr	x0, [x19]
	bl	_DEB_EE
	mov	w0, #0
	ldr	x8, [x20]
	str	x8, [x19]
	b	LBB0_5
LBB0_4:
Lloh12:
	adrp	x8, _EINVAL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_CID_BASE,8,3              ; @V4L2_CID_BASE
	.comm	_V4L2_CID_LASTP1,8,3            ; @V4L2_CID_LASTP1
	.comm	_V4L2_CID_PRIVATE_BASE,8,3      ; @V4L2_CID_PRIVATE_BASE
	.comm	_V4L2_CID_PRIVATE_LASTP1,8,3    ; @V4L2_CID_PRIVATE_LASTP1
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_vidioc_queryctrl
.subsections_via_symbols
