	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mld_send_cr
_mld_send_cr:                           ## @mld_send_cr
	.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
	movq	%rdi, %rbx
	callq	_read_lock_bh
	leaq	16(%rbx), %rdi
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	callq	_write_lock_bh
	movq	24(%rbx), %r15
	testq	%r15, %r15
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_17
## %bb.1:
	leaq	24(%rbx), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	movq	_MCAST_INCLUDE@GOTPCREL(%rip), %r13
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rbx
	movq	(%r15), %rax
	movq	32(%r15), %r15
	cmpq	(%r13), %rax
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rdi
	movq	%r15, %r12
	movq	%r14, %r15
	movq	%r13, %r14
	movq	_MLD2_BLOCK_OLD_SOURCES@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	%rbx, %rsi
	movl	%r13d, %edx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	callq	_add_grec
	movq	%rax, %rdi
	movq	%rbx, %rsi
	movl	%r13d, %edx
	movq	%r14, %r13
	movq	%r15, %r14
	movq	%r12, %r15
	movl	$1, %ecx
	movl	$1, %r8d
	callq	_add_grec
	movq	%rax, %r12
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_12
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%rbx), %rcx
	movq	_MCAST_EXCLUDE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_MLD2_CHANGE_TO_INCLUDE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	$1, %ecx
	xorl	%r8d, %r8d
	callq	_add_grec
	movq	%rax, %r12
	movq	8(%rbx), %rax
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	decq	%rax
	movq	%rax, 8(%rbx)
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	testq	%rax, %rax
	jne	LBB0_2
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	leaq	48(%rbx), %rdi
	callq	_mld_clear_zeros
	leaq	44(%rbx), %rdi
	callq	_mld_clear_zeros
	movq	8(%rbx), %rax
	testq	%rax, %rax
	jne	LBB0_2
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$0, 48(%rbx)
	jne	LBB0_2
## %bb.14:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$0, 44(%rbx)
	je	LBB0_16
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %r14
	testq	%r15, %r15
	jne	LBB0_4
	jmp	LBB0_18
LBB0_16:                                ##   in Loop: Header=BB0_4 Depth=1
	leaq	32(%r14), %rax
	testq	%r14, %r14
	cmoveq	-64(%rbp), %rax                 ## 8-byte Folded Reload
	movq	%r15, (%rax)
	movl	40(%rbx), %edi
	callq	_in6_dev_put
	movq	%rbx, %rdi
	callq	_kfree
	testq	%r15, %r15
	jne	LBB0_4
	jmp	LBB0_18
LBB0_17:
	xorl	%r12d, %r12d
LBB0_18:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_write_unlock_bh
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_28
## %bb.19:
	movq	_MCAST_EXCLUDE@GOTPCREL(%rip), %r14
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_22 Depth=1
	movl	(%rax), %edx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_add_grec
	movq	%rax, %r12
	decq	8(%rbx)
LBB0_21:                                ##   in Loop: Header=BB0_22 Depth=1
	movq	%r15, %rdi
	callq	_spin_unlock_bh
	movq	32(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_28
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	leaq	16(%rbx), %r15
	movq	%r15, %rdi
	callq	_spin_lock_bh
	movq	24(%rbx), %rax
	movq	(%r14), %rcx
	cmpq	$0, (%rax,%rcx,8)
	movq	_MLD2_BLOCK_OLD_SOURCES@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_MLD2_ALLOW_NEW_SOURCES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	je	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_22 Depth=1
	movl	%eax, %r13d
	jmp	LBB0_25
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_22 Depth=1
	movl	%edx, %r13d
	movl	%eax, %edx
LBB0_25:                                ##   in Loop: Header=BB0_22 Depth=1
	movq	%r12, %rdi
	movq	%rbx, %rsi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_add_grec
	movq	%rax, %rdi
	movq	%rbx, %rsi
	movl	%r13d, %edx
	xorl	%ecx, %ecx
	movl	$1, %r8d
	callq	_add_grec
	movq	%rax, %r12
	cmpq	$0, 8(%rbx)
	je	LBB0_21
## %bb.26:                              ##   in Loop: Header=BB0_22 Depth=1
	movq	(%rbx), %rcx
	movq	_MLD2_CHANGE_TO_INCLUDE@GOTPCREL(%rip), %rax
	cmpq	(%r14), %rcx
	jne	LBB0_20
## %bb.27:                              ##   in Loop: Header=BB0_22 Depth=1
	movq	_MLD2_CHANGE_TO_EXCLUDE@GOTPCREL(%rip), %rax
	jmp	LBB0_20
LBB0_28:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_read_unlock_bh
	testq	%r12, %r12
	je	LBB0_30
## %bb.29:
	movq	%r12, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mld_sendpack                   ## TAILCALL
LBB0_30:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MCAST_INCLUDE,8,3              ## @MCAST_INCLUDE
	.comm	_MLD2_BLOCK_OLD_SOURCES,4,2     ## @MLD2_BLOCK_OLD_SOURCES
	.comm	_MCAST_EXCLUDE,8,3              ## @MCAST_EXCLUDE
	.comm	_MLD2_CHANGE_TO_INCLUDE,4,2     ## @MLD2_CHANGE_TO_INCLUDE
	.comm	_MLD2_ALLOW_NEW_SOURCES,4,2     ## @MLD2_ALLOW_NEW_SOURCES
	.comm	_MLD2_CHANGE_TO_EXCLUDE,4,2     ## @MLD2_CHANGE_TO_EXCLUDE
	.no_dead_strip	_mld_send_cr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mld_send_cr
_mld_send_cr:                           ; @mld_send_cr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x27, x0
	bl	_read_lock_bh
	add	x0, x27, #16
	str	x0, [sp]                        ; 8-byte Folded Spill
	bl	_write_lock_bh
	str	x27, [sp, #8]                   ; 8-byte Folded Spill
	ldr	x28, [x27, #24]!
Lloh0:
	adrp	x24, _MCAST_EXCLUDE@GOTPAGE
Lloh1:
	ldr	x24, [x24, _MCAST_EXCLUDE@GOTPAGEOFF]
Lloh2:
	adrp	x25, _MLD2_BLOCK_OLD_SOURCES@GOTPAGE
Lloh3:
	ldr	x25, [x25, _MLD2_BLOCK_OLD_SOURCES@GOTPAGEOFF]
Lloh4:
	adrp	x26, _MLD2_CHANGE_TO_INCLUDE@GOTPAGE
Lloh5:
	ldr	x26, [x26, _MLD2_CHANGE_TO_INCLUDE@GOTPAGEOFF]
	mov	x20, #0
	cbz	x28, LBB0_14
; %bb.1:
	mov	x19, #0
Lloh6:
	adrp	x21, _MCAST_INCLUDE@GOTPAGE
Lloh7:
	ldr	x21, [x21, _MCAST_INCLUDE@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x22, x28
	ldr	x28, [x28, #32]
	ldr	x8, [x22]
	ldr	x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w23, [x25]
	mov	x0, x20
	mov	x1, x22
	mov	x2, x23
	mov	w3, #1
	mov	w4, #0
	bl	_add_grec
	mov	x1, x22
	mov	x2, x23
	mov	w3, #1
	mov	w4, #1
	bl	_add_grec
	mov	x20, x0
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x22, #8]
	cbz	x8, LBB0_10
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x9, [x22]
	ldr	x10, [x24]
	cmp	x9, x10
	b.ne	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w2, [x26]
	mov	x0, x20
	mov	x1, x22
	mov	w3, #1
	mov	w4, #0
	bl	_add_grec
	mov	x20, x0
	ldr	x8, [x22, #8]
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	subs	x8, x8, #1
	str	x8, [x22, #8]
	b.eq	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	cbnz	x8, LBB0_12
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	x0, x22, #48
	bl	_mld_clear_zeros
	add	x0, x22, #44
	bl	_mld_clear_zeros
	ldr	x8, [x22, #8]
	cbnz	x8, LBB0_12
LBB0_10:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x22, #48]
	cbnz	w8, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x22, #44]
	cbz	w8, LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x19, x22
	cbnz	x28, LBB0_2
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x8, x19, #32
	cmp	x19, #0
	csel	x8, x27, x8, eq
	str	x28, [x8]
	ldr	w0, [x22, #40]
	bl	_in6_dev_put
	mov	x0, x22
	bl	_kfree
	cbnz	x28, LBB0_2
LBB0_14:
	ldr	x0, [sp]                        ; 8-byte Folded Reload
	bl	_write_unlock_bh
	ldr	x28, [sp, #8]                   ; 8-byte Folded Reload
	ldr	x21, [x28, #8]
	cbz	x21, LBB0_19
; %bb.15:
Lloh8:
	adrp	x19, _MLD2_ALLOW_NEW_SOURCES@GOTPAGE
Lloh9:
	ldr	x19, [x19, _MLD2_ALLOW_NEW_SOURCES@GOTPAGEOFF]
Lloh10:
	adrp	x27, _MLD2_CHANGE_TO_EXCLUDE@GOTPAGE
Lloh11:
	ldr	x27, [x27, _MLD2_CHANGE_TO_EXCLUDE@GOTPAGEOFF]
	b	LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=1
	mov	x0, x22
	bl	_spin_unlock_bh
	ldr	x21, [x21, #32]
	cbz	x21, LBB0_19
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	add	x22, x21, #16
	mov	x0, x22
	bl	_spin_lock_bh
	ldr	x8, [x21, #24]
	ldr	x9, [x24]
	ldr	x8, [x8, x9, lsl #3]
	ldr	w9, [x25]
	ldr	w10, [x19]
	cmp	x8, #0
	csel	w23, w9, w10, eq
	csel	w2, w10, w9, eq
	mov	x0, x20
	mov	x1, x21
	mov	w3, #0
	mov	w4, #0
	bl	_add_grec
	mov	x1, x21
	mov	x2, x23
	mov	w3, #0
	mov	w4, #1
	bl	_add_grec
	mov	x20, x0
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_16
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	ldr	x8, [x21]
	ldr	x9, [x24]
	cmp	x8, x9
	csel	x8, x27, x26, eq
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x21
	mov	w3, #0
	mov	w4, #0
	bl	_add_grec
	mov	x20, x0
	ldr	x8, [x21, #8]
	sub	x8, x8, #1
	str	x8, [x21, #8]
	b	LBB0_16
LBB0_19:
	mov	x0, x28
	bl	_read_unlock_bh
	cbz	x20, LBB0_21
; %bb.20:
	mov	x0, x20
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_mld_sendpack
LBB0_21:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_MCAST_INCLUDE,8,3              ; @MCAST_INCLUDE
	.comm	_MLD2_BLOCK_OLD_SOURCES,4,2     ; @MLD2_BLOCK_OLD_SOURCES
	.comm	_MCAST_EXCLUDE,8,3              ; @MCAST_EXCLUDE
	.comm	_MLD2_CHANGE_TO_INCLUDE,4,2     ; @MLD2_CHANGE_TO_INCLUDE
	.comm	_MLD2_ALLOW_NEW_SOURCES,4,2     ; @MLD2_ALLOW_NEW_SOURCES
	.comm	_MLD2_CHANGE_TO_EXCLUDE,4,2     ; @MLD2_CHANGE_TO_EXCLUDE
	.no_dead_strip	_mld_send_cr
.subsections_via_symbols
