	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function procfs_mourn_inferior
_procfs_mourn_inferior:                 ## @procfs_mourn_inferior
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_inferior_ptid@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	_null_ptid@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_ptid_equal
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_nto_node
	movl	%eax, %r14d
	movl	(%rbx), %edi
	callq	_PIDGET
	movq	_SIGKILL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%r14d, %edi
	movl	%eax, %esi
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_SignalKill
	movq	_ctl_fd@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_close
LBB0_2:
	movl	(%r15), %eax
	movl	%eax, (%rbx)
	xorl	%eax, %eax
	callq	_init_thread_list
	movq	_procfs_ops@GOTPCREL(%rip), %rdi
	callq	_unpush_target
	xorl	%eax, %eax
	callq	_generic_mourn_inferior
	movq	_attach_flag@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_inferior_ptid,4,2              ## @inferior_ptid
	.comm	_null_ptid,4,2                  ## @null_ptid
	.comm	_SIGKILL,4,2                    ## @SIGKILL
	.comm	_ctl_fd,4,2                     ## @ctl_fd
	.comm	_procfs_ops,4,2                 ## @procfs_ops
	.comm	_attach_flag,8,3                ## @attach_flag
	.no_dead_strip	_procfs_mourn_inferior
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function procfs_mourn_inferior
_procfs_mourn_inferior:                 ; @procfs_mourn_inferior
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
Lloh0:
	adrp	x20, _inferior_ptid@GOTPAGE
Lloh1:
	ldr	x20, [x20, _inferior_ptid@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh2:
	adrp	x21, _null_ptid@GOTPAGE
Lloh3:
	ldr	x21, [x21, _null_ptid@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_ptid_equal
	cbnz	w0, LBB0_2
; %bb.1:
	bl	_nto_node
	mov	x19, x0
	ldr	w0, [x20]
	bl	_PIDGET
	mov	x1, x0
Lloh4:
	adrp	x8, _SIGKILL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _SIGKILL@GOTPAGEOFF]
Lloh6:
	ldr	w3, [x8]
	mov	x0, x19
	mov	w2, #0
	mov	w4, #0
	mov	w5, #0
	bl	_SignalKill
Lloh7:
	adrp	x8, _ctl_fd@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ctl_fd@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	bl	_close
LBB0_2:
	ldr	w8, [x21]
	str	w8, [x20]
	bl	_init_thread_list
Lloh10:
	adrp	x0, _procfs_ops@GOTPAGE
Lloh11:
	ldr	x0, [x0, _procfs_ops@GOTPAGEOFF]
	bl	_unpush_target
	bl	_generic_mourn_inferior
Lloh12:
	adrp	x8, _attach_flag@GOTPAGE
Lloh13:
	ldr	x8, [x8, _attach_flag@GOTPAGEOFF]
Lloh14:
	str	xzr, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotStr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_inferior_ptid,4,2              ; @inferior_ptid
	.comm	_null_ptid,4,2                  ; @null_ptid
	.comm	_SIGKILL,4,2                    ; @SIGKILL
	.comm	_ctl_fd,4,2                     ; @ctl_fd
	.comm	_procfs_ops,4,2                 ; @procfs_ops
	.comm	_attach_flag,8,3                ; @attach_flag
	.no_dead_strip	_procfs_mourn_inferior
.subsections_via_symbols
