	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function translate_cstring
_translate_cstring:                     ## @translate_cstring
	.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	%r9, %r13
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movq	%rcx, %r15
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, %rdi
	callq	_strlen
	movl	%eax, -48(%rbp)
	testq	%r15, %r15
	je	LBB0_1
LBB0_4:
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movl	16(%rbp), %r13d
	movq	24(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_svn_stringbuf_create_empty
	movq	%rax, %r12
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_svn_stream_from_stringbuf
	testq	%r14, %r14
	je	LBB0_6
## %bb.5:
	movq	_FALSE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%r14)
LBB0_6:
	movq	%rbx, (%rsp)
	movq	%rax, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	movl	%r13d, %r9d
	callq	_stream_translated
	movq	%rax, %rbx
	leaq	-48(%rbp), %rdx
	movq	%rax, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_svn_stream_write
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	%rbx, %rdi
	callq	_svn_stream_close
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	(%r12), %rax
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_7
LBB0_1:
	movl	%eax, %r12d
	testq	%r13, %r13
	je	LBB0_3
## %bb.2:
	movq	%r13, %rdi
	callq	_apr_hash_count
	testq	%rax, %rax
	jg	LBB0_4
LBB0_3:
	movq	24(%rbp), %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%r12d, %edx
	callq	_apr_pstrmemdup
LBB0_7:
	movq	%rax, (%rbx)
	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_NO_ERROR,8,3               ## @SVN_NO_ERROR
	.comm	_FALSE,4,2                      ## @FALSE
	.no_dead_strip	_translate_cstring
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function translate_cstring
_translate_cstring:                     ; @translate_cstring
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x7
	mov	x22, x6
	mov	x23, x5
	mov	x24, x4
	mov	x26, x3
	mov	x20, x2
	mov	x27, x1
	mov	x19, x0
	mov	x0, x2
	bl	_strlen
	str	w0, [sp, #12]
	cbz	x26, LBB0_4
LBB0_1:
	mov	x0, x21
	bl	_svn_stringbuf_create_empty
	mov	x25, x0
	mov	x1, x21
	bl	_svn_stream_from_stringbuf
	cbz	x27, LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, _FALSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x27]
LBB0_3:
	mov	x1, x26
	mov	x2, x27
	mov	x3, x24
	mov	x4, x23
	mov	x5, x22
	mov	x6, x21
	bl	_stream_translated
	mov	x21, x0
	add	x2, sp, #12
	mov	x1, x20
	bl	_svn_stream_write
	bl	_SVN_ERR
	mov	x0, x21
	bl	_svn_stream_close
	bl	_SVN_ERR
	ldr	x0, [x25]
	b	LBB0_7
LBB0_4:
	mov	x25, x0
	cbz	x23, LBB0_6
; %bb.5:
	mov	x0, x23
	bl	_apr_hash_count
	cmp	x0, #0
	b.gt	LBB0_1
LBB0_6:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x25
	bl	_apr_pstrmemdup
LBB0_7:
	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, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
	.comm	_FALSE,4,2                      ; @FALSE
	.no_dead_strip	_translate_cstring
.subsections_via_symbols
