	.file	"extr_dc_link.c_dc_link_set_preferred_training_settings.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	dc_link_set_preferred_training_settings
	.type	dc_link_set_preferred_training_settings, @function
dc_link_set_preferred_training_settings:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rcx
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	ebx, r8d
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	test	rdx, rdx
	je	.L2
	mov	eax, DWORD PTR [rdx]
	mov	DWORD PTR 8[rcx], eax
.L3:
	test	r12, r12
	je	.L4
	mov	rax, QWORD PTR [r12]
	mov	QWORD PTR 0[rbp], rax
.L5:
	test	ebx, ebx
	je	.L9
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rdx, rbp
	mov	rsi, rbp
	mov	rdi, r13
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	dc_link_set_preferred_link_settings@PLT
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	eax, DWORD PTR LANE_COUNT_UNKNOWN[rip]
	mov	DWORD PTR 4[rbp], eax
	mov	eax, DWORD PTR LINK_RATE_UNKNOWN[rip]
	mov	DWORD PTR 0[rbp], eax
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L2:
	lea	rdi, 8[rcx]
	mov	edx, 4
	xor	esi, esi
	call	memset@PLT
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	dc_link_set_preferred_training_settings, .-dc_link_set_preferred_training_settings
	.comm	LINK_RATE_UNKNOWN,4,4
	.comm	LANE_COUNT_UNKNOWN,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_dc_link.c_dc_link_set_preferred_training_settings.c"
	.text
	.align	2
	.global	dc_link_set_preferred_training_settings
	.syntax unified
	.arm
	.fpu softvfp
	.type	dc_link_set_preferred_training_settings, %function
dc_link_set_preferred_training_settings:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	subs	ip, r2, #0
	mov	r2, r3
	str	lr, [sp, #-4]!
	mov	lr, r0
	ldrne	r0, [ip]
	addeq	r0, r2, #8
	strne	r0, [r2, #8]
	strbeq	ip, [r2, #8]
	strbeq	ip, [r2, #9]
	strbeq	ip, [r2, #10]
	strbeq	ip, [r2, #11]
	cmp	r1, #0
	ldreq	r0, .L9
	ldreq	r1, .L9+4
	ldreq	r0, [r0]
	ldreq	r1, [r1]
	ldr	r3, [sp, #4]
	ldmne	r1, {r0, r1}
	streq	r0, [r2, #4]
	stmne	r2, {r0, r1}
	streq	r1, [r2]
	cmp	r3, #0
	ldrne	pc, [sp], #4
	mov	r0, lr
	mov	r1, r2
	ldr	lr, [sp], #4
	b	dc_link_set_preferred_link_settings
.L10:
	.align	2
.L9:
	.word	LANE_COUNT_UNKNOWN
	.word	LINK_RATE_UNKNOWN
	.size	dc_link_set_preferred_training_settings, .-dc_link_set_preferred_training_settings
	.comm	LINK_RATE_UNKNOWN,4,4
	.comm	LANE_COUNT_UNKNOWN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
