	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ip_mc_del_src
_ip_mc_del_src:                         ## @ip_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	$24, %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, %r15
	movl	%edx, %r12d
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	%r9d, -48(%rbp)                 ## 4-byte Spill
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	leaq	16(%rdi), %r13
	movq	%r13, %rdi
	callq	_read_lock
	movq	24(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_7
## %bb.4:
	movq	(%r14), %rax
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	(%rbx), %rax
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	48(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_5
LBB0_7:
	movq	%r13, %rdi
	callq	_read_unlock
	movq	_ESRCH@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_1:
	movq	_ENODEV@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
LBB0_21:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	leaq	24(%rbx), %r14
	movq	%r14, %rdi
	callq	_spin_lock_bh
	movq	%r13, %rdi
	callq	_read_unlock
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_12
## %bb.9:
	movq	8(%rbx), %rax
	movslq	%r12d, %rcx
	movq	(%rax,%rcx,8), %rdx
	testq	%rdx, %rdx
	je	LBB0_10
## %bb.11:
	decq	%rdx
	movq	%rdx, (%rax,%rcx,8)
LBB0_12:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	testl	%eax, %eax
	jle	LBB0_13
## %bb.14:
	movl	%eax, %r14d
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movq	%r15, %rdx
	callq	_ip_mc_del1_src
	testl	%eax, %eax
	cmovnsl	%r13d, %eax
	testl	%r13d, %r13d
	cmovel	%eax, %r13d
	addq	$8, %r15
	decq	%r14
	jne	LBB0_15
	jmp	LBB0_16
LBB0_13:
	xorl	%r13d, %r13d
LBB0_16:
	movq	16(%rbx), %rax
	movq	_MCAST_EXCLUDE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	jne	LBB0_20
## %bb.17:
	movq	8(%rbx), %rcx
	cmpq	$0, (%rcx,%rax,8)
	jne	LBB0_20
## %bb.18:
	movq	_MCAST_INCLUDE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rcx,%rax,8)
	je	LBB0_20
## %bb.19:
	movq	%rax, 16(%rbx)
	jmp	LBB0_20
LBB0_10:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
LBB0_20:
	movq	%r14, %rdi
	callq	_spin_unlock_bh
	jmp	LBB0_21
	.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
	.comm	_IGMP_Unsolicited_Report_Count,8,3 ## @IGMP_Unsolicited_Report_Count
	.no_dead_strip	_ip_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 ip_mc_del_src
_ip_mc_del_src:                         ; @ip_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_6
; %bb.1:
	mov	x23, x5
	mov	x21, x4
	mov	x24, x3
	mov	x22, x2
	mov	x19, x1
	mov	x20, x0
	add	x25, x0, #16
	mov	x0, x25
	bl	_read_lock
	ldr	x20, [x20, #24]
	cbz	x20, LBB0_5
; %bb.2:
	ldr	x8, [x19]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x20]
	cmp	x8, x9
	b.eq	LBB0_9
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x20, [x20, #48]
	cbnz	x20, LBB0_3
LBB0_5:
	mov	x0, x25
	bl	_read_unlock
Lloh0:
	adrp	x8, _ESRCH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ESRCH@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh2:
	adrp	x8, _ENODEV@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	neg	w23, w8
LBB0_8:
	mov	x0, x23
	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_9:
	add	x19, x20, #24
	mov	x0, x19
	bl	_spin_lock_bh
	mov	x0, x25
	bl	_read_unlock
	cbz	w23, LBB0_13
; %bb.10:
	cmp	w24, #1
	b.lt	LBB0_15
LBB0_11:
	mov	w23, #0
	mov	w24, w24
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x22
	mov	x2, x21
	bl	_ip_mc_del1_src
	cmp	w0, #0
	ccmp	w23, #0, #0, lt
	csel	w23, w0, w23, eq
	add	x21, x21, #8
	subs	x24, x24, #1
	b.ne	LBB0_12
	b	LBB0_16
LBB0_13:
	ldr	x8, [x20, #8]
	ldr	x9, [x8, w22, sxtw #3]
	cbz	x9, LBB0_20
; %bb.14:
	sxtw	x10, w22
	sub	x9, x9, #1
	str	x9, [x8, x10, lsl #3]
	cmp	w24, #1
	b.ge	LBB0_11
LBB0_15:
	mov	w23, #0
LBB0_16:
	ldr	x8, [x20, #16]
Lloh4:
	adrp	x9, _MCAST_EXCLUDE@GOTPAGE
Lloh5:
	ldr	x9, [x9, _MCAST_EXCLUDE@GOTPAGEOFF]
Lloh6:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_21
; %bb.17:
	ldr	x9, [x20, #8]
	ldr	x8, [x9, x8, lsl #3]
	cbnz	x8, LBB0_21
; %bb.18:
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_21
; %bb.19:
	str	x8, [x20, #16]
	b	LBB0_21
LBB0_20:
Lloh10:
	adrp	x8, _EINVAL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w23, w8
LBB0_21:
	mov	x0, x19
	bl	_spin_unlock_bh
	b	LBB0_8
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.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
	.comm	_IGMP_Unsolicited_Report_Count,8,3 ; @IGMP_Unsolicited_Report_Count
	.no_dead_strip	_ip_mc_del_src
.subsections_via_symbols
