	.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_fixed
LCPI0_0:
	.quad	0x8000000000000000              ## double -0
	.quad	0x8000000000000000              ## double -0
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3
LCPI0_1:
	.quad	0x3ff0000000000000              ## double 1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_number_to_fixed:                       ## @number_to_fixed
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r12d
	movaps	%xmm0, -80(%rbp)                ## 16-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_NUMBER_DTOA_SIZE@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	leaq	L_.str(%rip), %rdi
	movaps	-80(%rbp), %xmm0                ## 16-byte Reload
	movl	%r12d, %esi
	callq	_TRACE
	movapd	LCPI0_0(%rip), %xmm0            ## xmm0 = [-0.0E+0,-0.0E+0]
	movapd	-80(%rbp), %xmm1                ## 16-byte Reload
	xorpd	%xmm1, %xmm0
	ucomisd	%xmm1, %xmm0
	maxsd	%xmm1, %xmm0
	jbe	LBB0_2
## %bb.1:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
LBB0_2:
	ucomisd	LCPI0_1(%rip), %xmm0
	jae	LBB0_3
## %bb.4:
	leal	1(%r12), %ebx
	testl	%r12d, %r12d
	movl	$2, %eax
	cmovnel	%ebx, %eax
	jmp	LBB0_5
LBB0_3:
	movapd	%xmm0, -80(%rbp)                ## 16-byte Spill
	movaps	-80(%rbp), %xmm0                ## 16-byte Reload
	callq	_log10
	movapd	-80(%rbp), %xmm0                ## 16-byte Reload
                                        ## kill: def $eax killed $eax def $rax
	addl	%r12d, %eax
	addl	$2, %eax
	leal	1(%r12), %ebx
LBB0_5:
	movl	(%r15), %r15d
	cmpl	%r15d, %eax
	cmovll	%eax, %r15d
	leaq	-52(%rbp), %rdx
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_number_to_str
	movl	-52(%rbp), %eax
	leal	1(%rax), %ecx
	testl	%eax, %eax
	movl	$1, %eax
	cmovnsl	%ecx, %eax
	movl	%ecx, -52(%rbp)
	testl	%r12d, %r12d
	cmovel	%r12d, %ebx
	cmpq	$1, %r13
	sbbl	$-1, %ebx
	addl	%eax, %ebx
	leaq	-64(%rbp), %rsi
	movl	%ebx, %edi
	callq	_jsstr_alloc_buf
	testq	%rax, %rax
	je	LBB0_34
## %bb.6:
	testq	%r13, %r13
	je	LBB0_7
## %bb.8:
	movq	-64(%rbp), %rcx
	movb	$45, (%rcx)
	movl	$1, %ecx
	cmpl	$0, -52(%rbp)
	jle	LBB0_39
LBB0_10:
	xorl	%r10d, %r10d
	cmpl	$2, %r15d
	jl	LBB0_15
## %bb.11:
	leal	-1(%r15), %esi
	movl	%ecx, %ecx
	xorl	%r10d, %r10d
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%r14,%r10), %ebx
	incq	%r10
	movq	-64(%rbp), %rdi
	movb	%bl, (%rdi,%rcx)
	incq	%rcx
	movl	-52(%rbp), %edi
	decl	%edi
	movl	%edi, -52(%rbp)
	cmpq	%rsi, %r10
	jae	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	testl	%edi, %edi
	jne	LBB0_12
	jmp	LBB0_14
LBB0_7:
	xorl	%ecx, %ecx
	cmpl	$0, -52(%rbp)
	jg	LBB0_10
LBB0_39:
	movq	-64(%rbp), %rdx
	movl	%ecx, %esi
	incl	%ecx
	movb	$48, (%rdx,%rsi)
	xorl	%r10d, %r10d
	movl	-52(%rbp), %edi
LBB0_14:
	testl	%edi, %edi
	jle	LBB0_17
LBB0_15:
	movslq	%ecx, %rcx
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movq	-64(%rbp), %rsi
	movb	$48, (%rsi,%rcx)
	incq	%rcx
	movl	-52(%rbp), %esi
	leal	-1(%rsi), %edi
	movl	%edi, -52(%rbp)
	cmpl	$1, %esi
	jg	LBB0_16
LBB0_17:
	testl	%r12d, %r12d
	je	LBB0_33
## %bb.18:
	movq	-64(%rbp), %rsi
	movslq	%ecx, %rcx
	movb	$46, (%rsi,%rcx)
	incl	%ecx
	cmpl	$0, -52(%rbp)
	js	LBB0_36
## %bb.19:
	movl	%r12d, %esi
	jmp	LBB0_20
LBB0_36:
	movslq	%ecx, %rcx
	.p2align	4, 0x90
LBB0_37:                                ## =>This Inner Loop Header: Depth=1
	movq	-64(%rbp), %rsi
	movb	$48, (%rsi,%rcx)
	movl	-52(%rbp), %edi
	leal	1(%rdi), %esi
	movl	%esi, -52(%rbp)
	leal	-1(%r12), %esi
	incq	%rcx
	cmpl	$-2, %edi
	jg	LBB0_20
## %bb.38:                              ##   in Loop: Header=BB0_37 Depth=1
	cmpl	$1, %r12d
	movl	%esi, %r12d
	jne	LBB0_37
LBB0_20:
	decl	%r15d
	cmpl	%r15d, %r10d
	jge	LBB0_26
## %bb.21:
	testl	%esi, %esi
	je	LBB0_26
## %bb.22:
	movl	%r10d, %edi
	movslq	%ecx, %r8
	addq	%rdi, %r14
	incl	%r10d
	movl	%esi, %r9d
	decq	%r9
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_23:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%r14,%rbx), %edx
	movq	-64(%rbp), %rdi
	addq	%r8, %rdi
	movb	%dl, (%rbx,%rdi)
	movl	%ebx, %edi
	leal	(%r10,%rdi), %edx
	incq	%rbx
	cmpl	%edx, %r15d
	jle	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_23 Depth=1
	cmpl	%edi, %r9d
	jne	LBB0_23
LBB0_25:
	addl	%ebx, %ecx
	subl	%ebx, %esi
LBB0_26:
	testl	%esi, %esi
	je	LBB0_33
## %bb.27:
	movslq	%ecx, %rcx
	leal	-1(%rsi), %r8d
	testb	$3, %sil
	je	LBB0_31
## %bb.28:
	movl	%esi, %ebx
	andl	$3, %ebx
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_29:                                ## =>This Inner Loop Header: Depth=1
	movq	-64(%rbp), %rdx
	movb	$48, (%rdx,%rcx)
	incq	%rcx
	incq	%rdi
	cmpl	%edi, %ebx
	jne	LBB0_29
## %bb.30:
	subl	%edi, %esi
LBB0_31:
	cmpl	$3, %r8d
	jb	LBB0_33
	.p2align	4, 0x90
LBB0_32:                                ## =>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, %esi
	jne	LBB0_32
LBB0_33:
	movq	-64(%rbp), %rdx
	movslq	%ecx, %rcx
	movb	$0, (%rdx,%rcx)
LBB0_34:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_40
## %bb.35:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_40:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_NUMBER_DTOA_SIZE,4,2           ## @NUMBER_DTOA_SIZE
	.comm	_FALSE,8,3                      ## @FALSE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%lf %d\n"

	.comm	_TRUE,8,3                       ## @TRUE
	.no_dead_strip	_number_to_fixed
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function number_to_fixed
_number_to_fixed:                       ; @number_to_fixed
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-80]!             ; 16-byte Folded Spill
	.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
	.cfi_offset b8, -72
	.cfi_offset b9, -80
	sub	sp, sp, #32
	mov	x19, x0
	fmov	d8, d0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x21, _NUMBER_DTOA_SIZE@GOTPAGE
Lloh4:
	ldr	x21, [x21, _NUMBER_DTOA_SIZE@GOTPAGEOFF]
	ldr	w8, [x21]
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x20, x9, x8
	mov	sp, x20
Lloh7:
	adrp	x8, _FALSE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh9:
	ldr	x22, [x8]
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_TRACE
Lloh12:
	adrp	x8, _TRUE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	fneg	d0, d8
	fcmp	d8, #0.0
	fcsel	d8, d0, d8, mi
	csel	x22, x8, x22, mi
	fmov	d0, #1.00000000
	fcmp	d8, d0
	b.ge	LBB0_2
; %bb.1:
	add	w23, w19, #1
	cmp	w19, #0
	mov	w8, #2
	csinc	w8, w8, w19, eq
	b	LBB0_3
LBB0_2:
	fmov	d0, d8
	bl	_log10
	add	w8, w19, w0
	add	w8, w8, #2
	add	w23, w19, #1
LBB0_3:
	ldr	w9, [x21]
	cmp	w8, w9
	csel	w21, w8, w9, lt
	sub	x2, x29, #76
	fmov	d0, d8
	mov	x0, x20
	mov	x1, x21
	bl	_number_to_str
	ldur	w8, [x29, #-76]
	add	w9, w8, #1
	stur	w9, [x29, #-76]
	cmp	w8, #0
	mov	w9, #1
	csinc	w8, w9, w8, lt
	cmp	w19, #0
	csel	w9, wzr, w23, eq
	cmp	x22, #0
	cinc	w9, w9, ne
	add	w0, w9, w8
	sub	x1, x29, #88
	bl	_jsstr_alloc_buf
	cbz	x0, LBB0_34
; %bb.4:
	cbz	x22, LBB0_6
; %bb.5:
	ldur	x8, [x29, #-88]
	mov	w9, #45
	strb	w9, [x8]
	mov	w9, #1
	b	LBB0_7
LBB0_6:
	mov	w9, #0
LBB0_7:
	ldur	w8, [x29, #-76]
	cmp	w8, #1
	b.lt	LBB0_13
; %bb.8:
	cmp	w21, #2
	b.lt	LBB0_14
; %bb.9:
	mov	x8, #0
	sub	w11, w21, #1
	mov	w9, w9
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w10, [x20, x8]
	ldur	x12, [x29, #-88]
	add	x12, x12, x9
	strb	w10, [x12, x8]
	add	x8, x8, #1
	ldur	w10, [x29, #-76]
	sub	w10, w10, #1
	stur	w10, [x29, #-76]
	cmp	x8, x11
	b.hs	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	cbnz	w10, LBB0_10
LBB0_12:
	add	w9, w9, w8
	cmp	w10, #1
	b.ge	LBB0_15
	b	LBB0_18
LBB0_13:
	mov	w8, #0
	ldur	x10, [x29, #-88]
	mov	w11, #48
	strb	w11, [x10, w9, uxtw]
	add	w9, w9, #1
	ldur	w10, [x29, #-76]
                                        ; kill: def $w9 killed $w9 def $x9
	cmp	w10, #1
	b.ge	LBB0_15
	b	LBB0_18
LBB0_14:
	mov	w8, #0
LBB0_15:
                                        ; kill: def $w9 killed $w9 killed $x9 def $x9
	sxtw	x11, w9
	mov	w9, #48
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldur	x12, [x29, #-88]
	add	x10, x11, #1
	strb	w9, [x12, x11]
	ldur	w12, [x29, #-76]
	mov	x11, x10
	subs	w12, w12, #1
	stur	w12, [x29, #-76]
	b.gt	LBB0_16
; %bb.17:
	mov	x9, x10
LBB0_18:
	cbz	w19, LBB0_33
; %bb.19:
	ldur	x10, [x29, #-88]
	mov	w11, #46
	strb	w11, [x10, w9, sxtw]
	add	w9, w9, #1
	ldur	w10, [x29, #-76]
	tbz	w10, #31, LBB0_23
; %bb.20:
                                        ; kill: def $w9 killed $w9 killed $x9 def $x9
	sxtw	x9, w9
	mov	w10, #48
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	ldur	x11, [x29, #-88]
	strb	w10, [x11, x9]
	ldur	w11, [x29, #-76]
	add	w12, w11, #1
	stur	w12, [x29, #-76]
	cmn	w11, #2
	ccmp	w19, #1, #4, le
	sub	w19, w19, #1
	add	x9, x9, #1
	b.ne	LBB0_21
; %bb.22:
                                        ; kill: def $w9 killed $w9 killed $x9 def $x9
LBB0_23:
	sub	w10, w21, #1
	cmp	w8, w10
	b.ge	LBB0_28
; %bb.24:
	cbz	w19, LBB0_28
; %bb.25:
                                        ; kill: def $w9 killed $w9 killed $x9 def $x9
	sxtw	x13, w9
	add	x11, x20, w8, uxtw
	add	w12, w8, #1
LBB0_26:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x11], #1
	ldur	x14, [x29, #-88]
	add	x9, x13, #1
	strb	w8, [x14, x13]
	sub	w8, w19, #1
	cmp	w10, w12
	b.le	LBB0_29
; %bb.27:                               ;   in Loop: Header=BB0_26 Depth=1
	add	w12, w12, #1
	mov	x13, x9
	cmp	w19, #1
	mov	x19, x8
	b.ne	LBB0_26
	b	LBB0_29
LBB0_28:
	mov	x8, x19
LBB0_29:
	cbz	w8, LBB0_33
; %bb.30:
                                        ; kill: def $w9 killed $w9 killed $x9 def $x9
	sxtw	x10, w9
	mov	w9, #48
LBB0_31:                                ; =>This Inner Loop Header: Depth=1
	ldur	x12, [x29, #-88]
	add	x11, x10, #1
	strb	w9, [x12, x10]
	mov	x10, x11
	subs	w8, w8, #1
	b.ne	LBB0_31
; %bb.32:
	mov	x9, x11
LBB0_33:
	ldur	x8, [x29, #-88]
	strb	wzr, [x8, w9, sxtw]
LBB0_34:
	ldur	x8, [x29, #-72]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_36
; %bb.35:
	sub	sp, x29, #64
	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
	ldp	d9, d8, [sp], #80               ; 16-byte Folded Reload
	ret
LBB0_36:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_NUMBER_DTOA_SIZE,4,2           ; @NUMBER_DTOA_SIZE
	.comm	_FALSE,8,3                      ; @FALSE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%lf %d\n"

	.comm	_TRUE,8,3                       ; @TRUE
	.no_dead_strip	_number_to_fixed
.subsections_via_symbols
