	.file	"extr_dc_link_hwss.c_dp_enable_link_phy.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	dp_enable_link_phy
	.type	dp_enable_link_phy, @function
dp_enable_link_phy:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r8d, esi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rdi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rcx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	xor	ebx, ebx
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR 16[rdi]
	mov	r13, QWORD PTR 24[rdi]
	mov	DWORD PTR 8[rsp], edx
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR [rax]
	mov	r12, QWORD PTR [rax]
	mov	rax, QWORD PTR 8[rdi]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR [rax]
	mov	rcx, QWORD PTR [rax]
	mov	eax, DWORD PTR MAX_PIPES[rip]
	mov	r15, QWORD PTR [rdx]
	test	eax, eax
	jne	.L2
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L5:
	add	ebx, 1
	cmp	DWORD PTR MAX_PIPES[rip], ebx
	jbe	.L6
.L2:
	mov	eax, ebx
	lea	rax, [rax+rax*2]
	lea	rdx, [r15+rax*8]
	mov	rax, QWORD PTR 16[rdx]
	test	rax, rax
	je	.L5
	cmp	QWORD PTR 8[rax], r14
	jne	.L5
	mov	rsi, QWORD PTR 8[rdx]
	test	rsi, rsi
	je	.L5
	mov	rdi, QWORD PTR CLOCK_SOURCE_ID_DP_DTO[rip]
	cmp	QWORD PTR [rsi], rdi
	je	.L5
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR 12[rsp], r8d
	mov	rdi, rcx
	lea	rsi, 4[rdx]
	mov	QWORD PTR 8[rdx], rcx
	add	ebx, 1
	mov	DWORD PTR 4[rdx], eax
	mov	rax, QWORD PTR 8[rcx]
	mov	QWORD PTR [rsp], rcx
	call	[QWORD PTR [rax]]
	cmp	DWORD PTR MAX_PIPES[rip], ebx
	mov	r8d, DWORD PTR 12[rsp]
	mov	rcx, QWORD PTR [rsp]
	ja	.L2
	.p2align 4,,10
	.p2align 3
.L6:
	test	r12, r12
	je	.L4
	mov	rax, QWORD PTR [r12]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	je	.L4
	mov	DWORD PTR [rsp], r8d
	mov	rdi, r12
	call	rax
	mov	r8d, DWORD PTR [rsp]
.L4:
	mov	edi, r8d
	call	dc_is_dp_sst_signal@PLT
	mov	edx, DWORD PTR 8[rsp]
	mov	rsi, rbp
	mov	rdi, r13
	test	rax, rax
	mov	rax, QWORD PTR 0[r13]
	je	.L7
	call	[QWORD PTR 8[rax]]
.L8:
	test	r12, r12
	je	.L9
	mov	rax, QWORD PTR [r12]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L9
	mov	rdi, r12
	call	rax
.L9:
	mov	eax, DWORD PTR 0[rbp]
	mov	rdi, r14
	mov	esi, 1
	mov	DWORD PTR [r14], eax
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	jmp	dp_receiver_power_ctrl@PLT
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	call	[QWORD PTR [rax]]
	jmp	.L8
	.cfi_endproc
.LFE0:
	.size	dp_enable_link_phy, .-dp_enable_link_phy
	.comm	MAX_PIPES,4,4
	.comm	CLOCK_SOURCE_ID_DP_DTO,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_dc_link_hwss.c_dp_enable_link_phy.c"
	.text
	.align	2
	.global	dp_enable_link_phy
	.syntax unified
	.arm
	.fpu softvfp
	.type	dp_enable_link_phy, %function
dp_enable_link_phy:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r6, r0
	ldr	r0, [r0, #8]
	ldr	r7, .L29
	ldr	ip, [r0]
	ldr	r0, [r6, #4]
	ldr	r4, [r7]
	ldr	lr, [ip]
	mov	r9, r3
	ldm	r0, {r0, ip}
	ldr	r3, [ip]
	sub	sp, sp, #20
	cmp	r4, #0
	ldr	r8, [lr]
	ldr	r10, [r0]
	ldr	fp, [r6, #12]
	str	r1, [sp, #8]
	str	r2, [sp, #12]
	str	r3, [sp]
	beq	.L7
	ldr	r3, [sp]
	mov	r4, #0
	add	r3, r3, #4
	mov	r5, r3
	str	r3, [sp, #4]
	b	.L6
.L5:
	ldr	r3, [r7]
	add	r4, r4, #1
	cmp	r3, r4
	add	r5, r5, #16
	bls	.L7
.L6:
	ldr	r3, [r5, #8]
	cmp	r3, #0
	beq	.L5
	ldr	r2, [r3, #4]
	cmp	r2, r6
	bne	.L5
	ldr	r0, [r5, #4]
	ldr	r2, [sp]
	ldr	r1, [sp, #4]
	cmp	r0, #0
	add	r2, r2, r4, lsl #4
	add	r1, r1, r4, lsl #4
	beq	.L5
	ldr	ip, [r0]
	ldr	r0, .L29+4
	ldr	r0, [r0]
	cmp	ip, r0
	beq	.L5
	ldr	r0, [r3]
	ldr	r3, [r10, #4]
	stm	r5, {r0, r10}
	ldr	r3, [r3]
	mov	r0, r10
	blx	r3
	b	.L5
.L7:
	cmp	r8, #0
	beq	.L4
	ldr	r3, [r8]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	beq	.L4
	mov	r0, r8
	blx	r3
.L4:
	ldr	r0, [sp, #8]
	bl	dc_is_dp_sst_signal
	ldr	r3, [fp]
	cmp	r0, #0
	ldrne	r3, [r3, #4]
	ldreq	r3, [r3]
	mov	r0, fp
	mov	r1, r9
	ldr	r2, [sp, #12]
	blx	r3
	cmp	r8, #0
	beq	.L10
	ldr	r3, [r8]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L10
	mov	r0, r8
	blx	r3
.L10:
	mov	r0, r6
	mov	r1, #1
	ldr	r3, [r9]
	str	r3, [r6]
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	dp_receiver_power_ctrl
.L30:
	.align	2
.L29:
	.word	MAX_PIPES
	.word	CLOCK_SOURCE_ID_DP_DTO
	.size	dp_enable_link_phy, .-dp_enable_link_phy
	.comm	MAX_PIPES,4,4
	.comm	CLOCK_SOURCE_ID_DP_DTO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
