	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ParseMinMaxQuantifier
_ParseMinMaxQuantifier:                 ## @ParseMinMaxQuantifier
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %r13
	movq	(%rdi), %r12
	leaq	1(%r12), %rax
	movq	%rax, (%rdi)
	movsbl	1(%r12), %ebx
	movl	%ebx, %edi
	callq	_JS7_ISDEC
	testq	%rax, %rax
	je	LBB0_17
## %bb.1:
	incq	(%r13)
	movl	%ebx, %edi
	movl	$65535, %esi                    ## imm = 0xFFFF
	xorl	%edx, %edx
	movq	%r13, %rcx
	callq	_GetDecimalValue
	movq	%rax, %r14
	movq	(%r13), %rdx
	movq	_OVERFLOW_VALUE@GOTPCREL(%rip), %rax
	testl	%r15d, %r15d
	jne	LBB0_4
## %bb.2:
	cmpq	(%rax), %r14
	jne	LBB0_4
## %bb.3:
	movq	_JSMSG_MIN_TOO_BIG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_18
LBB0_4:
	movb	(%rdx), %bl
	movq	%r14, %rax
	cmpb	$44, %bl
	jne	LBB0_7
## %bb.5:
	leaq	1(%rdx), %rcx
	movq	%rcx, (%r13)
	movb	1(%rdx), %bl
	movsbl	%bl, %edi
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	callq	_JS7_ISDEC
	testq	%rax, %rax
	je	LBB0_6
## %bb.10:
	incq	(%r13)
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	$65535, %esi                    ## imm = 0xFFFF
	xorl	%edx, %edx
	movq	%r13, %rcx
	callq	_GetDecimalValue
	testl	%r15d, %r15d
	jne	LBB0_13
## %bb.11:
	movq	_OVERFLOW_VALUE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_13
## %bb.12:
	movq	_JSMSG_MAX_TOO_BIG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_18
LBB0_6:
	movq	$-1, %rax
	jmp	LBB0_7
LBB0_13:
	movq	(%r13), %rcx
	movb	(%rcx), %bl
	testl	%r15d, %r15d
	jne	LBB0_7
## %bb.14:
	cmpq	%rax, %r14
	jle	LBB0_7
## %bb.15:
	movq	_JSMSG_OUT_OF_ORDER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_18
LBB0_7:
	cmpb	$125, %bl
	jne	LBB0_17
## %bb.8:
	movq	%rax, %rbx
	movq	_REOP_QUANT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_NewRENode
	movq	%rax, 16(%r13)
	testq	%rax, %rax
	je	LBB0_9
## %bb.16:
	movq	%r14, 8(%rax)
	movq	%rbx, (%rax)
	movq	%r14, %rdi
	callq	_GetCompactIndexWidth
	movq	%rax, %r14
	incq	%rbx
	movq	%rbx, %rdi
	callq	_GetCompactIndexWidth
	addl	%r14d, %eax
	movl	8(%r13), %ecx
	addl	%ecx, %eax
	addl	$4, %eax
	movl	%eax, 8(%r13)
	xorl	%eax, %eax
	jmp	LBB0_18
LBB0_17:
	movq	%r12, (%r13)
	movl	$-1, %eax
LBB0_18:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	_JSMSG_OUT_OF_MEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_18
	.cfi_endproc
                                        ## -- End function
	.comm	_OVERFLOW_VALUE,8,3             ## @OVERFLOW_VALUE
	.comm	_JSMSG_MIN_TOO_BIG,4,2          ## @JSMSG_MIN_TOO_BIG
	.comm	_JSMSG_MAX_TOO_BIG,4,2          ## @JSMSG_MAX_TOO_BIG
	.comm	_JSMSG_OUT_OF_ORDER,4,2         ## @JSMSG_OUT_OF_ORDER
	.comm	_REOP_QUANT,4,2                 ## @REOP_QUANT
	.comm	_JSMSG_OUT_OF_MEMORY,4,2        ## @JSMSG_OUT_OF_MEMORY
	.no_dead_strip	_ParseMinMaxQuantifier
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ParseMinMaxQuantifier
_ParseMinMaxQuantifier:                 ; @ParseMinMaxQuantifier
	.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, x1
	mov	x19, x0
	ldr	x23, [x0]
	add	x8, x23, #1
	str	x8, [x0]
	ldrsb	w20, [x23, #1]
	mov	x0, x20
	bl	_JS7_ISDEC
	cbz	x0, LBB0_16
; %bb.1:
	and	w8, w20, #0xff
	ldr	x9, [x19]
	add	x9, x9, #1
	str	x9, [x19]
	sxtb	w0, w8
	mov	w1, #65535
	mov	x2, #0
	mov	x3, x19
	bl	_GetDecimalValue
	mov	x20, x0
	ldr	x8, [x19]
Lloh0:
	adrp	x24, _OVERFLOW_VALUE@GOTPAGE
Lloh1:
	ldr	x24, [x24, _OVERFLOW_VALUE@GOTPAGEOFF]
	cbnz	w21, LBB0_4
; %bb.2:
	ldr	x9, [x24]
	cmp	x20, x9
	b.ne	LBB0_4
; %bb.3:
Lloh2:
	adrp	x8, _JSMSG_MIN_TOO_BIG@GOTPAGE
Lloh3:
	ldr	x8, [x8, _JSMSG_MIN_TOO_BIG@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	b	LBB0_17
LBB0_4:
	ldrb	w25, [x8]
	mov	x22, x20
	cmp	w25, #44
	b.ne	LBB0_13
; %bb.5:
	add	x9, x8, #1
	str	x9, [x19]
	ldrsb	w0, [x8, #1]
	and	w25, w0, #0xff
	bl	_JS7_ISDEC
	cbz	x0, LBB0_9
; %bb.6:
	ldr	x8, [x19]
	add	x8, x8, #1
	str	x8, [x19]
	sxtb	w0, w25
	mov	w1, #65535
	mov	x2, #0
	mov	x3, x19
	bl	_GetDecimalValue
	mov	x22, x0
	cbnz	w21, LBB0_10
; %bb.7:
	ldr	x8, [x24]
	cmp	x22, x8
	b.ne	LBB0_10
; %bb.8:
Lloh5:
	adrp	x8, _JSMSG_MAX_TOO_BIG@GOTPAGE
Lloh6:
	ldr	x8, [x8, _JSMSG_MAX_TOO_BIG@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	b	LBB0_17
LBB0_9:
	mov	x22, #-1
	b	LBB0_13
LBB0_10:
	ldr	x8, [x19]
	ldrb	w25, [x8]
	cbnz	w21, LBB0_13
; %bb.11:
	cmp	x20, x22
	b.le	LBB0_13
; %bb.12:
Lloh8:
	adrp	x8, _JSMSG_OUT_OF_ORDER@GOTPAGE
Lloh9:
	ldr	x8, [x8, _JSMSG_OUT_OF_ORDER@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	b	LBB0_17
LBB0_13:
	cmp	w25, #125
	b.ne	LBB0_16
; %bb.14:
Lloh11:
	adrp	x8, _REOP_QUANT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _REOP_QUANT@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_NewRENode
	str	x0, [x19, #16]
	cbz	x0, LBB0_18
; %bb.15:
	stp	x22, x20, [x0]
	mov	x0, x20
	bl	_GetCompactIndexWidth
	mov	x20, x0
	add	x0, x22, #1
	bl	_GetCompactIndexWidth
	mov	x8, x0
	mov	w0, #0
	ldr	w9, [x19, #8]
	add	w8, w20, w8
	add	w8, w8, w9
	add	w8, w8, #4
	str	w8, [x19, #8]
	b	LBB0_17
LBB0_16:
	str	x23, [x19]
	mov	w0, #-1
LBB0_17:
	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_18:
Lloh14:
	adrp	x8, _JSMSG_OUT_OF_MEMORY@GOTPAGE
Lloh15:
	ldr	x8, [x8, _JSMSG_OUT_OF_MEMORY@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	b	LBB0_17
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_OVERFLOW_VALUE,8,3             ; @OVERFLOW_VALUE
	.comm	_JSMSG_MIN_TOO_BIG,4,2          ; @JSMSG_MIN_TOO_BIG
	.comm	_JSMSG_MAX_TOO_BIG,4,2          ; @JSMSG_MAX_TOO_BIG
	.comm	_JSMSG_OUT_OF_ORDER,4,2         ; @JSMSG_OUT_OF_ORDER
	.comm	_REOP_QUANT,4,2                 ; @REOP_QUANT
	.comm	_JSMSG_OUT_OF_MEMORY,4,2        ; @JSMSG_OUT_OF_MEMORY
	.no_dead_strip	_ParseMinMaxQuantifier
.subsections_via_symbols
