	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_subst_stream_from_specialfile ## -- Begin function svn_subst_stream_from_specialfile
	.p2align	4, 0x90
_svn_subst_stream_from_specialfile:     ## @svn_subst_stream_from_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r13
	movq	%rdi, %r14
	movq	%rdx, %rdi
	movl	$32, %esi
	callq	_apr_palloc
	movq	%rax, %r15
	movq	%rbx, 24(%rax)
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_apr_pstrdup
	movl	%eax, 16(%r15)
	movq	%r15, %r12
	addq	$8, %r12
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	movq	%rbx, %rcx
	callq	_svn_subst_read_specialfile
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rax, %r13
	movl	(%rax), %edi
	callq	_APR_STATUS_IS_ENOENT
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%r13, %rdi
	callq	_svn_error_clear
	movq	$0, (%r12)
LBB0_3:
	movq	%rbx, %rdi
	callq	_svn_stringbuf_create_empty
	movl	%eax, (%r15)
	movl	%eax, %edi
	movq	%rbx, %rsi
	callq	_svn_stream_from_stringbuf
	movl	%eax, 4(%r15)
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_svn_stream_create
	movq	%rax, (%r14)
	movq	_read_handler_special@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_svn_stream_set_read2
	movq	(%r14), %rdi
	movq	_write_handler_special@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_svn_stream_set_write
	movq	(%r14), %rdi
	movq	_close_handler_special@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_svn_stream_set_close
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_read_handler_special,4,2       ## @read_handler_special
	.comm	_write_handler_special,4,2      ## @write_handler_special
	.comm	_close_handler_special,4,2      ## @close_handler_special
	.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_stream_from_specialfile ; -- Begin function svn_subst_stream_from_specialfile
	.p2align	2
_svn_subst_stream_from_specialfile:     ; @svn_subst_stream_from_specialfile
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x2
	mov	x23, x1
	mov	x19, x0
	mov	x0, x2
	mov	w1, #32
	bl	_apr_palloc
	mov	x21, x0
	str	x20, [x0, #24]
	mov	x0, x20
	mov	x1, x23
	bl	_apr_pstrdup
	str	w0, [x21, #16]
	add	x22, x21, #8
	mov	x0, x22
	mov	x1, x23
	mov	x2, x20
	mov	x3, x20
	bl	_svn_subst_read_specialfile
	cbz	x0, LBB0_3
; %bb.1:
	mov	x23, x0
	ldr	w0, [x0]
	bl	_APR_STATUS_IS_ENOENT
	cbz	x0, LBB0_3
; %bb.2:
	mov	x0, x23
	bl	_svn_error_clear
	str	xzr, [x22]
LBB0_3:
	mov	x0, x20
	bl	_svn_stringbuf_create_empty
	str	w0, [x21]
	mov	x1, x20
	bl	_svn_stream_from_stringbuf
	str	w0, [x21, #4]
	mov	x0, x21
	mov	x1, x20
	bl	_svn_stream_create
	str	x0, [x19]
Lloh0:
	adrp	x8, _read_handler_special@GOTPAGE
Lloh1:
	ldr	x8, [x8, _read_handler_special@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x1, #0
	bl	_svn_stream_set_read2
	ldr	x0, [x19]
Lloh3:
	adrp	x8, _write_handler_special@GOTPAGE
Lloh4:
	ldr	x8, [x8, _write_handler_special@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_svn_stream_set_write
	ldr	x0, [x19]
Lloh6:
	adrp	x8, _close_handler_special@GOTPAGE
Lloh7:
	ldr	x8, [x8, _close_handler_special@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_svn_stream_set_close
Lloh9:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh11:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_read_handler_special,4,2       ; @read_handler_special
	.comm	_write_handler_special,4,2      ; @write_handler_special
	.comm	_close_handler_special,4,2      ; @close_handler_special
	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
.subsections_via_symbols
