	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dump_static_rules
_dump_static_rules:                     ## @dump_static_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
	movq	%rdx, %r14
	movq	%rsi, %r13
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdx, %rdi
	movl	$24, %esi
	callq	_ipfw_get_sopt_space
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	_IPFW_TLV_RULE_LIST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 16(%rax)
	movq	16(%r13), %rcx
	addq	$24, %rcx
	movq	%rcx, 8(%rax)
	movl	12(%r13), %ecx
	movl	%ecx, (%rax)
	movslq	(%r13), %r15
	xorl	%eax, %eax
	cmpl	4(%r13), %r15d
	jge	LBB0_6
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	(%rax,%r15,8), %rbx
	movq	%rbx, %rdi
	callq	_RULEUSIZE1
                                        ## kill: def $eax killed $eax def $rax
	xorl	%ecx, %ecx
	cmpl	$0, 8(%r13)
	setne	%cl
	leal	(%rax,%rcx,4), %r12d
	addl	$4, %r12d
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_ipfw_get_sopt_space
	testq	%rax, %rax
	je	LBB0_1
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	8(%r13), %ecx
	movq	%rbx, %rdi
	movq	%rax, %rsi
	movl	%r12d, %edx
	callq	_export_rule1
	incq	%r15
	movslq	4(%r13), %rax
	cmpq	%rax, %r15
	jl	LBB0_3
## %bb.5:
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_IPFW_TLV_RULE_LIST,4,2         ## @IPFW_TLV_RULE_LIST
	.no_dead_strip	_dump_static_rules
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dump_static_rules
_dump_static_rules:                     ; @dump_static_rules
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	mov	x0, x2
	mov	w1, #24
	bl	_ipfw_get_sopt_space
	cbz	x0, LBB0_6
; %bb.1:
Lloh0:
	adrp	x8, _IPFW_TLV_RULE_LIST@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IPFW_TLV_RULE_LIST@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x0, #16]
	ldr	x8, [x20, #16]
	add	x8, x8, #24
	str	x8, [x0, #8]
	ldr	w8, [x20, #12]
	str	w8, [x0]
	ldp	w24, w8, [x20]
                                        ; kill: def $w24 killed $w24 def $x24
	sxtw	x24, w24
	cmp	w24, w8
	b.ge	LBB0_5
; %bb.2:
	mov	w25, #8
	mov	w26, #4
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	ldr	x22, [x8, x24, lsl #3]
	mov	x0, x22
	bl	_RULEUSIZE1
	ldr	w8, [x20, #8]
	cmp	w8, #0
	csel	w8, w26, w25, eq
	add	w23, w8, w0
	mov	x0, x19
	mov	x1, x23
	bl	_ipfw_get_sopt_space
	cbz	x0, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x1, x0
	ldr	w3, [x20, #8]
	mov	x0, x22
	mov	x2, x23
	bl	_export_rule1
	add	x24, x24, #1
	ldrsw	x8, [x20, #4]
	cmp	x24, x8
	b.lt	LBB0_3
LBB0_5:
	mov	w0, #0
	b	LBB0_7
LBB0_6:
Lloh3:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
LBB0_7:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_IPFW_TLV_RULE_LIST,4,2         ; @IPFW_TLV_RULE_LIST
	.no_dead_strip	_dump_static_rules
.subsections_via_symbols
