	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function remote_thread_alive
_remote_thread_alive:                   ## @remote_thread_alive
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -16(%rbp)
	callq	_PIDGET
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_3
LBB0_1:
	negl	%eax
	leaq	L_.str(%rip), %rsi
LBB0_3:
	leaq	-32(%rbp), %rdi
	movl	%eax, %edx
	callq	_sprintf
	leaq	-32(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_putpkt
	movq	%rbx, %rdi
	movl	$16, %esi
	xorl	%edx, %edx
	callq	_getpkt
	movb	-32(%rbp), %cl
	movb	-31(%rbp), %dl
	xorb	$79, %cl
	xorb	$75, %dl
	xorl	%eax, %eax
	orb	%cl, %dl
	sete	%cl
	movq	___stack_chk_guard@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpq	-16(%rbp), %rdx
	jne	LBB0_5
## %bb.4:
	movb	%cl, %al
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"T-%08x"

L_.str.1:                               ## @.str.1
	.asciz	"T%08x"

	.no_dead_strip	_remote_thread_alive
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function remote_thread_alive
_remote_thread_alive:                   ; @remote_thread_alive
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-8]
	bl	_PIDGET
	mov	x2, x0
	tbnz	w0, #31, LBB0_2
; %bb.1:
Lloh3:
	adrp	x1, l_.str.1@PAGE
Lloh4:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_3
LBB0_2:
	neg	w2, w2
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
LBB0_3:
	add	x0, sp, #8
	bl	_sprintf
	add	x0, sp, #8
	bl	_putpkt
	add	x0, sp, #8
	mov	w1, #16
	mov	w2, #0
	bl	_getpkt
	ldrb	w8, [sp, #8]
	cmp	w8, #79
	ldrb	w8, [sp, #9]
	mov	w9, #75
	ccmp	w8, w9, #0, eq
	cset	w0, eq
	ldur	x8, [x29, #-8]
Lloh7:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh8:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_5:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"T-%08x"

l_.str.1:                               ; @.str.1
	.asciz	"T%08x"

	.no_dead_strip	_remote_thread_alive
.subsections_via_symbols
