	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_number
_read_number:                           ## @read_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	%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
	movq	_JSON_ERROR@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	%bl, %esi
	movq	%r14, %rdi
	callq	_pushchar
	testq	%rax, %rax
	jne	LBB0_23
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$45, %ebx
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, %rdi
	callq	*(%r14)
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_is_digit
	testq	%rax, %rax
	jne	LBB0_1
## %bb.4:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_json_error
	jmp	LBB0_8
LBB0_5:
	leaq	L_.str.1(%rip), %rdi
	movl	%ebx, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movq	%r14, %rdi
	callq	*8(%r14)
	movl	%eax, %edi
	callq	_is_digit
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	%r14, %rdi
	callq	_read_digits
	testq	%rax, %rax
	jne	LBB0_23
LBB0_8:
	movq	%r14, %rdi
	callq	*8(%r14)
	movl	%eax, %ebx
	leaq	L_.str.2(%rip), %rdi
	movl	%eax, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_17
## %bb.9:
	cmpl	$46, %ebx
	jne	LBB0_12
## %bb.10:
	movq	%r14, %rdi
	callq	*(%r14)
	movq	%r14, %rdi
	movl	$46, %esi
	callq	_pushchar
	testq	%rax, %rax
	jne	LBB0_23
## %bb.11:
	movq	%r14, %rdi
	callq	_read_digits
	testq	%rax, %rax
	jne	LBB0_23
LBB0_12:
	movq	%r14, %rdi
	callq	*8(%r14)
	movl	%eax, %ebx
	andl	$-33, %eax
	cmpl	$69, %eax
	jne	LBB0_17
## %bb.13:
	movq	%r14, %rdi
	callq	*(%r14)
	movsbl	%bl, %esi
	movq	%r14, %rdi
	callq	_pushchar
	testq	%rax, %rax
	jne	LBB0_23
## %bb.14:
	movq	%r14, %rdi
	callq	*8(%r14)
	movl	%eax, %ebx
	cmpl	$45, %eax
	je	LBB0_16
## %bb.15:
	cmpl	$43, %ebx
	jne	LBB0_19
LBB0_16:
	movq	%r14, %rdi
	callq	*(%r14)
	movsbl	%bl, %esi
	movq	%r14, %rdi
	callq	_pushchar
	testq	%rax, %rax
	jne	LBB0_23
	jmp	LBB0_20
LBB0_19:
	movl	%ebx, %edi
	callq	_is_digit
	testq	%rax, %rax
	je	LBB0_24
LBB0_20:
	movq	%r14, %rdi
	callq	_read_digits
	testq	%rax, %rax
	jne	LBB0_23
LBB0_17:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_pushchar
	testq	%rax, %rax
	jne	LBB0_18
## %bb.22:
	movq	_JSON_NUMBER@GOTPCREL(%rip), %r15
	jmp	LBB0_23
LBB0_18:
	movq	_JSON_ERROR@GOTPCREL(%rip), %r15
LBB0_23:
	movl	(%r15), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_24:
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_json_error
	jmp	LBB0_23
	.cfi_endproc
                                        ## -- End function
	.comm	_JSON_ERROR,4,2                 ## @JSON_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unexpected byte, '%c'"

L_.str.1:                               ## @.str.1
	.asciz	"123456789"

L_.str.2:                               ## @.str.2
	.asciz	".eE"

	.comm	_JSON_NUMBER,4,2                ## @JSON_NUMBER
L_.str.3:                               ## @.str.3
	.asciz	"unexpected byte in number, '%c'"

	.no_dead_strip	_read_number
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_number
_read_number:                           ; @read_number
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x21, _JSON_ERROR@GOTPAGE
Lloh1:
	ldr	x21, [x21, _JSON_ERROR@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	sxtb	w1, w20
	mov	x0, x19
	bl	_pushchar
	cbnz	x0, LBB0_21
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	cmp	w20, #45
	b.ne	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x8, [x19]
	mov	x0, x19
	blr	x8
	mov	x20, x0
	bl	_is_digit
	cbnz	x0, LBB0_1
; %bb.4:
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_json_error
	b	LBB0_8
LBB0_5:
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x20
	bl	_strchr
	cbz	x0, LBB0_8
; %bb.6:
	ldr	x8, [x19, #8]
	mov	x0, x19
	blr	x8
	bl	_is_digit
	cbz	x0, LBB0_8
; %bb.7:
	mov	x0, x19
	bl	_read_digits
	cbnz	x0, LBB0_14
LBB0_8:
	ldr	x8, [x19, #8]
	mov	x0, x19
	blr	x8
	mov	x20, x0
Lloh6:
	adrp	x0, l_.str.2@PAGE
Lloh7:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x20
	bl	_strchr
	cbz	x0, LBB0_20
; %bb.9:
	cmp	w20, #46
	b.ne	LBB0_12
; %bb.10:
	ldr	x8, [x19]
	mov	x0, x19
	blr	x8
	mov	x0, x19
	mov	w1, #46
	bl	_pushchar
	cbnz	x0, LBB0_14
; %bb.11:
	mov	x0, x19
	bl	_read_digits
	cbnz	x0, LBB0_14
LBB0_12:
	ldr	x8, [x19, #8]
	mov	x0, x19
	blr	x8
	and	w8, w0, #0xffffffdf
	cmp	w8, #69
	b.ne	LBB0_20
; %bb.13:
	mov	x20, x0
	ldr	x8, [x19]
	mov	x0, x19
	blr	x8
	sxtb	w1, w20
	mov	x0, x19
	bl	_pushchar
	cbz	x0, LBB0_15
LBB0_14:
Lloh8:
	adrp	x21, _JSON_ERROR@GOTPAGE
Lloh9:
	ldr	x21, [x21, _JSON_ERROR@GOTPAGEOFF]
	b	LBB0_21
LBB0_15:
	ldr	x8, [x19, #8]
	mov	x0, x19
	blr	x8
	mov	x20, x0
	cmp	w0, #45
	b.eq	LBB0_17
; %bb.16:
	cmp	w20, #43
	b.ne	LBB0_18
LBB0_17:
	ldr	x8, [x19]
	mov	x0, x19
	blr	x8
	sxtb	w1, w20
	mov	x0, x19
	bl	_pushchar
	cbnz	x0, LBB0_14
	b	LBB0_19
LBB0_18:
	mov	x0, x20
	bl	_is_digit
	cbz	x0, LBB0_22
LBB0_19:
	mov	x0, x19
	bl	_read_digits
	cbnz	x0, LBB0_14
LBB0_20:
	mov	x0, x19
	mov	w1, #0
	bl	_pushchar
Lloh10:
	adrp	x8, _JSON_NUMBER@GOTPAGE
Lloh11:
	ldr	x8, [x8, _JSON_NUMBER@GOTPAGEOFF]
	cmp	x0, #0
	csel	x21, x8, x21, eq
LBB0_21:
	ldr	w0, [x21]
	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_22:
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_json_error
	b	LBB0_14
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_JSON_ERROR,4,2                 ; @JSON_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unexpected byte, '%c'"

l_.str.1:                               ; @.str.1
	.asciz	"123456789"

l_.str.2:                               ; @.str.2
	.asciz	".eE"

	.comm	_JSON_NUMBER,4,2                ; @JSON_NUMBER
l_.str.3:                               ; @.str.3
	.asciz	"unexpected byte in number, '%c'"

	.no_dead_strip	_read_number
.subsections_via_symbols
