	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function arith2_get_number
_arith2_get_number:                     ## @arith2_get_number
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %r14
	movl	(%rdi), %r12d
	subl	4(%rdi), %r12d
	incl	%r12d
	movl	%r12d, %edi
	callq	_av_log2
	movl	%eax, %ebx
	movl	%r15d, %edi
	callq	_av_log2
	subl	%eax, %ebx
	movl	%r15d, %eax
	movl	%ebx, %ecx
	shll	%cl, %eax
	xorl	%ecx, %ecx
	cmpl	%r12d, %eax
	setg	%cl
	subl	%ecx, %ebx
	movl	%ebx, %ecx
	shll	%cl, %r15d
	movl	8(%r14), %edi
	subl	4(%r14), %edi
	movl	%r15d, %esi
	movl	%r12d, %edx
	callq	_arith2_get_scaled_value
	movl	%eax, %r13d
	movl	%ebx, %ecx
	sarl	%cl, %r13d
	movl	%r13d, %edx
	shll	%cl, %edx
	leal	1(%r13), %eax
	shll	%cl, %eax
	movq	%r14, %rdi
	movl	%r12d, %esi
	movl	%eax, %ecx
	movl	%r15d, %r8d
	callq	_arith2_rescale_interval
	movq	%r14, %rdi
	callq	_arith2_normalise
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_arith2_get_number
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function arith2_get_number
_arith2_get_number:                     ; @arith2_get_number
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	mov	x20, x0
	ldp	w8, w9, [x0]
	sub	w8, w8, w9
	add	w21, w8, #1
	mov	x0, x21
	bl	_av_log2
	mov	x22, x0
	mov	x0, x19
	bl	_av_log2
	sub	w8, w22, w0
	lsl	w9, w19, w8
	cmp	w9, w21
	cset	w9, gt
	sub	w23, w8, w9
	lsl	w19, w19, w23
	ldp	w9, w8, [x20, #4]
	sub	w0, w8, w9
	mov	x1, x19
	mov	x2, x21
	bl	_arith2_get_scaled_value
	asr	w22, w0, w23
	lsl	w2, w22, w23
	add	w8, w22, #1
	lsl	w3, w8, w23
	mov	x0, x20
	mov	x1, x21
	mov	x4, x19
	bl	_arith2_rescale_interval
	mov	x0, x20
	bl	_arith2_normalise
	mov	x0, x22
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_arith2_get_number
.subsections_via_symbols
