	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_eol_char
_find_eol_char:                         ## @find_eol_char
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	addq	%rdi, %rsi
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	leaq	128(%rdi), %r14
	movq	%rdi, %r15
	negq	%r15
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpq	%rax, %r14
	movq	%rax, %rbx
	cmovbq	%r14, %rbx
	cmpq	%rax, %r12
	jae	LBB0_2
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	addq	%r15, %rbx
	movq	%r12, %rdi
	movl	$13, %esi
	movq	%rbx, %rdx
	callq	_memchr
	movq	%rax, %r13
	movq	%r12, %rdi
	movl	$10, %esi
	movq	%rbx, %rdx
	callq	_memchr
	testq	%r13, %r13
	jne	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	subq	$-128, %r14
	addq	$-128, %r15
	subq	$-128, %r12
	testq	%rax, %rax
	je	LBB0_1
## %bb.6:
	movq	%rax, %rcx
	jmp	LBB0_7
LBB0_2:
	xorl	%ecx, %ecx
	jmp	LBB0_7
LBB0_4:
	cmpq	%r13, %rax
	movq	%r13, %rcx
	cmovbq	%rax, %rcx
	testq	%rax, %rax
	cmoveq	%r13, %rcx
LBB0_7:
	movq	%rcx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CHUNK_SZ,8,3                   ## @CHUNK_SZ
	.no_dead_strip	_find_eol_char
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_eol_char
_find_eol_char:                         ; @find_eol_char
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	add	x22, x0, x1
	add	x23, x0, #128
	neg	x24, x0
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x23, x22
	csel	x8, x23, x22, lo
	cmp	x19, x22
	b.hs	LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	add	x21, x8, x24
	mov	x0, x19
	mov	w1, #13
	mov	x2, x21
	bl	_memchr
	mov	x20, x0
	mov	x0, x19
	mov	w1, #10
	mov	x2, x21
	bl	_memchr
	cbnz	x20, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	add	x23, x23, #128
	sub	x24, x24, #128
	add	x19, x19, #128
	cbz	x0, LBB0_1
	b	LBB0_6
LBB0_4:
	mov	x0, #0
	b	LBB0_6
LBB0_5:
	cmp	x0, x20
	ccmp	x0, #0, #4, lo
	csel	x0, x0, x20, ne
LBB0_6:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.comm	_CHUNK_SZ,8,3                   ; @CHUNK_SZ
	.no_dead_strip	_find_eol_char
.subsections_via_symbols
