	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eagain_bucket_read
_eagain_bucket_read:                    ## @eagain_bucket_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	(%rax), %r8
	testq	%r8, %r8
	jle	LBB0_4
## %bb.1:
	movq	8(%rax), %rdi
	movq	%rdi, (%rdx)
	cmpq	%rsi, %r8
	jl	LBB0_3
## %bb.2:
	movq	_SERF_READ_ALL_AVAIL@GOTPCREL(%rip), %rdx
	cmpq	%rsi, (%rdx)
	je	LBB0_3
## %bb.5:
	movq	%rsi, (%rcx)
	addq	%rsi, 8(%rax)
	subq	%rsi, (%rax)
	je	LBB0_4
## %bb.6:
	movq	_APR_SUCCESS@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_3:
	movq	%r8, (%rcx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rax)
LBB0_4:
	movq	_APR_EAGAIN@GOTPCREL(%rip), %rax
LBB0_7:
	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_EAGAIN,4,2                 ## @APR_EAGAIN
	.no_dead_strip	_eagain_bucket_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eagain_bucket_read
_eagain_bucket_read:                    ; @eagain_bucket_read
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	ldr	x9, [x8]
	cmp	x9, #1
	b.lt	LBB0_4
; %bb.1:
	ldr	x10, [x8, #8]
	str	x10, [x2]
Lloh0:
	adrp	x10, _SERF_READ_ALL_AVAIL@GOTPAGE
Lloh1:
	ldr	x10, [x10, _SERF_READ_ALL_AVAIL@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x1
	ccmp	x10, x1, #4, ge
	b.ne	LBB0_3
; %bb.2:
	str	x9, [x3]
	stp	xzr, xzr, [x8]
	b	LBB0_4
LBB0_3:
	str	x1, [x3]
	ldp	x10, x9, [x8]
	add	x9, x9, x1
	subs	x10, x10, x1
	stp	x10, x9, [x8]
	b.ne	LBB0_5
LBB0_4:
Lloh3:
	adrp	x8, _APR_EAGAIN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _APR_EAGAIN@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ret
LBB0_5:
Lloh6:
	adrp	x8, _APR_SUCCESS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _APR_SUCCESS@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_SERF_READ_ALL_AVAIL,8,3        ; @SERF_READ_ALL_AVAIL
	.comm	_APR_SUCCESS,4,2                ; @APR_SUCCESS
	.comm	_APR_EAGAIN,4,2                 ; @APR_EAGAIN
	.no_dead_strip	_eagain_bucket_read
.subsections_via_symbols
