	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_serf_util_readline             ## -- Begin function serf_util_readline
	.p2align	4, 0x90
_serf_util_readline:                    ## @serf_util_readline
	.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	%rcx, %r12
	movq	%rsi, %rbx
	movq	%rdi, %r14
	cmpl	$131, %edx
	jne	LBB0_1
## %bb.21:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_find_crlf                      ## TAILCALL
LBB0_1:
	movl	%edx, %r13d
	movq	(%r14), %r15
	testb	$-121, %r13b
	je	LBB0_7
## %bb.2:
	movl	(%rbx), %edx
	movq	%r15, %rdi
	movl	$13, %esi
	callq	_memchr
	movq	%rax, %rdx
	testb	$-127, %r13b
	je	LBB0_18
## %bb.3:
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %edx
	movq	%r15, %rdi
	movl	$10, %esi
	callq	_memchr
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	testq	%rdx, %rdx
	je	LBB0_9
## %bb.4:
	testq	%rax, %rax
	je	LBB0_13
## %bb.5:
	leaq	1(%rdx), %rcx
	cmpq	%rax, %rcx
	je	LBB0_6
## %bb.10:
	testb	$-124, %r13b
	je	LBB0_12
## %bb.11:
	movl	$132, %ecx
	cmpq	%rax, %rdx
	jb	LBB0_17
	jmp	LBB0_12
LBB0_7:
	testb	$-127, %r13b
	je	LBB0_19
## %bb.8:
	movl	(%rbx), %edx
	movq	%r15, %rdi
	movl	$10, %esi
	callq	_memchr
LBB0_9:
	testq	%rax, %rax
	je	LBB0_19
LBB0_12:
	movl	$129, (%r12)
	incq	%rax
	jmp	LBB0_20
LBB0_18:
	testq	%rdx, %rdx
	je	LBB0_19
LBB0_13:
	movslq	(%rbx), %rax
	addq	%r15, %rax
	decq	%rax
	cmpq	%rax, %rdx
	je	LBB0_14
## %bb.16:
	movl	$132, %ecx
	testb	$-124, %r13b
	jne	LBB0_17
LBB0_19:
	movl	$128, (%r12)
	movslq	(%rbx), %rax
	addq	(%r14), %rax
	jmp	LBB0_20
LBB0_14:
	movl	$130, %eax
	jmp	LBB0_15
LBB0_6:
	movl	$131, %eax
LBB0_15:
	testb	$-125, %r13b
	movl	$132, %ecx
	cmovnel	%eax, %ecx
LBB0_17:
	movl	%ecx, (%r12)
	xorl	%eax, %eax
	cmpl	$131, %ecx
	sete	%al
	addq	%rdx, %rax
	incq	%rax
LBB0_20:
	movq	%rax, (%r14)
	subl	%eax, %r15d
	addl	%r15d, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_serf_util_readline             ; -- Begin function serf_util_readline
	.p2align	2
_serf_util_readline:                    ; @serf_util_readline
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x22, x3
	mov	x19, x1
	mov	x20, x0
	cmp	w2, #131
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_find_crlf
LBB0_2:
	mov	x24, x2
	ldr	x21, [x20]
	mov	w8, #129
	and	w26, w2, w8
	mov	w8, #135
	tst	w2, w8
	b.eq	LBB0_9
; %bb.3:
	mov	w8, #132
	and	w25, w24, w8
	ldr	w2, [x19]
	mov	x0, x21
	mov	w1, #13
	bl	_memchr
	mov	x23, x0
	cbz	w26, LBB0_13
; %bb.4:
	ldr	w2, [x19]
	mov	x0, x21
	mov	w1, #10
	bl	_memchr
	cbz	x23, LBB0_11
; %bb.5:
	cbz	x0, LBB0_14
; %bb.6:
	add	x8, x23, #1
	cmp	x8, x0
	b.eq	LBB0_19
; %bb.7:
	cbz	w25, LBB0_12
; %bb.8:
	cmp	x23, x0
	b.lo	LBB0_16
	b	LBB0_12
LBB0_9:
	cbz	w26, LBB0_17
; %bb.10:
	ldr	w2, [x19]
	mov	x0, x21
	mov	w1, #10
	bl	_memchr
LBB0_11:
	cbz	x0, LBB0_17
LBB0_12:
	mov	w8, #129
	str	w8, [x22]
	add	x8, x0, #1
	b	LBB0_22
LBB0_13:
	cbz	x23, LBB0_17
LBB0_14:
	ldrsw	x8, [x19]
	add	x8, x21, x8
	sub	x8, x8, #1
	cmp	x23, x8
	b.eq	LBB0_18
; %bb.15:
	cbz	w25, LBB0_17
LBB0_16:
	mov	w8, #132
	b	LBB0_21
LBB0_17:
	mov	w8, #128
	str	w8, [x22]
	ldrsw	x8, [x19]
	ldr	x9, [x20]
	add	x8, x9, x8
	b	LBB0_22
LBB0_18:
	mov	w8, #130
	b	LBB0_20
LBB0_19:
	mov	w8, #131
LBB0_20:
	mov	w9, #131
	and	w9, w24, w9
	mov	w10, #132
	cmp	w9, #0
	csel	w8, w10, w8, eq
LBB0_21:
	str	w8, [x22]
	cmp	w8, #131
	cinc	x8, x23, eq
	add	x8, x8, #1
LBB0_22:
	str	x8, [x20]
	ldr	w9, [x19]
	sub	w8, w21, w8
	add	w8, w9, w8
	str	w8, [x19]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
