	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_float
_read_float:                            ## @read_float
	.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	%rdi, %r15
	movq	(%rdi), %r14
	leaq	-40(%rbp), %rsi
	movq	%r14, %rdi
	callq	_strtod
	movsd	%xmm0, -32(%rbp)                ## 8-byte Spill
	movq	-40(%rbp), %rbx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcasecmp
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcasecmp
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movb	(%rbx), %al
	movq	_type_double@GOTPCREL(%rip), %rbx
	testb	%al, %al
	je	LBB0_6
## %bb.5:
	movsbl	%al, %edx
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	movq	%r14, %rcx
	callq	_errort
	jmp	LBB0_6
LBB0_1:
	movq	_type_ldouble@GOTPCREL(%rip), %rbx
	jmp	LBB0_6
LBB0_3:
	movq	_type_float@GOTPCREL(%rip), %rbx
LBB0_6:
	movsd	-32(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movl	(%rbx), %edi
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ast_floattype                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"l"

	.comm	_type_ldouble,4,2               ## @type_ldouble
L_.str.1:                               ## @.str.1
	.asciz	"f"

	.comm	_type_float,4,2                 ## @type_float
L_.str.2:                               ## @.str.2
	.asciz	"invalid character '%c': %s"

	.comm	_type_double,4,2                ## @type_double
	.no_dead_strip	_read_float
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_float
_read_float:                            ; @read_float
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	d9, d8, [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 b8, -56
	.cfi_offset b9, -64
	mov	x20, x0
	ldr	x19, [x0]
	add	x1, sp, #8
	mov	x0, x19
	bl	_strtod
	fmov	d8, d0
	ldr	x21, [sp, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_strcasecmp
	cbz	w0, LBB0_5
; %bb.1:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_strcasecmp
	cbz	w0, LBB0_6
; %bb.2:
	ldrb	w8, [x21]
	cbz	w8, LBB0_4
; %bb.3:
	sxtb	w2, w8
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	mov	x3, x19
	bl	_errort
LBB0_4:
Lloh6:
	adrp	x8, _type_double@GOTPAGE
Lloh7:
	ldr	x8, [x8, _type_double@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:
Lloh8:
	adrp	x8, _type_ldouble@GOTPAGE
Lloh9:
	ldr	x8, [x8, _type_ldouble@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh10:
	adrp	x8, _type_float@GOTPAGE
Lloh11:
	ldr	x8, [x8, _type_float@GOTPAGEOFF]
LBB0_7:
	ldr	w0, [x8]
	fmov	d0, d8
	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	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_ast_floattype
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"l"

	.comm	_type_ldouble,4,2               ; @type_ldouble
l_.str.1:                               ; @.str.1
	.asciz	"f"

	.comm	_type_float,4,2                 ; @type_float
l_.str.2:                               ; @.str.2
	.asciz	"invalid character '%c': %s"

	.comm	_type_double,4,2                ; @type_double
	.no_dead_strip	_read_float
.subsections_via_symbols
