	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function model_calc_threshold
_model_calc_threshold:                  ## @model_calc_threshold
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	8(%rdi), %rcx
	movl	(%rax,%rcx,4), %eax
	leal	(%rax,%rax), %ecx
	decl	%ecx
	movl	%ecx, %eax
	sarl	%eax
	movq	16(%rdi), %rdx
	movl	(%rdx), %edx
	leal	(%rax,%rdx,4), %eax
	cltd
	idivl	%ecx
	movl	%eax, %edi
	movl	$16383, %esi                    ## imm = 0x3FFF
	popq	%rbp
	jmp	_FFMIN                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_model_calc_threshold
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function model_calc_threshold
_model_calc_threshold:                  ; @model_calc_threshold
	.cfi_startproc
; %bb.0:
	ldp	x8, x9, [x0]
	ldr	w8, [x8, x9, lsl #2]
	lsl	w8, w8, #1
	sub	w8, w8, #1
	asr	w9, w8, #1
	ldr	x10, [x0, #16]
	ldr	w10, [x10]
	add	w9, w9, w10, lsl #2
	sdiv	w0, w9, w8
	mov	w1, #16383
	b	_FFMIN
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_model_calc_threshold
.subsections_via_symbols
