	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lsapi_parent_dead
_lsapi_parent_dead:                     ## @lsapi_parent_dead
	.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	_s_ppid@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.2:
	movq	_s_restored_ppid@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.3:
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	callq	_kill
	cmpl	$-1, %eax
	jne	LBB0_7
## %bb.4:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_EPERM@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jmp	LBB0_6
LBB0_1:
	xorl	%ebx, %ebx
	jmp	LBB0_7
LBB0_5:
	xorl	%eax, %eax
	callq	_getppid
	cmpq	%rax, %rbx
LBB0_6:
	setne	%bl
LBB0_7:
	movzbl	%bl, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_s_ppid,8,3                     ## @s_ppid
	.comm	_s_restored_ppid,8,3            ## @s_restored_ppid
	.comm	_errno,8,3                      ## @errno
	.comm	_EPERM,8,3                      ## @EPERM
	.no_dead_strip	_lsapi_parent_dead
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lsapi_parent_dead
_lsapi_parent_dead:                     ; @lsapi_parent_dead
	.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
Lloh0:
	adrp	x8, _s_ppid@GOTPAGE
Lloh1:
	ldr	x8, [x8, _s_ppid@GOTPAGEOFF]
Lloh2:
	ldr	x19, [x8]
	cbz	x19, LBB0_4
; %bb.1:
Lloh3:
	adrp	x8, _s_restored_ppid@GOTPAGE
Lloh4:
	ldr	x8, [x8, _s_restored_ppid@GOTPAGEOFF]
Lloh5:
	ldr	x0, [x8]
	cbz	x0, LBB0_5
; %bb.2:
	mov	w1, #0
	bl	_kill
	mov	x8, x0
	mov	w0, #0
	cmn	w8, #1
	b.ne	LBB0_7
; %bb.3:
Lloh6:
	adrp	x8, _errno@GOTPAGE
Lloh7:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
Lloh9:
	adrp	x9, _EPERM@GOTPAGE
Lloh10:
	ldr	x9, [x9, _EPERM@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b	LBB0_6
LBB0_4:
	mov	w0, #0
	b	LBB0_7
LBB0_5:
	bl	_getppid
	cmp	x19, x0
LBB0_6:
	cset	w0, ne
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_s_ppid,8,3                     ; @s_ppid
	.comm	_s_restored_ppid,8,3            ; @s_restored_ppid
	.comm	_errno,8,3                      ; @errno
	.comm	_EPERM,8,3                      ; @EPERM
	.no_dead_strip	_lsapi_parent_dead
.subsections_via_symbols
