	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function json_lex_number
_json_lex_number:                       ## @json_lex_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r15
	movq	(%rdi), %rcx
	movl	%r15d, %eax
	subl	%ecx, %eax
	movl	8(%rdi), %r14d
	movl	$1, %esi
	cmpl	%eax, %r14d
	jle	LBB0_9
## %bb.1:
	movb	(%r15), %dl
	cmpb	$48, %dl
	jne	LBB0_3
## %bb.2:
	incq	%r15
	incl	%eax
	jmp	LBB0_8
LBB0_3:
	addb	$-49, %dl
	cmpb	$8, %dl
	ja	LBB0_9
## %bb.4:
	addl	%r14d, %ecx
	movl	%r15d, %edx
	notl	%edx
	addl	%ecx, %edx
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%ecx, %edx
	je	LBB0_30
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movzbl	1(%r15,%rcx), %ebx
	addb	$-48, %bl
	incq	%rcx
	cmpb	$10, %bl
	jb	LBB0_5
## %bb.7:
	addq	%rcx, %r15
	addl	%ecx, %eax
LBB0_8:
	xorl	%esi, %esi
LBB0_9:
	cmpl	%r14d, %eax
	jge	LBB0_15
## %bb.10:
	cmpb	$46, (%r15)
	jne	LBB0_15
## %bb.11:
	leaq	1(%r15), %rbx
	leal	1(%rax), %ecx
	movl	$1, %r12d
	cmpl	%r14d, %ecx
	je	LBB0_43
## %bb.12:
	movb	(%rbx), %dl
	addb	$-58, %dl
	cmpb	$-10, %dl
	jae	LBB0_31
## %bb.13:
	movq	%rbx, %r15
	movl	$1, %esi
	cmpl	%r14d, %ecx
	jl	LBB0_16
	jmp	LBB0_35
LBB0_15:
	movl	%eax, %ecx
	cmpl	%r14d, %ecx
	jge	LBB0_35
LBB0_16:
	movb	(%r15), %al
	orb	$32, %al
	cmpb	$101, %al
	jne	LBB0_35
## %bb.17:
	leaq	1(%r15), %rbx
	leal	1(%rcx), %r13d
	cmpl	%r14d, %r13d
	jge	LBB0_21
## %bb.18:
	movb	(%rbx), %al
	cmpb	$45, %al
	je	LBB0_20
## %bb.19:
	cmpb	$43, %al
	jne	LBB0_21
LBB0_20:
	addq	$2, %r15
	addl	$2, %ecx
	movq	%r15, %rbx
	movl	%ecx, %r13d
LBB0_21:
	movl	$1, %r12d
	cmpl	%r14d, %r13d
	je	LBB0_43
## %bb.22:
	movb	(%rbx), %al
	addb	$-58, %al
	cmpb	$-10, %al
	jae	LBB0_25
## %bb.23:
	movq	%rbx, %r15
	movl	$1, %esi
	cmpl	%r14d, %r13d
	jl	LBB0_36
LBB0_29:
	movq	%r15, %rbx
	movl	%esi, %r12d
	movl	%r13d, %r14d
	jmp	LBB0_43
LBB0_25:
	leal	1(%r13), %eax
	cmpl	%eax, %r14d
	cmovgl	%r14d, %eax
	incq	%rbx
	.p2align	4, 0x90
LBB0_26:                                ## =>This Inner Loop Header: Depth=1
	incl	%r13d
	cmpl	%r14d, %r13d
	jge	LBB0_41
## %bb.27:                              ##   in Loop: Header=BB0_26 Depth=1
	movzbl	(%rbx), %ecx
	addb	$-48, %cl
	incq	%rbx
	cmpb	$10, %cl
	jb	LBB0_26
## %bb.28:
	decq	%rbx
	movq	%rbx, %r15
	cmpl	%r14d, %r13d
	jl	LBB0_36
	jmp	LBB0_29
LBB0_30:
	leaq	(%r15,%rcx), %rbx
	incq	%rbx
	xorl	%r12d, %r12d
	jmp	LBB0_43
LBB0_31:
	addl	$2, %eax
	cmpl	%eax, %r14d
	cmovgl	%r14d, %eax
	addq	$2, %r15
	movq	%r15, %rbx
	.p2align	4, 0x90
LBB0_32:                                ## =>This Inner Loop Header: Depth=1
	incl	%ecx
	cmpl	%r14d, %ecx
	jge	LBB0_42
## %bb.33:                              ##   in Loop: Header=BB0_32 Depth=1
	movzbl	(%rbx), %edx
	addb	$-48, %dl
	incq	%rbx
	cmpb	$10, %dl
	jb	LBB0_32
## %bb.34:
	decq	%rbx
	movq	%rbx, %r15
	cmpl	%r14d, %ecx
	jl	LBB0_16
LBB0_35:
	movl	%ecx, %r13d
	cmpl	%r14d, %r13d
	jge	LBB0_29
LBB0_36:
	movl	%esi, %r12d
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movsbl	(%r15), %edi
	callq	_JSON_ALPHANUMERIC_CHAR
	testq	%rax, %rax
	je	LBB0_40
## %bb.37:
	incq	%r15
	incl	%r13d
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	$1, %r12d
	.p2align	4, 0x90
LBB0_38:                                ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rbx
	movl	%r13d, %r14d
	cmpl	8(%rdi), %r13d
	jge	LBB0_43
## %bb.39:                              ##   in Loop: Header=BB0_38 Depth=1
	movsbl	(%rbx), %edi
	callq	_JSON_ALPHANUMERIC_CHAR
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	leaq	1(%rbx), %r15
	leal	1(%r14), %r13d
	testq	%rax, %rax
	jne	LBB0_38
	jmp	LBB0_43
LBB0_40:
	movq	%r15, %rbx
	movl	%r13d, %r14d
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_43
LBB0_41:
	movl	%esi, %r12d
	movl	%eax, %r14d
	jmp	LBB0_43
LBB0_42:
	movl	%esi, %r12d
	movl	%eax, %r14d
LBB0_43:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_45
## %bb.44:
	movl	%r14d, (%rax)
LBB0_45:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_48
## %bb.46:
	movl	%r12d, (%rax)
LBB0_47:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_48:
	movq	24(%rdi), %rax
	movq	%rax, 16(%rdi)
	movq	%rbx, 24(%rdi)
	testl	%r12d, %r12d
	je	LBB0_47
## %bb.49:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_report_invalid_token           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_json_lex_number
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function json_lex_number
_json_lex_number:                       ; @json_lex_number
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [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 w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x3
	mov	x20, x2
	mov	x19, x0
	ldr	x10, [x0]
	ldr	w22, [x0, #8]
	sub	w8, w1, w10
	cmp	w22, w8
	b.le	LBB0_8
; %bb.1:
	ldrb	w9, [x1]
	cmp	w9, #48
	b.ne	LBB0_3
; %bb.2:
	mov	w23, #0
	add	x1, x1, #1
	add	w8, w8, #1
	cmp	w8, w22
	b.lt	LBB0_9
	b	LBB0_13
LBB0_3:
	sub	w9, w9, #49
	cmp	w9, #8
	b.hi	LBB0_8
; %bb.4:
	mov	x9, #0
	mvn	w11, w1
	add	w10, w22, w10
	add	w10, w11, w10
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	add	x11, x1, x9
	cmp	w10, w9
	b.eq	LBB0_27
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldrb	w11, [x11, #1]
	sub	w11, w11, #48
	add	x9, x9, #1
	cmp	w11, #10
	b.lo	LBB0_5
; %bb.7:
	mov	w23, #0
	add	x1, x1, x9
	add	w8, w8, w9
	cmp	w8, w22
	b.ge	LBB0_13
	b	LBB0_9
LBB0_8:
	mov	w23, #1
	cmp	w8, w22
	b.ge	LBB0_13
LBB0_9:
	ldrb	w9, [x1]
	cmp	w9, #46
	b.ne	LBB0_13
; %bb.10:
	add	x24, x1, #1
	add	w9, w8, #1
	cmp	w9, w22
	b.eq	LBB0_37
; %bb.11:
	ldrb	w10, [x24]
	sub	w10, w10, #58
	cmn	w10, #10
	b.hs	LBB0_28
; %bb.12:
	mov	w23, #1
	cmp	w9, w22
	b.ge	LBB0_32
	b	LBB0_14
LBB0_13:
	mov	x24, x1
	mov	x9, x8
	cmp	w9, w22
	b.ge	LBB0_32
LBB0_14:
	ldrb	w8, [x24]
	orr	w8, w8, #0x20
	cmp	w8, #101
	b.ne	LBB0_32
; %bb.15:
	add	x26, x24, #1
	add	w25, w9, #1
	cmp	w25, w22
	b.ge	LBB0_19
; %bb.16:
	ldrb	w8, [x26]
	cmp	w8, #45
	b.eq	LBB0_18
; %bb.17:
	cmp	w8, #43
	b.ne	LBB0_19
LBB0_18:
	add	x26, x24, #2
	add	w25, w9, #2
LBB0_19:
	cmp	w25, w22
	b.ne	LBB0_21
; %bb.20:
	mov	w23, #1
	mov	x24, x26
	cbnz	x21, LBB0_39
	b	LBB0_40
LBB0_21:
	ldrb	w8, [x26]
	sub	w8, w8, #58
	cmn	w8, #10
	b.hs	LBB0_23
; %bb.22:
	mov	w23, #1
	cmp	w25, w22
	b.ge	LBB0_38
	b	LBB0_33
LBB0_23:
	add	w8, w25, #1
	cmp	w22, w8
	csinc	w8, w22, w25, gt
	add	x24, x26, #1
LBB0_24:                                ; =>This Inner Loop Header: Depth=1
	add	w25, w25, #1
	cmp	w25, w22
	b.ge	LBB0_45
; %bb.25:                               ;   in Loop: Header=BB0_24 Depth=1
	ldrb	w9, [x24], #1
	sub	w9, w9, #48
	cmp	w9, #10
	b.lo	LBB0_24
; %bb.26:
	sub	x26, x24, #1
	cmp	w25, w22
	b.ge	LBB0_38
	b	LBB0_33
LBB0_27:
	mov	w23, #0
	add	x24, x11, #1
	cbnz	x21, LBB0_39
	b	LBB0_40
LBB0_28:
	add	w8, w8, #2
	cmp	w22, w8
	csel	w8, w22, w8, gt
	add	x24, x1, #2
LBB0_29:                                ; =>This Inner Loop Header: Depth=1
	add	w9, w9, #1
	cmp	w9, w22
	b.ge	LBB0_45
; %bb.30:                               ;   in Loop: Header=BB0_29 Depth=1
	ldrb	w10, [x24], #1
	sub	w10, w10, #48
	cmp	w10, #10
	b.lo	LBB0_29
; %bb.31:
	sub	x24, x24, #1
	cmp	w9, w22
	b.lt	LBB0_14
LBB0_32:
	mov	x26, x24
	mov	x25, x9
	cmp	w25, w22
	b.ge	LBB0_38
LBB0_33:
	ldrsb	w0, [x26]
	bl	_JSON_ALPHANUMERIC_CHAR
	cbz	x0, LBB0_38
; %bb.34:
	add	x23, x26, #1
	add	w8, w25, #1
LBB0_35:                                ; =>This Inner Loop Header: Depth=1
	mov	x24, x23
	mov	x22, x8
	ldr	w8, [x19, #8]
	cmp	w22, w8
	b.ge	LBB0_37
; %bb.36:                               ;   in Loop: Header=BB0_35 Depth=1
	mov	x23, x24
	ldrsb	w0, [x23], #1
	bl	_JSON_ALPHANUMERIC_CHAR
	add	w8, w22, #1
	cbnz	x0, LBB0_35
LBB0_37:
	mov	w23, #1
	cbnz	x21, LBB0_39
	b	LBB0_40
LBB0_38:
	mov	x24, x26
	mov	x22, x25
	cbz	x21, LBB0_40
LBB0_39:
	str	w22, [x21]
LBB0_40:
	cbz	x20, LBB0_43
; %bb.41:
	str	w23, [x20]
LBB0_42:
	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	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_43:
	ldr	x8, [x19, #24]
	stp	x8, x24, [x19, #16]
	cbz	w23, LBB0_42
; %bb.44:
	mov	x0, x19
	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	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_report_invalid_token
LBB0_45:
	mov	x22, x8
	cbnz	x21, LBB0_39
	b	LBB0_40
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_json_lex_number
.subsections_via_symbols
