	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function procfs_thread_alive
_procfs_thread_alive:                   ## @procfs_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
	subq	$16, %rsp
	callq	_ptid_get_tid
	movl	%eax, -4(%rbp)
	movq	_ctl_fd@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_DCMD_PROC_CURTHREAD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-4(%rbp), %rdx
	movl	$4, %ecx
	xorl	%r8d, %r8d
	callq	_devctl
	movq	_EOK@GOTPCREL(%rip), %rdx
	xorl	%ecx, %ecx
	cmpq	(%rdx), %rax
	sete	%cl
	movl	%ecx, %eax
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ctl_fd,4,2                     ## @ctl_fd
	.comm	_DCMD_PROC_CURTHREAD,4,2        ## @DCMD_PROC_CURTHREAD
	.comm	_EOK,8,3                        ## @EOK
	.no_dead_strip	_procfs_thread_alive
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function procfs_thread_alive
_procfs_thread_alive:                   ; @procfs_thread_alive
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	bl	_ptid_get_tid
	stur	w0, [x29, #-4]
Lloh0:
	adrp	x8, _ctl_fd@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ctl_fd@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _DCMD_PROC_CURTHREAD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DCMD_PROC_CURTHREAD@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	sub	x2, x29, #4
	mov	w3, #4
	mov	w4, #0
	bl	_devctl
Lloh6:
	adrp	x8, _EOK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EOK@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x0, x8
	cset	w0, eq
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ctl_fd,4,2                     ; @ctl_fd
	.comm	_DCMD_PROC_CURTHREAD,4,2        ; @DCMD_PROC_CURTHREAD
	.comm	_EOK,8,3                        ; @EOK
	.no_dead_strip	_procfs_thread_alive
.subsections_via_symbols
