	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_file_smartly
_add_file_smartly:                      ## @add_file_smartly
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r13
	movq	%r8, -104(%rbp)                 ## 8-byte Spill
	movq	%rcx, %r14
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	movq	%rsi, -96(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r15
	movq	24(%rbp), %rbx
	movq	16(%rbp), %r12
	movl	40(%rdi), %edi
	callq	_svn_repos_fs
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	$0, -56(%rbp)
	movq	$0, -48(%rbp)
	movq	$0, (%r13)
	movq	_SVN_INVALID_REVNUM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r12)
	cmpq	$0, 32(%r15)
	je	LBB0_10
## %bb.1:
	cmpb	$47, (%r14)
	jne	LBB0_3
## %bb.2:
	movq	24(%rbp), %rbx
	jmp	LBB0_4
LBB0_3:
	movq	_SVN_VA_NULL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str(%rip), %rsi
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	movq	24(%rbp), %rbx
	movq	%rbx, %rdi
	movq	%r14, %rdx
	callq	_apr_pstrcat
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movq	%rax, %r14
LBB0_4:
	movl	24(%r15), %edx
	leaq	-56(%rbp), %rdi
	leaq	-48(%rbp), %rsi
	movq	%r14, %rcx
	movq	%rbx, %r8
	callq	_svn_fs_closest_copy
	movl	%eax, %edi
	callq	_SVN_ERR
	cmpq	$0, -56(%rbp)
	je	LBB0_10
## %bb.5:
	movq	-48(%rbp), %rdi
	movq	%r14, %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_10
## %bb.6:
	movq	-56(%rbp), %rdx
	movq	-48(%rbp), %rcx
	movq	16(%rbp), %rdi
	movq	%r13, %rsi
	movq	%rbx, %r8
	callq	_svn_fs_copied_from
	movl	%eax, %edi
	callq	_SVN_ERR
	cmpq	$0, 16(%r15)
	je	LBB0_10
## %bb.7:
	movq	16(%rbp), %rax
	movl	(%rax), %edx
	leaq	-112(%rbp), %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	%rbx, %rcx
	callq	_svn_fs_revision_root
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-112(%rbp), %rsi
	movq	(%r13), %rdx
	movl	8(%r15), %ecx
	leaq	-60(%rbp), %rdi
	movq	%rbx, %r8
	callq	*16(%r15)
	movl	%eax, %edi
	callq	_SVN_ERR
	cmpl	$0, -60(%rbp)
	jne	LBB0_9
## %bb.8:
	movq	$0, (%r13)
	movq	_SVN_INVALID_REVNUM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	16(%rbp), %rcx
	movl	%eax, (%rcx)
LBB0_9:
	movq	24(%rbp), %rbx
LBB0_10:
	movq	(%r15), %rax
	movq	(%r13), %rdx
	movq	16(%rbp), %rcx
	movl	(%rcx), %ecx
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movq	%rbx, %r8
	movq	-104(%rbp), %r9                 ## 8-byte Reload
	callq	*(%rax)
	movl	%eax, %edi
	callq	_svn_error_trace
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SVN_INVALID_REVNUM,4,2         ## @SVN_INVALID_REVNUM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"/"

	.comm	_SVN_VA_NULL,4,2                ## @SVN_VA_NULL
	.no_dead_strip	_add_file_smartly
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_file_smartly
_add_file_smartly:                      ; @add_file_smartly
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x19, x7
	mov	x21, x6
	mov	x23, x5
	mov	x20, x4
	mov	x27, x3
	mov	x22, x2
	mov	x24, x1
	mov	x25, x0
	ldr	w0, [x0, #40]
	bl	_svn_repos_fs
	stp	xzr, xzr, [sp, #16]
	str	xzr, [x23]
Lloh0:
	adrp	x28, _SVN_INVALID_REVNUM@GOTPAGE
Lloh1:
	ldr	x28, [x28, _SVN_INVALID_REVNUM@GOTPAGEOFF]
	ldr	w8, [x28]
	str	w8, [x21]
	ldr	x8, [x25, #32]
	cbz	x8, LBB0_5
; %bb.1:
	mov	x26, x0
	ldrb	w8, [x27]
	cmp	w8, #47
	b.eq	LBB0_3
; %bb.2:
Lloh2:
	adrp	x8, _SVN_VA_NULL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SVN_VA_NULL@GOTPAGEOFF]
Lloh4:
	ldr	w3, [x8]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x27
	bl	_apr_pstrcat
	mov	x27, x0
LBB0_3:
	ldr	w2, [x25, #24]
	add	x0, sp, #24
	add	x1, sp, #16
	mov	x3, x27
	mov	x4, x19
	bl	_svn_fs_closest_copy
	bl	_SVN_ERR
	ldr	x8, [sp, #24]
	cbz	x8, LBB0_5
; %bb.4:
	ldr	x0, [sp, #16]
	mov	x1, x27
	bl	_strcmp
	cbz	x0, LBB0_6
LBB0_5:
	ldr	x8, [x25]
	ldr	x8, [x8]
	ldr	x2, [x23]
	ldr	w3, [x21]
	mov	x0, x24
	mov	x1, x22
	mov	x4, x19
	mov	x5, x20
	blr	x8
	bl	_svn_error_trace
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_6:
	ldp	x3, x2, [sp, #16]
	mov	x0, x21
	mov	x1, x23
	mov	x4, x19
	bl	_svn_fs_copied_from
	bl	_SVN_ERR
	ldr	x8, [x25, #16]
	cbz	x8, LBB0_5
; %bb.7:
	ldr	w2, [x21]
	mov	x0, sp
	mov	x1, x26
	mov	x3, x19
	bl	_svn_fs_revision_root
	bl	_SVN_ERR
	ldr	x8, [x25, #16]
	ldr	x1, [sp]
	ldr	x2, [x23]
	ldr	w3, [x25, #8]
	add	x0, sp, #12
	mov	x4, x19
	blr	x8
	bl	_SVN_ERR
	ldr	w8, [sp, #12]
	cbnz	w8, LBB0_5
; %bb.8:
	str	xzr, [x23]
	ldr	w8, [x28]
	str	w8, [x21]
	b	LBB0_5
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_SVN_INVALID_REVNUM,4,2         ; @SVN_INVALID_REVNUM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"/"

	.comm	_SVN_VA_NULL,4,2                ; @SVN_VA_NULL
	.no_dead_strip	_add_file_smartly
.subsections_via_symbols
