	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function inet6_rtm_deladdr
_inet6_rtm_deladdr:                     ## @inet6_rtm_deladdr
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movl	(%rdi), %edi
	callq	_sock_net
	movq	%rax, %r14
	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, %r12
	movq	_ifa_ipv6_policy@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r15, %rdi
	movl	$8, %esi
	movq	%r12, %rdx
	movl	%ebx, %ecx
	callq	_nlmsg_parse
	testl	%eax, %eax
	js	LBB0_4
## %bb.1:
	movq	%r15, %rdi
	callq	_nlmsg_data
	movq	%rax, %r15
	movq	_IFA_ADDRESS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r12,%rax,8), %rdi
	movq	_IFA_LOCAL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r12,%rax,8), %rsi
	callq	_extract_addr
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movl	(%r15), %ecx
	movl	4(%r15), %esi
	movq	%r14, %rdi
	movq	%rax, %rdx
	callq	_inet6_addr_del
	jmp	LBB0_4
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_4:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-40(%rbp), %rcx
	jne	LBB0_6
## %bb.5:
	leaq	-32(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_IFA_MAX,4,2                    ## @IFA_MAX
	.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
	.no_dead_strip	_inet6_rtm_deladdr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function inet6_rtm_deladdr
_inet6_rtm_deladdr:                     ; @inet6_rtm_deladdr
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	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, #-40]
	ldr	w0, [x0]
	bl	_sock_net
	mov	x19, 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	x21, x9, x8
	mov	sp, x21
Lloh8:
	adrp	x8, _ifa_ipv6_policy@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ifa_ipv6_policy@GOTPAGEOFF]
Lloh10:
	ldr	w4, [x8]
	mov	x0, x20
	mov	w1, #8
	mov	x2, x21
	bl	_nlmsg_parse
	tbnz	w0, #31, LBB0_4
; %bb.1:
	mov	x0, x20
	bl	_nlmsg_data
	mov	x20, x0
Lloh11:
	adrp	x8, _IFA_ADDRESS@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IFA_ADDRESS@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	ldr	x0, [x21, x8, lsl #3]
Lloh14:
	adrp	x8, _IFA_LOCAL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _IFA_LOCAL@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	ldr	x1, [x21, x8, lsl #3]
	bl	_extract_addr
	cbz	x0, LBB0_3
; %bb.2:
	mov	x2, x0
	ldp	w3, w1, [x20]
	mov	x0, x19
	bl	_inet6_addr_del
	b	LBB0_4
LBB0_3:
Lloh17:
	adrp	x8, _EINVAL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	ldur	x8, [x29, #-40]
Lloh20:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh21:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_6
; %bb.5:
	sub	sp, x29, #32
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_6:
	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 AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_IFA_MAX,4,2                    ; @IFA_MAX
	.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
	.no_dead_strip	_inet6_rtm_deladdr
.subsections_via_symbols
