	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mld_add_delrec
_mld_add_delrec:                        ## @mld_add_delrec
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$48, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	%rax, %rbx
	leaq	16(%r12), %r15
	movq	%r15, %rdi
	callq	_spin_lock_bh
	movq	%rbx, %rdi
	addq	$16, %rdi
	callq	_spin_lock_init
	movl	40(%r12), %eax
	movl	%eax, 40(%rbx)
	movq	%r14, %rdi
	callq	_in6_dev_hold
	movl	36(%r12), %eax
	movl	%eax, 36(%rbx)
	movl	16(%r14), %eax
	movl	%eax, 20(%rbx)
	movq	(%r12), %rcx
	movq	%rcx, (%rbx)
	movq	_MCAST_INCLUDE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_5
## %bb.2:
	movl	32(%r12), %ecx
	movl	%ecx, 32(%rbx)
	movq	24(%r12), %rcx
	movq	%rcx, 24(%rbx)
	movq	$0, 24(%r12)
	movl	$0, 32(%r12)
	movq	24(%rbx), %rcx
	testq	%rcx, %rcx
	je	LBB0_5
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%eax, (%rcx)
	movq	8(%rcx), %rcx
	testq	%rcx, %rcx
	jne	LBB0_3
LBB0_5:
	movq	%r15, %rdi
	callq	_spin_unlock_bh
	movq	%r14, %rdi
	callq	_write_lock_bh
	movq	8(%r14), %rax
	movq	%rax, 8(%rbx)
	movq	%rbx, 8(%r14)
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_write_unlock_bh                ## TAILCALL
LBB0_6:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_MCAST_INCLUDE,8,3              ## @MCAST_INCLUDE
	.no_dead_strip	_mld_add_delrec
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mld_add_delrec
_mld_add_delrec:                        ; @mld_add_delrec
	.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
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #48
	bl	_kzalloc
	cbz	x0, LBB0_5
; %bb.1:
	mov	x20, x0
	add	x21, x22, #16
	mov	x0, x21
	bl	_spin_lock_bh
	add	x0, x20, #16
	bl	_spin_lock_init
	ldr	w8, [x22, #40]
	str	w8, [x20, #40]
	mov	x0, x19
	bl	_in6_dev_hold
	ldr	w8, [x22, #36]
	str	w8, [x20, #36]
	ldr	w8, [x19, #16]
	str	w8, [x20, #20]
	ldr	x9, [x22]
	str	x9, [x20]
Lloh3:
	adrp	x10, _MCAST_INCLUDE@GOTPAGE
Lloh4:
	ldr	x10, [x10, _MCAST_INCLUDE@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_4
; %bb.2:
	ldr	w9, [x22, #32]
	str	w9, [x20, #32]
	ldr	x9, [x22, #24]
	str	x9, [x20, #24]
	str	xzr, [x22, #24]
	str	wzr, [x22, #32]
	ldr	x9, [x20, #24]
	cbz	x9, LBB0_4
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	str	w8, [x9]
	ldr	x9, [x9, #8]
	cbnz	x9, LBB0_3
LBB0_4:
	mov	x0, x21
	bl	_spin_unlock_bh
	mov	x0, x19
	bl	_write_lock_bh
	ldr	x8, [x19, #8]
	str	x8, [x20, #8]
	str	x20, [x19, #8]
	mov	x0, x19
	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
	b	_write_unlock_bh
LBB0_5:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_MCAST_INCLUDE,8,3              ; @MCAST_INCLUDE
	.no_dead_strip	_mld_add_delrec
.subsections_via_symbols
