	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_fork
_do_fork:                               ## @do_fork
	.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	%rcx, %r14
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rax
	movq	%rax, -56(%rbp)
	movq	%rsi, %rdi
	callq	*24(%rbx)
	movq	%r14, %rdi
	callq	*24(%r15)
	movq	_child_print@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	16(%rbx), %edx
	movl	16(%r15), %ecx
	leaq	-44(%rbp), %rdi
	leaq	-56(%rbp), %r8
	callq	_atf_process_fork
	movl	%eax, %edi
	callq	_RE
	movq	8(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	-44(%rbp), %rsi
	movq	%r12, %rdi
	callq	*%rax
LBB0_2:
	movq	8(%r15), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	leaq	-44(%rbp), %rsi
	movq	%r14, %rdi
	callq	*%rax
LBB0_4:
	leaq	-44(%rbp), %rdi
	leaq	-60(%rbp), %r13
	movq	%r13, %rsi
	callq	_atf_process_child_wait
	movl	%eax, %edi
	callq	_RE
	movq	%r12, %rdi
	callq	*(%rbx)
	movq	%r14, %rdi
	callq	*(%r15)
	movq	%r13, %rdi
	callq	_atf_process_status_fini
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"msg"

	.comm	_child_print,4,2                ## @child_print
	.no_dead_strip	_do_fork
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_fork
_do_fork:                               ; @do_fork
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, l_.str@PAGE
Lloh1:
	add	x8, x8, l_.str@PAGEOFF
	str	x8, [sp]
	ldr	x8, [x0, #24]
	mov	x0, x1
	blr	x8
	ldr	x8, [x20, #24]
	mov	x0, x19
	blr	x8
Lloh2:
	adrp	x8, _child_print@GOTPAGE
Lloh3:
	ldr	x8, [x8, _child_print@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	ldr	w2, [x22, #16]
	ldr	w3, [x20, #16]
	add	x0, sp, #12
	mov	x4, sp
	bl	_atf_process_fork
	bl	_RE
	ldr	x8, [x22, #8]
	cbz	x8, LBB0_2
; %bb.1:
	add	x1, sp, #12
	mov	x0, x21
	blr	x8
LBB0_2:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_4
; %bb.3:
	add	x1, sp, #12
	mov	x0, x19
	blr	x8
LBB0_4:
	add	x0, sp, #12
	add	x1, sp, #8
	bl	_atf_process_child_wait
	bl	_RE
	ldr	x8, [x22]
	mov	x0, x21
	blr	x8
	ldr	x8, [x20]
	mov	x0, x19
	blr	x8
	add	x0, sp, #8
	bl	_atf_process_status_fini
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"msg"

	.comm	_child_print,4,2                ; @child_print
	.no_dead_strip	_do_fork
.subsections_via_symbols
