	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function arena_decay_backlog_npages_limit
_arena_decay_backlog_npages_limit:      ## @arena_decay_backlog_npages_limit
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_SMOOTHSTEP_NSTEPS@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	testq	%r9, %r9
	je	LBB0_1
## %bb.2:
	movq	(%rdi), %rcx
	movq	_h_steps@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	cmpl	$8, %r9d
	jae	LBB0_4
## %bb.3:
	xorl	%esi, %esi
	xorl	%eax, %eax
	jmp	LBB0_11
LBB0_1:
	xorl	%eax, %eax
	jmp	LBB0_12
LBB0_4:
	movl	%r9d, %esi
	andl	$-8, %esi
	leaq	-8(%rsi), %rax
	movq	%rax, %r8
	shrq	$3, %r8
	incq	%r8
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	%r8, %rax
	andq	$-2, %rax
	pxor	%xmm0, %xmm0
	xorl	%edi, %edi
	pxor	%xmm1, %xmm1
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	(%rcx,%rdi,4), %xmm2
	movdqu	16(%rcx,%rdi,4), %xmm3
	movdqu	32(%rcx,%rdi,4), %xmm4
	movdqu	48(%rcx,%rdi,4), %xmm5
	movdqu	(%rdx,%rdi,4), %xmm6
	pmulld	%xmm2, %xmm6
	paddd	%xmm0, %xmm6
	movdqu	16(%rdx,%rdi,4), %xmm2
	pmulld	%xmm3, %xmm2
	paddd	%xmm1, %xmm2
	movdqu	32(%rdx,%rdi,4), %xmm0
	pmulld	%xmm4, %xmm0
	paddd	%xmm6, %xmm0
	movdqu	48(%rdx,%rdi,4), %xmm1
	pmulld	%xmm5, %xmm1
	paddd	%xmm2, %xmm1
	addq	$16, %rdi
	addq	$-2, %rax
	jne	LBB0_7
## %bb.8:
	testb	$1, %r8b
	je	LBB0_10
LBB0_9:
	movdqu	(%rcx,%rdi,4), %xmm2
	movdqu	16(%rcx,%rdi,4), %xmm3
	movdqu	(%rdx,%rdi,4), %xmm4
	pmulld	%xmm2, %xmm4
	paddd	%xmm4, %xmm0
	movdqu	16(%rdx,%rdi,4), %xmm2
	pmulld	%xmm3, %xmm2
	paddd	%xmm2, %xmm1
LBB0_10:
	paddd	%xmm1, %xmm0
	pshufd	$238, %xmm0, %xmm1              ## xmm1 = xmm0[2,3,2,3]
	paddd	%xmm0, %xmm1
	pshufd	$85, %xmm1, %xmm0               ## xmm0 = xmm1[1,1,1,1]
	paddd	%xmm1, %xmm0
	movd	%xmm0, %eax
	cmpq	%r9, %rsi
	je	LBB0_12
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rdx,%rsi,4), %edi
	imull	(%rcx,%rsi,4), %edi
	addl	%edi, %eax
	incq	%rsi
	cmpq	%rsi, %r9
	jne	LBB0_11
LBB0_12:
	movq	_SMOOTHSTEP_BFP@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %eax
	cltq
	popq	%rbp
	retq
LBB0_5:
	pxor	%xmm0, %xmm0
	xorl	%edi, %edi
	pxor	%xmm1, %xmm1
	testb	$1, %r8b
	jne	LBB0_9
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_SMOOTHSTEP_NSTEPS,4,2          ## @SMOOTHSTEP_NSTEPS
	.comm	_h_steps,8,3                    ## @h_steps
	.comm	_SMOOTHSTEP_BFP,4,2             ## @SMOOTHSTEP_BFP
	.no_dead_strip	_arena_decay_backlog_npages_limit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function arena_decay_backlog_npages_limit
_arena_decay_backlog_npages_limit:      ; @arena_decay_backlog_npages_limit
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _SMOOTHSTEP_NSTEPS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SMOOTHSTEP_NSTEPS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_3
; %bb.1:
	ldr	x9, [x0]
Lloh3:
	adrp	x10, _h_steps@GOTPAGE
Lloh4:
	ldr	x10, [x10, _h_steps@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	w8, #16
	b.hs	LBB0_4
; %bb.2:
	mov	x11, #0
	mov	w12, #0
	b	LBB0_7
LBB0_3:
	mov	w12, #0
	b	LBB0_9
LBB0_4:
	and	x11, x8, #0xfffffff0
	add	x12, x10, #32
	add	x13, x9, #32
	movi.2d	v0, #0000000000000000
	mov	x14, x11
	movi.2d	v1, #0000000000000000
	movi.2d	v2, #0000000000000000
	movi.2d	v3, #0000000000000000
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q4, q5, [x13, #-32]
	ldp	q6, q7, [x13], #64
	ldp	q16, q17, [x12, #-32]
	ldp	q18, q19, [x12], #64
	mla.4s	v0, v16, v4
	mla.4s	v1, v17, v5
	mla.4s	v2, v18, v6
	mla.4s	v3, v19, v7
	subs	x14, x14, #16
	b.ne	LBB0_5
; %bb.6:
	add.4s	v0, v1, v0
	add.4s	v0, v2, v0
	add.4s	v0, v3, v0
	addv.4s	s0, v0
	fmov	w12, s0
	cmp	x11, x8
	b.eq	LBB0_9
LBB0_7:
	lsl	x13, x11, #2
	add	x9, x9, x13
	add	x10, x10, x13
	sub	x8, x8, x11
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x9], #4
	ldr	w13, [x10], #4
	madd	w12, w13, w11, w12
	subs	x8, x8, #1
	b.ne	LBB0_8
LBB0_9:
Lloh6:
	adrp	x8, _SMOOTHSTEP_BFP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SMOOTHSTEP_BFP@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	asr	w8, w12, w8
	sxtw	x0, w8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_SMOOTHSTEP_NSTEPS,4,2          ; @SMOOTHSTEP_NSTEPS
	.comm	_h_steps,8,3                    ; @h_steps
	.comm	_SMOOTHSTEP_BFP,4,2             ; @SMOOTHSTEP_BFP
	.no_dead_strip	_arena_decay_backlog_npages_limit
.subsections_via_symbols
