	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function normal_dtoa
_normal_dtoa:                           ## @normal_dtoa
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movsd	%xmm0, -8(%rbp)                 ## 8-byte Spill
	callq	_LIB_GETBUF
	movq	_LIB_BUFLENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movsd	-8(%rbp), %xmm0                 ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	callq	_snprintf
	movl	$101, %esi
	callq	_strchr
	testq	%rax, %rax
	jne	LBB0_3
## %bb.1:
	movl	$69, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_7
## %bb.2:
	movb	$101, (%rax)
LBB0_3:
	leaq	1(%rax), %rdi
	cmpb	$45, 1(%rax)
	leaq	2(%rax), %rax
	cmoveq	%rax, %rdi
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$48, (%rdi,%rax)
	leaq	1(%rax), %rax
	je	LBB0_4
## %bb.5:
	cmpq	$1, %rax
	je	LBB0_7
## %bb.6:
	leaq	(%rdi,%rax), %rsi
	decq	%rsi
	callq	_strlcpy
LBB0_7:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LIB_BUFLENGTH,4,2              ## @LIB_BUFLENGTH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%g"

	.no_dead_strip	_normal_dtoa
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function normal_dtoa
_normal_dtoa:                           ; @normal_dtoa
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-32]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset b8, -24
	.cfi_offset b9, -32
	fmov	d8, d0
	bl	_LIB_GETBUF
Lloh0:
	adrp	x8, _LIB_BUFLENGTH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LIB_BUFLENGTH@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	fmov	d0, d8
	bl	_snprintf
	mov	w1, #101
	bl	_strchr
	cbnz	x0, LBB0_3
; %bb.1:
	mov	w1, #69
	bl	_strchr
	cbz	x0, LBB0_7
; %bb.2:
	mov	w8, #101
	strb	w8, [x0]
LBB0_3:
	mov	x8, #0
	ldrb	w9, [x0, #1]!
	cmp	w9, #45
	cinc	x0, x0, eq
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x0, x8]
	add	x8, x8, #1
	cmp	w9, #48
	b.eq	LBB0_4
; %bb.5:
	cmp	x8, #1
	b.eq	LBB0_7
; %bb.6:
	add	x8, x0, x8
	sub	x1, x8, #1
	bl	_strlcpy
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #32               ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_LIB_BUFLENGTH,4,2              ; @LIB_BUFLENGTH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%g"

	.no_dead_strip	_normal_dtoa
.subsections_via_symbols
