	.file	"extr_cls_rsvp.h_rsvp_classify.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	rsvp_classify, @function
rsvp_classify:
.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
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	xor	r12d, r12d
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	rax, QWORD PTR [rsi]
	mov	QWORD PTR 16[rsp], rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR 8[rsp], rax
	call	ip_hdr@PLT
	mov	rbp, rax
.L2:
	mov	eax, DWORD PTR 32[rbp]
	mov	r15d, DWORD PTR 36[rbp]
	lea	r14, 8[rbp]
	mov	edi, DWORD PTR IP_MF[rip]
	or	edi, DWORD PTR IP_OFFSET[rip]
	sal	eax, 2
	mov	r13, QWORD PTR 24[rbp]
	cdqe
	lea	rbx, 0[rbp+rax*8]
	call	htons@PLT
	test	r15d, eax
	jne	.L3
	mov	rdx, r12
	mov	rsi, r13
	mov	rdi, r14
	call	hash_dst@PLT
	mov	rdi, rbp
	mov	r15d, eax
	call	hash_src@PLT
	mov	rsi, QWORD PTR 8[rsp]
	mov	rdx, QWORD PTR [rsi+r15*8]
	test	rdx, rdx
	je	.L3
	movsx	r10, DWORD PTR RSVP_DST_LEN[rip]
	sal	r10, 3
	mov	rdi, QWORD PTR 0[rbp+r10]
	lea	rsi, -8[r10]
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rdx, QWORD PTR 48[rdx]
	test	rdx, rdx
	je	.L3
.L10:
	mov	rcx, QWORD PTR [rdx]
	cmp	rdi, QWORD PTR [rcx+rsi]
	jne	.L4
	cmp	QWORD PTR 8[rdx], r13
	jne	.L4
	movsx	rcx, DWORD PTR 36[rdx]
	mov	ecx, DWORD PTR [rbx+rcx*8]
	xor	ecx, DWORD PTR 40[rdx]
	and	ecx, DWORD PTR 32[rdx]
	jne	.L4
	cmp	QWORD PTR 16[rdx], r12
	jne	.L4
	mov	rdi, QWORD PTR 24[rdx]
	mov	eax, eax
	mov	r12, QWORD PTR [rdi+rax*8]
	test	r12, r12
	je	.L5
	mov	rdx, QWORD PTR -8[rbp+r10]
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L6:
	mov	r12, QWORD PTR 24[r12]
	test	r12, r12
	je	.L5
.L9:
	mov	rax, QWORD PTR [r12]
	cmp	rdx, QWORD PTR [rax+rsi]
	jne	.L6
	movsx	rax, DWORD PTR 36[r12]
	mov	eax, DWORD PTR [rbx+rax*8]
	xor	eax, DWORD PTR 40[r12]
	test	DWORD PTR 32[r12], eax
	jne	.L6
	mov	DWORD PTR 28[rsp], ecx
.L26:
.L7:
	endbr64
	mov	rax, QWORD PTR 16[r12]
	mov	rsi, QWORD PTR 16[rsp]
	mov	QWORD PTR [rsi], rax
	xor	eax, eax
	call	RSVP_APPLY_RESULT@PLT
	mov	rax, QWORD PTR 8[r12]
	mov	ecx, DWORD PTR 28[rsp]
	test	rax, rax
	je	.L1
	mov	r12, QWORD PTR 16[r12]
	lea	rbp, -320[rbx+rax*8]
	jmp	.L2
.L5:
	mov	r12, QWORD PTR 128[rdi]
	mov	DWORD PTR 28[rsp], ecx
	test	r12, r12
	jne	.L26
	.p2align 4,,10
	.p2align 3
.L3:
	mov	ecx, -1
.L1:
	add	rsp, 40
	.cfi_def_cfa_offset 56
	mov	eax, ecx
	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
	.cfi_endproc
.LFE0:
	.size	rsvp_classify, .-rsvp_classify
	.comm	RSVP_DST_LEN,4,4
	.comm	IP_OFFSET,4,4
	.comm	IP_MF,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_cls_rsvp.h_rsvp_classify.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	rsvp_classify, %function
rsvp_classify:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, [r1]
	sub	sp, sp, #20
	ldr	r3, [r3]
	str	r2, [sp, #12]
	str	r3, [sp, #8]
	bl	ip_hdr
	mov	r6, #0
	mov	r4, r0
	ldr	r8, .L29
	ldr	r7, .L29+4
	ldr	r10, .L29+8
.L2:
	ldr	r0, [r8]
	ldr	r3, [r7]
	ldr	fp, [r4, #20]
	orr	r0, r0, r3
	ldr	r5, [r4, #16]
	ldr	r9, [r4, #12]
	bl	htons
	tst	fp, r0
	add	r5, r4, r5, lsl #4
	add	fp, r4, #4
	bne	.L3
	mov	r2, r6
	mov	r1, r9
	mov	r0, fp
	bl	hash_dst
	str	r0, [sp, #4]
	mov	r0, r4
	bl	hash_src
	ldr	r2, [sp, #8]
	ldr	r3, [sp, #4]
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #0
	beq	.L3
	ldr	lr, [r10]
	sub	lr, lr, #-1073741823
	ldr	ip, [fp, lr, lsl #2]
	lsl	r2, lr, #2
	b	.L10
.L4:
	ldr	r3, [r3, #28]
	cmp	r3, #0
	beq	.L3
.L10:
	ldr	r1, [r3]
	ldr	r1, [r1, r2]
	cmp	ip, r1
	bne	.L4
	ldr	r1, [r3, #4]
	cmp	r1, r9
	bne	.L4
	ldr	r1, [r3, #20]
	ldr	fp, [r3, #24]
	ldr	r1, [r5, r1, lsl #2]
	eor	r1, r1, fp
	ldr	fp, [r3, #16]
	tst	r1, fp
	bne	.L4
	ldr	r1, [r3, #8]
	cmp	r1, r6
	bne	.L4
	ldr	r1, [r3, #12]
	ldr	r6, [r1, r0, lsl #2]
	cmp	r6, #0
	beq	.L5
	ldr	r0, [r4, lr, lsl #2]
	b	.L9
.L6:
	ldr	r6, [r6, #12]
	cmp	r6, #0
	beq	.L5
.L9:
	ldr	r3, [r6]
	ldr	r3, [r3, r2]
	cmp	r0, r3
	bne	.L6
	ldr	r3, [r6, #20]
	ldr	lr, [r6, #24]
	ldr	r3, [r5, r3, lsl #2]
	ldr	ip, [r6, #16]
	eor	r3, r3, lr
	tst	r3, ip
	bne	.L6
.L27:
.L7:
	ldr	r3, [r6, #8]
	ldr	r2, [sp, #12]
	str	r3, [r2]
	bl	RSVP_APPLY_RESULT
	ldr	r0, [r6, #4]
	cmp	r0, #0
	beq	.L1
	sub	r0, r0, #-1073741800
	ldr	r6, [r6, #8]
	add	r4, r5, r0, lsl #2
	b	.L2
.L5:
	ldr	r6, [r1, #64]
	cmp	r6, #0
	bne	.L27
.L3:
	mvn	r0, #0
.L1:
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L30:
	.align	2
.L29:
	.word	IP_MF
	.word	IP_OFFSET
	.word	RSVP_DST_LEN
	.size	rsvp_classify, .-rsvp_classify
	.comm	RSVP_DST_LEN,4,4
	.comm	IP_OFFSET,4,4
	.comm	IP_MF,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
