	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function revert
_revert:                                ## @revert
	.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
	movq	%r9, -80(%rbp)                  ## 8-byte Spill
	movq	%r8, %rbx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movl	%edx, %r12d
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	48(%rbp), %r13
	movq	$0, -48(%rbp)
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	_svn_depth_empty@GOTPCREL(%rip), %rax
	cmpl	%r12d, (%rax)
	sete	%al
	movq	_svn_depth_infinity@GOTPCREL(%rip), %rcx
	cmpl	%r12d, (%rcx)
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, -64(%rbp)
	sete	%cl
	orb	%al, %cl
	movzbl	%cl, %edi
	callq	_SVN_ERR_ASSERT
	leaq	-88(%rbp), %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	movq	%r13, %rcx
	callq	_svn_wc__db_is_wcroot
	movl	%eax, %edi
	callq	_SVN_ERR
	cmpq	$0, -88(%rbp)
	movq	%r14, %rsi
	jne	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_svn_dirent_dirname
	movq	%rax, %rsi
LBB0_2:
	movq	%r15, %rdi
	movq	%r13, %rdx
	callq	_svn_wc__write_check
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%r12d, %edx
	movq	%rbx, %rcx
	movq	%r13, %r8
	movq	%r13, %r9
	callq	_svn_wc__db_op_revert
	movl	%eax, %edi
	callq	_svn_error_trace
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	%rax, %rbx
LBB0_4:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_11
LBB0_10:
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	16(%rbp), %edx
                                        ## kill: def $edx killed $edx killed $rdx
	movq	24(%rbp), %rcx
	movq	%r13, %r8
	callq	_svn_wc__wq_run
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_svn_error_compose_create
	movq	%rax, %rbx
LBB0_11:
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%r13, %rdx
	callq	_svn_wc__db_revert_list_done
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_svn_error_compose_create
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	leaq	-48(%rbp), %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	movq	%r13, %r8
	movq	%r13, %r9
	callq	_svn_wc__db_read_single_info
	movl	%eax, %edi
	callq	_svn_error_trace
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movq	%rax, %rbx
	movq	(%rax), %rax
	movq	_SVN_ERR_WC_PATH_NOT_FOUND@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_12
## %bb.7:
	movq	%rbx, %rdi
	callq	_svn_error_clear
	movq	$0, -48(%rbp)
	xorl	%r11d, %r11d
	jmp	LBB0_9
LBB0_8:
	movq	-48(%rbp), %r11
LBB0_9:
	movl	32(%rbp), %r10d
	movq	_TRUE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	subq	$8, %rsp
	leaq	-64(%rbp), %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	movl	%r12d, %ecx
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	movq	-72(%rbp), %r9                  ## 8-byte Reload
	movq	48(%rbp), %r13
	pushq	%r13
	pushq	40(%rbp)
	pushq	%r10
	pushq	24(%rbp)
	movl	16(%rbp), %eax
	pushq	%rax
	pushq	%r11
	pushq	%rbx
	callq	_revert_restore
	addq	$64, %rsp
	movl	%eax, %edi
	callq	_svn_error_trace
	movq	%rax, %rbx
	movq	-64(%rbp), %rax
	testq	%rax, %rax
	jne	LBB0_10
	jmp	LBB0_11
LBB0_12:
	movq	48(%rbp), %r13
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_svn_depth_empty,4,2            ## @svn_depth_empty
	.comm	_svn_depth_infinity,4,2         ## @svn_depth_infinity
	.comm	_SVN_ERR_WC_PATH_NOT_FOUND,8,3  ## @SVN_ERR_WC_PATH_NOT_FOUND
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_revert
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function revert
_revert:                                ; @revert
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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	x22, x7
	mov	x23, x6
	str	x5, [sp, #48]                   ; 8-byte Folded Spill
	mov	x27, x4
	mov	x25, x3
	mov	x26, x2
	mov	x19, x1
	mov	x21, x0
	ldr	x20, [x29, #32]
Lloh0:
	adrp	x24, _FALSE@GOTPAGE
Lloh1:
	ldr	x24, [x24, _FALSE@GOTPAGEOFF]
	ldr	x28, [x24]
	stp	x28, xzr, [sp, #64]
Lloh2:
	adrp	x8, _svn_depth_empty@GOTPAGE
Lloh3:
	ldr	x8, [x8, _svn_depth_empty@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w8, w2
Lloh5:
	adrp	x8, _svn_depth_infinity@GOTPAGE
Lloh6:
	ldr	x8, [x8, _svn_depth_infinity@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	ccmp	w8, w2, #4, ne
	cset	w0, eq
	bl	_SVN_ERR_ASSERT
	add	x0, sp, #56
	mov	x1, x21
	mov	x2, x19
	mov	x3, x20
	bl	_svn_wc__db_is_wcroot
	bl	_SVN_ERR
	ldr	x8, [sp, #56]
	mov	x1, x19
	cbnz	x8, LBB0_2
; %bb.1:
	mov	x0, x19
	mov	x1, x20
	bl	_svn_dirent_dirname
	mov	x1, x0
LBB0_2:
	mov	x0, x21
	mov	x2, x20
	bl	_svn_wc__write_check
	bl	_SVN_ERR
	mov	x0, x21
	mov	x1, x19
	mov	x2, x26
	mov	x3, x27
	mov	x4, x20
	mov	x5, x20
	bl	_svn_wc__db_op_revert
	bl	_svn_error_trace
	cbz	x0, LBB0_4
; %bb.3:
	mov	x27, x0
	b	LBB0_9
LBB0_4:
	ldr	x3, [x24]
	add	x0, sp, #72
	mov	x1, x21
	mov	x2, x19
	mov	x4, x20
	mov	x5, x20
	bl	_svn_wc__db_read_single_info
	bl	_svn_error_trace
	cbz	x0, LBB0_7
; %bb.5:
	mov	x27, x0
	ldr	x8, [x0]
Lloh8:
	adrp	x9, _SVN_ERR_WC_PATH_NOT_FOUND@GOTPAGE
Lloh9:
	ldr	x9, [x9, _SVN_ERR_WC_PATH_NOT_FOUND@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.6:
	mov	x0, x27
	bl	_svn_error_clear
	mov	x7, #0
	str	xzr, [sp, #72]
	b	LBB0_8
LBB0_7:
	ldr	x7, [sp, #72]
LBB0_8:
	ldr	x8, [x29, #24]
	ldr	w9, [x29, #16]
Lloh11:
	adrp	x10, _TRUE@GOTPAGE
Lloh12:
	ldr	x10, [x10, _TRUE@GOTPAGEOFF]
Lloh13:
	ldr	w6, [x10]
	stp	x8, x20, [sp, #24]
	add	x0, sp, #64
	str	w9, [sp, #16]
	str	x22, [sp, #8]
	str	w23, [sp]
	mov	x1, x21
	mov	x2, x19
	mov	x3, x26
	ldr	x4, [sp, #48]                   ; 8-byte Folded Reload
	mov	x5, x25
	bl	_revert_restore
	bl	_svn_error_trace
	mov	x27, x0
	ldr	x28, [sp, #64]
LBB0_9:
	cbz	x28, LBB0_11
; %bb.10:
	mov	x0, x21
	mov	x1, x19
	mov	x2, x23
	mov	x3, x22
	mov	x4, x20
	bl	_svn_wc__wq_run
	mov	x1, x0
	mov	x0, x27
	bl	_svn_error_compose_create
	mov	x27, x0
LBB0_11:
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	bl	_svn_wc__db_revert_list_done
	mov	x1, x0
	mov	x0, x27
	bl	_svn_error_compose_create
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_svn_depth_empty,4,2            ; @svn_depth_empty
	.comm	_svn_depth_infinity,4,2         ; @svn_depth_infinity
	.comm	_SVN_ERR_WC_PATH_NOT_FOUND,8,3  ; @SVN_ERR_WC_PATH_NOT_FOUND
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_revert
.subsections_via_symbols
