	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ip6_mc_del_src
_ip6_mc_del_src:                        ## @ip6_mc_del_src
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.3:
	movq	%r8, %r13
	movl	%edx, %r15d
	movq	%rsi, %r12
	movq	%rdi, %r14
	movl	%r9d, -52(%rbp)                 ## 4-byte Spill
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	callq	_read_lock_bh
	movq	16(%r14), %rbx
	testq	%rbx, %rbx
	je	LBB0_7
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	leaq	36(%rbx), %rsi
	movq	%r12, %rdi
	callq	_ipv6_addr_equal
	testq	%rax, %rax
	jne	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	40(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_5
LBB0_7:
	movq	%r14, %rdi
	callq	_read_unlock_bh
	movq	_ESRCH@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_1:
	movq	_ENODEV@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
LBB0_26:
	movl	%r12d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	leaq	16(%rbx), %r15
	movq	%r15, %rdi
	callq	_spin_lock_bh
	movq	%rbx, %rdi
	callq	_sf_markstate
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_12
## %bb.9:
	movq	(%rbx), %rax
	movslq	-44(%rbp), %rcx                 ## 4-byte Folded Reload
	movq	(%rax,%rcx,8), %rdx
	testq	%rdx, %rdx
	je	LBB0_10
## %bb.11:
	decq	%rdx
	movq	%rdx, (%rax,%rcx,8)
LBB0_12:
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	testl	%eax, %eax
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	jle	LBB0_13
## %bb.14:
	movl	%eax, %r15d
	xorl	%r12d, %r12d
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movq	%r13, %rdx
	callq	_ip6_mc_del1_src
	xorl	%ecx, %ecx
	testl	%eax, %eax
	setg	%cl
	cmovnsl	%r12d, %eax
	orl	%ecx, %r14d
	testl	%r12d, %r12d
	cmovel	%eax, %r12d
	addq	$4, %r13
	decq	%r15
	jne	LBB0_15
	jmp	LBB0_16
LBB0_13:
	xorl	%r14d, %r14d
	xorl	%r12d, %r12d
LBB0_16:
	movq	8(%rbx), %rax
	movq	_MCAST_EXCLUDE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_22
## %bb.17:
	movq	(%rbx), %rcx
	cmpq	$0, (%rcx,%rax,8)
	je	LBB0_18
LBB0_22:
	movq	%rbx, %rdi
	callq	_sf_setstate
	testq	%rax, %rax
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	jne	LBB0_24
## %bb.23:
	testl	%r14d, %r14d
	je	LBB0_25
LBB0_24:
	movl	20(%rbx), %edi
	callq	_mld_ifc_event
LBB0_25:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_spin_unlock_bh
	movq	%r15, %rdi
	callq	_read_unlock_bh
	jmp	LBB0_26
LBB0_18:
	movq	_MCAST_INCLUDE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rcx,%rax,8)
	je	LBB0_22
## %bb.19:
	movq	%rax, 8(%rbx)
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movl	8(%r15), %eax
	movl	%eax, 32(%rbx)
	movl	%eax, 4(%r15)
	movq	24(%rbx), %rax
	.p2align	4, 0x90
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	testq	%rax, %rax
	je	LBB0_24
## %bb.20:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	$0, (%rax)
	movq	8(%rax), %rax
	jmp	LBB0_21
LBB0_10:
	movq	%r15, %rdi
	callq	_spin_unlock_bh
	movq	%r14, %rdi
	callq	_read_unlock_bh
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_ESRCH,4,2                      ## @ESRCH
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_MCAST_EXCLUDE,8,3              ## @MCAST_EXCLUDE
	.comm	_MCAST_INCLUDE,8,3              ## @MCAST_INCLUDE
	.no_dead_strip	_ip6_mc_del_src
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ip6_mc_del_src
_ip6_mc_del_src:                        ; @ip6_mc_del_src
	.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
	cbz	x0, LBB0_5
; %bb.1:
	mov	x22, x5
	mov	x23, x4
	mov	x25, x3
	mov	x24, x2
	mov	x21, x1
	mov	x19, x0
	bl	_read_lock_bh
	ldr	x20, [x19, #16]
	cbz	x20, LBB0_4
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x1, x20, #36
	mov	x0, x21
	bl	_ipv6_addr_equal
	cbnz	x0, LBB0_8
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x20, [x20, #40]
	cbnz	x20, LBB0_2
LBB0_4:
	mov	x0, x19
	bl	_read_unlock_bh
Lloh0:
	adrp	x8, _ESRCH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ESRCH@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh2:
	adrp	x8, _ENODEV@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_7:
	mov	x0, x22
	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_8:
	add	x21, x20, #16
	mov	x0, x21
	bl	_spin_lock_bh
	mov	x0, x20
	bl	_sf_markstate
	cbz	w22, LBB0_12
; %bb.9:
	cmp	w25, #1
	b.lt	LBB0_14
LBB0_10:
	mov	w22, #0
	mov	w26, #0
	mov	w25, w25
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x24
	mov	x2, x23
	bl	_ip6_mc_del1_src
	cmp	w0, #0
	cset	w8, gt
	orr	w26, w26, w8
	ccmp	w22, #0, #0, lt
	csel	w22, w0, w22, eq
	add	x23, x23, #4
	subs	x25, x25, #1
	b.ne	LBB0_11
	b	LBB0_15
LBB0_12:
	ldr	x8, [x20]
	ldr	x9, [x8, w24, sxtw #3]
	cbz	x9, LBB0_24
; %bb.13:
	sxtw	x10, w24
	sub	x9, x9, #1
	str	x9, [x8, x10, lsl #3]
	cmp	w25, #1
	b.ge	LBB0_10
LBB0_14:
	mov	w26, #0
	mov	w22, #0
LBB0_15:
	ldr	x8, [x20, #8]
Lloh4:
	adrp	x9, _MCAST_EXCLUDE@GOTPAGE
Lloh5:
	ldr	x9, [x9, _MCAST_EXCLUDE@GOTPAGEOFF]
Lloh6:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_17
; %bb.16:
	ldr	x9, [x20]
	ldr	x8, [x9, x8, lsl #3]
	cbz	x8, LBB0_19
LBB0_17:
	mov	x0, x20
	bl	_sf_setstate
	cbnz	x0, LBB0_22
; %bb.18:
	cbz	w26, LBB0_23
	b	LBB0_22
LBB0_19:
Lloh7:
	adrp	x8, _MCAST_INCLUDE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MCAST_INCLUDE@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	ldr	x9, [x9, x8, lsl #3]
	cbz	x9, LBB0_17
; %bb.20:
	str	x8, [x20, #8]
	ldr	w8, [x19, #8]
	str	w8, [x20, #32]
	str	w8, [x19, #4]
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_22
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	str	xzr, [x8]
	ldr	x8, [x8, #8]
	cbnz	x8, LBB0_21
LBB0_22:
	ldr	w0, [x20, #20]
	bl	_mld_ifc_event
LBB0_23:
	mov	x0, x21
	bl	_spin_unlock_bh
	mov	x0, x19
	bl	_read_unlock_bh
	b	LBB0_7
LBB0_24:
	mov	x0, x21
	bl	_spin_unlock_bh
	mov	x0, x19
	bl	_read_unlock_bh
Lloh10:
	adrp	x8, _EINVAL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_6
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_ESRCH,4,2                      ; @ESRCH
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_MCAST_EXCLUDE,8,3              ; @MCAST_EXCLUDE
	.comm	_MCAST_INCLUDE,8,3              ; @MCAST_INCLUDE
	.no_dead_strip	_ip6_mc_del_src
.subsections_via_symbols
