	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function in6_ifadd
_in6_ifadd:                             ## @in6_ifadd
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, -52(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r13
	movq	%rsp, -104(%rbp)                ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	16(%rdi), %r12
	movl	(%rdi), %ebx
	movq	_INET6_ADDRSTRLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -64(%rbp)                 ## 8-byte Spill
	leaq	-72(%rbp), %rdi
	movl	%ebx, %esi
	callq	_in6_prefixlen2mask
	xorl	%r15d, %r15d
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_in6ifa_ifpforlinklocal
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movq	%rax, %r14
	movq	%rax, %rdi
	addq	$8, %rdi
	xorl	%esi, %esi
	callq	_in6_mask2len
	cmpl	%eax, %ebx
	jne	LBB0_4
## %bb.2:
	leaq	12(%r13), %rsi
	leaq	-96(%rbp), %r15
	leaq	-72(%rbp), %rbx
	movq	%r15, %rdi
	movq	%rbx, %rdx
	callq	_in6_prepare_ifra
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_IN6_MASK_ADDR
	movq	(%r14), %rax
	movq	-72(%rbp), %rcx
	movl	(%rcx), %edx
	notl	%edx
	andl	(%rax), %edx
	movq	-96(%rbp), %rsi
	orl	%edx, (%rsi)
	movl	4(%rcx), %edx
	notl	%edx
	andl	4(%rax), %edx
	orl	%edx, 4(%rsi)
	movl	8(%rcx), %edx
	notl	%edx
	andl	8(%rax), %edx
	orl	%edx, 8(%rsi)
	movl	12(%rcx), %ecx
	notl	%ecx
	andl	12(%rax), %ecx
	orl	%ecx, 12(%rsi)
	movq	%r14, %rdi
	callq	_ifa_free
	movl	8(%r13), %eax
	movl	%eax, -80(%rbp)
	movl	4(%r13), %eax
	movl	%eax, -84(%rbp)
	movq	_IN6_IFF_AUTOCONF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, -88(%rbp)
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_in6ifa_ifpwithaddr
	testq	%rax, %rax
	je	LBB0_9
## %bb.3:
	movq	%rax, %rdi
	callq	_ifa_free
	movq	_LOG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	-96(%rbp), %rsi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_ip6_sprintf
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edi
	movl	%eax, %edx
	callq	_log
	jmp	LBB0_6
LBB0_4:
	movl	%eax, %r15d
	movq	%r14, %rdi
	callq	_ifa_free
	movq	%r12, %rdi
	callq	_if_name
	movl	$128, %edi
	subl	%r15d, %edi
LBB0_5:
	callq	_nd6log
LBB0_6:
	xorl	%r15d, %r15d
LBB0_7:
	movq	-104(%rbp), %rsp                ## 8-byte Reload
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_14
## %bb.8:
	movq	%r15, %rax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	testl	%ecx, %ecx
	je	LBB0_11
## %bb.10:
	movq	_IN6_IFAUPDATE_DADDELAY@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_11:
	leaq	-96(%rbp), %rsi
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_in6_update_ifa
	testl	%eax, %eax
	je	LBB0_13
## %bb.12:
	movl	%eax, %ebx
	leaq	-96(%rbp), %rsi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_ip6_sprintf
	movq	%r12, %rdi
	callq	_if_name
	movl	%ebx, %edi
	jmp	LBB0_5
LBB0_13:
	leaq	-96(%rbp), %rsi
	movq	%r12, %rdi
	callq	_in6ifa_ifpwithaddr
	movq	%rax, %r15
	jmp	LBB0_7
LBB0_14:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_INET6_ADDRSTRLEN,4,2           ## @INET6_ADDRSTRLEN
	.comm	_LOG_INFO,4,2                   ## @LOG_INFO
	.comm	_IN6_IFF_AUTOCONF,4,2           ## @IN6_IFF_AUTOCONF
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"in6_ifadd: %s is already configured\n"

	.comm	_IN6_IFAUPDATE_DADDELAY,4,2     ## @IN6_IFAUPDATE_DADDELAY
	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
	.no_dead_strip	_in6_ifadd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function in6_ifadd
_in6_ifadd:                             ; @in6_ifadd
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	sub	sp, sp, #48
	mov	x21, x1
	mov	x22, x0
	mov	x26, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	ldr	x19, [x0, #16]
	ldr	w24, [x0]
Lloh3:
	adrp	x8, _INET6_ADDRSTRLEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _INET6_ADDRSTRLEN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x20, x9, x8
	mov	sp, x20
	sub	x0, x29, #104
	mov	x1, x24
	bl	_in6_prefixlen2mask
	mov	x0, x19
	mov	w1, #0
	bl	_in6ifa_ifpforlinklocal
	cbz	x0, LBB0_7
; %bb.1:
	mov	x23, x0
	add	x0, x0, #8
	mov	x1, #0
	bl	_in6_mask2len
	cmp	w24, w0
	b.ne	LBB0_4
; %bb.2:
	add	x1, x22, #12
	sub	x0, x29, #96
	sub	x2, x29, #104
	bl	_in6_prepare_ifra
	sub	x0, x29, #96
	sub	x1, x29, #104
	bl	_IN6_MASK_ADDR
	ldr	x8, [x23]
	ldr	w9, [x8]
	ldur	x10, [x29, #-104]
	ldr	w11, [x10]
	bic	w9, w9, w11
	ldur	x11, [x29, #-96]
	ldp	w12, w13, [x11]
	orr	w9, w12, w9
	str	w9, [x11]
	ldr	w9, [x8, #4]
	ldr	w12, [x10, #4]
	bic	w9, w9, w12
	orr	w9, w13, w9
	str	w9, [x11, #4]
	ldr	w9, [x8, #8]
	ldr	w12, [x10, #8]
	bic	w9, w9, w12
	ldp	w12, w13, [x11, #8]
	orr	w9, w12, w9
	str	w9, [x11, #8]
	ldr	w8, [x8, #12]
	ldr	w9, [x10, #12]
	bic	w8, w8, w9
	orr	w8, w13, w8
	str	w8, [x11, #12]
	mov	x0, x23
	bl	_ifa_free
	ldur	d0, [x22, #4]
	stur	d0, [x29, #-84]
Lloh8:
	adrp	x8, _IN6_IFF_AUTOCONF@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IN6_IFF_AUTOCONF@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	ldur	w9, [x29, #-88]
	orr	w8, w9, w8
	stur	w8, [x29, #-88]
	sub	x1, x29, #96
	mov	x0, x19
	bl	_in6ifa_ifpwithaddr
	cbz	x0, LBB0_9
; %bb.3:
	bl	_ifa_free
Lloh11:
	adrp	x8, _LOG_INFO@GOTPAGE
Lloh12:
	ldr	x8, [x8, _LOG_INFO@GOTPAGEOFF]
Lloh13:
	ldr	w19, [x8]
	sub	x1, x29, #96
	mov	x0, x20
	bl	_ip6_sprintf
	mov	x2, x0
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_log
	b	LBB0_6
LBB0_4:
	mov	x25, x0
	mov	x0, x23
	bl	_ifa_free
	mov	x0, x19
	bl	_if_name
	mov	w8, #128
	sub	w0, w8, w25
LBB0_5:
	bl	_nd6log
LBB0_6:
	mov	x0, #0
LBB0_7:
	mov	sp, x26
	ldur	x8, [x29, #-72]
Lloh16:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh17:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.8:
	sub	sp, x29, #64
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_9:
Lloh19:
	adrp	x8, _IN6_IFAUPDATE_DADDELAY@GOTPAGE
Lloh20:
	ldr	x8, [x8, _IN6_IFAUPDATE_DADDELAY@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	cmp	w21, #0
	csel	w3, wzr, w8, eq
	sub	x1, x29, #96
	mov	x0, x19
	mov	x2, #0
	bl	_in6_update_ifa
	cbz	w0, LBB0_11
; %bb.10:
	mov	x21, x0
	sub	x1, x29, #96
	mov	x0, x20
	bl	_ip6_sprintf
	mov	x0, x19
	bl	_if_name
	mov	x0, x21
	b	LBB0_5
LBB0_11:
	sub	x1, x29, #96
	mov	x0, x19
	bl	_in6ifa_ifpwithaddr
	b	LBB0_7
LBB0_12:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_INET6_ADDRSTRLEN,4,2           ; @INET6_ADDRSTRLEN
	.comm	_LOG_INFO,4,2                   ; @LOG_INFO
	.comm	_IN6_IFF_AUTOCONF,4,2           ; @IN6_IFF_AUTOCONF
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"in6_ifadd: %s is already configured\n"

	.comm	_IN6_IFAUPDATE_DADDELAY,4,2     ; @IN6_IFAUPDATE_DADDELAY
	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
	.no_dead_strip	_in6_ifadd
.subsections_via_symbols
