	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sigchild_action
_sigchild_action:                       ## @sigchild_action
	.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, %rbx
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.1:
	movq	%rdx, %r14
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_printf
	leaq	L_.str.1(%rip), %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_printf
	movq	(%rbx), %rsi
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movq	8(%rbx), %rsi
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movq	16(%rbx), %rsi
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movq	24(%rbx), %rsi
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movq	32(%rbx), %rsi
	leaq	L_.str.6(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movq	40(%rbx), %rsi
	leaq	L_.str.7(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
LBB0_2:
	movl	16(%rbx), %edi
	movq	_code@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ATF_REQUIRE_EQ
	movl	(%rbx), %edi
	movq	_SIGCHLD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ATF_REQUIRE_EQ
	movl	24(%rbx), %r14d
	xorl	%eax, %eax
	callq	_getuid
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_ATF_REQUIRE_EQ
	movl	32(%rbx), %edi
	movq	_child@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ATF_REQUIRE_EQ
	movl	40(%rbx), %edi
	callq	_WIFEXITED
	movl	40(%rbx), %edi
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	callq	_WEXITSTATUS
	jmp	LBB0_8
LBB0_4:
	callq	_WIFSTOPPED
	movl	40(%rbx), %edi
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	callq	_WSTOPSIG
	jmp	LBB0_8
LBB0_6:
	callq	_WIFSIGNALED
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:
	movl	40(%rbx), %edi
	callq	_WTERMSIG
LBB0_8:
	movl	%eax, %edi
	movq	_status@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ATF_REQUIRE_EQ                 ## TAILCALL
LBB0_9:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"info=%p\n"

L_.str.1:                               ## @.str.1
	.asciz	"ptr=%p\n"

L_.str.2:                               ## @.str.2
	.asciz	"si_signo=%d\n"

L_.str.3:                               ## @.str.3
	.asciz	"si_errno=%d\n"

L_.str.4:                               ## @.str.4
	.asciz	"si_code=%d\n"

L_.str.5:                               ## @.str.5
	.asciz	"si_uid=%d\n"

L_.str.6:                               ## @.str.6
	.asciz	"si_pid=%d\n"

L_.str.7:                               ## @.str.7
	.asciz	"si_status=%d\n"

	.comm	_code,4,2                       ## @code
	.comm	_SIGCHLD,4,2                    ## @SIGCHLD
	.comm	_child,4,2                      ## @child
	.comm	_status,4,2                     ## @status
	.no_dead_strip	_sigchild_action
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sigchild_action
_sigchild_action:                       ; @sigchild_action
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x1
	cbz	x1, LBB0_2
; %bb.1:
	mov	x20, x2
	str	x19, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
	str	x20, [sp]
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_printf
	ldr	x8, [x19]
	str	x8, [sp]
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_printf
	ldr	x8, [x19, #8]
	str	x8, [sp]
Lloh6:
	adrp	x0, l_.str.3@PAGE
Lloh7:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_printf
	ldr	x8, [x19, #16]
	str	x8, [sp]
Lloh8:
	adrp	x0, l_.str.4@PAGE
Lloh9:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_printf
	ldr	x8, [x19, #24]
	str	x8, [sp]
Lloh10:
	adrp	x0, l_.str.5@PAGE
Lloh11:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_printf
	ldr	x8, [x19, #32]
	str	x8, [sp]
Lloh12:
	adrp	x0, l_.str.6@PAGE
Lloh13:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_printf
	ldr	x8, [x19, #40]
	str	x8, [sp]
Lloh14:
	adrp	x0, l_.str.7@PAGE
Lloh15:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_printf
LBB0_2:
	ldr	w0, [x19, #16]
Lloh16:
	adrp	x8, _code@GOTPAGE
Lloh17:
	ldr	x8, [x8, _code@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	bl	_ATF_REQUIRE_EQ
	ldr	w0, [x19]
Lloh19:
	adrp	x8, _SIGCHLD@GOTPAGE
Lloh20:
	ldr	x8, [x8, _SIGCHLD@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	bl	_ATF_REQUIRE_EQ
	ldr	w20, [x19, #24]
	bl	_getuid
	mov	x1, x0
	mov	x0, x20
	bl	_ATF_REQUIRE_EQ
	ldr	w0, [x19, #32]
Lloh22:
	adrp	x8, _child@GOTPAGE
Lloh23:
	ldr	x8, [x8, _child@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	bl	_ATF_REQUIRE_EQ
	ldr	w0, [x19, #40]
	bl	_WIFEXITED
	mov	x8, x0
	ldr	w0, [x19, #40]
	cbz	x8, LBB0_4
; %bb.3:
	bl	_WEXITSTATUS
	b	LBB0_8
LBB0_4:
	bl	_WIFSTOPPED
	mov	x8, x0
	ldr	w0, [x19, #40]
	cbz	x8, LBB0_6
; %bb.5:
	bl	_WSTOPSIG
	b	LBB0_8
LBB0_6:
	bl	_WIFSIGNALED
	cbz	x0, LBB0_9
; %bb.7:
	ldr	w0, [x19, #40]
	bl	_WTERMSIG
LBB0_8:
Lloh25:
	adrp	x8, _status@GOTPAGE
Lloh26:
	ldr	x8, [x8, _status@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_ATF_REQUIRE_EQ
LBB0_9:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"info=%p\n"

l_.str.1:                               ; @.str.1
	.asciz	"ptr=%p\n"

l_.str.2:                               ; @.str.2
	.asciz	"si_signo=%d\n"

l_.str.3:                               ; @.str.3
	.asciz	"si_errno=%d\n"

l_.str.4:                               ; @.str.4
	.asciz	"si_code=%d\n"

l_.str.5:                               ; @.str.5
	.asciz	"si_uid=%d\n"

l_.str.6:                               ; @.str.6
	.asciz	"si_pid=%d\n"

l_.str.7:                               ; @.str.7
	.asciz	"si_status=%d\n"

	.comm	_code,4,2                       ; @code
	.comm	_SIGCHLD,4,2                    ; @SIGCHLD
	.comm	_child,4,2                      ; @child
	.comm	_status,4,2                     ; @status
	.no_dead_strip	_sigchild_action
.subsections_via_symbols
