	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tsd_tcache_data_init           ## -- Begin function tsd_tcache_data_init
	.p2align	4, 0x90
_tsd_tcache_data_init:                  ## @tsd_tcache_data_init
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_tsd_tcachep_get_unsafe
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_tcache_small_bin_get
	xorl	%edi, %edi
	cmpq	$0, (%rax)
	sete	%dil
	callq	_assert
	movq	_total_stack_bytes@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_tcache_bin_stack_alignment
	movq	%rax, %r15
	movl	(%r14), %edi
	movq	%rax, %rsi
	callq	_sz_sa2u
	movq	%rax, %r13
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_tsd_tsdn
	movl	%eax, %r14d
	movq	_TSDN_NULL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$1, %r12d
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_arena_get
	movq	%rax, (%rsp)
	movl	%r14d, %edi
	movq	%r13, %rsi
	movq	%r15, %rdx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	movl	$1, %r9d
	callq	_ipallocztm
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rsi
	movq	%rax, %rdx
	callq	_tcache_init
	movq	$0, (%r15)
	xorl	%eax, %eax
	callq	_malloc_initialized
	movq	%r14, %rdi
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	xorl	%esi, %esi
	callq	_arena_choose
	movq	%rax, %rbx
	cmpq	$0, (%r15)
	jne	LBB0_5
	jmp	LBB0_4
LBB0_2:
	callq	_tsd_tsdn
	movl	%eax, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_arena_get
	movq	%rax, %rbx
LBB0_4:
	movq	%r14, %rdi
	callq	_tsd_tsdn
	movl	%eax, %edi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_tcache_arena_associate
LBB0_5:
	xorl	%edi, %edi
	cmpq	(%r15), %rbx
	sete	%dil
	callq	_assert
	xorl	%r12d, %r12d
LBB0_6:
	movl	%r12d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_total_stack_bytes,4,2          ## @total_stack_bytes
	.comm	_TSDN_NULL,4,2                  ## @TSDN_NULL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tsd_tcache_data_init           ; -- Begin function tsd_tcache_data_init
	.p2align	2
_tsd_tcache_data_init:                  ; @tsd_tcache_data_init
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x0
	bl	_tsd_tcachep_get_unsafe
	mov	x19, x0
	mov	w1, #0
	bl	_tcache_small_bin_get
	ldr	x8, [x0]
	cmp	x8, #0
	cset	w0, eq
	bl	_assert
Lloh0:
	adrp	x21, _total_stack_bytes@GOTPAGE
Lloh1:
	ldr	x21, [x21, _total_stack_bytes@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_tcache_bin_stack_alignment
	mov	x22, x0
	ldr	w0, [x21]
	mov	x1, x22
	bl	_sz_sa2u
	mov	x23, x0
	mov	x0, x20
	bl	_tsd_tsdn
	mov	x24, x0
Lloh2:
	adrp	x8, _TSDN_NULL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TSDN_NULL@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	mov	w21, #1
	mov	w1, #0
	mov	w2, #1
	bl	_arena_get
	mov	x6, x0
	mov	x0, x24
	mov	x1, x23
	mov	x2, x22
	mov	w3, #1
	mov	x4, #0
	mov	w5, #1
	bl	_ipallocztm
	cbz	x0, LBB0_6
; %bb.1:
	mov	x2, x0
	mov	x0, x20
	mov	x1, x19
	bl	_tcache_init
	str	xzr, [x19]
	bl	_malloc_initialized
	cbz	w0, LBB0_3
; %bb.2:
	mov	x0, x20
	mov	x1, #0
	bl	_arena_choose
	mov	x21, x0
	ldr	x8, [x19]
	cbnz	x8, LBB0_5
	b	LBB0_4
LBB0_3:
	mov	x0, x20
	bl	_tsd_tsdn
	mov	w1, #0
	mov	w2, #0
	bl	_arena_get
	mov	x21, x0
LBB0_4:
	mov	x0, x20
	bl	_tsd_tsdn
	mov	x1, x19
	mov	x2, x21
	bl	_tcache_arena_associate
LBB0_5:
	ldr	x8, [x19]
	cmp	x21, x8
	cset	w0, eq
	bl	_assert
	mov	w21, #0
LBB0_6:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_total_stack_bytes,4,2          ; @total_stack_bytes
	.comm	_TSDN_NULL,4,2                  ; @TSDN_NULL
.subsections_via_symbols
