	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_stream_from_stringbuf      ## -- Begin function svn_stream_from_stringbuf
	.p2align	4, 0x90
_svn_stream_from_stringbuf:             ## @svn_stream_from_stringbuf
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	movq	%rdi, %rbx
	movq	%r14, %rdi
	movl	$16, %esi
	callq	_apr_palloc
	movq	%rbx, 8(%rax)
	movq	$0, (%rax)
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_svn_stream_create
	movq	%rax, %rbx
	movq	_read_handler_stringbuf@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	%edx, %esi
	callq	_svn_stream_set_read2
	movq	_skip_handler_stringbuf@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_svn_stream_set_skip
	movq	_write_handler_stringbuf@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_svn_stream_set_write
	movq	_mark_handler_stringbuf@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_svn_stream_set_mark
	movq	_seek_handler_stringbuf@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_svn_stream_set_seek
	movq	_data_available_handler_stringbuf@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_svn_stream_set_data_available
	movq	_readline_handler_stringbuf@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_svn_stream_set_readline
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_svn_stream_empty               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_read_handler_stringbuf,4,2     ## @read_handler_stringbuf
	.comm	_skip_handler_stringbuf,4,2     ## @skip_handler_stringbuf
	.comm	_write_handler_stringbuf,4,2    ## @write_handler_stringbuf
	.comm	_mark_handler_stringbuf,4,2     ## @mark_handler_stringbuf
	.comm	_seek_handler_stringbuf,4,2     ## @seek_handler_stringbuf
	.comm	_data_available_handler_stringbuf,4,2 ## @data_available_handler_stringbuf
	.comm	_readline_handler_stringbuf,4,2 ## @readline_handler_stringbuf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_stream_from_stringbuf      ; -- Begin function svn_stream_from_stringbuf
	.p2align	2
_svn_stream_from_stringbuf:             ; @svn_stream_from_stringbuf
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	cbz	x0, LBB0_2
; %bb.1:
	mov	x20, x0
	mov	x0, x19
	mov	w1, #16
	bl	_apr_palloc
	stp	xzr, x20, [x0]
	mov	x1, x19
	bl	_svn_stream_create
	mov	x19, x0
Lloh0:
	adrp	x8, _read_handler_stringbuf@GOTPAGE
Lloh1:
	ldr	x8, [x8, _read_handler_stringbuf@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x2, x1
	bl	_svn_stream_set_read2
Lloh3:
	adrp	x8, _skip_handler_stringbuf@GOTPAGE
Lloh4:
	ldr	x8, [x8, _skip_handler_stringbuf@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_svn_stream_set_skip
Lloh6:
	adrp	x8, _write_handler_stringbuf@GOTPAGE
Lloh7:
	ldr	x8, [x8, _write_handler_stringbuf@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_svn_stream_set_write
Lloh9:
	adrp	x8, _mark_handler_stringbuf@GOTPAGE
Lloh10:
	ldr	x8, [x8, _mark_handler_stringbuf@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_svn_stream_set_mark
Lloh12:
	adrp	x8, _seek_handler_stringbuf@GOTPAGE
Lloh13:
	ldr	x8, [x8, _seek_handler_stringbuf@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_svn_stream_set_seek
Lloh15:
	adrp	x8, _data_available_handler_stringbuf@GOTPAGE
Lloh16:
	ldr	x8, [x8, _data_available_handler_stringbuf@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_svn_stream_set_data_available
Lloh18:
	adrp	x8, _readline_handler_stringbuf@GOTPAGE
Lloh19:
	ldr	x8, [x8, _readline_handler_stringbuf@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_svn_stream_set_readline
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_svn_stream_empty
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.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
	.cfi_endproc
                                        ; -- End function
	.comm	_read_handler_stringbuf,4,2     ; @read_handler_stringbuf
	.comm	_skip_handler_stringbuf,4,2     ; @skip_handler_stringbuf
	.comm	_write_handler_stringbuf,4,2    ; @write_handler_stringbuf
	.comm	_mark_handler_stringbuf,4,2     ; @mark_handler_stringbuf
	.comm	_seek_handler_stringbuf,4,2     ; @seek_handler_stringbuf
	.comm	_data_available_handler_stringbuf,4,2 ; @data_available_handler_stringbuf
	.comm	_readline_handler_stringbuf,4,2 ; @readline_handler_stringbuf
.subsections_via_symbols
