	.file	"extr_externals.c_svn_wc__get_file_external_editor.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	svn_wc__get_file_external_editor
	.type	svn_wc__get_file_external_editor, @function
svn_wc__get_file_external_editor:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 168
	.cfi_def_cfa_offset 224
	mov	rax, QWORD PTR 224[rsp]
	mov	QWORD PTR 152[rsp], r9
	mov	QWORD PTR 24[rsp], r8
	mov	r14, QWORD PTR 232[rsp]
	mov	QWORD PTR 56[rsp], rax
	mov	rax, QWORD PTR 240[rsp]
	mov	QWORD PTR 32[rsp], rdi
	mov	QWORD PTR 64[rsp], rax
	mov	rax, QWORD PTR 248[rsp]
	mov	QWORD PTR 40[rsp], rsi
	mov	esi, 216
	mov	QWORD PTR 72[rsp], rax
	mov	eax, DWORD PTR 256[rsp]
	mov	QWORD PTR 48[rsp], rdx
	mov	DWORD PTR 84[rsp], eax
	mov	rax, QWORD PTR 264[rsp]
	mov	QWORD PTR 88[rsp], rax
	mov	rax, QWORD PTR 272[rsp]
	mov	QWORD PTR 96[rsp], rax
	mov	rax, QWORD PTR 280[rsp]
	mov	QWORD PTR 104[rsp], rax
	mov	rax, QWORD PTR 288[rsp]
	mov	QWORD PTR 112[rsp], rax
	mov	rax, QWORD PTR 296[rsp]
	mov	QWORD PTR 8[rsp], rax
	mov	rax, QWORD PTR 304[rsp]
	mov	QWORD PTR 16[rsp], rax
	mov	eax, DWORD PTR 312[rsp]
	mov	rbx, QWORD PTR 360[rsp]
	mov	rdx, QWORD PTR [rcx]
	mov	DWORD PTR 128[rsp], eax
	mov	rax, QWORD PTR 320[rsp]
	mov	rdi, rbx
	mov	QWORD PTR 144[rsp], rdx
	mov	r12d, DWORD PTR 328[rsp]
	mov	QWORD PTR 120[rsp], rax
	mov	eax, DWORD PTR 344[rsp]
	mov	r13, QWORD PTR 336[rsp]
	mov	DWORD PTR 132[rsp], eax
	mov	rax, QWORD PTR 352[rsp]
	mov	QWORD PTR 136[rsp], rax
	call	apr_pcalloc@PLT
	mov	rdi, rbx
	mov	rbp, rax
	call	svn_delta_default_editor@PLT
	mov	rdx, QWORD PTR 144[rsp]
	mov	rsi, QWORD PTR 24[rsp]
	mov	rdi, rbx
	mov	QWORD PTR 208[rbp], rbx
	mov	r15, rax
	mov	QWORD PTR 200[rbp], rdx
	call	apr_pstrdup@PLT
	mov	r9, QWORD PTR 152[rsp]
	mov	QWORD PTR 176[rbp], rax
	test	r9, r9
	je	.L2
	mov	rsi, r9
	mov	rdi, rbx
	call	apr_pstrdup@PLT
	mov	QWORD PTR 192[rbp], rax
.L3:
	mov	rdi, QWORD PTR 176[rbp]
	xor	esi, esi
	call	svn_dirent_basename@PLT
	mov	rsi, r14
	mov	rdi, rbx
	mov	DWORD PTR 184[rbp], eax
	mov	rax, QWORD PTR 48[rsp]
	mov	QWORD PTR 168[rbp], rax
	call	apr_pstrdup@PLT
	mov	rsi, QWORD PTR 64[rsp]
	mov	rdi, rbx
	mov	QWORD PTR 0[rbp], rax
	call	apr_pstrdup@PLT
	mov	rsi, QWORD PTR 56[rsp]
	mov	rdi, QWORD PTR 0[rbp]
	mov	rdx, rbx
	mov	QWORD PTR 160[rbp], rax
	call	svn_uri_skip_ancestor@PLT
	mov	rsi, QWORD PTR 104[rsp]
	mov	rdi, rbx
	mov	QWORD PTR 144[rbp], rax
	mov	QWORD PTR 152[rbp], rax
	mov	rax, QWORD PTR SVN_INVALID_REVNUM[rip]
	mov	QWORD PTR 136[rbp], rax
	mov	rax, QWORD PTR 72[rsp]
	mov	QWORD PTR 128[rbp], rax
	mov	eax, DWORD PTR 84[rsp]
	mov	DWORD PTR 120[rbp], eax
	mov	rax, QWORD PTR 96[rsp]
	mov	QWORD PTR 112[rbp], rax
	mov	rax, QWORD PTR 88[rsp]
	mov	QWORD PTR 8[rbp], rax
	call	apr_pstrdup@PLT
	mov	rsi, QWORD PTR 112[rsp]
	mov	rdx, rbx
	mov	rdi, r14
	mov	QWORD PTR 104[rbp], rax
	call	svn_uri_skip_ancestor@PLT
	mov	rcx, QWORD PTR 8[rsp]
	mov	rdx, QWORD PTR svn_opt_revision_number[rip]
	mov	QWORD PTR 96[rbp], rax
	mov	rax, QWORD PTR SVN_INVALID_REVNUM[rip]
	mov	QWORD PTR 88[rbp], rax
	mov	rsi, rax
	cmp	QWORD PTR [rcx], rdx
	jne	.L4
	mov	rsi, QWORD PTR 8[rcx]
.L4:
	mov	rcx, QWORD PTR 16[rsp]
	mov	QWORD PTR 80[rbp], rsi
	cmp	rdx, QWORD PTR [rcx]
	jne	.L5
	mov	rax, QWORD PTR 8[rcx]
.L5:
	mov	QWORD PTR 72[rbp], rax
	mov	rdi, rbx
	mov	edx, 4
	mov	esi, 1
	mov	eax, DWORD PTR 128[rsp]
	mov	DWORD PTR 48[rbp], r12d
	mov	QWORD PTR 40[rbp], r13
	mov	DWORD PTR 64[rbp], eax
	mov	rax, QWORD PTR 120[rsp]
	mov	QWORD PTR 56[rbp], rax
	mov	eax, DWORD PTR 132[rsp]
	mov	DWORD PTR 32[rbp], eax
	mov	rax, QWORD PTR 136[rsp]
	mov	QWORD PTR 24[rbp], rax
	call	apr_array_make@PLT
	mov	r9, QWORD PTR 40[rsp]
	mov	rcx, rbp
	mov	rdx, r15
	mov	DWORD PTR 16[rbp], eax
	mov	eax, DWORD PTR open_root[rip]
	mov	rsi, r13
	mov	edi, r12d
	mov	r8, QWORD PTR 32[rsp]
	mov	DWORD PTR 28[r15], eax
	mov	eax, DWORD PTR set_target_revision[rip]
	mov	DWORD PTR 24[r15], eax
	mov	eax, DWORD PTR add_file[rip]
	mov	DWORD PTR 20[r15], eax
	mov	eax, DWORD PTR open_file[rip]
	mov	DWORD PTR 16[r15], eax
	mov	eax, DWORD PTR apply_textdelta[rip]
	mov	DWORD PTR 12[r15], eax
	mov	eax, DWORD PTR change_file_prop[rip]
	mov	DWORD PTR 8[r15], eax
	mov	eax, DWORD PTR close_file[rip]
	mov	DWORD PTR 4[r15], eax
	mov	eax, DWORD PTR close_edit[rip]
	mov	DWORD PTR [r15], eax
	mov	QWORD PTR 224[rsp], rbx
	add	rsp, 168
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	jmp	svn_delta_get_cancellation_editor@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rdi, QWORD PTR 24[rsp]
	mov	rsi, rbx
	call	svn_dirent_dirname@PLT
	mov	QWORD PTR 192[rbp], rax
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	svn_wc__get_file_external_editor, .-svn_wc__get_file_external_editor
	.comm	svn_opt_revision_number,8,8
	.comm	set_target_revision,4,4
	.comm	open_root,4,4
	.comm	open_file,4,4
	.comm	close_file,4,4
	.comm	close_edit,4,4
	.comm	change_file_prop,4,4
	.comm	apply_textdelta,4,4
	.comm	add_file,4,4
	.comm	SVN_INVALID_REVNUM,8,8
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_externals.c_svn_wc__get_file_external_editor.c"
	.text
	.align	2
	.global	svn_wc__get_file_external_editor
	.syntax unified
	.arm
	.fpu softvfp
	.type	svn_wc__get_file_external_editor, %function
svn_wc__get_file_external_editor:
	@ args = 84, pretend = 0, frame = 72
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	ip, r1
	mov	lr, r0
	sub	sp, sp, #76
	ldr	r5, [r3]
	ldr	r3, [sp, #128]
	str	r2, [sp, #20]
	str	r3, [sp, #24]
	ldr	r3, [sp, #132]
	ldr	r2, [sp, #116]
	str	r3, [sp, #28]
	ldr	r3, [sp, #136]
	ldr	r4, [sp, #188]
	str	r3, [sp, #32]
	ldr	r3, [sp, #140]
	str	r2, [sp, #68]
	str	r3, [sp, #36]
	ldr	r3, [sp, #144]
	str	lr, [sp, #12]
	str	r3, [sp, #40]
	ldr	r3, [sp, #148]
	str	ip, [sp, #16]
	str	r3, [sp, #44]
	ldr	r3, [sp, #152]
	ldr	r8, [sp, #112]
	str	r3, [sp, #48]
	ldr	r3, [sp, #160]
	ldr	r10, [sp, #120]
	str	r3, [sp, #8]
	ldr	r3, [sp, #164]
	ldr	r7, [sp, #124]
	str	r3, [sp, #52]
	ldr	r3, [sp, #168]
	ldr	r9, [sp, #156]
	str	r3, [sp, #56]
	ldr	fp, [sp, #172]
	ldr	r3, [sp, #176]
	mov	r1, #108
	str	r3, [sp, #4]
	ldr	r3, [sp, #180]
	mov	r0, r4
	str	r3, [sp, #60]
	ldr	r3, [sp, #184]
	str	r3, [sp, #64]
	bl	apr_pcalloc
	mov	r6, r0
	mov	r0, r4
	bl	svn_delta_default_editor
	mov	ip, r0
	str	r5, [r6, #100]
	mov	r1, r8
	mov	r0, r4
	str	r4, [r6, #104]
	mov	r5, ip
	bl	apr_pstrdup
	ldr	r2, [sp, #68]
	str	r0, [r6, #88]
	cmp	r2, #0
	beq	.L2
	mov	r1, r2
	mov	r0, r4
	bl	apr_pstrdup
	str	r0, [r6, #96]
.L3:
	mov	r1, #0
	ldr	r0, [r6, #88]
	bl	svn_dirent_basename
	ldr	r3, [sp, #20]
	mov	r1, r7
	str	r3, [r6, #84]
	str	r0, [r6, #92]
	mov	r0, r4
	bl	apr_pstrdup
	ldr	r1, [sp, #24]
	str	r0, [r6]
	mov	r0, r4
	bl	apr_pstrdup
	mov	r1, r10
	mov	r2, r4
	str	r0, [r6, #80]
	ldr	r0, [r6]
	bl	svn_uri_skip_ancestor
	ldr	r3, [sp, #28]
	ldr	r8, .L9
	str	r3, [r6, #64]
	ldr	r3, [sp, #32]
	ldr	r2, [r8]
	str	r3, [r6, #60]
	ldr	r3, [sp, #40]
	ldr	r1, [sp, #44]
	str	r3, [r6, #56]
	ldr	r3, [sp, #36]
	str	r0, [r6, #72]
	str	r3, [r6, #4]
	str	r0, [r6, #76]
	str	r2, [r6, #68]
	mov	r0, r4
	bl	apr_pstrdup
	mov	r2, r4
	ldr	r1, [sp, #48]
	str	r0, [r6, #52]
	mov	r0, r7
	bl	svn_uri_skip_ancestor
	ldr	r2, .L9+4
	ldr	ip, [r9]
	ldr	r1, [r2]
	ldr	r2, [r8]
	cmp	ip, r1
	movne	ip, r2
	ldr	r3, [sp, #8]
	str	r0, [r6, #48]
	ldr	r0, [r3]
	ldreq	ip, [r9, #4]
	cmp	r1, r0
	str	r2, [r6, #44]
	ldreq	r2, [r3, #4]
	ldr	r3, [sp, #52]
	str	r2, [r6, #36]
	str	r3, [r6, #32]
	ldr	r2, [sp, #60]
	ldr	r3, [sp, #56]
	str	r2, [r6, #16]
	str	r3, [r6, #28]
	ldr	r2, [sp, #64]
	ldr	r3, [sp, #4]
	str	ip, [r6, #40]
	str	fp, [r6, #24]
	str	r3, [r6, #20]
	str	r2, [r6, #12]
	mov	r1, #1
	mov	r2, #4
	mov	r0, r4
	bl	apr_array_make
	ldr	r7, .L9+8
	ldr	ip, .L9+12
	ldr	r2, .L9+16
	ldr	r9, [r7]
	ldr	r8, .L9+20
	ldr	r7, [ip]
	ldr	lr, .L9+24
	ldr	ip, [r2]
	ldr	r1, .L9+28
	ldr	r2, .L9+32
	ldr	r10, [r8]
	ldr	r2, [r2]
	ldr	r8, [lr]
	ldr	lr, [r1]
	str	r0, [r6, #8]
	mov	r3, r6
	stmib	r5, {r2, ip, lr}
	mov	r0, fp
	mov	r2, r5
	ldr	r1, .L9+36
	ldr	ip, [sp, #16]
	ldr	r6, [r1]
	str	r10, [r5, #28]
	str	r9, [r5, #24]
	str	r8, [r5, #20]
	str	r7, [r5, #16]
	str	r6, [r5]
	ldr	r1, [sp, #4]
	str	ip, [sp, #116]
	ldr	ip, [sp, #12]
	str	r4, [sp, #120]
	str	ip, [sp, #112]
	add	sp, sp, #76
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	svn_delta_get_cancellation_editor
.L2:
	mov	r0, r8
	mov	r1, r4
	bl	svn_dirent_dirname
	str	r0, [r6, #96]
	b	.L3
.L10:
	.align	2
.L9:
	.word	SVN_INVALID_REVNUM
	.word	svn_opt_revision_number
	.word	set_target_revision
	.word	open_file
	.word	change_file_prop
	.word	open_root
	.word	add_file
	.word	apply_textdelta
	.word	close_file
	.word	close_edit
	.size	svn_wc__get_file_external_editor, .-svn_wc__get_file_external_editor
	.comm	svn_opt_revision_number,4,4
	.comm	set_target_revision,4,4
	.comm	open_root,4,4
	.comm	open_file,4,4
	.comm	close_file,4,4
	.comm	close_edit,4,4
	.comm	change_file_prop,4,4
	.comm	apply_textdelta,4,4
	.comm	add_file,4,4
	.comm	SVN_INVALID_REVNUM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
