	.file	"extr_dc_link_hwss.c_core_link_write_dpcd.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	core_link_write_dpcd
	.type	core_link_write_dpcd, @function
core_link_write_dpcd:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR 4[rdi]
	test	eax, eax
	je	.L10
	mov	eax, DWORD PTR DC_OK[rip]
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	mov	r8d, ecx
	mov	rcx, rdx
	mov	edx, esi
	mov	rsi, rdi
	mov	edi, DWORD PTR [rdi]
	call	dm_helpers_dp_write_dpcd@PLT
	test	eax, eax
	je	.L11
	mov	eax, DWORD PTR DC_OK[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	eax, DWORD PTR DC_ERROR_UNEXPECTED[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	core_link_write_dpcd, .-core_link_write_dpcd
	.comm	DC_OK,4,4
	.comm	DC_ERROR_UNEXPECTED,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_hwss.c_core_link_write_dpcd.c"
	.text
	.align	2
	.global	core_link_write_dpcd
	.syntax unified
	.arm
	.fpu softvfp
	.type	core_link_write_dpcd, %function
core_link_write_dpcd:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	ip, [r0, #4]
	cmp	ip, #0
	beq	.L10
	ldr	r3, .L11
	ldr	r0, [r3]
	bx	lr
.L10:
	str	lr, [sp, #-4]!
	sub	sp, sp, #12
	str	r3, [sp]
	mov	r3, r2
	mov	r2, r1
	mov	r1, r0
	ldr	r0, [r0]
	bl	dm_helpers_dp_write_dpcd
	cmp	r0, #0
	ldreq	r3, .L11+4
	ldrne	r3, .L11
	ldr	r0, [r3]
	add	sp, sp, #12
	@ sp needed
	ldr	pc, [sp], #4
.L12:
	.align	2
.L11:
	.word	DC_OK
	.word	DC_ERROR_UNEXPECTED
	.size	core_link_write_dpcd, .-core_link_write_dpcd
	.comm	DC_OK,4,4
	.comm	DC_ERROR_UNEXPECTED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
