	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_jvp_dtoa_fmt                   ## -- Begin function jvp_dtoa_fmt
	.p2align	4, 0x90
_jvp_dtoa_fmt:                          ## @jvp_dtoa_fmt
	.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	%rsi, %r15
	movq	%rdi, %r14
	leaq	-28(%rbp), %rcx
	leaq	-32(%rbp), %r8
	leaq	-40(%rbp), %r9
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_jvp_dtoa
	movq	%rax, %r8
	cmpl	$0, -32(%rbp)
	movq	%r15, %rax
	je	LBB0_2
## %bb.1:
	leaq	1(%r15), %rax
	movb	$45, (%r15)
LBB0_2:
	movslq	-28(%rbp), %rdx
	cmpq	$9999, %rdx                     ## imm = 0x270F
	jne	LBB0_5
## %bb.3:
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%r8,%rcx), %edx
	movb	%dl, (%rax,%rcx)
	incq	%rcx
	testb	%dl, %dl
	jne	LBB0_4
	jmp	LBB0_43
LBB0_5:
	cmpl	$-3, %edx
	jl	LBB0_7
## %bb.6:
	movq	-40(%rbp), %rcx
	subq	%r8, %rcx
	addq	$15, %rcx
	cmpq	%rdx, %rcx
	jge	LBB0_21
LBB0_7:
	movb	(%r8), %cl
	movb	%cl, (%rax)
	cmpb	$0, 1(%r8)
	je	LBB0_11
## %bb.8:
	leaq	2(%rax), %rcx
	movb	$46, 1(%rax)
	movb	1(%r8), %dl
	movb	%dl, 2(%rax)
	testb	%dl, %dl
	je	LBB0_12
## %bb.9:
	movq	%r8, %rax
	addq	$2, %rax
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%rax), %edx
	movb	%dl, 1(%rcx)
	incq	%rcx
	incq	%rax
	testb	%dl, %dl
	jne	LBB0_10
	jmp	LBB0_12
LBB0_11:
	incq	%rax
	movq	%rax, %rcx
LBB0_12:
	movb	$101, (%rcx)
	movl	-28(%rbp), %eax
	leal	-1(%rax), %edx
	movl	%edx, -28(%rbp)
	testl	%eax, %eax
	jle	LBB0_14
## %bb.13:
	movb	$43, 1(%rcx)
	movl	-28(%rbp), %eax
	jmp	LBB0_15
LBB0_14:
	movb	$45, 1(%rcx)
	xorl	%eax, %eax
	subl	-28(%rbp), %eax
	movl	%eax, -28(%rbp)
LBB0_15:
	movl	$10, %edx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movl	%edx, %edi
	leal	(%rdi,%rdi), %edx
	leal	(%rdx,%rdx,4), %edx
	incl	%esi
	cmpl	%eax, %edx
	jle	LBB0_16
## %bb.17:
	cltd
	idivl	%edi
                                        ## kill: def $eax killed $eax def $rax
	leal	48(%rax), %edx
	leaq	3(%rcx), %rbx
	movb	%dl, 2(%rcx)
	leal	1(%rsi), %r9d
	cmpl	$2, %r9d
	jb	LBB0_18
## %bb.19:
	testb	$1, %r9b
	jne	LBB0_30
## %bb.20:
	imull	%edi, %eax
	movl	-28(%rbp), %edx
	subl	%eax, %edx
	addl	%edx, %edx
	leal	(%rdx,%rdx,4), %eax
	movl	%eax, -28(%rbp)
	cltd
	idivl	%edi
                                        ## kill: def $eax killed $eax def $rax
	movl	%eax, %edx
	addb	$48, %dl
	movb	%dl, 3(%rcx)
	addq	$4, %rcx
	movq	%rcx, %rbx
	movl	%esi, %r9d
	cmpl	$1, %esi
	jne	LBB0_31
	jmp	LBB0_42
LBB0_21:
	testl	%edx, %edx
	jle	LBB0_34
## %bb.22:
	movb	(%r8), %cl
	movb	%cl, (%rax)
	testb	%cl, %cl
	je	LBB0_40
## %bb.23:
	movq	%r8, %rsi
	.p2align	4, 0x90
LBB0_24:                                ## =>This Inner Loop Header: Depth=1
	incq	%rsi
	leaq	1(%rax), %rcx
	decl	%edx
	movl	%edx, -28(%rbp)
	je	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_24 Depth=1
	movq	%rcx, %rax
	jmp	LBB0_28
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_24 Depth=1
	movzbl	(%rsi), %edx
	testb	%dl, %dl
	je	LBB0_39
## %bb.27:                              ##   in Loop: Header=BB0_24 Depth=1
	movb	$46, 1(%rax)
	addq	$2, %rax
LBB0_28:                                ##   in Loop: Header=BB0_24 Depth=1
	movzbl	(%rsi), %ecx
	movb	%cl, (%rax)
	testb	%cl, %cl
	je	LBB0_38
## %bb.29:                              ##   in Loop: Header=BB0_24 Depth=1
	movl	-28(%rbp), %edx
	jmp	LBB0_24
LBB0_30:
                                        ## implicit-def: $rcx
	cmpl	$1, %esi
	je	LBB0_42
LBB0_31:
	addl	$2, %r9d
	.p2align	4, 0x90
LBB0_32:                                ## =>This Inner Loop Header: Depth=1
	imull	%edi, %eax
	movl	-28(%rbp), %ecx
	subl	%eax, %ecx
	addl	%ecx, %ecx
	leal	(%rcx,%rcx,4), %eax
	movl	%eax, -28(%rbp)
	cltd
	idivl	%edi
                                        ## kill: def $eax killed $eax def $rax
	leal	48(%rax), %ecx
	movb	%cl, (%rbx)
	imull	%edi, %eax
	movl	-28(%rbp), %ecx
	subl	%eax, %ecx
	addl	%ecx, %ecx
	leal	(%rcx,%rcx,4), %eax
	movl	%eax, -28(%rbp)
	cltd
	idivl	%edi
                                        ## kill: def $eax killed $eax def $rax
	movl	%eax, %ecx
	addb	$48, %cl
	movb	%cl, 1(%rbx)
	addq	$2, %rbx
	addl	$-2, %r9d
	cmpl	$4, %r9d
	jge	LBB0_32
LBB0_18:
	movq	%rbx, %rcx
LBB0_42:
	movb	$0, (%rcx)
LBB0_43:
	movq	%r14, %rdi
	movq	%r8, %rsi
	callq	_jvp_freedtoa
	movq	%r15, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_34:
	movw	$11824, (%rax)                  ## imm = 0x2E30
	addq	$2, %rax
	testl	%edx, %edx
	jns	LBB0_36
	.p2align	4, 0x90
LBB0_35:                                ## =>This Inner Loop Header: Depth=1
	movb	$48, (%rax)
	incq	%rax
	movl	-28(%rbp), %ecx
	leal	1(%rcx), %edx
	movl	%edx, -28(%rbp)
	cmpl	$-1, %ecx
	jl	LBB0_35
LBB0_36:
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_37:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%r8,%rcx), %edx
	movb	%dl, (%rax,%rcx)
	incq	%rcx
	testb	%dl, %dl
	jne	LBB0_37
	jmp	LBB0_43
LBB0_38:
	movq	%rax, %rcx
	cmpl	$0, -28(%rbp)
	jg	LBB0_40
	jmp	LBB0_42
LBB0_39:
	movb	%dl, (%rcx)
	movq	%rcx, %rax
	cmpl	$0, -28(%rbp)
	jle	LBB0_42
LBB0_40:
	movq	%rax, %rcx
	.p2align	4, 0x90
LBB0_41:                                ## =>This Inner Loop Header: Depth=1
	movb	$48, (%rcx)
	incq	%rcx
	movl	-28(%rbp), %eax
	leal	-1(%rax), %edx
	movl	%edx, -28(%rbp)
	cmpl	$1, %eax
	jg	LBB0_41
	jmp	LBB0_42
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_jvp_dtoa_fmt                   ; -- Begin function jvp_dtoa_fmt
	.p2align	2
_jvp_dtoa_fmt:                          ; @jvp_dtoa_fmt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	add	x3, sp, #12
	add	x4, sp, #8
	mov	x5, sp
	mov	w1, #0
	mov	w2, #0
	bl	_jvp_dtoa
	mov	x1, x0
	ldr	w9, [sp, #8]
	mov	x8, x19
	cbz	w9, LBB0_2
; %bb.1:
	mov	w9, #45
	mov	x8, x19
	strb	w9, [x8], #1
LBB0_2:
	ldr	w10, [sp, #12]
	mov	w9, #9999
	cmp	w10, w9
	b.ne	LBB0_5
; %bb.3:
	mov	x9, x1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w10, [x9], #1
	strb	w10, [x8], #1
	cbnz	w10, LBB0_4
	b	LBB0_39
LBB0_5:
	cmn	w10, #3
	b.lt	LBB0_7
; %bb.6:
	sxtw	x9, w10
	ldr	x11, [sp]
	sub	x11, x11, x1
	add	x11, x11, #15
	cmp	x11, x9
	b.ge	LBB0_19
LBB0_7:
	ldrb	w10, [x1]
	mov	x9, x8
	strb	w10, [x9], #1
	ldrb	w10, [x1, #1]
	cbz	w10, LBB0_11
; %bb.8:
	mov	w9, #46
	strb	w9, [x8, #1]
	ldrb	w9, [x1, #1]
	strb	w9, [x8, #2]!
	cbz	w9, LBB0_12
; %bb.9:
	add	x9, x1, #2
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w10, [x9], #1
	strb	w10, [x8, #1]!
	cbnz	w10, LBB0_10
	b	LBB0_12
LBB0_11:
	mov	x8, x9
LBB0_12:
	mov	w9, #101
	strb	w9, [x8]
	ldr	w9, [sp, #12]
	sub	w10, w9, #1
	str	w10, [sp, #12]
	cmp	w9, #0
	b.le	LBB0_14
; %bb.13:
	mov	w9, #43
	strb	w9, [x8, #1]
	ldr	w9, [sp, #12]
	b	LBB0_15
LBB0_14:
	mov	w9, #45
	strb	w9, [x8, #1]
	ldr	w9, [sp, #12]
	neg	w9, w9
	str	w9, [sp, #12]
LBB0_15:
	mov	w12, #10
	mov	w10, #2
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	mov	x11, x12
	add	w12, w12, w12, lsl #2
	lsl	w12, w12, #1
	add	w10, w10, #1
	cmp	w12, w9
	b.le	LBB0_16
; %bb.17:
	sdiv	w12, w9, w11
	add	w13, w12, #48
	add	x9, x8, #3
	strb	w13, [x8, #2]
	sub	w8, w10, #1
	cmp	w8, #2
	b.lo	LBB0_38
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [sp, #12]
	msub	w8, w12, w11, w8
	add	w8, w8, w8, lsl #2
	lsl	w8, w8, #1
	str	w8, [sp, #12]
	sdiv	w12, w8, w11
	add	w8, w12, #48
	strb	w8, [x9], #1
	sub	w10, w10, #1
	cmp	w10, #3
	b.ge	LBB0_18
	b	LBB0_38
LBB0_19:
	cmp	w10, #1
	b.lt	LBB0_28
; %bb.20:
	ldrb	w9, [x1]
	strb	w9, [x8]
	cbz	w9, LBB0_36
; %bb.21:
	add	x11, x1, #1
	mov	w12, #46
LBB0_22:                                ; =>This Inner Loop Header: Depth=1
	add	x9, x8, #1
	subs	w10, w10, #1
	str	w10, [sp, #12]
	b.eq	LBB0_24
; %bb.23:                               ;   in Loop: Header=BB0_22 Depth=1
	mov	x8, x9
	b	LBB0_26
LBB0_24:                                ;   in Loop: Header=BB0_22 Depth=1
	ldrb	w10, [x11]
	cbz	w10, LBB0_34
; %bb.25:                               ;   in Loop: Header=BB0_22 Depth=1
	strb	w12, [x8, #1]
	add	x8, x8, #2
LBB0_26:                                ;   in Loop: Header=BB0_22 Depth=1
	ldrb	w9, [x11]
	strb	w9, [x8]
	cbz	w9, LBB0_33
; %bb.27:                               ;   in Loop: Header=BB0_22 Depth=1
	ldr	w10, [sp, #12]
	add	x11, x11, #1
	b	LBB0_22
LBB0_28:
	mov	w9, #11824
	strh	w9, [x8], #2
	tbz	w10, #31, LBB0_31
; %bb.29:
	mov	w9, #48
LBB0_30:                                ; =>This Inner Loop Header: Depth=1
	strb	w9, [x8], #1
	ldr	w10, [sp, #12]
	add	w11, w10, #1
	str	w11, [sp, #12]
	cmn	w10, #1
	b.lt	LBB0_30
LBB0_31:
	mov	x9, x1
LBB0_32:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w10, [x9], #1
	strb	w10, [x8], #1
	cbnz	w10, LBB0_32
	b	LBB0_39
LBB0_33:
	mov	x9, x8
	b	LBB0_35
LBB0_34:
	strb	w10, [x9]
	mov	x8, x9
LBB0_35:
	ldr	w10, [sp, #12]
	cmp	w10, #1
	b.lt	LBB0_38
LBB0_36:
	mov	w10, #48
	mov	x9, x8
LBB0_37:                                ; =>This Inner Loop Header: Depth=1
	strb	w10, [x9], #1
	ldr	w8, [sp, #12]
	subs	w8, w8, #1
	str	w8, [sp, #12]
	b.gt	LBB0_37
LBB0_38:
	strb	wzr, [x9]
LBB0_39:
	mov	x0, x20
	bl	_jvp_freedtoa
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
