	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ends_with_optional_cr
_ends_with_optional_cr:                 ## @ends_with_optional_cr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%r8d, %r8d
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	cmpb	$10, -1(%rsi,%rdi)
	sete	%r8b
	subq	%r8, %rsi
	jmp	LBB0_3
LBB0_1:
	xorl	%esi, %esi
LBB0_3:
	movl	$1, %eax
	cmpq	%rdx, %rsi
	je	LBB0_7
## %bb.4:
	leaq	1(%rdx), %rcx
	cmpq	%rcx, %rsi
	sete	%cl
	andb	%cl, %r8b
	cmpb	$1, %r8b
	jne	LBB0_6
## %bb.5:
	cmpb	$13, (%rdi,%rdx)
	je	LBB0_7
LBB0_6:
	xorl	%eax, %eax
LBB0_7:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ends_with_optional_cr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ends_with_optional_cr
_ends_with_optional_cr:                 ; @ends_with_optional_cr
	.cfi_startproc
; %bb.0:
	cbz	x1, LBB0_3
; %bb.1:
	add	x8, x1, x0
	ldurb	w8, [x8, #-1]
	cmp	w8, #10
	cset	w8, eq
	sub	x9, x1, x8
	cmp	x9, x2
	b.ne	LBB0_4
LBB0_2:
	mov	w0, #1
	ret
LBB0_3:
	mov	w8, #0
	mov	x9, #0
	cmp	x9, x2
	b.eq	LBB0_2
LBB0_4:
	add	x10, x2, #1
	cmp	x9, x10
	cset	w9, eq
	and	w8, w8, w9
	cmp	w8, #1
	b.ne	LBB0_7
; %bb.5:
	ldrb	w8, [x0, x2]
	cmp	w8, #13
	b.ne	LBB0_7
; %bb.6:
	mov	w0, #1
	ret
LBB0_7:
	mov	w0, #0
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ends_with_optional_cr
.subsections_via_symbols
