	.file	"extr_pf_table.c_pfr_walktree.c"
	.intel_syntax noprefix
	.text
	.section	.text.unlikely,"ax",@progbits
.LCOLDB0:
	.text
.LHOTB0:
	.p2align 4
	.type	pfr_walktree, @function
pfr_walktree:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	sub	rsp, 16
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	eax, DWORD PTR [rsi]
	add	eax, -128
	cmp	eax, 6
	ja	.L17
	lea	rdx, .L4[rip]
	mov	rbp, rdi
	mov	rbx, rsi
	movsx	rax, DWORD PTR [rdx+rax*4]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L4:
	.long	.L10-.L4
	.long	.L9-.L4
	.long	.L8-.L4
	.long	.L7-.L4
	.long	.L6-.L4
	.long	.L5-.L4
	.long	.L3-.L4
	.text
	.p2align 4,,10
	.p2align 3
.L10:
	mov	edx, DWORD PTR 16[rdi]
	test	edx, edx
	jne	.L11
.L5:
	mov	edi, DWORD PTR 40[rbx]
	mov	edx, DWORD PTR pfrke_workq[rip]
	mov	rsi, rbp
	call	SLIST_INSERT_HEAD@PLT
	add	DWORD PTR 24[rbx], 1
	xor	eax, eax
.L1:
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L20
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	esi, DWORD PTR 8[rdi]
	cmp	esi, DWORD PTR AF_INET[rip]
	je	.L21
	cmp	esi, DWORD PTR AF_INET6[rip]
	je	.L22
.L14:
	xor	eax, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L9:
	mov	eax, DWORD PTR 12[rdi]
	test	eax, eax
	jne	.L11
	mov	eax, DWORD PTR 24[rsi]
	lea	edx, -1[rax]
	mov	DWORD PTR 24[rsi], edx
	test	eax, eax
	je	.L23
	.p2align 4,,10
	.p2align 3
.L11:
	xor	eax, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L7:
	mov	eax, DWORD PTR 32[rsi]
	lea	edx, -1[rax]
	mov	DWORD PTR 32[rsi], edx
	test	eax, eax
	jle	.L11
	lea	r12, 4[rsp]
	mov	rdx, rsi
	mov	rsi, rdi
	mov	rdi, r12
	call	pfr_copyout_astats@PLT
	mov	esi, DWORD PTR 28[rbx]
	mov	edx, 4
	mov	rdi, r12
	call	bcopy@PLT
	add	DWORD PTR 28[rbx], 1
	xor	eax, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L6:
	mov	eax, DWORD PTR 32[rsi]
	lea	edx, -1[rax]
	mov	DWORD PTR 32[rsi], edx
	test	eax, eax
	jle	.L11
	mov	edi, DWORD PTR 36[rsi]
	mov	rsi, rbp
	call	pfr_copyout_addr@PLT
	add	DWORD PTR 36[rbx], 1
	xor	eax, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L8:
	mov	DWORD PTR 16[rdi], 0
	xor	eax, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L22:
	mov	rdx, QWORD PTR 8[rbx]
	mov	eax, DWORD PTR 16[rdx]
	lea	ecx, 1[rax]
	mov	DWORD PTR 16[rdx], ecx
	test	eax, eax
	jg	.L14
	mov	edx, DWORD PTR 4[rdi]
	lea	r12, 4[rsp]
	mov	rdi, r12
	call	pfr_prepare_network@PLT
	mov	esi, DWORD PTR AF_INET6[rip]
	mov	rdi, rbp
	call	SUNION2PF@PLT
	mov	esi, DWORD PTR AF_INET6[rip]
	mov	rdi, r12
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR 8[rbx]
	mov	QWORD PTR 8[rax], rdx
	call	SUNION2PF@PLT
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR 8[rbx]
	mov	QWORD PTR [rax], rdx
	xor	eax, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L23:
	mov	QWORD PTR 16[rbx], rdi
	mov	eax, 1
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L21:
	mov	rdx, QWORD PTR 8[rbx]
	mov	eax, DWORD PTR 40[rdx]
	lea	ecx, 1[rax]
	mov	DWORD PTR 40[rdx], ecx
	test	eax, eax
	jg	.L14
	mov	edx, DWORD PTR 4[rdi]
	lea	r12, 4[rsp]
	mov	rdi, r12
	call	pfr_prepare_network@PLT
	mov	esi, DWORD PTR AF_INET[rip]
	mov	rdi, rbp
	call	SUNION2PF@PLT
	mov	esi, DWORD PTR AF_INET[rip]
	mov	rdi, r12
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR 8[rbx]
	mov	QWORD PTR 32[rax], rdx
	call	SUNION2PF@PLT
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR 8[rbx]
	mov	QWORD PTR 24[rax], rdx
	xor	eax, eax
	jmp	.L1
.L20:
	call	__stack_chk_fail@PLT
	.cfi_endproc
	.section	.text.unlikely
	.cfi_startproc
	.type	pfr_walktree.cold, @function
pfr_walktree.cold:
.LFSB0:
.L17:
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -32
	.cfi_offset 6, -24
	.cfi_offset 12, -16
	xor	eax, eax
	jmp	.L1
	.cfi_endproc
.LFE0:
	.text
	.size	pfr_walktree, .-pfr_walktree
	.section	.text.unlikely
	.size	pfr_walktree.cold, .-pfr_walktree.cold
.LCOLDE0:
	.text
.LHOTE0:
	.comm	pfrke_workq,4,4
	.comm	AF_INET6,4,4
	.comm	AF_INET,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_pf_table.c_pfr_walktree.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	pfr_walktree, %function
pfr_walktree:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r3, [r1]
	ldr	r2, .L25
	sub	sp, sp, #8
	sub	r3, r3, #128
	mov	r4, r1
	mov	r5, r0
	ldr	r2, [r2]
	str	r2, [sp, #4]
	mov	r2,#0
	cmp	r3, #6
	ldrls	pc, [pc, r3, asl #2]
	b	.L17
.L4:
	.word	.L10
	.word	.L9
	.word	.L8
	.word	.L7
	.word	.L6
	.word	.L5
	.word	.L3
.L3:
	ldr	r6, .L25+4
	ldr	r1, [r0, #8]
	ldr	r3, [r6]
	cmp	r1, r3
	beq	.L23
	ldr	r6, .L25+8
	ldr	r3, [r6]
	cmp	r1, r3
	bne	.L17
	ldr	r2, [r4, #4]
	ldr	r3, [r2, #8]
	cmp	r3, #0
	add	r3, r3, #1
	str	r3, [r2, #8]
	bgt	.L17
	ldr	r2, [r5, #4]
	mov	r0, sp
	bl	pfr_prepare_network
	ldr	r1, [r6]
	mov	r0, r5
	bl	SUNION2PF
	ldr	r3, [r4, #4]
	ldr	r2, [r0]
	ldr	r1, [r6]
	str	r2, [r3, #4]
	mov	r0, sp
	bl	SUNION2PF
	ldr	r3, [r4, #4]
	ldr	r2, [r0]
	str	r2, [r3]
.L17:
	mov	r0, #0
.L1:
	ldr	r3, .L25
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L24
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L10:
	ldr	r3, [r0, #16]
	cmp	r3, #0
	bne	.L17
.L5:
	ldr	r3, .L25+12
	mov	r1, r5
	ldr	r2, [r3]
	ldr	r0, [r4, #28]
	bl	SLIST_INSERT_HEAD
	ldr	r3, [r4, #12]
	mov	r0, #0
	add	r3, r3, #1
	str	r3, [r4, #12]
	b	.L1
.L9:
	ldr	r3, [r0, #12]
	cmp	r3, #0
	bne	.L17
	ldr	r3, [r1, #12]
	cmp	r3, #0
	sub	r3, r3, #1
	streq	r0, [r1, #8]
	str	r3, [r1, #12]
	moveq	r0, #1
	bne	.L17
	b	.L1
.L8:
	mov	r3, #0
	str	r3, [r0, #16]
	mov	r0, r3
	b	.L1
.L7:
	ldr	r3, [r1, #20]
	cmp	r3, #0
	sub	r3, r3, #1
	str	r3, [r1, #20]
	ble	.L17
	mov	r1, r0
	mov	r2, r4
	mov	r0, sp
	bl	pfr_copyout_astats
	mov	r0, sp
	mov	r2, #4
	ldr	r1, [r4, #16]
	bl	bcopy
	ldr	r3, [r4, #16]
	mov	r0, #0
	add	r3, r3, #1
	str	r3, [r4, #16]
	b	.L1
.L6:
	ldr	r3, [r1, #20]
	cmp	r3, #0
	sub	r3, r3, #1
	str	r3, [r1, #20]
	ble	.L17
	mov	r1, r0
	ldr	r0, [r4, #24]
	bl	pfr_copyout_addr
	ldr	r3, [r4, #24]
	mov	r0, #0
	add	r3, r3, #1
	str	r3, [r4, #24]
	b	.L1
.L23:
	ldr	r2, [r4, #4]
	ldr	r3, [r2, #20]
	cmp	r3, #0
	add	r3, r3, #1
	str	r3, [r2, #20]
	bgt	.L17
	ldr	r2, [r5, #4]
	mov	r0, sp
	bl	pfr_prepare_network
	ldr	r1, [r6]
	mov	r0, r5
	bl	SUNION2PF
	ldr	r3, [r4, #4]
	ldr	r2, [r0]
	ldr	r1, [r6]
	str	r2, [r3, #16]
	mov	r0, sp
	bl	SUNION2PF
	ldr	r3, [r4, #4]
	ldr	r2, [r0]
	str	r2, [r3, #12]
	b	.L17
.L24:
	bl	__stack_chk_fail
.L26:
	.align	2
.L25:
	.word	.LC0
	.word	AF_INET
	.word	AF_INET6
	.word	pfrke_workq
	.size	pfr_walktree, .-pfr_walktree
	.comm	pfrke_workq,4,4
	.comm	AF_INET6,4,4
	.comm	AF_INET,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
