	.file	"extr_ip_fw_sockopt.c_del_entry.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	del_entry, @function
del_entry:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14d, esi
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	shr	r14d, 24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	sub	rsp, 48
	.cfi_def_cfa_offset 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	cmp	esi, 100663295
	ja	.L27
	mov	ebp, esi
	mov	eax, DWORD PTR RESVD_SET[rip]
	sar	ebp, 16
	movzx	ebp, bpl
	cmp	eax, ebp
	jl	.L27
	mov	r13, rdi
	movzx	ebx, si
	test	r14b, -3
	je	.L19
	cmp	r14d, 5
	jne	.L5
.L19:
	cmp	DWORD PTR IPFW_DEFAULT_RULE[rip], ebx
	jle	.L27
.L7:
	lea	r12, 16[rsp]
	mov	edx, 20
	xor	esi, esi
	mov	rdi, r12
	call	memset@PLT
	mov	DWORD PTR 16[rsp], ebx
	mov	DWORD PTR 20[rsp], ebx
	mov	DWORD PTR 24[rsp], ebx
	mov	DWORD PTR 28[rsp], ebp
	cmp	r14d, 5
	ja	.L8
	lea	rcx, .L10[rip]
	mov	edx, r14d
	movsx	rax, DWORD PTR [rcx+rdx*4]
	add	rax, rcx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L10:
	.long	.L8-.L10
	.long	.L14-.L10
	.long	.L13-.L10
	.long	.L12-.L10
	.long	.L11-.L10
	.long	.L9-.L10
	.text
	.p2align 4,,10
	.p2align 3
.L5:
	cmp	eax, ebx
	jge	.L7
	.p2align 4,,10
	.p2align 3
.L27:
	mov	r12d, DWORD PTR EINVAL[rip]
.L1:
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L30
	add	rsp, 48
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	eax, DWORD PTR 32[rsp]
	or	eax, DWORD PTR IPFW_RCFLAG_RANGE[rip]
	mov	DWORD PTR 24[rsp], ebp
	or	eax, DWORD PTR IPFW_RCFLAG_SET[rip]
	mov	DWORD PTR 28[rsp], 0
	mov	DWORD PTR 32[rsp], eax
.L16:
	mov	rsi, r12
	lea	rdx, 12[rsp]
	mov	rdi, r13
	call	delete_range@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L1
	mov	eax, DWORD PTR 12[rsp]
	test	eax, eax
	jne	.L1
	cmp	r14d, 1
	je	.L18
	test	ebx, ebx
	jne	.L27
.L18:
	xor	r12d, r12d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L14:
	mov	eax, DWORD PTR IPFW_RCFLAG_SET[rip]
	or	DWORD PTR 32[rsp], eax
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L13:
	mov	rsi, r12
	mov	rdi, r13
	mov	eax, DWORD PTR IPFW_RCFLAG_RANGE[rip]
	or	DWORD PTR 32[rsp], eax
	call	move_range@PLT
	mov	r12d, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L12:
	mov	rdi, r13
	call	IPFW_UH_WLOCK@PLT
	mov	edx, 1
.L28:
	mov	rsi, r12
	mov	rdi, r13
	call	swap_sets@PLT
	mov	rdi, r13
	mov	r12d, eax
	call	IPFW_UH_WUNLOCK@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L11:
	mov	rdi, r13
	call	IPFW_UH_WLOCK@PLT
	xor	edx, edx
	jmp	.L28
.L8:
	mov	eax, DWORD PTR 32[rsp]
	test	ebx, ebx
	jne	.L15
	or	eax, DWORD PTR IPFW_RCFLAG_ALL[rip]
	mov	DWORD PTR 32[rsp], eax
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L15:
	or	eax, DWORD PTR IPFW_RCFLAG_RANGE[rip]
	mov	DWORD PTR 32[rsp], eax
	jmp	.L16
.L30:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	del_entry, .-del_entry
	.comm	RESVD_SET,4,4
	.comm	IPFW_RCFLAG_SET,4,4
	.comm	IPFW_RCFLAG_RANGE,4,4
	.comm	IPFW_RCFLAG_ALL,4,4
	.comm	IPFW_DEFAULT_RULE,4,4
	.comm	ENOTSUP,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_ip_fw_sockopt.c_del_entry.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	del_entry, %function
del_entry:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, .L24
	sub	sp, sp, #36
	cmp	r1, #100663296
	ldr	r3, [r3]
	str	r3, [sp, #28]
	mov	r3,#0
	bcs	.L20
	ldr	r2, .L24+4
	asr	r3, r1, #16
	ldr	r2, [r2]
	and	r3, r3, #255
	cmp	r2, r3
	blt	.L20
	lsr	r6, r1, #24
	mov	r7, r0
	and	r0, r6, #253
	cmp	r0, #0
	cmpne	r6, #5
	lsl	r4, r1, #16
	lsr	r4, r4, #16
	bne	.L5
	ldr	r2, .L24+8
	ldr	r2, [r2]
	cmp	r2, r4
	ble	.L20
.L6:
	mov	r1, #0
	sub	r2, r6, #1
	str	r4, [sp, #8]
	str	r4, [sp, #12]
	str	r4, [sp, #16]
	str	r3, [sp, #20]
	str	r1, [sp, #24]
	cmp	r2, #4
	ldrls	pc, [pc, r2, asl #2]
	b	.L7
.L9:
	.word	.L13
	.word	.L12
	.word	.L11
	.word	.L10
	.word	.L8
.L8:
	mov	r1, #0
	ldr	r2, .L24+12
	ldr	r0, .L24+16
	ldr	r2, [r2]
	ldr	r0, [r0]
	str	r3, [sp, #16]
	orr	r3, r2, r0
	str	r3, [sp, #24]
	str	r1, [sp, #20]
.L15:
	mov	r0, r7
	add	r2, sp, #4
	add	r1, sp, #8
	bl	delete_range
	subs	r5, r0, #0
	bne	.L1
	ldr	r3, [sp, #4]
	cmp	r3, #0
	bne	.L1
	cmp	r6, #1
	cmpne	r4, #0
	beq	.L1
.L20:
	ldr	r3, .L24+20
	ldr	r5, [r3]
.L1:
	ldr	r3, .L24
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L23
	mov	r0, r5
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L5:
	cmp	r2, r4
	bge	.L6
	b	.L20
.L13:
	ldr	r3, .L24+16
	ldr	r3, [r3]
	str	r3, [sp, #24]
	b	.L15
.L12:
	ldr	r3, .L24+12
	mov	r0, r7
	ldr	r3, [r3]
	add	r1, sp, #8
	str	r3, [sp, #24]
	bl	move_range
	mov	r5, r0
	b	.L1
.L11:
	mov	r0, r7
	bl	IPFW_UH_WLOCK
	mov	r2, #1
.L21:
	mov	r0, r7
	add	r1, sp, #8
	bl	swap_sets
	mov	r5, r0
	mov	r0, r7
	bl	IPFW_UH_WUNLOCK
	b	.L1
.L10:
	mov	r0, r7
	bl	IPFW_UH_WLOCK
	mov	r2, #0
	b	.L21
.L23:
	bl	__stack_chk_fail
.L7:
	cmp	r4, #0
	ldreq	r3, .L24+24
	ldrne	r3, .L24+12
	ldr	r3, [r3]
	str	r3, [sp, #24]
	b	.L15
.L25:
	.align	2
.L24:
	.word	.LC0
	.word	RESVD_SET
	.word	IPFW_DEFAULT_RULE
	.word	IPFW_RCFLAG_RANGE
	.word	IPFW_RCFLAG_SET
	.word	EINVAL
	.word	IPFW_RCFLAG_ALL
	.size	del_entry, .-del_entry
	.comm	RESVD_SET,4,4
	.comm	IPFW_RCFLAG_SET,4,4
	.comm	IPFW_RCFLAG_RANGE,4,4
	.comm	IPFW_RCFLAG_ALL,4,4
	.comm	IPFW_DEFAULT_RULE,4,4
	.comm	ENOTSUP,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
