	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_stream_uint
_read_stream_uint:                      ## @read_stream_uint
	.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	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r12
	xorl	%ebx, %ebx
	leaq	-41(%rbp), %r13
	leaq	-48(%rbp), %r14
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	$1, -48(%rbp)
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	%r14, %rdx
	callq	_svn_stream_read_full
	movl	%eax, %edi
	callq	_SVN_ERR
	cmpl	$1, -48(%rbp)
	jne	LBB0_2
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$58, %ebx
	jae	LBB0_4
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	movzbl	-41(%rbp), %eax
	movl	%eax, %edx
	andl	$127, %edx
	movl	%ebx, %ecx
	shll	%cl, %edx
	addl	%edx, %r15d
	addl	$7, %ebx
	testb	%al, %al
	js	LBB0_1
## %bb.7:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	%r15d, (%rax)
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_8
LBB0_2:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_5
LBB0_4:
	leaq	L_.str.1(%rip), %rdi
LBB0_5:
	movq	_SVN_ERR_CORRUPT_PACKED_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	callq	__
	movl	%ebx, %edi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	_svn_error_create
LBB0_8:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SVN_ERR_CORRUPT_PACKED_DATA,4,2 ## @SVN_ERR_CORRUPT_PACKED_DATA
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unexpected end of stream"

L_.str.1:                               ## @.str.1
	.asciz	"Integer representation too long"

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

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_stream_uint
_read_stream_uint:                      ; @read_stream_uint
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x1
	mov	x21, x0
	mov	w23, #0
	mov	w22, #0
	mov	w24, #1
Lloh0:
	adrp	x19, l_.str@PAGE
Lloh1:
	add	x19, x19, l_.str@PAGEOFF
Lloh2:
	adrp	x25, l_.str.1@PAGE
Lloh3:
	add	x25, x25, l_.str.1@PAGEOFF
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	str	w24, [sp, #8]
	add	x1, sp, #15
	add	x2, sp, #8
	mov	x0, x21
	bl	_svn_stream_read_full
	bl	_SVN_ERR
	ldr	w8, [sp, #8]
	cmp	w8, #1
	b.ne	LBB0_6
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	cmp	w23, #58
	b.hs	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	ldrb	w8, [sp, #15]
	and	w9, w8, #0x7f
	lsl	w9, w9, w23
	add	w22, w9, w22
	add	w23, w23, #7
	tbnz	w8, #7, LBB0_1
; %bb.4:
	str	w22, [x20]
Lloh4:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh5:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh6:
	ldr	x0, [x8]
	b	LBB0_7
LBB0_5:
	mov	x19, x25
LBB0_6:
Lloh7:
	adrp	x8, _SVN_ERR_CORRUPT_PACKED_DATA@GOTPAGE
Lloh8:
	ldr	x8, [x8, _SVN_ERR_CORRUPT_PACKED_DATA@GOTPAGEOFF]
Lloh9:
	ldr	w20, [x8]
	mov	x0, x19
	bl	__
	mov	x2, x0
	mov	x0, x20
	mov	x1, #0
	bl	_svn_error_create
LBB0_7:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_SVN_ERR_CORRUPT_PACKED_DATA,4,2 ; @SVN_ERR_CORRUPT_PACKED_DATA
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unexpected end of stream"

l_.str.1:                               ; @.str.1
	.asciz	"Integer representation too long"

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