	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_subst_read_specialfile     ## -- Begin function svn_subst_read_specialfile
	.p2align	4, 0x90
_svn_subst_read_specialfile:            ## @svn_subst_read_specialfile
	.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	%rcx, %r12
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	_APR_FINFO_MIN@GOTPCREL(%rip), %rax
	movq	_APR_FINFO_LINK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	leaq	-40(%rbp), %rdi
	movq	%r12, %rcx
	callq	_svn_io_stat
	movl	%eax, %edi
	callq	_SVN_ERR
	movl	-40(%rbp), %eax
	cmpl	$129, %eax
	je	LBB0_3
## %bb.1:
	cmpl	$128, %eax
	jne	LBB0_4
## %bb.2:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	movq	%r12, %rcx
	callq	_svn_stream_open_readonly
	movl	%eax, %edi
	callq	_SVN_ERR
	jmp	LBB0_5
LBB0_3:
	leaq	-48(%rbp), %rdi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	callq	_svn_io_read_link
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-48(%rbp), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_svn_string_createf
	movl	%eax, %edi
	movq	%r15, %rsi
	callq	_svn_stream_from_string
	movq	%rax, (%r14)
	jmp	LBB0_5
LBB0_4:
	xorl	%eax, %eax
	callq	_SVN_ERR_MALFUNCTION
LBB0_5:
	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	_APR_FINFO_MIN,4,2              ## @APR_FINFO_MIN
	.comm	_APR_FINFO_LINK,4,2             ## @APR_FINFO_LINK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"link %s"

	.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_subst_read_specialfile     ; -- Begin function svn_subst_read_specialfile
	.p2align	2
_svn_subst_read_specialfile:            ; @svn_subst_read_specialfile
	.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
	mov	x21, x3
	mov	x20, x2
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _APR_FINFO_MIN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _APR_FINFO_MIN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _APR_FINFO_LINK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _APR_FINFO_LINK@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w2, w9, w8
	add	x0, sp, #8
	bl	_svn_io_stat
	bl	_SVN_ERR
	ldr	w8, [sp, #8]
	cmp	w8, #129
	b.eq	LBB0_3
; %bb.1:
	cmp	w8, #128
	b.ne	LBB0_4
; %bb.2:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x20
	mov	x3, x21
	bl	_svn_stream_open_readonly
	bl	_SVN_ERR
	b	LBB0_5
LBB0_3:
	mov	x0, sp
	mov	x1, x22
	mov	x2, x21
	bl	_svn_io_read_link
	bl	_SVN_ERR
	ldr	x8, [sp]
	ldr	w2, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_svn_string_createf
	mov	x1, x20
	bl	_svn_stream_from_string
	str	x0, [x19]
	b	LBB0_5
LBB0_4:
	bl	_SVN_ERR_MALFUNCTION
LBB0_5:
Lloh8:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh10:
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_APR_FINFO_MIN,4,2              ; @APR_FINFO_MIN
	.comm	_APR_FINFO_LINK,4,2             ; @APR_FINFO_LINK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"link %s"

	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
.subsections_via_symbols
