	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function number_to_exponential
LCPI0_0:
	.quad	0x8000000000000000              ## double -0
	.quad	0x8000000000000000              ## double -0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_number_to_exponential:                 ## @number_to_exponential
	.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	%edi, %r14d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_NUMBER_DTOA_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%r15, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movapd	LCPI0_0(%rip), %xmm1            ## xmm1 = [-0.0E+0,-0.0E+0]
	xorpd	%xmm0, %xmm1
	ucomisd	%xmm0, %xmm1
	jbe	LBB0_1
## %bb.2:
	movq	_TRUE@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_FALSE@GOTPCREL(%rip), %rax
LBB0_3:
	movq	(%rax), %r13
	leal	2(%r14), %r12d
	cmpl	%r15d, %r12d
	cmovgl	%r15d, %r12d
	maxsd	%xmm0, %xmm1
	testl	%r14d, %r14d
	cmovsl	%r15d, %r12d
	leaq	-52(%rbp), %rdx
	movapd	%xmm1, %xmm0
	movq	%rbx, %rdi
	movl	%r12d, %esi
	callq	_number_to_str
	leal	-1(%r12), %r15d
	cmpl	$-1, %r14d
	jne	LBB0_9
## %bb.4:
	cmpl	$3, %r12d
	jl	LBB0_9
## %bb.5:
	movl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$48, -1(%rbx,%r15)
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movb	$0, -1(%rbx,%r15)
	decq	%r15
	leaq	1(%r15), %rax
	cmpq	$2, %rax
	ja	LBB0_6
## %bb.8:
	movl	$1, %r15d
LBB0_9:
	movl	-52(%rbp), %eax
	leal	-10(%rax), %ecx
	movl	$1, %r12d
	cmpl	$-20, %ecx
	ja	LBB0_13
## %bb.10:
	movl	$10, %ecx
	movl	$1, %r12d
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	addl	%ecx, %ecx
	leal	(%rcx,%rcx,4), %ecx
	incl	%r12d
	movl	%ecx, %edx
	negl	%edx
	cmpl	%ecx, %eax
	jge	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	cmpl	%edx, %eax
	jle	LBB0_11
LBB0_13:
	movl	$3, %eax
	cmpl	$1, %r15d
	je	LBB0_17
## %bb.14:
	cmpl	$-1, %r14d
	je	LBB0_15
## %bb.16:
	leal	4(%r14), %eax
	jmp	LBB0_17
LBB0_15:
	leal	3(%r15), %eax
LBB0_17:
	cmpq	$1, %r13
	movl	%r12d, %edi
	sbbl	$-1, %edi
	addl	%eax, %edi
	leaq	-64(%rbp), %rsi
	callq	_jsstr_alloc_buf
	testq	%rax, %rax
	je	LBB0_40
## %bb.18:
	testq	%r13, %r13
	je	LBB0_19
## %bb.20:
	movq	-64(%rbp), %rcx
	movb	$45, (%rcx)
	movl	$1, %edx
	jmp	LBB0_21
LBB0_19:
	xorl	%edx, %edx
LBB0_21:
	movl	%edx, %esi
	leaq	1(%rsi), %rcx
	movb	(%rbx), %r8b
	movq	-64(%rbp), %rdi
	movb	%r8b, (%rdi,%rsi)
	cmpl	$1, %r15d
	je	LBB0_34
## %bb.22:
	movq	-64(%rbp), %rsi
	orl	$2, %edx
	movb	$46, (%rsi,%rcx)
	movb	1(%rbx), %cl
	testb	%cl, %cl
	je	LBB0_25
## %bb.23:
	movl	%edx, %edx
	addq	$2, %rbx
	.p2align	4, 0x90
LBB0_24:                                ## =>This Inner Loop Header: Depth=1
	movq	-64(%rbp), %rsi
	movb	%cl, (%rsi,%rdx)
	incq	%rdx
	movzbl	(%rbx), %ecx
	incq	%rbx
	testb	%cl, %cl
	jne	LBB0_24
LBB0_25:
	cmpl	%r14d, %r15d
	jle	LBB0_27
## %bb.26:
	movl	%edx, %ecx
	jmp	LBB0_34
LBB0_27:
	movl	%edx, %ecx
	movl	%r14d, %edx
	subl	%r15d, %edx
	leal	1(%rdx), %esi
	testb	$3, %sil
	je	LBB0_31
## %bb.28:
	movl	%r14d, %ebx
	subb	%r15b, %bl
	incb	%bl
	movzbl	%bl, %esi
	andl	$3, %esi
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_29:                                ## =>This Inner Loop Header: Depth=1
	movq	-64(%rbp), %rbx
	movb	$48, (%rbx,%rcx)
	incq	%rcx
	incq	%rdi
	cmpl	%edi, %esi
	jne	LBB0_29
## %bb.30:
	subl	%edi, %r14d
LBB0_31:
	cmpl	$3, %edx
	jb	LBB0_34
## %bb.32:
	incl	%r14d
	.p2align	4, 0x90
LBB0_33:                                ## =>This Inner Loop Header: Depth=1
	movq	-64(%rbp), %rdx
	movb	$48, (%rdx,%rcx)
	movq	-64(%rbp), %rdx
	movb	$48, 1(%rdx,%rcx)
	movq	-64(%rbp), %rdx
	movb	$48, 2(%rdx,%rcx)
	movq	-64(%rbp), %rdx
	movb	$48, 3(%rdx,%rcx)
	addq	$4, %rcx
	addl	$-4, %r14d
	cmpl	%r15d, %r14d
	jg	LBB0_33
LBB0_34:
	movq	-64(%rbp), %rsi
	movslq	%ecx, %rdx
	movb	$101, (%rsi,%rdx)
	cmpl	$0, -52(%rbp)
	movq	-64(%rbp), %rsi
	js	LBB0_36
## %bb.35:
	movb	$43, 1(%rsi,%rdx)
	movl	-52(%rbp), %esi
	jmp	LBB0_37
LBB0_36:
	movb	$45, 1(%rsi,%rdx)
	xorl	%esi, %esi
	subl	-52(%rbp), %esi
	movl	%esi, -52(%rbp)
LBB0_37:
	leal	(%r12,%rcx), %edx
	addl	$2, %edx
	movslq	%edx, %rdx
	leal	(%rcx,%r12,2), %ecx
	addl	$2, %ecx
	.p2align	4, 0x90
LBB0_38:                                ## =>This Inner Loop Header: Depth=1
	movslq	%esi, %rsi
	imulq	$1717986919, %rsi, %rdi         ## imm = 0x66666667
	movq	%rdi, %rbx
	shrq	$63, %rbx
	sarq	$34, %rdi
	addl	%ebx, %edi
	addl	%edi, %edi
	leal	(%rdi,%rdi,4), %edi
	subl	%edi, %esi
	addb	$48, %sil
	movq	-64(%rbp), %rdi
	movb	%sil, -1(%rdi,%rdx)
	decq	%rdx
	movslq	-52(%rbp), %rdi
	imulq	$1717986919, %rdi, %rsi         ## imm = 0x66666667
	movq	%rsi, %rbx
	shrq	$63, %rbx
	sarq	$34, %rsi
	addl	%ebx, %esi
	decl	%ecx
	movl	%esi, -52(%rbp)
	cmpq	$9, %rdi
	jg	LBB0_38
## %bb.39:
	movq	-64(%rbp), %rdx
	movslq	%ecx, %rcx
	movb	$0, (%rdx,%rcx)
LBB0_40:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_42
## %bb.41:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_42:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_NUMBER_DTOA_SIZE,4,2           ## @NUMBER_DTOA_SIZE
	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_TRUE,8,3                       ## @TRUE
	.no_dead_strip	_number_to_exponential
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function number_to_exponential
_number_to_exponential:                 ; @number_to_exponential
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	sub	sp, sp, #32
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x8, _NUMBER_DTOA_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NUMBER_DTOA_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x8, #15
	and	x10, x10, #0x1fffffff0
	sub	x20, x9, x10
	mov	sp, x20
Lloh8:
	adrp	x9, _FALSE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _FALSE@GOTPAGEOFF]
Lloh10:
	adrp	x10, _TRUE@GOTPAGE
Lloh11:
	ldr	x10, [x10, _TRUE@GOTPAGEOFF]
	fcmp	d0, #0.0
	csel	x9, x10, x9, mi
	ldr	x23, [x9]
	fneg	d1, d0
	fcsel	d0, d1, d0, mi
	add	w9, w0, #2
	cmp	w9, w8
	ccmp	w0, #0, #8, le
	csel	w21, w8, w9, lt
	sub	x2, x29, #60
	mov	x0, x20
	mov	x1, x21
	bl	_number_to_str
	sub	w22, w21, #1
	cmn	w19, #1
	b.ne	LBB0_6
; %bb.1:
	cmp	w21, #3
	b.lt	LBB0_6
; %bb.2:
	sub	x8, x20, #1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x8, x22]
	cmp	w9, #48
	b.ne	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	strb	wzr, [x8, x22]
	sub	x22, x22, #1
	add	x9, x22, #1
	cmp	x9, #2
	b.hi	LBB0_3
; %bb.5:
	mov	w22, #1
LBB0_6:
	ldur	w8, [x29, #-60]
	sub	w9, w8, #10
	cmn	w9, #20
	b.hi	LBB0_9
; %bb.7:
	mov	w9, #10
	mov	w21, #1
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	add	w9, w9, w9, lsl #2
	lsl	w9, w9, #1
	add	w21, w21, #1
	neg	w10, w9
	cmp	w8, w9
	ccmp	w8, w10, #4, lt
	b.le	LBB0_8
	b	LBB0_10
LBB0_9:
	mov	w21, #1
LBB0_10:
	mov	w8, #3
	cmn	w19, #1
	add	w9, w19, #4
	add	w10, w22, #3
	csel	w9, w9, w10, ne
	cmp	w22, #1
	csel	w8, w8, w9, eq
	cmp	x23, #0
	cinc	w9, w21, ne
	add	w0, w9, w8
	sub	x1, x29, #72
	bl	_jsstr_alloc_buf
	cbz	x0, LBB0_28
; %bb.11:
	cbz	x23, LBB0_13
; %bb.12:
	ldur	x8, [x29, #-72]
	mov	w9, #45
	strb	w9, [x8]
	mov	w9, #1
	b	LBB0_14
LBB0_13:
	mov	w9, #0
LBB0_14:
	ldrb	w8, [x20]
	ldur	x11, [x29, #-72]
	mov	w12, w9
	add	x10, x12, #1
	strb	w8, [x11, x12]
	mov	x8, x10
	cmp	w22, #1
	b.eq	LBB0_22
; %bb.15:
	ldur	x11, [x29, #-72]
	orr	w8, w9, #0x2
	mov	w9, #46
	strb	w9, [x11, x10]
	ldrb	w9, [x20, #1]
	cbz	w9, LBB0_18
; %bb.16:
	add	x10, x20, #2
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	ldur	x11, [x29, #-72]
	strb	w9, [x11, x8]
	add	x8, x8, #1
	ldrb	w9, [x10], #1
	cbnz	w9, LBB0_17
LBB0_18:
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	cmp	w22, w19
	b.gt	LBB0_22
; %bb.19:
	mov	w9, w8
	add	w8, w19, #1
	mov	w10, #48
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	ldur	x11, [x29, #-72]
	strb	w10, [x11, x9]
	add	x9, x9, #1
	sub	w8, w8, #1
	cmp	w8, w22
	b.gt	LBB0_20
; %bb.21:
	mov	x8, x9
LBB0_22:
	ldur	x10, [x29, #-72]
	sxtw	x11, w8
	add	x9, x11, #1
	mov	w12, #101
	strb	w12, [x10, x11]
	ldur	w11, [x29, #-60]
	ldur	x10, [x29, #-72]
	tbnz	w11, #31, LBB0_24
; %bb.23:
	mov	w11, #43
	strb	w11, [x10, x9]
	ldur	w9, [x29, #-60]
	b	LBB0_25
LBB0_24:
	mov	w11, #45
	strb	w11, [x10, x9]
	ldur	w9, [x29, #-60]
	neg	w9, w9
	stur	w9, [x29, #-60]
LBB0_25:
	add	w10, w21, w8
	add	w10, w10, #2
	add	w8, w8, w21, lsl #1
	sxtw	x10, w10
	add	w8, w8, #2
	sub	x10, x10, #1
	mov	w11, #26215
	movk	w11, #26214, lsl #16
	mov	w12, #10
LBB0_26:                                ; =>This Inner Loop Header: Depth=1
	smull	x13, w9, w11
	lsr	x14, x13, #63
	lsr	x13, x13, #34
	add	w13, w13, w14
	msub	w9, w13, w12, w9
	add	w9, w9, #48
	ldur	x13, [x29, #-72]
	strb	w9, [x13, x10]
	ldursw	x13, [x29, #-60]
	mul	x9, x13, x11
	lsr	x14, x9, #63
	asr	x9, x9, #34
	add	w9, w9, w14
	stur	w9, [x29, #-60]
	sub	w8, w8, #1
	sub	x10, x10, #1
	cmp	w13, #9
	b.gt	LBB0_26
; %bb.27:
	ldur	x9, [x29, #-72]
	strb	wzr, [x9, w8, sxtw]
LBB0_28:
	ldur	x8, [x29, #-56]
Lloh12:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh13:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_30
; %bb.29:
	sub	sp, x29, #48
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_30:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_NUMBER_DTOA_SIZE,4,2           ; @NUMBER_DTOA_SIZE
	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_TRUE,8,3                       ; @TRUE
	.no_dead_strip	_number_to_exponential
.subsections_via_symbols
