	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tw686x_fps_idx
_tw686x_fps_idx:                        ## @tw686x_fps_idx
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %ebx
	leal	(%rbx,%rbx,4), %eax
	leal	(%rax,%rax,2), %ecx
	addl	$12, %ecx
	movl	$1, %eax
	cmpl	%esi, %ecx
	jb	LBB0_2
## %bb.1:
	xorl	%r15d, %r15d
	movl	%ecx, %eax
	xorl	%edx, %edx
	divl	%esi
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_tw686x_real_fps
	subl	%ebx, %eax
	xorl	%ecx, %ecx
	cmpl	$2, %eax
	setge	%cl
	negl	%ecx
	cmpl	$-1, %eax
	movl	$1, %eax
	cmovgel	%ecx, %eax
	addl	%r14d, %eax
	cmpl	$15, %eax
	cmovael	%r15d, %eax
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_tw686x_fps_idx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tw686x_fps_idx
_tw686x_fps_idx:                        ; @tw686x_fps_idx
	.cfi_startproc
; %bb.0:
	lsl	w8, w0, #4
	sub	w8, w8, w0
	add	w8, w8, #12
	cmp	w8, w1
	b.hs	LBB0_2
; %bb.1:
	mov	w0, #1
	ret
LBB0_2:
	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	x19, x0
	udiv	w20, w8, w1
	mov	x0, x20
	bl	_tw686x_real_fps
	sub	w8, w0, w19
	cmp	w8, #1
	csetm	w9, gt
	cmn	w8, #1
	csinc	w8, w9, wzr, ge
	add	w8, w8, w20
	cmp	w8, #14
	csel	w0, wzr, w8, hi
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_tw686x_fps_idx
.subsections_via_symbols
