	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___rec_fpipe                    ## -- Begin function __rec_fpipe
	.p2align	4, 0x90
___rec_fpipe:                           ## @__rec_fpipe
	.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	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r13
	movq	(%rdi), %rsi
	movq	32(%rdi), %rax
	cmpq	%rsi, 24(%rdi)
	jae	LBB0_4
## %bb.1:
	movq	%rax, %rdi
	callq	_reallocf
	movq	%rax, 32(%r13)
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	(%r13), %rsi
	movq	%rsi, 24(%r13)
LBB0_4:
	movq	%rax, -64(%rbp)
	movq	%rsi, -56(%rbp)
	movq	8(%r13), %r15
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
	cmpq	-48(%rbp), %r15                 ## 8-byte Folded Reload
	jge	LBB0_13
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	(%r13), %r12
	movq	32(%r13), %r14
	movl	20(%r13), %edi
	callq	_getc
	movl	%eax, %ebx
	movq	_EOF@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_7
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	testq	%r12, %r12
	jne	LBB0_10
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	$1, %r12
	je	LBB0_8
## %bb.17:                              ##   in Loop: Header=BB0_7 Depth=2
	movl	%ebx, (%r14)
	addq	$4, %r14
	movl	20(%r13), %edi
	callq	_getc
	movl	%eax, %ebx
	decq	%r12
	movq	_EOF@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_7
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	16(%r13), %esi
	movq	%r14, %rdi
	movq	%r12, %rdx
	callq	_memset
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	%ebx, (%r14)
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%r13, %rdi
	movq	%r15, %rsi
	leaq	-64(%rbp), %rdx
	xorl	%ecx, %ecx
	callq	___rec_iput
	movq	_RET_SUCCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.12:                              ##   in Loop: Header=BB0_5 Depth=1
	incq	%r15
	movq	_EOF@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_5
LBB0_13:
	cmpq	-48(%rbp), %r15                 ## 8-byte Folded Reload
	jge	LBB0_15
## %bb.14:
	movq	_R_EOF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_F_SET
	movq	_RET_SPECIAL@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_2:
	movq	_RET_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_15:
	movq	_RET_SUCCESS@GOTPCREL(%rip), %rax
LBB0_16:
	movl	(%rax), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RET_ERROR,4,2                  ## @RET_ERROR
	.comm	_EOF,4,2                        ## @EOF
	.comm	_RET_SUCCESS,8,3                ## @RET_SUCCESS
	.comm	_R_EOF,4,2                      ## @R_EOF
	.comm	_RET_SPECIAL,4,2                ## @RET_SPECIAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___rec_fpipe                    ; -- Begin function __rec_fpipe
	.p2align	2
___rec_fpipe:                           ; @__rec_fpipe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x20, x1
	mov	x19, x0
	ldr	x1, [x0]
	ldp	x8, x0, [x0, #24]
	cmp	x8, x1
	b.hs	LBB0_3
; %bb.1:
	bl	_reallocf
	str	x0, [x19, #32]
	cbz	x0, LBB0_15
; %bb.2:
	ldr	x1, [x19]
	str	x1, [x19, #24]
LBB0_3:
	stp	x0, x1, [sp]
	ldr	x21, [x19, #8]
	cmp	x21, x20
	csel	x26, x21, x20, gt
Lloh0:
	adrp	x27, _EOF@GOTPAGE
Lloh1:
	ldr	x27, [x27, _EOF@GOTPAGEOFF]
Lloh2:
	adrp	x25, _RET_SUCCESS@GOTPAGE
Lloh3:
	ldr	x25, [x25, _RET_SUCCESS@GOTPAGEOFF]
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	cmp	x21, x26
	b.eq	LBB0_16
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x23, [x19]
	ldr	x24, [x19, #32]
	ldr	w0, [x19, #20]
	bl	_getc
	mov	x22, x0
	ldr	w8, [x27]
	cmp	w0, w8
	b.ne	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	cbnz	x23, LBB0_9
	b	LBB0_11
LBB0_7:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	subs	x23, x23, #1
	b.eq	LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	str	w22, [x24], #4
	ldr	w0, [x19, #20]
	bl	_getc
	mov	x22, x0
	ldr	w8, [x27]
	cmp	w0, w8
	b.ne	LBB0_7
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w1, [x19, #16]
	mov	x0, x24
	mov	x2, x23
	bl	_memset
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	str	w22, [x24]
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x2, sp
	mov	x0, x19
	mov	x1, x21
	mov	w3, #0
	bl	___rec_iput
	ldr	x8, [x25]
	cmp	x0, x8
	b.ne	LBB0_15
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	add	x21, x21, #1
	ldr	w8, [x27]
	cmp	w22, w8
	b.ne	LBB0_4
; %bb.13:
	cmp	x21, x20
	b.ge	LBB0_16
; %bb.14:
Lloh4:
	adrp	x8, _R_EOF@GOTPAGE
Lloh5:
	ldr	x8, [x8, _R_EOF@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_F_SET
Lloh7:
	adrp	x8, _RET_SPECIAL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _RET_SPECIAL@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	b	LBB0_17
LBB0_15:
Lloh10:
	adrp	x8, _RET_ERROR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _RET_ERROR@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	b	LBB0_17
LBB0_16:
	ldr	w0, [x25]
LBB0_17:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_RET_ERROR,4,2                  ; @RET_ERROR
	.comm	_EOF,4,2                        ; @EOF
	.comm	_RET_SUCCESS,8,3                ; @RET_SUCCESS
	.comm	_R_EOF,4,2                      ; @R_EOF
	.comm	_RET_SPECIAL,4,2                ; @RET_SPECIAL
.subsections_via_symbols
