	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___lwp_thread_exists            ## -- Begin function __lwp_thread_exists
	.p2align	4, 0x90
___lwp_thread_exists:                   ## @__lwp_thread_exists
	.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	_LWP_THREAD_NULL@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rax)
	je	LBB0_2
## %bb.1:
	movq	%rdi, %rbx
	callq	_LWP_OBJTYPE
	movq	_LWP_OBJTYPE_THREAD@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.3:
	movq	%rbx, %rdi
	callq	_LWP_OBJMASKID
	movq	__lwp_thr_objects@GOTPCREL(%rip), %rdi
	movl	%eax, %esi
	callq	___lwp_objmgr_getnoprotection
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	setne	%al
	jmp	LBB0_4
LBB0_2:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LWP_THREAD_NULL,8,3            ## @LWP_THREAD_NULL
	.comm	_LWP_OBJTYPE_THREAD,8,3         ## @LWP_OBJTYPE_THREAD
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	__lwp_thr_objects,4,2           ## @_lwp_thr_objects
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___lwp_thread_exists            ; -- Begin function __lwp_thread_exists
	.p2align	2
___lwp_thread_exists:                   ; @__lwp_thread_exists
	.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	x8, _LWP_THREAD_NULL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LWP_THREAD_NULL@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x0
	b.eq	LBB0_3
; %bb.1:
	mov	x19, x0
	bl	_LWP_OBJTYPE
Lloh3:
	adrp	x8, _LWP_OBJTYPE_THREAD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LWP_OBJTYPE_THREAD@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_LWP_OBJMASKID
	mov	x1, x0
Lloh6:
	adrp	x0, __lwp_thr_objects@GOTPAGE
Lloh7:
	ldr	x0, [x0, __lwp_thr_objects@GOTPAGEOFF]
	bl	___lwp_objmgr_getnoprotection
	cmp	x0, #0
	cset	w0, ne
	b	LBB0_4
LBB0_3:
Lloh8:
	adrp	x8, _FALSE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_LWP_THREAD_NULL,8,3            ; @LWP_THREAD_NULL
	.comm	_LWP_OBJTYPE_THREAD,8,3         ; @LWP_OBJTYPE_THREAD
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	__lwp_thr_objects,4,2           ; @_lwp_thr_objects
.subsections_via_symbols
