	.file	"extr_lcs.c_lcs_get_skb.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"getskb"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	" Allocating a socket buffer to interface %s failed\n"
	.text
	.p2align 4
	.type	lcs_get_skb, @function
lcs_get_skb:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13d, edx
	lea	rdx, .LC0[rip]
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	mov	edi, 5
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	esi, DWORD PTR trace[rip]
	call	LCS_DBF_TEXT@PLT
	cmp	QWORD PTR 40[rbx], 0
	je	.L1
	mov	rax, QWORD PTR DEV_STATE_UP[rip]
	cmp	QWORD PTR [rbx], rax
	je	.L7
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	edi, r13d
	call	dev_alloc_skb@PLT
	mov	r12, rax
	test	rax, rax
	je	.L8
	mov	rsi, rbp
	mov	edx, r13d
	mov	rdi, rax
	call	skb_put_data@PLT
	mov	rdi, r12
	mov	rsi, QWORD PTR 40[rbx]
	call	[QWORD PTR 8[rbx]]
	mov	edi, DWORD PTR ETH_P_802_2[rip]
	mov	QWORD PTR [r12], rax
	mov	rbp, rax
	add	DWORD PTR 24[rbx], r13d
	add	DWORD PTR 28[rbx], 1
	call	htons@PLT
	cmp	rbp, rax
	je	.L9
.L4:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rdi, r12
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	netif_rx@PLT
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	rax, QWORD PTR 16[rbx]
	mov	rdx, QWORD PTR 8[r12]
	add	rax, 1
	mov	QWORD PTR 16[rbx], rax
	mov	QWORD PTR [rdx], rax
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L8:
	mov	rax, QWORD PTR 40[rbx]
	lea	rsi, .LC1[rip]
	mov	edx, DWORD PTR [rax]
	lea	rdi, 4[rax]
	call	dev_err@PLT
	add	DWORD PTR 32[rbx], 1
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	lcs_get_skb, .-lcs_get_skb
	.comm	trace,4,4
	.comm	ETH_P_802_2,4,4
	.comm	DEV_STATE_UP,8,8
	.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_lcs.c_lcs_get_skb.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"getskb\000"
	.align	2
.LC1:
	.ascii	" Allocating a socket buffer to interface %s failed\012"
	.ascii	"\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	lcs_get_skb, %function
lcs_get_skb:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	mov	r6, r1
	ldr	r1, .L11
	mov	r5, r2
	mov	r0, #5
	ldr	r2, .L11+4
	ldr	r1, [r1]
	bl	LCS_DBF_TEXT
	ldr	r3, [r4, #24]
	cmp	r3, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	ldr	r3, .L11+8
	ldr	r2, [r4]
	ldr	r3, [r3]
	cmp	r2, r3
	popne	{r4, r5, r6, r7, r8, pc}
	mov	r0, r5
	bl	dev_alloc_skb
	subs	r7, r0, #0
	beq	.L10
	mov	r2, r5
	mov	r1, r6
	bl	skb_put_data
	ldr	r3, [r4, #4]
	ldr	r1, [r4, #24]
	mov	r0, r7
	blx	r3
	ldr	r2, [r4, #16]
	ldr	r3, [r4, #12]
	ldr	r1, .L11+12
	add	r3, r3, r5
	add	r2, r2, #1
	str	r0, [r7]
	mov	r6, r0
	str	r3, [r4, #12]
	str	r2, [r4, #16]
	ldr	r0, [r1]
	bl	htons
	cmp	r6, r0
	ldreq	r3, [r4, #8]
	ldreq	r2, [r7, #4]
	addeq	r3, r3, #1
	streq	r3, [r4, #8]
	mov	r0, r7
	pop	{r4, r5, r6, r7, r8, lr}
	streq	r3, [r2]
	b	netif_rx
.L10:
	ldr	r0, [r4, #24]
	ldr	r1, .L11+16
	ldr	r2, [r0], #4
	bl	dev_err
	ldr	r3, [r4, #20]
	add	r3, r3, #1
	str	r3, [r4, #20]
	pop	{r4, r5, r6, r7, r8, pc}
.L12:
	.align	2
.L11:
	.word	trace
	.word	.LC0
	.word	DEV_STATE_UP
	.word	ETH_P_802_2
	.word	.LC1
	.size	lcs_get_skb, .-lcs_get_skb
	.comm	trace,4,4
	.comm	ETH_P_802_2,4,4
	.comm	DEV_STATE_UP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
