	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function open_pack_or_rev_file
_open_pack_or_rev_file:                 ## @open_pack_or_rev_file
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -72(%rbp)                  ## 8-byte Spill
	movq	%r8, -48(%rbp)                  ## 8-byte Spill
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movl	%edx, %ebx
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	(%rsi), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	(%rcx), %r13
	testq	%r13, %r13
	je	LBB0_13
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %r14d
	movl	%ebx, %esi
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdx
	callq	_svn_fs_fs__path_rev_absolute
	movq	%rax, %rcx
	movq	_APR_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	cmpq	$0, -88(%rbp)                   ## 8-byte Folded Reload
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	je	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_APR_WRITE@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	movq	_APR_BUFFERED@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	movq	%rcx, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%rbx, %rdx
	callq	_auto_make_writable
	movq	%rax, %r12
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_APR_BUFFERED@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	%r14d, %ebx
	testq	%r12, %r12
	jne	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_APR_OS_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-104(%rbp), %rdi
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	movl	%r15d, %edx
	movq	-48(%rbp), %r8                  ## 8-byte Reload
	callq	_svn_io_file_open
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_6
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	(%r12), %edi
	callq	_APR_STATUS_IS_ENOENT
	movq	_FALSE@GOTPCREL(%rip), %rcx
	testq	%rax, %rax
	je	LBB0_12
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%ebx, %r15d
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %r14
	movq	_SVN_FS_FS__MIN_PACKED_FORMAT@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	%r12, %rdi
	callq	_svn_error_clear
	cmpq	%rbx, %r14
	jl	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_1 Depth=1
	testq	%r13, %r13
	jne	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_svn_fs_fs__update_min_unpacked_rev
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	%rbx, %rdi
	movl	%r15d, %ebx
	movl	%r15d, %esi
	callq	_svn_fs_fs__packed_base_rev
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	movq	_TRUE@GOTPCREL(%rip), %rcx
	jmp	LBB0_12
LBB0_10:
	movq	_SVN_ERR_FS_NO_SUCH_REVISION@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%ebx, %edi
	xorl	%esi, %esi
	movl	%eax, %edx
	movl	%r15d, %ecx
	callq	_svn_error_createf
	jmp	LBB0_14
LBB0_13:
	movq	%r12, %rdi
	callq	_svn_error_trace
	jmp	LBB0_14
LBB0_6:
	movq	-104(%rbp), %rdi
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%rdi, 16(%r14)
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	callq	_svn_stream_from_aprfile2
	movl	%eax, 8(%r14)
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	callq	_svn_fs_fs__is_packed_rev
	movl	%eax, 4(%r14)
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_14:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_APR_READ,4,2                   ## @APR_READ
	.comm	_APR_WRITE,4,2                  ## @APR_WRITE
	.comm	_APR_BUFFERED,4,2               ## @APR_BUFFERED
	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
	.comm	_APR_OS_DEFAULT,4,2             ## @APR_OS_DEFAULT
	.comm	_TRUE,8,3                       ## @TRUE
	.comm	_SVN_FS_FS__MIN_PACKED_FORMAT,8,3 ## @SVN_FS_FS__MIN_PACKED_FORMAT
	.comm	_SVN_ERR_FS_NO_SUCH_REVISION,4,2 ## @SVN_ERR_FS_NO_SUCH_REVISION
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"No such revision %ld"

	.no_dead_strip	_open_pack_or_rev_file
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function open_pack_or_rev_file
_open_pack_or_rev_file:                 ; @open_pack_or_rev_file
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x23, x5
	mov	x22, x4
	mov	x24, x3
	mov	x19, x2
	mov	x21, x1
	str	x0, [sp]                        ; 8-byte Folded Spill
	ldr	x28, [x1]
Lloh0:
	adrp	x8, _FALSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh2:
	ldr	x20, [x8]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
Lloh3:
	adrp	x8, _FALSE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh5:
	ldr	x20, [x8]
	cbz	x20, LBB0_10
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	x1, x19
	mov	x2, x23
	bl	_svn_fs_fs__path_rev_absolute
	mov	x26, x0
Lloh6:
	adrp	x8, _APR_READ@GOTPAGE
Lloh7:
	ldr	x8, [x8, _APR_READ@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cbz	x24, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh9:
	adrp	x9, _APR_WRITE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _APR_WRITE@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh12:
	adrp	x9, _APR_BUFFERED@GOTPAGE
Lloh13:
	ldr	x9, [x9, _APR_BUFFERED@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w27, w8, w9
	mov	x0, x26
	mov	x1, x22
	mov	x2, x23
	bl	_auto_make_writable
	mov	x25, x0
	cbnz	x25, LBB0_6
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
Lloh15:
	adrp	x9, _APR_BUFFERED@GOTPAGE
Lloh16:
	ldr	x9, [x9, _APR_BUFFERED@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w27, w9, w8
Lloh18:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh19:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh20:
	ldr	x25, [x8]
	cbnz	x25, LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
Lloh21:
	adrp	x8, _APR_OS_DEFAULT@GOTPAGE
Lloh22:
	ldr	x8, [x8, _APR_OS_DEFAULT@GOTPAGEOFF]
Lloh23:
	ldr	w3, [x8]
	add	x0, sp, #8
	mov	x1, x26
	mov	x2, x27
	mov	x4, x22
	bl	_svn_io_file_open
	mov	x25, x0
	cbz	x0, LBB0_12
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x25]
	bl	_APR_STATUS_IS_ENOENT
	cbz	x0, LBB0_1
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x26, [x28]
Lloh24:
	adrp	x8, _SVN_FS_FS__MIN_PACKED_FORMAT@GOTPAGE
Lloh25:
	ldr	x8, [x8, _SVN_FS_FS__MIN_PACKED_FORMAT@GOTPAGEOFF]
Lloh26:
	ldr	x27, [x8]
	mov	x0, x25
	bl	_svn_error_clear
	cmp	x26, x27
	b.lt	LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	cbnz	x20, LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x21
	mov	x1, x23
	bl	_svn_fs_fs__update_min_unpacked_rev
	bl	_SVN_ERR
	mov	x0, x21
	mov	x1, x19
	bl	_svn_fs_fs__packed_base_rev
	ldr	x8, [sp]                        ; 8-byte Folded Reload
	str	w0, [x8]
Lloh27:
	adrp	x8, _TRUE@GOTPAGE
Lloh28:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh29:
	ldr	x20, [x8]
	cbnz	x20, LBB0_2
LBB0_10:
	mov	x0, x25
	bl	_svn_error_trace
	b	LBB0_13
LBB0_11:
Lloh30:
	adrp	x8, _SVN_ERR_FS_NO_SUCH_REVISION@GOTPAGE
Lloh31:
	ldr	x8, [x8, _SVN_ERR_FS_NO_SUCH_REVISION@GOTPAGEOFF]
Lloh32:
	ldr	w20, [x8]
Lloh33:
	adrp	x0, l_.str@PAGE
Lloh34:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x2, x0
	mov	x0, x20
	mov	x1, #0
	mov	x3, x19
	bl	_svn_error_createf
	b	LBB0_13
LBB0_12:
	ldp	x20, x0, [sp]                   ; 8-byte Folded Reload
	str	x0, [x20, #16]
Lloh35:
	adrp	x8, _TRUE@GOTPAGE
Lloh36:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh37:
	ldr	x1, [x8]
	mov	x2, x22
	bl	_svn_stream_from_aprfile2
	str	w0, [x20, #8]
	mov	x0, x21
	mov	x1, x19
	bl	_svn_fs_fs__is_packed_rev
	str	w0, [x20, #4]
Lloh38:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh39:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh40:
	ldr	x0, [x8]
LBB0_13:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_APR_READ,4,2                   ; @APR_READ
	.comm	_APR_WRITE,4,2                  ; @APR_WRITE
	.comm	_APR_BUFFERED,4,2               ; @APR_BUFFERED
	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
	.comm	_APR_OS_DEFAULT,4,2             ; @APR_OS_DEFAULT
	.comm	_TRUE,8,3                       ; @TRUE
	.comm	_SVN_FS_FS__MIN_PACKED_FORMAT,8,3 ; @SVN_FS_FS__MIN_PACKED_FORMAT
	.comm	_SVN_ERR_FS_NO_SUCH_REVISION,4,2 ; @SVN_ERR_FS_NO_SUCH_REVISION
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"No such revision %ld"

	.no_dead_strip	_open_pack_or_rev_file
.subsections_via_symbols
