	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function prochandler
_prochandler:                           ## @prochandler
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_proc_getpid
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	%r14, %rdi
	callq	_proc_getwstat
	movl	%eax, %r15d
	movq	_SIG2STR_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%r12, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	testq	%rbx, %rbx
	je	LBB0_3
## %bb.1:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_16
## %bb.2:
	leaq	L_.str(%rip), %rdi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	movq	%rbx, %rdx
	xorl	%eax, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_notice                         ## TAILCALL
LBB0_3:
	movq	%r14, %rdi
	callq	_Pstate
	cmpl	$129, %eax
	je	LBB0_11
## %bb.4:
	cmpl	$128, %eax
	jne	LBB0_14
## %bb.5:
	movl	%r15d, %edi
	callq	_WIFSIGNALED
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:
	movl	%r15d, %edi
	callq	_WTERMSIG
	movl	%eax, %edi
	movq	%r13, %rsi
	movl	%r12d, %edx
	callq	_proc_signame
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_9
LBB0_11:
	leaq	L_.str.4(%rip), %rdi
LBB0_12:
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	xorl	%eax, %eax
	callq	_notice
	jmp	LBB0_13
LBB0_7:
	movl	%r15d, %edi
	callq	_WEXITSTATUS
	testl	%eax, %eax
	je	LBB0_10
## %bb.8:
	movl	%r15d, %edi
	callq	_WEXITSTATUS
	leaq	L_.str.2(%rip), %rdi
LBB0_9:
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_notice
LBB0_13:
	movq	_g_exited@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
LBB0_14:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_16
## %bb.15:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_12
LBB0_16:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SIG2STR_MAX,4,2                ## @SIG2STR_MAX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pid %d: %s\n"

L_.str.1:                               ## @.str.1
	.asciz	"pid %d terminated by %s\n"

L_.str.2:                               ## @.str.2
	.asciz	"pid %d exited with status %d\n"

L_.str.3:                               ## @.str.3
	.asciz	"pid %d has exited\n"

	.comm	_g_exited,4,2                   ## @g_exited
L_.str.4:                               ## @.str.4
	.asciz	"pid %d exec'd a set-id or unobservable program\n"

	.no_dead_strip	_prochandler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function prochandler
_prochandler:                           ; @prochandler
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	sub	sp, sp, #16
	mov	x23, x1
	mov	x24, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	bl	_proc_getpid
	mov	x19, x0
	mov	x0, x24
	bl	_proc_getwstat
	mov	x20, x0
Lloh3:
	adrp	x8, _SIG2STR_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SIG2STR_MAX@GOTPAGEOFF]
Lloh5:
	ldr	w21, [x8]
	mov	x9, x21
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x21, #15
	and	x9, x9, #0x1fffffff0
	sub	x22, x8, x9
	mov	sp, x22
	cbz	x23, LBB0_2
; %bb.1:
	str	x23, [sp, #-16]!
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_notice
	add	sp, sp, #16
	b	LBB0_12
LBB0_2:
	mov	x0, x24
	bl	_Pstate
	cmp	w0, #129
	b.eq	LBB0_6
; %bb.3:
	cmp	w0, #128
	b.ne	LBB0_12
; %bb.4:
	mov	x0, x20
	bl	_WIFSIGNALED
	cbz	w0, LBB0_8
; %bb.5:
	mov	x0, x20
	bl	_WTERMSIG
	mov	x1, x22
	mov	x2, x21
	bl	_proc_signame
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp, #-16]!
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_10
LBB0_6:
Lloh12:
	adrp	x0, l_.str.4@PAGE
Lloh13:
	add	x0, x0, l_.str.4@PAGEOFF
LBB0_7:
	mov	x1, x19
	bl	_notice
	b	LBB0_11
LBB0_8:
	mov	x0, x20
	bl	_WEXITSTATUS
	cbz	w0, LBB0_14
; %bb.9:
	mov	x0, x20
	bl	_WEXITSTATUS
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp, #-16]!
Lloh14:
	adrp	x0, l_.str.2@PAGE
Lloh15:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_10:
	mov	x1, x19
	bl	_notice
	add	sp, sp, #16
LBB0_11:
Lloh16:
	adrp	x8, _g_exited@GOTPAGE
Lloh17:
	ldr	x8, [x8, _g_exited@GOTPAGEOFF]
	mov	w9, #1
Lloh18:
	str	w9, [x8]
LBB0_12:
	ldur	x8, [x29, #-56]
Lloh19:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh20:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.13:
	sub	sp, x29, #48
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_14:
Lloh22:
	adrp	x0, l_.str.3@PAGE
Lloh23:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_7
LBB0_15:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotStr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_SIG2STR_MAX,4,2                ; @SIG2STR_MAX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pid %d: %s\n"

l_.str.1:                               ; @.str.1
	.asciz	"pid %d terminated by %s\n"

l_.str.2:                               ; @.str.2
	.asciz	"pid %d exited with status %d\n"

l_.str.3:                               ; @.str.3
	.asciz	"pid %d has exited\n"

	.comm	_g_exited,4,2                   ; @g_exited
l_.str.4:                               ; @.str.4
	.asciz	"pid %d exec'd a set-id or unobservable program\n"

	.no_dead_strip	_prochandler
.subsections_via_symbols
