	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_thread_data
_get_thread_data:                       ## @get_thread_data
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_HAVE_THREADS@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.1:
	movq	_threads_active@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.4:
	movq	_key@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	popq	%rbp
	jmp	_pthread_getspecific            ## TAILCALL
LBB0_2:
	movl	$1, %edi
	callq	_assert
LBB0_3:
	movq	_nothread_data@GOTPCREL(%rip), %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HAVE_THREADS,8,3               ## @HAVE_THREADS
	.comm	_threads_active,8,3             ## @threads_active
	.comm	_key,4,2                        ## @key
	.comm	_nothread_data,4,2              ## @nothread_data
	.no_dead_strip	_get_thread_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_thread_data
_get_thread_data:                       ; @get_thread_data
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _HAVE_THREADS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HAVE_THREADS@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.1:
Lloh3:
	adrp	x8, _threads_active@GOTPAGE
Lloh4:
	ldr	x8, [x8, _threads_active@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.2:
Lloh6:
	adrp	x8, _key@GOTPAGE
Lloh7:
	ldr	x8, [x8, _key@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_pthread_getspecific
LBB0_3:
	mov	w0, #1
	bl	_assert
LBB0_4:
Lloh9:
	adrp	x0, _nothread_data@GOTPAGE
Lloh10:
	ldr	x0, [x0, _nothread_data@GOTPAGEOFF]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_HAVE_THREADS,8,3               ; @HAVE_THREADS
	.comm	_threads_active,8,3             ; @threads_active
	.comm	_key,4,2                        ; @key
	.comm	_nothread_data,4,2              ; @nothread_data
	.no_dead_strip	_get_thread_data
.subsections_via_symbols
