	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___rec_vpipe                    ## -- Begin function __rec_vpipe
	.p2align	4, 0x90
___rec_vpipe:                           ## @__rec_vpipe
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	8(%rdi), %rbx
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	cmpq	%rsi, %rbx
	jge	LBB0_17
## %bb.1:
	movq	%rdi, %r13
	movl	(%rdi), %r12d
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_11 Depth 2
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	16(%r13), %rbx
	movq	24(%r13), %r15
	movl	32(%r13), %edi
	callq	_getc
	movl	%eax, %r14d
	movq	_EOF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %r14d
	sete	%cl
	je	LBB0_5
	.p2align	4, 0x90
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	%r12d, %r14d
	je	LBB0_5
LBB0_11:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	testq	%rbx, %rbx
	jne	LBB0_15
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=2
	movq	%r13, %rbx
	movl	%r12d, %r13d
	movq	24(%rbx), %r12
	movq	16(%rbx), %rsi
	movl	$256, %eax                      ## imm = 0x100
	addq	%rax, %rsi
	movq	%rsi, 16(%rbx)
	movq	%r12, %rdi
	callq	_reallocf
	movq	%rax, 24(%rbx)
	testq	%rax, %rax
	je	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_11 Depth=2
	movq	%rbx, %rcx
	subq	%r12, %r15
	addq	%rax, %r15
	movl	$256, %ebx                      ## imm = 0x100
	movl	%r13d, %r12d
	movq	%rcx, %r13
LBB0_15:                                ##   in Loop: Header=BB0_11 Depth=2
	movl	%r14d, (%r15)
	addq	$4, %r15
	movl	32(%r13), %edi
	callq	_getc
	movl	%eax, %r14d
	movq	_EOF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %r14d
	sete	%cl
	je	LBB0_5
## %bb.16:                              ##   in Loop: Header=BB0_11 Depth=2
	decq	%rbx
	cmpl	%r12d, %r14d
	jne	LBB0_11
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	24(%r13), %rdx
	movq	%rdx, -64(%rbp)
	subq	%rdx, %r15
	shrq	$2, %r15
	movl	%r15d, -72(%rbp)
	testb	%cl, %cl
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	testl	%r15d, %r15d
	je	LBB0_9
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %rdi
	movq	%rbx, %rsi
	leaq	-72(%rbp), %rdx
	xorl	%ecx, %ecx
	callq	___rec_iput
	movq	_RET_SUCCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_13
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_EOF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpl	%eax, %r14d
	je	LBB0_10
## %bb.2:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	cmpq	-48(%rbp), %rbx                 ## 8-byte Folded Reload
	jne	LBB0_3
LBB0_17:
	movq	_RET_SUCCESS@GOTPCREL(%rip), %rax
	jmp	LBB0_18
LBB0_13:
	movq	_RET_ERROR@GOTPCREL(%rip), %rax
LBB0_18:
	movl	(%rax), %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	_R_EOF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_F_SET
	movq	_RET_SPECIAL@GOTPCREL(%rip), %rax
	jmp	LBB0_18
	.cfi_endproc
                                        ## -- End function
	.comm	_EOF,4,2                        ## @EOF
	.comm	_RET_SUCCESS,8,3                ## @RET_SUCCESS
	.comm	_RET_ERROR,4,2                  ## @RET_ERROR
	.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_vpipe                    ; -- Begin function __rec_vpipe
	.p2align	2
___rec_vpipe:                           ; @__rec_vpipe
	.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
	ldr	x21, [x0, #8]
	cmp	x21, x1
	b.ge	LBB0_13
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	ldr	w24, [x0]
Lloh0:
	adrp	x25, _EOF@GOTPAGE
Lloh1:
	ldr	x25, [x25, _EOF@GOTPAGEOFF]
Lloh2:
	adrp	x26, _RET_SUCCESS@GOTPAGE
Lloh3:
	ldr	x26, [x26, _RET_SUCCESS@GOTPAGEOFF]
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
	ldp	x23, x27, [x19, #16]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=2
	str	w22, [x27], #4
	sub	x23, x23, #1
LBB0_4:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w0, [x19, #32]
	bl	_getc
	mov	x22, x0
	ldr	w8, [x25]
	cmp	w0, w8
	cset	w9, eq
	ccmp	w0, w24, #4, ne
	b.eq	LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=2
	cbnz	x23, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=2
	ldp	x8, x23, [x19, #16]
	add	x1, x8, #256
	str	x1, [x19, #16]
	mov	x0, x23
	bl	_reallocf
	str	x0, [x19, #24]
	cbz	x0, LBB0_14
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=2
	sub	x8, x27, x23
	add	x27, x0, x8
	mov	w23, #256
	b	LBB0_3
LBB0_8:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x10, [x19, #24]
	str	x10, [sp, #8]
	sub	x10, x27, x10
	lsr	x10, x10, #2
	str	w10, [sp]
	cmp	w9, #0
	ccmp	w10, #0, #0, ne
	b.eq	LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x2, sp
	mov	x0, x19
	mov	x1, x21
	mov	w3, #0
	bl	___rec_iput
	ldr	x8, [x26]
	cmp	x0, x8
	b.ne	LBB0_14
; %bb.10:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x25]
LBB0_11:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w22, w8
	b.eq	LBB0_16
; %bb.12:                               ;   in Loop: Header=BB0_2 Depth=1
	add	x21, x21, #1
	cmp	x21, x20
	b.ne	LBB0_2
LBB0_13:
Lloh4:
	adrp	x8, _RET_SUCCESS@GOTPAGE
Lloh5:
	ldr	x8, [x8, _RET_SUCCESS@GOTPAGEOFF]
	b	LBB0_15
LBB0_14:
Lloh6:
	adrp	x8, _RET_ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RET_ERROR@GOTPAGEOFF]
LBB0_15:
	ldr	w0, [x8]
	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
LBB0_16:
Lloh8:
	adrp	x8, _R_EOF@GOTPAGE
Lloh9:
	ldr	x8, [x8, _R_EOF@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_F_SET
Lloh11:
	adrp	x8, _RET_SPECIAL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _RET_SPECIAL@GOTPAGEOFF]
	b	LBB0_15
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_EOF,4,2                        ; @EOF
	.comm	_RET_SUCCESS,8,3                ; @RET_SUCCESS
	.comm	_RET_ERROR,4,2                  ; @RET_ERROR
	.comm	_R_EOF,4,2                      ; @R_EOF
	.comm	_RET_SPECIAL,4,2                ; @RET_SPECIAL
.subsections_via_symbols
