	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eg_cache_remove_entry
_eg_cache_remove_entry:                 ## @eg_cache_remove_entry
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	16(%rdi), %r14
	leaq	L_.str(%rip), %rdi
	callq	_dprintk
	movq	(%rbx), %rax
	movq	8(%rbx), %rcx
	leaq	8(%r15), %r12
	testq	%rax, %rax
	movq	%rax, %rdx
	cmoveq	%r12, %rdx
	movq	%rcx, (%rdx)
	testq	%rcx, %rcx
	je	LBB0_2
## %bb.1:
	movq	%rax, (%rcx)
LBB0_2:
	movq	24(%r15), %rax
	movq	%rbx, %rdi
	callq	*(%rax)
	cmpq	$0, 16(%r15)
	jne	LBB0_5
## %bb.3:
	cmpq	$0, (%r12)
	jne	LBB0_5
## %bb.4:
	movq	_STOP_KEEP_ALIVE_SM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -40(%rbp)
	leaq	-40(%rbp), %rdi
	movq	%r15, %rsi
	callq	_msg_to_mpoad
LBB0_5:
	testq	%r14, %r14
	je	LBB0_9
## %bb.6:
	movq	(%r15), %rax
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	*8(%rax)
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	(%r15), %rcx
	movq	%rax, %rdi
	callq	*(%rcx)
	jmp	LBB0_9
LBB0_8:
	movq	_EPIPE@GOTPCREL(%rip), %rax
	xorl	%esi, %esi
	subl	(%rax), %esi
	movq	%r14, %rdi
	callq	_vcc_release_async
LBB0_9:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mpoa: mpoa_caches.c: removing an egress entry.\n"

	.comm	_STOP_KEEP_ALIVE_SM,4,2         ## @STOP_KEEP_ALIVE_SM
	.comm	_EPIPE,4,2                      ## @EPIPE
	.no_dead_strip	_eg_cache_remove_entry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eg_cache_remove_entry
_eg_cache_remove_entry:                 ; @eg_cache_remove_entry
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x21, x0
	ldr	x19, [x0, #16]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_dprintk
	ldp	x8, x9, [x21]
	add	x22, x20, #8
	cmp	x8, #0
	csel	x10, x22, x8, eq
	str	x9, [x10]
	cbz	x9, LBB0_2
; %bb.1:
	str	x8, [x9]
LBB0_2:
	ldr	x8, [x20, #24]
	ldr	x8, [x8]
	mov	x0, x21
	blr	x8
	ldr	x8, [x20, #16]
	cbnz	x8, LBB0_5
; %bb.3:
	ldr	x8, [x22]
	cbnz	x8, LBB0_5
; %bb.4:
Lloh2:
	adrp	x8, _STOP_KEEP_ALIVE_SM@GOTPAGE
Lloh3:
	ldr	x8, [x8, _STOP_KEEP_ALIVE_SM@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [sp, #8]
	add	x0, sp, #8
	mov	x1, x20
	bl	_msg_to_mpoad
LBB0_5:
	cbz	x19, LBB0_9
; %bb.6:
	ldr	x8, [x20]
	ldr	x8, [x8, #8]
	mov	x0, x19
	mov	x1, x20
	blr	x8
	cbz	x0, LBB0_8
; %bb.7:
	ldr	x8, [x20]
	ldr	x8, [x8]
	blr	x8
	b	LBB0_9
LBB0_8:
Lloh5:
	adrp	x8, _EPIPE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EPIPE@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w1, w8
	mov	x0, x19
	bl	_vcc_release_async
LBB0_9:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mpoa: mpoa_caches.c: removing an egress entry.\n"

	.comm	_STOP_KEEP_ALIVE_SM,4,2         ; @STOP_KEEP_ALIVE_SM
	.comm	_EPIPE,4,2                      ; @EPIPE
	.no_dead_strip	_eg_cache_remove_entry
.subsections_via_symbols
