	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_foldline                       ## -- Begin function foldline
	.p2align	4, 0x90
_foldline:                              ## @foldline
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_EOF@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rdi
	leaq	1(%rdi), %rax
	cmpq	8(%rbx), %rax
	jb	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rdi
	callq	_fillbuf
	cmpq	(%r14), %rax
	jne	LBB0_1
## %bb.3:
	movq	(%rbx), %rdi
LBB0_4:
	xorl	%eax, %eax
	cmpb	$10, 1(%rdi)
	jne	LBB0_6
## %bb.5:
	leaq	2(%rdi), %rsi
	movl	8(%rbx), %edx
	subl	%edi, %edx
	addl	$3, %edx
	callq	_memmove
	addq	$-2, 8(%rbx)
	movl	$1, %eax
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EOF,8,3                        ## @EOF
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_foldline                       ; -- Begin function foldline
	.p2align	2
_foldline:                              ; @foldline
	.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
	mov	x19, x0
Lloh0:
	adrp	x20, _EOF@GOTPAGE
Lloh1:
	ldr	x20, [x20, _EOF@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x0, x8, [x19]
	add	x9, x0, #1
	cmp	x9, x8
	b.lo	LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x19
	bl	_fillbuf
	ldr	x8, [x20]
	cmp	x0, x8
	b.ne	LBB0_1
; %bb.3:
	ldr	x0, [x19]
LBB0_4:
	ldrb	w8, [x0, #1]
	cmp	w8, #10
	b.ne	LBB0_6
; %bb.5:
	add	x1, x0, #2
	ldr	w8, [x19, #8]
	sub	w8, w8, w0
	add	w2, w8, #3
	bl	_memmove
	ldr	x8, [x19, #8]
	sub	x8, x8, #2
	str	x8, [x19, #8]
	mov	w0, #1
	b	LBB0_7
LBB0_6:
	mov	w0, #0
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_EOF,8,3                        ; @EOF
.subsections_via_symbols
