	.file	"extr_savagefb_driver.c_vgaHWInit.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	vgaHWInit, @function
vgaHWInit:
.LFB0:
	.cfi_startproc
	endbr64
	mov	esi, DWORD PTR [rdx]
	mov	eax, DWORD PTR FB_SYNC_HOR_HIGH_ACT[rip]
	and	eax, esi
	cmp	eax, 1
	sbb	eax, eax
	and	eax, 64
	add	eax, 35
	mov	DWORD PTR [rcx], eax
	test	DWORD PTR FB_SYNC_VERT_HIGH_ACT[rip], esi
	jne	.L3
	or	DWORD PTR [rcx], 128
.L3:
	movabs	rsi, 4294967296
	mov	rax, QWORD PTR 8[rcx]
	mov	QWORD PTR [rax], rsi
	mov	QWORD PTR 8[rax], 15
	mov	DWORD PTR 16[rax], 14
	mov	esi, DWORD PTR 4[rdx]
	mov	rax, QWORD PTR 16[rcx]
	sar	esi, 3
	sub	esi, 5
	mov	DWORD PTR [rax], esi
	mov	esi, DWORD PTR 8[rdx]
	sar	esi, 3
	sub	esi, 1
	mov	DWORD PTR 4[rax], esi
	mov	esi, DWORD PTR 12[rdx]
	sar	esi, 3
	sub	esi, 1
	mov	DWORD PTR 8[rax], esi
	mov	esi, DWORD PTR 16[rdx]
	sar	esi, 3
	sub	esi, 1
	and	esi, 31
	or	sil, -128
	mov	DWORD PTR 12[rax], esi
	mov	esi, DWORD PTR 12[rdx]
	sar	esi, 3
	mov	DWORD PTR 16[rax], esi
	mov	esi, DWORD PTR 16[rdx]
	sar	esi, 3
	lea	r8d, -4[0+rsi*4]
	and	esi, 31
	and	r8d, 128
	or	esi, r8d
	mov	DWORD PTR 20[rax], esi
	mov	esi, DWORD PTR 20[rdx]
	sub	esi, 2
	and	esi, 255
	mov	DWORD PTR 24[rax], esi
	mov	esi, DWORD PTR 20[rdx]
	mov	r8d, DWORD PTR 28[rdx]
	lea	r9d, -2[rsi]
	mov	esi, DWORD PTR 24[rdx]
	mov	DWORD PTR 32[rax], 0
	mov	r11d, r8d
	lea	r10d, -1[rsi]
	mov	esi, r8d
	sar	r11d, 2
	sub	r8d, 1
	sar	esi, 6
	and	r11d, 128
	and	esi, 4
	or	esi, r11d
	mov	r11d, r10d
	sar	r10d, 7
	sar	r11d, 3
	and	r10d, 2
	and	r11d, 64
	or	esi, r11d
	mov	r11d, r9d
	sar	r11d, 8
	and	r11d, 1
	or	esi, r11d
	or	esi, r10d
	sar	r8d, 5
	and	r8d, 8
	sar	r9d, 4
	or	esi, r8d
	and	r9d, 32
	or	esi, r9d
	or	esi, 16
	mov	DWORD PTR 28[rax], esi
	mov	esi, DWORD PTR 28[rdx]
	sub	esi, 1
	sar	esi, 4
	and	esi, 32
	mov	r8d, esi
	or	r8d, 64
	cmp	QWORD PTR 40[rdx], 0
	mov	DWORD PTR 36[rax], r8d
	je	.L4
	or	sil, -64
	mov	DWORD PTR 36[rax], esi
.L4:
	mov	QWORD PTR 40[rax], 0
	mov	QWORD PTR 48[rax], 0
	mov	QWORD PTR 56[rax], 0
	movzx	esi, BYTE PTR 28[rdx]
	mov	DWORD PTR 64[rax], esi
	mov	esi, DWORD PTR 32[rdx]
	and	esi, 15
	or	esi, 32
	mov	DWORD PTR 68[rax], esi
	mov	esi, DWORD PTR 24[rdx]
	sub	esi, 1
	and	esi, 255
	mov	DWORD PTR 72[rax], esi
	mov	esi, DWORD PTR [rdi]
	mov	DWORD PTR 80[rax], 0
	sar	esi, 4
	mov	DWORD PTR 76[rax], esi
	mov	edi, DWORD PTR 28[rdx]
	lea	esi, -1[rdi]
	movabs	rdi, 1095216660675
	and	esi, 255
	mov	DWORD PTR 84[rax], esi
	mov	edx, DWORD PTR 32[rdx]
	mov	QWORD PTR 92[rax], rdi
	movabs	rdi, 274877906944
	sub	edx, 1
	and	edx, 255
	mov	DWORD PTR 88[rax], edx
	mov	rax, QWORD PTR 24[rcx]
	mov	QWORD PTR 16[rax], rdi
	movabs	rdi, 64424509445
	mov	QWORD PTR 24[rax], rdi
	movabs	rdi, 21474836484
	mov	QWORD PTR [rax], 0
	mov	QWORD PTR 8[rax], 0
	mov	DWORD PTR 32[rax], 255
	mov	rax, QWORD PTR 32[rcx]
	movabs	rcx, 4294967296
	mov	QWORD PTR [rax], rcx
	movabs	rcx, 12884901890
	mov	QWORD PTR 8[rax], rcx
	movabs	rcx, 30064771078
	mov	QWORD PTR 16[rax], rdi
	movabs	rdi, 38654705672
	mov	QWORD PTR 24[rax], rcx
	movabs	rcx, 47244640266
	mov	QWORD PTR 32[rax], rdi
	movabs	rdi, 55834574860
	mov	QWORD PTR 40[rax], rcx
	movabs	rcx, 64424509454
	mov	QWORD PTR 48[rax], rdi
	movabs	rdi, 1095216660545
	mov	QWORD PTR 56[rax], rcx
	mov	QWORD PTR 64[rax], rdi
	mov	QWORD PTR 72[rax], 15
	mov	DWORD PTR 80[rax], 0
	ret
	.cfi_endproc
.LFE0:
	.size	vgaHWInit, .-vgaHWInit
	.comm	FB_SYNC_VERT_HIGH_ACT,4,4
	.comm	FB_SYNC_HOR_HIGH_ACT,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_savagefb_driver.c_vgaHWInit.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	vgaHWInit, %function
vgaHWInit:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	ip, #35
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	lr, .L10
	ldr	r1, [r2]
	ldr	lr, [lr]
	str	ip, [r3]
	tst	r1, lr
	moveq	ip, #99
	mov	r4, #0
	mov	r6, #1
	mov	r5, #15
	mov	lr, #14
	streq	ip, [r3]
	ldr	ip, .L10+4
	mov	fp, #195
	ldr	ip, [ip]
	mov	r10, #64
	tst	r1, ip
	ldreq	r1, [r3]
	ldr	ip, [r3, #4]
	orreq	r1, r1, #128
	streq	r1, [r3]
	ldr	r1, [r3, #8]
	str	r4, [ip]
	str	r4, [ip, #12]
	str	lr, [ip, #16]
	str	r6, [ip, #4]
	str	r5, [ip, #8]
	ldr	ip, [r2, #4]
	ldr	lr, [r2, #36]
	asr	ip, ip, #3
	sub	ip, ip, #5
	str	ip, [r1]
	ldr	ip, [r2, #8]
	cmp	lr, r4
	asr	ip, ip, #3
	sub	ip, ip, #1
	str	ip, [r1, #4]
	ldr	ip, [r2, #12]
	mov	r9, #12
	asr	ip, ip, #3
	sub	ip, ip, #1
	str	ip, [r1, #8]
	ldr	ip, [r2, #16]
	asr	ip, ip, #3
	sub	ip, ip, #1
	and	ip, ip, #31
	orr	ip, ip, #128
	str	ip, [r1, #12]
	ldr	ip, [r2, #12]
	asr	ip, ip, #3
	str	ip, [r1, #16]
	ldr	lr, [r2, #16]
	asr	lr, lr, #3
	sub	ip, lr, #1
	lsl	ip, ip, #2
	and	lr, lr, #31
	and	ip, ip, #128
	orr	ip, ip, lr
	str	ip, [r1, #20]
	ldr	ip, [r2, #20]
	sub	ip, ip, #2
	and	ip, ip, #255
	str	ip, [r1, #24]
	ldr	r5, [r2, #28]
	ldr	r7, [r2, #24]
	asr	lr, r5, #6
	ldr	r6, [r2, #20]
	sub	r7, r7, #1
	asr	r8, r5, #2
	and	r8, r8, #128
	asr	ip, r7, #3
	and	lr, lr, #4
	sub	r6, r6, #2
	and	ip, ip, #64
	orr	lr, lr, r8
	orr	lr, lr, ip
	asr	r7, r7, #7
	lsl	ip, r6, #23
	sub	r5, r5, #1
	and	r7, r7, #2
	orr	ip, lr, ip, lsr #31
	asr	r5, r5, #5
	and	r5, r5, #8
	orr	ip, ip, r7
	asr	r6, r6, #4
	orr	ip, ip, r5
	and	r6, r6, #32
	orr	ip, ip, r6
	orr	ip, ip, #16
	str	r4, [r1, #32]
	str	ip, [r1, #28]
	ldr	ip, [r2, #28]
	mov	r4, #255
	sub	ip, ip, #1
	asr	ip, ip, #4
	and	ip, ip, #32
	orr	lr, ip, #64
	orrne	ip, ip, #192
	str	lr, [r1, #36]
	strne	ip, [r1, #36]
	mov	ip, #0
	mov	lr, #15
	mov	r5, #5
	str	ip, [r1, #40]
	str	ip, [r1, #44]
	str	ip, [r1, #48]
	str	ip, [r1, #52]
	str	ip, [r1, #56]
	str	ip, [r1, #60]
	ldrb	r6, [r2, #28]	@ zero_extendqisi2
	mov	r8, #13
	str	r6, [r1, #64]
	ldr	r6, [r2, #32]
	mov	r7, #14
	and	r6, r6, lr
	orr	r6, r6, #32
	str	r6, [r1, #68]
	ldr	r6, [r2, #24]
	sub	r6, r6, #1
	and	r6, r6, r4
	str	r6, [r1, #72]
	ldr	r0, [r0]
	str	ip, [r1, #80]
	asr	r0, r0, #4
	str	r0, [r1, #76]
	ldr	r0, [r2, #28]
	mov	r6, #65
	sub	r0, r0, #1
	and	r0, r0, r4
	str	r0, [r1, #84]
	ldr	r2, [r2, #32]
	mov	r0, #1
	sub	r2, r2, #1
	and	r2, r2, r4
	str	r2, [r1, #88]
	ldr	r2, [r3, #12]
	ldr	r3, [r3, #16]
	str	fp, [r1, #92]
	str	r4, [r1, #96]
	str	ip, [r2]
	str	ip, [r2, #4]
	str	ip, [r2, #8]
	mov	r1, #2
	str	ip, [r2, #12]
	str	ip, [r2, #16]
	str	r4, [r2, #32]
	str	r10, [r2, #20]
	str	r5, [r2, #24]
	str	lr, [r2, #28]
	mov	r2, #3
	str	ip, [r3]
	str	ip, [r3, #76]
	str	ip, [r3, #80]
	mov	ip, #4
	stmib	r3, {r0, r1, r2, ip}
	mov	r2, #6
	str	r2, [r3, #24]
	mov	r2, #7
	str	r2, [r3, #28]
	mov	r2, #8
	str	r2, [r3, #32]
	mov	r2, #9
	str	r2, [r3, #36]
	mov	r2, #10
	str	r2, [r3, #40]
	mov	r2, #11
	str	r5, [r3, #20]
	str	lr, [r3, #60]
	str	r4, [r3, #68]
	str	lr, [r3, #72]
	str	r2, [r3, #44]
	str	r9, [r3, #48]
	str	r8, [r3, #52]
	str	r7, [r3, #56]
	str	r6, [r3, #64]
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L11:
	.align	2
.L10:
	.word	FB_SYNC_HOR_HIGH_ACT
	.word	FB_SYNC_VERT_HIGH_ACT
	.size	vgaHWInit, .-vgaHWInit
	.comm	FB_SYNC_VERT_HIGH_ACT,4,4
	.comm	FB_SYNC_HOR_HIGH_ACT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
