	.file	"extr_e100.c_e100_up.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	e100_up, @function
e100_up:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	e100_rx_alloc_list@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L8
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	rdi, rbp
	call	e100_alloc_cbs@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L3
	mov	rdi, rbp
	call	e100_hw_init@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L9
.L4:
	mov	rdi, rbp
	call	e100_clean_cbs@PLT
.L3:
	mov	rdi, rbp
	call	e100_rx_clean_list@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	rdi, QWORD PTR 8[rbp]
	call	e100_set_multicast_list@PLT
	xor	esi, esi
	mov	rdi, rbp
	call	e100_start_receiver@PLT
	mov	esi, DWORD PTR jiffies[rip]
	mov	rdi, rbp
	call	mod_timer@PLT
	mov	r8, QWORD PTR 8[rbp]
	mov	rax, QWORD PTR 16[rbp]
	mov	edx, DWORD PTR IRQF_SHARED[rip]
	mov	esi, DWORD PTR e100_intr[rip]
	mov	ecx, DWORD PTR [r8]
	mov	edi, DWORD PTR [rax]
	call	request_irq@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L10
	mov	rdi, QWORD PTR 8[rbp]
	call	netif_wake_queue@PLT
	lea	rdi, 4[rbp]
	call	napi_enable@PLT
	mov	rdi, rbp
	call	e100_enable_irq@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L10:
	mov	rdi, rbp
	call	del_timer_sync@PLT
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	e100_up, .-e100_up
	.comm	jiffies,4,4
	.comm	e100_intr,4,4
	.comm	IRQF_SHARED,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_e100.c_e100_up.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	e100_up, %function
e100_up:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	sub	sp, sp, #12
	mov	r5, r0
	bl	e100_rx_alloc_list
	subs	r4, r0, #0
	beq	.L8
.L1:
	mov	r0, r4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, pc}
.L8:
	mov	r0, r5
	bl	e100_alloc_cbs
	subs	r4, r0, #0
	bne	.L3
	mov	r0, r5
	bl	e100_hw_init
	subs	r4, r0, #0
	beq	.L9
.L4:
	mov	r0, r5
	bl	e100_clean_cbs
.L3:
	mov	r0, r5
	bl	e100_rx_clean_list
	mov	r0, r4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, pc}
.L9:
	ldr	r0, [r5, #8]
	bl	e100_set_multicast_list
	mov	r1, r4
	mov	r0, r5
	bl	e100_start_receiver
	ldr	r3, .L11
	mov	r0, r5
	ldr	r1, [r3]
	bl	mod_timer
	ldr	r1, [r5, #12]
	ldr	r2, [r5, #8]
	ldr	r0, [r1]
	ldr	ip, .L11+4
	ldr	r1, .L11+8
	ldr	r3, [r2]
	str	r2, [sp]
	ldr	r1, [r1]
	ldr	r2, [ip]
	bl	request_irq
	subs	r4, r0, #0
	bne	.L10
	ldr	r0, [r5, #8]
	bl	netif_wake_queue
	add	r0, r5, #4
	bl	napi_enable
	mov	r0, r5
	bl	e100_enable_irq
	b	.L1
.L10:
	mov	r0, r5
	bl	del_timer_sync
	b	.L4
.L12:
	.align	2
.L11:
	.word	jiffies
	.word	IRQF_SHARED
	.word	e100_intr
	.size	e100_up, .-e100_up
	.comm	jiffies,4,4
	.comm	e100_intr,4,4
	.comm	IRQF_SHARED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
