	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function strtod
LCPI0_0:
	.long	0x41200000                      ## float 10
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3
LCPI0_1:
	.quad	0x3fb999999999999a              ## double 0.10000000000000001
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_strtod
	.p2align	4, 0x90
_strtod:                                ## @strtod
	.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, %r14
	movq	%rdi, %r15
	movq	%rdi, %rbx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	(%rbx), %edi
	callq	_isspace
	incq	%rbx
	testq	%rax, %rax
	jne	LBB0_1
## %bb.2:
	movb	-1(%rbx), %cl
	movsbl	%cl, %edx
	cmpl	$43, %edx
	je	LBB0_3
## %bb.4:
	cmpl	$45, %edx
	jne	LBB0_5
## %bb.6:
	movl	$-1, %eax
	jmp	LBB0_7
LBB0_3:
	movl	$1, %eax
LBB0_7:
	movb	(%rbx), %cl
	movsbl	%cl, %edx
	jmp	LBB0_8
LBB0_5:
	decq	%rbx
	movl	$1, %eax
LBB0_8:
	addl	$-48, %edx
	fldz
	cmpl	$9, %edx
	ja	LBB0_11
## %bb.9:
	fstp	%st(0)
	fldz
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movl	%edx, -36(%rbp)
	fmuls	LCPI0_0(%rip)
	fiaddl	-36(%rbp)
	movsbl	1(%rbx), %ecx
	incq	%rbx
	leal	-48(%rcx), %edx
	cmpl	$10, %edx
	jb	LBB0_10
LBB0_11:
	cmpb	$46, %cl
	jne	LBB0_16
## %bb.12:
	movsbl	1(%rbx), %ecx
	incq	%rbx
	movl	%ecx, %edx
	addl	$-48, %edx
	cmpl	$9, %edx
	ja	LBB0_16
## %bb.13:
	fld1
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	fmull	LCPI0_1(%rip)
	movl	%edx, -32(%rbp)
	fld	%st(0)
	fimull	-32(%rbp)
	faddp	%st, %st(2)
	movsbl	1(%rbx), %ecx
	incq	%rbx
	leal	-48(%rcx), %edx
	cmpl	$10, %edx
	jb	LBB0_14
## %bb.15:
	fstp	%st(0)
LBB0_16:
	andb	$-33, %cl
	cmpb	$69, %cl
	jne	LBB0_17
## %bb.18:
	movsbl	1(%rbx), %ecx
	flds	LCPI0_0(%rip)
	leal	-48(%rcx), %edx
	cmpl	$10, %edx
	jae	LBB0_20
## %bb.19:
	incq	%rbx
LBB0_25:
	movq	%rbx, %r15
	addl	$-48, %ecx
	cmpl	$9, %ecx
	ja	LBB0_32
## %bb.26:
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_27:                                ## =>This Inner Loop Header: Depth=1
	leal	(%rdx,%rdx,4), %edx
	leal	(%rcx,%rdx,2), %edx
	movsbl	1(%r15), %ecx
	incq	%r15
	addl	$-48, %ecx
	cmpl	$10, %ecx
	jb	LBB0_27
## %bb.28:
	testb	$1, %dl
	fld1
	fld	%st(1)
	fcmove	%st(1), %st
	fmulp	%st, %st(3)
	cmpl	$2, %edx
	jb	LBB0_31
## %bb.29:
	movl	%edx, %ecx
	.p2align	4, 0x90
LBB0_30:                                ## =>This Inner Loop Header: Depth=1
	shrl	%ecx
	fxch	%st(1)
	fmul	%st, %st(0)
	testb	$2, %dl
	fld	%st(0)
	fcmove	%st(2), %st
	fmulp	%st, %st(3)
	cmpl	$3, %edx
	movl	%ecx, %edx
	fxch	%st(1)
	ja	LBB0_30
LBB0_31:
	fstp	%st(1)
LBB0_32:
	fstp	%st(0)
	testq	%r14, %r14
	jne	LBB0_34
	jmp	LBB0_35
LBB0_17:
	movq	%rbx, %r15
	testq	%r14, %r14
	je	LBB0_35
LBB0_34:
	movq	%r15, (%r14)
LBB0_35:
	movl	%eax, -28(%rbp)
	fimull	-28(%rbp)
	fstpl	-48(%rbp)
	movsd	-48(%rbp), %xmm0                ## xmm0 = mem[0],zero
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	cmpl	$43, %ecx
	je	LBB0_24
## %bb.21:
	fstp	%st(0)
	cmpl	$45, %ecx
	jne	LBB0_22
## %bb.23:
	fldl	LCPI0_1(%rip)
LBB0_24:
	movsbl	2(%rbx), %ecx
	addq	$2, %rbx
	jmp	LBB0_25
LBB0_22:
	fstp	%st(0)
	fldz
	testq	%r14, %r14
	jne	LBB0_34
	jmp	LBB0_35
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_strtod                         ; -- Begin function strtod
	.p2align	2
_strtod:                                ; @strtod
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	mov	x20, x0
	mov	x21, x0
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldrsb	w0, [x21], #1
	bl	_isspace
	cbnz	x0, LBB0_1
; %bb.2:
	mov	x11, x21
	ldrsb	w10, [x11, #-1]!
	cmp	w10, #43
	b.eq	LBB0_5
; %bb.3:
	cmp	w10, #45
	b.ne	LBB0_7
; %bb.4:
	mov	w8, #-1
	b	LBB0_6
LBB0_5:
	mov	w8, #1
LBB0_6:
	ldrsb	w10, [x21]
	and	w9, w10, #0xff
	b	LBB0_8
LBB0_7:
	and	w9, w10, #0xff
	mov	w8, #1
	mov	x21, x11
LBB0_8:
	sub	w10, w10, #48
	movi	d0, #0000000000000000
	cmp	w10, #9
	b.hi	LBB0_12
; %bb.9:
	movi	d0, #0000000000000000
	fmov	d1, #10.00000000
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldrsb	w9, [x21, #1]!
	scvtf	d2, w10
	fmadd	d0, d0, d1, d2
	sub	w10, w9, #48
	cmp	w10, #10
	b.lo	LBB0_10
; %bb.11:
	and	w9, w9, #0xff
LBB0_12:
	cmp	w9, #46
	b.ne	LBB0_18
; %bb.13:
	ldrsb	w10, [x21, #1]!
	sub	w9, w10, #48
	cmp	w9, #9
	b.hi	LBB0_17
; %bb.14:
	fmov	d1, #1.00000000
	mov	x10, #-7378697629483820647
	movk	x10, #39322
	movk	x10, #16313, lsl #48
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	fmov	d2, x10
	scvtf	d3, w9
	fmul	d1, d1, d2
	fmadd	d0, d3, d1, d0
	ldrsb	w11, [x21, #1]!
	sub	w9, w11, #48
	cmp	w9, #10
	b.lo	LBB0_15
; %bb.16:
	and	w9, w11, #0xff
	b	LBB0_18
LBB0_17:
	and	w9, w10, #0xff
LBB0_18:
	and	w9, w9, #0xffffffdf
	cmp	w9, #69
	b.ne	LBB0_26
; %bb.19:
	mov	x10, x21
	ldrsb	w9, [x10, #1]!
	fmov	d1, #10.00000000
	sub	w11, w9, #48
	cmp	w11, #10
	b.hs	LBB0_30
; %bb.20:
	mov	x20, x10
LBB0_21:
	sub	w10, w9, #48
	cmp	w10, #9
	b.hi	LBB0_27
; %bb.22:
	mov	w9, #0
	mov	w11, #10
LBB0_23:                                ; =>This Inner Loop Header: Depth=1
	ldrsb	w12, [x20, #1]!
	madd	w9, w9, w11, w10
	sub	w10, w12, #48
	cmp	w10, #10
	b.lo	LBB0_23
; %bb.24:
	tst	w9, #0x1
	fmov	d2, #1.00000000
	fcsel	d3, d2, d1, eq
	fmul	d0, d0, d3
	cmp	w9, #2
	b.lo	LBB0_27
LBB0_25:                                ; =>This Inner Loop Header: Depth=1
	tst	w9, #0x2
	lsr	w10, w9, #1
	fmul	d1, d1, d1
	fcsel	d3, d2, d1, eq
	fmul	d0, d0, d3
	cmp	w9, #3
	mov	x9, x10
	b.hi	LBB0_25
	b	LBB0_27
LBB0_26:
	mov	x20, x21
LBB0_27:
	cbz	x19, LBB0_29
LBB0_28:
	str	x20, [x19]
LBB0_29:
	scvtf	d1, w8
	fmul	d0, d0, d1
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_30:
	cmp	w9, #43
	b.eq	LBB0_33
; %bb.31:
	cmp	w9, #45
	b.ne	LBB0_34
; %bb.32:
	mov	x9, #-7378697629483820647
	movk	x9, #39322
	movk	x9, #16313, lsl #48
	fmov	d1, x9
LBB0_33:
	ldrsb	w9, [x21, #2]!
	mov	x20, x21
	b	LBB0_21
LBB0_34:
	movi	d0, #0000000000000000
	cbnz	x19, LBB0_28
	b	LBB0_29
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
