	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dump_table_v0
_dump_table_v0:                         ## @dump_table_v0
	.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	$88, %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	%rdi, %r12
	movq	%rdx, %rdi
	movl	$24, %esi
	callq	_ipfw_get_sopt_header
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	leaq	-120(%rbp), %r13
	xorl	%r15d, %r15d
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	$40, %edx
	callq	_memset
	movl	16(%rbx), %eax
	movl	%eax, -88(%rbp)
	movq	%r12, %rdi
	callq	_IPFW_UH_RLOCK
	movq	%r12, %rdi
	callq	_CHAIN_TO_NI
	movl	%eax, %edi
	movq	%r13, %rsi
	callq	_find_table
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movq	%rax, %r13
	movq	%r12, %rdi
	movq	%rax, %rsi
	callq	_table_get_count
	leaq	24(,%rax,4), %rcx
	movq	%rax, (%rbx)
	movq	%rcx, 8(%rbx)
	movl	20(%r13), %eax
	movl	%eax, 20(%rbx)
	movl	-88(%rbp), %eax
	movl	%eax, 16(%rbx)
	cmpq	%rcx, (%r14)
	jae	LBB0_5
## %bb.4:
	movq	%r12, %rdi
	callq	_IPFW_UH_RUNLOCK
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	jmp	LBB0_7
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	jmp	LBB0_7
LBB0_5:
	leaq	-80(%rbp), %rdi
	xorl	%r15d, %r15d
	xorl	%esi, %esi
	movl	$40, %edx
	callq	_memset
	movq	%r12, -56(%rbp)
	movl	16(%r13), %esi
	movq	%r12, %rdi
	callq	_KIDX_TO_TI
	movl	%eax, -80(%rbp)
	movq	%r13, -64(%rbp)
	movq	%r14, -72(%rbp)
	movq	8(%r13), %rbx
	movl	(%r13), %edi
	movq	_dump_table_xentry@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %esi
	leaq	-80(%rbp), %rcx
	callq	*(%rbx)
LBB0_6:
	movq	%r12, %rdi
	callq	_IPFW_UH_RUNLOCK
LBB0_7:
	movl	%r15d, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_dump_table_xentry,4,2          ## @dump_table_xentry
	.no_dead_strip	_dump_table_v0
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dump_table_v0
_dump_table_v0:                         ; @dump_table_v0
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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, x2
	mov	x19, x0
	mov	x0, x2
	mov	w1, #24
	bl	_ipfw_get_sopt_header
	cbz	x0, LBB0_4
; %bb.1:
	mov	x21, x0
	add	x0, sp, #40
	mov	w1, #0
	mov	w2, #40
	bl	_memset
	ldr	w8, [x21, #16]
	str	w8, [sp, #72]
	mov	x0, x19
	bl	_IPFW_UH_RLOCK
	mov	x0, x19
	bl	_CHAIN_TO_NI
	add	x1, sp, #40
	bl	_find_table
	cbz	x0, LBB0_6
; %bb.2:
	mov	x22, x0
	mov	x0, x19
	mov	x1, x22
	bl	_table_get_count
	lsl	x8, x0, #2
	add	x8, x8, #24
	stp	x0, x8, [x21]
	ldr	w9, [x22, #20]
	str	w9, [x21, #20]
	ldr	w9, [sp, #72]
	str	w9, [x21, #16]
	ldr	x9, [x20]
	cmp	x9, x8
	b.hs	LBB0_5
; %bb.3:
	mov	x0, x19
	bl	_IPFW_UH_RUNLOCK
Lloh0:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	b	LBB0_7
LBB0_4:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	b	LBB0_7
LBB0_5:
	mov	x0, sp
	mov	w1, #0
	mov	w2, #40
	bl	_memset
	str	x19, [sp, #24]
	ldr	w1, [x22, #16]
	mov	x0, x19
	bl	_KIDX_TO_TI
	mov	x1, x0
	str	w0, [sp]
	stp	x20, x22, [sp, #8]
	ldr	x8, [x22, #8]
	ldr	x8, [x8]
	ldr	w0, [x22]
Lloh6:
	adrp	x9, _dump_table_xentry@GOTPAGE
Lloh7:
	ldr	x9, [x9, _dump_table_xentry@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x9]
	mov	x3, sp
	blr	x8
LBB0_6:
	mov	x0, x19
	bl	_IPFW_UH_RUNLOCK
	mov	w0, #0
LBB0_7:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_dump_table_xentry,4,2          ; @dump_table_xentry
	.no_dead_strip	_dump_table_v0
.subsections_via_symbols
