	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __cvt
___cvt:                                 ## @__cvt
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r12d
	movl	%ecx, %r14d
	movq	%rdx, %rcx
	movq	%rsi, %r15
	movl	%edi, %ebx
	movl	%edi, %r13d
	negl	%r13d
	cmovsl	%edi, %r13d
	incl	%r13d
	xorpd	%xmm1, %xmm1
	ucomisd	%xmm1, %xmm0
	jne	LBB0_4
	jp	LBB0_4
## %bb.1:
	movl	$1, %eax
	subl	%r14d, %eax
	movl	%eax, (%r15)
	movl	$0, (%rcx)
	testl	%ebx, %ebx
	movl	$2, %edi
	cmovneq	%r13, %rdi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_18
## %bb.2:
	movq	%rax, %r14
	incq	%rax
	movq	%rax, -48(%rbp)
	movb	$48, (%r14)
	movq	-48(%rbp), %rax
	movb	$0, (%rax)
	testl	%ebx, %ebx
	je	LBB0_19
## %bb.3:
	testl	%r12d, %r12d
	jne	LBB0_9
	jmp	LBB0_19
LBB0_4:
	movl	%r12d, -52(%rbp)                ## 4-byte Spill
	leal	2(%r14), %edi
	leaq	-48(%rbp), %r8
	movl	%ebx, %esi
	movq	%r15, %rdx
	callq	_zend_dtoa
	movq	%rax, %r12
	movslq	(%r15), %rbx
	cmpq	$9999, %rbx                     ## imm = 0x270F
	jne	LBB0_7
## %bb.5:
	movl	$0, (%r15)
	movb	(%r12), %bl
	movq	%r12, %rdi
	callq	_zend_freedtoa
	cmpb	$73, %bl
	leaq	L_.str(%rip), %rax
	leaq	L_.str.1(%rip), %rdi
	cmoveq	%rax, %rdi
	callq	_strdup
	movq	%rax, %r14
	jmp	LBB0_19
LBB0_7:
	xorl	%eax, %eax
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	cmoveq	%rax, %rbx
	testl	%r14d, %r14d
	cmoveq	%rax, %rbx
	leaq	(%rbx,%r13), %rdi
	incq	%rdi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_17
## %bb.8:
	movq	%rax, %r14
	addq	%rbx, %r13
	movq	%rax, %rdi
	movq	%r12, %rsi
	movq	%r13, %rdx
	callq	_strlcpy
	movq	-48(%rbp), %rax
	subq	%r12, %rax
	addq	%r14, %rax
	movq	%rax, -48(%rbp)
	movq	%r12, %rdi
	callq	_zend_freedtoa
	movl	-52(%rbp), %r12d                ## 4-byte Reload
	testl	%r12d, %r12d
	je	LBB0_19
LBB0_9:
	movq	-48(%rbp), %rcx
	addq	%r14, %r13
	movq	%rcx, %rax
	notq	%rax
	addq	%r13, %rax
	je	LBB0_16
## %bb.10:
	subq	%rcx, %r13
	addq	$-2, %r13
	movq	%rax, %rdx
	andq	$3, %rdx
	je	LBB0_14
## %bb.11:
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	leaq	1(%rcx), %rdi
	movq	%rdi, -48(%rbp)
	movb	$48, (%rcx)
	movq	-48(%rbp), %rcx
	incq	%rsi
	cmpq	%rsi, %rdx
	jne	LBB0_12
## %bb.13:
	subq	%rsi, %rax
LBB0_14:
	cmpq	$3, %r13
	jb	LBB0_16
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	leaq	1(%rcx), %rdx
	movq	%rdx, -48(%rbp)
	movb	$48, (%rcx)
	movq	-48(%rbp), %rcx
	leaq	1(%rcx), %rdx
	movq	%rdx, -48(%rbp)
	movb	$48, (%rcx)
	movq	-48(%rbp), %rcx
	leaq	1(%rcx), %rdx
	movq	%rdx, -48(%rbp)
	movb	$48, (%rcx)
	movq	-48(%rbp), %rcx
	leaq	1(%rcx), %rdx
	movq	%rdx, -48(%rbp)
	movb	$48, (%rcx)
	movq	-48(%rbp), %rcx
	addq	$-4, %rax
	jne	LBB0_15
LBB0_16:
	movb	$0, (%rcx)
	jmp	LBB0_19
LBB0_17:
	movq	%r12, %rdi
	callq	_zend_freedtoa
LBB0_18:
	xorl	%r14d, %r14d
LBB0_19:
	movq	%r14, %rax
	addq	$24, %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	"INF"

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

	.no_dead_strip	___cvt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __cvt
___cvt:                                 ; @__cvt
	.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	x19, x4
	mov	x21, x3
	mov	x3, x2
	mov	x23, x1
	mov	x22, x0
	cmp	w0, #0
	cneg	w8, w0, mi
	add	w20, w8, #1
	fcmp	d0, #0.0
	b.ne	LBB0_4
; %bb.1:
	mov	w8, #1
	sub	w8, w8, w21
	str	w8, [x23]
	str	wzr, [x3]
	cmp	w22, #0
	mov	w8, #2
	csel	x0, x8, x20, eq
	bl	_malloc
	mov	x21, x0
	cbz	x0, LBB0_13
; %bb.2:
	add	x8, x21, #1
	str	x8, [sp, #8]
	mov	w8, #48
	strb	w8, [x21]
	ldr	x8, [sp, #8]
	strb	wzr, [x8]
	cbz	w22, LBB0_13
; %bb.3:
	cbnz	w19, LBB0_8
	b	LBB0_13
LBB0_4:
	add	w0, w21, #2
	add	x4, sp, #8
	mov	x1, x22
	mov	x2, x23
	bl	_zend_dtoa
	mov	x22, x0
	ldrsw	x8, [x23]
	mov	w9, #9999
	cmp	w8, w9
	b.ne	LBB0_6
; %bb.5:
	str	wzr, [x23]
	ldrb	w19, [x22]
	mov	x0, x22
	bl	_zend_freedtoa
Lloh0:
	adrp	x8, l_.str.1@PAGE
Lloh1:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh2:
	adrp	x9, l_.str@PAGE
Lloh3:
	add	x9, x9, l_.str@PAGEOFF
	cmp	w19, #73
	csel	x0, x9, x8, eq
	bl	_strdup
	mov	x21, x0
	b	LBB0_13
LBB0_6:
	cmp	w19, #0
	ccmp	w21, #0, #4, ne
	csel	x8, x8, xzr, ne
	add	x20, x8, x20
	add	x0, x20, #1
	bl	_malloc
	mov	x21, x0
	cbz	x0, LBB0_12
; %bb.7:
	mov	x0, x21
	mov	x1, x22
	mov	x2, x20
	bl	_strlcpy
	ldr	x8, [sp, #8]
	sub	x8, x8, x22
	add	x8, x21, x8
	str	x8, [sp, #8]
	mov	x0, x22
	bl	_zend_freedtoa
	cbz	w19, LBB0_13
LBB0_8:
	ldr	x8, [sp, #8]
	mvn	x9, x8
	add	x10, x20, x21
	adds	x9, x10, x9
	b.eq	LBB0_11
; %bb.9:
	mov	w10, #48
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	add	x11, x8, #1
	str	x11, [sp, #8]
	strb	w10, [x8]
	ldr	x8, [sp, #8]
	subs	x9, x9, #1
	b.ne	LBB0_10
LBB0_11:
	strb	wzr, [x8]
	b	LBB0_13
LBB0_12:
	mov	x0, x22
	bl	_zend_freedtoa
LBB0_13:
	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 AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"INF"

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

	.no_dead_strip	___cvt
.subsections_via_symbols
