	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_client__mtcc_add_add_file  ## -- Begin function svn_client__mtcc_add_add_file
	.p2align	4, 0x90
_svn_client__mtcc_add_add_file:         ## @svn_client__mtcc_add_add_file
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r13
	movq	%rcx, %r15
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, %rbx
	callq	_svn_relpath_is_canonical
	testq	%rax, %rax
	setne	%al
	testq	%r12, %r12
	setne	%cl
	andb	%al, %cl
	movzbl	%cl, %edi
	callq	_SVN_ERR_ASSERT
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	callq	_mtcc_verify_create
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	%rbx, %rdi
	callq	_SVN_PATH_IS_EMPTY
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%r15, %rdi
	callq	_MTCC_UNMODIFIED
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movq	8(%r15), %rcx
	movq	%rcx, -48(%rbp)
	jmp	LBB0_3
LBB0_5:
	movq	8(%r15), %rcx
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %r10d
	movl	(%r15), %eax
	subq	$8, %rsp
	leaq	-48(%rbp), %rdi
	leaq	-52(%rbp), %rsi
	movq	%rbx, %rdx
	movl	%r8d, %r9d
	pushq	%r13
	pushq	%rax
	pushq	%r10
	callq	_mtcc_op_find
	addq	$32, %rsp
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-48(%rbp), %rcx
	testq	%rcx, %rcx
	je	LBB0_7
## %bb.6:
	cmpl	$0, -52(%rbp)
	je	LBB0_7
LBB0_3:
	movq	_OP_ADD_FILE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rcx)
	movq	%r12, 8(%rcx)
	testq	%r14, %r14
	je	LBB0_4
## %bb.8:
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_svn_checksum_dup
	movq	-48(%rbp), %rcx
	jmp	LBB0_9
LBB0_7:
	movq	_SVN_ERR_ILLEGAL_TARGET@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%r14d, %edi
	xorl	%esi, %esi
	movl	%eax, %edx
	movq	%rbx, %rcx
	callq	_svn_error_createf
	jmp	LBB0_10
LBB0_4:
	xorl	%eax, %eax
LBB0_9:
	movq	%rax, (%rcx)
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_10:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_SVN_ERR_ILLEGAL_TARGET,4,2     ## @SVN_ERR_ILLEGAL_TARGET
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Can't add file at '%s'"

	.comm	_OP_ADD_FILE,4,2                ## @OP_ADD_FILE
	.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_client__mtcc_add_add_file  ; -- Begin function svn_client__mtcc_add_add_file
	.p2align	2
_svn_client__mtcc_add_add_file:         ; @svn_client__mtcc_add_add_file
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x23, x4
	mov	x20, x3
	mov	x19, x2
	mov	x22, x1
	mov	x21, x0
	bl	_svn_relpath_is_canonical
	cmp	x22, #0
	ccmp	x0, #0, #4, ne
	cset	w0, ne
	bl	_SVN_ERR_ASSERT
	mov	x0, x20
	mov	x1, x21
	mov	x2, x23
	bl	_mtcc_verify_create
	bl	_SVN_ERR
	mov	x0, x21
	bl	_SVN_PATH_IS_EMPTY
	cbz	x0, LBB0_3
; %bb.1:
	mov	x0, x20
	bl	_MTCC_UNMODIFIED
	cbz	x0, LBB0_3
; %bb.2:
	ldr	x8, [x20, #8]
	str	x8, [sp, #24]
	b	LBB0_5
LBB0_3:
Lloh0:
	adrp	x8, _FALSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
	ldr	x3, [x20, #8]
Lloh2:
	ldr	w4, [x8]
Lloh3:
	adrp	x8, _TRUE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh5:
	ldr	w6, [x8]
	ldr	w7, [x20]
	str	x23, [sp]
	add	x0, sp, #24
	add	x1, sp, #20
	mov	x2, x21
	mov	x5, x4
	bl	_mtcc_op_find
	bl	_SVN_ERR
	ldr	x8, [sp, #24]
	cbz	x8, LBB0_7
; %bb.4:
	ldr	w9, [sp, #20]
	cbz	w9, LBB0_7
LBB0_5:
Lloh6:
	adrp	x9, _OP_ADD_FILE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _OP_ADD_FILE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	str	w9, [x8, #16]
	str	x22, [x8, #8]
	cbz	x19, LBB0_8
; %bb.6:
	ldr	w1, [x20]
	mov	x0, x19
	bl	_svn_checksum_dup
	ldr	x8, [sp, #24]
	b	LBB0_9
LBB0_7:
Lloh9:
	adrp	x8, _SVN_ERR_ILLEGAL_TARGET@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SVN_ERR_ILLEGAL_TARGET@GOTPAGEOFF]
Lloh11:
	ldr	w19, [x8]
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x2, x0
	mov	x0, x19
	mov	x1, #0
	mov	x3, x21
	bl	_svn_error_createf
	b	LBB0_10
LBB0_8:
	mov	x0, #0
LBB0_9:
	str	x0, [x8]
Lloh14:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh16:
	ldr	x0, [x8]
LBB0_10:
	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
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_SVN_ERR_ILLEGAL_TARGET,4,2     ; @SVN_ERR_ILLEGAL_TARGET
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Can't add file at '%s'"

	.comm	_OP_ADD_FILE,4,2                ; @OP_ADD_FILE
	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
.subsections_via_symbols
