	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function maybe_transfer_one_pristine
_maybe_transfer_one_pristine:           ## @maybe_transfer_one_pristine
	.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
	movl	%r9d, -60(%rbp)                 ## 4-byte Spill
	movl	%r8d, %r12d
	movq	%rcx, %rbx
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movq	24(%rbp), %r13
	movl	4(%rsi), %esi
	movq	_STMT_INSERT_OR_IGNORE_PRISTINE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-48(%rbp), %rdi
	callq	_svn_sqlite__get_statement
	movq	%rax, %rdi
	callq	_SVN_ERR
	movq	-48(%rbp), %rdi
	movl	$1, %esi
	movq	%r14, %rdx
	movq	%r13, %rcx
	callq	_svn_sqlite__bind_checksum
	movq	%rax, %rdi
	callq	_SVN_ERR
	movq	-48(%rbp), %rdi
	movl	$2, %esi
	movq	%rbx, %rdx
	movq	%r13, %rcx
	callq	_svn_sqlite__bind_checksum
	movq	%rax, %rdi
	callq	_SVN_ERR
	movq	-48(%rbp), %rdi
	movl	$3, %esi
	movl	%r12d, %edx
	callq	_svn_sqlite__bind_int64
	movq	%rax, %rdi
	callq	_SVN_ERR
	movq	-48(%rbp), %rsi
	leaq	-64(%rbp), %rdi
	callq	_svn_sqlite__update
	movq	%rax, %rdi
	callq	_SVN_ERR
	cmpl	$0, -64(%rbp)
	je	LBB0_6
## %bb.1:
	movq	16(%rbp), %rbx
	movq	%r15, %rdi
	movq	%r13, %rsi
	movq	%r13, %rdx
	callq	_pristine_get_tempdir
	movq	_svn_io_file_del_on_pool_cleanup@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leaq	-96(%rbp), %rdi
	leaq	-72(%rbp), %rsi
	movl	%eax, %edx
	movq	%r13, %r8
	movq	%r13, %r9
	callq	_svn_stream_open_unique
	movq	%rax, %rdi
	callq	_SVN_ERR
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	leaq	-88(%rbp), %rdi
	movq	%r14, %rdx
	movq	%r13, %rcx
	movq	%r13, %r8
	callq	_get_pristine_fname
	movq	%rax, %rdi
	callq	_SVN_ERR
	movq	-88(%rbp), %rsi
	leaq	-104(%rbp), %rdi
	movq	%r13, %rdx
	movq	%r13, %rcx
	callq	_svn_stream_open_readonly
	movq	%rax, %rdi
	callq	_SVN_ERR
	movq	-104(%rbp), %rdi
	movq	-96(%rbp), %rsi
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	movq	%rbx, %rcx
	movq	%r13, %r8
	callq	_svn_stream_copy3
	movq	%rax, %rdi
	callq	_SVN_ERR
	movl	(%r15), %esi
	leaq	-56(%rbp), %rdi
	movq	%r14, %rdx
	movq	%r13, %rcx
	movq	%r13, %r8
	callq	_get_pristine_fname
	movq	%rax, %rdi
	callq	_SVN_ERR
	movq	-72(%rbp), %rdi
	movq	-56(%rbp), %rsi
	movq	_FALSE@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movq	%r13, %rcx
	callq	_svn_io_file_rename2
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movl	(%rbx), %edi
	callq	_APR_STATUS_IS_ENOENT
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	-56(%rbp), %rdi
	movq	%r13, %rsi
	callq	_svn_dirent_dirname
	movq	_APR_OS_DEFAULT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	movq	%r13, %rdx
	callq	_svn_io_dir_make
	movq	%rbx, %rdi
	testq	%rax, %rax
	je	LBB0_4
## %bb.8:
	movq	%rax, %rsi
	callq	_svn_error_compose_create
	movl	%eax, %edi
	callq	_svn_error_trace
	jmp	LBB0_7
LBB0_4:
	callq	_svn_error_clear
	movq	-72(%rbp), %rdi
	movq	-56(%rbp), %rsi
	movl	(%r14), %edx
	movq	%r13, %rcx
	callq	_svn_io_file_rename2
	movq	%rax, %rbx
LBB0_5:
	movq	%rbx, %rdi
	callq	_SVN_ERR
LBB0_6:
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_7:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STMT_INSERT_OR_IGNORE_PRISTINE,4,2 ## @STMT_INSERT_OR_IGNORE_PRISTINE
	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
	.comm	_svn_io_file_del_on_pool_cleanup,4,2 ## @svn_io_file_del_on_pool_cleanup
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_APR_OS_DEFAULT,4,2             ## @APR_OS_DEFAULT
	.no_dead_strip	_maybe_transfer_one_pristine
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function maybe_transfer_one_pristine
_maybe_transfer_one_pristine:           ; @maybe_transfer_one_pristine
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	mov	x19, x7
	mov	x22, x6
	mov	x23, x5
	mov	x25, x4
	mov	x26, x3
	mov	x20, x2
	mov	x21, x1
	mov	x24, x0
	ldr	w1, [x1, #4]
Lloh0:
	adrp	x8, _STMT_INSERT_OR_IGNORE_PRISTINE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STMT_INSERT_OR_IGNORE_PRISTINE@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	add	x0, sp, #48
	bl	_svn_sqlite__get_statement
	bl	_SVN_ERR
	ldr	x0, [sp, #48]
	mov	w1, #1
	mov	x2, x20
	mov	x3, x19
	bl	_svn_sqlite__bind_checksum
	bl	_SVN_ERR
	ldr	x0, [sp, #48]
	mov	w1, #2
	mov	x2, x26
	mov	x3, x19
	bl	_svn_sqlite__bind_checksum
	bl	_SVN_ERR
	ldr	x0, [sp, #48]
	mov	w1, #3
	mov	x2, x25
	bl	_svn_sqlite__bind_int64
	bl	_SVN_ERR
	ldr	x1, [sp, #48]
	add	x0, sp, #12
	bl	_svn_sqlite__update
	bl	_SVN_ERR
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_7
; %bb.1:
	mov	x0, x21
	mov	x1, x19
	mov	x2, x19
	bl	_pristine_get_tempdir
	mov	x2, x0
Lloh3:
	adrp	x8, _svn_io_file_del_on_pool_cleanup@GOTPAGE
Lloh4:
	ldr	x8, [x8, _svn_io_file_del_on_pool_cleanup@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	add	x0, sp, #32
	add	x1, sp, #24
	mov	x4, x19
	mov	x5, x19
	bl	_svn_stream_open_unique
	bl	_SVN_ERR
	ldr	w1, [x24]
	add	x0, sp, #16
	mov	x2, x20
	mov	x3, x19
	mov	x4, x19
	bl	_get_pristine_fname
	bl	_SVN_ERR
	ldr	x1, [sp, #16]
	add	x0, sp, #40
	mov	x2, x19
	mov	x3, x19
	bl	_svn_stream_open_readonly
	bl	_SVN_ERR
	ldp	x1, x0, [sp, #32]
	mov	x2, x23
	mov	x3, x22
	mov	x4, x19
	bl	_svn_stream_copy3
	bl	_SVN_ERR
	ldr	w1, [x21]
	add	x0, sp, #56
	mov	x2, x20
	mov	x3, x19
	mov	x4, x19
	bl	_get_pristine_fname
	bl	_SVN_ERR
	ldr	x0, [sp, #24]
	ldr	x1, [sp, #56]
Lloh6:
	adrp	x21, _FALSE@GOTPAGE
Lloh7:
	ldr	x21, [x21, _FALSE@GOTPAGEOFF]
	ldr	w2, [x21]
	mov	x3, x19
	bl	_svn_io_file_rename2
	mov	x20, x0
	cbz	x0, LBB0_6
; %bb.2:
	ldr	w0, [x20]
	bl	_APR_STATUS_IS_ENOENT
	cbz	x0, LBB0_6
; %bb.3:
	ldr	x0, [sp, #56]
	mov	x1, x19
	bl	_svn_dirent_dirname
Lloh8:
	adrp	x8, _APR_OS_DEFAULT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _APR_OS_DEFAULT@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x2, x19
	bl	_svn_io_dir_make
	cbz	x0, LBB0_5
; %bb.4:
	mov	x1, x0
	mov	x0, x20
	bl	_svn_error_compose_create
	bl	_svn_error_trace
	b	LBB0_8
LBB0_5:
	mov	x0, x20
	bl	_svn_error_clear
	ldr	x0, [sp, #24]
	ldr	x1, [sp, #56]
	ldr	w2, [x21]
	mov	x3, x19
	bl	_svn_io_file_rename2
	mov	x20, x0
LBB0_6:
	mov	x0, x20
	bl	_SVN_ERR
LBB0_7:
Lloh11:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh13:
	ldr	x0, [x8]
LBB0_8:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_STMT_INSERT_OR_IGNORE_PRISTINE,4,2 ; @STMT_INSERT_OR_IGNORE_PRISTINE
	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
	.comm	_svn_io_file_del_on_pool_cleanup,4,2 ; @svn_io_file_del_on_pool_cleanup
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_APR_OS_DEFAULT,4,2             ; @APR_OS_DEFAULT
	.no_dead_strip	_maybe_transfer_one_pristine
.subsections_via_symbols
