	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function uvc_try_frame_interval
_uvc_try_frame_interval:                ## @uvc_try_frame_interval
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %r8d
	movq	8(%rdi), %r9
	testq	%r8, %r8
	je	LBB0_6
## %bb.1:
	movq	$-1, %rdi
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rdi, %rax
	movq	(%r9,%rdx,8), %rdi
	movq	%rdi, %rcx
	subq	%rsi, %rcx
	negq	%rcx
	subq	%rsi, %rdi
	cmovlq	%rcx, %rdi
	cmpq	%rax, %rdi
	jg	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rdx
	cmpq	%rdx, %r8
	jne	LBB0_2
## %bb.4:
	movl	%r8d, %edx
LBB0_5:
	decl	%edx
	movq	(%r9,%rdx,8), %rax
	popq	%rbp
	retq
LBB0_6:
	movq	(%r9), %rcx
	movq	8(%r9), %r8
	movq	16(%r9), %r9
	subq	%rcx, %rsi
	movq	%r9, %rdi
	shrq	$63, %rdi
	addq	%r9, %rdi
	sarq	%rdi
	addq	%rsi, %rdi
	movq	%rdi, %rax
	orq	%r9, %rax
	shrq	$32, %rax
	je	LBB0_7
## %bb.8:
	movq	%rdi, %rax
	cqto
	idivq	%r9
	jmp	LBB0_9
LBB0_7:
	movl	%edi, %eax
	xorl	%edx, %edx
	divl	%r9d
                                        ## kill: def $edx killed $edx def $rdx
LBB0_9:
	subq	%rdx, %rcx
	addq	%rdi, %rcx
	cmpq	%r8, %rcx
	cmovgeq	%r8, %rcx
	movq	%rcx, %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_uvc_try_frame_interval
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function uvc_try_frame_interval
_uvc_try_frame_interval:                ; @uvc_try_frame_interval
	.cfi_startproc
; %bb.0:
	ldr	w9, [x0]
	ldr	x8, [x0, #8]
	cbz	w9, LBB0_6
; %bb.1:
	mov	x10, #0
	mov	x11, #-1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x8, x10, lsl #3]
	sub	x13, x1, x12
	subs	x12, x12, x1
	csel	x12, x13, x12, lt
	cmp	x12, x11
	b.gt	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x10, x10, #1
	mov	x11, x12
	cmp	x9, x10
	b.ne	LBB0_2
; %bb.4:
	mov	x10, x9
LBB0_5:
	sub	w9, w10, #1
	ldr	x0, [x8, w9, uxtw #3]
	ret
LBB0_6:
	ldp	x9, x10, [x8]
	ldr	x8, [x8, #16]
	sub	x11, x1, x9
	cmp	x8, #0
	cinc	x12, x8, lt
	add	x11, x11, x12, asr #1
	sdiv	x12, x11, x8
	neg	x13, x11
	madd	x8, x12, x8, x13
	add	x8, x9, x8
	add	x8, x8, x11
	cmp	x8, x10
	csel	x0, x8, x10, lt
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_uvc_try_frame_interval
.subsections_via_symbols
