	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function arena_malloc_small
_arena_malloc_small:                    ## @arena_malloc_small
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, -60(%rbp)                 ## 4-byte Spill
	movq	%rdx, %r12
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	_NBINS@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpq	%rdx, (%rax)
	seta	%dil
	callq	_assert
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	(%rbx), %r13
	leaq	(%r12,%r12,2), %r15
	leaq	(,%r15,8), %rbx
	addq	%r13, %rbx
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_sz_index2size
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	movq	%rbx, %r12
	movq	%rbx, %rsi
	callq	_malloc_mutex_lock
	movq	16(%r13,%r15,8), %rbx
	testq	%rbx, %rbx
	je	LBB0_3
## %bb.1:
	movq	%rbx, %rdi
	callq	_extent_nfree_get
	testq	%rax, %rax
	jle	LBB0_3
## %bb.2:
	movq	_bin_infos@GOTPCREL(%rip), %rax
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	leaq	(,%r14,4), %rsi
	addq	(%rax), %rsi
	movq	%rbx, %rdi
	callq	_arena_slab_reg_alloc
	jmp	LBB0_4
LBB0_3:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%r12, %rdx
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rcx
	callq	_arena_bin_malloc_hard
LBB0_4:
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	_config_stats@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_8
## %bb.7:
	incl	12(%r13,%r15,8)
	incl	8(%r13,%r15,8)
	incl	4(%r13,%r15,8)
LBB0_8:
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_malloc_mutex_unlock
	movq	_config_prof@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_11
## %bb.9:
	movq	%r15, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%r12, %rdx
	callq	_arena_prof_accum
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	%r15, %rdi
	callq	_prof_idump
LBB0_11:
	movq	_config_fill@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$0, -60(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_12
## %bb.16:
	testq	%rax, %rax
	je	LBB0_19
## %bb.17:
	movq	_opt_junk_alloc@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_19
## %bb.18:
	movq	_bin_infos@GOTPCREL(%rip), %rax
	shlq	$2, %r14
	addq	(%rax), %r14
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$1, %edx
	callq	_arena_alloc_junk_small
LBB0_19:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movq	%r12, %rdx
	callq	_memset
LBB0_20:
	movq	%r15, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_arena_decay_tick
	jmp	LBB0_21
LBB0_5:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	callq	_malloc_mutex_unlock
LBB0_21:
	movq	%rbx, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	testq	%rax, %rax
	je	LBB0_20
## %bb.13:
	movq	_opt_junk_alloc@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	movq	_bin_infos@GOTPCREL(%rip), %rax
	shlq	$2, %r14
	addq	(%rax), %r14
	movq	%rbx, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_arena_alloc_junk_small
	jmp	LBB0_20
LBB0_15:
	movq	_opt_zero@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_19
	jmp	LBB0_20
	.cfi_endproc
                                        ## -- End function
	.comm	_NBINS,8,3                      ## @NBINS
	.comm	_bin_infos,8,3                  ## @bin_infos
	.comm	_config_stats,8,3               ## @config_stats
	.comm	_config_prof,8,3                ## @config_prof
	.comm	_config_fill,8,3                ## @config_fill
	.comm	_opt_junk_alloc,4,2             ## @opt_junk_alloc
	.comm	_opt_zero,4,2                   ## @opt_zero
	.no_dead_strip	_arena_malloc_small
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function arena_malloc_small
_arena_malloc_small:                    ; @arena_malloc_small
	.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
	mov	x24, x3
	mov	x23, x2
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _NBINS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NBINS@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x2
	cset	w0, hi
	bl	_assert
	ldr	x26, [x20]
	mov	w8, #24
	madd	x25, x23, x8, x26
	mov	x0, x23
	bl	_sz_index2size
	mov	x21, x0
	mov	x0, x19
	mov	x1, x25
	bl	_malloc_mutex_lock
	ldr	x22, [x25, #16]
	cbz	x22, LBB0_4
; %bb.1:
	mov	x0, x22
	bl	_extent_nfree_get
	cmp	x0, #1
	b.lt	LBB0_4
; %bb.2:
Lloh3:
	adrp	x8, _bin_infos@GOTPAGE
Lloh4:
	ldr	x8, [x8, _bin_infos@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	add	x1, x8, x23, lsl #2
	mov	x0, x22
	bl	_arena_slab_reg_alloc
	mov	x22, x0
	cbnz	x0, LBB0_5
LBB0_3:
	mov	x0, x19
	mov	x1, x25
	bl	_malloc_mutex_unlock
	b	LBB0_16
LBB0_4:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x25
	mov	x3, x23
	bl	_arena_bin_malloc_hard
	mov	x22, x0
	cbz	x0, LBB0_3
LBB0_5:
Lloh6:
	adrp	x8, _config_stats@GOTPAGE
Lloh7:
	ldr	x8, [x8, _config_stats@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cbz	x8, LBB0_7
; %bb.6:
	mov	w8, #24
	madd	x8, x23, x8, x26
	ldr	w9, [x8, #12]
	add	w9, w9, #1
	str	w9, [x8, #12]
	ldur	d0, [x8, #4]
	movi.2s	v1, #1
	add.2s	v0, v0, v1
	stur	d0, [x8, #4]
LBB0_7:
	mov	x0, x19
	mov	x1, x25
	bl	_malloc_mutex_unlock
Lloh9:
	adrp	x8, _config_prof@GOTPAGE
Lloh10:
	ldr	x8, [x8, _config_prof@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cbz	x8, LBB0_10
; %bb.8:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_arena_prof_accum
	cbz	x0, LBB0_10
; %bb.9:
	mov	x0, x19
	bl	_prof_idump
LBB0_10:
Lloh12:
	adrp	x8, _config_fill@GOTPAGE
Lloh13:
	ldr	x8, [x8, _config_fill@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	cbz	w24, LBB0_17
; %bb.11:
	cbz	x8, LBB0_14
; %bb.12:
Lloh15:
	adrp	x8, _opt_junk_alloc@GOTPAGE
Lloh16:
	ldr	x8, [x8, _opt_junk_alloc@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	bl	_unlikely
	cbz	x0, LBB0_14
; %bb.13:
Lloh18:
	adrp	x8, _bin_infos@GOTPAGE
Lloh19:
	ldr	x8, [x8, _bin_infos@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	add	x1, x8, x23, lsl #2
	mov	x0, x22
	mov	w2, #1
	bl	_arena_alloc_junk_small
LBB0_14:
	mov	x0, x22
	mov	w1, #0
	mov	x2, x21
	bl	_memset
LBB0_15:
	mov	x0, x19
	mov	x1, x20
	bl	_arena_decay_tick
LBB0_16:
	mov	x0, x22
	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
LBB0_17:
	cbz	x8, LBB0_15
; %bb.18:
Lloh21:
	adrp	x8, _opt_junk_alloc@GOTPAGE
Lloh22:
	ldr	x8, [x8, _opt_junk_alloc@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	bl	_unlikely
	cbz	x0, LBB0_20
; %bb.19:
Lloh24:
	adrp	x8, _bin_infos@GOTPAGE
Lloh25:
	ldr	x8, [x8, _bin_infos@GOTPAGEOFF]
Lloh26:
	ldr	x8, [x8]
	add	x1, x8, x23, lsl #2
	mov	x0, x22
	mov	w2, #0
	bl	_arena_alloc_junk_small
	b	LBB0_15
LBB0_20:
Lloh27:
	adrp	x8, _opt_zero@GOTPAGE
Lloh28:
	ldr	x8, [x8, _opt_zero@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
	bl	_unlikely
	cbnz	x0, LBB0_14
	b	LBB0_15
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_NBINS,8,3                      ; @NBINS
	.comm	_bin_infos,8,3                  ; @bin_infos
	.comm	_config_stats,8,3               ; @config_stats
	.comm	_config_prof,8,3                ; @config_prof
	.comm	_config_fill,8,3                ; @config_fill
	.comm	_opt_junk_alloc,4,2             ; @opt_junk_alloc
	.comm	_opt_zero,4,2                   ; @opt_zero
	.no_dead_strip	_arena_malloc_small
.subsections_via_symbols
