	.file	"extr_bcm.c_bcm_send_to_user.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	bcm_send_to_user, @function
bcm_send_to_user:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	xor	eax, eax
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14d, ecx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rsi
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	r13d, DWORD PTR [rsi]
	imul	r13d, DWORD PTR CFSIZ[rip]
	mov	r15, QWORD PTR 8[rdi]
	mov	QWORD PTR [rsp], rdx
	call	gfp_any@PLT
	mov	esi, eax
	lea	edi, 8[r13]
	call	alloc_skb@PLT
	test	rax, rax
	je	.L1
	mov	esi, 8
	mov	rdi, rax
	mov	rbp, rax
	call	skb_put@PLT
	mov	edx, 8
	mov	rsi, rbx
	mov	edi, eax
	call	memcpy@PLT
	mov	eax, DWORD PTR [rbx]
	test	eax, eax
	jne	.L14
.L5:
	test	r14d, r14d
	jne	.L15
.L7:
	xor	edi, edi
	call	BUILD_BUG_ON@PLT
	mov	rbx, QWORD PTR 0[rbp]
	xor	esi, esi
	mov	edx, 8
	mov	rdi, rbx
	call	memset@PLT
	mov	eax, DWORD PTR AF_CAN[rip]
	mov	rsi, rbp
	mov	rdi, r15
	mov	DWORD PTR 4[rbx], eax
	mov	eax, DWORD PTR [r12]
	mov	DWORD PTR [rbx], eax
	call	sock_queue_rcv_skb@PLT
	test	eax, eax
	js	.L16
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	mov	eax, DWORD PTR 4[r12]
	mov	DWORD PTR 8[rbp], eax
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L14:
	mov	rdi, rbp
	call	skb_tail_pointer@PLT
	mov	esi, r13d
	mov	rdi, rbp
	mov	QWORD PTR 8[rsp], rax
	call	skb_put@PLT
	mov	rsi, QWORD PTR [rsp]
	mov	edx, r13d
	mov	edi, eax
	call	memcpy@PLT
	cmp	DWORD PTR [rbx], 1
	jne	.L5
	mov	rcx, QWORD PTR 8[rsp]
	mov	eax, DWORD PTR BCM_CAN_DLC_MASK[rip]
	and	DWORD PTR 4[rcx], eax
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L16:
	mov	rdi, r15
	call	bcm_sk@PLT
	mov	rdi, rbp
	mov	rbx, rax
	call	kfree_skb@PLT
	add	DWORD PTR [rbx], 1
	add	rsp, 24
	.cfi_def_cfa_offset 56
	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	bcm_send_to_user, .-bcm_send_to_user
	.comm	CFSIZ,4,4
	.comm	BCM_CAN_DLC_MASK,4,4
	.comm	AF_CAN,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_bcm.c_bcm_send_to_user.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	bcm_send_to_user, %function
bcm_send_to_user:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r5, r1
	ldr	r1, .L15
	ldr	r7, [r5]
	ldr	r1, [r1]
	mov	r9, r2
	mul	r7, r1, r7
	mov	r8, r3
	mov	r6, r0
	ldr	r10, [r0, #8]
	bl	gfp_any
	mov	r1, r0
	add	r0, r7, #8
	bl	alloc_skb
	subs	r4, r0, #0
	popeq	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
	mov	r1, #8
	bl	skb_put
	mov	r2, #8
	mov	r1, r5
	bl	memcpy
	ldr	r3, [r5]
	cmp	r3, #0
	bne	.L14
.L5:
	cmp	r8, #0
	ldrne	r3, [r6, #4]
	mov	r0, #1
	strne	r3, [r4, #4]
	bl	BUILD_BUG_ON
	ldr	r3, [r4]
	mov	r2, #8
	mov	r0, r3
	mov	r1, #0
	bl	memset
	mov	r3, r0
	ldr	r1, .L15+4
	ldr	r2, [r6]
	ldr	r0, [r1]
	mov	r1, r4
	str	r0, [r3, #4]
	str	r2, [r3]
	mov	r0, r10
	bl	sock_queue_rcv_skb
	cmp	r0, #0
	popge	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
	mov	r0, r10
	bl	bcm_sk
	mov	r5, r0
	mov	r0, r4
	bl	kfree_skb
	ldr	r3, [r5]
	add	r3, r3, #1
	str	r3, [r5]
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L14:
	mov	r0, r4
	bl	skb_tail_pointer
	mov	r1, r7
	mov	fp, r0
	mov	r0, r4
	bl	skb_put
	mov	r2, r7
	mov	r1, r9
	bl	memcpy
	ldr	r3, [r5]
	cmp	r3, #1
	ldreq	r2, .L15+8
	ldreq	r3, [fp, #4]
	ldreq	r2, [r2]
	andeq	r3, r3, r2
	streq	r3, [fp, #4]
	b	.L5
.L16:
	.align	2
.L15:
	.word	CFSIZ
	.word	AF_CAN
	.word	BCM_CAN_DLC_MASK
	.size	bcm_send_to_user, .-bcm_send_to_user
	.comm	CFSIZ,4,4
	.comm	BCM_CAN_DLC_MASK,4,4
	.comm	AF_CAN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
