	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function addr_pton_cidr
_addr_pton_cidr:                        ## @addr_pton_cidr
	.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	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	$-1, %r13d
	testq	%rdi, %rdi
	je	LBB0_15
## %bb.1:
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rsi
	leaq	-112(%rbp), %rdi
	movl	$64, %edx
	callq	_strlcpy
	cmpl	$63, %eax
	jbe	LBB0_2
LBB0_15:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_17
## %bb.16:
	movl	%r13d, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	leaq	-112(%rbp), %rdi
	movl	$47, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	movq	%rax, %rbx
	movb	$0, (%rax)
	movq	%rax, %rdi
	incq	%rdi
	leaq	-128(%rbp), %rsi
	movl	$10, %edx
	callq	_strtoul
	cmpb	$0, 1(%rbx)
	je	LBB0_15
## %bb.4:
	movq	%rax, %r12
	movq	-128(%rbp), %rax
	cmpb	$0, (%rax)
	jne	LBB0_15
## %bb.5:
	cmpq	$128, %r12
	ja	LBB0_15
## %bb.6:
	leaq	-112(%rbp), %rdi
	leaq	-120(%rbp), %rsi
	callq	_addr_pton
	cmpl	$-1, %eax
	jne	LBB0_9
	jmp	LBB0_15
LBB0_7:
	leaq	-112(%rbp), %rdi
	leaq	-120(%rbp), %rsi
	callq	_addr_pton
	cmpl	$-1, %eax
	je	LBB0_15
## %bb.8:
	movl	-120(%rbp), %edi
	callq	_addr_unicast_masklen
	movq	%rax, %r12
LBB0_9:
	movl	-120(%rbp), %edi
	movq	%r12, %rsi
	callq	_masklen_valid
	movl	$-2, %r13d
	cmpl	$-1, %eax
	je	LBB0_15
## %bb.10:
	leaq	-120(%rbp), %rdi
	movq	%r12, %rsi
	callq	_addr_host_is_all0s
	testq	%rax, %rax
	jne	LBB0_15
## %bb.11:
	testq	%r15, %r15
	je	LBB0_13
## %bb.12:
	leaq	-120(%rbp), %rsi
	movq	%r15, %rdi
	movl	$4, %edx
	callq	_memcpy
LBB0_13:
	xorl	%r13d, %r13d
	testq	%r14, %r14
	je	LBB0_15
## %bb.14:
	movq	%r12, (%r14)
	jmp	LBB0_15
LBB0_17:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_addr_pton_cidr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function addr_pton_cidr
_addr_pton_cidr:                        ; @addr_pton_cidr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	cbz	x0, LBB0_2
; %bb.1:
	mov	x19, x2
	mov	x20, x1
	mov	x1, x0
	add	x0, sp, #24
	mov	w2, #64
	bl	_strlcpy
	cmp	w0, #63
	b.ls	LBB0_5
LBB0_2:
	mov	w0, #-1
LBB0_3:
	ldur	x8, [x29, #-40]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_19
; %bb.4:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_5:
	add	x0, sp, #24
	mov	w1, #47
	bl	_strchr
	cbz	x0, LBB0_10
; %bb.6:
	mov	x22, x0
	strb	wzr, [x0], #1
	add	x1, sp, #8
	mov	w2, #10
	bl	_strtoul
	ldrb	w8, [x22, #1]
	cbz	w8, LBB0_2
; %bb.7:
	mov	x21, x0
	ldr	x8, [sp, #8]
	ldrb	w8, [x8]
	mov	w0, #-1
	cbnz	w8, LBB0_3
; %bb.8:
	cmp	x21, #128
	b.hi	LBB0_3
; %bb.9:
	add	x0, sp, #24
	add	x1, sp, #16
	bl	_addr_pton
	cmn	w0, #1
	b.ne	LBB0_12
	b	LBB0_3
LBB0_10:
	add	x0, sp, #24
	add	x1, sp, #16
	bl	_addr_pton
	cmn	w0, #1
	b.eq	LBB0_3
; %bb.11:
	ldr	w0, [sp, #16]
	bl	_addr_unicast_masklen
	mov	x21, x0
LBB0_12:
	ldr	w0, [sp, #16]
	mov	x1, x21
	bl	_masklen_valid
	cmn	w0, #1
	b.eq	LBB0_14
; %bb.13:
	add	x0, sp, #16
	mov	x1, x21
	bl	_addr_host_is_all0s
	cbz	x0, LBB0_15
LBB0_14:
	mov	w0, #-2
	b	LBB0_3
LBB0_15:
	cbz	x20, LBB0_17
; %bb.16:
	add	x1, sp, #16
	mov	x0, x20
	mov	w2, #4
	bl	_memcpy
LBB0_17:
	mov	w0, #0
	cbz	x19, LBB0_3
; %bb.18:
	str	x21, [x19]
	b	LBB0_3
LBB0_19:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_addr_pton_cidr
.subsections_via_symbols
