	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_val
_parse_val:                             ## @parse_val
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	(%rsi), %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_1
## %bb.2:
	movq	8(%rbx), %rdi
	leaq	-24(%rbp), %rsi
	xorl	%edx, %edx
	callq	_str_to_number
	cmpb	$0, (%rax)
	jne	LBB0_5
## %bb.3:
	movq	-24(%rbp), %rax
	testq	%rax, %rax
	js	LBB0_5
## %bb.4:
	movq	_UINT32_MAX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jg	LBB0_5
## %bb.6:
	movq	%rax, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_7
LBB0_5:
	movq	(%rbx), %rsi
	movq	8(%rbx), %rdx
	leaq	L_.str(%rip), %rdi
	callq	_warnx
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_7:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_UINT32_MAX,8,3                 ## @UINT32_MAX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"parameter \"%s\" has bad \"value\" %s"

	.no_dead_strip	_parse_val
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_val
_parse_val:                             ; @parse_val
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x2
	mov	x19, x1
	ldr	x1, [x1]
	bl	_strcmp
	cbnz	x0, LBB0_6
; %bb.1:
	ldr	x0, [x19, #8]
	add	x1, sp, #8
	mov	x2, #0
	bl	_str_to_number
	ldrb	w8, [x0]
	cbnz	w8, LBB0_5
; %bb.2:
	ldr	x8, [sp, #8]
	tbnz	x8, #63, LBB0_5
; %bb.3:
Lloh0:
	adrp	x9, _UINT32_MAX@GOTPAGE
Lloh1:
	ldr	x9, [x9, _UINT32_MAX@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.gt	LBB0_5
; %bb.4:
	mov	w0, #0
	str	x8, [x20]
	b	LBB0_7
LBB0_5:
	ldp	x1, x2, [x19]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_warnx
LBB0_6:
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_UINT32_MAX,8,3                 ; @UINT32_MAX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"parameter \"%s\" has bad \"value\" %s"

	.no_dead_strip	_parse_val
.subsections_via_symbols
