	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mpcf_re_range
_mpcf_re_range:                         ## @mpcf_re_range
	.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
	movq	%rdi, %r13
	movb	(%rdi), %al
	testb	%al, %al
	je	LBB0_22
## %bb.1:
	cmpb	$94, %al
	jne	LBB0_3
## %bb.2:
	cmpb	$0, 1(%r13)
	je	LBB0_22
LBB0_3:
	xorl	%r15d, %r15d
	movb	%al, -41(%rbp)                  ## 1-byte Spill
	cmpb	$94, %al
	sete	%r15b
	movl	$1, %edi
	movl	$1, %esi
	callq	_calloc
	movq	%rax, %r14
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r14, %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	leal	2(%rax), %esi
	movq	%r14, %rdi
	callq	_realloc
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_strlen
	cltq
	movb	$0, 1(%rax,%r14)
	movb	(%r13,%r15), %bl
	movq	%r14, %rdi
	callq	_strlen
	cltq
	movb	%bl, (%r14,%rax)
LBB0_17:                                ##   in Loop: Header=BB0_4 Depth=1
	incq	%r15
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_14 Depth 2
	movq	%r13, %rdi
	callq	_strlen
	cltq
	cmpq	%rax, %r15
	jae	LBB0_18
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movb	(%r13,%r15), %al
	cmpb	$45, %al
	je	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpb	$92, %al
	jne	LBB0_16
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movsbl	1(%r13,%r15), %edi
	incq	%r15
	callq	_mpc_re_range_escape_char
	movq	%rax, %r12
	movq	%r14, %rdi
	callq	_strlen
	movq	%r13, %rbx
	movl	%eax, %r13d
	testq	%r12, %r12
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	leal	(%rax,%r13), %esi
	incl	%esi
	movq	%r14, %rdi
	callq	_realloc
	movq	%rax, %r14
	movq	%rax, %rdi
	movq	%r12, %rsi
	callq	_strcat
	movq	%rbx, %r13
	incq	%r15
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	movsbq	1(%r15,%r13), %r12
	testq	%r12, %r12
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=1
	testq	%r15, %r15
	je	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_4 Depth=1
	movsbq	-1(%r15,%r13), %rbx
	decq	%r12
	.p2align	4, 0x90
LBB0_14:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	incq	%rbx
	cmpq	%r12, %rbx
	ja	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=2
	movq	%r14, %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	leal	3(%rax), %esi
	movq	%r14, %rdi
	callq	_realloc
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_strlen
	cltq
	movb	$0, 1(%rax,%r14)
	movq	%r14, %rdi
	callq	_strlen
	cltq
	movb	%bl, (%r14,%rax)
	jmp	LBB0_14
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r14, %rdi
	callq	_strlen
	movl	%eax, %r12d
	leaq	L_.str.1(%rip), %rbx
	movq	%rbx, %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	leal	(%r12,%rax), %esi
	incl	%esi
	movq	%r14, %rdi
	callq	_realloc
	movq	%rax, %r14
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_strcat
	incq	%r15
	jmp	LBB0_4
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	addl	$2, %r13d
	movq	%r14, %rdi
	movl	%r13d, %esi
	callq	_realloc
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_strlen
	cltq
	movb	$0, 1(%rax,%r14)
	movb	(%rbx,%r15), %r12b
	movq	%r14, %rdi
	callq	_strlen
	cltq
	movb	%r12b, (%r14,%rax)
	movq	%rbx, %r13
	incq	%r15
	jmp	LBB0_4
LBB0_18:
	cmpb	$94, -41(%rbp)                  ## 1-byte Folded Reload
	jne	LBB0_20
## %bb.19:
	movq	%r14, %rdi
	callq	_mpc_noneof
	jmp	LBB0_21
LBB0_22:
	movq	%r13, %rdi
	callq	_free
	leaq	L_.str(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mpc_fail                       ## TAILCALL
LBB0_20:
	movq	%r14, %rdi
	callq	_mpc_oneof
LBB0_21:
	movq	%rax, %r15
	movq	%r13, %rdi
	callq	_free
	movq	%r14, %rdi
	callq	_free
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid Regex Range Expression"

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

	.no_dead_strip	_mpcf_re_range
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mpcf_re_range
_mpcf_re_range:                         ; @mpcf_re_range
	.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	x19, x0
	ldrb	w24, [x0]
	cbz	w24, LBB0_20
; %bb.1:
	cmp	w24, #94
	b.ne	LBB0_3
; %bb.2:
	ldrb	w8, [x19, #1]
	cbz	w8, LBB0_20
LBB0_3:
	cmp	w24, #94
	cset	w25, eq
	mov	w0, #1
	mov	w1, #1
	bl	_calloc
	mov	x20, x0
	mov	x0, x19
	bl	_strlen
	cmp	x25, w0, sxtw
	b.hs	LBB0_18
; %bb.4:
Lloh0:
	adrp	x21, l_.str.1@PAGE
Lloh1:
	add	x21, x21, l_.str.1@PAGEOFF
	b	LBB0_8
LBB0_5:                                 ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x20
	bl	_strlen
	mov	x22, x0
	mov	x0, x21
	bl	_strlen
	add	w8, w22, w0
	add	w1, w8, #1
	mov	x0, x20
	bl	_realloc
	mov	x20, x0
	mov	x1, x21
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	bl	_strcat
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x25, x25, #1
	mov	x0, x19
	bl	_strlen
	cmp	x25, w0, sxtw
	b.hs	LBB0_18
LBB0_8:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_14 Depth 2
	ldrb	w8, [x19, x25]
	cmp	w8, #45
	b.eq	LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	cmp	w8, #92
	b.ne	LBB0_15
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	add	x25, x25, #1
	ldrsb	w0, [x19, x25]
	bl	_mpc_re_range_escape_char
	mov	x22, x0
	mov	x0, x20
	bl	_strlen
	mov	x23, x0
	cbz	x22, LBB0_16
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x22
	bl	_strlen
	add	w8, w23, w0
	add	w1, w8, #1
	mov	x0, x20
	bl	_realloc
	mov	x20, x0
	mov	x1, x22
	b	LBB0_6
LBB0_12:                                ;   in Loop: Header=BB0_8 Depth=1
	add	x8, x25, x19
	ldrsb	x9, [x8, #1]
	cmp	x9, #0
	ccmp	x25, #0, #4, ne
	b.eq	LBB0_5
; %bb.13:                               ;   in Loop: Header=BB0_8 Depth=1
	ldursb	x8, [x8, #-1]
	sub	x22, x9, #1
	add	x23, x8, #1
	cmp	x23, x22
	b.hi	LBB0_7
LBB0_14:                                ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x20
	bl	_strlen
	add	w1, w0, #3
	mov	x0, x20
	bl	_realloc
	mov	x20, x0
	bl	_strlen
	add	x8, x20, w0, sxtw
	strb	wzr, [x8, #1]
	mov	x0, x20
	bl	_strlen
	strb	w23, [x20, w0, sxtw]
	add	x23, x23, #1
	cmp	x23, x22
	b.ls	LBB0_14
	b	LBB0_7
LBB0_15:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x20
	bl	_strlen
	add	w1, w0, #2
	b	LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_8 Depth=1
	add	w1, w23, #2
LBB0_17:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x20
	bl	_realloc
	mov	x20, x0
	bl	_strlen
	add	x8, x20, w0, sxtw
	strb	wzr, [x8, #1]
	ldrb	w22, [x19, x25]
	mov	x0, x20
	bl	_strlen
	strb	w22, [x20, w0, sxtw]
	b	LBB0_7
LBB0_18:
	mov	x0, x20
	cmp	w24, #94
	b.ne	LBB0_21
; %bb.19:
	bl	_mpc_noneof
	b	LBB0_22
LBB0_20:
	mov	x0, x19
	bl	_free
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	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	_mpc_fail
LBB0_21:
	bl	_mpc_oneof
LBB0_22:
	mov	x21, x0
	mov	x0, x19
	bl	_free
	mov	x0, x20
	bl	_free
	mov	x0, x21
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid Regex Range Expression"

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

	.no_dead_strip	_mpcf_re_range
.subsections_via_symbols
