	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_encoding_and_cdata
_get_encoding_and_cdata:                ## @get_encoding_and_cdata
	.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	%rsi, %r15
	movq	%rdi, %r12
	testq	%rcx, %rcx
	je	LBB0_1
## %bb.2:
	movq	%r9, %r13
	movq	%r8, %r14
	movq	%rcx, %rbx
	movl	(%rcx), %esi
	movl	4(%rcx), %edi
	callq	_svn_xml_is_xml_safe
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	$0, -48(%rbp)
	leaq	-48(%rbp), %rdi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	callq	_svn_xml_escape_cdata_string
	movq	$0, (%r12)
	movq	-48(%rbp), %rdi
	movq	%r14, %rsi
	callq	_svn_string_create_from_buf
	jmp	LBB0_5
LBB0_1:
	movq	$0, (%r12)
	movq	$0, (%r15)
	jmp	LBB0_6
LBB0_4:
	leaq	L_.str(%rip), %rax
	movq	%rax, (%r12)
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movq	%r14, %rdx
	callq	_svn_base64_encode_string2
LBB0_5:
	movq	%rax, (%r15)
LBB0_6:
	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	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"base64"

	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_get_encoding_and_cdata
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_encoding_and_cdata
_get_encoding_and_cdata:                ; @get_encoding_and_cdata
	.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	x19, x1
	mov	x21, x0
	cbz	x3, LBB0_3
; %bb.1:
	mov	x23, x5
	mov	x20, x4
	mov	x22, x3
	ldp	w1, w0, [x3]
	bl	_svn_xml_is_xml_safe
	cbz	x0, LBB0_4
; %bb.2:
	str	xzr, [sp, #8]
	add	x0, sp, #8
	mov	x1, x22
	mov	x2, x23
	bl	_svn_xml_escape_cdata_string
	str	xzr, [x21]
	ldr	x0, [sp, #8]
	mov	x1, x20
	bl	_svn_string_create_from_buf
	b	LBB0_5
LBB0_3:
	str	xzr, [x21]
	str	xzr, [x19]
	b	LBB0_6
LBB0_4:
Lloh0:
	adrp	x8, l_.str@PAGE
Lloh1:
	add	x8, x8, l_.str@PAGEOFF
	str	x8, [x21]
Lloh2:
	adrp	x8, _TRUE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x22
	mov	x2, x20
	bl	_svn_base64_encode_string2
LBB0_5:
	str	x0, [x19]
LBB0_6:
Lloh5:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh7:
	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	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"base64"

	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_get_encoding_and_cdata
.subsections_via_symbols
