	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_str2val                        ## -- Begin function str2val
	.p2align	4, 0x90
_str2val:                               ## @str2val
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r15d
	movl	%edx, %r12d
	movq	%rsi, %r14
	movq	%rdi, %rbx
	cmpb	$48, (%rdi)
	jne	LBB0_3
## %bb.1:
	movb	1(%rbx), %al
	orb	$32, %al
	cmpb	$120, %al
	jne	LBB0_3
## %bb.2:
	leaq	2(%rbx), %rdi
	leaq	-40(%rbp), %rsi
	movl	$16, %edx
	jmp	LBB0_4
LBB0_3:
	leaq	-40(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$10, %edx
LBB0_4:
	callq	_strtol
	movq	-40(%rbp), %rcx
	cmpb	$0, (%rcx)
	jne	LBB0_13
## %bb.5:
	testl	%r12d, %r12d
	js	LBB0_8
## %bb.6:
	cmpl	%r12d, %eax
	jl	LBB0_7
LBB0_8:
	testl	%r15d, %r15d
	js	LBB0_12
## %bb.9:
	cmpl	%r15d, %eax
	jg	LBB0_10
LBB0_12:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_prog@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rcx
	movq	%r14, %r8
	xorl	%eax, %eax
	callq	_Fprintf
	movl	$1, %edi
	callq	_exit
LBB0_7:
	xorl	%eax, %eax
	subl	$1, %r12d
	movq	_stderr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	_prog@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	cmovbl	%eax, %r12d
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str.2(%rip), %rsi
	cmovbq	%rax, %rsi
	movq	%r14, %rcx
	movl	%r12d, %r8d
	jmp	LBB0_11
LBB0_10:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_prog@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rcx
	movl	%r15d, %r8d
LBB0_11:
	xorl	%eax, %eax
	callq	_Fprintf
	movl	$1, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: \"%s\" bad value for %s \n"

	.comm	_prog,4,2                       ## @prog
L_.str.1:                               ## @.str.1
	.asciz	"%s: %s must be >= %d\n"

L_.str.2:                               ## @.str.2
	.asciz	"%s: %s must be > %d\n"

L_.str.3:                               ## @.str.3
	.asciz	"%s: %s must be <= %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_str2val                        ; -- Begin function str2val
	.p2align	2
_str2val:                               ; @str2val
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x3
	mov	x21, x2
	mov	x19, x1
	mov	x22, x0
	ldrb	w8, [x0]
	cmp	w8, #48
	b.ne	LBB0_3
; %bb.1:
	ldrb	w8, [x22, #1]
	orr	w8, w8, #0x20
	cmp	w8, #120
	b.ne	LBB0_3
; %bb.2:
	add	x0, x22, #2
	add	x1, sp, #8
	mov	w2, #16
	b	LBB0_4
LBB0_3:
	add	x1, sp, #8
	mov	x0, x22
	mov	w2, #10
LBB0_4:
	bl	_strtol
	ldr	x8, [sp, #8]
	ldrb	w8, [x8]
	cbnz	w8, LBB0_10
; %bb.5:
	tbnz	w21, #31, LBB0_7
; %bb.6:
	cmp	w0, w21
	b.lt	LBB0_11
LBB0_7:
	tbnz	w20, #31, LBB0_9
; %bb.8:
	cmp	w0, w20
	b.gt	LBB0_12
LBB0_9:
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_10:
Lloh0:
	adrp	x8, _stderr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _prog@GOTPAGE
Lloh4:
	ldr	x8, [x8, _prog@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	str	x19, [sp]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x3, x22
	b	LBB0_14
LBB0_11:
Lloh8:
	adrp	x8, _stderr@GOTPAGE
Lloh9:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x8, _prog@GOTPAGE
Lloh12:
	ldr	x8, [x8, _prog@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	sub	w8, w21, #1
	cmp	w21, #0
	csel	w8, wzr, w8, eq
Lloh14:
	adrp	x9, l_.str.2@PAGE
Lloh15:
	add	x9, x9, l_.str.2@PAGEOFF
Lloh16:
	adrp	x10, l_.str.1@PAGE
Lloh17:
	add	x10, x10, l_.str.1@PAGEOFF
	csel	x1, x10, x9, eq
	str	x8, [sp]
	b	LBB0_13
LBB0_12:
Lloh18:
	adrp	x8, _stderr@GOTPAGE
Lloh19:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
Lloh21:
	adrp	x8, _prog@GOTPAGE
Lloh22:
	ldr	x8, [x8, _prog@GOTPAGEOFF]
Lloh23:
	ldr	w2, [x8]
	str	x20, [sp]
Lloh24:
	adrp	x1, l_.str.3@PAGE
Lloh25:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_13:
	mov	x3, x19
LBB0_14:
	bl	_Fprintf
	mov	w0, #1
	bl	_exit
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: \"%s\" bad value for %s \n"

	.comm	_prog,4,2                       ; @prog
l_.str.1:                               ; @.str.1
	.asciz	"%s: %s must be >= %d\n"

l_.str.2:                               ; @.str.2
	.asciz	"%s: %s must be > %d\n"

l_.str.3:                               ; @.str.3
	.asciz	"%s: %s must be <= %d\n"

.subsections_via_symbols
