	.file	"extr_de2104x.c_de_open.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"enabling interface\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"ring allocation failure, err=%d\n"
	.align 8
.LC2:
	.string	"IRQ %d request failure, err=%d\n"
	.section	.rodata.str1.1
.LC3:
	.string	"h/w init failure, err=%d\n"
	.text
	.p2align 4
	.type	de_open, @function
de_open:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rdi
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	netdev_priv@PLT
	mov	esi, DWORD PTR ifup[rip]
	mov	rdx, r14
	lea	rcx, .LC0[rip]
	mov	rbp, rax
	mov	rax, QWORD PTR 8[rax]
	mov	rdi, rbp
	mov	r13d, DWORD PTR [rax]
	call	netif_dbg@PLT
	mov	edx, DWORD PTR [r14]
	mov	rdi, rbp
	cmp	edx, 1500
	lea	eax, 32[rdx]
	cmovle	eax, DWORD PTR PKT_BUF_SZ[rip]
	mov	DWORD PTR 0[rbp], eax
	call	de_alloc_rings@PLT
	test	eax, eax
	jne	.L11
	mov	edi, DWORD PTR IntrMask[rip]
	xor	esi, esi
	call	dw32@PLT
	mov	ecx, DWORD PTR 4[r14]
	mov	r8, r14
	mov	edi, r13d
	mov	edx, DWORD PTR IRQF_SHARED[rip]
	mov	esi, DWORD PTR de_interrupt[rip]
	call	request_irq@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L12
	mov	rdi, rbp
	call	de_init_hw@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L13
	mov	rdi, r14
	call	netif_start_queue@PLT
	mov	rsi, QWORD PTR DE_TIMER_NO_LINK[rip]
	lea	rdi, 4[rbp]
	add	rsi, QWORD PTR jiffies[rip]
	call	mod_timer@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	mov	ecx, eax
	mov	edx, r13d
	lea	rsi, .LC2[rip]
	mov	rdi, r14
	xor	eax, eax
	call	netdev_err@PLT
.L7:
	mov	rdi, rbp
	call	de_free_rings@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	r12d, eax
	mov	edx, eax
	mov	rdi, r14
	xor	eax, eax
	lea	rsi, .LC1[rip]
	call	netdev_err@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	mov	edx, eax
	mov	rdi, r14
	lea	rsi, .LC3[rip]
	xor	eax, eax
	call	netdev_err@PLT
	mov	rsi, r14
	mov	edi, r13d
	call	free_irq@PLT
	jmp	.L7
	.cfi_endproc
.LFE0:
	.size	de_open, .-de_open
	.comm	jiffies,8,8
	.comm	ifup,4,4
	.comm	de_interrupt,4,4
	.comm	PKT_BUF_SZ,4,4
	.comm	IntrMask,4,4
	.comm	IRQF_SHARED,4,4
	.comm	DE_TIMER_NO_LINK,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_de2104x.c_de_open.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"enabling interface\012\000"
	.align	2
.LC1:
	.ascii	"ring allocation failure, err=%d\012\000"
	.align	2
.LC2:
	.ascii	"IRQ %d request failure, err=%d\012\000"
	.align	2
.LC3:
	.ascii	"h/w init failure, err=%d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	de_open, %function
de_open:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	sub	sp, sp, #12
	mov	r5, r0
	bl	netdev_priv
	mov	r6, r0
	ldr	r3, .L14
	ldr	ip, [r0, #8]
	ldr	r1, [r3]
	mov	r2, r5
	ldr	r3, .L14+4
	ldr	r7, [ip]
	bl	netif_dbg
	ldr	r3, [r5]
	ldr	r2, .L14+8
	mov	r0, r6
	cmp	r3, r2
	ldrle	r3, .L14+12
	addgt	r3, r3, #32
	ldrle	r3, [r3]
	str	r3, [r6]
	bl	de_alloc_rings
	subs	r4, r0, #0
	bne	.L11
	ldr	r3, .L14+16
	mov	r1, r4
	ldr	r0, [r3]
	bl	dw32
	ldr	r3, .L14+20
	ldr	r2, .L14+24
	str	r5, [sp]
	ldr	r1, [r3]
	mov	r0, r7
	ldr	r2, [r2]
	ldr	r3, [r5, #4]
	bl	request_irq
	subs	r4, r0, #0
	bne	.L12
	mov	r0, r6
	bl	de_init_hw
	subs	r4, r0, #0
	bne	.L13
	mov	r0, r5
	bl	netif_start_queue
	ldr	r2, .L14+28
	ldr	r3, .L14+32
	ldr	r1, [r2]
	ldr	r3, [r3]
	add	r0, r6, #4
	add	r1, r1, r3
	bl	mod_timer
	mov	r0, r4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L12:
	mov	r2, r7
	mov	r0, r5
	mov	r3, r4
	ldr	r1, .L14+36
	bl	netdev_err
.L7:
	mov	r0, r6
	bl	de_free_rings
	mov	r0, r4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L11:
	mov	r0, r5
	mov	r2, r4
	ldr	r1, .L14+40
	bl	netdev_err
	mov	r0, r4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L13:
	mov	r2, r4
	mov	r0, r5
	ldr	r1, .L14+44
	bl	netdev_err
	mov	r1, r5
	mov	r0, r7
	bl	free_irq
	b	.L7
.L15:
	.align	2
.L14:
	.word	ifup
	.word	.LC0
	.word	1500
	.word	PKT_BUF_SZ
	.word	IntrMask
	.word	de_interrupt
	.word	IRQF_SHARED
	.word	jiffies
	.word	DE_TIMER_NO_LINK
	.word	.LC2
	.word	.LC1
	.word	.LC3
	.size	de_open, .-de_open
	.comm	jiffies,4,4
	.comm	ifup,4,4
	.comm	de_interrupt,4,4
	.comm	PKT_BUF_SZ,4,4
	.comm	IntrMask,4,4
	.comm	IRQF_SHARED,4,4
	.comm	DE_TIMER_NO_LINK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
