	.file	"extr_php_encoding.c_to_zval_stringc.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Encoding: Violation of encoding rules"
	.text
	.p2align 4
	.type	to_zval_stringc, @function
to_zval_stringc:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdx
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	ZVAL_NULL@PLT
	mov	rsi, r12
	mov	rdi, rbx
	call	FIND_XML_NULL@PLT
	test	rbx, rbx
	je	.L2
	mov	rax, QWORD PTR [rbx]
	test	rax, rax
	je	.L2
	mov	rdx, QWORD PTR [rax]
	cmp	rdx, QWORD PTR XML_TEXT_NODE[rip]
	je	.L18
	cmp	rdx, QWORD PTR XML_CDATA_SECTION_NODE[rip]
	jne	.L4
	cmp	QWORD PTR 16[rax], 0
	je	.L16
.L4:
	mov	edi, DWORD PTR E_ERROR[rip]
	lea	rsi, .LC0[rip]
	call	soap_error0@PLT
.L8:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rdi, r12
	call	ZVAL_EMPTY_STRING@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L18:
	.cfi_restore_state
	cmp	QWORD PTR 16[rax], 0
	jne	.L4
	mov	rdi, QWORD PTR 8[rax]
	call	whiteSpace_collapse@PLT
	mov	edi, DWORD PTR encoding[rip]
	call	SOAP_GLOBAL@PLT
	test	rax, rax
	mov	rax, QWORD PTR [rbx]
	je	.L16
	mov	rdi, QWORD PTR 8[rax]
	call	xmlStrlen@PLT
	mov	esi, eax
	mov	rax, QWORD PTR [rbx]
	mov	rdi, QWORD PTR 8[rax]
	call	xmlBufferCreateStatic@PLT
	mov	r13d, eax
	xor	eax, eax
	call	xmlBufferCreate@PLT
	mov	edi, DWORD PTR encoding[rip]
	mov	ebp, eax
	call	SOAP_GLOBAL@PLT
	mov	edx, r13d
	mov	esi, ebp
	mov	rdi, rax
	call	xmlCharEncOutFunc@PLT
	test	eax, eax
	js	.L6
	mov	edi, ebp
	call	xmlBufferContent@PLT
	mov	rdi, r12
	mov	rsi, rax
	call	ZVAL_STRING@PLT
.L7:
	mov	edi, ebp
	call	xmlBufferFree@PLT
	mov	edi, r13d
	call	xmlBufferFree@PLT
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L16:
	mov	rsi, QWORD PTR 8[rax]
	mov	rdi, r12
	call	ZVAL_STRING@PLT
	jmp	.L8
.L6:
	mov	rax, QWORD PTR [rbx]
	mov	rdi, r12
	mov	rsi, QWORD PTR 8[rax]
	call	ZVAL_STRING@PLT
	jmp	.L7
	.cfi_endproc
.LFE0:
	.size	to_zval_stringc, .-to_zval_stringc
	.comm	encoding,4,4
	.comm	XML_TEXT_NODE,8,8
	.comm	XML_CDATA_SECTION_NODE,8,8
	.comm	E_ERROR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_php_encoding.c_to_zval_stringc.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Encoding: Violation of encoding rules\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	to_zval_stringc, %function
to_zval_stringc:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r2
	mov	r5, r0
	bl	ZVAL_NULL
	mov	r1, r5
	mov	r0, r4
	bl	FIND_XML_NULL
	cmp	r4, #0
	beq	.L2
	ldr	r3, [r4]
	cmp	r3, #0
	beq	.L2
	ldr	r1, .L19
	ldr	r2, [r3]
	ldr	r1, [r1]
	cmp	r2, r1
	beq	.L17
	ldr	r1, .L19+4
	ldr	r1, [r1]
	cmp	r2, r1
	bne	.L4
	ldr	r2, [r3, #8]
	cmp	r2, #0
	beq	.L18
.L4:
	ldr	r3, .L19+8
	ldr	r1, .L19+12
	ldr	r0, [r3]
	bl	soap_error0
.L8:
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	mov	r0, r5
	bl	ZVAL_EMPTY_STRING
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L17:
	ldr	r2, [r3, #8]
	cmp	r2, #0
	bne	.L4
	ldr	r8, .L19+16
	ldr	r0, [r3, #4]
	bl	whiteSpace_collapse
	ldr	r0, [r8]
	bl	SOAP_GLOBAL
	cmp	r0, #0
	ldr	r3, [r4]
	beq	.L5
	ldr	r6, [r3, #4]
	mov	r0, r6
	bl	xmlStrlen
	mov	r1, r0
	mov	r0, r6
	bl	xmlBufferCreateStatic
	mov	r7, r0
	bl	xmlBufferCreate
	mov	r6, r0
	ldr	r0, [r8]
	bl	SOAP_GLOBAL
	mov	r2, r7
	mov	r1, r6
	bl	xmlCharEncOutFunc
	cmp	r0, #0
	blt	.L6
	mov	r0, r6
	bl	xmlBufferContent
	mov	r1, r0
	mov	r0, r5
	bl	ZVAL_STRING
.L7:
	mov	r0, r6
	bl	xmlBufferFree
	mov	r0, r7
	bl	xmlBufferFree
	b	.L8
.L18:
	mov	r0, r5
	ldr	r1, [r3, #4]
	bl	ZVAL_STRING
	b	.L8
.L5:
	mov	r0, r5
	ldr	r1, [r3, #4]
	bl	ZVAL_STRING
	b	.L8
.L6:
	ldr	r3, [r4]
	mov	r0, r5
	ldr	r1, [r3, #4]
	bl	ZVAL_STRING
	b	.L7
.L20:
	.align	2
.L19:
	.word	XML_TEXT_NODE
	.word	XML_CDATA_SECTION_NODE
	.word	E_ERROR
	.word	.LC0
	.word	encoding
	.size	to_zval_stringc, .-to_zval_stringc
	.comm	encoding,4,4
	.comm	XML_TEXT_NODE,4,4
	.comm	XML_CDATA_SECTION_NODE,4,4
	.comm	E_ERROR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
