	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function thd_start_global_slow
_thd_start_global_slow:                 ## @thd_start_global_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	%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, %rbx
	xorl	%r12d, %r12d
	movl	$1, %edi
	xorl	%esi, %esi
	callq	_mallocx
	movl	%eax, %edi
	callq	_free
	xorl	%eax, %eax
	callq	_tsd_fetch
	movq	%rax, %r15
	leaq	4(%rbx), %r14
	movq	_originally_fast@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	callq	_tsd_fast
	xorl	%r12d, %r12d
	testl	%eax, %eax
	sete	%r12b
LBB0_2:
	movq	_ATOMIC_SEQ_CST@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_atomic_store_b
	movl	(%r13), %edx
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_atomic_store_u32
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %esi
	movq	%rbx, %rdi
	callq	_atomic_load_u32
	cmpl	$2, %eax
	jne	LBB0_3
## %bb.4:
	movl	$1, %edi
	xorl	%esi, %esi
	callq	_mallocx
	movl	%eax, %edi
	callq	_free
	movq	%r15, %rdi
	callq	_tsd_fast
	movl	(%r13), %edx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_atomic_store_b
	movl	(%r13), %edx
	movq	%rbx, %rdi
	movl	$3, %esi
	callq	_atomic_store_u32
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %esi
	movq	%rbx, %rdi
	callq	_atomic_load_u32
	cmpl	$4, %eax
	jne	LBB0_5
## %bb.6:
	movl	$1, %edi
	xorl	%esi, %esi
	callq	_mallocx
	movl	%eax, %edi
	callq	_free
	movq	%r15, %rdi
	callq	_tsd_fast
	movl	(%r13), %edx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_atomic_store_b
	movl	(%r13), %edx
	movq	%rbx, %rdi
	movl	$5, %esi
	callq	_atomic_store_u32
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %esi
	movq	%rbx, %rdi
	callq	_atomic_load_u32
	cmpl	$6, %eax
	jne	LBB0_7
## %bb.8:
	movl	$1, %edi
	xorl	%esi, %esi
	callq	_mallocx
	movl	%eax, %edi
	callq	_free
	movq	%r15, %rdi
	callq	_tsd_fast
	movl	(%r13), %edx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_atomic_store_b
	movl	(%r13), %edx
	movq	%rbx, %rdi
	movl	$7, %esi
	callq	_atomic_store_u32
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %esi
	movq	%rbx, %rdi
	callq	_atomic_load_u32
	cmpl	$8, %eax
	jne	LBB0_9
## %bb.10:
	xorl	%r12d, %r12d
	movl	$1, %edi
	xorl	%esi, %esi
	callq	_mallocx
	movl	%eax, %edi
	callq	_free
	movq	_originally_fast@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_12
## %bb.11:
	movq	%r15, %rdi
	callq	_tsd_fast
	xorl	%r12d, %r12d
	testl	%eax, %eax
	sete	%r12b
LBB0_12:
	movl	(%r13), %edx
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_atomic_store_b
	movl	(%r13), %edx
	movq	%rbx, %rdi
	movl	$9, %esi
	callq	_atomic_store_u32
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_originally_fast,8,3            ## @originally_fast
	.comm	_ATOMIC_SEQ_CST,4,2             ## @ATOMIC_SEQ_CST
	.no_dead_strip	_thd_start_global_slow
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function thd_start_global_slow
_thd_start_global_slow:                 ; @thd_start_global_slow
	.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	x19, x0
	mov	w0, #1
	mov	w1, #0
	bl	_mallocx
	bl	_free
	bl	_tsd_fetch
	mov	x21, x0
	add	x20, x19, #4
Lloh0:
	adrp	x23, _originally_fast@GOTPAGE
Lloh1:
	ldr	x23, [x23, _originally_fast@GOTPAGEOFF]
	ldr	x8, [x23]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x21
	bl	_tsd_fast
	cmp	w0, #0
	cset	w1, eq
	b	LBB0_3
LBB0_2:
	mov	w1, #0
LBB0_3:
Lloh2:
	adrp	x22, _ATOMIC_SEQ_CST@GOTPAGE
Lloh3:
	ldr	x22, [x22, _ATOMIC_SEQ_CST@GOTPAGEOFF]
	ldr	w2, [x22]
	mov	x0, x20
	bl	_atomic_store_b
	ldr	w2, [x22]
	mov	x0, x19
	mov	w1, #1
	bl	_atomic_store_u32
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x22]
	mov	x0, x19
	bl	_atomic_load_u32
	cmp	w0, #2
	b.ne	LBB0_4
; %bb.5:
	mov	w0, #1
	mov	w1, #0
	bl	_mallocx
	bl	_free
	mov	x0, x21
	bl	_tsd_fast
	mov	x1, x0
	ldr	w2, [x22]
	mov	x0, x20
	bl	_atomic_store_b
	ldr	w2, [x22]
	mov	x0, x19
	mov	w1, #3
	bl	_atomic_store_u32
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x22]
	mov	x0, x19
	bl	_atomic_load_u32
	cmp	w0, #4
	b.ne	LBB0_6
; %bb.7:
	mov	w0, #1
	mov	w1, #0
	bl	_mallocx
	bl	_free
	mov	x0, x21
	bl	_tsd_fast
	mov	x1, x0
	ldr	w2, [x22]
	mov	x0, x20
	bl	_atomic_store_b
	ldr	w2, [x22]
	mov	x0, x19
	mov	w1, #5
	bl	_atomic_store_u32
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x22]
	mov	x0, x19
	bl	_atomic_load_u32
	cmp	w0, #6
	b.ne	LBB0_8
; %bb.9:
	mov	w0, #1
	mov	w1, #0
	bl	_mallocx
	bl	_free
	mov	x0, x21
	bl	_tsd_fast
	mov	x1, x0
	ldr	w2, [x22]
	mov	x0, x20
	bl	_atomic_store_b
	ldr	w2, [x22]
	mov	x0, x19
	mov	w1, #7
	bl	_atomic_store_u32
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x22]
	mov	x0, x19
	bl	_atomic_load_u32
	cmp	w0, #8
	b.ne	LBB0_10
; %bb.11:
	mov	w0, #1
	mov	w1, #0
	bl	_mallocx
	bl	_free
	ldr	x8, [x23]
	cbz	x8, LBB0_13
; %bb.12:
	mov	x0, x21
	bl	_tsd_fast
	cmp	w0, #0
	cset	w1, eq
	b	LBB0_14
LBB0_13:
	mov	w1, #0
LBB0_14:
	ldr	w2, [x22]
	mov	x0, x20
	bl	_atomic_store_b
	ldr	w2, [x22]
	mov	x0, x19
	mov	w1, #9
	bl	_atomic_store_u32
	mov	x0, #0
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_originally_fast,8,3            ; @originally_fast
	.comm	_ATOMIC_SEQ_CST,4,2             ; @ATOMIC_SEQ_CST
	.no_dead_strip	_thd_start_global_slow
.subsections_via_symbols
