	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_optimal_param
_find_optimal_param:                    ## @find_optimal_param
	.cfi_startproc
## %bb.0:
	movl	%esi, %eax
	sarl	%eax
	cmpl	%edi, %eax
	jge	LBB0_1
## %bb.2:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%edx, %ebx
	subl	%eax, %edi
	movl	%edi, %eax
	cltd
	idivl	%esi
	movl	%eax, %edi
	callq	_av_clipl_int32
	movl	%eax, %edi
	callq	_av_log2
	movl	%eax, %edi
	movl	%ebx, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_FFMIN                          ## TAILCALL
LBB0_1:
	xorl	%eax, %eax
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_find_optimal_param
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_optimal_param
_find_optimal_param:                    ; @find_optimal_param
	.cfi_startproc
; %bb.0:
	asr	w8, w1, #1
	cmp	w8, w0
	b.ge	LBB0_2
; %bb.1:
	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, x2
	sub	w8, w0, w8
	sdiv	w0, w8, w1
	bl	_av_clipl_int32
	bl	_av_log2
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_FFMIN
LBB0_2:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	mov	w0, #0
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_find_optimal_param
.subsections_via_symbols
