	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_val_mask
_parse_val_mask:                        ## @parse_val_mask
	.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	%r8d, %r12d
	movq	%rcx, %r14
	movq	%rdx, %r13
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	(%rsi), %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_15
## %bb.1:
	movq	8(%rbx), %rdi
	leaq	-48(%rbp), %rsi
	xorl	%edx, %edx
	callq	_str_to_number
	movq	-48(%rbp), %rcx
	testq	%rcx, %rcx
	js	LBB0_14
## %bb.2:
	movq	_UINT32_MAX@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jg	LBB0_14
## %bb.3:
	movq	%rcx, (%r13)
	cmpq	8(%rbx), %rax
	jbe	LBB0_14
## %bb.4:
	movb	(%rax), %cl
	cmpb	$58, %cl
	je	LBB0_7
## %bb.5:
	testb	%cl, %cl
	jne	LBB0_14
## %bb.6:
	movq	$-1, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_16
LBB0_7:
	cmpb	$0, 1(%rax)
	je	LBB0_14
## %bb.8:
	testl	%r12d, %r12d
	je	LBB0_10
## %bb.9:
	leaq	L_.str(%rip), %rdi
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_warnx
	jmp	LBB0_15
LBB0_10:
	incq	%rax
	leaq	-48(%rbp), %rsi
	movq	%rax, %rdi
	movq	%rdx, %r15
	xorl	%edx, %edx
	callq	_str_to_number
	movq	-48(%rbp), %rcx
	testq	%rcx, %rcx
	js	LBB0_14
## %bb.11:
	movq	%r15, %rdx
	cmpq	(%r15), %rcx
	jg	LBB0_14
## %bb.12:
	cmpb	$0, (%rax)
	je	LBB0_13
LBB0_14:
	movq	(%rbx), %rsi
	movq	8(%rbx), %rdx
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_warnx
LBB0_15:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_16:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movq	%rcx, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_16
	.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	"param %s: mask not allowed for hashfilter or nat params"

L_.str.1:                               ## @.str.1
	.asciz	"parameter \"%s\" has bad \"value[:mask]\" %s"

	.no_dead_strip	_parse_val_mask
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_val_mask
_parse_val_mask:                        ; @parse_val_mask
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x22, x4
	mov	x19, x3
	mov	x23, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x1, [x1]
	bl	_strcmp
	cbnz	x0, LBB0_15
; %bb.1:
	ldr	x0, [x20, #8]
	add	x1, sp, #8
	mov	x2, #0
	bl	_str_to_number
	ldr	x8, [sp, #8]
	tbnz	x8, #63, LBB0_13
; %bb.2:
Lloh0:
	adrp	x24, _UINT32_MAX@GOTPAGE
Lloh1:
	ldr	x24, [x24, _UINT32_MAX@GOTPAGEOFF]
	ldr	x9, [x24]
	cmp	x8, x9
	b.gt	LBB0_13
; %bb.3:
	str	x8, [x23]
	ldr	x8, [x20, #8]
	cmp	x0, x8
	b.ls	LBB0_13
; %bb.4:
	ldrb	w8, [x0]
	cmp	w8, #58
	b.eq	LBB0_7
; %bb.5:
	cbnz	w8, LBB0_13
; %bb.6:
	mov	w0, #0
	mov	x8, #-1
	str	x8, [x19]
	b	LBB0_16
LBB0_7:
	ldrb	w8, [x0, #1]!
	cbz	w8, LBB0_13
; %bb.8:
	cbz	w22, LBB0_10
; %bb.9:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	b	LBB0_14
LBB0_10:
	add	x1, sp, #8
	mov	x2, #0
	bl	_str_to_number
	ldr	x8, [sp, #8]
	tbnz	x8, #63, LBB0_13
; %bb.11:
	ldr	x9, [x24]
	cmp	x8, x9
	b.gt	LBB0_13
; %bb.12:
	ldrb	w9, [x0]
	cbz	w9, LBB0_17
LBB0_13:
	ldp	x1, x8, [x20]
	str	x8, [sp]
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_14:
	bl	_warnx
LBB0_15:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
LBB0_16:
	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
	add	sp, sp, #80
	ret
LBB0_17:
	mov	w0, #0
	str	x8, [x19]
	b	LBB0_16
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.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	"param %s: mask not allowed for hashfilter or nat params"

l_.str.1:                               ; @.str.1
	.asciz	"parameter \"%s\" has bad \"value[:mask]\" %s"

	.no_dead_strip	_parse_val_mask
.subsections_via_symbols
