	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sb_bucket_read
_sb_bucket_read:                        ## @sb_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
	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, %r14
	movq	%rdx, %r15
	movq	%rsi, %r13
	movq	(%rdi), %rbx
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rax, (%r15)
	movq	8(%rbx), %rax
	cmpq	%r13, %rax
	jle	LBB0_7
## %bb.2:
	movq	%r13, (%r14)
	addq	%r13, (%rbx)
	subq	%r13, 8(%rbx)
	jmp	LBB0_8
LBB0_3:
	movl	16(%rbx), %ecx
	movl	20(%rbx), %edx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_svn_spillbuf__read
	movq	%rax, %r12
	movl	16(%rbx), %edi
	callq	_svn_pool_clear
	movq	%r12, %rdi
	callq	_svn_error_clear
	movq	(%r14), %rax
	subq	%r13, %rax
	jle	LBB0_5
## %bb.4:
	movq	(%r15), %rcx
	addq	%r13, %rcx
	movq	%rcx, (%rbx)
	movq	%rax, 8(%rbx)
	movq	%r13, (%r14)
LBB0_5:
	cmpq	$0, (%r15)
	jne	LBB0_8
## %bb.6:
	movq	_APR_EOF@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_7:
	movq	%rax, (%r14)
	movq	$0, (%rbx)
LBB0_8:
	movq	_APR_SUCCESS@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_APR_SUCCESS,4,2                ## @APR_SUCCESS
	.comm	_APR_EOF,4,2                    ## @APR_EOF
	.no_dead_strip	_sb_bucket_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sb_bucket_read
_sb_bucket_read:                        ; @sb_bucket_read
	.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	x20, x3
	mov	x21, x2
	mov	x19, x1
	ldr	x23, [x0]
	ldr	x8, [x23]
	cbz	x8, LBB0_3
; %bb.1:
	str	x8, [x21]
	ldr	x8, [x23, #8]
	cmp	x8, x19
	b.le	LBB0_6
; %bb.2:
	str	x19, [x20]
	ldp	x8, x9, [x23]
	add	x8, x8, x19
	sub	x9, x9, x19
	stp	x8, x9, [x23]
	b	LBB0_7
LBB0_3:
	ldp	w3, w2, [x23, #16]
	mov	x0, x21
	mov	x1, x20
	bl	_svn_spillbuf__read
	mov	x22, x0
	ldr	w0, [x23, #16]
	bl	_svn_pool_clear
	mov	x0, x22
	bl	_svn_error_clear
	ldr	x8, [x20]
	subs	x8, x8, x19
	b.le	LBB0_5
; %bb.4:
	ldr	x9, [x21]
	add	x9, x9, x19
	stp	x9, x8, [x23]
	str	x19, [x20]
LBB0_5:
Lloh0:
	adrp	x8, _APR_EOF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _APR_EOF@GOTPAGEOFF]
	ldr	x9, [x21]
Lloh2:
	adrp	x10, _APR_SUCCESS@GOTPAGE
Lloh3:
	ldr	x10, [x10, _APR_SUCCESS@GOTPAGEOFF]
	cmp	x9, #0
	csel	x8, x8, x10, eq
	b	LBB0_8
LBB0_6:
	str	x8, [x20]
	str	xzr, [x23]
LBB0_7:
Lloh4:
	adrp	x8, _APR_SUCCESS@GOTPAGE
Lloh5:
	ldr	x8, [x8, _APR_SUCCESS@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [x8]
	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
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_APR_SUCCESS,4,2                ; @APR_SUCCESS
	.comm	_APR_EOF,4,2                    ; @APR_EOF
	.no_dead_strip	_sb_bucket_read
.subsections_via_symbols
