	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_range
_parse_range:                           ## @parse_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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	testq	%rdx, %rdx
	sete	%sil
	cmpl	$2, %ecx
	setl	%al
	orb	%sil, %al
	movl	$2, %esi
	cmovel	%ecx, %esi
	movl	%esi, -84(%rbp)                 ## 4-byte Spill
	movq	(%r15), %r13
	testq	%r13, %r13
	je	LBB0_1
## %bb.2:
	movl	%edi, %ebx
	testb	%al, %al
	leaq	-56(%rbp), %rax
	cmovneq	%rax, %rdx
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	leaq	-72(%rbp), %rsi
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	leaq	L_.str(%rip), %rdi
	movq	%r13, %rsi
	callq	_warn
	incq	%r12
	movq	%r12, -72(%rbp)
	movq	%r12, %r13
LBB0_18:                                ##   in Loop: Header=BB0_3 Depth=1
	addq	$8, %r15
	decl	%ebx
	testq	%r13, %r13
	leaq	-72(%rbp), %rsi
	je	LBB0_19
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movl	$10, %edx
	movq	%rsi, %r14
	callq	_strtoul
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, (%rdi)
	movq	-72(%rbp), %r12
	cmpb	$45, (%r12)
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%r12
	movq	%r12, %rdi
	movq	%r14, %rsi
	movl	$10, %edx
	callq	_strtoul
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	-72(%rbp), %r12
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	%eax, 4(%rdi)
	movzbl	(%r12), %ecx
	cmpb	$44, %cl
	je	LBB0_11
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	testb	%cl, %cl
	jne	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	testl	%ebx, %ebx
	jle	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%r15), %r13
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%r12
	movq	%r12, -72(%rbp)
	incl	%ebx
	addq	$-8, %r15
	movq	%r12, %r13
	jmp	LBB0_12
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	(%rdi), %ecx
	cmpl	%ecx, %eax
	jl	LBB0_18
## %bb.13:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	_DN_MAX_ID@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	leal	-1(%rdx), %esi
	cmpl	%esi, %ecx
	jge	LBB0_18
## %bb.14:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpl	%esi, %eax
	jge	LBB0_18
## %bb.15:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	incl	%esi
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	_co@GOTPCREL(%rip), %rsi
	cmpl	$1, (%rsi)
	jne	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_3 Depth=1
	addl	%ecx, %edx
	movl	%edx, (%rdi)
	movq	_DN_MAX_ID@GOTPCREL(%rip), %rcx
	addl	(%rcx), %eax
	movl	%eax, 4(%rdi)
LBB0_17:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	addl	%eax, %eax
	addq	$8, %rdi
	cmpl	-84(%rbp), %eax                 ## 4-byte Folded Reload
	leaq	-56(%rbp), %rax
	cmovgeq	%rax, %rdi
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_18
LBB0_1:
	xorl	%eax, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
LBB0_19:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_21
## %bb.20:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
                                        ## kill: def $eax killed $eax killed $rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_21:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid number: %s"

	.comm	_DN_MAX_ID,4,2                  ## @DN_MAX_ID
	.comm	_co,4,2                         ## @co
	.no_dead_strip	_parse_range
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_range
_parse_range:                           ; @parse_range
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	cmp	x2, #0
	ccmp	w3, #2, #8, ne
	cset	w8, lt
	mov	w9, #2
	cmp	w8, #0
	csel	w24, w9, w3, ne
	ldr	x22, [x1]
	cbz	x22, LBB0_17
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	mov	w21, #0
	cmp	w8, #0
	add	x25, sp, #16
	csel	x26, x25, x2, ne
Lloh3:
	adrp	x27, _DN_MAX_ID@GOTPAGE
Lloh4:
	ldr	x27, [x27, _DN_MAX_ID@GOTPAGEOFF]
Lloh5:
	adrp	x23, l_.str@PAGE
Lloh6:
	add	x23, x23, l_.str@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x23
	mov	x1, x22
	bl	_warn
	add	x22, x28, #1
	str	x22, [sp, #8]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x19, x19, #8
	sub	w20, w20, #1
	cbz	x22, LBB0_18
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	x1, sp, #8
	mov	x0, x22
	mov	w2, #10
	bl	_strtoul
	str	w0, [x26]
	ldr	x28, [sp, #8]
	ldrb	w8, [x28]
	cmp	w8, #45
	b.ne	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x0, x28, #1
	add	x1, sp, #8
	mov	w2, #10
	bl	_strtoul
	ldr	x28, [sp, #8]
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	str	w0, [x26, #4]
	ldrb	w8, [x28]
	cmp	w8, #44
	b.eq	LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	cbnz	w8, LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w20, #1
	b.lt	LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x22, [x19, #8]
	b	LBB0_12
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x22, x28, #1
	str	x22, [sp, #8]
	add	w20, w20, #1
	sub	x19, x19, #8
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x22, #0
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x26]
	cmp	w0, w8
	b.lt	LBB0_3
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w9, [x27]
	sub	w10, w9, #1
	cmp	w8, w10
	ccmp	w0, w10, #0, lt
	b.ge	LBB0_3
; %bb.14:                               ;   in Loop: Header=BB0_4 Depth=1
Lloh7:
	adrp	x10, _co@GOTPAGE
Lloh8:
	ldr	x10, [x10, _co@GOTPAGEOFF]
Lloh9:
	ldr	w10, [x10]
	cmp	w10, #1
	b.ne	LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_4 Depth=1
	add	w8, w9, w8
	str	w8, [x26]
	ldr	w8, [x27]
	add	w8, w8, w0
	str	w8, [x26, #4]
LBB0_16:                                ;   in Loop: Header=BB0_4 Depth=1
	add	w21, w21, #1
	add	x8, x26, #8
	cmp	w24, w21, lsl #1
	csel	x26, x8, x25, gt
	b	LBB0_3
LBB0_17:
	mov	w21, #0
LBB0_18:
	ldr	x8, [sp, #24]
Lloh10:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh11:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_20
; %bb.19:
	mov	x0, x21
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_20:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid number: %s"

	.comm	_DN_MAX_ID,4,2                  ; @DN_MAX_ID
	.comm	_co,4,2                         ; @co
	.no_dead_strip	_parse_range
.subsections_via_symbols
