	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function allocno_compare
_allocno_compare:                       ## @allocno_compare
	.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
	movslq	(%rdi), %r13
	movslq	(%rsi), %r12
	movq	_allocno@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	%r13, %rbx
	shlq	$5, %rbx
	movl	24(%rax,%rbx), %edi
	callq	_floor_log2
	movq	(%r15), %rcx
	imull	(%rcx,%rbx), %eax
	cvtsi2sd	%eax, %xmm0
	divsd	8(%rcx,%rbx), %xmm0
	movq	_REG_FREQ_MAX@GOTPCREL(%rip), %rsi
	movl	$10000, %eax                    ## imm = 0x2710
	xorl	%edx, %edx
	idivl	(%rsi)
	cvtsi2sd	%eax, %xmm1
	mulsd	%xmm0, %xmm1
	mulsd	16(%rcx,%rbx), %xmm1
	cvttsd2si	%xmm1, %ebx
	movq	%r12, %r14
	shlq	$5, %r14
	movl	24(%rcx,%r14), %edi
	callq	_floor_log2
	movq	(%r15), %rcx
	imull	(%rcx,%r14), %eax
	xorps	%xmm0, %xmm0
	cvtsi2sd	%eax, %xmm0
	divsd	8(%rcx,%r14), %xmm0
	movl	$10000, %eax                    ## imm = 0x2710
	xorl	%edx, %edx
	movq	_REG_FREQ_MAX@GOTPCREL(%rip), %rsi
	idivl	(%rsi)
	xorps	%xmm1, %xmm1
	cvtsi2sd	%eax, %xmm1
	mulsd	%xmm0, %xmm1
	mulsd	16(%rcx,%r14), %xmm1
	cvttsd2si	%xmm1, %eax
	subl	%r12d, %r13d
	subl	%ebx, %eax
	cmovel	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_allocno,8,3                    ## @allocno
	.comm	_REG_FREQ_MAX,4,2               ## @REG_FREQ_MAX
	.no_dead_strip	_allocno_compare
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function allocno_compare
_allocno_compare:                       ; @allocno_compare
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	ldrsw	x19, [x0]
	ldrsw	x20, [x1]
Lloh0:
	adrp	x21, _allocno@GOTPAGE
Lloh1:
	ldr	x21, [x21, _allocno@GOTPAGEOFF]
	ldr	x8, [x21]
	lsl	x22, x19, #5
	add	x8, x8, x22
	ldr	w0, [x8, #24]
	bl	_floor_log2
	ldr	x8, [x21]
	add	x9, x8, x22
	ldr	w10, [x9]
	mul	w10, w10, w0
	scvtf	d0, w10
	ldp	d1, d2, [x9, #8]
	fdiv	d0, d0, d1
Lloh2:
	adrp	x22, _REG_FREQ_MAX@GOTPAGE
Lloh3:
	ldr	x22, [x22, _REG_FREQ_MAX@GOTPAGEOFF]
	ldr	w9, [x22]
	mov	w23, #10000
	sdiv	w9, w23, w9
	scvtf	d1, w9
	fmul	d0, d0, d1
	fmul	d0, d2, d0
	fcvtzs	w24, d0
	lsl	x25, x20, #5
	add	x8, x8, x25
	ldr	w0, [x8, #24]
	bl	_floor_log2
	ldr	x8, [x21]
	add	x8, x8, x25
	ldr	w9, [x8]
	mul	w9, w9, w0
	scvtf	d0, w9
	ldp	d1, d2, [x8, #8]
	fdiv	d0, d0, d1
	ldr	w8, [x22]
	sdiv	w8, w23, w8
	scvtf	d1, w8
	fmul	d0, d0, d1
	fmul	d0, d2, d0
	fcvtzs	w8, d0
	sub	w9, w19, w20
	subs	w8, w8, w24
	csel	w0, w9, w8, eq
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_allocno,8,3                    ; @allocno
	.comm	_REG_FREQ_MAX,4,2               ; @REG_FREQ_MAX
	.no_dead_strip	_allocno_compare
.subsections_via_symbols
