	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_dst
_add_dst:                               ## @add_dst
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -88(%rbp)                  ## 8-byte Spill
	movl	%ecx, -60(%rbp)                 ## 4-byte Spill
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	%rsp, -96(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_INET6_ADDRSTRLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%r12, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strpbrk
	movq	%rax, %r13
	movq	%rbx, %rax
	testq	%r13, %r13
	je	LBB0_4
## %bb.1:
	subl	%ebx, %r13d
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	%r12d, %edx
	callq	_strlcpy
	movslq	%r13d, %rax
	cmpq	%r12, %rax
	jae	LBB0_3
## %bb.2:
	movb	$0, (%r15,%rax)
LBB0_3:
	movq	%r15, %rax
LBB0_4:
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	_IPPROTO_IPV6@GOTPCREL(%rip), %rax
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	cmpq	%r13, (%rax)
	movq	%r14, %r15
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	movl	-60(%rbp), %r12d                ## 4-byte Reload
	je	LBB0_7
## %bb.5:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	_AF_INET6@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-56(%rbp), %rdx
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_inet_pton
	cmpl	$1, %eax
	jne	LBB0_8
LBB0_7:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	%r12d, %edx
	movq	%r14, %rcx
	callq	_add_dstip6
	testq	%rax, %rax
	jne	LBB0_13
LBB0_8:
	movq	_IPPROTO_IP@GOTPCREL(%rip), %rax
	cmpq	%r13, (%rax)
	je	LBB0_11
## %bb.9:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	_AF_INET6@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-56(%rbp), %rdx
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_inet_pton
	cmpl	$1, %eax
	je	LBB0_12
LBB0_11:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	%r12d, %edx
	movq	%r14, %rcx
	callq	_add_dstip
	testq	%rax, %rax
	jne	LBB0_13
LBB0_12:
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	cmoveq	%rax, %r15
	movq	%r15, %rax
LBB0_13:
	movq	-96(%rbp), %rsp                 ## 8-byte Reload
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_15
## %bb.14:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_INET6_ADDRSTRLEN,4,2           ## @INET6_ADDRSTRLEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"/,"

	.comm	_IPPROTO_IPV6,8,3               ## @IPPROTO_IPV6
L_.str.1:                               ## @.str.1
	.asciz	"me6"

	.comm	_AF_INET6,4,2                   ## @AF_INET6
	.comm	_IPPROTO_IP,8,3                 ## @IPPROTO_IP
L_.str.2:                               ## @.str.2
	.asciz	"me"

L_.str.3:                               ## @.str.3
	.asciz	"any"

	.no_dead_strip	_add_dst
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_dst
_add_dst:                               ; @add_dst
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #16
	mov	x21, x4
	mov	x22, x3
	mov	x23, x2
	mov	x20, x1
	mov	x19, x0
	mov	x27, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _INET6_ADDRSTRLEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _INET6_ADDRSTRLEN@GOTPAGEOFF]
Lloh5:
	ldr	w25, [x8]
	mov	x9, x25
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x25, #15
	and	x9, x9, #0x1fffffff0
	sub	x26, x8, x9
	mov	sp, x26
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_strpbrk
	mov	x24, x20
	cbz	x0, LBB0_4
; %bb.1:
	sub	w24, w0, w20
	mov	x0, x26
	mov	x1, x20
	mov	x2, x25
	bl	_strlcpy
	sxtw	x8, w24
	cmp	x8, x25
	b.hs	LBB0_3
; %bb.2:
	strb	wzr, [x26, x8]
LBB0_3:
	mov	x24, x26
LBB0_4:
Lloh10:
	adrp	x8, _IPPROTO_IPV6@GOTPAGE
Lloh11:
	ldr	x8, [x8, _IPPROTO_IPV6@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	cmp	x8, x23
	b.eq	LBB0_7
; %bb.5:
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbz	x0, LBB0_7
; %bb.6:
Lloh15:
	adrp	x8, _AF_INET6@GOTPAGE
Lloh16:
	ldr	x8, [x8, _AF_INET6@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	sub	x2, x29, #96
	mov	x1, x24
	bl	_inet_pton
	cmp	w0, #1
	b.ne	LBB0_8
LBB0_7:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x22
	mov	x3, x21
	bl	_add_dstip6
	cbnz	x0, LBB0_13
LBB0_8:
Lloh18:
	adrp	x8, _IPPROTO_IP@GOTPAGE
Lloh19:
	ldr	x8, [x8, _IPPROTO_IP@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	cmp	x8, x23
	b.eq	LBB0_11
; %bb.9:
Lloh21:
	adrp	x1, l_.str.2@PAGE
Lloh22:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbz	x0, LBB0_11
; %bb.10:
Lloh23:
	adrp	x8, _AF_INET6@GOTPAGE
Lloh24:
	ldr	x8, [x8, _AF_INET6@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	sub	x2, x29, #96
	mov	x1, x24
	bl	_inet_pton
	cmp	w0, #1
	b.eq	LBB0_12
LBB0_11:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x22
	mov	x3, x21
	bl	_add_dstip
	cbnz	x0, LBB0_13
LBB0_12:
Lloh26:
	adrp	x1, l_.str.3@PAGE
Lloh27:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cmp	x0, #0
	csel	x0, xzr, x19, eq
LBB0_13:
	mov	sp, x27
	ldur	x8, [x29, #-88]
Lloh28:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh29:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh30:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.14:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_15:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_INET6_ADDRSTRLEN,4,2           ; @INET6_ADDRSTRLEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"/,"

	.comm	_IPPROTO_IPV6,8,3               ; @IPPROTO_IPV6
l_.str.1:                               ; @.str.1
	.asciz	"me6"

	.comm	_AF_INET6,4,2                   ; @AF_INET6
	.comm	_IPPROTO_IP,8,3                 ; @IPPROTO_IP
l_.str.2:                               ; @.str.2
	.asciz	"me"

l_.str.3:                               ; @.str.3
	.asciz	"any"

	.no_dead_strip	_add_dst
.subsections_via_symbols
