	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handle_term
_handle_term:                           ## @handle_term
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edi, %esi
	movq	_pid@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	jle	LBB0_3
## %bb.1:
	movq	_child_gone@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_3
## %bb.2:
	callq	_kill
LBB0_3:
	movq	_terminate@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pid,8,3                        ## @pid
	.comm	_child_gone,4,2                 ## @child_gone
	.comm	_terminate,4,2                  ## @terminate
	.no_dead_strip	_handle_term
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function handle_term
_handle_term:                           ; @handle_term
	.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
	mov	x1, x0
Lloh0:
	adrp	x8, _pid@GOTPAGE
Lloh1:
	ldr	x8, [x8, _pid@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
Lloh3:
	adrp	x8, _child_gone@GOTPAGE
Lloh4:
	ldr	x8, [x8, _child_gone@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	x0, #1
	ccmp	w8, #0, #0, ge
	b.ne	LBB0_2
; %bb.1:
	bl	_kill
LBB0_2:
Lloh6:
	adrp	x8, _terminate@GOTPAGE
Lloh7:
	ldr	x8, [x8, _terminate@GOTPAGEOFF]
	mov	w9, #1
Lloh8:
	str	w9, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_pid,8,3                        ; @pid
	.comm	_child_gone,4,2                 ; @child_gone
	.comm	_terminate,4,2                  ; @terminate
	.no_dead_strip	_handle_term
.subsections_via_symbols
