	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function serf_headers_read
_serf_headers_read:                     ## @serf_headers_read
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rsi, %r15
	movq	(%rdi), %rbx
	leaq	-32(%rbp), %rax
	movq	%rbx, %rdi
	movq	%rdx, %rsi
	movq	%rax, %rdx
	callq	_select_value
	movq	(%rbx), %rcx
	movq	_READ_DONE@GOTPCREL(%rip), %rdx
	movq	-32(%rbp), %rax
	cmpq	(%rdx), %rcx
	jne	LBB0_2
## %bb.1:
	movq	%rax, (%r14)
	movq	_APR_EOF@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_2:
	cmpq	%r15, %rax
	jle	LBB0_3
## %bb.4:
	movq	%r15, (%r14)
	addl	%r15d, 8(%rbx)
	movq	_APR_SUCCESS@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	jmp	LBB0_6
LBB0_3:
	movq	%rax, (%r14)
	movq	%rbx, %rdi
	callq	_consume_chunk
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_READ_DONE,8,3                  ## @READ_DONE
	.comm	_APR_EOF,4,2                    ## @APR_EOF
	.comm	_APR_SUCCESS,4,2                ## @APR_SUCCESS
	.no_dead_strip	_serf_headers_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function serf_headers_read
_serf_headers_read:                     ; @serf_headers_read
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x3
	mov	x8, x2
	mov	x21, x1
	ldr	x19, [x0]
	add	x2, sp, #8
	mov	x0, x19
	mov	x1, x8
	bl	_select_value
	ldr	x9, [x19]
Lloh0:
	adrp	x8, _READ_DONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _READ_DONE@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x8]
	ldr	x8, [sp, #8]
	cmp	x9, x10
	b.ne	LBB0_2
; %bb.1:
	str	x8, [x20]
Lloh3:
	adrp	x8, _APR_EOF@GOTPAGE
Lloh4:
	ldr	x8, [x8, _APR_EOF@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:
	cmp	x8, x21
	b.le	LBB0_5
; %bb.3:
	str	x21, [x20]
	ldr	w8, [x19, #8]
	add	w8, w8, w21
	str	w8, [x19, #8]
Lloh5:
	adrp	x8, _APR_SUCCESS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _APR_SUCCESS@GOTPAGEOFF]
LBB0_4:
	ldr	w0, [x8]
	b	LBB0_6
LBB0_5:
	str	x8, [x20]
	mov	x0, x19
	bl	_consume_chunk
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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_READ_DONE,8,3                  ; @READ_DONE
	.comm	_APR_EOF,4,2                    ; @APR_EOF
	.comm	_APR_SUCCESS,4,2                ; @APR_SUCCESS
	.no_dead_strip	_serf_headers_read
.subsections_via_symbols
