	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pflush
_pflush:                                ## @pflush
	.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	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_14
## %bb.1:
	movq	%rdi, %rbx
	cmpq	8(%rbx), %rax
	je	LBB0_4
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	40(%rbx), %rbx
	movq	(%rbx), %rax
	cmpq	8(%rbx), %rax
	jne	LBB0_2
LBB0_4:
	movq	%rbx, %rdi
	callq	_pclrcurr
	movq	_pcurrjob@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_6
## %bb.5:
	movq	$0, (%rax)
LBB0_6:
	movl	16(%rbx), %ecx
	movq	_PNEEDNOTE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	movq	%rbx, %rdx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	$0, (%rdx)
	movl	$0, 16(%rdx)
	andl	%eax, 32(%rdx)
	movq	40(%rdx), %rdx
	cmpq	%rbx, %rdx
	jne	LBB0_7
## %bb.8:
	movq	_pmaxindex@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ecx
	jne	LBB0_13
## %bb.9:
	movq	_proclist@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	xorl	%ecx, %ecx
	testq	%rdx, %rdx
	je	LBB0_12
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movl	16(%rdx), %esi
	cmpl	%ecx, %esi
	cmovgl	%esi, %ecx
	movq	24(%rdx), %rdx
	testq	%rdx, %rdx
	jne	LBB0_10
LBB0_12:
	movl	%ecx, (%rax)
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_14:
	leaq	L_.str.1(%rip), %rdx
	movl	$17, %edi
	movl	$3, %esi
	callq	_CGETS
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_xprintf                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s"

L_.str.1:                               ## @.str.1
	.asciz	"BUG: process flushed twice"

	.comm	_pcurrjob,8,3                   ## @pcurrjob
	.comm	_PNEEDNOTE,4,2                  ## @PNEEDNOTE
	.comm	_pmaxindex,4,2                  ## @pmaxindex
	.comm	_proclist,8,3                   ## @proclist
	.no_dead_strip	_pflush
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pflush
_pflush:                                ; @pflush
	.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
	ldr	x8, [x0]
	cbz	x8, LBB0_12
; %bb.1:
	mov	x19, x0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19, #8]
	cmp	x8, x9
	b.eq	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x19, [x19, #40]
	ldr	x8, [x19]
	b	LBB0_2
LBB0_4:
	mov	x0, x19
	bl	_pclrcurr
Lloh0:
	adrp	x8, _pcurrjob@GOTPAGE
Lloh1:
	ldr	x8, [x8, _pcurrjob@GOTPAGEOFF]
	ldr	x9, [x8]
	cmp	x19, x9
	b.ne	LBB0_6
; %bb.5:
	str	xzr, [x8]
LBB0_6:
	ldr	w9, [x19, #16]
Lloh2:
	adrp	x8, _PNEEDNOTE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PNEEDNOTE@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	mvn	w8, w8
	mov	x10, x19
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	str	xzr, [x10]
	str	wzr, [x10, #16]
	ldr	w11, [x10, #32]
	and	w11, w11, w8
	str	w11, [x10, #32]
	ldr	x10, [x10, #40]
	cmp	x10, x19
	b.ne	LBB0_7
; %bb.8:
Lloh5:
	adrp	x8, _pmaxindex@GOTPAGE
Lloh6:
	ldr	x8, [x8, _pmaxindex@GOTPAGEOFF]
	ldr	w10, [x8]
	cmp	w9, w10
	b.ne	LBB0_15
; %bb.9:
Lloh7:
	adrp	x9, _proclist@GOTPAGE
Lloh8:
	ldr	x9, [x9, _proclist@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cbz	x9, LBB0_13
; %bb.10:
	mov	w10, #0
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x9, #16]
	cmp	w11, w10
	csel	w10, w11, w10, gt
	ldr	x9, [x9, #24]
	cbnz	x9, LBB0_11
	b	LBB0_14
LBB0_12:
Lloh10:
	adrp	x2, l_.str.1@PAGE
Lloh11:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	w0, #17
	mov	w1, #3
	bl	_CGETS
	mov	x1, x0
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_xprintf
LBB0_13:
	mov	w10, #0
LBB0_14:
	str	w10, [x8]
LBB0_15:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s"

l_.str.1:                               ; @.str.1
	.asciz	"BUG: process flushed twice"

	.comm	_pcurrjob,8,3                   ; @pcurrjob
	.comm	_PNEEDNOTE,4,2                  ; @PNEEDNOTE
	.comm	_pmaxindex,4,2                  ; @pmaxindex
	.comm	_proclist,8,3                   ; @proclist
	.no_dead_strip	_pflush
.subsections_via_symbols
