	.file	"extr_analogix_dp_core.c_analogix_dp_channel_eq_ok.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	analogix_dp_channel_eq_ok, @function
analogix_dp_channel_eq_ok:
.LFB0:
	.cfi_startproc
	endbr64
	test	DWORD PTR DP_INTERLANE_ALIGN_DONE[rip], esi
	je	.L2
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	ebp, edx
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	xor	ebx, ebx
	test	edx, edx
	jg	.L3
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L6:
	add	ebx, 1
	cmp	ebp, ebx
	je	.L4
.L3:
	mov	esi, ebx
	mov	rdi, r12
	call	analogix_dp_get_lane_status@PLT
	mov	edx, DWORD PTR DP_CHANNEL_EQ_BITS[rip]
	and	eax, edx
	cmp	edx, eax
	je	.L6
	mov	eax, DWORD PTR EINVAL[rip]
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	.cfi_offset 6, -24
	.cfi_offset 12, -16
	pop	rbx
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	analogix_dp_channel_eq_ok, .-analogix_dp_channel_eq_ok
	.comm	EINVAL,4,4
	.comm	DP_INTERLANE_ALIGN_DONE,4,4
	.comm	DP_CHANNEL_EQ_BITS,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_analogix_dp_core.c_analogix_dp_channel_eq_ok.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	analogix_dp_channel_eq_ok, %function
analogix_dp_channel_eq_ok:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L14
	ldr	r3, [r3]
	tst	r1, r3
	beq	.L2
	cmp	r2, #0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r2
	ble	.L4
	mov	r6, r0
	mov	r4, #0
	ldr	r7, .L14+4
	b	.L3
.L6:
	cmp	r5, r4
	beq	.L4
.L3:
	mov	r1, r4
	mov	r0, r6
	bl	analogix_dp_get_lane_status
	ldr	r3, [r7]
	add	r4, r4, #1
	bics	r3, r3, r0
	beq	.L6
	ldr	r3, .L14+8
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	ldr	r3, .L14+8
	ldr	r0, [r3]
	rsb	r0, r0, #0
	bx	lr
.L4:
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L15:
	.align	2
.L14:
	.word	DP_INTERLANE_ALIGN_DONE
	.word	DP_CHANNEL_EQ_BITS
	.word	EINVAL
	.size	analogix_dp_channel_eq_ok, .-analogix_dp_channel_eq_ok
	.comm	EINVAL,4,4
	.comm	DP_INTERLANE_ALIGN_DONE,4,4
	.comm	DP_CHANNEL_EQ_BITS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
