	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function to_zval_double
LCPI0_0:
	.quad	0x8000000000000000              ## double -0
	.quad	0x8000000000000000              ## double -0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_to_zval_double:                        ## @to_zval_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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -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_16
## %bb.1:
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_16
## %bb.2:
	movq	(%rax), %rcx
	movq	_XML_TEXT_NODE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_15
## %bb.3:
	cmpq	$0, 16(%rax)
	je	LBB0_4
LBB0_15:
	movq	_E_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_soap_error0
	jmp	LBB0_17
LBB0_16:
	movq	%r14, %rdi
	callq	_ZVAL_NULL
LBB0_17:
	movq	%r14, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	8(%rax), %rdi
	callq	_whiteSpace_collapse
	movq	(%rbx), %rax
	movq	8(%rax), %r15
	movq	%r15, %rdi
	callq	_strlen
	leaq	-40(%rbp), %rdx
	leaq	-32(%rbp), %rcx
	movq	%r15, %rdi
	movl	%eax, %esi
	xorl	%r8d, %r8d
	callq	_is_numeric_string
	cmpl	$129, %eax
	je	LBB0_8
## %bb.5:
	cmpl	$128, %eax
	jne	LBB0_9
## %bb.6:
	movsd	-40(%rbp), %xmm0                ## xmm0 = mem[0],zero
	jmp	LBB0_7
LBB0_8:
	movsd	-32(%rbp), %xmm0                ## xmm0 = mem[0],zero
	jmp	LBB0_7
LBB0_9:
	movq	(%rbx), %rax
	movq	8(%rax), %rbx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	$3, %edx
	callq	_strncasecmp
	testl	%eax, %eax
	je	LBB0_10
## %bb.11:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	movl	$3, %edx
	callq	_strncasecmp
	testl	%eax, %eax
	je	LBB0_12
## %bb.13:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	movl	$4, %edx
	callq	_strncasecmp
	testl	%eax, %eax
	jne	LBB0_15
## %bb.14:
	xorl	%eax, %eax
	callq	_php_get_inf
	xorps	LCPI0_0(%rip), %xmm0
	jmp	LBB0_7
LBB0_10:
	xorl	%eax, %eax
	callq	_php_get_nan
	jmp	LBB0_7
LBB0_12:
	xorl	%eax, %eax
	callq	_php_get_inf
LBB0_7:
	movq	%r14, %rdi
	callq	_ZVAL_DOUBLE
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.comm	_XML_TEXT_NODE,8,3              ## @XML_TEXT_NODE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"NaN"

L_.str.1:                               ## @.str.1
	.asciz	"INF"

L_.str.2:                               ## @.str.2
	.asciz	"-INF"

	.comm	_E_ERROR,4,2                    ## @E_ERROR
L_.str.3:                               ## @.str.3
	.asciz	"Encoding: Violation of encoding rules"

	.no_dead_strip	_to_zval_double
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function to_zval_double
_to_zval_double:                        ; @to_zval_double
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x2
	mov	x19, x0
	bl	_ZVAL_NULL
	mov	x0, x20
	mov	x1, x19
	bl	_FIND_XML_NULL
	cbz	x20, LBB0_5
; %bb.1:
	ldr	x8, [x20]
	cbz	x8, LBB0_5
; %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	x9, [x8, #16]
	cbz	x9, LBB0_7
LBB0_4:
Lloh3:
	adrp	x8, _E_ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _E_ERROR@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_soap_error0
	b	LBB0_6
LBB0_5:
	mov	x0, x19
	bl	_ZVAL_NULL
LBB0_6:
	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
	add	sp, sp, #64
	ret
LBB0_7:
	ldr	x0, [x8, #8]
	bl	_whiteSpace_collapse
	ldr	x8, [x20]
	ldr	x21, [x8, #8]
	mov	x0, x21
	bl	_strlen
	mov	x1, x0
	add	x2, sp, #8
	mov	x3, sp
	mov	x0, x21
	mov	w4, #0
	bl	_is_numeric_string
	cmp	w0, #129
	b.eq	LBB0_10
; %bb.8:
	cmp	w0, #128
	b.ne	LBB0_11
; %bb.9:
	ldr	d0, [sp, #8]
	b	LBB0_17
LBB0_10:
	ldr	d0, [sp]
	b	LBB0_17
LBB0_11:
	ldr	x8, [x20]
	ldr	x20, [x8, #8]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	w2, #3
	bl	_strncasecmp
	cbz	w0, LBB0_15
; %bb.12:
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	w2, #3
	bl	_strncasecmp
	cbz	w0, LBB0_16
; %bb.13:
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	mov	w2, #4
	bl	_strncasecmp
	cbnz	w0, LBB0_4
; %bb.14:
	bl	_php_get_inf
	fneg	d0, d0
	b	LBB0_17
LBB0_15:
	bl	_php_get_nan
	b	LBB0_17
LBB0_16:
	bl	_php_get_inf
LBB0_17:
	mov	x0, x19
	bl	_ZVAL_DOUBLE
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_XML_TEXT_NODE,8,3              ; @XML_TEXT_NODE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"NaN"

l_.str.1:                               ; @.str.1
	.asciz	"INF"

l_.str.2:                               ; @.str.2
	.asciz	"-INF"

	.comm	_E_ERROR,4,2                    ; @E_ERROR
l_.str.3:                               ; @.str.3
	.asciz	"Encoding: Violation of encoding rules"

	.no_dead_strip	_to_zval_double
.subsections_via_symbols
