	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipfw_del_eaction               ## -- Begin function ipfw_del_eaction
	.p2align	4, 0x90
_ipfw_del_eaction:                      ## @ipfw_del_eaction
	.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
	movl	%esi, %r14d
	movq	%rdi, %r15
	callq	_IPFW_UH_WLOCK
	movq	%r15, %rdi
	callq	_CHAIN_TO_SRV
	movl	%eax, %edi
	movl	%r14d, %esi
	callq	_ipfw_objhash_lookup_kidx
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rax, %rbx
	movq	(%rax), %rax
	movq	_IPFW_TLV_EACTION@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.3:
	xorl	%ecx, %ecx
	cmpl	$2, 8(%rbx)
	setge	%cl
	xorl	%r12d, %r12d
	movq	%r15, %rdi
	movl	%r14d, %esi
	xorl	%edx, %edx
	callq	_reset_eaction_rules
	movl	12(%rbx), %esi
	leaq	L_.str(%rip), %rdi
	movl	%r14d, %edx
	callq	_EACTION_DEBUG
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_destroy_eaction_obj
	movq	%r15, %rdi
	callq	_IPFW_UH_WUNLOCK
	jmp	LBB0_4
LBB0_2:
	movq	%r15, %rdi
	callq	_IPFW_UH_WUNLOCK
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
LBB0_4:
	movl	%r12d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IPFW_TLV_EACTION,8,3           ## @IPFW_TLV_EACTION
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"External action '%s' with id %u unregistered"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipfw_del_eaction               ; -- Begin function ipfw_del_eaction
	.p2align	2
_ipfw_del_eaction:                      ; @ipfw_del_eaction
	.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
	bl	_IPFW_UH_WLOCK
	mov	x0, x19
	bl	_CHAIN_TO_SRV
	mov	x1, x20
	bl	_ipfw_objhash_lookup_kidx
	cbz	x0, LBB0_3
; %bb.1:
	mov	x21, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _IPFW_TLV_EACTION@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IPFW_TLV_EACTION@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
	ldr	w8, [x21, #8]
	cmp	w8, #1
	cset	w3, gt
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	bl	_reset_eaction_rules
	ldr	w1, [x21, #12]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x20
	bl	_EACTION_DEBUG
	mov	x0, x19
	mov	x1, x21
	bl	_destroy_eaction_obj
	mov	x0, x19
	bl	_IPFW_UH_WUNLOCK
	mov	w0, #0
	b	LBB0_4
LBB0_3:
	mov	x0, x19
	bl	_IPFW_UH_WUNLOCK
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
LBB0_4:
	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 AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_IPFW_TLV_EACTION,8,3           ; @IPFW_TLV_EACTION
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"External action '%s' with id %u unregistered"

.subsections_via_symbols
