	.file	"extr_br_stp_bpdu.c_br_stp_rcv.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	br_stp_rcv
	.type	br_stp_rcv, @function
br_stp_rcv:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	rdi, rsi
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	sub	rsp, 96
	.cfi_def_cfa_offset 144
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 88[rsp], rax
	xor	eax, eax
	call	eth_hdr@PLT
	mov	edi, DWORD PTR [r12]
	mov	r13, QWORD PTR [rax]
	call	rcu_dereference@PLT
	test	rax, rax
	je	.L3
	mov	esi, 4
	mov	rdi, rbp
	mov	r12, rax
	call	pskb_may_pull@PLT
	test	eax, eax
	je	.L3
	mov	rax, QWORD PTR 0[rbp]
	cmp	BYTE PTR [rax], 0
	jne	.L3
	cmp	BYTE PTR 1[rax], 0
	jne	.L3
	cmp	BYTE PTR 2[rax], 0
	jne	.L3
	mov	rbx, QWORD PTR 8[r12]
	lea	r14, 8[rbx]
	mov	rdi, r14
	call	spin_lock@PLT
	mov	rax, QWORD PTR BR_KERNEL_STP[rip]
	cmp	QWORD PTR [rbx], rax
	jne	.L6
	mov	rax, QWORD PTR 16[rbx]
	mov	eax, DWORD PTR [rax]
	test	DWORD PTR IFF_UP[rip], eax
	je	.L6
	mov	rax, QWORD PTR BR_STATE_DISABLED[rip]
	cmp	QWORD PTR [r12], rax
	je	.L6
	mov	esi, DWORD PTR 12[rbx]
	mov	rdi, r13
	call	compare_ether_addr@PLT
	test	rax, rax
	jne	.L6
	mov	esi, 3
	mov	rdi, rbp
	call	skb_pull@PLT
	movzx	eax, BYTE PTR [rax]
	cmp	al, BYTE PTR BPDU_TYPE_CONFIG[rip]
	je	.L19
	cmp	al, BYTE PTR BPDU_TYPE_TCN[rip]
	jne	.L6
	mov	rdi, r12
	call	br_received_tcn_bpdu@PLT
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rdi, r14
	call	spin_unlock@PLT
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rdi, rbp
	call	kfree_skb@PLT
	mov	rax, QWORD PTR 88[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L20
	add	rsp, 96
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	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
.L19:
	.cfi_restore_state
	mov	esi, 32
	mov	rdi, rbp
	call	pskb_may_pull@PLT
	test	eax, eax
	je	.L6
	mov	rbx, QWORD PTR 0[rbp]
	movzx	eax, BYTE PTR 1[rbx]
	lea	rdi, 24[rbx]
	and	eax, 1
	mov	DWORD PTR [rsp], eax
	movzx	eax, BYTE PTR 1[rbx]
	shr	al, 7
	movzx	eax, al
	mov	DWORD PTR 4[rsp], eax
	mov	rax, QWORD PTR 64[rsp]
	movzx	edx, BYTE PTR 2[rbx]
	mov	BYTE PTR [rax], dl
	movzx	edx, BYTE PTR 3[rbx]
	mov	rax, QWORD PTR 64[rsp]
	mov	BYTE PTR 1[rax], dl
	movzx	edx, BYTE PTR 4[rbx]
	mov	rax, QWORD PTR 72[rsp]
	mov	BYTE PTR [rax], dl
	movzx	edx, BYTE PTR 5[rbx]
	mov	rax, QWORD PTR 72[rsp]
	mov	BYTE PTR 1[rax], dl
	movzx	edx, BYTE PTR 6[rbx]
	mov	rax, QWORD PTR 72[rsp]
	mov	BYTE PTR 2[rax], dl
	movzx	edx, BYTE PTR 7[rbx]
	mov	rax, QWORD PTR 72[rsp]
	mov	BYTE PTR 3[rax], dl
	movzx	edx, BYTE PTR 8[rbx]
	mov	rax, QWORD PTR 72[rsp]
	mov	BYTE PTR 4[rax], dl
	movzx	edx, BYTE PTR 9[rbx]
	mov	rax, QWORD PTR 72[rsp]
	mov	BYTE PTR 5[rax], dl
	movzx	eax, BYTE PTR 13[rbx]
	movzx	edx, BYTE PTR 14[rbx]
	mov	BYTE PTR 8[rsp], al
	mov	rax, QWORD PTR 48[rsp]
	mov	BYTE PTR [rax], dl
	movzx	edx, BYTE PTR 15[rbx]
	mov	rax, QWORD PTR 48[rsp]
	mov	BYTE PTR 1[rax], dl
	movzx	edx, BYTE PTR 16[rbx]
	mov	rax, QWORD PTR 56[rsp]
	mov	BYTE PTR [rax], dl
	movzx	edx, BYTE PTR 17[rbx]
	mov	rax, QWORD PTR 56[rsp]
	mov	BYTE PTR 1[rax], dl
	movzx	edx, BYTE PTR 18[rbx]
	mov	rax, QWORD PTR 56[rsp]
	mov	BYTE PTR 2[rax], dl
	movzx	edx, BYTE PTR 19[rbx]
	mov	rax, QWORD PTR 56[rsp]
	mov	BYTE PTR 3[rax], dl
	movzx	edx, BYTE PTR 20[rbx]
	mov	rax, QWORD PTR 56[rsp]
	mov	BYTE PTR 4[rax], dl
	movzx	edx, BYTE PTR 21[rbx]
	mov	rax, QWORD PTR 56[rsp]
	mov	BYTE PTR 5[rax], dl
	movzx	eax, BYTE PTR 23[rbx]
	mov	BYTE PTR 9[rsp], al
	call	br_get_ticks@PLT
	lea	rdi, 26[rbx]
	mov	QWORD PTR 40[rsp], rax
	call	br_get_ticks@PLT
	lea	rdi, 28[rbx]
	mov	QWORD PTR 32[rsp], rax
	call	br_get_ticks@PLT
	lea	rdi, 30[rbx]
	mov	QWORD PTR 24[rsp], rax
	call	br_get_ticks@PLT
	mov	rsi, rsp
	mov	rdi, r12
	mov	QWORD PTR 16[rsp], rax
	call	br_received_config_bpdu@PLT
	jmp	.L6
.L20:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	br_stp_rcv, .-br_stp_rcv
	.comm	IFF_UP,4,4
	.comm	BR_STATE_DISABLED,8,8
	.comm	BR_KERNEL_STP,8,8
	.comm	BPDU_TYPE_TCN,1,1
	.comm	BPDU_TYPE_CONFIG,1,1
	.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_br_stp_bpdu.c_br_stp_rcv.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	br_stp_rcv
	.syntax unified
	.arm
	.fpu softvfp
	.type	br_stp_rcv, %function
br_stp_rcv:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r3, .L21
	sub	sp, sp, #48
	mov	r0, r1
	mov	r5, r2
	mov	r4, r1
	ldr	r3, [r3]
	str	r3, [sp, #44]
	mov	r3,#0
	bl	eth_hdr
	mov	r3, r0
	ldr	r0, [r5]
	ldr	r6, [r3]
	bl	rcu_dereference
	subs	r5, r0, #0
	beq	.L3
	mov	r1, #4
	mov	r0, r4
	bl	pskb_may_pull
	cmp	r0, #0
	beq	.L3
	ldr	r3, [r4]
	ldrb	r2, [r3]	@ zero_extendqisi2
	cmp	r2, #0
	bne	.L3
	ldrb	r2, [r3, #1]	@ zero_extendqisi2
	cmp	r2, #0
	bne	.L3
	ldrb	r3, [r3, #2]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L3
	ldr	r7, [r5, #4]
	add	r8, r7, #4
	mov	r0, r8
	bl	spin_lock
	ldr	r3, .L21+4
	ldr	r2, [r7]
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L6
	ldr	r2, [r7, #12]
	ldr	r3, .L21+8
	ldr	r2, [r2]
	ldr	r3, [r3]
	tst	r2, r3
	beq	.L6
	ldr	r3, .L21+12
	ldr	r2, [r5]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L6
	mov	r0, r6
	ldr	r1, [r7, #8]
	bl	compare_ether_addr
	cmp	r0, #0
	bne	.L6
	mov	r1, #3
	mov	r0, r4
	bl	skb_pull
	ldr	r2, .L21+16
	ldrb	r3, [r0]	@ zero_extendqisi2
	ldrb	r2, [r2]	@ zero_extendqisi2
	cmp	r2, r3
	beq	.L19
	ldr	r2, .L21+20
	ldrb	r2, [r2]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L6
	mov	r0, r5
	bl	br_received_tcn_bpdu
.L6:
	mov	r0, r8
	bl	spin_unlock
.L3:
	mov	r0, r4
	bl	kfree_skb
	ldr	r3, .L21
	ldr	r2, [r3]
	ldr	r3, [sp, #44]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L20
	add	sp, sp, #48
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L19:
	mov	r1, #32
	mov	r0, r4
	bl	pskb_may_pull
	cmp	r0, #0
	beq	.L6
	ldr	r6, [r4]
	ldr	r2, [sp, #36]
	ldrb	r3, [r6, #1]	@ zero_extendqisi2
	add	r0, r6, #24
	and	r3, r3, #1
	str	r3, [sp]
	ldrb	r3, [r6, #1]	@ zero_extendqisi2
	lsr	r3, r3, #7
	str	r3, [sp, #4]
	ldrb	r3, [r6, #2]	@ zero_extendqisi2
	strb	r3, [r2]
	ldrb	r2, [r6, #3]	@ zero_extendqisi2
	ldr	r3, [sp, #36]
	strb	r2, [r3, #1]
	ldrb	r2, [r6, #4]	@ zero_extendqisi2
	ldr	r3, [sp, #40]
	strb	r2, [r3]
	ldrb	r2, [r6, #5]	@ zero_extendqisi2
	ldr	r3, [sp, #40]
	strb	r2, [r3, #1]
	ldrb	r2, [r6, #6]	@ zero_extendqisi2
	ldr	r3, [sp, #40]
	strb	r2, [r3, #2]
	ldrb	r2, [r6, #7]	@ zero_extendqisi2
	ldr	r3, [sp, #40]
	strb	r2, [r3, #3]
	ldrb	r2, [r6, #8]	@ zero_extendqisi2
	ldr	r3, [sp, #40]
	strb	r2, [r3, #4]
	ldr	r3, [sp, #40]
	ldrb	r2, [r6, #9]	@ zero_extendqisi2
	strb	r2, [r3, #5]
	ldrb	r2, [r6, #13]	@ zero_extendqisi2
	ldr	r3, [sp, #28]
	strb	r2, [sp, #8]
	ldrb	r2, [r6, #14]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [sp, #28]
	ldrb	r2, [r6, #15]	@ zero_extendqisi2
	strb	r2, [r3, #1]
	ldr	r3, [sp, #32]
	ldrb	r2, [r6, #16]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [sp, #32]
	ldrb	r2, [r6, #17]	@ zero_extendqisi2
	strb	r2, [r3, #1]
	ldr	r3, [sp, #32]
	ldrb	r2, [r6, #18]	@ zero_extendqisi2
	strb	r2, [r3, #2]
	ldr	r3, [sp, #32]
	ldrb	r2, [r6, #19]	@ zero_extendqisi2
	strb	r2, [r3, #3]
	ldr	r3, [sp, #32]
	ldrb	r2, [r6, #20]	@ zero_extendqisi2
	strb	r2, [r3, #4]
	ldrb	r2, [r6, #21]	@ zero_extendqisi2
	ldr	r3, [sp, #32]
	strb	r2, [r3, #5]
	ldrb	r3, [r6, #23]	@ zero_extendqisi2
	strb	r3, [sp, #9]
	bl	br_get_ticks
	mov	r3, r0
	add	r0, r6, #26
	str	r3, [sp, #24]
	bl	br_get_ticks
	mov	r3, r0
	add	r0, r6, #28
	str	r3, [sp, #20]
	bl	br_get_ticks
	mov	r3, r0
	add	r0, r6, #30
	str	r3, [sp, #16]
	bl	br_get_ticks
	mov	r3, r0
	mov	r1, sp
	mov	r0, r5
	str	r3, [sp, #12]
	bl	br_received_config_bpdu
	b	.L6
.L20:
	bl	__stack_chk_fail
.L22:
	.align	2
.L21:
	.word	.LC0
	.word	BR_KERNEL_STP
	.word	IFF_UP
	.word	BR_STATE_DISABLED
	.word	BPDU_TYPE_CONFIG
	.word	BPDU_TYPE_TCN
	.size	br_stp_rcv, .-br_stp_rcv
	.comm	IFF_UP,4,4
	.comm	BR_STATE_DISABLED,4,4
	.comm	BR_KERNEL_STP,4,4
	.comm	BPDU_TYPE_TCN,1,1
	.comm	BPDU_TYPE_CONFIG,1,1
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
