	.file	"extr_en_netdev.c_mlx4_en_open.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Cannot open - device down/disabled\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"Failed starting port:%d\n"
	.text
	.p2align 4
	.type	mlx4_en_open, @function
mlx4_en_open:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	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
	mov	rbp, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	netdev_priv@PLT
	mov	r14, QWORD PTR 8[rax]
	mov	r12, rax
	mov	rdi, r14
	call	mutex_lock@PLT
	mov	eax, DWORD PTR 4[r14]
	test	eax, eax
	je	.L9
	mov	rdi, rbp
	call	mlx4_en_clear_stats@PLT
	mov	rdi, rbp
	call	mlx4_en_start_port@PLT
	mov	r13d, eax
	test	eax, eax
	jne	.L10
.L3:
	mov	rdi, r14
	call	mutex_unlock@PLT
	add	rsp, 8
	.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	edx, DWORD PTR [r12]
	lea	rsi, .LC1[rip]
	mov	rdi, r12
	xor	eax, eax
	call	en_err@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L9:
	lea	rsi, .LC0[rip]
	mov	rdi, r12
	xor	eax, eax
	call	en_err@PLT
	mov	r13d, DWORD PTR EBUSY[rip]
	neg	r13d
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	mlx4_en_open, .-mlx4_en_open
	.comm	EBUSY,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_en_netdev.c_mlx4_en_open.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Cannot open - device down/disabled\012\000"
	.align	2
.LC1:
	.ascii	"Failed starting port:%d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mlx4_en_open, %function
mlx4_en_open:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r0
	bl	netdev_priv
	ldr	r6, [r0, #4]
	mov	r4, r0
	mov	r0, r6
	bl	mutex_lock
	ldr	r3, [r6, #4]
	cmp	r3, #0
	beq	.L9
	mov	r0, r5
	bl	mlx4_en_clear_stats
	mov	r0, r5
	bl	mlx4_en_start_port
	subs	r5, r0, #0
	bne	.L10
.L3:
	mov	r0, r6
	bl	mutex_unlock
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L10:
	mov	r0, r4
	ldr	r2, [r4]
	ldr	r1, .L11
	bl	en_err
	b	.L3
.L9:
	mov	r0, r4
	ldr	r1, .L11+4
	bl	en_err
	ldr	r3, .L11+8
	ldr	r5, [r3]
	rsb	r5, r5, #0
	b	.L3
.L12:
	.align	2
.L11:
	.word	.LC1
	.word	.LC0
	.word	EBUSY
	.size	mlx4_en_open, .-mlx4_en_open
	.comm	EBUSY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
