	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function str_to_double
LCPI0_0:
	.quad	0x8000000000000000              ## double -0
	.quad	0x8000000000000000              ## double -0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_str_to_double:                         ## @str_to_double
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	movl	%esi, %edi
	callq	_RSTRING_PTR
	movq	%rax, %r15
	movl	%ebx, %edi
	callq	_RSTRING_LEN
	movb	(%r15), %cl
	testl	%eax, %eax
	jle	LBB0_3
## %bb.1:
	cmpb	$105, %cl
	jne	LBB0_3
## %bb.2:
	movq	_INFINITY@GOTPCREL(%rip), %rax
	movsd	(%rax), %xmm0                   ## xmm0 = mem[0],zero
	jmp	LBB0_8
LBB0_3:
	cmpb	$73, %cl
	je	LBB0_7
## %bb.4:
	cmpl	$2, %eax
	jl	LBB0_9
## %bb.5:
	cmpb	$45, %cl
	jne	LBB0_9
## %bb.6:
	cmpb	$105, 1(%r15)
	jne	LBB0_9
LBB0_7:
	movq	_INFINITY@GOTPCREL(%rip), %rax
	movsd	(%rax), %xmm0                   ## xmm0 = mem[0],zero
	xorps	LCPI0_0(%rip), %xmm0
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mrb_str_to_dbl                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_INFINITY,8,3                   ## @INFINITY
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_str_to_double
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function str_to_double
_str_to_double:                         ; @str_to_double
	.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	x0, x1
	bl	_RSTRING_PTR
	mov	x21, x0
	mov	x0, x19
	bl	_RSTRING_LEN
	ldrb	w8, [x21]
	cmp	w0, #1
	b.lt	LBB0_3
; %bb.1:
	cmp	w8, #105
	b.ne	LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, _INFINITY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INFINITY@GOTPAGEOFF]
Lloh2:
	ldr	d0, [x8]
	b	LBB0_8
LBB0_3:
	cmp	w8, #73
	b.eq	LBB0_7
; %bb.4:
	cmp	w0, #2
	b.lt	LBB0_9
; %bb.5:
	cmp	w8, #45
	b.ne	LBB0_9
; %bb.6:
	ldrb	w8, [x21, #1]
	cmp	w8, #105
	b.ne	LBB0_9
LBB0_7:
Lloh3:
	adrp	x8, _INFINITY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _INFINITY@GOTPAGEOFF]
Lloh5:
	ldr	d0, [x8]
	fneg	d0, d0
LBB0_8:
	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_9:
Lloh6:
	adrp	x8, _TRUE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x19
	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
	b	_mrb_str_to_dbl
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_INFINITY,8,3                   ; @INFINITY
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_str_to_double
.subsections_via_symbols
