	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_pipe_simulator
_test_pipe_simulator:                   ## @test_pipe_simulator
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	%edi, -72(%rbp)
	movl	%esi, -68(%rbp)
	callq	_MIN
                                        ## kill: def $eax killed $eax def $rax
	movq	%rsp, -80(%rbp)                 ## 8-byte Spill
	leal	3(%rax), %r15d
	testl	%eax, %eax
	cmovnsl	%eax, %r15d
	sarl	$2, %r15d
	movq	%r15, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -96(%rbp)                 ## 8-byte Spill
	movq	%r15, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movq	%r15, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -88(%rbp)                 ## 8-byte Spill
	leaq	-56(%rbp), %rdi
	callq	_do_socketpair_nonblocking
	movl	-56(%rbp), %edi
	movq	_SOL_SOCKET@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_SO_SNDBUF@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-72(%rbp), %rcx
	movl	$4, %r8d
	callq	_setsockopt
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_ATF_REQUIRE_EQ
	movl	-52(%rbp), %edi
	movl	(%r14), %esi
	movq	_SO_RCVBUF@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-68(%rbp), %rcx
	movl	$4, %r8d
	callq	_setsockopt
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_ATF_REQUIRE_EQ
	movl	-72(%rbp), %edi
	movl	-68(%rbp), %esi
	callq	_MAX
	shll	$3, %eax
	cltd
	idivl	%r15d
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	testl	%eax, %eax
	jle	LBB0_18
## %bb.1:
	movl	$1, %edx
	movb	$1, %r13b
	xorl	%r12d, %r12d
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	testl	%edx, %edx
	je	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	testb	$1, %r13b
	je	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %r13
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	%r15d, %edx
	callq	_memset
	movl	-56(%rbp), %edi
	movq	_MSG_EOR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rsi
	movl	%r15d, %edx
	callq	_send
	testl	%eax, %eax
	js	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%r15d, %edi
	movl	%eax, %esi
	leaq	L_.str.2(%rip), %rdx
	movl	%r15d, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_ATF_CHECK_EQ_MSG
	incl	%r12d
	movl	$1, %edx
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%edx, -60(%rbp)                 ## 4-byte Spill
	movl	-52(%rbp), %edi
	movq	_MSG_WAITALL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rsi
	movl	%r15d, %edx
	callq	_recv
	testl	%eax, %eax
	js	LBB0_13
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%r15d, %edi
	movl	%eax, %esi
	leaq	L_.str.6(%rip), %rdx
	movl	%r15d, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_ATF_CHECK_EQ_MSG
	movq	%rbx, %r13
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%r15d, %edx
	callq	_memset
	movq	%rbx, %rdi
	movq	%r13, %rbx
	movq	%r13, %rsi
	movl	%r15d, %edx
	callq	_memcmp
	xorl	%edi, %edi
	movl	%eax, %esi
	leaq	L_.str.7(%rip), %rdx
	xorl	%eax, %eax
	callq	_ATF_CHECK_EQ_MSG
	incl	%r14d
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	jmp	LBB0_16
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	xorl	%edx, %edx
	movq	_EAGAIN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_6
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_EMSGSIZE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	%r13, %rbx
	je	LBB0_16
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	callq	_test_pipe_simulator.cold.2
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rbx
	jmp	LBB0_16
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_EAGAIN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_20
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	movzbl	%r13b, %edi
	andl	$1, %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_ATF_REQUIRE_MSG
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %edx
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	-64(%rbp), %r12d                ## 4-byte Folded Reload
	setl	%r13b
	jl	LBB0_2
## %bb.17:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpl	-64(%rbp), %r14d                ## 4-byte Folded Reload
	jl	LBB0_2
	jmp	LBB0_18
LBB0_20:                                ##   in Loop: Header=BB0_2 Depth=1
	callq	_test_pipe_simulator.cold.1
	jmp	LBB0_9
LBB0_18:
	movl	-56(%rbp), %edi
	callq	_close
	movl	-52(%rbp), %edi
	callq	_close
	movq	-80(%rbp), %rsp                 ## 8-byte Reload
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_19
## %bb.21:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function test_pipe_simulator.cold.1
_test_pipe_simulator.cold.1:            ## @test_pipe_simulator.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.4(%rip), %rdi
	callq	_perror
	leaq	L_.str.5(%rip), %rdi
	callq	_atf_tc_fail
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function test_pipe_simulator.cold.2
_test_pipe_simulator.cold.2:            ## @test_pipe_simulator.cold.2
	.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(%rip), %rdi
	callq	_perror
	leaq	L_.str.1(%rip), %rdi
	callq	_atf_tc_fail
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SOL_SOCKET,4,2                 ## @SOL_SOCKET
	.comm	_SO_SNDBUF,4,2                  ## @SO_SNDBUF
	.comm	_SO_RCVBUF,4,2                  ## @SO_RCVBUF
	.comm	_MSG_EOR,4,2                    ## @MSG_EOR
	.comm	_errno,8,3                      ## @errno
	.comm	_EAGAIN,8,3                     ## @EAGAIN
	.comm	_EMSGSIZE,8,3                   ## @EMSGSIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"send"

L_.str.1:                               ## @.str.1
	.asciz	"send failed"

L_.str.2:                               ## @.str.2
	.asciz	"expected %zd=send(...) but got %zd"

	.comm	_MSG_WAITALL,4,2                ## @MSG_WAITALL
L_.str.3:                               ## @.str.3
	.asciz	"Packets were lost!"

L_.str.4:                               ## @.str.4
	.asciz	"recv"

L_.str.5:                               ## @.str.5
	.asciz	"recv failed"

L_.str.6:                               ## @.str.6
	.asciz	"expected %zd=recv(...) but got %zd"

L_.str.7:                               ## @.str.7
	.asciz	"Received data miscompare"

	.no_dead_strip	_test_pipe_simulator
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_pipe_simulator
_test_pipe_simulator:                   ; @test_pipe_simulator
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #48
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	stp	w1, w0, [x29, #-104]
	bl	_MIN
	mov	x8, sp
	stur	x8, [x29, #-120]                ; 8-byte Folded Spill
	add	w8, w0, #3
	cmp	w0, #0
	csel	w8, w8, w0, lt
	asr	w19, w8, #2
	mov	x9, x19
Lloh3:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh4:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x19, #15
	and	x12, x9, #0x1fffffff0
	sub	x20, x8, x12
	mov	sp, x20
	mov	x9, x19
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x21, x8, x12
	mov	sp, x21
	mov	x9, x19
Lloh7:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh8:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x22, x8, x12
	mov	sp, x22
	sub	x0, x29, #96
	bl	_do_socketpair_nonblocking
	ldur	w0, [x29, #-96]
Lloh9:
	adrp	x23, _SOL_SOCKET@GOTPAGE
Lloh10:
	ldr	x23, [x23, _SOL_SOCKET@GOTPAGEOFF]
	ldr	w1, [x23]
Lloh11:
	adrp	x8, _SO_SNDBUF@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SO_SNDBUF@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	sub	x3, x29, #100
	mov	w4, #4
	bl	_setsockopt
	mov	x1, x0
	mov	w0, #0
	bl	_ATF_REQUIRE_EQ
	ldur	w0, [x29, #-92]
	ldr	w1, [x23]
Lloh14:
	adrp	x8, _SO_RCVBUF@GOTPAGE
Lloh15:
	ldr	x8, [x8, _SO_RCVBUF@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	sub	x3, x29, #104
	mov	w4, #4
	bl	_setsockopt
	mov	x1, x0
	mov	w0, #0
	bl	_ATF_REQUIRE_EQ
	ldp	w1, w0, [x29, #-104]
	bl	_MAX
	lsl	w8, w0, #3
	sdiv	w25, w8, w19
	cmp	w25, #1
	b.lt	LBB0_17
; %bb.1:
	mov	w23, #0
	mov	w24, #0
	mov	w27, #1
	mov	x8, x19
	stur	x8, [x29, #-112]                ; 8-byte Folded Spill
	mov	x26, x19
	mov	w28, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	cbz	w28, LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	tbz	w27, #0, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x20
	mov	x1, x23
	mov	x2, x19
	bl	_memset
	ldur	w0, [x29, #-96]
Lloh17:
	adrp	x8, _MSG_EOR@GOTPAGE
Lloh18:
	ldr	x8, [x8, _MSG_EOR@GOTPAGEOFF]
Lloh19:
	ldr	w3, [x8]
	mov	x1, x20
	mov	x2, x19
	bl	_send
	tbnz	w0, #31, LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x1, x0
	stp	x26, x1, [sp, #-16]!
	mov	x0, x19
                                        ; kill: def $w1 killed $w1 killed $x1
Lloh20:
	adrp	x2, l_.str.2@PAGE
Lloh21:
	add	x2, x2, l_.str.2@PAGEOFF
	bl	_ATF_CHECK_EQ_MSG
	add	sp, sp, #16
	add	w23, w23, #1
	b	LBB0_12
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldur	w0, [x29, #-92]
Lloh22:
	adrp	x8, _MSG_WAITALL@GOTPAGE
Lloh23:
	ldr	x8, [x8, _MSG_WAITALL@GOTPAGEOFF]
Lloh24:
	ldr	w3, [x8]
	mov	x1, x21
	mov	x2, x19
	bl	_recv
	tbnz	w0, #31, LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x1, x0
	sub	sp, sp, #16
	str	x1, [sp, #8]
	ldur	x8, [x29, #-112]                ; 8-byte Folded Reload
	str	x8, [sp]
	mov	x0, x19
                                        ; kill: def $w1 killed $w1 killed $x1
Lloh25:
	adrp	x2, l_.str.6@PAGE
Lloh26:
	add	x2, x2, l_.str.6@PAGEOFF
	bl	_ATF_CHECK_EQ_MSG
	add	sp, sp, #16
	mov	x0, x22
	mov	x1, x24
	mov	x2, x19
	bl	_memset
	mov	x0, x22
	mov	x1, x21
	mov	x2, x19
	bl	_memcmp
	mov	x1, x0
	mov	w0, #0
Lloh27:
	adrp	x2, l_.str.7@PAGE
Lloh28:
	add	x2, x2, l_.str.7@PAGEOFF
	bl	_ATF_CHECK_EQ_MSG
	add	w24, w24, #1
	b	LBB0_13
LBB0_8:                                 ;   in Loop: Header=BB0_2 Depth=1
Lloh29:
	adrp	x8, _errno@GOTPAGE
Lloh30:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh31:
	ldr	x8, [x8]
Lloh32:
	adrp	x9, _EAGAIN@GOTPAGE
Lloh33:
	ldr	x9, [x9, _EAGAIN@GOTPAGEOFF]
Lloh34:
	ldr	x9, [x9]
Lloh35:
	adrp	x10, _EMSGSIZE@GOTPAGE
Lloh36:
	ldr	x10, [x10, _EMSGSIZE@GOTPAGEOFF]
Lloh37:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_15
; %bb.9:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w28, #0
	b	LBB0_13
LBB0_10:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh38:
	adrp	x8, _errno@GOTPAGE
Lloh39:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh40:
	ldr	x8, [x8]
Lloh41:
	adrp	x9, _EAGAIN@GOTPAGE
Lloh42:
	ldr	x9, [x9, _EAGAIN@GOTPAGEOFF]
Lloh43:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_16
; %bb.11:                               ;   in Loop: Header=BB0_2 Depth=1
	and	w0, w27, #0x1
Lloh44:
	adrp	x1, l_.str.3@PAGE
Lloh45:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_ATF_REQUIRE_MSG
LBB0_12:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w28, #1
LBB0_13:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w23, w25
	cset	w27, lt
	b.lt	LBB0_2
; %bb.14:                               ;   in Loop: Header=BB0_2 Depth=1
	cmp	w24, w25
	b.lt	LBB0_2
	b	LBB0_17
LBB0_15:                                ;   in Loop: Header=BB0_2 Depth=1
	bl	_test_pipe_simulator.cold.2
	b	LBB0_12
LBB0_16:                                ;   in Loop: Header=BB0_2 Depth=1
	bl	_test_pipe_simulator.cold.1
	b	LBB0_13
LBB0_17:
	ldur	w0, [x29, #-96]
	bl	_close
	ldur	w0, [x29, #-92]
	bl	_close
	ldur	x8, [x29, #-120]                ; 8-byte Folded Reload
	mov	sp, x8
	ldur	x8, [x29, #-88]
Lloh46:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh47:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh48:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_19
; %bb.18:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_19:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function test_pipe_simulator.cold.1
_test_pipe_simulator.cold.1:            ; @test_pipe_simulator.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
Lloh49:
	adrp	x0, l_.str.4@PAGE
Lloh50:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_perror
Lloh51:
	adrp	x0, l_.str.5@PAGE
Lloh52:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_atf_tc_fail
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpAdd	Lloh49, Lloh50
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function test_pipe_simulator.cold.2
_test_pipe_simulator.cold.2:            ; @test_pipe_simulator.cold.2
	.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
Lloh53:
	adrp	x0, l_.str@PAGE
Lloh54:
	add	x0, x0, l_.str@PAGEOFF
	bl	_perror
Lloh55:
	adrp	x0, l_.str.1@PAGE
Lloh56:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_atf_tc_fail
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpAdd	Lloh53, Lloh54
	.cfi_endproc
                                        ; -- End function
	.comm	_SOL_SOCKET,4,2                 ; @SOL_SOCKET
	.comm	_SO_SNDBUF,4,2                  ; @SO_SNDBUF
	.comm	_SO_RCVBUF,4,2                  ; @SO_RCVBUF
	.comm	_MSG_EOR,4,2                    ; @MSG_EOR
	.comm	_errno,8,3                      ; @errno
	.comm	_EAGAIN,8,3                     ; @EAGAIN
	.comm	_EMSGSIZE,8,3                   ; @EMSGSIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"send"

l_.str.1:                               ; @.str.1
	.asciz	"send failed"

l_.str.2:                               ; @.str.2
	.asciz	"expected %zd=send(...) but got %zd"

	.comm	_MSG_WAITALL,4,2                ; @MSG_WAITALL
l_.str.3:                               ; @.str.3
	.asciz	"Packets were lost!"

l_.str.4:                               ; @.str.4
	.asciz	"recv"

l_.str.5:                               ; @.str.5
	.asciz	"recv failed"

l_.str.6:                               ; @.str.6
	.asciz	"expected %zd=recv(...) but got %zd"

l_.str.7:                               ; @.str.7
	.asciz	"Received data miscompare"

	.no_dead_strip	_test_pipe_simulator
.subsections_via_symbols
