	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mark_child_for_cleanup
_mark_child_for_cleanup:                ## @mark_child_for_cleanup
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movl	%edi, %ebx
	movl	$24, %edi
	callq	_xmalloc
	movl	%ebx, 16(%rax)
	movq	%r14, 8(%rax)
	movq	_children_to_clean@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movq	%rdx, (%rax)
	movq	%rax, (%rcx)
	movq	_installed_child_cleanup_handler@GOTPCREL(%rip), %rbx
	cmpl	$0, (%rbx)
	jne	LBB0_2
## %bb.1:
	movq	_cleanup_children_on_exit@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_atexit
	movq	_cleanup_children_on_signal@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_sigchain_push_common
	movl	$1, (%rbx)
LBB0_2:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_children_to_clean,8,3          ## @children_to_clean
	.comm	_installed_child_cleanup_handler,4,2 ## @installed_child_cleanup_handler
	.comm	_cleanup_children_on_exit,4,2   ## @cleanup_children_on_exit
	.comm	_cleanup_children_on_signal,4,2 ## @cleanup_children_on_signal
	.no_dead_strip	_mark_child_for_cleanup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mark_child_for_cleanup
_mark_child_for_cleanup:                ; @mark_child_for_cleanup
	.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
	mov	x19, x1
	mov	x20, x0
	mov	w0, #24
	bl	_xmalloc
	str	w20, [x0, #16]
Lloh0:
	adrp	x8, _children_to_clean@GOTPAGE
Lloh1:
	ldr	x8, [x8, _children_to_clean@GOTPAGEOFF]
	ldr	x9, [x8]
	stp	x9, x19, [x0]
	str	x0, [x8]
Lloh2:
	adrp	x19, _installed_child_cleanup_handler@GOTPAGE
Lloh3:
	ldr	x19, [x19, _installed_child_cleanup_handler@GOTPAGEOFF]
	ldr	w8, [x19]
	cbnz	w8, LBB0_2
; %bb.1:
Lloh4:
	adrp	x8, _cleanup_children_on_exit@GOTPAGE
Lloh5:
	ldr	x8, [x8, _cleanup_children_on_exit@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	bl	_atexit
Lloh7:
	adrp	x8, _cleanup_children_on_signal@GOTPAGE
Lloh8:
	ldr	x8, [x8, _cleanup_children_on_signal@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	bl	_sigchain_push_common
	mov	w8, #1
	str	w8, [x19]
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_children_to_clean,8,3          ; @children_to_clean
	.comm	_installed_child_cleanup_handler,4,2 ; @installed_child_cleanup_handler
	.comm	_cleanup_children_on_exit,4,2   ; @cleanup_children_on_exit
	.comm	_cleanup_children_on_signal,4,2 ; @cleanup_children_on_signal
	.no_dead_strip	_mark_child_for_cleanup
.subsections_via_symbols
