	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_check_pipe                     ## -- Begin function check_pipe
	.p2align	4, 0x90
_check_pipe:                            ## @check_pipe
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_EPIPE@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	je	LBB0_1
## %bb.4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	callq	_in_async
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movl	$141, %edi
	callq	_async_exit
LBB0_3:
	movq	_SIGPIPE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	_SIG_DFL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_signal
	movl	(%rbx), %edi
	callq	_raise
	movl	$141, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_EPIPE,4,2                      ## @EPIPE
	.comm	_SIGPIPE,4,2                    ## @SIGPIPE
	.comm	_SIG_DFL,4,2                    ## @SIG_DFL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_check_pipe                     ; -- Begin function check_pipe
	.p2align	2
_check_pipe:                            ; @check_pipe
	.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
Lloh0:
	adrp	x8, _EPIPE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EPIPE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w0
	b.eq	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	bl	_in_async
	cbz	x0, LBB0_4
; %bb.3:
	mov	w0, #141
	bl	_async_exit
LBB0_4:
Lloh3:
	adrp	x19, _SIGPIPE@GOTPAGE
Lloh4:
	ldr	x19, [x19, _SIGPIPE@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh5:
	adrp	x8, _SIG_DFL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SIG_DFL@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	bl	_signal
	ldr	w0, [x19]
	bl	_raise
	mov	w0, #141
	bl	_exit
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_EPIPE,4,2                      ; @EPIPE
	.comm	_SIGPIPE,4,2                    ; @SIGPIPE
	.comm	_SIG_DFL,4,2                    ; @SIG_DFL
.subsections_via_symbols
