	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_to_xml_user                    ## -- Begin function to_xml_user
	.p2align	4, 0x90
_to_xml_user:                           ## @to_xml_user
	.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	%rcx, %r15
	movl	%edx, %r14d
	movq	%rdi, %r12
	testq	%rdi, %rdi
	je	LBB0_13
## %bb.1:
	movq	(%r12), %rax
	testq	%rax, %rax
	je	LBB0_13
## %bb.2:
	movq	%rsi, %rbx
	movl	(%rax), %edi
	callq	_Z_TYPE
	movq	_IS_UNDEF@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_13
## %bb.3:
	leaq	-44(%rbp), %r13
	movq	%r13, %rdi
	callq	_ZVAL_NULL
	movq	(%r12), %rdx
	xorl	%edi, %edi
	xorl	%esi, %esi
	movq	%r13, %rcx
	movl	$1, %r8d
	movq	%rbx, %r9
	callq	_call_user_function
	movq	_FAILURE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.4:
	movq	_E_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_soap_error0
LBB0_5:
	movl	-44(%rbp), %edi
	callq	_Z_TYPE
	movq	_IS_STRING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.6:
	movl	-44(%rbp), %edi
	callq	_Z_STRVAL
	movl	%eax, %ebx
	movl	-44(%rbp), %edi
	callq	_Z_STRLEN
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_soap_xmlParseMemory
	movq	%rax, %r13
	testq	%rax, %rax
	je	LBB0_11
## %bb.7:
	movq	(%r13), %rdi
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.8:
	movl	(%r15), %esi
	movl	$1, %edx
	callq	_xmlDocCopyNode
	movq	%rax, %rbx
	jmp	LBB0_12
LBB0_9:
	leaq	-44(%rbp), %rdi
	callq	_zval_ptr_dtor
	jmp	LBB0_13
LBB0_11:
	xorl	%ebx, %ebx
LBB0_12:
	movq	%r13, %rdi
	callq	_xmlFreeDoc
	leaq	-44(%rbp), %rdi
	callq	_zval_ptr_dtor
	testq	%rbx, %rbx
	jne	LBB0_14
LBB0_13:
	leaq	L_.str.1(%rip), %rdi
	callq	_BAD_CAST
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_xmlNewNode
	movq	%rax, %rbx
LBB0_14:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_xmlAddChild
	movq	_SOAP_ENCODED@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	jne	LBB0_16
## %bb.15:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_set_ns_and_type
LBB0_16:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IS_UNDEF,8,3                   ## @IS_UNDEF
	.comm	_FAILURE,8,3                    ## @FAILURE
	.comm	_E_ERROR,4,2                    ## @E_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Encoding: Error calling to_xml callback"

	.comm	_IS_STRING,8,3                  ## @IS_STRING
L_.str.1:                               ## @.str.1
	.asciz	"BOGUS"

	.comm	_SOAP_ENCODED,4,2               ## @SOAP_ENCODED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_to_xml_user                    ; -- Begin function to_xml_user
	.p2align	2
_to_xml_user:                           ; @to_xml_user
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x21, x3
	mov	x20, x2
	mov	x19, x0
	cbz	x0, LBB0_12
; %bb.1:
	ldr	x8, [x19]
	cbz	x8, LBB0_12
; %bb.2:
	mov	x22, x1
	ldr	w0, [x8]
	bl	_Z_TYPE
Lloh0:
	adrp	x8, _IS_UNDEF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IS_UNDEF@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_12
; %bb.3:
	add	x0, sp, #12
	bl	_ZVAL_NULL
	ldr	x2, [x19]
	add	x3, sp, #12
	mov	x0, #0
	mov	x1, #0
	mov	w4, #1
	mov	x5, x22
	bl	_call_user_function
Lloh3:
	adrp	x8, _FAILURE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FAILURE@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_5
; %bb.4:
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
LBB0_5:
	ldr	w0, [sp, #12]
	bl	_Z_TYPE
Lloh11:
	adrp	x8, _IS_STRING@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IS_STRING@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_9
; %bb.6:
	ldr	w0, [sp, #12]
	bl	_Z_STRVAL
	mov	x22, x0
	ldr	w0, [sp, #12]
	bl	_Z_STRLEN
	mov	x1, x0
	mov	x0, x22
	bl	_soap_xmlParseMemory
	mov	x23, x0
	cbz	x0, LBB0_10
; %bb.7:
	ldr	x0, [x23]
	cbz	x0, LBB0_10
; %bb.8:
	ldr	w1, [x21]
	mov	w2, #1
	bl	_xmlDocCopyNode
	mov	x22, x0
	b	LBB0_11
LBB0_9:
	add	x0, sp, #12
	bl	_zval_ptr_dtor
	b	LBB0_12
LBB0_10:
	mov	x22, #0
LBB0_11:
	mov	x0, x23
	bl	_xmlFreeDoc
	add	x0, sp, #12
	bl	_zval_ptr_dtor
	cbnz	x22, LBB0_13
LBB0_12:
Lloh14:
	adrp	x0, l_.str.1@PAGE
Lloh15:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_BAD_CAST
	mov	x1, x0
	mov	x0, #0
	bl	_xmlNewNode
	mov	x22, x0
LBB0_13:
	mov	x0, x21
	mov	x1, x22
	bl	_xmlAddChild
Lloh16:
	adrp	x8, _SOAP_ENCODED@GOTPAGE
Lloh17:
	ldr	x8, [x8, _SOAP_ENCODED@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	cmp	w8, w20
	b.ne	LBB0_15
; %bb.14:
	mov	x0, x22
	mov	x1, x19
	bl	_set_ns_and_type
LBB0_15:
	mov	x0, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_IS_UNDEF,8,3                   ; @IS_UNDEF
	.comm	_FAILURE,8,3                    ; @FAILURE
	.comm	_E_ERROR,4,2                    ; @E_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Encoding: Error calling to_xml callback"

	.comm	_IS_STRING,8,3                  ; @IS_STRING
l_.str.1:                               ; @.str.1
	.asciz	"BOGUS"

	.comm	_SOAP_ENCODED,4,2               ; @SOAP_ENCODED
.subsections_via_symbols
