	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __uvc_ctrl_get_value
___uvc_ctrl_get_value:                  ## @__uvc_ctrl_get_value
	.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	%rsi, %rdx
	movq	%rdi, %rbx
	movq	_UVC_GET_CUR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	*(%rdi)
	movq	8(%rbx), %rcx
	movq	_V4L2_CTRL_TYPE_MENU@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_6
## %bb.1:
	movl	16(%rbx), %ecx
	testq	%rcx, %rcx
	je	LBB0_6
## %bb.2:
	movq	24(%rbx), %rsi
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%eax, (%rsi,%rdx,4)
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%rdx
	cmpl	%edx, %ecx
	jne	LBB0_3
	jmp	LBB0_6
LBB0_5:
	movl	%edx, %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UVC_GET_CUR,4,2                ## @UVC_GET_CUR
	.comm	_V4L2_CTRL_TYPE_MENU,8,3        ## @V4L2_CTRL_TYPE_MENU
	.no_dead_strip	___uvc_ctrl_get_value
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __uvc_ctrl_get_value
___uvc_ctrl_get_value:                  ; @__uvc_ctrl_get_value
	.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	x2, x1
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _UVC_GET_CUR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _UVC_GET_CUR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
	blr	x8
	ldr	x8, [x19, #8]
Lloh3:
	adrp	x9, _V4L2_CTRL_TYPE_MENU@GOTPAGE
Lloh4:
	ldr	x9, [x9, _V4L2_CTRL_TYPE_MENU@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.1:
	ldr	w8, [x19, #16]
	cbz	w8, LBB0_6
; %bb.2:
	mov	x9, #0
	ldr	x10, [x19, #24]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x10, x9, lsl #2]
	cmp	w11, w0
	b.eq	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x9, x9, #1
	cmp	w8, w9
	b.ne	LBB0_3
	b	LBB0_6
LBB0_5:
	mov	x0, x9
LBB0_6:
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_UVC_GET_CUR,4,2                ; @UVC_GET_CUR
	.comm	_V4L2_CTRL_TYPE_MENU,8,3        ; @V4L2_CTRL_TYPE_MENU
	.no_dead_strip	___uvc_ctrl_get_value
.subsections_via_symbols
