	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_uvc_fraction_to_interval       ## -- Begin function uvc_fraction_to_interval
	.p2align	4, 0x90
_uvc_fraction_to_interval:              ## @uvc_fraction_to_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	$-1, %r8d
	testl	%esi, %esi
	je	LBB0_6
## %bb.1:
	movl	%edi, %eax
	cltd
	idivl	%esi
	testl	%eax, %eax
	jns	LBB0_6
## %bb.2:
	movl	$10000000, %ecx                 ## imm = 0x989680
	testl	%edi, %edi
	jle	LBB0_5
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%esi, %r9d
	movl	%ecx, %eax
	shrl	$31, %eax
	addl	%eax, %ecx
	sarl	%ecx
	shrl	$31, %esi
	addl	%r9d, %esi
	sarl	%esi
	movl	$-1, %eax
	cltd
	idivl	%ecx
	cmpl	%edi, %eax
	jl	LBB0_3
## %bb.4:
	incl	%r9d
	xorl	%r8d, %r8d
	cmpl	$3, %r9d
	jb	LBB0_6
LBB0_5:
	imull	%edi, %ecx
	movl	%ecx, %eax
	cltd
	idivl	%esi
	movl	%eax, %r8d
LBB0_6:
	movl	%r8d, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_uvc_fraction_to_interval       ; -- Begin function uvc_fraction_to_interval
	.p2align	2
_uvc_fraction_to_interval:              ; @uvc_fraction_to_interval
	.cfi_startproc
; %bb.0:
	cbz	w1, LBB0_2
; %bb.1:
	sdiv	w8, w0, w1
	tbnz	w8, #31, LBB0_3
LBB0_2:
	mov	w0, #-1
	ret
LBB0_3:
	mov	w8, #38528
	movk	w8, #152, lsl #16
	cmp	w0, #1
	b.lt	LBB0_8
; %bb.4:
	mov	w9, #-1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x10, x1
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w8, w8, #1
	cmp	w1, #0
	cinc	w11, w1, lt
	asr	w1, w11, #1
	sdiv	w11, w9, w8
	cmp	w11, w0
	b.lt	LBB0_5
; %bb.6:
	add	w9, w10, #1
	cmp	w9, #3
	b.hs	LBB0_8
; %bb.7:
	mov	w0, #0
	ret
LBB0_8:
	mul	w8, w8, w0
	sdiv	w0, w8, w1
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
