	.file	"extr_pch_gbe_ethtool.c_pch_gbe_set_pauseparam.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	pch_gbe_set_pauseparam, @function
pch_gbe_set_pauseparam:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	netdev_priv@PLT
	cmp	QWORD PTR 16[rbx], 0
	mov	rbp, rax
	mov	rax, QWORD PTR [rbx]
	mov	QWORD PTR 8[rbp], rax
	jne	.L12
	cmp	QWORD PTR 8[rbx], 0
	je	.L5
	mov	edx, DWORD PTR PCH_GBE_FC_TX_PAUSE[rip]
	cmp	rax, QWORD PTR AUTONEG_ENABLE[rip]
	mov	DWORD PTR 16[rbp], edx
	jne	.L6
	.p2align 4,,10
	.p2align 3
.L14:
	mov	edi, DWORD PTR 0[rbp]
	call	netif_running@PLT
	mov	rdi, rbp
	test	rax, rax
	je	.L7
	call	pch_gbe_down@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	pch_gbe_up@PLT
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	cmp	QWORD PTR 8[rbx], 0
	jne	.L13
	mov	edx, DWORD PTR PCH_GBE_FC_RX_PAUSE[rip]
	mov	DWORD PTR 16[rbp], edx
.L4:
	cmp	rax, QWORD PTR AUTONEG_ENABLE[rip]
	je	.L14
.L6:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	lea	rdi, 8[rbp]
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	pch_gbe_mac_force_mac_fc@PLT
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	mov	edx, DWORD PTR PCH_GBE_FC_FULL[rip]
	mov	DWORD PTR 16[rbp], edx
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L5:
	mov	edx, DWORD PTR PCH_GBE_FC_NONE[rip]
	mov	DWORD PTR 16[rbp], edx
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L7:
	call	pch_gbe_reset@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	pch_gbe_set_pauseparam, .-pch_gbe_set_pauseparam
	.comm	PCH_GBE_FC_TX_PAUSE,4,4
	.comm	PCH_GBE_FC_RX_PAUSE,4,4
	.comm	PCH_GBE_FC_NONE,4,4
	.comm	PCH_GBE_FC_FULL,4,4
	.comm	AUTONEG_ENABLE,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_pch_gbe_ethtool.c_pch_gbe_set_pauseparam.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	pch_gbe_set_pauseparam, %function
pch_gbe_set_pauseparam:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r1
	bl	netdev_priv
	ldr	r2, [r5, #8]
	ldr	r3, [r5]
	cmp	r2, #0
	mov	r4, r0
	ldr	r2, [r5, #4]
	str	r3, [r0, #4]
	bne	.L12
	cmp	r2, #0
	ldrne	r2, .L14
	ldreq	r2, .L14+4
	ldr	r2, [r2]
	str	r2, [r0, #8]
	ldr	r2, .L14+8
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L13
.L6:
	add	r0, r4, #4
	pop	{r4, r5, r6, lr}
	b	pch_gbe_mac_force_mac_fc
.L12:
	cmp	r2, #0
	ldrne	r2, .L14+12
	ldreq	r2, .L14+16
	ldr	r2, [r2]
	str	r2, [r0, #8]
	ldr	r2, .L14+8
	ldr	r2, [r2]
	cmp	r3, r2
	bne	.L6
.L13:
	ldr	r0, [r4]
	bl	netif_running
	subs	r5, r0, #0
	mov	r0, r4
	beq	.L7
	bl	pch_gbe_down
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	pch_gbe_up
.L7:
	bl	pch_gbe_reset
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L15:
	.align	2
.L14:
	.word	PCH_GBE_FC_TX_PAUSE
	.word	PCH_GBE_FC_NONE
	.word	AUTONEG_ENABLE
	.word	PCH_GBE_FC_FULL
	.word	PCH_GBE_FC_RX_PAUSE
	.size	pch_gbe_set_pauseparam, .-pch_gbe_set_pauseparam
	.comm	PCH_GBE_FC_TX_PAUSE,4,4
	.comm	PCH_GBE_FC_RX_PAUSE,4,4
	.comm	PCH_GBE_FC_NONE,4,4
	.comm	PCH_GBE_FC_FULL,4,4
	.comm	AUTONEG_ENABLE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
