	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_crlf
_find_crlf:                             ## @find_crlf
	.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	%rsi, %r12
	movq	%rdi, %r15
	movq	(%rdi), %rbx
	movslq	(%rsi), %r13
	testq	%r13, %r13
	jle	LBB0_13
## %bb.1:
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movl	$13, %esi
	movl	%r13d, %edx
	callq	_memchr
	testq	%rax, %rax
	je	LBB0_2
## %bb.4:
	addq	%rbx, %r13
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	leaq	1(%rax), %r14
	cmpq	%r13, %r14
	jae	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpb	$10, (%r14)
	je	LBB0_7
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	subl	%r14d, %ebx
	addl	(%r12), %ebx
	movl	%ebx, (%r12)
	movq	%r14, %rdi
	movl	$13, %esi
	movl	%ebx, %edx
	callq	_memchr
	movq	%r14, %rbx
	testq	%rax, %rax
	jne	LBB0_5
	jmp	LBB0_3
LBB0_2:
	movq	%rbx, %r14
LBB0_3:
	movl	(%r12), %ebx
LBB0_12:
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movslq	%ebx, %r13
	movq	%r14, %rbx
LBB0_13:
	addq	%rbx, %r13
	movq	%r13, (%r15)
	movl	$0, (%r12)
	movq	_SERF_NEWLINE_NONE@GOTPCREL(%rip), %rax
LBB0_14:
	movl	(%rax), %eax
	movl	%eax, (%rdx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	je	LBB0_9
## %bb.11:
	subl	%r14d, %ebx
	addl	(%r12), %ebx
	jmp	LBB0_12
LBB0_7:
	addq	$2, %rax
	subl	%eax, %ebx
	addl	%ebx, (%r12)
	movq	%rax, (%r15)
	movq	_SERF_NEWLINE_CRLF@GOTPCREL(%rip), %rax
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	jmp	LBB0_14
LBB0_9:
	movl	$0, (%r12)
	movq	%r13, (%r15)
	movq	_SERF_NEWLINE_CRLF_SPLIT@GOTPCREL(%rip), %rax
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_SERF_NEWLINE_CRLF,4,2          ## @SERF_NEWLINE_CRLF
	.comm	_SERF_NEWLINE_CRLF_SPLIT,4,2    ## @SERF_NEWLINE_CRLF_SPLIT
	.comm	_SERF_NEWLINE_NONE,4,2          ## @SERF_NEWLINE_NONE
	.no_dead_strip	_find_crlf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_crlf
_find_crlf:                             ; @find_crlf
	.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, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x22, [x0]
	ldrsw	x24, [x1]
	cmp	w24, #1
	b.lt	LBB0_9
; %bb.1:
	mov	x0, x22
	mov	w1, #13
	mov	x2, x24
	bl	_memchr
	cbz	x0, LBB0_6
; %bb.2:
	add	x24, x22, x24
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	x23, x0, #1
	cmp	x23, x24
	b.hs	LBB0_11
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldrb	w8, [x23]
	cmp	w8, #10
	b.eq	LBB0_13
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x20]
	sub	w9, w22, w23
	add	w2, w8, w9
	str	w2, [x20]
	mov	x0, x23
	mov	w1, #13
	bl	_memchr
	mov	x22, x23
	cbnz	x0, LBB0_3
	b	LBB0_7
LBB0_6:
	mov	x23, x22
LBB0_7:
	ldr	w8, [x20]
LBB0_8:
	sxtw	x24, w8
	mov	x22, x23
LBB0_9:
	add	x8, x22, x24
	str	x8, [x21]
	str	wzr, [x20]
Lloh0:
	adrp	x8, _SERF_NEWLINE_NONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SERF_NEWLINE_NONE@GOTPAGEOFF]
LBB0_10:
	ldr	w8, [x8]
	str	w8, [x19]
	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
LBB0_11:
	b.eq	LBB0_14
; %bb.12:
	ldr	w8, [x20]
	sub	w9, w22, w23
	add	w8, w8, w9
	b	LBB0_8
LBB0_13:
	add	x8, x0, #2
	ldr	w9, [x20]
	sub	w10, w22, w8
	add	w9, w9, w10
	str	w9, [x20]
	str	x8, [x21]
Lloh2:
	adrp	x8, _SERF_NEWLINE_CRLF@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SERF_NEWLINE_CRLF@GOTPAGEOFF]
	b	LBB0_10
LBB0_14:
	str	wzr, [x20]
	str	x24, [x21]
Lloh4:
	adrp	x8, _SERF_NEWLINE_CRLF_SPLIT@GOTPAGE
Lloh5:
	ldr	x8, [x8, _SERF_NEWLINE_CRLF_SPLIT@GOTPAGEOFF]
	b	LBB0_10
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SERF_NEWLINE_CRLF,4,2          ; @SERF_NEWLINE_CRLF
	.comm	_SERF_NEWLINE_CRLF_SPLIT,4,2    ; @SERF_NEWLINE_CRLF_SPLIT
	.comm	_SERF_NEWLINE_NONE,4,2          ; @SERF_NEWLINE_NONE
	.no_dead_strip	_find_crlf
.subsections_via_symbols
