	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipfw_dump_table_legacy         ## -- Begin function ipfw_dump_table_legacy
	.p2align	4, 0x90
_ipfw_dump_table_legacy:                ## @ipfw_dump_table_legacy
	.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
	subq	$40, %rsp
	.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, %rbx
	movq	%rdi, %r15
	movl	$0, (%rdx)
	callq	_CHAIN_TO_NI
	movl	%eax, %edi
	movq	%rbx, %rsi
	callq	_find_table
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rax, %rbx
	movq	8(%rax), %rax
	movq	_IPFW_TABLE_ADDR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.2:
	movq	24(%rbx), %r13
	leaq	-80(%rbp), %r12
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$40, %edx
	callq	_memset
	movq	%r15, -48(%rbp)
	movl	16(%rbx), %esi
	movq	%r15, %rdi
	callq	_KIDX_TO_TI
	movl	%eax, -76(%rbp)
	movq	%rbx, -56(%rbp)
	movq	8(%r14), %rcx
	movq	%rcx, -64(%rbp)
	movl	4(%r14), %ecx
	movl	%ecx, -72(%rbp)
	movl	$0, (%r14)
	movl	(%rbx), %edi
	movq	_dump_table_entry@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %esi
	movq	%r12, %rcx
	callq	*(%r13)
	movl	-80(%rbp), %eax
	movl	%eax, (%r14)
LBB0_3:
	xorl	%eax, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IPFW_TABLE_ADDR,8,3            ## @IPFW_TABLE_ADDR
	.comm	_dump_table_entry,4,2           ## @dump_table_entry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipfw_dump_table_legacy         ; -- Begin function ipfw_dump_table_legacy
	.p2align	2
_ipfw_dump_table_legacy:                ; @ipfw_dump_table_legacy
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x19, x2
	mov	x20, x1
	mov	x21, x0
	str	wzr, [x2]
	bl	_CHAIN_TO_NI
	mov	x1, x20
	bl	_find_table
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
	ldr	x8, [x0, #8]
Lloh0:
	adrp	x9, _IPFW_TABLE_ADDR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IPFW_TABLE_ADDR@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
	ldr	x22, [x20, #24]
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #40
	bl	_memset
	str	x21, [sp, #40]
	ldr	w1, [x20, #16]
	mov	x0, x21
	bl	_KIDX_TO_TI
	mov	x1, x0
	ldr	x8, [x19, #8]
	stp	x8, x20, [sp, #24]
	ldr	w8, [x19, #4]
	stp	w0, w8, [sp, #12]
	str	wzr, [x19]
	ldr	x8, [x22]
	ldr	w0, [x20]
Lloh3:
	adrp	x9, _dump_table_entry@GOTPAGE
Lloh4:
	ldr	x9, [x9, _dump_table_entry@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x9]
	add	x3, sp, #8
	blr	x8
	ldr	w8, [sp, #8]
	str	w8, [x19]
LBB0_3:
	mov	w0, #0
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_IPFW_TABLE_ADDR,8,3            ; @IPFW_TABLE_ADDR
	.comm	_dump_table_entry,4,2           ; @dump_table_entry
.subsections_via_symbols
