	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipv6_mc_destroy_dev            ## -- Begin function ipv6_mc_destroy_dev
	.p2align	4, 0x90
_ipv6_mc_destroy_dev:                   ## @ipv6_mc_destroy_dev
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	callq	_ipv6_mc_down
	movq	_in6addr_linklocal_allnodes@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	___ipv6_dev_mc_dec
	cmpq	$0, 16(%r14)
	je	LBB0_3
## %bb.1:
	movq	_in6addr_linklocal_allrouters@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	___ipv6_dev_mc_dec
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rbx), %rax
	movq	%rax, 8(%r14)
	movq	%r14, %rdi
	callq	_write_unlock_bh
	movq	%rbx, %rdi
	callq	_igmp6_group_dropped
	movq	%rbx, %rdi
	callq	_ma_put
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	callq	_write_lock_bh
	movq	8(%r14), %rbx
	testq	%rbx, %rbx
	jne	LBB0_2
## %bb.4:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_write_unlock_bh                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_in6addr_linklocal_allnodes,4,2 ## @in6addr_linklocal_allnodes
	.comm	_in6addr_linklocal_allrouters,4,2 ## @in6addr_linklocal_allrouters
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipv6_mc_destroy_dev            ; -- Begin function ipv6_mc_destroy_dev
	.p2align	2
_ipv6_mc_destroy_dev:                   ; @ipv6_mc_destroy_dev
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_ipv6_mc_down
Lloh0:
	adrp	x1, _in6addr_linklocal_allnodes@GOTPAGE
Lloh1:
	ldr	x1, [x1, _in6addr_linklocal_allnodes@GOTPAGEOFF]
	mov	x0, x19
	bl	___ipv6_dev_mc_dec
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_3
; %bb.1:
Lloh2:
	adrp	x1, _in6addr_linklocal_allrouters@GOTPAGE
Lloh3:
	ldr	x1, [x1, _in6addr_linklocal_allrouters@GOTPAGEOFF]
	mov	x0, x19
	bl	___ipv6_dev_mc_dec
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x20]
	str	x8, [x19, #8]
	mov	x0, x19
	bl	_write_unlock_bh
	mov	x0, x20
	bl	_igmp6_group_dropped
	mov	x0, x20
	bl	_ma_put
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_write_lock_bh
	ldr	x20, [x19, #8]
	cbnz	x20, LBB0_2
; %bb.4:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_write_unlock_bh
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_in6addr_linklocal_allnodes,4,2 ; @in6addr_linklocal_allnodes
	.comm	_in6addr_linklocal_allrouters,4,2 ; @in6addr_linklocal_allrouters
.subsections_via_symbols
