	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vidioc_g_ctrl
_vidioc_g_ctrl:                         ## @vidioc_g_ctrl
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rsi), %r9
	movq	8(%r9), %r8
	movq	_HEXIUM_CONTROLS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_hexium_controls@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r10
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	testl	%eax, %eax
	jle	LBB0_7
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	-8(%r10,%rax,8), %rcx
	decq	%rax
	cmpq	(%rdx), %rcx
	jne	LBB0_1
## %bb.3:
	movq	_V4L2_CID_PRIVATE_BASE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jne	LBB0_5
## %bb.4:
	movslq	(%r8), %rdi
	movl	%edi, 8(%rdx)
	callq	_DEB_D
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_7:
	movq	(%r9), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_5:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HEXIUM_CONTROLS,4,2            ## @HEXIUM_CONTROLS
	.comm	_hexium_controls,8,3            ## @hexium_controls
	.comm	_V4L2_CID_PRIVATE_BASE,8,3      ## @V4L2_CID_PRIVATE_BASE
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_vidioc_g_ctrl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vidioc_g_ctrl
_vidioc_g_ctrl:                         ; @vidioc_g_ctrl
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x9, [x1]
Lloh0:
	adrp	x10, _HEXIUM_CONTROLS@GOTPAGE
Lloh1:
	ldr	x10, [x10, _HEXIUM_CONTROLS@GOTPAGEOFF]
	ldr	x8, [x9, #8]
Lloh2:
	ldr	w10, [x10]
Lloh3:
	adrp	x11, _hexium_controls@GOTPAGE
Lloh4:
	ldr	x11, [x11, _hexium_controls@GOTPAGEOFF]
Lloh5:
	ldr	x11, [x11]
	sub	x11, x11, #8
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w10, #1
	b.lt	LBB0_5
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x12, [x11, x10, lsl #3]
	sub	x10, x10, #1
	ldr	x13, [x2]
	cmp	x12, x13
	b.ne	LBB0_1
; %bb.3:
Lloh6:
	adrp	x9, _V4L2_CID_PRIVATE_BASE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _V4L2_CID_PRIVATE_BASE@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x12, x9
	b.ne	LBB0_6
; %bb.4:
	ldrsw	x0, [x8]
	str	w0, [x2, #8]
	bl	_DEB_D
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_5:
	ldr	x8, [x9]
	ldr	x8, [x8]
	ldr	x3, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	br	x3
LBB0_6:
Lloh9:
	adrp	x8, _EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_HEXIUM_CONTROLS,4,2            ; @HEXIUM_CONTROLS
	.comm	_hexium_controls,8,3            ; @hexium_controls
	.comm	_V4L2_CID_PRIVATE_BASE,8,3      ; @V4L2_CID_PRIVATE_BASE
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_vidioc_g_ctrl
.subsections_via_symbols
