	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_stringbuf_insert           ## -- Begin function svn_stringbuf_insert
	.p2align	4, 0x90
_svn_stringbuf_insert:                  ## @svn_stringbuf_insert
	.cfi_startproc
## %bb.0:
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.1:
	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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r12
	movq	%rsi, %rbx
	movq	%rdi, %r15
	addq	%rdx, %rcx
	movq	(%rdi), %rax
	cmpq	%rax, %rcx
	jbe	LBB0_4
## %bb.2:
	movslq	8(%r15), %rcx
	addq	%rcx, %rax
	cmpq	%r12, %rax
	jbe	LBB0_4
## %bb.3:
	movl	24(%r15), %edi
	movq	%r12, %rsi
	movq	%r14, %rdx
	callq	_apr_pmemdup
	movq	%rax, %r12
LBB0_4:
	movq	16(%r15), %rsi
	cmpq	%rbx, %rsi
	cmovlq	%rsi, %rbx
	addq	%r14, %rsi
	movq	%r15, %rdi
	callq	_svn_stringbuf_ensure
	movq	(%r15), %rsi
	addq	%rbx, %rsi
	leaq	(%rsi,%r14), %rdi
	movq	16(%r15), %rdx
	subq	%rbx, %rdx
	incq	%rdx
	callq	_memmove
	addq	(%r15), %rbx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	callq	_memcpy
	addq	%r14, 16(%r15)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
LBB0_5:
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_stringbuf_insert           ; -- Begin function svn_stringbuf_insert
	.p2align	2
_svn_stringbuf_insert:                  ; @svn_stringbuf_insert
	.cfi_startproc
; %bb.0:
	cbz	x3, LBB0_5
; %bb.1:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x3
	mov	x21, x2
	mov	x22, x1
	mov	x20, x0
	ldr	x8, [x0]
	add	x9, x2, x3
	cmp	x9, x8
	b.ls	LBB0_4
; %bb.2:
	ldrsw	x9, [x20, #8]
	add	x8, x8, x9
	cmp	x8, x21
	b.ls	LBB0_4
; %bb.3:
	ldr	w0, [x20, #24]
	mov	x1, x21
	mov	x2, x19
	bl	_apr_pmemdup
	mov	x21, x0
LBB0_4:
	ldr	x8, [x20, #16]
	cmp	x8, x22
	csel	x22, x8, x22, lt
	add	x1, x8, x19
	mov	x0, x20
	bl	_svn_stringbuf_ensure
	ldr	x8, [x20]
	add	x1, x8, x22
	add	x0, x1, x19
	ldr	x8, [x20, #16]
	sub	x8, x8, x22
	add	x2, x8, #1
	bl	_memmove
	ldr	x8, [x20]
	add	x0, x8, x22
	mov	x1, x21
	mov	x2, x19
	bl	_memcpy
	ldr	x8, [x20, #16]
	add	x8, x8, x19
	str	x8, [x20, #16]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
LBB0_5:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	.cfi_same_value w21
	.cfi_same_value w22
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
