	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tr2tls_is_main_thread          ## -- Begin function tr2tls_is_main_thread
	.p2align	4, 0x90
_tr2tls_is_main_thread:                 ## @tr2tls_is_main_thread
	.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
	cmpl	$0, (%rax)
	je	LBB0_1
## %bb.2:
	movq	_tr2tls_key@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_pthread_getspecific
	movq	%rax, %rcx
	movq	_tr2tls_thread_main@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	sete	%al
	popq	%rbp
	retq
LBB0_1:
	movl	$1, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HAVE_THREADS,4,2               ## @HAVE_THREADS
	.comm	_tr2tls_key,4,2                 ## @tr2tls_key
	.comm	_tr2tls_thread_main,8,3         ## @tr2tls_thread_main
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tr2tls_is_main_thread          ; -- Begin function tr2tls_is_main_thread
	.p2align	2
_tr2tls_is_main_thread:                 ; @tr2tls_is_main_thread
	.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	w8, [x8]
	cbz	w8, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _tr2tls_key@GOTPAGE
Lloh4:
	ldr	x8, [x8, _tr2tls_key@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_pthread_getspecific
Lloh6:
	adrp	x8, _tr2tls_thread_main@GOTPAGE
Lloh7:
	ldr	x8, [x8, _tr2tls_thread_main@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x0, x8
	cset	w0, eq
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	w0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_HAVE_THREADS,4,2               ; @HAVE_THREADS
	.comm	_tr2tls_key,4,2                 ; @tr2tls_key
	.comm	_tr2tls_thread_main,8,3         ; @tr2tls_thread_main
.subsections_via_symbols
