	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function reset_eaction_rules
_reset_eaction_rules:                   ## @reset_eaction_rules
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %ebx
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %r13
	callq	_IPFW_UH_WLOCK_ASSERT
	movq	%r13, %rdi
	callq	_CHAIN_TO_SRV
	movq	_IPFW_TLV_EACTION@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_default_eaction_typename@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_ipfw_objhash_lookup_name_type
	movq	%rax, %r12
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_panic
LBB0_2:
	movq	(%r12), %rdx
	cmpq	%r15, %rdx
	jne	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rdi
	callq	_panic
	movq	(%r12), %rdx
LBB0_4:
	leaq	L_.str.2(%rip), %rdi
	movq	%r15, %rsi
	callq	_EACTION_DEBUG
	movq	%r13, %rdi
	callq	_IPFW_WLOCK
	testl	%ebx, %ebx
	je	LBB0_10
## %bb.5:
	cmpl	$0, (%r13)
	jle	LBB0_10
## %bb.6:
	xorl	%ebx, %ebx
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	incq	%rbx
	movslq	(%r13), %rax
	cmpq	%rax, %rbx
	jge	LBB0_10
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r13), %rax
	movl	(%rax,%rbx,4), %esi
	movq	(%r12), %rcx
	movq	%r13, %rdi
	movq	%r15, %rdx
	movq	%r14, %r8
	callq	_ipfw_reset_eaction
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	incl	8(%r12)
	jmp	LBB0_9
LBB0_10:
	movq	(%r12), %rdx
	movq	%r13, %rdi
	movq	%r15, %rsi
	movq	%r14, %rcx
	callq	_ipfw_dyn_reset_eaction
	movq	%r13, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_IPFW_WUNLOCK                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IPFW_TLV_EACTION,4,2           ## @IPFW_TLV_EACTION
	.comm	_default_eaction_typename,4,2   ## @default_eaction_typename
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Default external action handler is not found"

L_.str.1:                               ## @.str.1
	.asciz	"Wrong eaction_id"

L_.str.2:                               ## @.str.2
	.asciz	"Going to replace id %u with %u"

	.no_dead_strip	_reset_eaction_rules
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function reset_eaction_rules
_reset_eaction_rules:                   ; @reset_eaction_rules
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x23, x3
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	bl	_IPFW_UH_WLOCK_ASSERT
	mov	x0, x19
	bl	_CHAIN_TO_SRV
Lloh0:
	adrp	x8, _IPFW_TLV_EACTION@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IPFW_TLV_EACTION@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x8, _default_eaction_typename@GOTPAGE
Lloh4:
	ldr	x8, [x8, _default_eaction_typename@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	mov	w1, #0
	bl	_ipfw_objhash_lookup_name_type
	mov	x22, x0
	cbnz	x0, LBB0_2
; %bb.1:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_panic
LBB0_2:
	ldr	x2, [x22]
	cmp	x2, x21
	b.ne	LBB0_4
; %bb.3:
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_panic
	ldr	x2, [x22]
LBB0_4:
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x21
	bl	_EACTION_DEBUG
	mov	x0, x19
	bl	_IPFW_WLOCK
	cbz	w23, LBB0_10
; %bb.5:
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.6:
	mov	x23, #0
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x23, x23, #1
	ldrsw	x8, [x19]
	cmp	x23, x8
	b.ge	LBB0_10
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	ldr	w1, [x8, x23, lsl #2]
	ldr	x3, [x22]
	mov	x0, x19
	mov	x2, x21
	mov	x4, x20
	bl	_ipfw_reset_eaction
	cbz	x0, LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w8, [x22, #8]
	add	w8, w8, #1
	str	w8, [x22, #8]
	b	LBB0_7
LBB0_10:
	ldr	x2, [x22]
	mov	x0, x19
	mov	x1, x21
	mov	x3, x20
	bl	_ipfw_dyn_reset_eaction
	mov	x0, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_IPFW_WUNLOCK
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_IPFW_TLV_EACTION,4,2           ; @IPFW_TLV_EACTION
	.comm	_default_eaction_typename,4,2   ; @default_eaction_typename
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Default external action handler is not found"

l_.str.1:                               ; @.str.1
	.asciz	"Wrong eaction_id"

l_.str.2:                               ; @.str.2
	.asciz	"Going to replace id %u with %u"

	.no_dead_strip	_reset_eaction_rules
.subsections_via_symbols
