	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function to_xml_double
_to_xml_double:                         ## @to_xml_double
	.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	_zval_get_double
	leaq	-48(%rbp), %rdi
	movl	%eax, %esi
	callq	_ZVAL_DOUBLE
	movq	_precision@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_EG
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movl	(%r14), %edi
	callq	_EG
	movl	%eax, %edi
	jmp	LBB0_3
LBB0_1:
	movl	$17, %edi
LBB0_3:
	movq	_MAX_LENGTH_OF_DOUBLE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	incq	%rdx
	movl	$1, %esi
	callq	_safe_emalloc
	movq	%rax, %rbx
	movl	-48(%rbp), %edi
	callq	_Z_DVAL
	movl	%eax, %r13d
	movl	(%r14), %edi
	callq	_EG
	movl	%r13d, %edi
	movl	%eax, %esi
	movl	$46, %edx
	movl	$69, %ecx
	movq	%rbx, %r8
	callq	_php_gcvt
	movq	%rbx, %rdi
	callq	_BAD_CAST
	movl	%eax, %r13d
	movq	%rbx, %rdi
	callq	_strlen
	movl	%r12d, %edi
	movl	%r13d, %esi
	movl	%eax, %edx
	callq	_xmlNodeSetContentLen
	movq	%rbx, %rdi
	callq	_efree
	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	_precision,4,2                  ## @precision
	.comm	_MAX_LENGTH_OF_DOUBLE,8,3       ## @MAX_LENGTH_OF_DOUBLE
	.comm	_SOAP_ENCODED,4,2               ## @SOAP_ENCODED
	.no_dead_strip	_to_xml_double
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function to_xml_double
_to_xml_double:                         ; @to_xml_double
	.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	x22, x3
	mov	x20, x2
	mov	x23, 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, x22
	mov	x1, x21
	bl	_xmlAddChild
	mov	x0, x23
	mov	x1, x21
	mov	x2, x20
	bl	_FIND_ZVAL_NULL
	mov	x0, x23
	bl	_zval_get_double
	mov	x1, x0
	add	x0, sp, #12
	bl	_ZVAL_DOUBLE
Lloh2:
	adrp	x24, _precision@GOTPAGE
Lloh3:
	ldr	x24, [x24, _precision@GOTPAGEOFF]
	ldr	w0, [x24]
	bl	_EG
	tbnz	w0, #31, LBB0_2
; %bb.1:
	ldr	w0, [x24]
	bl	_EG
	b	LBB0_3
LBB0_2:
	mov	w0, #17
LBB0_3:
Lloh4:
	adrp	x8, _MAX_LENGTH_OF_DOUBLE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _MAX_LENGTH_OF_DOUBLE@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	add	x2, x8, #1
	mov	w1, #1
	bl	_safe_emalloc
	mov	x22, x0
	ldr	w0, [sp, #12]
	bl	_Z_DVAL
	mov	x23, x0
	ldr	w0, [x24]
	bl	_EG
	mov	x1, x0
	mov	x0, x23
	mov	w2, #46
	mov	w3, #69
	mov	x4, x22
	bl	_php_gcvt
	mov	x0, x22
	bl	_BAD_CAST
	mov	x23, x0
	mov	x0, x22
	bl	_strlen
	mov	x2, x0
	mov	x0, x21
	mov	x1, x23
	bl	_xmlNodeSetContentLen
	mov	x0, x22
	bl	_efree
Lloh7:
	adrp	x8, _SOAP_ENCODED@GOTPAGE
Lloh8:
	ldr	x8, [x8, _SOAP_ENCODED@GOTPAGEOFF]
Lloh9:
	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, #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 AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"BOGUS"

	.comm	_precision,4,2                  ; @precision
	.comm	_MAX_LENGTH_OF_DOUBLE,8,3       ; @MAX_LENGTH_OF_DOUBLE
	.comm	_SOAP_ENCODED,4,2               ; @SOAP_ENCODED
	.no_dead_strip	_to_xml_double
.subsections_via_symbols
