	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_string
_read_string:                           ## @read_string
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r15
	movq	%rdi, %r14
	leaq	-44(%rbp), %rdi
	callq	_read_number
	movl	%eax, %edi
	callq	_SVN_ERR
	movslq	-44(%rbp), %rbx
	movq	_APR_SIZE_MAX@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jge	LBB0_1
## %bb.2:
	leaq	1(%rbx), %rsi
	movq	%r12, %rdi
	callq	_apr_palloc
	movq	%rax, %r13
	testl	%ebx, %ebx
	jle	LBB0_4
## %bb.3:
	leaq	-56(%rbp), %rdi
	movq	%r15, %rsi
	movq	%r13, %rdx
	movq	%rbx, %rcx
	movq	%r12, %r8
	callq	_svn_spillbuf__reader_read
	movl	%eax, %edi
	callq	_SVN_ERR
	xorl	%edi, %edi
	cmpq	%rbx, -56(%rbp)
	sete	%dil
	callq	_SVN_ERR_ASSERT
LBB0_4:
	movslq	-44(%rbp), %rax
	movb	$0, (%r13,%rax)
	movq	%r13, (%r14)
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_5
LBB0_1:
	movq	_SVN_ERR_REPOS_BAD_REVISION_REPORT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str(%rip), %rdi
	callq	__
	movq	_APR_UINT64_T_FMT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_apr_psprintf
	movl	-44(%rbp), %ecx
	movl	%ebx, %edi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	_svn_error_createf
LBB0_5:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_APR_SIZE_MAX,4,2               ## @APR_SIZE_MAX
	.comm	_SVN_ERR_REPOS_BAD_REVISION_REPORT,4,2 ## @SVN_ERR_REPOS_BAD_REVISION_REPORT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid length (%%%s) when about to read a string"

	.comm	_APR_UINT64_T_FMT,4,2           ## @APR_UINT64_T_FMT
	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
	.no_dead_strip	_read_string
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_string
_read_string:                           ; @read_string
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	add	x0, sp, #12
	bl	_read_number
	bl	_SVN_ERR
	ldrsw	x22, [sp, #12]
Lloh0:
	adrp	x8, _APR_SIZE_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _APR_SIZE_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w22, w8
	b.ge	LBB0_4
; %bb.1:
	add	x1, x22, #1
	mov	x0, x20
	bl	_apr_palloc
	mov	x23, x0
	cmp	w22, #1
	b.lt	LBB0_3
; %bb.2:
	mov	x0, sp
	mov	x1, x21
	mov	x2, x23
	mov	x3, x22
	mov	x4, x20
	bl	_svn_spillbuf__reader_read
	bl	_SVN_ERR
	ldr	x8, [sp]
	cmp	x8, x22
	cset	w0, eq
	bl	_SVN_ERR_ASSERT
LBB0_3:
	ldrsw	x8, [sp, #12]
	strb	wzr, [x23, x8]
	str	x23, [x19]
Lloh3:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh5:
	ldr	x0, [x8]
	b	LBB0_5
LBB0_4:
Lloh6:
	adrp	x8, _SVN_ERR_REPOS_BAD_REVISION_REPORT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SVN_ERR_REPOS_BAD_REVISION_REPORT@GOTPAGEOFF]
Lloh8:
	ldr	w19, [x8]
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x1, x0
Lloh11:
	adrp	x8, _APR_UINT64_T_FMT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _APR_UINT64_T_FMT@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_apr_psprintf
	mov	x2, x0
	ldr	w3, [sp, #12]
	mov	x0, x19
	mov	x1, #0
	bl	_svn_error_createf
LBB0_5:
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_APR_SIZE_MAX,4,2               ; @APR_SIZE_MAX
	.comm	_SVN_ERR_REPOS_BAD_REVISION_REPORT,4,2 ; @SVN_ERR_REPOS_BAD_REVISION_REPORT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid length (%%%s) when about to read a string"

	.comm	_APR_UINT64_T_FMT,4,2           ; @APR_UINT64_T_FMT
	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
	.no_dead_strip	_read_string
.subsections_via_symbols
