	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cx18_g_ctrl
_cx18_g_ctrl:                           ## @cx18_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, %rcx
	movl	(%rsi), %esi
	leal	-132(%rsi), %eax
	cmpl	$6, %eax
	jb	LBB0_3
## %bb.1:
	leal	-128(%rsi), %eax
	cmpl	$3, %eax
	ja	LBB0_2
LBB0_3:
	movl	(%rdi), %edi
	movq	_core@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_g_ctrl@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	popq	%rbp
	jmp	_v4l2_subdev_call               ## TAILCALL
LBB0_2:
	leaq	L_.str(%rip), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_CX18_DEBUG_IOCTL
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_core,4,2                       ## @core
	.comm	_g_ctrl,4,2                     ## @g_ctrl
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid control 0x%x\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_cx18_g_ctrl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cx18_g_ctrl
_cx18_g_ctrl:                           ; @cx18_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
	mov	x3, x1
	ldr	w1, [x1]
	sub	w8, w1, #132
	cmp	w8, #6
	b.lo	LBB0_2
; %bb.1:
	sub	w8, w1, #128
	cmp	w8, #3
	b.hi	LBB0_3
LBB0_2:
	ldr	w0, [x0]
Lloh0:
	adrp	x8, _core@GOTPAGE
Lloh1:
	ldr	x8, [x8, _core@GOTPAGEOFF]
Lloh2:
	adrp	x9, _g_ctrl@GOTPAGE
Lloh3:
	ldr	x9, [x9, _g_ctrl@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	ldr	w2, [x9]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_v4l2_subdev_call
LBB0_3:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_CX18_DEBUG_IOCTL
Lloh8:
	adrp	x8, _EINVAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_core,4,2                       ; @core
	.comm	_g_ctrl,4,2                     ; @g_ctrl
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid control 0x%x\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_cx18_g_ctrl
.subsections_via_symbols
