	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_val
_read_val:                              ## @read_val
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	(%rsi), %rax
	cmpq	%rdx, %rax
	je	LBB0_7
## %bb.1:
	cmpb	$10, (%rax)
	jne	LBB0_2
## %bb.8:
	incq	%rax
	movq	%rax, (%rsi)
	movq	$0, (%rdi)
	jmp	LBB0_6
LBB0_2:
	leaq	1(%rax), %rcx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rcx, (%rsi)
	cmpq	%rdx, %rcx
	je	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	1(%rcx), %rbx
	cmpb	$10, (%rcx)
	movq	%rbx, %rcx
	jne	LBB0_3
## %bb.5:
	movb	$0, -1(%rbx)
	movq	%rax, (%rdi)
	incq	(%rsi)
LBB0_6:
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_7:
	movq	_SVN_ERR_WC_CORRUPT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%ebx, %edi
	xorl	%esi, %esi
	movl	%eax, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_svn_error_create               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SVN_ERR_WC_CORRUPT,4,2         ## @SVN_ERR_WC_CORRUPT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unexpected end of entry"

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

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_val
_read_val:                              ; @read_val
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x1]
	cmp	x8, x2
	b.eq	LBB0_8
; %bb.1:
	ldrb	w9, [x8]
	cmp	w9, #10
	b.ne	LBB0_3
; %bb.2:
	add	x8, x8, #1
	str	x8, [x1]
	str	xzr, [x0]
	b	LBB0_7
LBB0_3:
	add	x9, x8, #1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	str	x9, [x1]
	cmp	x9, x2
	b.eq	LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w10, [x9], #1
	cmp	w10, #10
	b.ne	LBB0_4
; %bb.6:
	sturb	wzr, [x9, #-1]
	str	x8, [x0]
	ldr	x8, [x1]
	add	x8, x8, #1
	str	x8, [x1]
LBB0_7:
Lloh0:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_8:
Lloh3:
	adrp	x8, _SVN_ERR_WC_CORRUPT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SVN_ERR_WC_CORRUPT@GOTPAGEOFF]
Lloh5:
	ldr	w19, [x8]
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x2, x0
	mov	x0, x19
	mov	x1, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_svn_error_create
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SVN_ERR_WC_CORRUPT,4,2         ; @SVN_ERR_WC_CORRUPT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unexpected end of entry"

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