	.file	"extr_pf_table.c_pfr_del_addrs.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	pfr_del_addrs
	.type	pfr_del_addrs, @function
pfr_del_addrs:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, edx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	ebp, r8d
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rsi
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	QWORD PTR 8[rsp], rcx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	call	PF_RULES_WASSERT@PLT
	mov	esi, DWORD PTR PFR_FLAG_DUMMY[rip]
	mov	edi, ebp
	or	esi, DWORD PTR PFR_FLAG_FEEDBACK[rip]
	call	ACCEPT_FLAGS@PLT
	mov	edx, DWORD PTR PFR_FLAG_USERIOCTL[rip]
	xor	esi, esi
	mov	rdi, r12
	and	edx, ebp
	call	pfr_validate_table@PLT
	test	rax, rax
	je	.L2
.L50:
	mov	r14d, DWORD PTR EINVAL[rip]
.L1:
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L52
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r14d
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rdi, r12
	call	pfr_lookup_table@PLT
	mov	r12, rax
	test	rax, rax
	je	.L4
	mov	r14d, DWORD PTR [rax]
	test	DWORD PTR PFR_TFLAG_ACTIVE[rip], r14d
	je	.L4
	and	r14d, DWORD PTR PFR_TFLAG_CONST[rip]
	jne	.L53
	mov	eax, DWORD PTR 4[rax]
	test	eax, eax
	jle	.L7
	mov	edx, eax
	mov	ecx, 1
	.p2align 4,,10
	.p2align 3
.L8:
	add	ecx, 1
	sar	edx
	jne	.L8
	cdq
	idiv	ecx
.L7:
	cmp	eax, r13d
	jl	.L9
	test	r13d, r13d
	jle	.L54
	lea	r15d, -1[r13]
	add	r15, 1
	sal	r15, 4
	lea	rax, [rbx+r15]
	mov	r15, rbx
	mov	QWORD PTR 16[rsp], rax
	.p2align 4,,10
	.p2align 3
.L16:
	mov	rdi, r15
	call	pfr_validate_addr@PLT
	test	rax, rax
	jne	.L50
	mov	edx, 1
	mov	rsi, r15
	mov	rdi, r12
	call	pfr_lookup_addr@PLT
	test	rax, rax
	je	.L15
	mov	DWORD PTR [rax], 0
.L15:
	add	r15, 16
	cmp	QWORD PTR 16[rsp], r15
	jne	.L16
	lea	rax, 36[rsp]
	mov	rdi, rax
	mov	QWORD PTR 24[rsp], rax
	call	SLIST_INIT@PLT
.L12:
	mov	DWORD PTR 16[rsp], 0
	xor	r15d, r15d
	jmp	.L25
	.p2align 4,,10
	.p2align 3
.L57:
	test	rax, rax
	je	.L55
	mov	rcx, QWORD PTR [rbx]
	cmp	QWORD PTR 8[rax], rcx
	je	.L22
	mov	eax, DWORD PTR PFR_FB_CONFLICT[rip]
	mov	DWORD PTR 8[rbx], eax
.L21:
	add	r15d, 1
	add	rbx, 16
	cmp	r13d, r15d
	jle	.L13
.L25:
	mov	rdi, rbx
	call	pfr_validate_addr@PLT
	test	rax, rax
	jne	.L56
.L18:
	mov	edx, 1
	mov	rsi, rbx
	mov	rdi, r12
	call	pfr_lookup_addr@PLT
	test	DWORD PTR PFR_FLAG_FEEDBACK[rip], ebp
	jne	.L57
	test	rax, rax
	je	.L21
	mov	rcx, QWORD PTR [rbx]
	cmp	QWORD PTR 8[rax], rcx
	jne	.L21
	mov	edx, DWORD PTR [rax]
	test	edx, edx
	jne	.L21
.L24:
	mov	DWORD PTR [rax], 1
	mov	edx, DWORD PTR pfrke_workq[rip]
	mov	rsi, rax
	mov	rdi, QWORD PTR 24[rsp]
	call	SLIST_INSERT_HEAD@PLT
	add	DWORD PTR 16[rsp], 1
	jmp	.L21
	.p2align 4,,10
	.p2align 3
.L4:
	mov	r14d, DWORD PTR ESRCH[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L53:
	mov	r14d, DWORD PTR EPERM[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L56:
	mov	edi, DWORD PTR EINVAL[rip]
	call	senderr@PLT
	jmp	.L18
	.p2align 4,,10
	.p2align 3
.L55:
	mov	eax, DWORD PTR PFR_FB_NONE[rip]
	add	r15d, 1
	add	rbx, 16
	mov	DWORD PTR -8[rbx], eax
	cmp	r13d, r15d
	jg	.L25
	.p2align 4,,10
	.p2align 3
.L13:
	test	DWORD PTR PFR_FLAG_DUMMY[rip], ebp
	je	.L58
.L26:
	mov	rax, QWORD PTR 8[rsp]
	test	rax, rax
	je	.L1
	mov	ebx, DWORD PTR 16[rsp]
	mov	DWORD PTR [rax], ebx
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L22:
	mov	ecx, DWORD PTR [rax]
	test	ecx, ecx
	je	.L23
	mov	eax, DWORD PTR PFR_FB_DUPLICATE[rip]
	mov	DWORD PTR 8[rbx], eax
	jmp	.L21
	.p2align 4,,10
	.p2align 3
.L9:
	mov	rdi, r12
	call	pfr_mark_addrs@PLT
	lea	rax, 36[rsp]
	mov	rdi, rax
	mov	QWORD PTR 24[rsp], rax
	call	SLIST_INIT@PLT
	test	r13d, r13d
	jg	.L12
.L49:
	mov	DWORD PTR 16[rsp], 0
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L23:
	mov	edx, DWORD PTR PFR_FB_DELETED[rip]
	mov	DWORD PTR 8[rbx], edx
	jmp	.L24
	.p2align 4,,10
	.p2align 3
.L58:
	mov	rsi, QWORD PTR 24[rsp]
	mov	rdi, r12
	call	pfr_remove_kentries@PLT
	jmp	.L26
.L54:
	lea	rax, 36[rsp]
	mov	rdi, rax
	mov	QWORD PTR 24[rsp], rax
	call	SLIST_INIT@PLT
	jmp	.L49
.L52:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	pfr_del_addrs, .-pfr_del_addrs
	.comm	pfrke_workq,4,4
	.comm	PFR_TFLAG_CONST,4,4
	.comm	PFR_TFLAG_ACTIVE,4,4
	.comm	PFR_FLAG_USERIOCTL,4,4
	.comm	PFR_FLAG_FEEDBACK,4,4
	.comm	PFR_FLAG_DUMMY,4,4
	.comm	PFR_FB_NONE,4,4
	.comm	PFR_FB_DUPLICATE,4,4
	.comm	PFR_FB_DELETED,4,4
	.comm	PFR_FB_CONFLICT,4,4
	.comm	ESRCH,4,4
	.comm	EPERM,4,4
	.comm	EINVAL,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_del_addrs.c"
	.text
	.global	__aeabi_idiv
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	pfr_del_addrs
	.syntax unified
	.arm
	.fpu softvfp
	.type	pfr_del_addrs, %function
pfr_del_addrs:
	@ args = 4, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r6, r0
	sub	sp, sp, #28
	str	r3, [sp]
	ldr	fp, .L60
	ldr	r3, .L60+4
	ldr	r10, .L60+8
	mov	r5, r2
	mov	r4, r1
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	bl	PF_RULES_WASSERT
	ldr	r3, [r10]
	ldr	r1, [fp]
	ldr	r0, [sp, #64]
	orr	r1, r1, r3
	bl	ACCEPT_FLAGS
	ldr	r3, .L60+12
	mov	r0, r6
	ldr	r2, [r3]
	ldr	r3, [sp, #64]
	mov	r1, #0
	and	r2, r2, r3
	bl	pfr_validate_table
	cmp	r0, #0
	beq	.L2
.L50:
	ldr	r3, .L60+16
	ldr	r8, [r3]
.L1:
	ldr	r3, .L60+4
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L52
	mov	r0, r8
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L2:
	mov	r0, r6
	bl	pfr_lookup_table
	subs	r7, r0, #0
	beq	.L4
	ldr	r3, .L60+20
	ldr	r8, [r7]
	ldr	r3, [r3]
	tst	r8, r3
	beq	.L4
	ldr	r3, .L60+24
	ldr	r3, [r3]
	ands	r8, r8, r3
	bne	.L53
	ldr	r0, [r7, #4]
	cmp	r0, #0
	ble	.L7
	mov	r3, r0
	mov	r1, #1
.L8:
	asrs	r3, r3, #1
	add	r1, r1, #1
	bne	.L8
	bl	__aeabi_idiv
.L7:
	cmp	r0, r5
	blt	.L9
	cmp	r5, #0
	movgt	r6, r4
	strgt	r4, [sp, #4]
	movgt	r9, #0
	movgt	r4, r6
	ble	.L54
.L10:
	mov	r0, r4
	bl	pfr_validate_addr
	subs	r6, r0, #0
	bne	.L50
	mov	r1, r4
	mov	r2, #1
	mov	r0, r7
	bl	pfr_lookup_addr
	add	r9, r9, #1
	cmp	r0, #0
	strne	r6, [r0]
	cmp	r5, r9
	add	r4, r4, #8
	bne	.L10
	add	r0, sp, #16
	ldr	r4, [sp, #4]
	str	r0, [sp, #8]
	bl	SLIST_INIT
.L12:
	mov	r3, #0
	str	r8, [sp, #12]
	mov	r6, r3
	mov	r8, r4
	ldr	r9, .L60+28
	ldr	r4, [sp, #64]
	str	r3, [sp, #4]
	b	.L24
.L58:
	cmp	r0, #0
	beq	.L55
	ldr	r1, [r0, #4]
	ldr	r2, [r8]
	cmp	r1, r2
	beq	.L21
	ldr	r2, [r9]
	str	r2, [r8, #4]
.L20:
	add	r6, r6, #1
	cmp	r5, r6
	add	r8, r8, #8
	ble	.L56
.L24:
	mov	r0, r8
	bl	pfr_validate_addr
	cmp	r0, #0
	bne	.L57
.L17:
	mov	r2, #1
	mov	r1, r8
	mov	r0, r7
	bl	pfr_lookup_addr
	ldr	r2, [r10]
	tst	r4, r2
	bne	.L58
	cmp	r0, #0
	beq	.L20
	ldr	r1, [r0, #4]
	ldr	r2, [r8]
	cmp	r1, r2
	bne	.L20
	ldr	r2, [r0]
	cmp	r2, #0
	bne	.L20
.L23:
	mov	r2, #1
	ldr	r3, .L60+32
	str	r2, [r0]
	mov	r1, r0
	ldr	r2, [r3]
	ldr	r0, [sp, #8]
	bl	SLIST_INSERT_HEAD
	ldr	r3, [sp, #4]
	add	r3, r3, #1
	str	r3, [sp, #4]
	b	.L20
.L4:
	ldr	r3, .L60+36
	ldr	r8, [r3]
	b	.L1
.L53:
	ldr	r3, .L60+40
	ldr	r8, [r3]
	b	.L1
.L57:
	ldr	r3, .L60+16
	ldr	r0, [r3]
	bl	senderr
	b	.L17
.L55:
	ldr	r3, .L60+44
	add	r6, r6, #1
	ldr	r2, [r3]
	cmp	r5, r6
	str	r2, [r8, #4]
	add	r8, r8, #8
	bgt	.L24
.L56:
	ldr	r8, [sp, #12]
.L13:
	ldr	r3, [fp]
	ldr	r2, [sp, #64]
	tst	r2, r3
	beq	.L59
.L25:
	ldr	r3, [sp]
	cmp	r3, #0
	ldrne	r2, [sp, #4]
	strne	r2, [r3]
	b	.L1
.L21:
	ldr	r2, [r0]
	cmp	r2, #0
	beq	.L22
	ldr	r3, .L60+48
	ldr	r2, [r3]
	str	r2, [r8, #4]
	b	.L20
.L9:
	add	r6, sp, #16
	mov	r0, r7
	str	r6, [sp, #8]
	bl	pfr_mark_addrs
	mov	r0, r6
	bl	SLIST_INIT
	cmp	r5, #0
	bgt	.L12
.L49:
	mov	r3, #0
	str	r3, [sp, #4]
	b	.L13
.L22:
	ldr	r3, .L60+52
	ldr	r2, [r3]
	str	r2, [r8, #4]
	b	.L23
.L59:
	mov	r0, r7
	ldr	r1, [sp, #8]
	bl	pfr_remove_kentries
	b	.L25
.L54:
	add	r0, sp, #16
	str	r0, [sp, #8]
	bl	SLIST_INIT
	b	.L49
.L52:
	bl	__stack_chk_fail
.L61:
	.align	2
.L60:
	.word	PFR_FLAG_DUMMY
	.word	.LC0
	.word	PFR_FLAG_FEEDBACK
	.word	PFR_FLAG_USERIOCTL
	.word	EINVAL
	.word	PFR_TFLAG_ACTIVE
	.word	PFR_TFLAG_CONST
	.word	PFR_FB_CONFLICT
	.word	pfrke_workq
	.word	ESRCH
	.word	EPERM
	.word	PFR_FB_NONE
	.word	PFR_FB_DUPLICATE
	.word	PFR_FB_DELETED
	.size	pfr_del_addrs, .-pfr_del_addrs
	.comm	pfrke_workq,4,4
	.comm	PFR_TFLAG_CONST,4,4
	.comm	PFR_TFLAG_ACTIVE,4,4
	.comm	PFR_FLAG_USERIOCTL,4,4
	.comm	PFR_FLAG_FEEDBACK,4,4
	.comm	PFR_FLAG_DUMMY,4,4
	.comm	PFR_FB_NONE,4,4
	.comm	PFR_FB_DUPLICATE,4,4
	.comm	PFR_FB_DELETED,4,4
	.comm	PFR_FB_CONFLICT,4,4
	.comm	ESRCH,4,4
	.comm	EPERM,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
