	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_fs_fs__read_number_from_stream ## -- Begin function svn_fs_fs__read_number_from_stream
	.p2align	4, 0x90
_svn_fs_fs__read_number_from_stream:    ## @svn_fs_fs__read_number_from_stream
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rcx, %r8
	movq	%rdx, %rax
	movq	%rsi, %rbx
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rdx
	leaq	-24(%rbp), %rsi
	leaq	-32(%rbp), %rcx
	movq	%rax, %rdi
	callq	_svn_stream_readline
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-32(%rbp), %rax
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.3:
	movq	%rax, (%rbx)
	testq	%rax, %rax
	jne	LBB0_6
	jmp	LBB0_4
LBB0_1:
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	_SVN_ERR_FS_CORRUPT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.1(%rip), %rdi
	callq	__
	movl	%ebx, %edi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	_svn_error_create
	jmp	LBB0_7
LBB0_4:
	movq	-24(%rbp), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_svn_cstring_atoi64
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%rax, %rbx
	movq	_SVN_ERR_FS_CORRUPT@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	leaq	L_.str.2(%rip), %rdi
	callq	__
	movq	-24(%rbp), %rcx
	movl	(%rcx), %ecx
	movl	%r14d, %edi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_svn_error_createf
	jmp	LBB0_7
LBB0_6:
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_7:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

	.comm	_SVN_ERR_FS_CORRUPT,4,2         ## @SVN_ERR_FS_CORRUPT
L_.str.1:                               ## @.str.1
	.asciz	"Unexpected EOF"

L_.str.2:                               ## @.str.2
	.asciz	"Number '%s' invalid or too large"

	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_fs_fs__read_number_from_stream ; -- Begin function svn_fs_fs__read_number_from_stream
	.p2align	2
_svn_fs_fs__read_number_from_stream:    ; @svn_fs_fs__read_number_from_stream
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x4, x3
	mov	x8, x2
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	add	x1, sp, #8
	mov	x3, sp
	mov	x0, x8
	bl	_svn_stream_readline
	bl	_SVN_ERR
	ldr	x8, [sp]
	cbz	x20, LBB0_2
; %bb.1:
	str	x8, [x20]
	cbnz	x8, LBB0_6
	b	LBB0_4
LBB0_2:
	cbz	x8, LBB0_4
; %bb.3:
Lloh2:
	adrp	x8, _SVN_ERR_FS_CORRUPT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SVN_ERR_FS_CORRUPT@GOTPAGEOFF]
Lloh4:
	ldr	w19, [x8]
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
	mov	x2, x0
	mov	x0, x19
	mov	x1, #0
	bl	_svn_error_create
	b	LBB0_7
LBB0_4:
	ldr	x8, [sp, #8]
	ldr	w1, [x8]
	mov	x0, x19
	bl	_svn_cstring_atoi64
	cbz	x0, LBB0_6
; %bb.5:
	mov	x19, x0
Lloh7:
	adrp	x8, _SVN_ERR_FS_CORRUPT@GOTPAGE
Lloh8:
	ldr	x8, [x8, _SVN_ERR_FS_CORRUPT@GOTPAGEOFF]
Lloh9:
	ldr	w20, [x8]
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	__
	mov	x2, x0
	ldr	x8, [sp, #8]
	ldr	w3, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_svn_error_createf
	b	LBB0_7
LBB0_6:
Lloh12:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh14:
	ldr	x0, [x8]
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

	.comm	_SVN_ERR_FS_CORRUPT,4,2         ; @SVN_ERR_FS_CORRUPT
l_.str.1:                               ; @.str.1
	.asciz	"Unexpected EOF"

l_.str.2:                               ; @.str.2
	.asciz	"Number '%s' invalid or too large"

	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
.subsections_via_symbols
