	.file	"extr_xt_rateest.c_xt_rateest_mt_checkentry.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	xt_rateest_mt_checkentry, @function
xt_rateest_mt_checkentry:
.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
	mov	rbx, QWORD PTR [rdi]
	mov	edi, DWORD PTR XT_RATEEST_MATCH_ABS[rip]
	or	edi, DWORD PTR XT_RATEEST_MATCH_REL[rip]
	and	edi, DWORD PTR [rbx]
	call	hweight32@PLT
	cmp	eax, 1
	jne	.L15
	mov	r12d, eax
	mov	eax, DWORD PTR XT_RATEEST_MATCH_BPS[rip]
	or	eax, DWORD PTR XT_RATEEST_MATCH_PPS[rip]
	test	DWORD PTR [rbx], eax
	je	.L15
	mov	eax, DWORD PTR 4[rbx]
	add	eax, -128
	cmp	eax, 2
	jbe	.L17
.L15:
	xor	r12d, r12d
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L17:
	.cfi_restore_state
	mov	edi, DWORD PTR 28[rbx]
	call	xt_rateest_lookup@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L15
	mov	edx, DWORD PTR [rbx]
	xor	eax, eax
	test	DWORD PTR XT_RATEEST_MATCH_REL[rip], edx
	jne	.L18
.L5:
	mov	QWORD PTR 8[rbx], rax
	mov	eax, r12d
	mov	QWORD PTR 16[rbx], rbp
	pop	rbx
	.cfi_remember_state
	.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
.L18:
	.cfi_restore_state
	mov	edi, DWORD PTR 24[rbx]
	call	xt_rateest_lookup@PLT
	test	rax, rax
	jne	.L5
	mov	rdi, rbp
	call	xt_rateest_put@PLT
	jmp	.L15
	.cfi_endproc
.LFE0:
	.size	xt_rateest_mt_checkentry, .-xt_rateest_mt_checkentry
	.comm	XT_RATEEST_MATCH_REL,4,4
	.comm	XT_RATEEST_MATCH_PPS,4,4
	.comm	XT_RATEEST_MATCH_BPS,4,4
	.comm	XT_RATEEST_MATCH_ABS,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_xt_rateest.c_xt_rateest_mt_checkentry.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	xt_rateest_mt_checkentry, %function
xt_rateest_mt_checkentry:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r3, .L17
	ldr	r6, .L17+4
	ldr	r5, [r0]
	ldr	r3, [r3]
	ldr	r2, [r6]
	ldr	r0, [r5]
	orr	r3, r3, r2
	and	r0, r0, r3
	bl	hweight32
	cmp	r0, #1
	bne	.L4
	ldr	r2, .L17+8
	ldr	r3, .L17+12
	ldr	r1, [r2]
	ldr	r3, [r3]
	ldr	r2, [r5]
	orr	r3, r3, r1
	tst	r3, r2
	beq	.L4
	ldr	r3, [r5, #4]
	sub	r3, r3, #128
	cmp	r3, #2
	bls	.L15
.L4:
	mov	r4, #0
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L15:
	mov	r4, r0
	ldr	r0, [r5, #20]
	bl	xt_rateest_lookup
	subs	r7, r0, #0
	beq	.L4
	ldr	r6, [r6]
	ldr	r3, [r5]
	ands	r6, r3, r6
	bne	.L16
.L5:
	mov	r0, r4
	str	r7, [r5, #12]
	str	r6, [r5, #8]
	pop	{r4, r5, r6, r7, r8, pc}
.L16:
	ldr	r0, [r5, #16]
	bl	xt_rateest_lookup
	subs	r6, r0, #0
	bne	.L5
	mov	r0, r7
	bl	xt_rateest_put
	mov	r4, r6
	b	.L1
.L18:
	.align	2
.L17:
	.word	XT_RATEEST_MATCH_ABS
	.word	XT_RATEEST_MATCH_REL
	.word	XT_RATEEST_MATCH_PPS
	.word	XT_RATEEST_MATCH_BPS
	.size	xt_rateest_mt_checkentry, .-xt_rateest_mt_checkentry
	.comm	XT_RATEEST_MATCH_REL,4,4
	.comm	XT_RATEEST_MATCH_PPS,4,4
	.comm	XT_RATEEST_MATCH_BPS,4,4
	.comm	XT_RATEEST_MATCH_ABS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
