	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_utf__utf32_to_utf8         ## -- Begin function svn_utf__utf32_to_utf8
	.p2align	4, 0x90
_svn_utf__utf32_to_utf8:                ## @svn_utf__utf32_to_utf8
	.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
	movl	%edx, %r13d
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	_SVN_UTF__UNKNOWN_LENGTH@GOTPCREL(%rip), %rax
	cmpl	%edx, (%rax)
	jne	LBB0_4
## %bb.1:
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$0, (%r12,%r13)
	leaq	4(%r13), %r13
	jne	LBB0_2
## %bb.3:
	shrq	$2, %r13
LBB0_4:
	testl	%ecx, %ecx
	je	LBB0_9
## %bb.5:
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	leal	(,%r13,4), %esi
	leaq	-48(%rbp), %rdi
	movq	%r9, %rdx
	callq	_svn_membuf__create
	testl	%r13d, %r13d
	jle	LBB0_8
## %bb.6:
	movl	%r13d, %r15d
	xorl	%ebx, %ebx
	leaq	-48(%rbp), %r14
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12,%rbx,4), %edi
	callq	_SWAP_LONG
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_membuf_insert_ucs4
	incq	%rbx
	cmpq	%rbx, %r15
	jne	LBB0_7
LBB0_8:
	movq	-48(%rbp), %r12
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
LBB0_9:
	leal	(%r13,%r13), %esi
	leaq	-48(%rbp), %r15
	movq	%r15, %rdi
	movq	%rbx, %rdx
	callq	_svn_membuf__create
	leaq	-52(%rbp), %rcx
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	%r13d, %edx
	callq	_svn_utf__encode_ucs4_string
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	%rbx, %rdi
	movl	$16, %esi
	callq	_apr_palloc
	movq	-48(%rbp), %rcx
	movq	%rcx, (%rax)
	movl	-52(%rbp), %ecx
	movl	%ecx, 8(%rax)
	movq	%rax, (%r14)
	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	_SVN_UTF__UNKNOWN_LENGTH,4,2    ## @SVN_UTF__UNKNOWN_LENGTH
	.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_utf__utf32_to_utf8         ; -- Begin function svn_utf__utf32_to_utf8
	.p2align	2
_svn_utf__utf32_to_utf8:                ; @svn_utf__utf32_to_utf8
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x4
	mov	x22, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _SVN_UTF__UNKNOWN_LENGTH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SVN_UTF__UNKNOWN_LENGTH@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w2
	b.ne	LBB0_4
; %bb.1:
	mov	x8, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x21, x8]
	add	x8, x8, #4
	cbnz	w9, LBB0_2
; %bb.3:
	lsr	x22, x8, #2
LBB0_4:
	cbz	w3, LBB0_9
; %bb.5:
	lsl	w1, w22, #2
	mov	x0, sp
	mov	x2, x5
	bl	_svn_membuf__create
	cmp	w22, #1
	b.lt	LBB0_8
; %bb.6:
	mov	x23, #0
	mov	w24, w22
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21, x23, lsl #2]
	bl	_SWAP_LONG
	mov	x2, x0
	mov	x0, sp
	mov	x1, x23
	bl	_membuf_insert_ucs4
	add	x23, x23, #1
	cmp	x24, x23
	b.ne	LBB0_7
LBB0_8:
	ldr	x21, [sp]
LBB0_9:
	lsl	w1, w22, #1
	mov	x0, sp
	mov	x2, x20
	bl	_svn_membuf__create
	mov	x0, sp
	add	x3, sp, #12
	mov	x1, x21
	mov	x2, x22
	bl	_svn_utf__encode_ucs4_string
	bl	_SVN_ERR
	mov	x0, x20
	mov	w1, #16
	bl	_apr_palloc
	ldr	x8, [sp]
	str	x8, [x0]
	ldr	w8, [sp, #12]
	str	w8, [x0, #8]
	str	x0, [x19]
Lloh3:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh5:
	ldr	x0, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SVN_UTF__UNKNOWN_LENGTH,4,2    ; @SVN_UTF__UNKNOWN_LENGTH
	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
.subsections_via_symbols
