	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ip6mr_mfc_delete
_ip6mr_mfc_delete:                      ## @ip6mr_mfc_delete
	.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, %r14
	movq	%rdi, %rbx
	leaq	4(%rsi), %r15
	movq	%rsi, %rdi
	movq	%r15, %rsi
	callq	_MFC6_HASH
	movq	(%rbx), %rcx
	cltq
	movq	(%rcx,%rax,8), %rbx
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.1:
	leaq	(%rcx,%rax,8), %r12
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %r12
	movq	(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	leaq	12(%rbx), %rdi
	movq	%r15, %rsi
	callq	_ipv6_addr_equal
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	8(%rbx), %rdi
	movq	%r14, %rsi
	callq	_ipv6_addr_equal
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_mrt_lock@GOTPCREL(%rip), %r14
	movq	%r14, %rdi
	callq	_write_lock_bh
	movq	(%rbx), %rax
	movq	%rax, (%r12)
	movq	%r14, %rdi
	callq	_write_unlock_bh
	movq	%rbx, %rdi
	callq	_ip6mr_cache_free
	xorl	%eax, %eax
	jmp	LBB0_7
LBB0_6:
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_7:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_mrt_lock,4,2                   ## @mrt_lock
	.comm	_ENOENT,4,2                     ## @ENOENT
	.no_dead_strip	_ip6mr_mfc_delete
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ip6mr_mfc_delete
_ip6mr_mfc_delete:                      ; @ip6mr_mfc_delete
	.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	x20, x1
	mov	x19, x0
	add	x21, x1, #4
	mov	x0, x1
	mov	x1, x21
	bl	_MFC6_HASH
	ldr	x8, [x19]
	add	x22, x8, w0, sxtw #3
	ldr	x19, [x22]
	cbnz	x19, LBB0_3
LBB0_1:
Lloh0:
	adrp	x8, _ENOENT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_6
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x22, x19
	ldr	x19, [x19]
	cbz	x19, LBB0_1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, x19, #12
	mov	x1, x21
	bl	_ipv6_addr_equal
	cbz	x0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x0, x19, #8
	mov	x1, x20
	bl	_ipv6_addr_equal
	cbz	x0, LBB0_2
; %bb.5:
Lloh3:
	adrp	x20, _mrt_lock@GOTPAGE
Lloh4:
	ldr	x20, [x20, _mrt_lock@GOTPAGEOFF]
	mov	x0, x20
	bl	_write_lock_bh
	ldr	x8, [x19]
	str	x8, [x22]
	mov	x0, x20
	bl	_write_unlock_bh
	mov	x0, x19
	bl	_ip6mr_cache_free
	mov	w0, #0
LBB0_6:
	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 AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_mrt_lock,4,2                   ; @mrt_lock
	.comm	_ENOENT,4,2                     ; @ENOENT
	.no_dead_strip	_ip6mr_mfc_delete
.subsections_via_symbols
