	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function store_sha1_rep_mapping
_store_sha1_rep_mapping:                ## @store_sha1_rep_mapping
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.1:
	movq	%rsi, %r12
	movq	8(%rsi), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	cmpq	$0, 8(%rax)
	je	LBB0_4
## %bb.3:
	movq	%rdx, %r14
	movq	%rdi, %rbx
	movl	4(%rax), %edi
	callq	_svn_fs_x__get_txn_id
	movq	8(%r12), %rcx
	movl	(%rcx), %edx
	movq	%rbx, %rdi
	movl	%eax, %esi
	movq	%r14, %rcx
	callq	_svn_fs_x__path_txn_sha1
	movq	%rax, %r15
	movq	(%r12), %rax
	movq	8(%r12), %rdi
	movq	_svn_node_dir@GOTPCREL(%rip), %rcx
	xorl	%esi, %esi
	cmpq	(%rcx), %rax
	sete	%sil
	movq	%r14, %rdx
	movq	%r14, %rcx
	callq	_svn_fs_x__unparse_representation
	movq	%rax, %rbx
	movq	_APR_WRITE@GOTPCREL(%rip), %rax
	movq	_APR_CREATE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_APR_TRUNCATE@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_APR_BUFFERED@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_APR_OS_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-40(%rbp), %rdi
	movq	%r15, %rsi
	movq	%r14, %r8
	callq	_svn_io_file_open
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-40(%rbp), %rdi
	movl	(%rbx), %edx
	movl	4(%rbx), %esi
	xorl	%ecx, %ecx
	movq	%r14, %r8
	callq	_svn_io_file_write_full
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-40(%rbp), %rdi
	movq	%r14, %rsi
	callq	_svn_io_file_close
	movl	%eax, %edi
	callq	_SVN_ERR
LBB0_4:
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_svn_node_dir,8,3               ## @svn_node_dir
	.comm	_APR_WRITE,4,2                  ## @APR_WRITE
	.comm	_APR_CREATE,4,2                 ## @APR_CREATE
	.comm	_APR_TRUNCATE,4,2               ## @APR_TRUNCATE
	.comm	_APR_BUFFERED,4,2               ## @APR_BUFFERED
	.comm	_APR_OS_DEFAULT,4,2             ## @APR_OS_DEFAULT
	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
	.no_dead_strip	_store_sha1_rep_mapping
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function store_sha1_rep_mapping
_store_sha1_rep_mapping:                ; @store_sha1_rep_mapping
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	ldr	x8, [x0]
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.1:
	mov	x20, x1
	ldr	x8, [x1, #8]
	cbz	x8, LBB0_4
; %bb.2:
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_4
; %bb.3:
	mov	x19, x2
	mov	x21, x0
	ldr	w0, [x8, #4]
	bl	_svn_fs_x__get_txn_id
	mov	x1, x0
	ldr	x8, [x20, #8]
	ldr	w2, [x8]
	mov	x0, x21
	mov	x3, x19
	bl	_svn_fs_x__path_txn_sha1
	mov	x21, x0
	ldp	x8, x0, [x20]
Lloh0:
	adrp	x9, _svn_node_dir@GOTPAGE
Lloh1:
	ldr	x9, [x9, _svn_node_dir@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w1, eq
	mov	x2, x19
	mov	x3, x19
	bl	_svn_fs_x__unparse_representation
	mov	x20, x0
Lloh3:
	adrp	x8, _APR_WRITE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _APR_WRITE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _APR_CREATE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _APR_CREATE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh9:
	adrp	x9, _APR_TRUNCATE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _APR_TRUNCATE@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
Lloh12:
	adrp	x10, _APR_BUFFERED@GOTPAGE
Lloh13:
	ldr	x10, [x10, _APR_BUFFERED@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh14:
	ldr	w9, [x10]
	orr	w2, w8, w9
Lloh15:
	adrp	x8, _APR_OS_DEFAULT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _APR_OS_DEFAULT@GOTPAGEOFF]
Lloh17:
	ldr	w3, [x8]
	add	x0, sp, #8
	mov	x1, x21
	mov	x4, x19
	bl	_svn_io_file_open
	bl	_SVN_ERR
	ldr	x0, [sp, #8]
	ldp	w2, w1, [x20]
	mov	x3, #0
	mov	x4, x19
	bl	_svn_io_file_write_full
	bl	_SVN_ERR
	ldr	x0, [sp, #8]
	mov	x1, x19
	bl	_svn_io_file_close
	bl	_SVN_ERR
LBB0_4:
Lloh18:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh19:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh20:
	ldr	x0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_svn_node_dir,8,3               ; @svn_node_dir
	.comm	_APR_WRITE,4,2                  ; @APR_WRITE
	.comm	_APR_CREATE,4,2                 ; @APR_CREATE
	.comm	_APR_TRUNCATE,4,2               ; @APR_TRUNCATE
	.comm	_APR_BUFFERED,4,2               ; @APR_BUFFERED
	.comm	_APR_OS_DEFAULT,4,2             ; @APR_OS_DEFAULT
	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
	.no_dead_strip	_store_sha1_rep_mapping
.subsections_via_symbols
