	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function transform_link_to_git
_transform_link_to_git:                 ## @transform_link_to_git
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %rbx
	movq	%rcx, %r14
	movq	%rdx, %r13
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	$0, (%rsi)
	movq	_APR_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_APR_OS_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-64(%rbp), %rdi
	movq	%r13, %rsi
	callq	_svn_io_file_open
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	_svn_io_file_del_on_pool_cleanup@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-56(%rbp), %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
	movq	%r14, %r8
	movq	%rbx, %r9
	callq	_svn_io_open_unique_file3
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-64(%rbp), %rdi
	movq	_APR_PATH_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	(%rax,%rax), %r8d
	addl	$2, %r8d
	movq	%rbx, (%rsp)
	leaq	-48(%rbp), %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movq	%rbx, %r9
	callq	_svn_io_file_readline
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-48(%rbp), %rax
	cmpl	$6, (%rax)
	jl	LBB0_3
## %bb.1:
	movl	4(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	$5, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_2
LBB0_3:
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_apr_pstrdup
	movq	%rax, (%r12)
	jmp	LBB0_4
LBB0_2:
	movq	-48(%rbp), %rdi
	xorl	%esi, %esi
	movl	$5, %edx
	callq	_svn_stringbuf_remove
	movq	-56(%rbp), %rdi
	movq	-48(%rbp), %rax
	movl	(%rax), %edx
	movl	4(%rax), %esi
	xorl	%ecx, %ecx
	movq	%rbx, %r8
	callq	_svn_io_file_write_full
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-48(%rbp), %rax
	movl	(%rax), %edx
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_apr_psprintf
	movq	%rax, %r12
	movq	-48(%rbp), %r13
	movq	%rax, %rdi
	callq	_strlen
	leaq	1(%rax), %rcx
	movq	%r13, %rdi
	xorl	%esi, %esi
	movq	%r12, %rdx
	callq	_svn_stringbuf_insert
	movq	_svn_checksum_sha1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-48(%rbp), %rax
	movl	(%rax), %ecx
	movl	4(%rax), %edx
	leaq	-72(%rbp), %rdi
	movq	%rbx, %r8
	callq	_svn_checksum
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-72(%rbp), %rdi
	movq	%r14, %rsi
	callq	_svn_checksum_to_cstring
	movq	%rax, (%r15)
LBB0_4:
	movq	-64(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_svn_io_file_close
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-56(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_svn_io_file_close
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_APR_READ,4,2                   ## @APR_READ
	.comm	_APR_OS_DEFAULT,4,2             ## @APR_OS_DEFAULT
	.comm	_svn_io_file_del_on_pool_cleanup,4,2 ## @svn_io_file_del_on_pool_cleanup
	.comm	_APR_PATH_MAX,4,2               ## @APR_PATH_MAX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"link "

L_.str.1:                               ## @.str.1
	.asciz	"blob %u"

	.comm	_svn_checksum_sha1,4,2          ## @svn_checksum_sha1
	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
	.no_dead_strip	_transform_link_to_git
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function transform_link_to_git
_transform_link_to_git:                 ; @transform_link_to_git
	.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	x19, x4
	mov	x20, x3
	mov	x23, x2
	mov	x21, x1
	mov	x22, x0
	str	xzr, [x1]
Lloh0:
	adrp	x8, _APR_READ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _APR_READ@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x8, _APR_OS_DEFAULT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _APR_OS_DEFAULT@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	add	x0, sp, #24
	mov	x1, x23
	bl	_svn_io_file_open
	bl	_SVN_ERR
Lloh6:
	adrp	x8, _svn_io_file_del_on_pool_cleanup@GOTPAGE
Lloh7:
	ldr	x8, [x8, _svn_io_file_del_on_pool_cleanup@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	add	x0, sp, #16
	mov	x1, x22
	mov	x2, #0
	mov	x4, x20
	mov	x5, x19
	bl	_svn_io_open_unique_file3
	bl	_SVN_ERR
	ldr	x0, [sp, #24]
Lloh9:
	adrp	x8, _APR_PATH_MAX@GOTPAGE
Lloh10:
	ldr	x8, [x8, _APR_PATH_MAX@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	lsl	w8, w8, #1
	add	w4, w8, #2
	add	x1, sp, #8
	mov	x2, #0
	mov	x3, #0
	mov	x5, x19
	mov	x6, x19
	bl	_svn_io_file_readline
	bl	_SVN_ERR
	ldr	x8, [sp, #8]
	ldr	w9, [x8]
	cmp	w9, #6
	b.lt	LBB0_2
; %bb.1:
	ldr	w0, [x8, #4]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #5
	bl	_strncmp
	cbz	w0, LBB0_3
LBB0_2:
	mov	x0, x20
	mov	x1, x23
	bl	_apr_pstrdup
	str	x0, [x22]
	b	LBB0_4
LBB0_3:
	ldr	x0, [sp, #8]
	mov	w1, #0
	mov	w2, #5
	bl	_svn_stringbuf_remove
	ldp	x8, x0, [sp, #8]
	ldp	w2, w1, [x8]
	mov	x3, #0
	mov	x4, x19
	bl	_svn_io_file_write_full
	bl	_SVN_ERR
	ldr	x8, [sp, #8]
	ldr	w2, [x8]
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_apr_psprintf
	mov	x22, x0
	ldr	x23, [sp, #8]
	bl	_strlen
	add	x3, x0, #1
	mov	x0, x23
	mov	w1, #0
	mov	x2, x22
	bl	_svn_stringbuf_insert
Lloh16:
	adrp	x8, _svn_checksum_sha1@GOTPAGE
Lloh17:
	ldr	x8, [x8, _svn_checksum_sha1@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	ldr	x8, [sp, #8]
	ldp	w3, w2, [x8]
	mov	x0, sp
	mov	x4, x19
	bl	_svn_checksum
	bl	_SVN_ERR
	ldr	x0, [sp]
	mov	x1, x20
	bl	_svn_checksum_to_cstring
	str	x0, [x21]
LBB0_4:
	ldr	x0, [sp, #24]
	mov	x1, x19
	bl	_svn_io_file_close
	bl	_SVN_ERR
	ldr	x0, [sp, #16]
	mov	x1, x19
	bl	_svn_io_file_close
	bl	_SVN_ERR
Lloh19:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh20:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh21:
	ldr	x0, [x8]
	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	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_APR_READ,4,2                   ; @APR_READ
	.comm	_APR_OS_DEFAULT,4,2             ; @APR_OS_DEFAULT
	.comm	_svn_io_file_del_on_pool_cleanup,4,2 ; @svn_io_file_del_on_pool_cleanup
	.comm	_APR_PATH_MAX,4,2               ; @APR_PATH_MAX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"link "

l_.str.1:                               ; @.str.1
	.asciz	"blob %u"

	.comm	_svn_checksum_sha1,4,2          ; @svn_checksum_sha1
	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
	.no_dead_strip	_transform_link_to_git
.subsections_via_symbols
