	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function to_zval_string
_to_zval_string:                        ## @to_zval_string
	.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	%rdx, %rbx
	movq	%rdi, %r14
	callq	_ZVAL_NULL
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_FIND_XML_NULL
	testq	%rbx, %rbx
	je	LBB0_14
## %bb.1:
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_14
## %bb.2:
	movq	(%rax), %rcx
	movq	_XML_TEXT_NODE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_10
## %bb.3:
	cmpq	$0, 16(%rax)
	je	LBB0_4
LBB0_10:
	movq	_XML_CDATA_SECTION_NODE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_13
## %bb.11:
	cmpq	$0, 16(%rax)
	je	LBB0_12
LBB0_13:
	movq	_E_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_soap_error0
	jmp	LBB0_15
LBB0_14:
	movq	%r14, %rdi
	callq	_ZVAL_EMPTY_STRING
LBB0_15:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	_encoding@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	callq	_SOAP_GLOBAL
	movq	(%rbx), %rcx
	movq	8(%rcx), %r15
	testq	%rax, %rax
	je	LBB0_9
## %bb.5:
	movq	%r15, %rdi
	callq	_xmlStrlen
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_xmlBufferCreateStatic
	movl	%eax, %r15d
	xorl	%eax, %eax
	callq	_xmlBufferCreate
	movl	%eax, %r12d
	movl	(%r13), %edi
	callq	_SOAP_GLOBAL
	movq	%rax, %rdi
	movl	%r12d, %esi
	movl	%r15d, %edx
	callq	_xmlCharEncOutFunc
	testl	%eax, %eax
	js	LBB0_7
## %bb.6:
	movl	%r12d, %edi
	callq	_xmlBufferContent
	movq	%rax, %rsi
	jmp	LBB0_8
LBB0_12:
	movq	8(%rax), %rsi
	movq	%r14, %rdi
	callq	_ZVAL_STRING
	jmp	LBB0_15
LBB0_9:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_ZVAL_STRING
	jmp	LBB0_15
LBB0_7:
	movq	(%rbx), %rax
	movq	8(%rax), %rsi
LBB0_8:
	movq	%r14, %rdi
	callq	_ZVAL_STRING
	movl	%r12d, %edi
	callq	_xmlBufferFree
	movl	%r15d, %edi
	callq	_xmlBufferFree
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_XML_TEXT_NODE,8,3              ## @XML_TEXT_NODE
	.comm	_encoding,4,2                   ## @encoding
	.comm	_XML_CDATA_SECTION_NODE,8,3     ## @XML_CDATA_SECTION_NODE
	.comm	_E_ERROR,4,2                    ## @E_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Encoding: Violation of encoding rules"

	.no_dead_strip	_to_zval_string
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function to_zval_string
_to_zval_string:                        ; @to_zval_string
	.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	x20, x2
	mov	x19, x0
	bl	_ZVAL_NULL
	mov	x0, x20
	mov	x1, x19
	bl	_FIND_XML_NULL
	cbz	x20, LBB0_7
; %bb.1:
	ldr	x8, [x20]
	cbz	x8, LBB0_7
; %bb.2:
	ldr	x9, [x8]
Lloh0:
	adrp	x10, _XML_TEXT_NODE@GOTPAGE
Lloh1:
	ldr	x10, [x10, _XML_TEXT_NODE@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_4
; %bb.3:
	ldr	x10, [x8, #16]
	cbz	x10, LBB0_9
LBB0_4:
Lloh3:
	adrp	x10, _XML_CDATA_SECTION_NODE@GOTPAGE
Lloh4:
	ldr	x10, [x10, _XML_CDATA_SECTION_NODE@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_6
; %bb.5:
	ldr	x9, [x8, #16]
	cbz	x9, LBB0_12
LBB0_6:
Lloh6:
	adrp	x8, _E_ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _E_ERROR@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	bl	_soap_error0
	b	LBB0_8
LBB0_7:
	mov	x0, x19
	bl	_ZVAL_EMPTY_STRING
LBB0_8:
	mov	x0, x19
	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
LBB0_9:
Lloh11:
	adrp	x23, _encoding@GOTPAGE
Lloh12:
	ldr	x23, [x23, _encoding@GOTPAGEOFF]
	ldr	w0, [x23]
	bl	_SOAP_GLOBAL
	ldr	x8, [x20]
	ldr	x21, [x8, #8]
	cbz	x0, LBB0_13
; %bb.10:
	mov	x0, x21
	bl	_xmlStrlen
	mov	x1, x0
	mov	x0, x21
	bl	_xmlBufferCreateStatic
	mov	x21, x0
	bl	_xmlBufferCreate
	mov	x22, x0
	ldr	w0, [x23]
	bl	_SOAP_GLOBAL
	mov	x1, x22
	mov	x2, x21
	bl	_xmlCharEncOutFunc
	tbnz	w0, #31, LBB0_14
; %bb.11:
	mov	x0, x22
	bl	_xmlBufferContent
	mov	x1, x0
	b	LBB0_15
LBB0_12:
	ldr	x1, [x8, #8]
	mov	x0, x19
	bl	_ZVAL_STRING
	b	LBB0_8
LBB0_13:
	mov	x0, x19
	mov	x1, x21
	bl	_ZVAL_STRING
	b	LBB0_8
LBB0_14:
	ldr	x8, [x20]
	ldr	x1, [x8, #8]
LBB0_15:
	mov	x0, x19
	bl	_ZVAL_STRING
	mov	x0, x22
	bl	_xmlBufferFree
	mov	x0, x21
	bl	_xmlBufferFree
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_XML_TEXT_NODE,8,3              ; @XML_TEXT_NODE
	.comm	_encoding,4,2                   ; @encoding
	.comm	_XML_CDATA_SECTION_NODE,8,3     ; @XML_CDATA_SECTION_NODE
	.comm	_E_ERROR,4,2                    ; @E_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Encoding: Violation of encoding rules"

	.no_dead_strip	_to_zval_string
.subsections_via_symbols
