	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ip6addrlbl_newdel
_ip6addrlbl_newdel:                     ## @ip6addrlbl_newdel
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	(%rdi), %edi
	callq	_sock_net
	movq	%rax, %r14
	movq	_IFAL_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, %r13
	movq	_ifal_policy@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r12, %rdi
	movl	$24, %esi
	movq	%r13, %rdx
	movl	%ebx, %ecx
	callq	_nlmsg_parse
	testl	%eax, %eax
	js	LBB0_16
## %bb.1:
	movq	%r12, %rdi
	callq	_nlmsg_data
	movq	%rax, %r15
	movq	(%rax), %rax
	movq	_AF_INET6@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.2:
	cmpl	$129, 8(%r15)
	jge	LBB0_3
## %bb.4:
	movq	16(%r15), %rsi
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.5:
	movq	%r14, %rdi
	callq	___dev_get_by_index
	testl	%eax, %eax
	je	LBB0_3
LBB0_6:
	movq	_IFAL_ADDRESS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r13,%rax,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.7:
	callq	_nla_data
	testq	%rax, %rax
	je	LBB0_3
## %bb.8:
	movq	%rax, %rbx
	movq	_IFAL_LABEL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r13,%rax,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.9:
	callq	_nla_get_u32
	movq	_IPV6_ADDR_LABEL_DEFAULT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
LBB0_15:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_16:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_18
## %bb.17:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movl	(%r12), %ecx
	cmpl	$129, %ecx
	je	LBB0_13
## %bb.11:
	cmpl	$128, %ecx
	jne	LBB0_14
## %bb.12:
	movl	8(%r15), %edx
	movq	16(%r15), %rcx
	movq	_NLM_F_REPLACE@GOTPCREL(%rip), %rsi
	movl	(%rsi), %r9d
	andl	4(%r12), %r9d
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%rax, %r8
	callq	_ip6addrlbl_add
	jmp	LBB0_16
LBB0_13:
	movl	8(%r15), %edx
	movq	16(%r15), %rcx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_ip6addrlbl_del
	jmp	LBB0_16
LBB0_14:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
	jmp	LBB0_15
LBB0_18:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_IFAL_MAX,4,2                   ## @IFAL_MAX
	.comm	_ifal_policy,4,2                ## @ifal_policy
	.comm	_AF_INET6,8,3                   ## @AF_INET6
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_IFAL_ADDRESS,8,3               ## @IFAL_ADDRESS
	.comm	_IFAL_LABEL,8,3                 ## @IFAL_LABEL
	.comm	_IPV6_ADDR_LABEL_DEFAULT,8,3    ## @IPV6_ADDR_LABEL_DEFAULT
	.comm	_NLM_F_REPLACE,4,2              ## @NLM_F_REPLACE
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.no_dead_strip	_ip6addrlbl_newdel
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ip6addrlbl_newdel
_ip6addrlbl_newdel:                     ; @ip6addrlbl_newdel
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	sub	sp, sp, #16
	mov	x20, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	ldr	w0, [x0]
	bl	_sock_net
	mov	x19, x0
Lloh3:
	adrp	x8, _IFAL_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IFAL_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, _ifal_policy@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ifal_policy@GOTPAGEOFF]
Lloh10:
	ldr	w4, [x8]
	mov	x0, x20
	mov	w1, #24
	mov	x2, x22
	bl	_nlmsg_parse
	tbnz	w0, #31, LBB0_11
; %bb.1:
	mov	x0, x20
	bl	_nlmsg_data
	ldr	x8, [x0]
Lloh11:
	adrp	x9, _AF_INET6@GOTPAGE
Lloh12:
	ldr	x9, [x9, _AF_INET6@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.2:
	mov	x21, x0
	ldr	w8, [x0, #8]
	cmp	w8, #129
	b.ge	LBB0_9
; %bb.3:
	ldr	x1, [x21, #16]
	cbz	x1, LBB0_5
; %bb.4:
	mov	x0, x19
	bl	___dev_get_by_index
	cbz	w0, LBB0_9
LBB0_5:
Lloh14:
	adrp	x8, _IFAL_ADDRESS@GOTPAGE
Lloh15:
	ldr	x8, [x8, _IFAL_ADDRESS@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	ldr	x0, [x22, x8, lsl #3]
	cbz	x0, LBB0_9
; %bb.6:
	bl	_nla_data
	cbz	x0, LBB0_9
; %bb.7:
	mov	x23, x0
Lloh17:
	adrp	x8, _IFAL_LABEL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _IFAL_LABEL@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	ldr	x0, [x22, x8, lsl #3]
	cbz	x0, LBB0_9
; %bb.8:
	bl	_nla_get_u32
Lloh20:
	adrp	x8, _IPV6_ADDR_LABEL_DEFAULT@GOTPAGE
Lloh21:
	ldr	x8, [x8, _IPV6_ADDR_LABEL_DEFAULT@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_13
LBB0_9:
Lloh23:
	adrp	x8, _EINVAL@GOTPAGE
Lloh24:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_10:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_11:
	ldur	x8, [x29, #-56]
Lloh25:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh26:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_18
; %bb.12:
	sub	sp, x29, #48
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_13:
	ldr	w8, [x20]
	cmp	w8, #129
	b.eq	LBB0_16
; %bb.14:
	cmp	w8, #128
	b.ne	LBB0_17
; %bb.15:
	mov	x4, x0
	ldr	w2, [x21, #8]
	ldr	x3, [x21, #16]
	ldr	w8, [x20, #4]
Lloh28:
	adrp	x9, _NLM_F_REPLACE@GOTPAGE
Lloh29:
	ldr	x9, [x9, _NLM_F_REPLACE@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
	and	w5, w9, w8
	mov	x0, x19
	mov	x1, x23
	bl	_ip6addrlbl_add
	b	LBB0_11
LBB0_16:
	ldr	w2, [x21, #8]
	ldr	x3, [x21, #16]
	mov	x0, x19
	mov	x1, x23
	bl	_ip6addrlbl_del
	b	LBB0_11
LBB0_17:
Lloh31:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh32:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
	b	LBB0_10
LBB0_18:
	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	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_IFAL_MAX,4,2                   ; @IFAL_MAX
	.comm	_ifal_policy,4,2                ; @ifal_policy
	.comm	_AF_INET6,8,3                   ; @AF_INET6
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_IFAL_ADDRESS,8,3               ; @IFAL_ADDRESS
	.comm	_IFAL_LABEL,8,3                 ; @IFAL_LABEL
	.comm	_IPV6_ADDR_LABEL_DEFAULT,8,3    ; @IPV6_ADDR_LABEL_DEFAULT
	.comm	_NLM_F_REPLACE,4,2              ; @NLM_F_REPLACE
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.no_dead_strip	_ip6addrlbl_newdel
.subsections_via_symbols
