	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function testcase_run_forked_
_testcase_run_forked_:                  ## @testcase_run_forked_
	.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
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	leaq	-32(%rbp), %rdi
	callq	_pipe
	testq	%rax, %rax
	jne	LBB0_1
LBB0_2:
	movq	_opt_verbosity@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jle	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rdi
	callq	_printf
LBB0_4:
	xorl	%eax, %eax
	callq	_fork
	testl	%eax, %eax
	je	LBB0_5
## %bb.9:
	movl	%eax, %ebx
	movl	-28(%rbp), %edi
	callq	_close
	movl	-32(%rbp), %edi
	leaq	-33(%rbp), %rsi
	movl	$1, %edx
	callq	_read
	cmpl	$1, %eax
	je	LBB0_13
## %bb.10:
	testl	%eax, %eax
	jne	LBB0_12
## %bb.11:
	leaq	L_.str.4(%rip), %rdi
	callq	_printf
	xorl	%eax, %eax
	jmp	LBB0_19
LBB0_1:
	leaq	L_.str(%rip), %rdi
	callq	_perror
	jmp	LBB0_2
LBB0_5:
	movl	-32(%rbp), %edi
	callq	_close
	movq	%r14, %rdi
	callq	_testcase_run_bare_
	movl	%eax, %ebx
	xorl	%edi, %edi
	cmpl	$3, %eax
	setb	%dil
	callq	_assert
	movslq	%ebx, %rax
	leaq	L_.str.2(%rip), %rcx
	movb	(%rax,%rcx), %al
	movb	%al, -40(%rbp)
	movl	-28(%rbp), %edi
	leaq	-40(%rbp), %rsi
	movl	$1, %edx
	callq	_write
	cmpl	$1, %eax
	je	LBB0_8
## %bb.6:
	callq	_testcase_run_forked_.cold.1
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-24(%rbp), %rax
	jne	LBB0_21
## %bb.7:
	xorl	%eax, %eax
	jmp	LBB0_20
LBB0_12:
	leaq	L_.str.5(%rip), %rdi
	callq	_perror
LBB0_13:
	leaq	-40(%rbp), %rsi
	movl	%ebx, %edi
	xorl	%edx, %edx
	callq	_waitpid
	movl	-32(%rbp), %edi
	callq	_close
	movb	-33(%rbp), %al
	cmpb	$89, %al
	jne	LBB0_15
## %bb.14:
	movq	_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_18
LBB0_15:
	cmpb	$83, %al
	jne	LBB0_16
## %bb.17:
	movq	_SKIP@GOTPCREL(%rip), %rax
	jmp	LBB0_18
LBB0_16:
	movq	_FAIL@GOTPCREL(%rip), %rax
LBB0_18:
	movl	(%rax), %eax
LBB0_19:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-24(%rbp), %rcx
	jne	LBB0_21
LBB0_20:
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_8:
	xorl	%edi, %edi
	callq	_exit
LBB0_21:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function testcase_run_forked_.cold.1
_testcase_run_forked_.cold.1:           ## @testcase_run_forked_.cold.1
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	leaq	L_.str.3(%rip), %rdi
	callq	_perror
	pushq	$1
	popq	%rdi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"opening pipe"

	.comm	_opt_verbosity,8,3              ## @opt_verbosity
L_.str.1:                               ## @.str.1
	.asciz	"[forking] "

L_.str.2:                               ## @.str.2
	.asciz	"NYS"

L_.str.3:                               ## @.str.3
	.asciz	"write outcome to pipe"

L_.str.4:                               ## @.str.4
	.asciz	"[Lost connection!] "

L_.str.5:                               ## @.str.5
	.asciz	"read outcome from pipe"

	.comm	_OK,4,2                         ## @OK
	.comm	_SKIP,4,2                       ## @SKIP
	.comm	_FAIL,4,2                       ## @FAIL
	.comm	_INFINITE,4,2                   ## @INFINITE
	.comm	_LONGEST_TEST_NAME,4,2          ## @LONGEST_TEST_NAME
	.comm	_MAGIC_EXITCODE,8,3             ## @MAGIC_EXITCODE
	.comm	_commandname,8,3                ## @commandname
	.comm	_in_tinytest_main,4,2           ## @in_tinytest_main
	.comm	_verbosity_flag,8,3             ## @verbosity_flag
	.no_dead_strip	_testcase_run_forked_
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function testcase_run_forked_
_testcase_run_forked_:                  ; @testcase_run_forked_
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	add	x0, sp, #16
	bl	_pipe
	cbnz	x0, LBB0_7
LBB0_1:
Lloh3:
	adrp	x8, _opt_verbosity@GOTPAGE
Lloh4:
	ldr	x8, [x8, _opt_verbosity@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x8, #1
	b.lt	LBB0_3
; %bb.2:
Lloh6:
	adrp	x0, l_.str.1@PAGE
Lloh7:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_printf
LBB0_3:
	bl	_fork
	cbz	w0, LBB0_15
; %bb.4:
	mov	x20, x0
	ldr	w0, [sp, #20]
	bl	_close
	ldr	w0, [sp, #16]
	add	x1, sp, #11
	mov	w2, #1
	bl	_read
	cmp	w0, #1
	b.eq	LBB0_9
; %bb.5:
	cbnz	w0, LBB0_8
; %bb.6:
Lloh8:
	adrp	x0, l_.str.4@PAGE
Lloh9:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_printf
	mov	w0, #0
	b	LBB0_13
LBB0_7:
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	bl	_perror
	b	LBB0_1
LBB0_8:
Lloh12:
	adrp	x0, l_.str.5@PAGE
Lloh13:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_perror
LBB0_9:
	add	x1, sp, #12
	mov	x0, x20
	mov	w2, #0
	bl	_waitpid
	ldr	w0, [sp, #16]
	bl	_close
	ldrb	w8, [sp, #11]
	cmp	w8, #89
	b.ne	LBB0_11
; %bb.10:
Lloh14:
	adrp	x8, _OK@GOTPAGE
Lloh15:
	ldr	x8, [x8, _OK@GOTPAGEOFF]
	b	LBB0_12
LBB0_11:
Lloh16:
	adrp	x9, _SKIP@GOTPAGE
Lloh17:
	ldr	x9, [x9, _SKIP@GOTPAGEOFF]
Lloh18:
	adrp	x10, _FAIL@GOTPAGE
Lloh19:
	ldr	x10, [x10, _FAIL@GOTPAGEOFF]
	cmp	w8, #83
	csel	x8, x9, x10, eq
LBB0_12:
	ldr	w0, [x8]
LBB0_13:
	ldr	x8, [sp, #24]
Lloh20:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh21:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_17
; %bb.14:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_15:
	ldr	w0, [sp, #16]
	bl	_close
	mov	x0, x19
	bl	_testcase_run_bare_
	mov	x19, x0
	cmp	w0, #3
	cset	w0, lo
	bl	_assert
Lloh23:
	adrp	x8, l_.str.2@PAGE
Lloh24:
	add	x8, x8, l_.str.2@PAGEOFF
	ldrb	w8, [x8, w19, sxtw]
	strb	w8, [sp, #12]
	ldr	w0, [sp, #20]
	add	x1, sp, #12
	mov	w2, #1
	bl	_write
	cmp	w0, #1
	b.ne	LBB0_18
; %bb.16:
	mov	w0, #0
	bl	_exit
LBB0_17:
	bl	___stack_chk_fail
LBB0_18:
	bl	_testcase_run_forked_.cold.1
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function testcase_run_forked_.cold.1
_testcase_run_forked_.cold.1:           ; @testcase_run_forked_.cold.1
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh25:
	adrp	x0, l_.str.3@PAGE
Lloh26:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_perror
	mov	w0, #1
	bl	_exit
	.loh AdrpAdd	Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"opening pipe"

	.comm	_opt_verbosity,8,3              ; @opt_verbosity
l_.str.1:                               ; @.str.1
	.asciz	"[forking] "

l_.str.2:                               ; @.str.2
	.asciz	"NYS"

l_.str.3:                               ; @.str.3
	.asciz	"write outcome to pipe"

l_.str.4:                               ; @.str.4
	.asciz	"[Lost connection!] "

l_.str.5:                               ; @.str.5
	.asciz	"read outcome from pipe"

	.comm	_OK,4,2                         ; @OK
	.comm	_SKIP,4,2                       ; @SKIP
	.comm	_FAIL,4,2                       ; @FAIL
	.comm	_INFINITE,4,2                   ; @INFINITE
	.comm	_LONGEST_TEST_NAME,4,2          ; @LONGEST_TEST_NAME
	.comm	_MAGIC_EXITCODE,8,3             ; @MAGIC_EXITCODE
	.comm	_commandname,8,3                ; @commandname
	.comm	_in_tinytest_main,4,2           ; @in_tinytest_main
	.comm	_verbosity_flag,8,3             ; @verbosity_flag
	.no_dead_strip	_testcase_run_forked_
.subsections_via_symbols
