	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function calculate_remaining_ranges
_calculate_remaining_ranges:            ## @calculate_remaining_ranges
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $r9d killed $r9d def $r9
	movq	%r9, -56(%rbp)                  ## 8-byte Spill
	movq	%r8, %r12
	movq	%rcx, %r13
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	40(%rbp), %rsi
	movq	(%rdx), %rdi
	movq	8(%rdx), %rax
	movq	(%rdi), %rcx
	cmpq	(%rax), %rcx
	cmovlq	%rax, %rdi
	callq	_svn_client__pathrev_fspath
	movq	%rax, %r14
	movl	16(%r15), %edi
	callq	_SVN_ERR_ASSERT
	testq	%r13, %r13
	je	LBB0_1
## %bb.2:
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_svn_hash_gets
	movq	%rax, %rcx
	movq	%rax, -64(%rbp)
	testq	%r12, %r12
	je	LBB0_5
## %bb.3:
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.4:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	-64(%rbp), %rdi
	movq	%r12, %rsi
	movq	%rcx, %rdx
	movl	%eax, %ecx
	movq	32(%rbp), %r8
	callq	_svn_rangelist_remove
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-64(%rbp), %rcx
	jmp	LBB0_5
LBB0_1:
	movq	$0, -64(%rbp)
	xorl	%ecx, %ecx
LBB0_5:
	movq	40(%rbp), %r12
	movq	%rbx, %r13
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	(%r15), %rax
	movq	8(%r15), %rdx
	movq	(%rax), %r8
	movq	(%rdx), %r9
	subq	$8, %rsp
	movq	%r13, %rsi
	movq	%r14, %rdx
	pushq	%r12
	pushq	32(%rbp)
	movq	24(%rbp), %r14
	pushq	%r14
	pushq	16(%rbp)
	pushq	%rbx
	callq	_filter_merged_revisions
	addq	$48, %rsp
	movl	%eax, %edi
	callq	_SVN_ERR
	movl	(%r14), %r10d
	movl	(%r13), %ebx
	movq	_TRUE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %eax
	subq	$8, %rsp
	leaq	-72(%rbp), %rsi
	xorl	%edi, %edi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	%r12
	pushq	%r12
	pushq	%rax
	pushq	%rbx
	pushq	%r10
	callq	_svn_wc__node_get_base
	addq	$48, %rsp
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-72(%rbp), %rdi
	callq	_SVN_IS_VALID_REVNUM
	testq	%rax, %rax
	je	LBB0_13
## %bb.6:
	movq	8(%r13), %rax
	cmpq	$0, (%rax)
	je	LBB0_7
LBB0_13:
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_17:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	(%r15), %rdx
	movq	8(%r15), %rax
	movq	(%rax), %rax
	cmpq	(%rdx), %rax
	jge	LBB0_13
## %bb.8:
	movq	-72(%rbp), %rcx
	cmpq	%rax, %rcx
	jg	LBB0_13
## %bb.9:
	subq	$8, %rsp
	leaq	-88(%rbp), %rdi
	movq	16(%rbp), %rsi
	movq	%r14, %r8
	movq	%r12, %r9
	pushq	%r12
	callq	_svn_client__repos_location
	addq	$16, %rsp
	testq	%rax, %rax
	je	LBB0_15
## %bb.10:
	movq	(%rax), %rcx
	movq	_SVN_ERR_FS_NOT_FOUND@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_12
## %bb.11:
	movq	_SVN_ERR_CLIENT_UNRELATED_RESOURCES@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_12
## %bb.14:
	movq	%rax, %rdi
	callq	_svn_error_trace
	jmp	LBB0_17
LBB0_15:
	movl	(%r14), %esi
	movl	(%r13), %edx
	leaq	-80(%rbp), %rdi
	movq	%r12, %rcx
	movq	%r12, %r8
	callq	_svn_wc__node_get_url
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-88(%rbp), %rax
	movl	8(%rax), %edi
	movq	-80(%rbp), %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_13
## %bb.16:
	movq	_SVN_ERR_CLIENT_MERGE_UPDATE_REQUIRED@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%ebx, %edi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	_svn_error_create
	jmp	LBB0_17
LBB0_12:
	movq	%rax, %rdi
	callq	_svn_error_clear
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_SVN_ERR_FS_NOT_FOUND,8,3       ## @SVN_ERR_FS_NOT_FOUND
	.comm	_SVN_ERR_CLIENT_UNRELATED_RESOURCES,8,3 ## @SVN_ERR_CLIENT_UNRELATED_RESOURCES
	.comm	_SVN_ERR_CLIENT_MERGE_UPDATE_REQUIRED,4,2 ## @SVN_ERR_CLIENT_MERGE_UPDATE_REQUIRED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Cannot reverse-merge a range from a path's own future history; try updating first"

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

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function calculate_remaining_ranges
_calculate_remaining_ranges:            ; @calculate_remaining_ranges
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	str	x7, [sp, #24]                   ; 8-byte Folded Spill
	mov	x19, x6
	mov	x25, x5
	mov	x28, x4
	mov	x22, x3
	mov	x23, x2
	mov	x21, x1
	mov	x24, x0
	ldp	x26, x20, [x29, #16]
	ldp	x8, x9, [x2]
	ldr	x10, [x8]
	ldr	x11, [x9]
	cmp	x10, x11
	csel	x0, x9, x8, lt
	mov	x1, x20
	bl	_svn_client__pathrev_fspath
	mov	x27, x0
	ldr	w0, [x23, #16]
	bl	_SVN_ERR_ASSERT
	cbz	x22, LBB0_4
; %bb.1:
	mov	x0, x22
	mov	x1, x27
	bl	_svn_hash_gets
	mov	x3, x0
	str	x0, [sp, #56]
	cbz	x28, LBB0_5
; %bb.2:
	cbz	x3, LBB0_5
; %bb.3:
Lloh0:
	adrp	x8, _FALSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	add	x0, sp, #56
	mov	x1, x28
	mov	x2, x3
	mov	x3, x8
	mov	x4, x26
	bl	_svn_rangelist_remove
	bl	_SVN_ERR
	ldr	x3, [sp, #56]
	b	LBB0_5
LBB0_4:
	mov	x3, #0
	str	xzr, [sp, #56]
LBB0_5:
	mov	x22, x19
	ldr	x19, [sp, #24]                  ; 8-byte Folded Reload
	mov	x6, x25
	mov	x0, x24
	ldp	x8, x9, [x23]
	ldr	x4, [x8]
	ldr	x5, [x9]
	stp	x26, x20, [sp, #8]
	str	x19, [sp]
	mov	x1, x21
	mov	x2, x27
	mov	x7, x22
	bl	_filter_merged_revisions
	bl	_SVN_ERR
	ldr	w6, [x19]
	ldr	w7, [x21]
Lloh3:
	adrp	x8, _TRUE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	stp	x20, x20, [sp, #8]
	add	x1, sp, #48
	str	w8, [sp]
	mov	x0, #0
	mov	x2, #0
	mov	x3, #0
	mov	x4, #0
	mov	x5, #0
	bl	_svn_wc__node_get_base
	bl	_SVN_ERR
	ldr	x0, [sp, #48]
	bl	_SVN_IS_VALID_REVNUM
	cbz	x0, LBB0_7
; %bb.6:
	ldr	x8, [x21, #8]
	ldr	x8, [x8]
	cbz	x8, LBB0_9
LBB0_7:
Lloh6:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh8:
	ldr	x0, [x8]
LBB0_8:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_9:
	ldp	x2, x8, [x23]
	ldr	x8, [x8]
	ldr	x9, [x2]
	cmp	x8, x9
	b.ge	LBB0_7
; %bb.10:
	ldr	x3, [sp, #48]
	cmp	x3, x8
	b.gt	LBB0_7
; %bb.11:
	add	x0, sp, #40
	mov	x1, x22
	mov	x4, x19
	mov	x5, x20
	mov	x6, x20
	bl	_svn_client__repos_location
	cbz	x0, LBB0_15
; %bb.12:
	ldr	x8, [x0]
Lloh9:
	adrp	x9, _SVN_ERR_FS_NOT_FOUND@GOTPAGE
Lloh10:
	ldr	x9, [x9, _SVN_ERR_FS_NOT_FOUND@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_17
; %bb.13:
Lloh12:
	adrp	x9, _SVN_ERR_CLIENT_UNRELATED_RESOURCES@GOTPAGE
Lloh13:
	ldr	x9, [x9, _SVN_ERR_CLIENT_UNRELATED_RESOURCES@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_17
; %bb.14:
	bl	_svn_error_trace
	b	LBB0_8
LBB0_15:
	ldr	w1, [x19]
	ldr	w2, [x21]
	add	x0, sp, #32
	mov	x3, x20
	mov	x4, x20
	bl	_svn_wc__node_get_url
	bl	_SVN_ERR
	ldp	x1, x8, [sp, #32]
	ldr	w0, [x8, #8]
	bl	_strcmp
	cbnz	x0, LBB0_7
; %bb.16:
Lloh15:
	adrp	x8, _SVN_ERR_CLIENT_MERGE_UPDATE_REQUIRED@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SVN_ERR_CLIENT_MERGE_UPDATE_REQUIRED@GOTPAGEOFF]
Lloh17:
	ldr	w19, [x8]
Lloh18:
	adrp	x0, l_.str@PAGE
Lloh19:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x2, x0
	mov	x0, x19
	mov	x1, #0
	bl	_svn_error_create
	b	LBB0_8
LBB0_17:
	bl	_svn_error_clear
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_SVN_ERR_FS_NOT_FOUND,8,3       ; @SVN_ERR_FS_NOT_FOUND
	.comm	_SVN_ERR_CLIENT_UNRELATED_RESOURCES,8,3 ; @SVN_ERR_CLIENT_UNRELATED_RESOURCES
	.comm	_SVN_ERR_CLIENT_MERGE_UPDATE_REQUIRED,4,2 ; @SVN_ERR_CLIENT_MERGE_UPDATE_REQUIRED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Cannot reverse-merge a range from a path's own future history; try updating first"

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