	.file	"extr_lcd.c_lcd_powersequence_on.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	lcd_powersequence_on, @function
lcd_powersequence_on:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	esi, DWORD PTR VIACR[rip]
	mov	ecx, 17
	xor	ebx, ebx
	mov	edi, DWORD PTR CR91[rip]
	mov	edx, 17
	call	viafb_write_reg_mask@PLT
	mov	esi, DWORD PTR VIACR[rip]
	mov	edi, DWORD PTR CR6A[rip]
	mov	ecx, 8
	mov	edx, 8
	call	viafb_write_reg_mask@PLT
.L2:
	mov	rax, QWORD PTR PowerSequenceOn[rip]
	mov	esi, DWORD PTR VIACR[rip]
	mov	edi, DWORD PTR CR91[rip]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR 8[rax]
	mov	ecx, DWORD PTR [rdx+rbx]
	mov	edx, DWORD PTR [rax+rbx]
	and	edx, ecx
	call	viafb_write_reg_mask@PLT
	mov	rax, QWORD PTR PowerSequenceOn[rip]
	mov	rax, QWORD PTR 16[rax]
	mov	edi, DWORD PTR [rax+rbx]
	add	rbx, 4
	call	udelay@PLT
	cmp	rbx, 12
	jne	.L2
	mov	edi, 1
	pop	rbx
	.cfi_def_cfa_offset 8
	jmp	udelay@PLT
	.cfi_endproc
.LFE0:
	.size	lcd_powersequence_on, .-lcd_powersequence_on
	.comm	VIACR,4,4
	.comm	PowerSequenceOn,8,8
	.comm	CR91,4,4
	.comm	CR6A,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_lcd.c_lcd_powersequence_on.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	lcd_powersequence_on, %function
lcd_powersequence_on:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, #17
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r6, .L6
	ldr	r7, .L6+4
	mov	r2, r3
	ldr	r1, [r6]
	ldr	r0, [r7]
	bl	viafb_write_reg_mask
	mov	r3, #8
	ldr	r0, .L6+8
	mov	r2, r3
	ldr	r1, [r6]
	ldr	r0, [r0]
	bl	viafb_write_reg_mask
	mov	r4, #0
	ldr	r5, .L6+12
.L2:
	ldr	r3, [r5]
	ldr	r1, [r6]
	ldm	r3, {r0, r2}
	ldr	r3, [r0, r4]
	ldr	r2, [r2, r4]
	ldr	r0, [r7]
	and	r2, r2, r3
	bl	viafb_write_reg_mask
	ldr	r3, [r5]
	ldr	r3, [r3, #8]
	ldr	r0, [r3, r4]
	add	r4, r4, #4
	bl	udelay
	cmp	r4, #12
	bne	.L2
	pop	{r4, r5, r6, r7, r8, lr}
	mov	r0, #1
	b	udelay
.L7:
	.align	2
.L6:
	.word	VIACR
	.word	CR91
	.word	CR6A
	.word	PowerSequenceOn
	.size	lcd_powersequence_on, .-lcd_powersequence_on
	.comm	VIACR,4,4
	.comm	PowerSequenceOn,4,4
	.comm	CR91,4,4
	.comm	CR6A,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
