	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tsd_fetch_slow                 ## -- Begin function tsd_fetch_slow
	.p2align	4, 0x90
_tsd_fetch_slow:                        ## @tsd_fetch_slow
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_tsd_fast
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_assert
	movq	(%rbx), %rax
	movq	_tsd_state_nominal_slow@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.1:
	movq	_malloc_slow@GOTPCREL(%rip), %rax
	movl	$1, %r14d
	cmpq	$0, (%rax)
	je	LBB0_2
LBB0_5:
	movl	%r14d, %edi
LBB0_19:
	callq	_assert
	jmp	LBB0_20
LBB0_6:
	movq	_tsd_state_uninitialized@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.7:
	testl	%r14d, %r14d
	je	LBB0_8
## %bb.10:
	movq	_tsd_state_minimal_initialized@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	jmp	LBB0_17
LBB0_11:
	movq	_tsd_state_minimal_initialized@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_15
## %bb.12:
	testl	%r14d, %r14d
	je	LBB0_13
## %bb.14:
	movq	%rbx, %rdi
	callq	_assert_tsd_data_cleanup_done
	jmp	LBB0_20
LBB0_2:
	movq	%rbx, %rdi
	callq	_tsd_tcache_enabled_get
	testl	%eax, %eax
	je	LBB0_5
## %bb.3:
	movq	%rbx, %rdi
	callq	_tsd_reentrancy_level_get
	testq	%rax, %rax
	jg	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	callq	_tsd_arenas_tdata_bypassp_get
	xorl	%r14d, %r14d
	cmpq	$0, (%rax)
	setne	%r14b
	jmp	LBB0_5
LBB0_15:
	movq	_tsd_state_purgatory@GOTPCREL(%rip), %rdx
	movq	_tsd_state_reincarnated@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	(%rdx), %rax
	jne	LBB0_18
## %bb.16:
	movq	%rcx, (%rbx)
LBB0_17:
	movq	%rbx, %rdi
	callq	_tsd_set
	movq	%rbx, %rdi
	callq	_tsd_data_init_nocleanup
	jmp	LBB0_20
LBB0_8:
	movq	_tsd_state_nominal@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	movq	%rbx, %rdi
	callq	_tsd_slow_update
	movq	%rbx, %rdi
	callq	_tsd_set
	jmp	LBB0_9
LBB0_18:
	xorl	%edi, %edi
	cmpq	%rcx, %rax
	sete	%dil
	jmp	LBB0_19
LBB0_13:
	movq	_tsd_state_nominal@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	movq	%rbx, %rdi
	callq	_tsd_reentrancy_levelp_get
	xorl	%edi, %edi
	cmpl	$0, (%rax)
	setg	%dil
	callq	_assert
	movq	%rbx, %rdi
	callq	_tsd_reentrancy_levelp_get
	decl	(%rax)
	movq	%rbx, %rdi
	callq	_tsd_slow_update
LBB0_9:
	movq	%rbx, %rdi
	callq	_tsd_data_init
LBB0_20:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_tsd_state_nominal_slow,8,3     ## @tsd_state_nominal_slow
	.comm	_malloc_slow,8,3                ## @malloc_slow
	.comm	_tsd_state_uninitialized,8,3    ## @tsd_state_uninitialized
	.comm	_tsd_state_nominal,8,3          ## @tsd_state_nominal
	.comm	_tsd_state_minimal_initialized,8,3 ## @tsd_state_minimal_initialized
	.comm	_tsd_state_purgatory,8,3        ## @tsd_state_purgatory
	.comm	_tsd_state_reincarnated,8,3     ## @tsd_state_reincarnated
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tsd_fetch_slow                 ; -- Begin function tsd_fetch_slow
	.p2align	2
_tsd_fetch_slow:                        ; @tsd_fetch_slow
	.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	x20, x1
	mov	x19, x0
	bl	_tsd_fast
	cmp	w0, #0
	cset	w0, eq
	bl	_assert
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _tsd_state_nominal_slow@GOTPAGE
Lloh1:
	ldr	x9, [x9, _tsd_state_nominal_slow@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.1:
Lloh3:
	adrp	x8, _malloc_slow@GOTPAGE
Lloh4:
	ldr	x8, [x8, _malloc_slow@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cbz	x8, LBB0_10
LBB0_2:
	mov	w0, #1
LBB0_3:
	bl	_assert
	b	LBB0_20
LBB0_4:
Lloh6:
	adrp	x9, _tsd_state_uninitialized@GOTPAGE
Lloh7:
	ldr	x9, [x9, _tsd_state_uninitialized@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.5:
	cbz	w20, LBB0_16
; %bb.6:
Lloh9:
	adrp	x8, _tsd_state_minimal_initialized@GOTPAGE
Lloh10:
	ldr	x8, [x8, _tsd_state_minimal_initialized@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	str	x8, [x19]
	b	LBB0_15
LBB0_7:
Lloh12:
	adrp	x9, _tsd_state_minimal_initialized@GOTPAGE
Lloh13:
	ldr	x9, [x9, _tsd_state_minimal_initialized@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_13
; %bb.8:
	cbz	w20, LBB0_18
; %bb.9:
	mov	x0, x19
	bl	_assert_tsd_data_cleanup_done
	b	LBB0_20
LBB0_10:
	mov	x0, x19
	bl	_tsd_tcache_enabled_get
	cbz	w0, LBB0_2
; %bb.11:
	mov	x0, x19
	bl	_tsd_reentrancy_level_get
	cmp	x0, #0
	b.gt	LBB0_2
; %bb.12:
	mov	x0, x19
	bl	_tsd_arenas_tdata_bypassp_get
	ldr	x8, [x0]
	cmp	x8, #0
	cset	w0, ne
	b	LBB0_3
LBB0_13:
Lloh15:
	adrp	x9, _tsd_state_purgatory@GOTPAGE
Lloh16:
	ldr	x9, [x9, _tsd_state_purgatory@GOTPAGEOFF]
Lloh17:
	ldr	x10, [x9]
Lloh18:
	adrp	x9, _tsd_state_reincarnated@GOTPAGE
Lloh19:
	ldr	x9, [x9, _tsd_state_reincarnated@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x8, x10
	b.ne	LBB0_17
; %bb.14:
	str	x9, [x19]
LBB0_15:
	mov	x0, x19
	bl	_tsd_set
	mov	x0, x19
	bl	_tsd_data_init_nocleanup
	b	LBB0_20
LBB0_16:
Lloh21:
	adrp	x8, _tsd_state_nominal@GOTPAGE
Lloh22:
	ldr	x8, [x8, _tsd_state_nominal@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	str	x8, [x19]
	mov	x0, x19
	bl	_tsd_slow_update
	mov	x0, x19
	bl	_tsd_set
	b	LBB0_19
LBB0_17:
	cmp	x8, x9
	cset	w0, eq
	b	LBB0_3
LBB0_18:
Lloh24:
	adrp	x8, _tsd_state_nominal@GOTPAGE
Lloh25:
	ldr	x8, [x8, _tsd_state_nominal@GOTPAGEOFF]
Lloh26:
	ldr	x8, [x8]
	str	x8, [x19]
	mov	x0, x19
	bl	_tsd_reentrancy_levelp_get
	ldr	w8, [x0]
	cmp	w8, #0
	cset	w0, gt
	bl	_assert
	mov	x0, x19
	bl	_tsd_reentrancy_levelp_get
	ldr	w8, [x0]
	sub	w8, w8, #1
	str	w8, [x0]
	mov	x0, x19
	bl	_tsd_slow_update
LBB0_19:
	mov	x0, x19
	bl	_tsd_data_init
LBB0_20:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.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	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_tsd_state_nominal_slow,8,3     ; @tsd_state_nominal_slow
	.comm	_malloc_slow,8,3                ; @malloc_slow
	.comm	_tsd_state_uninitialized,8,3    ; @tsd_state_uninitialized
	.comm	_tsd_state_nominal,8,3          ; @tsd_state_nominal
	.comm	_tsd_state_minimal_initialized,8,3 ; @tsd_state_minimal_initialized
	.comm	_tsd_state_purgatory,8,3        ; @tsd_state_purgatory
	.comm	_tsd_state_reincarnated,8,3     ; @tsd_state_reincarnated
.subsections_via_symbols
