	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_uvc_probe_video                ## -- Begin function uvc_probe_video
	.p2align	4, 0x90
_uvc_probe_video:                       ## @uvc_probe_video
	.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	%r12
	pushq	%rbx
	subq	$48, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	$1, %edx
	callq	_uvc_set_video_ctrl
	testl	%eax, %eax
	js	LBB0_17
## %bb.1:
	movq	8(%rbx), %rax
	movq	_UVC_QUIRK_PROBE_MINMAX@GOTPCREL(%rip), %r15
	movl	(%r15), %ecx
	testl	%ecx, (%rax)
	je	LBB0_2
LBB0_5:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$1, %edx
	callq	_uvc_set_video_ctrl
	testl	%eax, %eax
	js	LBB0_17
## %bb.6:
	movq	_UVC_GET_CUR@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$1, %edx
	callq	_uvc_get_video_ctrl
	testl	%eax, %eax
	js	LBB0_17
## %bb.7:
	movq	16(%rbx), %rcx
	cmpl	$1, (%rcx)
	je	LBB0_17
## %bb.8:
	movq	(%r14), %rcx
	cmpq	(%rbx), %rcx
	jle	LBB0_17
## %bb.9:
	movq	8(%rbx), %rax
	movl	(%r15), %ecx
	testl	%ecx, (%rax)
	je	LBB0_11
LBB0_10:
	movq	_ENOSPC@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_17
LBB0_2:
	movq	_UVC_GET_MIN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-56(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	_uvc_get_video_ctrl
	testl	%eax, %eax
	js	LBB0_17
## %bb.3:
	movq	_UVC_GET_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-80(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	_uvc_get_video_ctrl
	testl	%eax, %eax
	js	LBB0_17
## %bb.4:
	movl	-68(%rbp), %eax
	movl	%eax, 12(%r14)
	jmp	LBB0_5
LBB0_11:
	movl	-36(%rbp), %eax
	movl	%eax, 20(%r14)
	movl	-40(%rbp), %eax
	movl	%eax, 16(%r14)
	movl	-68(%rbp), %eax
	movl	%eax, 12(%r14)
	movl	-48(%rbp), %eax
	movl	%eax, 8(%r14)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$1, %edx
	callq	_uvc_set_video_ctrl
	testl	%eax, %eax
	js	LBB0_17
## %bb.12:
	movl	(%r12), %ecx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$1, %edx
	callq	_uvc_get_video_ctrl
	testl	%eax, %eax
	js	LBB0_17
## %bb.13:
	movq	16(%rbx), %rcx
	cmpl	$1, (%rcx)
	je	LBB0_17
## %bb.14:
	movq	(%r14), %rcx
	cmpq	(%rbx), %rcx
	jle	LBB0_17
## %bb.15:
	movq	8(%rbx), %rcx
	movl	(%r15), %edx
	testl	%edx, (%rcx)
	jne	LBB0_10
## %bb.16:
	movl	-36(%rbp), %ecx
	movl	%ecx, 20(%r14)
	movl	-40(%rbp), %ecx
	movl	%ecx, 16(%r14)
	movl	-68(%rbp), %ecx
	movl	%ecx, 12(%r14)
	movl	-48(%rbp), %ecx
	movl	%ecx, 8(%r14)
LBB0_17:
	addq	$48, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UVC_QUIRK_PROBE_MINMAX,4,2     ## @UVC_QUIRK_PROBE_MINMAX
	.comm	_UVC_GET_MIN,4,2                ## @UVC_GET_MIN
	.comm	_UVC_GET_MAX,4,2                ## @UVC_GET_MAX
	.comm	_UVC_GET_CUR,4,2                ## @UVC_GET_CUR
	.comm	_ENOSPC,4,2                     ## @ENOSPC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_uvc_probe_video                ; -- Begin function uvc_probe_video
	.p2align	2
_uvc_probe_video:                       ; @uvc_probe_video
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x19, x1
	mov	x20, x0
	mov	w2, #1
	bl	_uvc_set_video_ctrl
	tbnz	w0, #31, LBB0_17
; %bb.1:
	ldr	x8, [x20, #8]
	ldr	w8, [x8]
Lloh0:
	adrp	x21, _UVC_QUIRK_PROBE_MINMAX@GOTPAGE
Lloh1:
	ldr	x21, [x21, _UVC_QUIRK_PROBE_MINMAX@GOTPAGEOFF]
	ldr	w9, [x21]
	tst	w9, w8
	b.eq	LBB0_8
LBB0_2:
	mov	x0, x20
	mov	x1, x19
	mov	w2, #1
	bl	_uvc_set_video_ctrl
	tbnz	w0, #31, LBB0_17
; %bb.3:
Lloh2:
	adrp	x22, _UVC_GET_CUR@GOTPAGE
Lloh3:
	ldr	x22, [x22, _UVC_GET_CUR@GOTPAGEOFF]
	ldr	w3, [x22]
	mov	x0, x20
	mov	x1, x19
	mov	w2, #1
	bl	_uvc_get_video_ctrl
	tbnz	w0, #31, LBB0_17
; %bb.4:
	ldr	x8, [x20, #16]
	ldr	w8, [x8]
	cmp	w8, #1
	b.eq	LBB0_17
; %bb.5:
	ldr	x8, [x19]
	ldr	x9, [x20]
	cmp	x8, x9
	b.le	LBB0_17
; %bb.6:
	ldr	x8, [x20, #8]
	ldr	w8, [x8]
	ldr	w9, [x21]
	tst	w9, w8
	b.eq	LBB0_11
LBB0_7:
Lloh4:
	adrp	x8, _ENOSPC@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ENOSPC@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_17
LBB0_8:
Lloh7:
	adrp	x8, _UVC_GET_MIN@GOTPAGE
Lloh8:
	ldr	x8, [x8, _UVC_GET_MIN@GOTPAGEOFF]
Lloh9:
	ldr	w3, [x8]
	add	x1, sp, #24
	mov	x0, x20
	mov	w2, #1
	bl	_uvc_get_video_ctrl
	tbnz	w0, #31, LBB0_17
; %bb.9:
Lloh10:
	adrp	x8, _UVC_GET_MAX@GOTPAGE
Lloh11:
	ldr	x8, [x8, _UVC_GET_MAX@GOTPAGEOFF]
Lloh12:
	ldr	w3, [x8]
	mov	x1, sp
	mov	x0, x20
	mov	w2, #1
	bl	_uvc_get_video_ctrl
	tbnz	w0, #31, LBB0_17
; %bb.10:
	ldr	w8, [sp, #12]
	str	w8, [x19, #12]
	b	LBB0_2
LBB0_11:
	ldr	d0, [sp, #40]
	str	d0, [x19, #16]
	ldr	w8, [sp, #12]
	ldr	w9, [sp, #32]
	stp	w9, w8, [x19, #8]
	mov	x0, x20
	mov	x1, x19
	mov	w2, #1
	bl	_uvc_set_video_ctrl
	tbnz	w0, #31, LBB0_17
; %bb.12:
	ldr	w3, [x22]
	mov	x0, x20
	mov	x1, x19
	mov	w2, #1
	bl	_uvc_get_video_ctrl
	tbnz	w0, #31, LBB0_17
; %bb.13:
	ldr	x8, [x20, #16]
	ldr	w8, [x8]
	cmp	w8, #1
	b.eq	LBB0_17
; %bb.14:
	ldr	x8, [x19]
	ldr	x9, [x20]
	cmp	x8, x9
	b.le	LBB0_17
; %bb.15:
	ldr	x8, [x20, #8]
	ldr	w8, [x8]
	ldr	w9, [x21]
	tst	w9, w8
	b.ne	LBB0_7
; %bb.16:
	ldr	d0, [sp, #40]
	str	d0, [x19, #16]
	ldr	w8, [sp, #12]
	ldr	w9, [sp, #32]
	stp	w9, w8, [x19, #8]
LBB0_17:
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_UVC_QUIRK_PROBE_MINMAX,4,2     ; @UVC_QUIRK_PROBE_MINMAX
	.comm	_UVC_GET_MIN,4,2                ; @UVC_GET_MIN
	.comm	_UVC_GET_MAX,4,2                ; @UVC_GET_MAX
	.comm	_UVC_GET_CUR,4,2                ; @UVC_GET_CUR
	.comm	_ENOSPC,4,2                     ; @ENOSPC
.subsections_via_symbols
