	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function to_xml_base64
_to_xml_base64:                         ## @to_xml_base64
	.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
	movl	%ecx, %r13d
	movl	%edx, %r15d
	movq	%rsi, %rbx
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	leaq	L_.str(%rip), %rdi
	callq	_BAD_CAST
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_xmlNewNode
	movl	%eax, %r12d
	movl	%r13d, %edi
	movl	%eax, %esi
	callq	_xmlAddChild
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	%r15d, %edx
	callq	_FIND_ZVAL_NULL
	movq	%rbx, %rdi
	callq	_Z_TYPE_P
	movq	_IS_STRING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_Z_STRVAL_P
	movq	%rax, %r13
	movq	%rbx, %rdi
	callq	_Z_STRLEN_P
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_php_base64_encode
	movq	%rax, %r14
	jmp	LBB0_3
LBB0_2:
	movq	%rbx, %rdi
	callq	_zval_get_string_func
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_ZSTR_VAL
	movq	%rax, %rbx
	movq	%r13, %rdi
	callq	_ZSTR_LEN
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_php_base64_encode
	movq	%rax, %r14
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_zend_string_release_ex
LBB0_3:
	movq	%r14, %rdi
	callq	_ZSTR_VAL
	movq	%rax, %rdi
	callq	_BAD_CAST
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_ZSTR_LEN
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_xmlNewTextLen
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_xmlAddChild
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_zend_string_release_ex
	movq	_SOAP_ENCODED@GOTPCREL(%rip), %rax
	cmpl	%r15d, (%rax)
	jne	LBB0_5
## %bb.4:
	movl	%r12d, %edi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_set_ns_and_type
LBB0_5:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"BOGUS"

	.comm	_IS_STRING,8,3                  ## @IS_STRING
	.comm	_SOAP_ENCODED,4,2               ## @SOAP_ENCODED
	.no_dead_strip	_to_xml_base64
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function to_xml_base64
_to_xml_base64:                         ; @to_xml_base64
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x23, x3
	mov	x20, x2
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_BAD_CAST
	mov	x1, x0
	mov	x0, #0
	bl	_xmlNewNode
	mov	x21, x0
	mov	x0, x23
	mov	x1, x21
	bl	_xmlAddChild
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	bl	_FIND_ZVAL_NULL
	mov	x0, x22
	bl	_Z_TYPE_P
Lloh2:
	adrp	x8, _IS_STRING@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IS_STRING@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x22
	bl	_Z_STRVAL_P
	mov	x23, x0
	mov	x0, x22
	bl	_Z_STRLEN_P
	mov	x1, x0
	mov	x0, x23
	bl	_php_base64_encode
	mov	x22, x0
	b	LBB0_3
LBB0_2:
	mov	x0, x22
	bl	_zval_get_string_func
	mov	x23, x0
	bl	_ZSTR_VAL
	mov	x22, x0
	mov	x0, x23
	bl	_ZSTR_LEN
	mov	x1, x0
	mov	x0, x22
	bl	_php_base64_encode
	mov	x22, x0
	mov	x0, x23
	mov	w1, #0
	bl	_zend_string_release_ex
LBB0_3:
	mov	x0, x22
	bl	_ZSTR_VAL
	bl	_BAD_CAST
	mov	x23, x0
	mov	x0, x22
	bl	_ZSTR_LEN
	mov	x1, x0
	mov	x0, x23
	bl	_xmlNewTextLen
	mov	x1, x0
	mov	x0, x21
	bl	_xmlAddChild
	mov	x0, x22
	mov	w1, #0
	bl	_zend_string_release_ex
Lloh5:
	adrp	x8, _SOAP_ENCODED@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SOAP_ENCODED@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	w8, w20
	b.ne	LBB0_5
; %bb.4:
	mov	x0, x21
	mov	x1, x19
	bl	_set_ns_and_type
LBB0_5:
	mov	x0, x21
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"BOGUS"

	.comm	_IS_STRING,8,3                  ; @IS_STRING
	.comm	_SOAP_ENCODED,4,2               ; @SOAP_ENCODED
	.no_dead_strip	_to_xml_base64
.subsections_via_symbols
