	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xml_node_get_base64_text       ## -- Begin function xml_node_get_base64_text
	.p2align	4, 0x90
_xml_node_get_base64_text:              ## @xml_node_get_base64_text
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rdi, %r12
	callq	_xml_node_get_text
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_strlen
	leaq	-40(%rbp), %rdx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_base64_decode
	movq	%rax, %r14
	testq	%r15, %r15
	je	LBB0_3
## %bb.2:
	movl	-40(%rbp), %eax
	movl	%eax, (%r15)
LBB0_3:
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_xml_node_get_text_free
	testq	%r14, %r14
	je	LBB0_9
## %bb.4:
	movq	-40(%rbp), %rdi
	incq	%rdi
	callq	_os_malloc
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	movq	%rax, %rbx
	movq	-40(%rbp), %rdx
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_os_memcpy
	movq	-40(%rbp), %rax
	movb	$0, (%rbx,%rax)
	jmp	LBB0_10
LBB0_8:
	movq	%r14, %rdi
	callq	_os_free
LBB0_9:
	xorl	%ebx, %ebx
LBB0_10:
	movq	%rbx, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xml_node_get_base64_text       ; -- Begin function xml_node_get_base64_text
	.p2align	2
_xml_node_get_base64_text:              ; @xml_node_get_base64_text
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x21, x2
	mov	x20, x0
	bl	_xml_node_get_text
	cbz	x0, LBB0_6
; %bb.1:
	mov	x22, x0
	bl	_strlen
	mov	x1, x0
	add	x2, sp, #8
	mov	x0, x22
	bl	_base64_decode
	mov	x19, x0
	cbz	x21, LBB0_3
; %bb.2:
	ldr	x8, [sp, #8]
	str	w8, [x21]
LBB0_3:
	mov	x0, x20
	mov	x1, x22
	bl	_xml_node_get_text_free
	cbz	x19, LBB0_6
; %bb.4:
	ldr	x8, [sp, #8]
	add	x0, x8, #1
	bl	_os_malloc
	mov	x20, x0
	cbz	x0, LBB0_7
; %bb.5:
	ldr	x2, [sp, #8]
	mov	x0, x20
	mov	x1, x19
	bl	_os_memcpy
	ldr	x8, [sp, #8]
	strb	wzr, [x20, x8]
	b	LBB0_8
LBB0_6:
	mov	x20, #0
	b	LBB0_8
LBB0_7:
	mov	x0, x19
	bl	_os_free
LBB0_8:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
