	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ra_svn_close_edit
_ra_svn_close_edit:                     ## @ra_svn_close_edit
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	xorl	%edi, %edi
	cmpq	$0, 24(%rbx)
	sete	%dil
	callq	_SVN_ERR_ASSERT
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 24(%rbx)
	movl	16(%rbx), %edi
	movq	%r14, %rsi
	callq	_svn_ra_svn__write_cmd_close_edit
	movl	%eax, %edi
	callq	_SVN_ERR
	movl	16(%rbx), %edi
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rsi
	callq	_svn_ra_svn__read_cmd_response
	movl	%eax, %edi
	callq	_svn_error_trace
	testq	%rax, %rax
	je	LBB0_1
## %bb.4:
	movq	%rax, %r15
	movl	16(%rbx), %edi
	movq	%r14, %rsi
	callq	_svn_ra_svn__write_cmd_abort_edit
	movl	%eax, %edi
	callq	_svn_error_trace
	movq	%r15, %rdi
	movq	%rax, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_svn_error_compose_create       ## TAILCALL
LBB0_1:
	movq	8(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movl	(%rbx), %edi
	callq	*%rax
	movl	%eax, %edi
	callq	_SVN_ERR
LBB0_3:
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TRUE,8,3                       ## @TRUE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

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

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ra_svn_close_edit
_ra_svn_close_edit:                     ; @ra_svn_close_edit
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x0, #24]
	cmp	x8, #0
	cset	w0, eq
	bl	_SVN_ERR_ASSERT
Lloh0:
	adrp	x8, _TRUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [x19, #24]
	ldr	w0, [x19, #16]
	mov	x1, x20
	bl	_svn_ra_svn__write_cmd_close_edit
	bl	_SVN_ERR
	ldr	w0, [x19, #16]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x1, x20
	bl	_svn_ra_svn__read_cmd_response
	bl	_svn_error_trace
	cbz	x0, LBB0_2
; %bb.1:
	mov	x21, x0
	ldr	w0, [x19, #16]
	mov	x1, x20
	bl	_svn_ra_svn__write_cmd_abort_edit
	bl	_svn_error_trace
	mov	x1, x0
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_svn_error_compose_create
LBB0_2:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_4
; %bb.3:
	ldr	w0, [x19]
	blr	x8
	bl	_SVN_ERR
LBB0_4:
Lloh5:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh7:
	ldr	x0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_TRUE,8,3                       ; @TRUE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

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