	.file	"extr_t4_hw.c_t4_restart_aneg.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	t4_restart_aneg
	.type	t4_restart_aneg, @function
t4_restart_aneg:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14d, edx
	mov	edx, 24
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12d, esi
	xor	esi, esi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	sub	rsp, 32
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	r13, rsp
	mov	rdi, r13
	call	memset@PLT
	mov	edi, DWORD PTR FW_PORT_CMD[rip]
	call	V_FW_CMD_OP@PLT
	mov	ebx, DWORD PTR F_FW_CMD_REQUEST[rip]
	mov	edi, r14d
	or	ebx, DWORD PTR F_FW_CMD_EXEC[rip]
	or	ebx, eax
	call	V_FW_PORT_CMD_PORTID@PLT
	or	ebx, eax
	mov	edi, ebx
	call	cpu_to_be32@PLT
	mov	edi, DWORD PTR FW_PORT_ACTION_L1_CFG[rip]
	mov	QWORD PTR 16[rsp], rax
	call	V_FW_PORT_CMD_ACTION@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 88
	push	QWORD PTR 24[rsp]
	.cfi_def_cfa_offset 96
	mov	ebx, eax
	push	QWORD PTR 24[rsp]
	.cfi_def_cfa_offset 104
	push	QWORD PTR 24[rsp]
	.cfi_def_cfa_offset 112
	call	FW_LEN16@PLT
	add	rsp, 32
	.cfi_def_cfa_offset 80
	or	ebx, eax
	mov	edi, ebx
	call	cpu_to_be32@PLT
	mov	edi, DWORD PTR FW_PORT_CAP_ANEG[rip]
	mov	QWORD PTR 8[rsp], rax
	call	cpu_to_be32@PLT
	xor	r8d, r8d
	mov	ecx, 24
	mov	rdx, r13
	mov	esi, r12d
	mov	rdi, rbp
	mov	QWORD PTR [rsp], rax
	call	t4_wr_mbox@PLT
	mov	rcx, QWORD PTR 24[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L5
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbx
	.cfi_def_cfa_offset 40
	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
.L5:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	t4_restart_aneg, .-t4_restart_aneg
	.comm	F_FW_CMD_REQUEST,4,4
	.comm	F_FW_CMD_EXEC,4,4
	.comm	FW_PORT_CMD,4,4
	.comm	FW_PORT_CAP_ANEG,4,4
	.comm	FW_PORT_ACTION_L1_CFG,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_t4_hw.c_t4_restart_aneg.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	t4_restart_aneg
	.syntax unified
	.arm
	.fpu softvfp
	.type	t4_restart_aneg, %function
t4_restart_aneg:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	mov	r6, #0
	ldr	r3, .L6
	mov	r7, r0
	ldr	r0, [r3]
	ldr	r3, .L6+4
	sub	sp, sp, #28
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	mov	r9, r2
	mov	r8, r1
	str	r6, [sp, #8]
	str	r6, [sp, #12]
	str	r6, [sp, #16]
	bl	V_FW_CMD_OP
	mov	r3, r0
	ldr	r1, .L6+8
	ldr	r2, .L6+12
	ldr	r5, [r1]
	ldr	r2, [r2]
	mov	r0, r9
	orr	r5, r5, r2
	orr	r5, r5, r3
	bl	V_FW_PORT_CMD_PORTID
	orr	r0, r5, r0
	bl	cpu_to_be32
	ldr	r3, .L6+16
	str	r0, [sp, #16]
	ldr	r0, [r3]
	bl	V_FW_PORT_CMD_ACTION
	add	r4, sp, #8
	mov	r5, r0
	ldm	r4, {r0, r1, r2}
	bl	FW_LEN16
	orr	r0, r5, r0
	bl	cpu_to_be32
	ldr	r3, .L6+20
	str	r0, [sp, #12]
	ldr	r0, [r3]
	bl	cpu_to_be32
	mov	ip, r0
	mov	r2, r4
	mov	r3, #12
	mov	r1, r8
	mov	r0, r7
	str	r6, [sp]
	str	ip, [sp, #8]
	bl	t4_wr_mbox
	ldr	r3, .L6+4
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L5
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L5:
	bl	__stack_chk_fail
.L7:
	.align	2
.L6:
	.word	FW_PORT_CMD
	.word	.LC0
	.word	F_FW_CMD_REQUEST
	.word	F_FW_CMD_EXEC
	.word	FW_PORT_ACTION_L1_CFG
	.word	FW_PORT_CAP_ANEG
	.size	t4_restart_aneg, .-t4_restart_aneg
	.comm	F_FW_CMD_REQUEST,4,4
	.comm	F_FW_CMD_EXEC,4,4
	.comm	FW_PORT_CMD,4,4
	.comm	FW_PORT_CAP_ANEG,4,4
	.comm	FW_PORT_ACTION_L1_CFG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
