	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_soap_xmlParseMemory            ## -- Begin function soap_xmlParseMemory
	.p2align	4, 0x90
_soap_xmlParseMemory:                   ## @soap_xmlParseMemory
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	callq	_xmlCreateMemoryParserCtxt
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	_soap_ignorableWhitespace@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	32(%rbx), %rcx
	movl	%eax, 20(%rcx)
	movq	_soap_Comment@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rcx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rcx)
	movq	_XML_PARSE_HUGE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 24(%rbx)
	movl	$1, %edi
	callq	_php_libxml_disable_entity_loader
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_xmlParseDocument
	movl	%r14d, %edi
	callq	_php_libxml_disable_entity_loader
	cmpq	$0, 16(%rbx)
	movq	(%rbx), %r14
	je	LBB0_6
## %bb.3:
	cmpq	$0, (%r14)
	jne	LBB0_7
## %bb.4:
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.5:
	callq	_xmlCharStrdup
	movq	%rax, (%r14)
	jmp	LBB0_7
LBB0_1:
	xorl	%r14d, %r14d
	jmp	LBB0_8
LBB0_6:
	movq	%r14, %rdi
	callq	_xmlFreeDoc
	movq	$0, (%rbx)
	xorl	%r14d, %r14d
LBB0_7:
	movq	%rbx, %rdi
	callq	_xmlFreeParserCtxt
LBB0_8:
	movq	%r14, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_soap_ignorableWhitespace,4,2   ## @soap_ignorableWhitespace
	.comm	_soap_Comment,4,2               ## @soap_Comment
	.comm	_XML_PARSE_HUGE,4,2             ## @XML_PARSE_HUGE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_soap_xmlParseMemory            ; -- Begin function soap_xmlParseMemory
	.p2align	2
_soap_xmlParseMemory:                   ; @soap_xmlParseMemory
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	bl	_xmlCreateMemoryParserCtxt
	cbz	x0, LBB0_5
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x8, _soap_ignorableWhitespace@GOTPAGE
Lloh1:
	ldr	x8, [x8, _soap_ignorableWhitespace@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _soap_Comment@GOTPAGE
Lloh4:
	ldr	x9, [x9, _soap_Comment@GOTPAGEOFF]
	ldr	x10, [x0, #32]
Lloh5:
	ldr	w9, [x9]
	stp	w9, w8, [x10, #16]
	stp	xzr, xzr, [x10]
Lloh6:
	adrp	x8, _XML_PARSE_HUGE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _XML_PARSE_HUGE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ldr	w9, [x0, #24]
	orr	w8, w9, w8
	str	w8, [x0, #24]
	mov	w0, #1
	bl	_php_libxml_disable_entity_loader
	mov	x20, x0
	mov	x0, x19
	bl	_xmlParseDocument
	mov	x0, x20
	bl	_php_libxml_disable_entity_loader
	ldr	x8, [x19, #16]
	ldr	x20, [x19]
	cbz	x8, LBB0_6
; %bb.2:
	ldr	x8, [x20]
	cbnz	x8, LBB0_7
; %bb.3:
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_7
; %bb.4:
	bl	_xmlCharStrdup
	str	x0, [x20]
	b	LBB0_7
LBB0_5:
	mov	x20, #0
	b	LBB0_8
LBB0_6:
	mov	x0, x20
	bl	_xmlFreeDoc
	mov	x20, #0
	str	xzr, [x19]
LBB0_7:
	mov	x0, x19
	bl	_xmlFreeParserCtxt
LBB0_8:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_soap_ignorableWhitespace,4,2   ; @soap_ignorableWhitespace
	.comm	_soap_Comment,4,2               ; @soap_Comment
	.comm	_XML_PARSE_HUGE,4,2             ; @XML_PARSE_HUGE
.subsections_via_symbols
