	.file	"extr_dpaa_eth.c_dpaa_open.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"mac_dev->start() = %d\n"
	.text
	.p2align 4
	.type	dpaa_open, @function
dpaa_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
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	xor	ebx, ebx
	call	netdev_priv@PLT
	mov	rdi, rax
	mov	rbp, QWORD PTR [rax]
	mov	r12, rax
	call	dpaa_eth_napi_enable@PLT
	mov	rdi, r14
	call	dpaa_phy_init@PLT
	mov	r13d, eax
	test	eax, eax
	je	.L3
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rax, QWORD PTR 8[rbp]
	mov	edi, DWORD PTR [rax+rbx*4]
	add	rbx, 1
	call	fman_port_enable@PLT
	test	eax, eax
	jne	.L10
.L3:
	mov	rdi, QWORD PTR 8[rbp]
	call	ARRAY_SIZE@PLT
	cmp	eax, ebx
	jg	.L5
	mov	rax, QWORD PTR [r12]
	mov	rdi, rbp
	call	[QWORD PTR [rax]]
	mov	ebx, eax
	test	eax, eax
	js	.L13
	mov	rdi, r14
	call	netif_tx_start_all_queues@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r13d
	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
.L10:
	.cfi_restore_state
	mov	r13d, eax
.L4:
	xor	ebx, ebx
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L9:
	mov	rax, QWORD PTR 8[rbp]
	mov	edi, DWORD PTR [rax+rbx*4]
	add	rbx, 1
	call	fman_port_disable@PLT
.L8:
	mov	rdi, QWORD PTR 8[rbp]
	call	ARRAY_SIZE@PLT
	cmp	eax, ebx
	jg	.L9
.L2:
	mov	rdi, r12
	call	dpaa_eth_napi_disable@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r13d
	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	esi, DWORD PTR ifup[rip]
	mov	r8d, eax
	mov	rdx, r14
	mov	rdi, r12
	lea	rcx, .LC0[rip]
	mov	r13d, ebx
	call	netif_err@PLT
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	dpaa_open, .-dpaa_open
	.comm	ifup,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_dpaa_eth.c_dpaa_open.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"mac_dev->start() = %d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	dpaa_open, %function
dpaa_open:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	sub	sp, sp, #12
	mov	r9, r0
	bl	netdev_priv
	mov	r8, r0
	ldr	r6, [r0]
	bl	dpaa_eth_napi_enable
	mov	r0, r9
	bl	dpaa_phy_init
	subs	r7, r0, #0
	moveq	r5, r7
	beq	.L3
	b	.L13
.L5:
	ldr	r3, [r6, #4]
	ldr	r0, [r3, r5, lsl #2]
	bl	fman_port_enable
	subs	r4, r0, #0
	bne	.L8
	add	r5, r5, #1
.L3:
	ldr	r0, [r6, #4]
	bl	ARRAY_SIZE
	cmp	r0, r5
	bgt	.L5
	ldr	r3, [r8]
	mov	r0, r6
	ldr	r3, [r3]
	blx	r3
	subs	r4, r0, #0
	blt	.L14
	mov	r4, #0
	mov	r0, r9
	bl	netif_tx_start_all_queues
	mov	r0, r4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L9:
	ldr	r3, [r6, #4]
	ldr	r0, [r3, r7, lsl #2]
	bl	fman_port_disable
	add	r7, r7, #1
.L8:
	ldr	r0, [r6, #4]
	bl	ARRAY_SIZE
	cmp	r0, r7
	bgt	.L9
.L2:
	mov	r0, r8
	bl	dpaa_eth_napi_disable
	mov	r0, r4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L13:
	mov	r4, r7
	b	.L2
.L14:
.L4:
	ldr	r3, .L15
	str	r4, [sp]
	ldr	r1, [r3]
	mov	r2, r9
	mov	r0, r8
	ldr	r3, .L15+4
	bl	netif_err
	b	.L8
.L16:
	.align	2
.L15:
	.word	ifup
	.word	.LC0
	.size	dpaa_open, .-dpaa_open
	.comm	ifup,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
