	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function inet6_rtm_newaddr
_inet6_rtm_newaddr:                     ## @inet6_rtm_newaddr
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	(%rdi), %edi
	callq	_sock_net
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_IFA_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leal	1(%rbx), %eax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	_ifa_ipv6_policy@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r13, %rdi
	movl	$12, %esi
	movq	%r14, %rdx
	movl	%ebx, %ecx
	callq	_nlmsg_parse
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movq	%r13, %rdi
	callq	_nlmsg_data
	movq	%rax, %r15
	movq	_IFA_ADDRESS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r14,%rax,8), %rdi
	movq	_IFA_LOCAL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r14,%rax,8), %rsi
	callq	_extract_addr
	testq	%rax, %rax
	je	LBB0_3
## %bb.5:
	movq	%rax, %r12
	movq	_IFA_CACHEINFO@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r14,%rax,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.6:
	callq	_nla_data
	movl	(%rax), %r14d
	movl	4(%rax), %eax
	jmp	LBB0_8
LBB0_1:
	movl	%eax, %ebx
	jmp	LBB0_17
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_7:
	movq	_INFINITY_LIFE_TIME@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	%r14d, %eax
LBB0_8:
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movl	8(%r15), %esi
	movq	%rbx, %rdi
	callq	___dev_get_by_index
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	movl	%r14d, -56(%rbp)                ## 4-byte Spill
	movq	_IFA_F_NODAD@GOTPCREL(%rip), %rcx
	movq	_IFA_F_HOMEADDRESS@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r14d
	orl	(%rcx), %r14d
	andl	(%r15), %r14d
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%rax, %rdx
	movl	$1, %ecx
	callq	_ipv6_get_ifaddr
	testq	%rax, %rax
	je	LBB0_11
## %bb.12:
	movq	%rax, %rdx
	movl	(%r13), %eax
	movq	_NLM_F_EXCL@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_13
LBB0_14:
	movq	_EEXIST@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_16
LBB0_9:
	movq	_ENODEV@GOTPCREL(%rip), %rax
LBB0_4:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_17
LBB0_11:
	movl	4(%r15), %ecx
	movl	8(%r15), %esi
	subq	$8, %rsp
	movq	%rbx, %rdi
	movq	%r12, %rdx
	movl	%r14d, %r8d
	movl	-56(%rbp), %r9d                 ## 4-byte Reload
	pushq	-64(%rbp)                       ## 8-byte Folded Reload
	callq	_inet6_addr_add
	addq	$16, %rsp
	movl	%eax, %ebx
	jmp	LBB0_17
LBB0_13:
	movq	_NLM_F_REPLACE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_14
## %bb.15:
	movq	%rdx, %rdi
	movl	%r14d, %esi
	movq	%rdx, %rbx
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_inet6_addr_modify
	movq	%rbx, %rdx
	movl	%eax, %ebx
LBB0_16:
	movq	%rdx, %rdi
	callq	_in6_ifa_put
LBB0_17:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_19
## %bb.18:
	movl	%ebx, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_IFA_MAX,4,2                    ## @IFA_MAX
	.comm	_INFINITY_LIFE_TIME,4,2         ## @INFINITY_LIFE_TIME
	.comm	_ifa_ipv6_policy,4,2            ## @ifa_ipv6_policy
	.comm	_IFA_ADDRESS,8,3                ## @IFA_ADDRESS
	.comm	_IFA_LOCAL,8,3                  ## @IFA_LOCAL
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_IFA_CACHEINFO,8,3              ## @IFA_CACHEINFO
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_IFA_F_NODAD,4,2                ## @IFA_F_NODAD
	.comm	_IFA_F_HOMEADDRESS,4,2          ## @IFA_F_HOMEADDRESS
	.comm	_NLM_F_EXCL,4,2                 ## @NLM_F_EXCL
	.comm	_NLM_F_REPLACE,4,2              ## @NLM_F_REPLACE
	.comm	_EEXIST,4,2                     ## @EEXIST
	.no_dead_strip	_inet6_rtm_newaddr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function inet6_rtm_newaddr
_inet6_rtm_newaddr:                     ; @inet6_rtm_newaddr
	.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, #16
	mov	x19, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	ldr	w0, [x0]
	bl	_sock_net
	mov	x20, x0
Lloh3:
	adrp	x8, _IFA_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IFA_MAX@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	add	w8, w3, #1
	lsl	x8, x8, #3
	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, #0xffffffff0
	sub	x22, x9, x8
	mov	sp, x22
Lloh8:
	adrp	x8, _ifa_ipv6_policy@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ifa_ipv6_policy@GOTPAGEOFF]
Lloh10:
	ldr	w4, [x8]
	mov	x0, x19
	mov	w1, #12
	mov	x2, x22
	bl	_nlmsg_parse
	tbnz	w0, #31, LBB0_4
; %bb.1:
	mov	x0, x19
	bl	_nlmsg_data
	mov	x21, x0
Lloh11:
	adrp	x8, _IFA_ADDRESS@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IFA_ADDRESS@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	ldr	x0, [x22, x8, lsl #3]
Lloh14:
	adrp	x8, _IFA_LOCAL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _IFA_LOCAL@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	ldr	x1, [x22, x8, lsl #3]
	bl	_extract_addr
	cbz	x0, LBB0_5
; %bb.2:
	mov	x23, x0
Lloh17:
	adrp	x8, _IFA_CACHEINFO@GOTPAGE
Lloh18:
	ldr	x8, [x8, _IFA_CACHEINFO@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	ldr	x0, [x22, x8, lsl #3]
	cbz	x0, LBB0_6
; %bb.3:
	bl	_nla_data
	ldp	w24, w22, [x0]
	b	LBB0_7
LBB0_4:
	mov	x21, x0
	b	LBB0_17
LBB0_5:
Lloh20:
	adrp	x8, _EINVAL@GOTPAGE
Lloh21:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_12
LBB0_6:
Lloh22:
	adrp	x8, _INFINITY_LIFE_TIME@GOTPAGE
Lloh23:
	ldr	x8, [x8, _INFINITY_LIFE_TIME@GOTPAGEOFF]
Lloh24:
	ldr	w24, [x8]
	mov	x22, x24
LBB0_7:
	ldr	w1, [x21, #8]
	mov	x0, x20
	bl	___dev_get_by_index
	cbz	x0, LBB0_11
; %bb.8:
	mov	x2, x0
	ldr	w8, [x21]
Lloh25:
	adrp	x9, _IFA_F_NODAD@GOTPAGE
Lloh26:
	ldr	x9, [x9, _IFA_F_NODAD@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
Lloh28:
	adrp	x10, _IFA_F_HOMEADDRESS@GOTPAGE
Lloh29:
	ldr	x10, [x10, _IFA_F_HOMEADDRESS@GOTPAGEOFF]
Lloh30:
	ldr	w10, [x10]
	orr	w9, w10, w9
	and	w26, w9, w8
	mov	x0, x20
	mov	x1, x23
	mov	w3, #1
	bl	_ipv6_get_ifaddr
	cbz	x0, LBB0_13
; %bb.9:
	mov	x25, x0
	ldr	w8, [x19]
Lloh31:
	adrp	x9, _NLM_F_EXCL@GOTPAGE
Lloh32:
	ldr	x9, [x9, _NLM_F_EXCL@GOTPAGEOFF]
Lloh33:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_14
LBB0_10:
Lloh34:
	adrp	x8, _EEXIST@GOTPAGE
Lloh35:
	ldr	x8, [x8, _EEXIST@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_16
LBB0_11:
Lloh37:
	adrp	x8, _ENODEV@GOTPAGE
Lloh38:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
LBB0_12:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_17
LBB0_13:
	ldp	w3, w1, [x21, #4]
	mov	x0, x20
	mov	x2, x23
	mov	x4, x26
	mov	x5, x24
	mov	x6, x22
	bl	_inet6_addr_add
	mov	x21, x0
	b	LBB0_17
LBB0_14:
Lloh39:
	adrp	x9, _NLM_F_REPLACE@GOTPAGE
Lloh40:
	ldr	x9, [x9, _NLM_F_REPLACE@GOTPAGEOFF]
Lloh41:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_10
; %bb.15:
	mov	x0, x25
	mov	x1, x26
	mov	x2, x24
	mov	x3, x22
	bl	_inet6_addr_modify
	mov	x21, x0
LBB0_16:
	mov	x0, x25
	bl	_in6_ifa_put
LBB0_17:
	ldur	x8, [x29, #-72]
Lloh42:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh43:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh44:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_19
; %bb.18:
	mov	x0, x21
	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_19:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.cfi_endproc
                                        ; -- End function
	.comm	_IFA_MAX,4,2                    ; @IFA_MAX
	.comm	_INFINITY_LIFE_TIME,4,2         ; @INFINITY_LIFE_TIME
	.comm	_ifa_ipv6_policy,4,2            ; @ifa_ipv6_policy
	.comm	_IFA_ADDRESS,8,3                ; @IFA_ADDRESS
	.comm	_IFA_LOCAL,8,3                  ; @IFA_LOCAL
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_IFA_CACHEINFO,8,3              ; @IFA_CACHEINFO
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_IFA_F_NODAD,4,2                ; @IFA_F_NODAD
	.comm	_IFA_F_HOMEADDRESS,4,2          ; @IFA_F_HOMEADDRESS
	.comm	_NLM_F_EXCL,4,2                 ; @NLM_F_EXCL
	.comm	_NLM_F_REPLACE,4,2              ; @NLM_F_REPLACE
	.comm	_EEXIST,4,2                     ; @EEXIST
	.no_dead_strip	_inet6_rtm_newaddr
.subsections_via_symbols
