	.file	"extr_intel_display.c_lpt_bend_clkout_dp.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	lpt_bend_clkout_dp, @function
lpt_bend_clkout_dp:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	mov	edi, esi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	ebx, esi
	call	BEND_IDX@PLT
	xor	edi, edi
	movsx	rbp, eax
	imul	eax, ebx, -858993459
	add	eax, 429496729
	cmp	eax, 858993458
	seta	dil
	call	WARN_ON@PLT
	test	rax, rax
	je	.L9
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	rdi, QWORD PTR sscdivintphase[rip]
	call	ARRAY_SIZE@PLT
	xor	edi, edi
	cmp	eax, ebp
	setle	dil
	call	WARN_ON@PLT
	test	rax, rax
	jne	.L1
	mov	rdi, r12
	call	mutex_lock@PLT
	movsx	rdx, ebx
	mov	eax, ebx
	mov	ecx, DWORD PTR SBI_ICLK[rip]
	imul	rdx, rdx, 1717986919
	sar	eax, 31
	mov	esi, DWORD PTR SBI_SSCDITHPHASE[rip]
	mov	rdi, r12
	sar	rdx, 34
	sub	edx, eax
	lea	eax, [rdx+rdx*4]
	add	eax, eax
	sub	ebx, eax
	mov	eax, -1431655765
	mov	edx, ebx
	cmovne	edx, eax
	call	intel_sbi_write@PLT
	mov	edx, DWORD PTR SBI_ICLK[rip]
	mov	esi, DWORD PTR SBI_SSCDIVINTPHASE[rip]
	mov	rdi, r12
	call	intel_sbi_read@PLT
	mov	ecx, DWORD PTR SBI_ICLK[rip]
	mov	esi, DWORD PTR SBI_SSCDIVINTPHASE[rip]
	mov	rdi, r12
	xor	ax, ax
	mov	edx, eax
	mov	rax, QWORD PTR sscdivintphase[rip]
	or	edx, DWORD PTR [rax+rbp*4]
	call	intel_sbi_write@PLT
	pop	rbx
	.cfi_def_cfa_offset 24
	mov	rdi, r12
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	mutex_unlock@PLT
	.cfi_endproc
.LFE0:
	.size	lpt_bend_clkout_dp, .-lpt_bend_clkout_dp
	.comm	sscdivintphase,8,8
	.comm	SBI_SSCDIVINTPHASE,4,4
	.comm	SBI_SSCDITHPHASE,4,4
	.comm	SBI_ICLK,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_intel_display.c_lpt_bend_clkout_dp.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	lpt_bend_clkout_dp, %function
lpt_bend_clkout_dp:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r4, r1
	mov	r6, r0
	mov	r0, r1
	bl	BEND_IDX
	ldr	r5, .L9
	asr	r7, r4, #31
	smull	r3, r5, r4, r5
	rsb	r3, r7, r5, asr #1
	add	r3, r3, r3, lsl #2
	mov	r8, r0
	subs	r0, r4, r3
	movne	r0, #1
	bl	WARN_ON
	cmp	r0, #0
	popne	{r4, r5, r6, r7, r8, r9, r10, pc}
	ldr	r9, .L9+4
	ldr	r0, [r9]
	bl	ARRAY_SIZE
	cmp	r0, r8
	movgt	r0, #0
	movle	r0, #1
	bl	WARN_ON
	cmp	r0, #0
	popne	{r4, r5, r6, r7, r8, r9, r10, pc}
	mov	r0, r6
	rsb	r5, r7, r5, asr #2
	bl	mutex_lock
	ldr	r7, .L9+8
	ldr	r1, .L9+12
	add	r5, r5, r5, lsl #2
	subs	r5, r4, r5, lsl #1
	ldr	r4, .L9+16
	ldr	r3, [r7]
	ldr	r2, .L9+20
	mov	r0, r6
	moveq	r2, r5
	ldr	r1, [r1]
	bl	intel_sbi_write
	ldr	r2, [r7]
	ldr	r1, [r4]
	mov	r0, r6
	bl	intel_sbi_read
	ldr	r3, [r9]
	lsr	r0, r0, #16
	ldr	r2, [r3, r8, lsl #2]
	lsl	r0, r0, #16
	ldr	r3, [r7]
	ldr	r1, [r4]
	orr	r2, r0, r2
	mov	r0, r6
	bl	intel_sbi_write
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	mutex_unlock
.L10:
	.align	2
.L9:
	.word	1717986919
	.word	sscdivintphase
	.word	SBI_ICLK
	.word	SBI_SSCDITHPHASE
	.word	SBI_SSCDIVINTPHASE
	.word	-1431655765
	.size	lpt_bend_clkout_dp, .-lpt_bend_clkout_dp
	.comm	sscdivintphase,4,4
	.comm	SBI_SSCDIVINTPHASE,4,4
	.comm	SBI_SSCDITHPHASE,4,4
	.comm	SBI_ICLK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
