	.file	"extr_en_ethtool.c_mlx4_en_set_pauseparam.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Failed setting pause params\n"
	.text
	.p2align 4
	.type	mlx4_en_set_pauseparam, @function
mlx4_en_set_pauseparam:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	netdev_priv@PLT
	xor	ecx, ecx
	cmp	QWORD PTR [r12], 0
	mov	rdx, QWORD PTR ETH_FCS_LEN[rip]
	setne	cl
	mov	rdi, QWORD PTR 24[rax]
	mov	rbp, rax
	xor	r9d, r9d
	mov	rax, QWORD PTR [rax]
	cmp	QWORD PTR 8[r12], 0
	setne	r9b
	sub	rsp, 8
	.cfi_def_cfa_offset 40
	add	rdx, QWORD PTR 8[rbp]
	mov	esi, DWORD PTR 16[rbp]
	mov	DWORD PTR [rax], ecx
	mov	r8d, DWORD PTR 12[rax]
	mov	DWORD PTR 4[rax], r9d
	mov	eax, DWORD PTR 8[rax]
	push	rax
	.cfi_def_cfa_offset 48
	mov	edi, DWORD PTR [rdi]
	call	mlx4_SET_PORT_general@PLT
	pop	rdx
	.cfi_def_cfa_offset 40
	pop	rcx
	.cfi_def_cfa_offset 32
	mov	r12d, eax
	test	eax, eax
	jne	.L8
	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
	lea	rsi, .LC0[rip]
	call	en_err@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	mlx4_en_set_pauseparam, .-mlx4_en_set_pauseparam
	.comm	ETH_FCS_LEN,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_en_ethtool.c_mlx4_en_set_pauseparam.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Failed setting pause params\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mlx4_en_set_pauseparam, %function
mlx4_en_set_pauseparam:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r1
	sub	sp, sp, #16
	bl	netdev_priv
	ldm	r5, {r3, lr}
	subs	r3, r3, #0
	movne	r3, #1
	subs	lr, lr, #0
	movne	lr, #1
	mov	r4, r0
	ldr	ip, [r0]
	ldr	r1, [r0, #12]
	ldr	r6, [ip, #8]
	ldr	r2, .L9
	ldr	r5, [r4, #4]
	stm	ip, {r3, lr}
	ldr	r0, [r1]
	ldr	r1, [r4, #8]
	str	lr, [sp, #4]
	str	r6, [sp, #8]
	ldr	r2, [r2]
	ldr	ip, [ip, #12]
	add	r2, r5, r2
	str	ip, [sp]
	bl	mlx4_SET_PORT_general
	subs	r5, r0, #0
	bne	.L8
	mov	r0, r5
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, pc}
.L8:
	mov	r0, r4
	ldr	r1, .L9+4
	bl	en_err
	mov	r0, r5
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, pc}
.L10:
	.align	2
.L9:
	.word	ETH_FCS_LEN
	.word	.LC0
	.size	mlx4_en_set_pauseparam, .-mlx4_en_set_pauseparam
	.comm	ETH_FCS_LEN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
