	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_cmdline__edit_file_externally ## -- Begin function svn_cmdline__edit_file_externally
	.p2align	4, 0x90
_svn_cmdline__edit_file_externally:     ## @svn_cmdline__edit_file_externally
	.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	%r12
	pushq	%rbx
	subq	$48, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %rdx
	leaq	-48(%rbp), %rdi
	leaq	-64(%rbp), %rsi
	callq	_svn_dirent_split
	leaq	-72(%rbp), %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_find_editor_binary
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	_APR_FILEPATH_NATIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-56(%rbp), %rdi
	movq	%r12, %rdx
	callq	_apr_filepath_get
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rax, %rbx
	leaq	L_.str(%rip), %rdi
	callq	__
	movq	%rbx, %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_svn_error_wrap_apr
	jmp	LBB0_12
LBB0_2:
	movq	-48(%rbp), %rsi
	cmpb	$0, (%rsi)
	je	LBB0_3
## %bb.4:
	leaq	-40(%rbp), %rdi
	movq	%r12, %rdx
	callq	_svn_path_cstring_from_utf8
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-40(%rbp), %rdi
	jmp	LBB0_5
LBB0_3:
	leaq	L_.str.1(%rip), %rdi
	movq	%rdi, -40(%rbp)
LBB0_5:
	movq	%r12, %rsi
	callq	_apr_filepath_set
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	%rax, %r14
	leaq	L_.str.2(%rip), %rdi
	callq	__
	movq	-48(%rbp), %rdx
	movq	%r14, %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_svn_error_wrap_apr
	jmp	LBB0_12
LBB0_7:
	movq	-72(%rbp), %rdx
	movq	-64(%rbp), %rcx
	leaq	L_.str.3(%rip), %rsi
	movq	%r12, %rdi
	callq	_apr_psprintf
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_system
	movl	%eax, %r15d
	movq	-56(%rbp), %rdi
	movq	%r12, %rsi
	callq	_apr_filepath_set
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	%rax, %rbx
	leaq	L_.str.4(%rip), %rdi
	callq	__
	movq	%rbx, %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_svn_error_wrap_apr
	movq	_stderr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_TRUE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	leaq	L_.str.5(%rip), %rcx
	movq	%rax, %rdi
	callq	_svn_handle_error2
LBB0_9:
	testl	%r15d, %r15d
	je	LBB0_11
## %bb.10:
	movq	_SVN_ERR_EXTERNAL_PROGRAM@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.6(%rip), %rdi
	callq	__
	movl	%ebx, %edi
	xorl	%esi, %esi
	movl	%eax, %edx
	movq	%r14, %rcx
	movl	%r15d, %r8d
	callq	_svn_error_createf
	jmp	LBB0_12
LBB0_11:
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_12:
	addq	$48, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_APR_FILEPATH_NATIVE,4,2        ## @APR_FILEPATH_NATIVE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Can't get working directory"

L_.str.1:                               ## @.str.1
	.asciz	"."

L_.str.2:                               ## @.str.2
	.asciz	"Can't change working directory to '%s'"

L_.str.3:                               ## @.str.3
	.asciz	"%s %s"

L_.str.4:                               ## @.str.4
	.asciz	"Can't restore working directory"

	.comm	_stderr,4,2                     ## @stderr
	.comm	_TRUE,4,2                       ## @TRUE
L_.str.5:                               ## @.str.5
	.asciz	"svn: "

	.comm	_SVN_ERR_EXTERNAL_PROGRAM,4,2   ## @SVN_ERR_EXTERNAL_PROGRAM
L_.str.6:                               ## @.str.6
	.asciz	"system('%s') returned %d"

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

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_cmdline__edit_file_externally ; -- Begin function svn_cmdline__edit_file_externally
	.p2align	2
_svn_cmdline__edit_file_externally:     ; @svn_cmdline__edit_file_externally
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x2, x0
	add	x0, sp, #32
	add	x1, sp, #24
	bl	_svn_dirent_split
	add	x0, sp, #40
	mov	x1, x21
	mov	x2, x20
	bl	_find_editor_binary
	bl	_SVN_ERR
Lloh0:
	adrp	x8, _APR_FILEPATH_NATIVE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _APR_FILEPATH_NATIVE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x0, sp, #8
	mov	x2, x19
	bl	_apr_filepath_get
	cbz	x0, LBB0_2
; %bb.1:
	mov	x20, x0
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x1, x0
	b	LBB0_7
LBB0_2:
	ldr	x1, [sp, #32]
	ldrb	w8, [x1]
	cbz	w8, LBB0_4
; %bb.3:
	add	x0, sp, #16
	mov	x2, x19
	bl	_svn_path_cstring_from_utf8
	bl	_SVN_ERR
	ldr	x0, [sp, #16]
	b	LBB0_5
LBB0_4:
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	str	x0, [sp, #16]
LBB0_5:
	mov	x1, x19
	bl	_apr_filepath_set
	cbz	x0, LBB0_9
; %bb.6:
	mov	x20, x0
Lloh7:
	adrp	x0, l_.str.2@PAGE
Lloh8:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	__
	mov	x1, x0
	ldr	x8, [sp, #32]
	str	x8, [sp]
LBB0_7:
	mov	x0, x20
	bl	_svn_error_wrap_apr
LBB0_8:
	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
	add	sp, sp, #96
	ret
LBB0_9:
	ldr	x2, [sp, #40]
	ldr	x3, [sp, #24]
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_apr_psprintf
	mov	x20, x0
	bl	_system
	mov	x21, x0
	ldr	x0, [sp, #8]
	mov	x1, x19
	bl	_apr_filepath_set
	cbz	x0, LBB0_11
; %bb.10:
	mov	x19, x0
Lloh11:
	adrp	x0, l_.str.4@PAGE
Lloh12:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	__
	mov	x1, x0
	mov	x0, x19
	bl	_svn_error_wrap_apr
Lloh13:
	adrp	x8, _stderr@GOTPAGE
Lloh14:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
Lloh16:
	adrp	x8, _TRUE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
Lloh19:
	adrp	x3, l_.str.5@PAGE
Lloh20:
	add	x3, x3, l_.str.5@PAGEOFF
	bl	_svn_handle_error2
LBB0_11:
	cbz	w21, LBB0_13
; %bb.12:
Lloh21:
	adrp	x8, _SVN_ERR_EXTERNAL_PROGRAM@GOTPAGE
Lloh22:
	ldr	x8, [x8, _SVN_ERR_EXTERNAL_PROGRAM@GOTPAGEOFF]
Lloh23:
	ldr	w19, [x8]
Lloh24:
	adrp	x0, l_.str.6@PAGE
Lloh25:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	__
	mov	x2, x0
	mov	x0, x19
	mov	x1, #0
	mov	x3, x20
	mov	x4, x21
	bl	_svn_error_createf
	b	LBB0_8
LBB0_13:
Lloh26:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh27:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh28:
	ldr	x0, [x8]
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_APR_FILEPATH_NATIVE,4,2        ; @APR_FILEPATH_NATIVE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Can't get working directory"

l_.str.1:                               ; @.str.1
	.asciz	"."

l_.str.2:                               ; @.str.2
	.asciz	"Can't change working directory to '%s'"

l_.str.3:                               ; @.str.3
	.asciz	"%s %s"

l_.str.4:                               ; @.str.4
	.asciz	"Can't restore working directory"

	.comm	_stderr,4,2                     ; @stderr
	.comm	_TRUE,4,2                       ; @TRUE
l_.str.5:                               ; @.str.5
	.asciz	"svn: "

	.comm	_SVN_ERR_EXTERNAL_PROGRAM,4,2   ; @SVN_ERR_EXTERNAL_PROGRAM
l_.str.6:                               ; @.str.6
	.asciz	"system('%s') returned %d"

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