	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function serf_simple_read
_serf_simple_read:                      ## @serf_simple_read
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	_SERF_READ_ALL_AVAIL@GOTPCREL(%rip), %r8
	movq	(%rax), %r9
	cmpq	%rsi, %r9
	movq	%rsi, %rdi
	cmovlq	%r9, %rdi
	cmpq	%rsi, (%r8)
	movq	8(%rax), %rsi
	cmoveq	%r9, %rdi
	movq	%rsi, (%rdx)
	movq	%rdi, (%rcx)
	addq	%rdi, 8(%rax)
	subq	%rdi, (%rax)
	jne	LBB0_1
## %bb.2:
	movq	_APR_EOF@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_APR_SUCCESS@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SERF_READ_ALL_AVAIL,8,3        ## @SERF_READ_ALL_AVAIL
	.comm	_APR_SUCCESS,4,2                ## @APR_SUCCESS
	.comm	_APR_EOF,4,2                    ## @APR_EOF
	.no_dead_strip	_serf_simple_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function serf_simple_read
_serf_simple_read:                      ; @serf_simple_read
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _SERF_READ_ALL_AVAIL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SERF_READ_ALL_AVAIL@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldp	x10, x11, [x8]
	cmp	x10, x1
	ccmp	x9, x1, #4, ge
	csel	x9, x10, x1, eq
	str	x11, [x2]
	str	x9, [x3]
	ldp	x11, x10, [x8]
	add	x10, x10, x9
	subs	x9, x11, x9
Lloh3:
	adrp	x11, _APR_SUCCESS@GOTPAGE
Lloh4:
	ldr	x11, [x11, _APR_SUCCESS@GOTPAGEOFF]
	stp	x9, x10, [x8]
Lloh5:
	adrp	x8, _APR_EOF@GOTPAGE
Lloh6:
	ldr	x8, [x8, _APR_EOF@GOTPAGEOFF]
	csel	x8, x8, x11, eq
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SERF_READ_ALL_AVAIL,8,3        ; @SERF_READ_ALL_AVAIL
	.comm	_APR_SUCCESS,4,2                ; @APR_SUCCESS
	.comm	_APR_EOF,4,2                    ; @APR_EOF
	.no_dead_strip	_serf_simple_read
.subsections_via_symbols
