	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tr2tls_get_self                ## -- Begin function tr2tls_get_self
	.p2align	4, 0x90
_tr2tls_get_self:                       ## @tr2tls_get_self
	.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
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	popq	%rbp
	retq
LBB0_1:
	movq	_tr2tls_thread_main@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	popq	%rbp
	retq
LBB0_4:
	xorl	%eax, %eax
	callq	_getnanotime
	cltq
	imulq	$274877907, %rax, %rsi          ## imm = 0x10624DD3
	movq	%rsi, %rax
	shrq	$63, %rax
	sarq	$38, %rsi
	addl	%eax, %esi
	leaq	L_.str(%rip), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	popq	%rbp
	jmp	_tr2tls_create_self             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_HAVE_THREADS,4,2               ## @HAVE_THREADS
	.comm	_tr2tls_thread_main,8,3         ## @tr2tls_thread_main
	.comm	_tr2tls_key,4,2                 ## @tr2tls_key
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unknown"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tr2tls_get_self                ; -- Begin function tr2tls_get_self
	.p2align	2
_tr2tls_get_self:                       ; @tr2tls_get_self
	.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_3
; %bb.1:
Lloh3:
	adrp	x8, _tr2tls_key@GOTPAGE
Lloh4:
	ldr	x8, [x8, _tr2tls_key@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_pthread_getspecific
	cbz	x0, LBB0_4
; %bb.2:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_3:
Lloh6:
	adrp	x8, _tr2tls_thread_main@GOTPAGE
Lloh7:
	ldr	x8, [x8, _tr2tls_thread_main@GOTPAGEOFF]
Lloh8:
	ldr	x0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_4:
	bl	_getnanotime
	mov	w8, #19923
	movk	w8, #4194, lsl #16
	smull	x8, w0, w8
	lsr	x9, x8, #63
	asr	x8, x8, #38
	add	w1, w8, w9
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_tr2tls_create_self
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_HAVE_THREADS,4,2               ; @HAVE_THREADS
	.comm	_tr2tls_thread_main,8,3         ; @tr2tls_thread_main
	.comm	_tr2tls_key,4,2                 ; @tr2tls_key
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unknown"

.subsections_via_symbols
