	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_editor_binary
_find_editor_binary:                    ## @find_editor_binary
	.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, %rbx
	movq	%rdi, %r14
	movq	%rsi, -32(%rbp)
	testq	%rsi, %rsi
	jne	LBB0_8
## %bb.1:
	movq	%rdx, %r15
	leaq	L_.str(%rip), %rdi
	callq	_getenv
	movq	%rax, %rbx
	movq	%rax, -32(%rbp)
	testq	%rax, %rax
	jne	LBB0_8
## %bb.2:
	testq	%r15, %r15
	je	LBB0_3
## %bb.4:
	movq	_SVN_CONFIG_CATEGORY_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_svn_hash_gets
	movq	%rax, %rdi
	jmp	LBB0_5
LBB0_3:
	xorl	%edi, %edi
LBB0_5:
	movq	_SVN_CONFIG_SECTION_HELPERS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_SVN_CONFIG_OPTION_EDITOR_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-32(%rbp), %rsi
	xorl	%r8d, %r8d
	callq	_svn_config_get
	movq	-32(%rbp), %rbx
	testq	%rbx, %rbx
	jne	LBB0_8
## %bb.6:
	leaq	L_.str.1(%rip), %rdi
	callq	_getenv
	movq	%rax, %rbx
	movq	%rax, -32(%rbp)
	testq	%rax, %rax
	jne	LBB0_8
## %bb.7:
	leaq	L_.str.2(%rip), %rdi
	callq	_getenv
	movq	%rax, %rbx
	movq	%rax, -32(%rbp)
	testq	%rax, %rax
	je	LBB0_15
LBB0_8:
	movb	(%rbx), %al
	testb	%al, %al
	je	LBB0_13
## %bb.9:
	incq	%rbx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movsbl	%al, %edi
	callq	_svn_ctype_isspace
	testl	%eax, %eax
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	movzbl	(%rbx), %eax
	incq	%rbx
	testb	%al, %al
	jne	LBB0_10
	jmp	LBB0_13
LBB0_12:
	cmpb	$0, -1(%rbx)
	je	LBB0_13
## %bb.16:
	movq	-32(%rbp), %rax
	movq	%rax, (%r14)
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_17
LBB0_13:
	movq	_SVN_ERR_CL_NO_EXTERNAL_EDITOR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.3(%rip), %rdi
LBB0_14:
	callq	__
	movl	%ebx, %edi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	_svn_error_create
LBB0_17:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	movq	_SVN_ERR_CL_NO_EXTERNAL_EDITOR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.4(%rip), %rdi
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SVN_EDITOR"

	.comm	_SVN_CONFIG_CATEGORY_CONFIG,4,2 ## @SVN_CONFIG_CATEGORY_CONFIG
	.comm	_SVN_CONFIG_SECTION_HELPERS,4,2 ## @SVN_CONFIG_SECTION_HELPERS
	.comm	_SVN_CONFIG_OPTION_EDITOR_CMD,4,2 ## @SVN_CONFIG_OPTION_EDITOR_CMD
L_.str.1:                               ## @.str.1
	.asciz	"VISUAL"

L_.str.2:                               ## @.str.2
	.asciz	"EDITOR"

	.comm	_SVN_ERR_CL_NO_EXTERNAL_EDITOR,4,2 ## @SVN_ERR_CL_NO_EXTERNAL_EDITOR
L_.str.3:                               ## @.str.3
	.asciz	"The EDITOR, SVN_EDITOR or VISUAL environment variable or 'editor-cmd' run-time configuration option is empty or consists solely of whitespace. Expected a shell command."

L_.str.4:                               ## @.str.4
	.asciz	"None of the environment variables SVN_EDITOR, VISUAL or EDITOR are set, and no 'editor-cmd' run-time configuration option was found"

	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
	.comm	_SVN_CLIENT_EDITOR,8,3          ## @SVN_CLIENT_EDITOR
	.no_dead_strip	_find_editor_binary
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_editor_binary
_find_editor_binary:                    ; @find_editor_binary
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	str	x1, [sp, #8]
	cbnz	x1, LBB0_8
; %bb.1:
	mov	x20, x2
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_getenv
	mov	x1, x0
	str	x0, [sp, #8]
	cbnz	x0, LBB0_8
; %bb.2:
	cbz	x20, LBB0_4
; %bb.3:
Lloh2:
	adrp	x8, _SVN_CONFIG_CATEGORY_CONFIG@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SVN_CONFIG_CATEGORY_CONFIG@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_svn_hash_gets
	b	LBB0_5
LBB0_4:
	mov	x0, #0
LBB0_5:
Lloh5:
	adrp	x8, _SVN_CONFIG_SECTION_HELPERS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SVN_CONFIG_SECTION_HELPERS@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
Lloh8:
	adrp	x8, _SVN_CONFIG_OPTION_EDITOR_CMD@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SVN_CONFIG_OPTION_EDITOR_CMD@GOTPAGEOFF]
Lloh10:
	ldr	w3, [x8]
	add	x1, sp, #8
	mov	x4, #0
	bl	_svn_config_get
	ldr	x1, [sp, #8]
	cbnz	x1, LBB0_8
; %bb.6:
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_getenv
	mov	x1, x0
	str	x0, [sp, #8]
	cbnz	x0, LBB0_8
; %bb.7:
Lloh13:
	adrp	x0, l_.str.2@PAGE
Lloh14:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_getenv
	mov	x1, x0
	str	x0, [sp, #8]
	cbz	x0, LBB0_17
LBB0_8:
	ldrb	w8, [x1]
	cbz	w8, LBB0_14
; %bb.9:
	add	x20, x1, #1
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	sxtb	w0, w8
	bl	_svn_ctype_isspace
	cbz	w0, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldrb	w8, [x20], #1
	cbnz	w8, LBB0_10
	b	LBB0_14
LBB0_12:
	ldurb	w8, [x20, #-1]
	cbz	w8, LBB0_14
; %bb.13:
	ldr	x8, [sp, #8]
	str	x8, [x19]
Lloh15:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh17:
	ldr	x0, [x8]
	b	LBB0_16
LBB0_14:
Lloh18:
	adrp	x8, _SVN_ERR_CL_NO_EXTERNAL_EDITOR@GOTPAGE
Lloh19:
	ldr	x8, [x8, _SVN_ERR_CL_NO_EXTERNAL_EDITOR@GOTPAGEOFF]
Lloh20:
	ldr	w19, [x8]
Lloh21:
	adrp	x0, l_.str.3@PAGE
Lloh22:
	add	x0, x0, l_.str.3@PAGEOFF
LBB0_15:
	bl	__
	mov	x2, x0
	mov	x0, x19
	mov	x1, #0
	bl	_svn_error_create
LBB0_16:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_17:
Lloh23:
	adrp	x8, _SVN_ERR_CL_NO_EXTERNAL_EDITOR@GOTPAGE
Lloh24:
	ldr	x8, [x8, _SVN_ERR_CL_NO_EXTERNAL_EDITOR@GOTPAGEOFF]
Lloh25:
	ldr	w19, [x8]
Lloh26:
	adrp	x0, l_.str.4@PAGE
Lloh27:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_15
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SVN_EDITOR"

	.comm	_SVN_CONFIG_CATEGORY_CONFIG,4,2 ; @SVN_CONFIG_CATEGORY_CONFIG
	.comm	_SVN_CONFIG_SECTION_HELPERS,4,2 ; @SVN_CONFIG_SECTION_HELPERS
	.comm	_SVN_CONFIG_OPTION_EDITOR_CMD,4,2 ; @SVN_CONFIG_OPTION_EDITOR_CMD
l_.str.1:                               ; @.str.1
	.asciz	"VISUAL"

l_.str.2:                               ; @.str.2
	.asciz	"EDITOR"

	.comm	_SVN_ERR_CL_NO_EXTERNAL_EDITOR,4,2 ; @SVN_ERR_CL_NO_EXTERNAL_EDITOR
l_.str.3:                               ; @.str.3
	.asciz	"The EDITOR, SVN_EDITOR or VISUAL environment variable or 'editor-cmd' run-time configuration option is empty or consists solely of whitespace. Expected a shell command."

l_.str.4:                               ; @.str.4
	.asciz	"None of the environment variables SVN_EDITOR, VISUAL or EDITOR are set, and no 'editor-cmd' run-time configuration option was found"

	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
	.comm	_SVN_CLIENT_EDITOR,8,3          ; @SVN_CLIENT_EDITOR
	.no_dead_strip	_find_editor_binary
.subsections_via_symbols
