	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_netblockstrtoaddr              ## -- Begin function netblockstrtoaddr
	.p2align	4, 0x90
_netblockstrtoaddr:                     ## @netblockstrtoaddr
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r15
	movq	%rcx, %r12
	movq	%rdx, -128(%rbp)                ## 8-byte Spill
	movl	%esi, -116(%rbp)                ## 4-byte Spill
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_str_is_ip6
	testq	%rax, %rax
	movl	$32, %eax
	movl	$128, %ebx
	cmovel	%eax, %ebx
	movl	%ebx, (%r15)
	movq	%r13, %rdi
	movl	$47, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r14
	incq	%r14
	movq	%r14, %rdi
	callq	_atoi
	cmpl	%ebx, %eax
	jle	LBB0_5
## %bb.3:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_4
LBB0_1:
	xorl	%r14d, %r14d
	jmp	LBB0_10
LBB0_5:
	movl	%eax, (%r15)
	testl	%eax, %eax
	je	LBB0_6
LBB0_8:
	leaq	-112(%rbp), %r14
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	$64, %edx
	callq	_strlcpy
	movq	%r14, %rdi
	movl	$47, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movb	$0, (%rax)
LBB0_10:
	testq	%r14, %r14
	movq	%r14, %rdi
	cmoveq	%r13, %rdi
	movl	-116(%rbp), %esi                ## 4-byte Reload
	movq	-128(%rbp), %rdx                ## 8-byte Reload
	movq	%r12, %rcx
	callq	_ipstrtoaddr
	testl	%eax, %eax
	je	LBB0_11
## %bb.12:
	movl	$1, %ebx
	testq	%r14, %r14
	je	LBB0_14
## %bb.13:
	movl	(%r12), %esi
	movl	(%r15), %edx
	movq	-128(%rbp), %rdi                ## 8-byte Reload
	callq	_addr_mask
	jmp	LBB0_14
LBB0_11:
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_4
LBB0_6:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	leaq	L_.str.2(%rip), %rdi
LBB0_4:
	movq	%r13, %rsi
	callq	_log_err
	xorl	%ebx, %ebx
LBB0_14:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_16
## %bb.15:
	movl	%ebx, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"netblock too large: %s"

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

L_.str.2:                               ## @.str.2
	.asciz	"cannot parse netblock: '%s'"

L_.str.3:                               ## @.str.3
	.asciz	"cannot parse ip address: '%s'"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_netblockstrtoaddr              ; -- Begin function netblockstrtoaddr
	.p2align	2
_netblockstrtoaddr:                     ; @netblockstrtoaddr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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	x21, x4
	mov	x22, x3
	mov	x20, x2
	mov	x23, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #72]
	bl	_str_is_ip6
	cmp	x0, #0
	mov	w8, #128
	mov	w9, #32
	csel	w25, w9, w8, eq
	str	w25, [x21]
	mov	x0, x19
	mov	w1, #47
	bl	_strchr
	cbz	x0, LBB0_3
; %bb.1:
	add	x24, x0, #1
	mov	x0, x24
	bl	_atoi
	cmp	w0, w25
	b.le	LBB0_4
; %bb.2:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_14
LBB0_3:
	mov	x24, #0
	b	LBB0_7
LBB0_4:
	str	w0, [x21]
	cbz	w0, LBB0_12
LBB0_5:
	add	x24, sp, #8
	add	x0, sp, #8
	mov	x1, x19
	mov	w2, #64
	bl	_strlcpy
	add	x0, sp, #8
	mov	w1, #47
	bl	_strchr
	cbz	x0, LBB0_7
; %bb.6:
	add	x24, sp, #8
	strb	wzr, [x0]
LBB0_7:
	cmp	x24, #0
	csel	x0, x19, x24, eq
	mov	x1, x23
	mov	x2, x20
	mov	x3, x22
	bl	_ipstrtoaddr
	cbz	w0, LBB0_11
; %bb.8:
	cbz	x24, LBB0_10
; %bb.9:
	ldr	w1, [x22]
	ldr	w2, [x21]
	mov	x0, x20
	bl	_addr_mask
LBB0_10:
	mov	w0, #1
	b	LBB0_15
LBB0_11:
Lloh5:
	adrp	x0, l_.str.3@PAGE
Lloh6:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_14
LBB0_12:
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x24
	bl	_strcmp
	cbz	x0, LBB0_5
; %bb.13:
Lloh9:
	adrp	x0, l_.str.2@PAGE
Lloh10:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_14:
	mov	x1, x19
	bl	_log_err
	mov	w0, #0
LBB0_15:
	ldr	x8, [sp, #72]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_17
; %bb.16:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_17:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"netblock too large: %s"

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

l_.str.2:                               ; @.str.2
	.asciz	"cannot parse netblock: '%s'"

l_.str.3:                               ; @.str.3
	.asciz	"cannot parse ip address: '%s'"

.subsections_via_symbols
