	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AddThread                      ## -- Begin function AddThread
	.p2align	4, 0x90
_AddThread:                             ## @AddThread
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_currentnumthreads@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rcx
	movq	_numthreads@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jge	LBB0_2
## %bb.1:
	movq	%rdi, %rax
	incq	%rcx
	movq	%rcx, (%rbx)
	movl	$-1, %edi
	callq	*%rax
	decq	(%rbx)
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_currentnumthreads,8,3          ## @currentnumthreads
	.comm	_numthreads,8,3                 ## @numthreads
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AddThread                      ; -- Begin function AddThread
	.p2align	2
_AddThread:                             ; @AddThread
	.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
Lloh0:
	adrp	x19, _currentnumthreads@GOTPAGE
Lloh1:
	ldr	x19, [x19, _currentnumthreads@GOTPAGEOFF]
	ldr	x9, [x19]
Lloh2:
	adrp	x10, _numthreads@GOTPAGE
Lloh3:
	ldr	x10, [x10, _numthreads@GOTPAGEOFF]
Lloh4:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ge	LBB0_2
; %bb.1:
	mov	x8, x0
	add	x9, x9, #1
	str	x9, [x19]
	mov	w0, #-1
	blr	x8
	ldr	x8, [x19]
	sub	x8, x8, #1
	str	x8, [x19]
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_currentnumthreads,8,3          ; @currentnumthreads
	.comm	_numthreads,8,3                 ; @numthreads
.subsections_via_symbols
