	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pgetcurr
_pgetcurr:                              ## @pgetcurr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_proclist@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_1
## %bb.2:
	movq	_pcurrent@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	_PSTOPPED@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	xorl	%eax, %eax
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	24(%rcx), %rcx
	testq	%rcx, %rcx
	je	LBB0_11
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rdi, %rcx
	je	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	%rdx, %rcx
	je	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rcx), %rsi
	testq	%rsi, %rsi
	je	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	8(%rcx), %rsi
	jne	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	testl	%r8d, 16(%rcx)
	jne	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	testq	%rax, %rax
	cmoveq	%rcx, %rax
	jmp	LBB0_10
LBB0_11:
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_8:
	movq	%rcx, %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_proclist,8,3                   ## @proclist
	.comm	_pcurrent,8,3                   ## @pcurrent
	.comm	_PSTOPPED,4,2                   ## @PSTOPPED
	.no_dead_strip	_pgetcurr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pgetcurr
_pgetcurr:                              ; @pgetcurr
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x9, _proclist@GOTPAGE
Lloh1:
	ldr	x9, [x9, _proclist@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cbz	x9, LBB0_10
; %bb.1:
	mov	x8, x0
	mov	x0, #0
Lloh3:
	adrp	x10, _pcurrent@GOTPAGE
Lloh4:
	ldr	x10, [x10, _pcurrent@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
Lloh6:
	adrp	x11, _PSTOPPED@GOTPAGE
Lloh7:
	ldr	x11, [x11, _PSTOPPED@GOTPAGEOFF]
Lloh8:
	ldr	w11, [x11]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x9, #24]
	cbz	x9, LBB0_9
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x9, x8
	b.eq	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	x9, x10
	b.eq	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x12, [x9]
	cbz	x12, LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x13, [x9, #8]
	cmp	x12, x13
	b.ne	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w12, [x9, #16]
	tst	w11, w12
	b.ne	LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	x0, #0
	csel	x0, x9, x0, eq
	b	LBB0_2
LBB0_9:
	ret
LBB0_10:
	mov	x0, #0
	ret
LBB0_11:
	mov	x0, x9
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_proclist,8,3                   ; @proclist
	.comm	_pcurrent,8,3                   ; @pcurrent
	.comm	_PSTOPPED,4,2                   ; @PSTOPPED
	.no_dead_strip	_pgetcurr
.subsections_via_symbols
