	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tcache_boot                    ## -- Begin function tcache_boot
	.p2align	4, 0x90
_tcache_boot:                           ## @tcache_boot
	.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
	movq	%rdi, %r14
	movq	_opt_lg_tcache_max@GOTPCREL(%rip), %rbx
	cmpl	$0, (%rbx)
	js	LBB0_1
## %bb.2:
	movl	$1, %edi
	callq	_ZU
	movl	%eax, %edx
	movb	(%rbx), %cl
	shll	%cl, %edx
	movq	_SC_SMALL_MAXCLASS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %edx
	jl	LBB0_4
## %bb.3:
	movl	$1, %edi
	callq	_ZU
	movb	(%rbx), %cl
	shll	%cl, %eax
	jmp	LBB0_4
LBB0_1:
	movq	_SC_SMALL_MAXCLASS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_4:
	movq	_tcache_maxclass@GOTPCREL(%rip), %rbx
	movl	%eax, (%rbx)
	movq	_WITNESS_RANK_TCACHES@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_malloc_mutex_rank_exclusive@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_tcaches_mtx@GOTPCREL(%rip), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_malloc_mutex_init
	movl	$1, %r12d
	testq	%rax, %rax
	jne	LBB0_13
## %bb.5:
	movl	(%rbx), %edi
	callq	_sz_size2index
	incl	%eax
	movq	_nhbins@GOTPCREL(%rip), %r15
	movl	%eax, (%r15)
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_b0get
	movl	(%r15), %edx
	shll	$2, %edx
	movq	_CACHELINE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_base_alloc
	movq	_tcache_bin_info@GOTPCREL(%rip), %rdx
	movq	%rax, (%rdx)
	testq	%rax, %rax
	je	LBB0_13
## %bb.6:
	movq	_total_stack_bytes@GOTPCREL(%rip), %r14
	movq	$0, (%r14)
	movq	_SC_NBINS@GOTPCREL(%rip), %rsi
	cmpl	$0, (%rsi)
	je	LBB0_7
## %bb.14:
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	_bin_infos@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%r13,4), %eax
	addl	%eax, %eax
	movq	_TCACHE_NSLOTS_SMALL_MIN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_TCACHE_NSLOTS_SMALL_MAX@GOTPCREL(%rip), %rdi
	movl	(%rdi), %ebx
	cmpl	%ebx, %eax
	cmovll	%eax, %ebx
	cmpl	%ecx, %eax
	cmovlel	%ecx, %ebx
	shll	$3, %ebx
	xorl	%edi, %edi
	movq	%rdx, %r12
	movq	%rsi, %r15
	callq	_assert
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	(%r12), %rax
	movl	%ebx, (%rax,%r13,4)
	addq	(%r14), %rbx
	movq	%rbx, (%r14)
	incq	%r13
	movl	(%r15), %ecx
	cmpq	%rcx, %r13
	jb	LBB0_15
## %bb.8:
	movq	_nhbins@GOTPCREL(%rip), %r15
	cmpl	(%r15), %r13d
	jb	LBB0_10
	jmp	LBB0_12
LBB0_7:
	xorl	%ebx, %ebx
	cmpl	(%r15), %r13d
	jae	LBB0_12
LBB0_10:
	movl	%r13d, %ecx
	movq	_TCACHE_NSLOTS_LARGE@GOTPCREL(%rip), %rdx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rdx), %esi
	shll	$3, %esi
	movl	%esi, (%rax,%rcx,4)
	addq	%rsi, %rbx
	incq	%rcx
	movl	(%r15), %esi
	cmpq	%rsi, %rcx
	jb	LBB0_11
LBB0_12:
	movq	_total_stack_padding@GOTPCREL(%rip), %rax
	addq	(%rax), %rbx
	movq	%rbx, (%r14)
	xorl	%r12d, %r12d
LBB0_13:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_opt_lg_tcache_max,4,2          ## @opt_lg_tcache_max
	.comm	_SC_SMALL_MAXCLASS,4,2          ## @SC_SMALL_MAXCLASS
	.comm	_tcache_maxclass,4,2            ## @tcache_maxclass
	.comm	_tcaches_mtx,4,2                ## @tcaches_mtx
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"tcaches"

	.comm	_WITNESS_RANK_TCACHES,4,2       ## @WITNESS_RANK_TCACHES
	.comm	_malloc_mutex_rank_exclusive,4,2 ## @malloc_mutex_rank_exclusive
	.comm	_nhbins,4,2                     ## @nhbins
	.comm	_CACHELINE,4,2                  ## @CACHELINE
	.comm	_tcache_bin_info,8,3            ## @tcache_bin_info
	.comm	_total_stack_bytes,8,3          ## @total_stack_bytes
	.comm	_SC_NBINS,4,2                   ## @SC_NBINS
	.comm	_bin_infos,8,3                  ## @bin_infos
	.comm	_TCACHE_NSLOTS_SMALL_MIN,4,2    ## @TCACHE_NSLOTS_SMALL_MIN
	.comm	_TCACHE_NSLOTS_SMALL_MAX,4,2    ## @TCACHE_NSLOTS_SMALL_MAX
	.comm	_TCACHE_NSLOTS_LARGE,4,2        ## @TCACHE_NSLOTS_LARGE
	.comm	_total_stack_padding,8,3        ## @total_stack_padding
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tcache_boot                    ; -- Begin function tcache_boot
	.p2align	2
_tcache_boot:                           ; @tcache_boot
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
Lloh0:
	adrp	x20, _opt_lg_tcache_max@GOTPAGE
Lloh1:
	ldr	x20, [x20, _opt_lg_tcache_max@GOTPAGEOFF]
	ldr	w8, [x20]
	tbnz	w8, #31, LBB0_3
; %bb.1:
	mov	w0, #1
	bl	_ZU
	ldr	w8, [x20]
	lsl	w9, w0, w8
Lloh2:
	adrp	x8, _SC_SMALL_MAXCLASS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SC_SMALL_MAXCLASS@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w9, w8
	b.lt	LBB0_4
; %bb.2:
	mov	w0, #1
	bl	_ZU
	ldr	w8, [x20]
	lsl	w8, w0, w8
	b	LBB0_4
LBB0_3:
Lloh5:
	adrp	x8, _SC_SMALL_MAXCLASS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SC_SMALL_MAXCLASS@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
LBB0_4:
Lloh8:
	adrp	x20, _tcache_maxclass@GOTPAGE
Lloh9:
	ldr	x20, [x20, _tcache_maxclass@GOTPAGEOFF]
	str	w8, [x20]
Lloh10:
	adrp	x8, _WITNESS_RANK_TCACHES@GOTPAGE
Lloh11:
	ldr	x8, [x8, _WITNESS_RANK_TCACHES@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
Lloh13:
	adrp	x8, _malloc_mutex_rank_exclusive@GOTPAGE
Lloh14:
	ldr	x8, [x8, _malloc_mutex_rank_exclusive@GOTPAGEOFF]
Lloh15:
	ldr	w3, [x8]
Lloh16:
	adrp	x0, _tcaches_mtx@GOTPAGE
Lloh17:
	ldr	x0, [x0, _tcaches_mtx@GOTPAGEOFF]
Lloh18:
	adrp	x1, l_.str@PAGE
Lloh19:
	add	x1, x1, l_.str@PAGEOFF
	bl	_malloc_mutex_init
	cbz	x0, LBB0_6
LBB0_5:
	mov	w0, #1
	b	LBB0_15
LBB0_6:
	ldr	w0, [x20]
	bl	_sz_size2index
	add	w8, w0, #1
Lloh20:
	adrp	x20, _nhbins@GOTPAGE
Lloh21:
	ldr	x20, [x20, _nhbins@GOTPAGEOFF]
	str	w8, [x20]
	bl	_b0get
	mov	x1, x0
	ldr	w8, [x20]
	lsl	w2, w8, #2
Lloh22:
	adrp	x8, _CACHELINE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _CACHELINE@GOTPAGEOFF]
Lloh24:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_base_alloc
Lloh25:
	adrp	x22, _tcache_bin_info@GOTPAGE
Lloh26:
	ldr	x22, [x22, _tcache_bin_info@GOTPAGEOFF]
	str	x0, [x22]
	cbz	x0, LBB0_5
; %bb.7:
Lloh27:
	adrp	x19, _total_stack_bytes@GOTPAGE
Lloh28:
	ldr	x19, [x19, _total_stack_bytes@GOTPAGEOFF]
	str	xzr, [x19]
Lloh29:
	adrp	x23, _SC_NBINS@GOTPAGE
Lloh30:
	ldr	x23, [x23, _SC_NBINS@GOTPAGEOFF]
	ldr	w8, [x23]
	cbz	w8, LBB0_10
; %bb.8:
	mov	x21, #0
Lloh31:
	adrp	x24, _bin_infos@GOTPAGE
Lloh32:
	ldr	x24, [x24, _bin_infos@GOTPAGEOFF]
Lloh33:
	adrp	x25, _TCACHE_NSLOTS_SMALL_MIN@GOTPAGE
Lloh34:
	ldr	x25, [x25, _TCACHE_NSLOTS_SMALL_MIN@GOTPAGEOFF]
Lloh35:
	adrp	x26, _TCACHE_NSLOTS_SMALL_MAX@GOTPAGE
Lloh36:
	ldr	x26, [x26, _TCACHE_NSLOTS_SMALL_MAX@GOTPAGEOFF]
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24]
	lsl	x27, x21, #2
	ldr	w8, [x8, x27]
	lsl	w8, w8, #1
	ldr	w9, [x25]
	ldr	w10, [x26]
	cmp	w8, w10
	csel	w10, w8, w10, lt
	cmp	w8, w9
	csel	w8, w10, w9, gt
	lsl	w28, w8, #3
	mov	w0, #0
	bl	_assert
	ldr	x0, [x22]
	str	w28, [x0, x27]
	ldr	x8, [x19]
	add	x8, x8, x28
	str	x8, [x19]
	add	x21, x21, #1
	ldr	w9, [x23]
	cmp	x21, x9
	b.lo	LBB0_9
	b	LBB0_11
LBB0_10:
	mov	x8, #0
	mov	w21, #0
LBB0_11:
	ldr	w9, [x20]
	cmp	w21, w9
	b.hs	LBB0_14
; %bb.12:
	mov	w9, w21
Lloh37:
	adrp	x10, _TCACHE_NSLOTS_LARGE@GOTPAGE
Lloh38:
	ldr	x10, [x10, _TCACHE_NSLOTS_LARGE@GOTPAGEOFF]
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x10]
	lsl	w11, w11, #3
	str	w11, [x0, x9, lsl #2]
	add	x8, x8, x11
	add	x9, x9, #1
	ldr	w11, [x20]
	cmp	x9, x11
	b.lo	LBB0_13
LBB0_14:
	mov	w0, #0
Lloh39:
	adrp	x9, _total_stack_padding@GOTPAGE
Lloh40:
	ldr	x9, [x9, _total_stack_padding@GOTPAGEOFF]
Lloh41:
	ldr	x9, [x9]
	add	x8, x8, x9
	str	x8, [x19]
LBB0_15:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
	.comm	_opt_lg_tcache_max,4,2          ; @opt_lg_tcache_max
	.comm	_SC_SMALL_MAXCLASS,4,2          ; @SC_SMALL_MAXCLASS
	.comm	_tcache_maxclass,4,2            ; @tcache_maxclass
	.comm	_tcaches_mtx,4,2                ; @tcaches_mtx
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"tcaches"

	.comm	_WITNESS_RANK_TCACHES,4,2       ; @WITNESS_RANK_TCACHES
	.comm	_malloc_mutex_rank_exclusive,4,2 ; @malloc_mutex_rank_exclusive
	.comm	_nhbins,4,2                     ; @nhbins
	.comm	_CACHELINE,4,2                  ; @CACHELINE
	.comm	_tcache_bin_info,8,3            ; @tcache_bin_info
	.comm	_total_stack_bytes,8,3          ; @total_stack_bytes
	.comm	_SC_NBINS,4,2                   ; @SC_NBINS
	.comm	_bin_infos,8,3                  ; @bin_infos
	.comm	_TCACHE_NSLOTS_SMALL_MIN,4,2    ; @TCACHE_NSLOTS_SMALL_MIN
	.comm	_TCACHE_NSLOTS_SMALL_MAX,4,2    ; @TCACHE_NSLOTS_SMALL_MAX
	.comm	_TCACHE_NSLOTS_LARGE,4,2        ; @TCACHE_NSLOTS_LARGE
	.comm	_total_stack_padding,8,3        ; @total_stack_padding
.subsections_via_symbols
