	.file	"extr_arcnet.c_arcnet_header.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"create header from %d to %d; protocol %d (%Xh); size %u.\n"
	.align 8
.LC1:
	.string	"arcnet_header: Yikes!  skb->len(%d) != len(%d)!\n"
	.align 8
.LC2:
	.string	"arc_raw_proto used. proto='%c'\n"
	.align 8
.LC3:
	.string	"arcnet_header: Yikes!  diff (%u) is not 2!\n"
	.align 8
.LC4:
	.string	"building header for %02Xh using protocol '%c'\n"
	.align 8
.LC5:
	.string	"actually, let's use '%c' instead.\n"
	.text
	.p2align 4
	.type	arcnet_header, @function
arcnet_header:
.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
	mov	r14d, edx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdi
	mov	rdi, rsi
	movzx	r15d, r14w
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, r9d
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rcx
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	QWORD PTR [rsp], r8
	call	netdev_priv@PLT
	test	rbx, rbx
	mov	rdx, QWORD PTR [rsp]
	mov	r8d, -1
	mov	QWORD PTR 8[rsp], rax
	je	.L2
	mov	r8d, DWORD PTR [rbx]
.L2:
	mov	ecx, -1
	test	rdx, rdx
	je	.L3
	mov	ecx, DWORD PTR [rdx]
.L3:
	push	r12
	.cfi_def_cfa_offset 88
	mov	edi, DWORD PTR D_DURING[rip]
	mov	r9d, r15d
	mov	rsi, rbp
	push	r15
	.cfi_def_cfa_offset 96
	lea	rdx, .LC0[rip]
	xor	eax, eax
	call	arc_printk@PLT
	mov	ecx, DWORD PTR 0[r13]
	pop	rax
	.cfi_def_cfa_offset 88
	pop	rdx
	.cfi_def_cfa_offset 80
	cmp	ecx, r12d
	je	.L4
	test	ecx, ecx
	jne	.L26
.L4:
	cmp	WORD PTR ETH_P_ARCNET[rip], r14w
	je	.L27
.L5:
	test	rbx, rbx
	je	.L28
	mov	rax, QWORD PTR 8[rsp]
	movsx	rdx, DWORD PTR [rbx]
	mov	rsi, rbp
	mov	edi, DWORD PTR D_DURING[rip]
	mov	rax, QWORD PTR [rax]
	mov	r14, rdx
	movsx	rdx, DWORD PTR [rax+rdx*4]
	mov	rax, QWORD PTR arc_proto_map[rip]
	mov	r12, QWORD PTR [rax+rdx*8]
	mov	rcx, rdx
	xor	eax, eax
	lea	rdx, .LC4[rip]
	mov	r8d, DWORD PTR [r12]
	call	arc_printk@PLT
	lea	rax, arc_proto_null[rip]
	cmp	r12, rax
	je	.L29
.L6:
	mov	rax, QWORD PTR 8[r12]
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	ecx, r14d
	mov	edx, r15d
	pop	rbx
	.cfi_def_cfa_offset 48
	mov	rsi, rbp
	mov	rdi, r13
	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
	jmp	rax
	.p2align 4,,10
	.p2align 3
.L26:
	.cfi_restore_state
	mov	edi, DWORD PTR D_NORMAL[rip]
	xor	eax, eax
	mov	r8d, r12d
	mov	rsi, rbp
	lea	rdx, .LC1[rip]
	call	arc_printk@PLT
	cmp	WORD PTR ETH_P_ARCNET[rip], r14w
	jne	.L5
.L27:
	mov	r12, QWORD PTR arc_raw_proto[rip]
	mov	rsi, rbp
	xor	eax, eax
	xor	r14d, r14d
	mov	edi, DWORD PTR D_DEBUG[rip]
	lea	rdx, .LC2[rip]
	mov	ecx, DWORD PTR [r12]
	call	arc_printk@PLT
	test	rbx, rbx
	je	.L6
	mov	r14d, DWORD PTR [rbx]
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L29:
	mov	r12, QWORD PTR arc_bcast_proto[rip]
	cmp	r12, rax
	je	.L6
	mov	ecx, DWORD PTR [r12]
	mov	edi, DWORD PTR D_DURING[rip]
	mov	rsi, rbp
	xor	eax, eax
	lea	rdx, .LC5[rip]
	call	arc_printk@PLT
	mov	r12, QWORD PTR arc_bcast_proto[rip]
	jmp	.L6
.L28:
	mov	esi, 2
	mov	rdi, r13
	call	skb_push@PLT
	mov	ecx, DWORD PTR 4[r13]
	sub	ecx, DWORD PTR 8[r13]
	mov	WORD PTR [rax], r14w
	cmp	ecx, 2
	je	.L1
	mov	edi, DWORD PTR D_NORMAL[rip]
	lea	rdx, .LC3[rip]
	mov	rsi, rbp
	xor	eax, eax
	call	arc_printk@PLT
.L1:
	add	rsp, 24
	.cfi_def_cfa_offset 56
	mov	eax, -2
	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	arcnet_header, .-arcnet_header
	.comm	arc_raw_proto,8,8
	.comm	arc_proto_null,16,16
	.comm	arc_proto_map,8,8
	.comm	arc_bcast_proto,8,8
	.comm	ETH_P_ARCNET,2,2
	.comm	D_NORMAL,4,4
	.comm	D_DURING,4,4
	.comm	D_DEBUG,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_arcnet.c_arcnet_header.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"create header from %d to %d; protocol %d (%Xh); siz"
	.ascii	"e %u.\012\000"
	.align	2
.LC1:
	.ascii	"arcnet_header: Yikes!  skb->len(%d) != len(%d)!\012"
	.ascii	"\000"
	.align	2
.LC2:
	.ascii	"arc_raw_proto used. proto='%c'\012\000"
	.align	2
.LC3:
	.ascii	"arcnet_header: Yikes!  diff (%u) is not 2!\012\000"
	.align	2
.LC4:
	.ascii	"building header for %02Xh using protocol '%c'\012\000"
	.align	2
.LC5:
	.ascii	"actually, let's use '%c' instead.\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	arcnet_header, %function
arcnet_header:
	@ args = 8, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r4, r3
	sub	sp, sp, #20
	ldr	fp, [sp, #56]
	mov	r7, r0
	mov	r0, r1
	mov	r6, r2
	ldr	r10, [sp, #60]
	mov	r5, r1
	bl	netdev_priv
	cmp	fp, #0
	ldrne	r3, [fp]
	mvneq	r3, #0
	cmp	r4, #0
	mvneq	r2, #0
	ldrne	r2, [r4]
	ldr	r9, .L23
	stm	sp, {r2, r6}
	mov	r8, r0
	mov	r1, r5
	ldr	r0, [r9]
	ldr	r2, .L23+4
	str	r10, [sp, #12]
	str	r6, [sp, #8]
	bl	arc_printk
	ldr	r3, [r7]
	cmp	r3, r10
	cmpne	r3, #0
	bne	.L19
	ldr	r3, .L23+8
	ldrh	r3, [r3]
	cmp	r3, r6
	beq	.L20
.L5:
	cmp	r4, #0
	beq	.L21
	ldr	r3, [r8]
	ldr	r4, [r4]
	ldr	r2, .L23+12
	ldr	r3, [r3, r4, lsl #2]
	ldr	r2, [r2]
	mov	r1, r5
	ldr	r8, [r2, r3, lsl #2]
	ldr	r2, .L23+16
	ldr	r0, [r8]
	str	r0, [sp]
	ldr	r0, [r9]
	bl	arc_printk
	ldr	r3, .L23+20
	cmp	r8, r3
	beq	.L22
.L6:
	ldr	lr, [r8, #4]
	mov	r3, r4
	mov	r2, r6
	mov	r1, r5
	mov	r0, r7
	mov	ip, lr
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	bx	ip
.L19:
	ldr	r2, .L23+24
	str	r10, [sp]
	ldr	r0, [r2]
	mov	r1, r5
	ldr	r2, .L23+28
	bl	arc_printk
	ldr	r3, .L23+8
	ldrh	r3, [r3]
	cmp	r3, r6
	bne	.L5
.L20:
	ldr	r2, .L23+32
	ldr	r3, .L23+36
	ldr	r8, [r2]
	ldr	r0, [r3]
	mov	r1, r5
	ldr	r3, [r8]
	ldr	r2, .L23+40
	bl	arc_printk
	cmp	r4, #0
	ldrne	r4, [r4]
	b	.L6
.L22:
	ldr	r10, .L23+44
	ldr	r8, [r10]
	cmp	r8, r3
	beq	.L6
	ldr	r3, [r8]
	mov	r1, r5
	ldr	r0, [r9]
	ldr	r2, .L23+48
	bl	arc_printk
	ldr	r8, [r10]
	b	.L6
.L21:
	mov	r1, #2
	mov	r0, r7
	bl	skb_push
	ldr	r3, [r7, #4]
	ldr	r2, [r7, #8]
	strh	r6, [r0]	@ movhi
	sub	r3, r3, r2
	cmp	r3, #2
	beq	.L1
	ldr	r2, .L23+24
	mov	r1, r5
	ldr	r0, [r2]
	ldr	r2, .L23+52
	bl	arc_printk
.L1:
	mvn	r0, #1
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L24:
	.align	2
.L23:
	.word	D_DURING
	.word	.LC0
	.word	ETH_P_ARCNET
	.word	arc_proto_map
	.word	.LC4
	.word	arc_proto_null
	.word	D_NORMAL
	.word	.LC1
	.word	arc_raw_proto
	.word	D_DEBUG
	.word	.LC2
	.word	arc_bcast_proto
	.word	.LC5
	.word	.LC3
	.size	arcnet_header, .-arcnet_header
	.comm	arc_raw_proto,4,4
	.comm	arc_proto_null,8,4
	.comm	arc_proto_map,4,4
	.comm	arc_bcast_proto,4,4
	.comm	ETH_P_ARCNET,2,2
	.comm	D_NORMAL,4,4
	.comm	D_DURING,4,4
	.comm	D_DEBUG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
