	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ps_linfo                       ## -- Begin function ps_linfo
	.p2align	4, 0x90
_ps_linfo:                              ## @ps_linfo
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_fbsd_thread_core@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	movq	%rdx, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	jmp	LBB0_4
LBB0_2:
	movq	_PT_LWPINFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$4, %ecx
	callq	_ptrace
	cmpl	$-1, %eax
	jne	LBB0_4
## %bb.3:
	movq	_PS_ERR@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_4:
	movq	_PS_OK@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_fbsd_thread_core,8,3           ## @fbsd_thread_core
	.comm	_PS_OK,4,2                      ## @PS_OK
	.comm	_PT_LWPINFO,4,2                 ## @PT_LWPINFO
	.comm	_PS_ERR,4,2                     ## @PS_ERR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ps_linfo                       ; -- Begin function ps_linfo
	.p2align	2
_ps_linfo:                              ; @ps_linfo
	.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, _fbsd_thread_core@GOTPAGE
Lloh1:
	ldr	x8, [x8, _fbsd_thread_core@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x2
	mov	w1, #0
	mov	w2, #4
	bl	_memset
Lloh3:
	adrp	x8, _PS_OK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PS_OK@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
Lloh5:
	adrp	x8, _PT_LWPINFO@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PT_LWPINFO@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	mov	w3, #4
	bl	_ptrace
Lloh8:
	adrp	x8, _PS_OK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PS_OK@GOTPAGEOFF]
Lloh10:
	adrp	x9, _PS_ERR@GOTPAGE
Lloh11:
	ldr	x9, [x9, _PS_ERR@GOTPAGEOFF]
	cmn	w0, #1
	csel	x8, x9, x8, eq
LBB0_3:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_fbsd_thread_core,8,3           ; @fbsd_thread_core
	.comm	_PS_OK,4,2                      ; @PS_OK
	.comm	_PT_LWPINFO,4,2                 ; @PT_LWPINFO
	.comm	_PS_ERR,4,2                     ; @PS_ERR
.subsections_via_symbols
