	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ieee_read_optional_number
_ieee_read_optional_number:             ## @ieee_read_optional_number
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	(%rsi), %rbx
	cmpq	(%rdi), %rbx
	jae	LBB0_8
## %bb.1:
	movl	(%rbx), %r9d
	movslq	%r9d, %r10
	leaq	4(%rbx), %rax
	movq	%rax, (%rsi)
	movq	_ieee_number_end_enum@GOTPCREL(%rip), %rdi
	cmpq	%r10, (%rdi)
	jge	LBB0_10
## %bb.2:
	movq	_ieee_number_repeat_start_enum@GOTPCREL(%rip), %rdi
	movq	(%rdi), %r8
	cmpq	%r10, %r8
	jg	LBB0_14
## %bb.3:
	movq	_ieee_number_repeat_end_enum@GOTPCREL(%rip), %rdi
	cmpq	%r10, (%rdi)
	jl	LBB0_14
## %bb.4:
	movl	%r9d, %edi
	subl	%r8d, %edi
	leaq	(%rax,%rdi,4), %rbx
	addq	$-4, %rbx
	cmpq	(%r14), %rbx
	jae	LBB0_12
## %bb.5:
	movl	$0, (%rdx)
	cmpl	%r8d, %r9d
	je	LBB0_24
## %bb.6:
	notl	%r8d
	addl	%r8d, %r9d
	movl	%edi, %r8d
	andl	$3, %r8d
	cmpl	$3, %r9d
	jae	LBB0_19
## %bb.7:
	xorl	%ebx, %ebx
	jmp	LBB0_21
LBB0_8:
	testq	%rcx, %rcx
	je	LBB0_12
LBB0_9:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rcx)
LBB0_16:
	movq	_TRUE@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_10:
	movl	%r9d, (%rdx)
	testq	%rcx, %rcx
	je	LBB0_16
LBB0_11:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%edx, (%rcx)
	jmp	LBB0_17
LBB0_12:
	movq	%r14, %rdi
	callq	_ieee_eof
LBB0_13:
	movq	_FALSE@GOTPCREL(%rip), %rax
LBB0_17:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_14:
	testq	%rcx, %rcx
	je	LBB0_18
## %bb.15:
	movq	%rbx, (%rsi)
	jmp	LBB0_9
LBB0_18:
	leaq	L_.str(%rip), %rdi
	callq	__
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_ieee_error
	jmp	LBB0_13
LBB0_19:
	andl	$-4, %edi
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	shll	$8, %ebx
	movl	%ebx, (%rdx)
	addl	(%rax), %ebx
	shll	$8, %ebx
	movl	%ebx, (%rdx)
	addl	4(%rax), %ebx
	shll	$8, %ebx
	movl	%ebx, (%rdx)
	addl	8(%rax), %ebx
	shll	$8, %ebx
	movl	%ebx, (%rdx)
	addl	12(%rax), %ebx
	movl	%ebx, (%rdx)
	addq	$16, %rax
	addl	$-4, %edi
	jne	LBB0_20
LBB0_21:
	testl	%r8d, %r8d
	je	LBB0_23
	.p2align	4, 0x90
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	shll	$8, %ebx
	movl	%ebx, (%rdx)
	addl	(%rax), %ebx
	movl	%ebx, (%rdx)
	addq	$4, %rax
	decl	%r8d
	jne	LBB0_22
LBB0_23:
	movq	%rax, (%rsi)
LBB0_24:
	testq	%rcx, %rcx
	jne	LBB0_11
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_ieee_number_end_enum,8,3       ## @ieee_number_end_enum
	.comm	_ieee_number_repeat_start_enum,8,3 ## @ieee_number_repeat_start_enum
	.comm	_ieee_number_repeat_end_enum,8,3 ## @ieee_number_repeat_end_enum
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid number"

	.no_dead_strip	_ieee_read_optional_number
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ieee_read_optional_number
_ieee_read_optional_number:             ; @ieee_read_optional_number
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [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 w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x20, [x1]
	ldr	x8, [x0]
	cmp	x20, x8
	b.hs	LBB0_5
; %bb.1:
	mov	x8, x20
	ldr	w9, [x8], #4
	sxtw	x11, w9
	str	x8, [x1]
Lloh0:
	adrp	x10, _ieee_number_end_enum@GOTPAGE
Lloh1:
	ldr	x10, [x10, _ieee_number_end_enum@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x10, x11
	b.ge	LBB0_7
; %bb.2:
Lloh3:
	adrp	x10, _ieee_number_repeat_start_enum@GOTPAGE
Lloh4:
	ldr	x10, [x10, _ieee_number_repeat_start_enum@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
Lloh6:
	adrp	x12, _ieee_number_repeat_end_enum@GOTPAGE
Lloh7:
	ldr	x12, [x12, _ieee_number_repeat_end_enum@GOTPAGEOFF]
Lloh8:
	ldr	x12, [x12]
	cmp	x10, x11
	ccmp	x12, x11, #8, le
	b.ge	LBB0_10
; %bb.3:
	cbz	x3, LBB0_18
; %bb.4:
	str	x20, [x1]
	b	LBB0_6
LBB0_5:
	cbz	x3, LBB0_15
LBB0_6:
Lloh9:
	adrp	x8, _FALSE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [x3]
Lloh12:
	adrp	x8, _TRUE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_17
LBB0_7:
	str	w9, [x2]
LBB0_8:
Lloh14:
	adrp	x8, _TRUE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	cbz	x3, LBB0_17
; %bb.9:
	ldr	w9, [x8]
	str	w9, [x3]
	b	LBB0_17
LBB0_10:
	sub	w11, w9, w10
	add	x12, x8, w11, uxtw #2
	sub	x12, x12, #4
	ldr	x13, [x19]
	cmp	x12, x13
	b.hs	LBB0_15
; %bb.11:
	str	wzr, [x2]
	cbz	w11, LBB0_8
; %bb.12:
	mov	w11, #0
	sub	w9, w10, w9
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	lsl	w10, w11, #8
	str	w10, [x2]
	ldr	w11, [x8], #4
	add	w11, w11, w10
	str	w11, [x2]
	adds	w9, w9, #1
	b.lo	LBB0_13
; %bb.14:
	str	x8, [x1]
	b	LBB0_8
LBB0_15:
	mov	x0, x19
	bl	_ieee_eof
LBB0_16:
Lloh16:
	adrp	x8, _FALSE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_17:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_18:
Lloh18:
	adrp	x0, l_.str@PAGE
Lloh19:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_ieee_error
	b	LBB0_16
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_ieee_number_end_enum,8,3       ; @ieee_number_end_enum
	.comm	_ieee_number_repeat_start_enum,8,3 ; @ieee_number_repeat_start_enum
	.comm	_ieee_number_repeat_end_enum,8,3 ; @ieee_number_repeat_end_enum
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid number"

	.no_dead_strip	_ieee_read_optional_number
.subsections_via_symbols
