	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -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	_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	_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
	je	LBB0_5
LBB0_13:
	movl	%r12d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movl	(%rbx), %edi
	callq	_sz_size2index
	incl	%eax
	movq	_nhbins@GOTPCREL(%rip), %r15
	movl	%eax, (%r15)
	xorl	%ebx, %ebx
	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), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	je	LBB0_13
## %bb.6:
	movq	_stack_nelms@GOTPCREL(%rip), %r8
	movq	$0, (%r8)
	movq	_NBINS@GOTPCREL(%rip), %r10
	cmpl	$0, (%r10)
	je	LBB0_7
## %bb.14:
	movq	_bin_infos@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	xorl	%ebx, %ebx
	movq	_TCACHE_NSLOTS_SMALL_MIN@GOTPCREL(%rip), %r11
	movq	_TCACHE_NSLOTS_SMALL_MAX@GOTPCREL(%rip), %r9
	xorl	%edx, %edx
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_15 Depth=1
	movl	%ecx, (%rax,%rbx,4)
LBB0_19:                                ##   in Loop: Header=BB0_15 Depth=1
	movslq	%ecx, %rcx
	addq	%rcx, %rdx
	incq	%rbx
	movl	(%r10), %ecx
	cmpq	%rcx, %rbx
	jae	LBB0_8
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rdi,%rbx,4), %esi
	addl	%esi, %esi
	movl	(%r11), %ecx
	cmpl	%ecx, %esi
	jle	LBB0_18
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	movl	(%r9), %ecx
	cmpl	%ecx, %esi
	jg	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_15 Depth=1
	movl	%esi, (%rax,%rbx,4)
	movl	%esi, %ecx
	jmp	LBB0_19
LBB0_8:
	movq	%rdx, (%r8)
	jmp	LBB0_9
LBB0_7:
	xorl	%edx, %edx
LBB0_9:
	xorl	%r12d, %r12d
	cmpl	(%r15), %ebx
	jae	LBB0_13
## %bb.10:
	movl	%ebx, %ecx
	movq	_TCACHE_NSLOTS_LARGE@GOTPCREL(%rip), %rsi
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movslq	(%rsi), %rdi
	movl	%edi, (%rax,%rcx,4)
	addq	%rdi, %rdx
	incq	%rcx
	movl	(%r15), %edi
	cmpq	%rdi, %rcx
	jb	LBB0_11
## %bb.12:
	movq	%rdx, (%r8)
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_opt_lg_tcache_max,4,2          ## @opt_lg_tcache_max
	.comm	_SMALL_MAXCLASS,4,2             ## @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	_stack_nelms,8,3                ## @stack_nelms
	.comm	_NBINS,4,2                      ## @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
.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	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	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, _SMALL_MAXCLASS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _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, _SMALL_MAXCLASS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _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_7
LBB0_5:
	mov	w0, #1
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_7:
	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	x8, _tcache_bin_info@GOTPAGE
Lloh26:
	ldr	x8, [x8, _tcache_bin_info@GOTPAGEOFF]
Lloh27:
	str	x0, [x8]
	cbz	x0, LBB0_5
; %bb.8:
Lloh28:
	adrp	x8, _stack_nelms@GOTPAGE
Lloh29:
	ldr	x8, [x8, _stack_nelms@GOTPAGEOFF]
	str	xzr, [x8]
Lloh30:
	adrp	x11, _NBINS@GOTPAGE
Lloh31:
	ldr	x11, [x11, _NBINS@GOTPAGEOFF]
	ldr	w9, [x11]
	cbz	w9, LBB0_16
; %bb.9:
	mov	x10, #0
	mov	x9, #0
Lloh32:
	adrp	x12, _bin_infos@GOTPAGE
Lloh33:
	ldr	x12, [x12, _bin_infos@GOTPAGEOFF]
Lloh34:
	ldr	x12, [x12]
Lloh35:
	adrp	x13, _TCACHE_NSLOTS_SMALL_MIN@GOTPAGE
Lloh36:
	ldr	x13, [x13, _TCACHE_NSLOTS_SMALL_MIN@GOTPAGEOFF]
Lloh37:
	adrp	x14, _TCACHE_NSLOTS_SMALL_MAX@GOTPAGE
Lloh38:
	ldr	x14, [x14, _TCACHE_NSLOTS_SMALL_MAX@GOTPAGEOFF]
	b	LBB0_12
LBB0_10:                                ;   in Loop: Header=BB0_12 Depth=1
	str	w15, [x0, x10, lsl #2]
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	add	x9, x9, w15, sxtw
	add	x10, x10, #1
	ldr	w15, [x11]
	cmp	x10, x15
	b.hs	LBB0_15
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	w15, [x12, x10, lsl #2]
	lsl	w16, w15, #1
	ldr	w15, [x13]
	cmp	w16, w15
	b.le	LBB0_10
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	w15, [x14]
	cmp	w16, w15
	b.gt	LBB0_10
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=1
	str	w16, [x0, x10, lsl #2]
	mov	x15, x16
	b	LBB0_11
LBB0_15:
	str	x9, [x8]
	b	LBB0_17
LBB0_16:
	mov	x9, #0
	mov	w10, #0
LBB0_17:
	ldr	w11, [x20]
	cmp	w10, w11
	b.hs	LBB0_21
; %bb.18:
	mov	w10, w10
Lloh39:
	adrp	x11, _TCACHE_NSLOTS_LARGE@GOTPAGE
Lloh40:
	ldr	x11, [x11, _TCACHE_NSLOTS_LARGE@GOTPAGEOFF]
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	ldrsw	x12, [x11]
	str	w12, [x0, x10, lsl #2]
	add	x9, x9, x12
	add	x10, x10, #1
	ldr	w12, [x20]
	cmp	x10, x12
	b.lo	LBB0_19
; %bb.20:
	mov	w0, #0
	str	x9, [x8]
	b	LBB0_6
LBB0_21:
	mov	w0, #0
	b	LBB0_6
	.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 AdrpLdrGotStr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh39, Lloh40
	.cfi_endproc
                                        ; -- End function
	.comm	_opt_lg_tcache_max,4,2          ; @opt_lg_tcache_max
	.comm	_SMALL_MAXCLASS,4,2             ; @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	_stack_nelms,8,3                ; @stack_nelms
	.comm	_NBINS,4,2                      ; @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
.subsections_via_symbols
