	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __uvc_ctrl_get
___uvc_ctrl_get:                        ## @__uvc_ctrl_get
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_UVC_CTRL_FLAG_GET_CUR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%rsi)
	je	LBB0_1
## %bb.2:
	movq	%rcx, %r14
	movq	%rdx, %r15
	movq	%rsi, %rbx
	cmpl	$0, (%rsi)
	jne	LBB0_5
## %bb.3:
	movq	(%rdi), %r12
	movq	_UVC_GET_CUR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	16(%rbx), %rax
	movl	(%rax), %r13d
	movl	(%r12), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	12(%rbx), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_UVC_CTRL_DATA_CURRENT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_uvc_ctrl_data
	movl	8(%rbx), %ecx
	movl	%ecx, (%rsp)
	movq	%r12, %rdi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	movl	%r13d, %edx
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movl	%eax, %r9d
	callq	_uvc_query_ctrl
	testl	%eax, %eax
	js	LBB0_6
## %bb.4:
	movl	$1, (%rbx)
LBB0_5:
	movq	_UVC_CTRL_DATA_CURRENT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_uvc_ctrl_data
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	___uvc_ctrl_get_value
	movl	%eax, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_1:
	movq	_EACCES@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_6:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UVC_CTRL_FLAG_GET_CUR,4,2      ## @UVC_CTRL_FLAG_GET_CUR
	.comm	_EACCES,4,2                     ## @EACCES
	.comm	_UVC_GET_CUR,4,2                ## @UVC_GET_CUR
	.comm	_UVC_CTRL_DATA_CURRENT,4,2      ## @UVC_CTRL_DATA_CURRENT
	.no_dead_strip	___uvc_ctrl_get
.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
___uvc_ctrl_get:                        ; @__uvc_ctrl_get
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	ldr	w8, [x1, #4]
Lloh0:
	adrp	x9, _UVC_CTRL_FLAG_GET_CUR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _UVC_CTRL_FLAG_GET_CUR@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.1:
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	ldr	w8, [x1]
Lloh3:
	adrp	x27, _UVC_CTRL_DATA_CURRENT@GOTPAGE
Lloh4:
	ldr	x27, [x27, _UVC_CTRL_DATA_CURRENT@GOTPAGEOFF]
	cbnz	w8, LBB0_4
; %bb.2:
	ldr	x22, [x0]
Lloh5:
	adrp	x8, _UVC_GET_CUR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _UVC_GET_CUR@GOTPAGEOFF]
Lloh7:
	ldr	w23, [x8]
	ldr	x8, [x21, #16]
	ldr	w24, [x8]
	ldr	w25, [x22]
	ldr	w26, [x21, #12]
	ldr	w1, [x27]
	mov	x0, x21
	bl	_uvc_ctrl_data
	mov	x5, x0
	ldr	w6, [x21, #8]
	mov	x0, x22
	mov	x1, x23
	mov	x2, x24
	mov	x3, x25
	mov	x4, x26
	bl	_uvc_query_ctrl
	tbnz	w0, #31, LBB0_6
; %bb.3:
	mov	w8, #1
	str	w8, [x21]
LBB0_4:
	ldr	w1, [x27]
	mov	x0, x21
	bl	_uvc_ctrl_data
	mov	x1, x0
	mov	x0, x20
	bl	___uvc_ctrl_get_value
	mov	x8, x0
	mov	w0, #0
	str	w8, [x19]
	b	LBB0_6
LBB0_5:
Lloh8:
	adrp	x8, _EACCES@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EACCES@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_UVC_CTRL_FLAG_GET_CUR,4,2      ; @UVC_CTRL_FLAG_GET_CUR
	.comm	_EACCES,4,2                     ; @EACCES
	.comm	_UVC_GET_CUR,4,2                ; @UVC_GET_CUR
	.comm	_UVC_CTRL_DATA_CURRENT,4,2      ; @UVC_CTRL_DATA_CURRENT
	.no_dead_strip	___uvc_ctrl_get
.subsections_via_symbols
