	.file	"541630.c"
	.intel_syntax noprefix
	.text
	.globl	CUT_BARCO1366
	.bss
	.align 2
	.type	CUT_BARCO1366, @object
	.size	CUT_BARCO1366, 2
CUT_BARCO1366:
	.zero	2
	.globl	CUT_PANEL848
	.align 2
	.type	CUT_PANEL848, @object
	.size	CUT_PANEL848, 2
CUT_PANEL848:
	.zero	2
	.globl	CUT_PANEL856
	.align 2
	.type	CUT_PANEL856, @object
	.size	CUT_PANEL856, 2
CUT_PANEL856:
	.zero	2
	.globl	ModeIndex_1024x576
	.align 8
	.type	ModeIndex_1024x576, @object
	.size	ModeIndex_1024x576, 8
ModeIndex_1024x576:
	.zero	8
	.globl	ModeIndex_1024x600
	.align 8
	.type	ModeIndex_1024x600, @object
	.size	ModeIndex_1024x600, 8
ModeIndex_1024x600:
	.zero	8
	.globl	ModeIndex_1024x768
	.align 8
	.type	ModeIndex_1024x768, @object
	.size	ModeIndex_1024x768, 8
ModeIndex_1024x768:
	.zero	8
	.globl	ModeIndex_1152x768
	.align 8
	.type	ModeIndex_1152x768, @object
	.size	ModeIndex_1152x768, 8
ModeIndex_1152x768:
	.zero	8
	.globl	ModeIndex_1152x864
	.align 8
	.type	ModeIndex_1152x864, @object
	.size	ModeIndex_1152x864, 8
ModeIndex_1152x864:
	.zero	8
	.globl	ModeIndex_1280x1024
	.align 8
	.type	ModeIndex_1280x1024, @object
	.size	ModeIndex_1280x1024, 8
ModeIndex_1280x1024:
	.zero	8
	.globl	ModeIndex_1280x720
	.align 8
	.type	ModeIndex_1280x720, @object
	.size	ModeIndex_1280x720, 8
ModeIndex_1280x720:
	.zero	8
	.globl	ModeIndex_1280x800
	.align 8
	.type	ModeIndex_1280x800, @object
	.size	ModeIndex_1280x800, 8
ModeIndex_1280x800:
	.zero	8
	.globl	ModeIndex_1280x854
	.align 8
	.type	ModeIndex_1280x854, @object
	.size	ModeIndex_1280x854, 8
ModeIndex_1280x854:
	.zero	8
	.globl	ModeIndex_1280x960
	.align 8
	.type	ModeIndex_1280x960, @object
	.size	ModeIndex_1280x960, 8
ModeIndex_1280x960:
	.zero	8
	.globl	ModeIndex_1360x768
	.align 8
	.type	ModeIndex_1360x768, @object
	.size	ModeIndex_1360x768, 8
ModeIndex_1360x768:
	.zero	8
	.globl	ModeIndex_1400x1050
	.align 8
	.type	ModeIndex_1400x1050, @object
	.size	ModeIndex_1400x1050, 8
ModeIndex_1400x1050:
	.zero	8
	.globl	ModeIndex_1600x1200
	.align 8
	.type	ModeIndex_1600x1200, @object
	.size	ModeIndex_1600x1200, 8
ModeIndex_1600x1200:
	.zero	8
	.globl	ModeIndex_1680x1050
	.align 8
	.type	ModeIndex_1680x1050, @object
	.size	ModeIndex_1680x1050, 8
ModeIndex_1680x1050:
	.zero	8
	.globl	ModeIndex_1920x1440
	.align 8
	.type	ModeIndex_1920x1440, @object
	.size	ModeIndex_1920x1440, 8
ModeIndex_1920x1440:
	.zero	8
	.globl	ModeIndex_300_1280x768
	.align 8
	.type	ModeIndex_300_1280x768, @object
	.size	ModeIndex_300_1280x768, 8
ModeIndex_300_1280x768:
	.zero	8
	.globl	ModeIndex_300_1360x1024
	.align 8
	.type	ModeIndex_300_1360x1024, @object
	.size	ModeIndex_300_1360x1024, 8
ModeIndex_300_1360x1024:
	.zero	8
	.globl	ModeIndex_310_1280x768
	.align 8
	.type	ModeIndex_310_1280x768, @object
	.size	ModeIndex_310_1280x768, 8
ModeIndex_310_1280x768:
	.zero	8
	.globl	ModeIndex_310_2048x1536
	.align 8
	.type	ModeIndex_310_2048x1536, @object
	.size	ModeIndex_310_2048x1536, 8
ModeIndex_310_2048x1536:
	.zero	8
	.globl	ModeIndex_320x200
	.align 8
	.type	ModeIndex_320x200, @object
	.size	ModeIndex_320x200, 8
ModeIndex_320x200:
	.zero	8
	.globl	ModeIndex_320x240
	.align 8
	.type	ModeIndex_320x240, @object
	.size	ModeIndex_320x240, 8
ModeIndex_320x240:
	.zero	8
	.globl	ModeIndex_320x240_FSTN
	.align 8
	.type	ModeIndex_320x240_FSTN, @object
	.size	ModeIndex_320x240_FSTN, 8
ModeIndex_320x240_FSTN:
	.zero	8
	.globl	ModeIndex_400x300
	.align 8
	.type	ModeIndex_400x300, @object
	.size	ModeIndex_400x300, 8
ModeIndex_400x300:
	.zero	8
	.globl	ModeIndex_512x384
	.align 8
	.type	ModeIndex_512x384, @object
	.size	ModeIndex_512x384, 8
ModeIndex_512x384:
	.zero	8
	.globl	ModeIndex_640x400
	.align 8
	.type	ModeIndex_640x400, @object
	.size	ModeIndex_640x400, 8
ModeIndex_640x400:
	.zero	8
	.globl	ModeIndex_640x480
	.align 8
	.type	ModeIndex_640x480, @object
	.size	ModeIndex_640x480, 8
ModeIndex_640x480:
	.zero	8
	.globl	ModeIndex_720x480
	.align 8
	.type	ModeIndex_720x480, @object
	.size	ModeIndex_720x480, 8
ModeIndex_720x480:
	.zero	8
	.globl	ModeIndex_720x576
	.align 8
	.type	ModeIndex_720x576, @object
	.size	ModeIndex_720x576, 8
ModeIndex_720x576:
	.zero	8
	.globl	ModeIndex_768x576
	.align 8
	.type	ModeIndex_768x576, @object
	.size	ModeIndex_768x576, 8
ModeIndex_768x576:
	.zero	8
	.globl	ModeIndex_800x480
	.align 8
	.type	ModeIndex_800x480, @object
	.size	ModeIndex_800x480, 8
ModeIndex_800x480:
	.zero	8
	.globl	ModeIndex_800x600
	.align 8
	.type	ModeIndex_800x600, @object
	.size	ModeIndex_800x600, 8
ModeIndex_800x600:
	.zero	8
	.globl	ModeIndex_848x480
	.align 8
	.type	ModeIndex_848x480, @object
	.size	ModeIndex_848x480, 8
ModeIndex_848x480:
	.zero	8
	.globl	ModeIndex_856x480
	.align 8
	.type	ModeIndex_856x480, @object
	.size	ModeIndex_856x480, 8
ModeIndex_856x480:
	.zero	8
	.globl	ModeIndex_960x540
	.align 8
	.type	ModeIndex_960x540, @object
	.size	ModeIndex_960x540, 8
ModeIndex_960x540:
	.zero	8
	.globl	ModeIndex_960x600
	.align 8
	.type	ModeIndex_960x600, @object
	.size	ModeIndex_960x600, 8
ModeIndex_960x600:
	.zero	8
	.globl	SIS_300_VGA
	.align 4
	.type	SIS_300_VGA, @object
	.size	SIS_300_VGA, 4
SIS_300_VGA:
	.zero	4
	.globl	SIS_315_VGA
	.align 4
	.type	SIS_315_VGA, @object
	.size	SIS_315_VGA, 4
SIS_315_VGA:
	.zero	4
	.globl	VB2_30xBDH
	.align 4
	.type	VB2_30xBDH, @object
	.size	VB2_30xBDH, 4
VB2_30xBDH:
	.zero	4
	.globl	VB2_LCDOVER1280BRIDGE
	.align 4
	.type	VB2_LCDOVER1280BRIDGE, @object
	.size	VB2_LCDOVER1280BRIDGE, 4
VB2_LCDOVER1280BRIDGE:
	.zero	4
	.globl	VB2_LCDOVER1600BRIDGE
	.align 4
	.type	VB2_LCDOVER1600BRIDGE, @object
	.size	VB2_LCDOVER1600BRIDGE, 4
VB2_LCDOVER1600BRIDGE:
	.zero	4
	.globl	VB2_LVDS
	.align 4
	.type	VB2_LVDS, @object
	.size	VB2_LVDS, 4
VB2_LVDS:
	.zero	4
	.globl	VB2_SISBRIDGE
	.align 4
	.type	VB2_SISBRIDGE, @object
	.size	VB2_SISBRIDGE, 4
VB2_SISBRIDGE:
	.zero	4
	.globl	VB2_TRUMPION
	.align 4
	.type	VB2_TRUMPION, @object
	.size	VB2_TRUMPION, 4
VB2_TRUMPION:
	.zero	4
	.text
	.globl	SiS_GetModeID_LCD
	.type	SiS_GetModeID_LCD, @function
SiS_GetModeID_LCD:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	DWORD PTR -28[rbp], edx
	mov	DWORD PTR -32[rbp], ecx
	mov	DWORD PTR -36[rbp], r8d
	mov	DWORD PTR -40[rbp], r9d
	mov	eax, DWORD PTR 16[rbp]
	mov	WORD PTR -44[rbp], ax
	mov	WORD PTR -2[rbp], 0
	mov	edx, DWORD PTR VB2_LVDS[rip]
	mov	eax, DWORD PTR VB2_30xBDH[rip]
	or	eax, edx
	and	eax, DWORD PTR 40[rbp]
	test	eax, eax
	je	.L2
	cmp	DWORD PTR -28[rbp], 1600
	je	.L3
	cmp	DWORD PTR -28[rbp], 1600
	jg	.L38
	cmp	DWORD PTR -28[rbp], 1400
	je	.L5
	cmp	DWORD PTR -28[rbp], 1400
	jg	.L38
	cmp	DWORD PTR -28[rbp], 1360
	je	.L6
	cmp	DWORD PTR -28[rbp], 1360
	jg	.L38
	cmp	DWORD PTR -28[rbp], 1280
	je	.L7
	cmp	DWORD PTR -28[rbp], 1280
	jg	.L38
	cmp	DWORD PTR -28[rbp], 1152
	je	.L8
	cmp	DWORD PTR -28[rbp], 1152
	jg	.L38
	cmp	DWORD PTR -28[rbp], 1024
	je	.L9
	cmp	DWORD PTR -28[rbp], 1024
	jg	.L38
	cmp	DWORD PTR -28[rbp], 856
	je	.L10
	cmp	DWORD PTR -28[rbp], 856
	jg	.L38
	cmp	DWORD PTR -28[rbp], 848
	je	.L11
	cmp	DWORD PTR -28[rbp], 848
	jg	.L38
	cmp	DWORD PTR -28[rbp], 800
	je	.L12
	cmp	DWORD PTR -28[rbp], 800
	jg	.L38
	cmp	DWORD PTR -28[rbp], 640
	je	.L13
	cmp	DWORD PTR -28[rbp], 640
	jg	.L38
	cmp	DWORD PTR -28[rbp], 512
	je	.L14
	cmp	DWORD PTR -28[rbp], 512
	jg	.L38
	cmp	DWORD PTR -28[rbp], 320
	je	.L15
	cmp	DWORD PTR -28[rbp], 400
	je	.L16
	jmp	.L38
.L15:
	movzx	eax, WORD PTR CUT_PANEL848[rip]
	cmp	WORD PTR -44[rbp], ax
	je	.L94
	movzx	eax, WORD PTR CUT_PANEL856[rip]
	cmp	WORD PTR -44[rbp], ax
	je	.L94
	cmp	DWORD PTR -32[rbp], 200
	jne	.L18
	cmp	DWORD PTR -40[rbp], 0
	jne	.L94
	mov	rdx, QWORD PTR ModeIndex_320x200[rip]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	mov	WORD PTR -2[rbp], ax
	jmp	.L94
.L18:
	cmp	DWORD PTR -32[rbp], 240
	jne	.L94
	cmp	DWORD PTR -40[rbp], 0
	jne	.L19
	mov	rdx, QWORD PTR ModeIndex_320x240[rip]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	mov	WORD PTR -2[rbp], ax
	jmp	.L94
.L19:
	mov	eax, DWORD PTR SIS_315_VGA[rip]
	cmp	DWORD PTR -20[rbp], eax
	jne	.L94
	mov	rdx, QWORD PTR ModeIndex_320x240_FSTN[rip]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	mov	WORD PTR -2[rbp], ax
	jmp	.L94
.L16:
	movzx	eax, WORD PTR CUT_PANEL848[rip]
	cmp	WORD PTR -44[rbp], ax
	je	.L95
	movzx	eax, WORD PTR CUT_PANEL856[rip]
	cmp	WORD PTR -44[rbp], ax
	je	.L95
	mov	eax, DWORD PTR SIS_300_VGA[rip]
	cmp	DWORD PTR -20[rbp], eax
	jne	.L21
	mov	eax, DWORD PTR VB2_TRUMPION[rip]
	and	eax, DWORD PTR 40[rbp]
	test	eax, eax
	jne	.L95
.L21:
	cmp	DWORD PTR -32[rbp], 300
	jne	.L95
	mov	rdx, QWORD PTR ModeIndex_400x300[rip]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	mov	WORD PTR -2[rbp], ax
	jmp	.L95
.L14:
	movzx	eax, WORD PTR CUT_PANEL848[rip]
	cmp	WORD PTR -44[rbp], ax
	je	.L96
	movzx	eax, WORD PTR CUT_PANEL856[rip]
	cmp	WORD PTR -44[rbp], ax
	je	.L96
	mov	eax, DWORD PTR SIS_300_VGA[rip]
	cmp	DWORD PTR -20[rbp], eax
	jne	.L23
	mov	eax, DWORD PTR VB2_TRUMPION[rip]
	and	eax, DWORD PTR 40[rbp]
	test	eax, eax
	jne	.L96
.L23:
	cmp	DWORD PTR 24[rbp], 1023
	jle	.L96
	cmp	DWORD PTR 24[rbp], 1152
	je	.L96
	cmp	DWORD PTR 32[rbp], 767
	jle	.L96
	cmp	DWORD PTR -32[rbp], 384
	jne	.L96
	mov	rdx, QWORD PTR ModeIndex_512x384[rip]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	mov	WORD PTR -2[rbp], ax
	jmp	.L96
.L13:
	cmp	DWORD PTR -32[rbp], 480
	jne	.L24
	mov	rdx, QWORD PTR ModeIndex_640x480[rip]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	mov	WORD PTR -2[rbp], ax
	jmp	.L97
.L24:
	cmp	DWORD PTR -32[rbp], 400
	jne	.L97
	movzx	eax, WORD PTR CUT_PANEL848[rip]
	cmp	WORD PTR -44[rbp], ax
	je	.L97
	movzx	eax, WORD PTR CUT_PANEL856[rip]
	cmp	WORD PTR -44[rbp], ax
	je	.L97
	mov	rdx, QWORD PTR ModeIndex_640x400[rip]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	mov	WORD PTR -2[rbp], ax
	jmp	.L97
.L12:
	cmp	DWORD PTR -32[rbp], 600
	jne	.L98
	mov	rdx, QWORD PTR ModeIndex_800x600[rip]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	mov	WORD PTR -2[rbp], ax
	jmp	.L98
.L11:
	movzx	eax, WORD PTR CUT_PANEL848[rip]
	cmp	WORD PTR -44[rbp], ax
	jne	.L99
	cmp	DWORD PTR -32[rbp], 480
	jne	.L99
	mov	rdx, QWORD PTR ModeIndex_848x480[rip]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	mov	WORD PTR -2[rbp], ax
	jmp	.L99
.L10:
	movzx	eax, WORD PTR CUT_PANEL856[rip]
	cmp	WORD PTR -44[rbp], ax
	jne	.L100
	cmp	DWORD PTR -32[rbp], 480
	jne	.L100
	mov	rdx, QWORD PTR ModeIndex_856x480[rip]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	mov	WORD PTR -2[rbp], ax
	jmp	.L100
.L9:
	cmp	DWORD PTR -32[rbp], 768
	jne	.L29
	mov	rdx, QWORD PTR ModeIndex_1024x768[rip]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	mov	WORD PTR -2[rbp], ax
	jmp	.L101
.L29:
	mov	eax, DWORD PTR SIS_300_VGA[rip]
	cmp	DWORD PTR -20[rbp], eax
	jne	.L101
	cmp	DWORD PTR -32[rbp], 600
	jne	.L101
	cmp	DWORD PTR 32[rbp], 600
	jne	.L101
	mov	rdx, QWORD PTR ModeIndex_1024x600[rip]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	mov	WORD PTR -2[rbp], ax
	jmp	.L101
.L8:
	mov	eax, DWORD PTR SIS_300_VGA[rip]
	cmp	DWORD PTR -20[rbp], eax
	jne	.L102
	cmp	DWORD PTR -32[rbp], 768
	jne	.L102
	cmp	DWORD PTR 32[rbp], 768
	jne	.L102
	mov	rdx, QWORD PTR ModeIndex_1152x768[rip]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	mov	WORD PTR -2[rbp], ax
	jmp	.L102
.L7:
	cmp	DWORD PTR -32[rbp], 1024
	jne	.L32
	mov	rdx, QWORD PTR ModeIndex_1280x1024[rip]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	mov	WORD PTR -2[rbp], ax
	jmp	.L103
.L32:
	mov	eax, DWORD PTR SIS_315_VGA[rip]
	cmp	DWORD PTR -20[rbp], eax
	jne	.L103
	cmp	DWORD PTR -32[rbp], 768
	jne	.L103
	cmp	DWORD PTR 32[rbp], 768
	jne	.L103
	mov	rdx, QWORD PTR ModeIndex_310_1280x768[rip]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	mov	WORD PTR -2[rbp], ax
	jmp	.L103
.L6:
	mov	eax, DWORD PTR SIS_300_VGA[rip]
	cmp	DWORD PTR -20[rbp], eax
	jne	.L34
	movzx	eax, WORD PTR CUT_BARCO1366[rip]
	cmp	WORD PTR -44[rbp], ax
	jne	.L34
	cmp	DWORD PTR -32[rbp], 1024
	jne	.L34
	mov	rdx, QWORD PTR ModeIndex_300_1360x1024[rip]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	mov	WORD PTR -2[rbp], ax
.L34:
	movzx	eax, WORD PTR CUT_PANEL848[rip]
	cmp	WORD PTR -44[rbp], ax
	jne	.L104
	cmp	DWORD PTR -32[rbp], 768
	jne	.L104
	mov	rdx, QWORD PTR ModeIndex_1360x768[rip]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	mov	WORD PTR -2[rbp], ax
	jmp	.L104
.L5:
	mov	eax, DWORD PTR SIS_315_VGA[rip]
	cmp	DWORD PTR -20[rbp], eax
	jne	.L105
	cmp	DWORD PTR -32[rbp], 1050
	jne	.L105
	mov	rdx, QWORD PTR ModeIndex_1400x1050[rip]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	mov	WORD PTR -2[rbp], ax
	jmp	.L105
.L3:
	mov	eax, DWORD PTR SIS_315_VGA[rip]
	cmp	DWORD PTR -20[rbp], eax
	jne	.L106
	cmp	DWORD PTR -32[rbp], 1200
	jne	.L106
	mov	rdx, QWORD PTR ModeIndex_1600x1200[rip]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	mov	WORD PTR -2[rbp], ax
	jmp	.L106
.L2:
	mov	eax, DWORD PTR VB2_SISBRIDGE[rip]
	and	eax, DWORD PTR 40[rbp]
	test	eax, eax
	je	.L107
	cmp	DWORD PTR -28[rbp], 2048
	je	.L39
	cmp	DWORD PTR -28[rbp], 2048
	jg	.L38
	cmp	DWORD PTR -28[rbp], 1920
	je	.L40
	cmp	DWORD PTR -28[rbp], 1920
	jg	.L38
	cmp	DWORD PTR -28[rbp], 1680
	je	.L41
	cmp	DWORD PTR -28[rbp], 1680
	jg	.L38
	cmp	DWORD PTR -28[rbp], 1600
	je	.L42
	cmp	DWORD PTR -28[rbp], 1600
	jg	.L38
	cmp	DWORD PTR -28[rbp], 1400
	je	.L43
	cmp	DWORD PTR -28[rbp], 1400
	jg	.L38
	cmp	DWORD PTR -28[rbp], 1360
	je	.L44
	cmp	DWORD PTR -28[rbp], 1360
	jg	.L38
	cmp	DWORD PTR -28[rbp], 1280
	je	.L45
	cmp	DWORD PTR -28[rbp], 1280
	jg	.L38
	cmp	DWORD PTR -28[rbp], 1152
	je	.L46
	cmp	DWORD PTR -28[rbp], 1152
	jg	.L38
	cmp	DWORD PTR -28[rbp], 1024
	je	.L47
	cmp	DWORD PTR -28[rbp], 1024
	jg	.L38
	cmp	DWORD PTR -28[rbp], 960
	je	.L48
	cmp	DWORD PTR -28[rbp], 960
	jg	.L38
	cmp	DWORD PTR -28[rbp], 856
	je	.L49
	cmp	DWORD PTR -28[rbp], 856
	jg	.L38
	cmp	DWORD PTR -28[rbp], 848
	je	.L50
	cmp	DWORD PTR -28[rbp], 848
	jg	.L38
	cmp	DWORD PTR -28[rbp], 800
	je	.L51
	cmp	DWORD PTR -28[rbp], 800
	jg	.L38
	cmp	DWORD PTR -28[rbp], 768
	je	.L52
	cmp	DWORD PTR -28[rbp], 768
	jg	.L38
	cmp	DWORD PTR -28[rbp], 720
	je	.L53
	cmp	DWORD PTR -28[rbp], 720
	jg	.L38
	cmp	DWORD PTR -28[rbp], 640
	je	.L54
	cmp	DWORD PTR -28[rbp], 640
	jg	.L38
	cmp	DWORD PTR -28[rbp], 512
	je	.L55
	cmp	DWORD PTR -28[rbp], 512
	jg	.L38
	cmp	DWORD PTR -28[rbp], 320
	je	.L56
	cmp	DWORD PTR -28[rbp], 400
	je	.L57
	jmp	.L38
.L56:
	cmp	DWORD PTR -32[rbp], 200
	jne	.L58
	mov	rdx, QWORD PTR ModeIndex_320x200[rip]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	mov	WORD PTR -2[rbp], ax
	jmp	.L108
.L58:
	cmp	DWORD PTR -32[rbp], 240
	jne	.L108
	mov	rdx, QWORD PTR ModeIndex_320x240[rip]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	mov	WORD PTR -2[rbp], ax
	jmp	.L108
.L57:
	cmp	DWORD PTR 24[rbp], 799
	jle	.L109
	cmp	DWORD PTR 32[rbp], 599
	jle	.L109
	cmp	DWORD PTR -32[rbp], 300
	jne	.L109
	mov	rdx, QWORD PTR ModeIndex_400x300[rip]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	mov	WORD PTR -2[rbp], ax
	jmp	.L109
.L55:
	cmp	DWORD PTR 24[rbp], 1023
	jle	.L110
	cmp	DWORD PTR 32[rbp], 767
	jle	.L110
	cmp	DWORD PTR 24[rbp], 1152
	je	.L110
	cmp	DWORD PTR -32[rbp], 384
	jne	.L110
	mov	rdx, QWORD PTR ModeIndex_512x384[rip]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	mov	WORD PTR -2[rbp], ax
	jmp	.L110
.L54:
	cmp	DWORD PTR -32[rbp], 480
	jne	.L62
	mov	rdx, QWORD PTR ModeIndex_640x480[rip]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	mov	WORD PTR -2[rbp], ax
	jmp	.L111
.L62:
	cmp	DWORD PTR -32[rbp], 400
	jne	.L111
	mov	rdx, QWORD PTR ModeIndex_640x400[rip]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	mov	WORD PTR -2[rbp], ax
	jmp	.L111
.L53:
	mov	eax, DWORD PTR SIS_315_VGA[rip]
	cmp	DWORD PTR -20[rbp], eax
	jne	.L112
	cmp	DWORD PTR -32[rbp], 480
	jne	.L65
	mov	rdx, QWORD PTR ModeIndex_720x480[rip]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	mov	WORD PTR -2[rbp], ax
	jmp	.L112
.L65:
	cmp	DWORD PTR -32[rbp], 576
	jne	.L112
	mov	rdx, QWORD PTR ModeIndex_720x576[rip]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	mov	WORD PTR -2[rbp], ax
	jmp	.L112
.L52:
	mov	eax, DWORD PTR SIS_315_VGA[rip]
	cmp	DWORD PTR -20[rbp], eax
	jne	.L113
	cmp	DWORD PTR -32[rbp], 576
	jne	.L113
	mov	rdx, QWORD PTR ModeIndex_768x576[rip]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	mov	WORD PTR -2[rbp], ax
	jmp	.L113
.L51:
	cmp	DWORD PTR -32[rbp], 600
	jne	.L67
	mov	rdx, QWORD PTR ModeIndex_800x600[rip]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	mov	WORD PTR -2[rbp], ax
.L67:
	mov	eax, DWORD PTR SIS_315_VGA[rip]
	cmp	DWORD PTR -20[rbp], eax
	jne	.L114
	cmp	DWORD PTR -32[rbp], 480
	jne	.L114
	mov	rdx, QWORD PTR ModeIndex_800x480[rip]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	mov	WORD PTR -2[rbp], ax
	jmp	.L114
.L50:
	mov	eax, DWORD PTR SIS_315_VGA[rip]
	cmp	DWORD PTR -20[rbp], eax
	jne	.L115
	cmp	DWORD PTR -32[rbp], 480
	jne	.L115
	mov	rdx, QWORD PTR ModeIndex_848x480[rip]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	mov	WORD PTR -2[rbp], ax
	jmp	.L115
.L49:
	mov	eax, DWORD PTR SIS_315_VGA[rip]
	cmp	DWORD PTR -20[rbp], eax
	jne	.L116
	cmp	DWORD PTR -32[rbp], 480
	jne	.L116
	mov	rdx, QWORD PTR ModeIndex_856x480[rip]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	mov	WORD PTR -2[rbp], ax
	jmp	.L116
.L48:
	mov	eax, DWORD PTR SIS_315_VGA[rip]
	cmp	DWORD PTR -20[rbp], eax
	jne	.L117
	cmp	DWORD PTR -32[rbp], 540
	jne	.L72
	mov	rdx, QWORD PTR ModeIndex_960x540[rip]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	mov	WORD PTR -2[rbp], ax
	jmp	.L117
.L72:
	cmp	DWORD PTR -32[rbp], 600
	jne	.L117
	mov	rdx, QWORD PTR ModeIndex_960x600[rip]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	mov	WORD PTR -2[rbp], ax
	jmp	.L117
.L47:
	cmp	DWORD PTR -32[rbp], 768
	jne	.L73
	mov	rdx, QWORD PTR ModeIndex_1024x768[rip]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	mov	WORD PTR -2[rbp], ax
.L73:
	mov	eax, DWORD PTR SIS_315_VGA[rip]
	cmp	DWORD PTR -20[rbp], eax
	jne	.L118
	cmp	DWORD PTR -32[rbp], 576
	jne	.L118
	mov	rdx, QWORD PTR ModeIndex_1024x576[rip]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	mov	WORD PTR -2[rbp], ax
	jmp	.L118
.L46:
	mov	eax, DWORD PTR SIS_315_VGA[rip]
	cmp	DWORD PTR -20[rbp], eax
	jne	.L119
	cmp	DWORD PTR -32[rbp], 864
	jne	.L119
	mov	rdx, QWORD PTR ModeIndex_1152x864[rip]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	mov	WORD PTR -2[rbp], ax
	jmp	.L119
.L45:
	cmp	DWORD PTR -32[rbp], 1024
	je	.L76
	cmp	DWORD PTR -32[rbp], 1024
	jg	.L120
	cmp	DWORD PTR -32[rbp], 960
	je	.L78
	cmp	DWORD PTR -32[rbp], 960
	jg	.L120
	cmp	DWORD PTR -32[rbp], 854
	je	.L79
	cmp	DWORD PTR -32[rbp], 854
	jg	.L120
	cmp	DWORD PTR -32[rbp], 800
	je	.L80
	cmp	DWORD PTR -32[rbp], 800
	jg	.L120
	cmp	DWORD PTR -32[rbp], 720
	je	.L81
	cmp	DWORD PTR -32[rbp], 768
	je	.L82
	jmp	.L120
.L81:
	mov	rdx, QWORD PTR ModeIndex_1280x720[rip]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	mov	WORD PTR -2[rbp], ax
.L82:
	mov	eax, DWORD PTR SIS_300_VGA[rip]
	cmp	DWORD PTR -20[rbp], eax
	jne	.L83
	mov	rdx, QWORD PTR ModeIndex_300_1280x768[rip]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	mov	WORD PTR -2[rbp], ax
	jmp	.L77
.L83:
	mov	rdx, QWORD PTR ModeIndex_310_1280x768[rip]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	mov	WORD PTR -2[rbp], ax
	jmp	.L77
.L80:
	mov	eax, DWORD PTR SIS_315_VGA[rip]
	cmp	DWORD PTR -20[rbp], eax
	jne	.L121
	mov	rdx, QWORD PTR ModeIndex_1280x800[rip]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	mov	WORD PTR -2[rbp], ax
	jmp	.L121
.L79:
	mov	eax, DWORD PTR SIS_315_VGA[rip]
	cmp	DWORD PTR -20[rbp], eax
	jne	.L122
	mov	rdx, QWORD PTR ModeIndex_1280x854[rip]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	mov	WORD PTR -2[rbp], ax
	jmp	.L122
.L78:
	mov	rdx, QWORD PTR ModeIndex_1280x960[rip]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	mov	WORD PTR -2[rbp], ax
	jmp	.L77
.L76:
	mov	rdx, QWORD PTR ModeIndex_1280x1024[rip]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	mov	WORD PTR -2[rbp], ax
	jmp	.L77
.L121:
	nop
	jmp	.L120
.L122:
	nop
.L77:
	jmp	.L120
.L44:
	mov	eax, DWORD PTR SIS_315_VGA[rip]
	cmp	DWORD PTR -20[rbp], eax
	jne	.L123
	cmp	DWORD PTR -32[rbp], 768
	jne	.L123
	mov	rdx, QWORD PTR ModeIndex_1360x768[rip]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	mov	WORD PTR -2[rbp], ax
	jmp	.L123
.L43:
	mov	eax, DWORD PTR SIS_315_VGA[rip]
	cmp	DWORD PTR -20[rbp], eax
	jne	.L124
	mov	eax, DWORD PTR VB2_LCDOVER1280BRIDGE[rip]
	and	eax, DWORD PTR 40[rbp]
	test	eax, eax
	je	.L124
	cmp	DWORD PTR -32[rbp], 1050
	jne	.L124
	mov	rdx, QWORD PTR ModeIndex_1400x1050[rip]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	mov	WORD PTR -2[rbp], ax
	jmp	.L124
.L42:
	mov	eax, DWORD PTR SIS_315_VGA[rip]
	cmp	DWORD PTR -20[rbp], eax
	jne	.L125
	mov	eax, DWORD PTR VB2_LCDOVER1280BRIDGE[rip]
	and	eax, DWORD PTR 40[rbp]
	test	eax, eax
	je	.L125
	cmp	DWORD PTR -32[rbp], 1200
	jne	.L125
	mov	rdx, QWORD PTR ModeIndex_1600x1200[rip]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	mov	WORD PTR -2[rbp], ax
	jmp	.L125
.L41:
	mov	eax, DWORD PTR SIS_315_VGA[rip]
	cmp	DWORD PTR -20[rbp], eax
	jne	.L126
	mov	eax, DWORD PTR VB2_LCDOVER1280BRIDGE[rip]
	and	eax, DWORD PTR 40[rbp]
	test	eax, eax
	je	.L126
	cmp	DWORD PTR -32[rbp], 1050
	jne	.L126
	mov	rdx, QWORD PTR ModeIndex_1680x1050[rip]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	mov	WORD PTR -2[rbp], ax
	jmp	.L126
.L40:
	mov	eax, DWORD PTR SIS_315_VGA[rip]
	cmp	DWORD PTR -20[rbp], eax
	jne	.L127
	mov	eax, DWORD PTR VB2_LCDOVER1600BRIDGE[rip]
	and	eax, DWORD PTR 40[rbp]
	test	eax, eax
	je	.L127
	cmp	DWORD PTR -32[rbp], 1440
	jne	.L127
	mov	rdx, QWORD PTR ModeIndex_1920x1440[rip]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	mov	WORD PTR -2[rbp], ax
	jmp	.L127
.L39:
	mov	eax, DWORD PTR SIS_315_VGA[rip]
	cmp	DWORD PTR -20[rbp], eax
	jne	.L128
	mov	eax, DWORD PTR VB2_LCDOVER1600BRIDGE[rip]
	and	eax, DWORD PTR 40[rbp]
	test	eax, eax
	je	.L128
	cmp	DWORD PTR -32[rbp], 1536
	jne	.L128
	mov	rdx, QWORD PTR ModeIndex_310_2048x1536[rip]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	mov	WORD PTR -2[rbp], ax
	jmp	.L128
.L94:
	nop
	jmp	.L38
.L95:
	nop
	jmp	.L38
.L96:
	nop
	jmp	.L38
.L97:
	nop
	jmp	.L38
.L98:
	nop
	jmp	.L38
.L99:
	nop
	jmp	.L38
.L100:
	nop
	jmp	.L38
.L101:
	nop
	jmp	.L38
.L102:
	nop
	jmp	.L38
.L103:
	nop
	jmp	.L38
.L104:
	nop
	jmp	.L38
.L105:
	nop
	jmp	.L38
.L106:
	nop
	jmp	.L38
.L107:
	nop
	jmp	.L38
.L108:
	nop
	jmp	.L38
.L109:
	nop
	jmp	.L38
.L110:
	nop
	jmp	.L38
.L111:
	nop
	jmp	.L38
.L112:
	nop
	jmp	.L38
.L113:
	nop
	jmp	.L38
.L114:
	nop
	jmp	.L38
.L115:
	nop
	jmp	.L38
.L116:
	nop
	jmp	.L38
.L117:
	nop
	jmp	.L38
.L118:
	nop
	jmp	.L38
.L119:
	nop
	jmp	.L38
.L120:
	nop
	jmp	.L38
.L123:
	nop
	jmp	.L38
.L124:
	nop
	jmp	.L38
.L125:
	nop
	jmp	.L38
.L126:
	nop
	jmp	.L38
.L127:
	nop
	jmp	.L38
.L128:
	nop
.L38:
	movzx	eax, WORD PTR -2[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	SiS_GetModeID_LCD, .-SiS_GetModeID_LCD
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"541630.c"
	.text
	.comm	CUT_BARCO1366,2,2
	.comm	CUT_PANEL848,2,2
	.comm	CUT_PANEL856,2,2
	.comm	ModeIndex_1024x576,4,4
	.comm	ModeIndex_1024x600,4,4
	.comm	ModeIndex_1024x768,4,4
	.comm	ModeIndex_1152x768,4,4
	.comm	ModeIndex_1152x864,4,4
	.comm	ModeIndex_1280x1024,4,4
	.comm	ModeIndex_1280x720,4,4
	.comm	ModeIndex_1280x800,4,4
	.comm	ModeIndex_1280x854,4,4
	.comm	ModeIndex_1280x960,4,4
	.comm	ModeIndex_1360x768,4,4
	.comm	ModeIndex_1400x1050,4,4
	.comm	ModeIndex_1600x1200,4,4
	.comm	ModeIndex_1680x1050,4,4
	.comm	ModeIndex_1920x1440,4,4
	.comm	ModeIndex_300_1280x768,4,4
	.comm	ModeIndex_300_1360x1024,4,4
	.comm	ModeIndex_310_1280x768,4,4
	.comm	ModeIndex_310_2048x1536,4,4
	.comm	ModeIndex_320x200,4,4
	.comm	ModeIndex_320x240,4,4
	.comm	ModeIndex_320x240_FSTN,4,4
	.comm	ModeIndex_400x300,4,4
	.comm	ModeIndex_512x384,4,4
	.comm	ModeIndex_640x400,4,4
	.comm	ModeIndex_640x480,4,4
	.comm	ModeIndex_720x480,4,4
	.comm	ModeIndex_720x576,4,4
	.comm	ModeIndex_768x576,4,4
	.comm	ModeIndex_800x480,4,4
	.comm	ModeIndex_800x600,4,4
	.comm	ModeIndex_848x480,4,4
	.comm	ModeIndex_856x480,4,4
	.comm	ModeIndex_960x540,4,4
	.comm	ModeIndex_960x600,4,4
	.comm	SIS_300_VGA,4,4
	.comm	SIS_315_VGA,4,4
	.comm	VB2_30xBDH,4,4
	.comm	VB2_LCDOVER1280BRIDGE,4,4
	.comm	VB2_LCDOVER1600BRIDGE,4,4
	.comm	VB2_LVDS,4,4
	.comm	VB2_SISBRIDGE,4,4
	.comm	VB2_TRUMPION,4,4
	.align	2
	.global	SiS_GetModeID_LCD
	.syntax unified
	.arm
	.fpu softvfp
	.type	SiS_GetModeID_LCD, %function
SiS_GetModeID_LCD:
	@ args = 24, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	mov	r3, #0
	strh	r3, [fp, #-6]	@ movhi
	ldr	r3, .L129
	ldr	r2, [r3]
	ldr	r3, .L129+4
	ldr	r3, [r3]
	orr	r2, r2, r3
	ldr	r3, [fp, #24]
	and	r3, r3, r2
	cmp	r3, #0
	beq	.L2
	ldr	r3, [fp, #-24]
	cmp	r3, #1600
	beq	.L3
	ldr	r3, [fp, #-24]
	cmp	r3, #1600
	bgt	.L38
	ldr	r3, [fp, #-24]
	ldr	r2, .L129+8
	cmp	r3, r2
	beq	.L5
	ldr	r3, [fp, #-24]
	ldr	r2, .L129+8
	cmp	r3, r2
	bgt	.L38
	ldr	r3, [fp, #-24]
	cmp	r3, #1360
	beq	.L6
	ldr	r3, [fp, #-24]
	cmp	r3, #1360
	bgt	.L38
	ldr	r3, [fp, #-24]
	cmp	r3, #1280
	beq	.L7
	ldr	r3, [fp, #-24]
	cmp	r3, #1280
	bgt	.L38
	ldr	r3, [fp, #-24]
	cmp	r3, #1152
	beq	.L8
	ldr	r3, [fp, #-24]
	cmp	r3, #1152
	bgt	.L38
	ldr	r3, [fp, #-24]
	cmp	r3, #1024
	beq	.L9
	ldr	r3, [fp, #-24]
	cmp	r3, #1024
	bgt	.L38
	ldr	r3, [fp, #-24]
	cmp	r3, #856
	beq	.L10
	ldr	r3, [fp, #-24]
	cmp	r3, #856
	bgt	.L38
	ldr	r3, [fp, #-24]
	cmp	r3, #848
	beq	.L11
	ldr	r3, [fp, #-24]
	cmp	r3, #848
	bgt	.L38
	ldr	r3, [fp, #-24]
	cmp	r3, #800
	beq	.L12
	ldr	r3, [fp, #-24]
	cmp	r3, #800
	bgt	.L38
	ldr	r3, [fp, #-24]
	cmp	r3, #640
	beq	.L13
	ldr	r3, [fp, #-24]
	cmp	r3, #640
	bgt	.L38
	ldr	r3, [fp, #-24]
	cmp	r3, #512
	beq	.L14
	ldr	r3, [fp, #-24]
	cmp	r3, #512
	bgt	.L38
	ldr	r3, [fp, #-24]
	cmp	r3, #320
	beq	.L15
	ldr	r3, [fp, #-24]
	cmp	r3, #400
	beq	.L16
	b	.L38
.L15:
	ldr	r3, .L129+12
	ldrh	r3, [r3]
	ldrh	r2, [fp, #12]
	cmp	r2, r3
	beq	.L94
	ldr	r3, .L129+16
	ldrh	r3, [r3]
	ldrh	r2, [fp, #12]
	cmp	r2, r3
	beq	.L94
	ldr	r3, [fp, #-28]
	cmp	r3, #200
	bne	.L18
	ldr	r3, [fp, #8]
	cmp	r3, #0
	bne	.L94
	ldr	r3, .L129+20
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]	@ movhi
	strh	r3, [fp, #-6]	@ movhi
	b	.L94
.L18:
	ldr	r3, [fp, #-28]
	cmp	r3, #240
	bne	.L94
	ldr	r3, [fp, #8]
	cmp	r3, #0
	bne	.L19
	ldr	r3, .L129+24
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]	@ movhi
	strh	r3, [fp, #-6]	@ movhi
	b	.L94
.L19:
	ldr	r3, .L129+184
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bne	.L94
	ldr	r3, .L129+28
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]	@ movhi
	strh	r3, [fp, #-6]	@ movhi
	b	.L94
.L16:
	ldr	r3, .L129+12
	ldrh	r3, [r3]
	ldrh	r2, [fp, #12]
	cmp	r2, r3
	beq	.L95
	ldr	r3, .L129+16
	ldrh	r3, [r3]
	ldrh	r2, [fp, #12]
	cmp	r2, r3
	beq	.L95
	ldr	r3, .L129+32
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bne	.L21
	ldr	r3, .L129+36
	ldr	r2, [r3]
	ldr	r3, [fp, #24]
	and	r3, r3, r2
	cmp	r3, #0
	bne	.L95
.L21:
	ldr	r3, [fp, #-28]
	cmp	r3, #300
	bne	.L95
	ldr	r3, .L129+40
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]	@ movhi
	strh	r3, [fp, #-6]	@ movhi
	b	.L95
.L14:
	ldr	r3, .L129+12
	ldrh	r3, [r3]
	ldrh	r2, [fp, #12]
	cmp	r2, r3
	beq	.L96
	ldr	r3, .L129+16
	ldrh	r3, [r3]
	ldrh	r2, [fp, #12]
	cmp	r2, r3
	beq	.L96
	ldr	r3, .L129+32
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bne	.L23
	ldr	r3, .L129+36
	ldr	r2, [r3]
	ldr	r3, [fp, #24]
	and	r3, r3, r2
	cmp	r3, #0
	bne	.L96
.L23:
	ldr	r3, [fp, #16]
	cmp	r3, #1024
	blt	.L96
	ldr	r3, [fp, #16]
	cmp	r3, #1152
	beq	.L96
	ldr	r3, [fp, #20]
	cmp	r3, #768
	blt	.L96
	ldr	r3, [fp, #-28]
	cmp	r3, #384
	bne	.L96
	ldr	r3, .L129+44
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]	@ movhi
	strh	r3, [fp, #-6]	@ movhi
	b	.L96
.L13:
	ldr	r3, [fp, #-28]
	cmp	r3, #480
	bne	.L24
	ldr	r3, .L129+48
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]	@ movhi
	strh	r3, [fp, #-6]	@ movhi
	b	.L97
.L24:
	ldr	r3, [fp, #-28]
	cmp	r3, #400
	bne	.L97
	ldr	r3, .L129+12
	ldrh	r3, [r3]
	ldrh	r2, [fp, #12]
	cmp	r2, r3
	beq	.L97
	ldr	r3, .L129+16
	ldrh	r3, [r3]
	ldrh	r2, [fp, #12]
	cmp	r2, r3
	beq	.L97
	ldr	r3, .L129+52
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]	@ movhi
	strh	r3, [fp, #-6]	@ movhi
	b	.L97
.L12:
	ldr	r3, [fp, #-28]
	cmp	r3, #600
	bne	.L98
	ldr	r3, .L129+56
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]	@ movhi
	strh	r3, [fp, #-6]	@ movhi
	b	.L98
.L11:
	ldr	r3, .L129+12
	ldrh	r3, [r3]
	ldrh	r2, [fp, #12]
	cmp	r2, r3
	bne	.L99
	ldr	r3, [fp, #-28]
	cmp	r3, #480
	bne	.L99
	ldr	r3, .L129+60
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]	@ movhi
	strh	r3, [fp, #-6]	@ movhi
	b	.L99
.L10:
	ldr	r3, .L129+16
	ldrh	r3, [r3]
	ldrh	r2, [fp, #12]
	cmp	r2, r3
	bne	.L100
	ldr	r3, [fp, #-28]
	cmp	r3, #480
	bne	.L100
	ldr	r3, .L129+64
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]	@ movhi
	strh	r3, [fp, #-6]	@ movhi
	b	.L100
.L9:
	ldr	r3, [fp, #-28]
	cmp	r3, #768
	bne	.L29
	ldr	r3, .L129+68
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]	@ movhi
	strh	r3, [fp, #-6]	@ movhi
	b	.L101
.L29:
	ldr	r3, .L129+32
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bne	.L101
	ldr	r3, [fp, #-28]
	cmp	r3, #600
	bne	.L101
	ldr	r3, [fp, #20]
	cmp	r3, #600
	bne	.L101
	ldr	r3, .L129+72
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]	@ movhi
	strh	r3, [fp, #-6]	@ movhi
	b	.L101
.L8:
	ldr	r3, .L129+32
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bne	.L102
	ldr	r3, [fp, #-28]
	cmp	r3, #768
	bne	.L102
	ldr	r3, [fp, #20]
	cmp	r3, #768
	bne	.L102
	ldr	r3, .L129+76
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]	@ movhi
	strh	r3, [fp, #-6]	@ movhi
	b	.L102
.L7:
	ldr	r3, [fp, #-28]
	cmp	r3, #1024
	bne	.L32
	ldr	r3, .L129+80
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]	@ movhi
	strh	r3, [fp, #-6]	@ movhi
	b	.L103
.L32:
	ldr	r3, .L129+184
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bne	.L103
	ldr	r3, [fp, #-28]
	cmp	r3, #768
	bne	.L103
	ldr	r3, [fp, #20]
	cmp	r3, #768
	bne	.L103
	ldr	r3, .L129+84
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]	@ movhi
	strh	r3, [fp, #-6]	@ movhi
	b	.L103
.L6:
	ldr	r3, .L129+32
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bne	.L34
	ldr	r3, .L129+88
	ldrh	r3, [r3]
	ldrh	r2, [fp, #12]
	cmp	r2, r3
	bne	.L34
	ldr	r3, [fp, #-28]
	cmp	r3, #1024
	bne	.L34
	ldr	r3, .L129+92
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]	@ movhi
	strh	r3, [fp, #-6]	@ movhi
.L34:
	ldr	r3, .L129+12
	ldrh	r3, [r3]
	ldrh	r2, [fp, #12]
	cmp	r2, r3
	bne	.L104
	ldr	r3, [fp, #-28]
	cmp	r3, #768
	bne	.L104
	ldr	r3, .L129+96
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]	@ movhi
	strh	r3, [fp, #-6]	@ movhi
	b	.L104
.L5:
	ldr	r3, .L129+184
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bne	.L105
	ldr	r3, [fp, #-28]
	ldr	r2, .L129+100
	cmp	r3, r2
	bne	.L105
	ldr	r3, .L129+104
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]	@ movhi
	strh	r3, [fp, #-6]	@ movhi
	b	.L105
.L3:
	ldr	r3, .L129+184
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bne	.L106
	ldr	r3, [fp, #-28]
	cmp	r3, #1200
	bne	.L106
	ldr	r3, .L129+108
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]	@ movhi
	strh	r3, [fp, #-6]	@ movhi
	b	.L106
.L2:
	ldr	r3, .L129+112
	ldr	r2, [r3]
	ldr	r3, [fp, #24]
	and	r3, r3, r2
	cmp	r3, #0
	beq	.L107
	ldr	r3, [fp, #-24]
	cmp	r3, #2048
	beq	.L39
	ldr	r3, [fp, #-24]
	cmp	r3, #2048
	bgt	.L38
	ldr	r3, [fp, #-24]
	cmp	r3, #1920
	beq	.L40
	ldr	r3, [fp, #-24]
	cmp	r3, #1920
	bgt	.L38
	ldr	r3, [fp, #-24]
	cmp	r3, #1680
	beq	.L41
	ldr	r3, [fp, #-24]
	cmp	r3, #1680
	bgt	.L38
	ldr	r3, [fp, #-24]
	cmp	r3, #1600
	beq	.L42
	ldr	r3, [fp, #-24]
	cmp	r3, #1600
	bgt	.L38
	ldr	r3, [fp, #-24]
	ldr	r2, .L129+8
	cmp	r3, r2
	beq	.L43
	ldr	r3, [fp, #-24]
	ldr	r2, .L129+8
	cmp	r3, r2
	bgt	.L38
	ldr	r3, [fp, #-24]
	cmp	r3, #1360
	beq	.L44
	ldr	r3, [fp, #-24]
	cmp	r3, #1360
	bgt	.L38
	ldr	r3, [fp, #-24]
	cmp	r3, #1280
	beq	.L45
	ldr	r3, [fp, #-24]
	cmp	r3, #1280
	bgt	.L38
	ldr	r3, [fp, #-24]
	cmp	r3, #1152
	beq	.L46
	ldr	r3, [fp, #-24]
	cmp	r3, #1152
	bgt	.L38
	ldr	r3, [fp, #-24]
	cmp	r3, #1024
	beq	.L47
	ldr	r3, [fp, #-24]
	cmp	r3, #1024
	bgt	.L38
	ldr	r3, [fp, #-24]
	cmp	r3, #960
	beq	.L48
	ldr	r3, [fp, #-24]
	cmp	r3, #960
	bgt	.L38
	ldr	r3, [fp, #-24]
	cmp	r3, #856
	beq	.L49
	ldr	r3, [fp, #-24]
	cmp	r3, #856
	bgt	.L38
	ldr	r3, [fp, #-24]
	cmp	r3, #848
	beq	.L50
	ldr	r3, [fp, #-24]
	cmp	r3, #848
	bgt	.L38
	ldr	r3, [fp, #-24]
	cmp	r3, #800
	beq	.L51
	ldr	r3, [fp, #-24]
	cmp	r3, #800
	bgt	.L38
	ldr	r3, [fp, #-24]
	cmp	r3, #768
	beq	.L52
	ldr	r3, [fp, #-24]
	cmp	r3, #768
	bgt	.L38
	ldr	r3, [fp, #-24]
	cmp	r3, #720
	beq	.L53
	ldr	r3, [fp, #-24]
	cmp	r3, #720
	bgt	.L38
	ldr	r3, [fp, #-24]
	cmp	r3, #640
	beq	.L54
	ldr	r3, [fp, #-24]
	cmp	r3, #640
	bgt	.L38
	ldr	r3, [fp, #-24]
	cmp	r3, #512
	beq	.L55
	ldr	r3, [fp, #-24]
	cmp	r3, #512
	bgt	.L38
	ldr	r3, [fp, #-24]
	cmp	r3, #320
	beq	.L56
	ldr	r3, [fp, #-24]
	cmp	r3, #400
	beq	.L57
	b	.L38
.L56:
	ldr	r3, [fp, #-28]
	cmp	r3, #200
	bne	.L58
	ldr	r3, .L129+20
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]	@ movhi
	strh	r3, [fp, #-6]	@ movhi
	b	.L108
.L58:
	ldr	r3, [fp, #-28]
	cmp	r3, #240
	bne	.L108
	ldr	r3, .L129+24
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]	@ movhi
	strh	r3, [fp, #-6]	@ movhi
	b	.L108
.L57:
	ldr	r3, [fp, #16]
	cmp	r3, #800
	blt	.L109
	ldr	r3, [fp, #20]
	cmp	r3, #600
	blt	.L109
	ldr	r3, [fp, #-28]
	cmp	r3, #300
	bne	.L109
	ldr	r3, .L129+40
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]	@ movhi
	strh	r3, [fp, #-6]	@ movhi
	b	.L109
.L55:
	ldr	r3, [fp, #16]
	cmp	r3, #1024
	blt	.L110
	ldr	r3, [fp, #20]
	cmp	r3, #768
	blt	.L110
	ldr	r3, [fp, #16]
	cmp	r3, #1152
	beq	.L110
	ldr	r3, [fp, #-28]
	cmp	r3, #384
	bne	.L110
	ldr	r3, .L129+44
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]	@ movhi
	strh	r3, [fp, #-6]	@ movhi
	b	.L110
.L54:
	ldr	r3, [fp, #-28]
	cmp	r3, #480
	bne	.L62
	ldr	r3, .L129+48
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]	@ movhi
	strh	r3, [fp, #-6]	@ movhi
	b	.L111
.L62:
	ldr	r3, [fp, #-28]
	cmp	r3, #400
	bne	.L111
	ldr	r3, .L129+52
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]	@ movhi
	strh	r3, [fp, #-6]	@ movhi
	b	.L111
.L53:
	ldr	r3, .L129+184
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bne	.L112
	ldr	r3, [fp, #-28]
	cmp	r3, #480
	bne	.L65
	ldr	r3, .L129+116
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]	@ movhi
	strh	r3, [fp, #-6]	@ movhi
	b	.L112
.L65:
	ldr	r3, [fp, #-28]
	cmp	r3, #576
	bne	.L112
	ldr	r3, .L129+120
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]	@ movhi
	strh	r3, [fp, #-6]	@ movhi
	b	.L112
.L52:
	ldr	r3, .L129+184
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bne	.L113
	ldr	r3, [fp, #-28]
	cmp	r3, #576
	bne	.L113
	ldr	r3, .L129+124
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]	@ movhi
	strh	r3, [fp, #-6]	@ movhi
	b	.L113
.L51:
	ldr	r3, [fp, #-28]
	cmp	r3, #600
	bne	.L67
	ldr	r3, .L129+56
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]	@ movhi
	strh	r3, [fp, #-6]	@ movhi
.L67:
	ldr	r3, .L129+184
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bne	.L114
	ldr	r3, [fp, #-28]
	cmp	r3, #480
	bne	.L114
	ldr	r3, .L129+128
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]	@ movhi
	strh	r3, [fp, #-6]	@ movhi
	b	.L114
.L50:
	ldr	r3, .L129+184
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bne	.L115
	ldr	r3, [fp, #-28]
	cmp	r3, #480
	bne	.L115
	ldr	r3, .L129+60
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]	@ movhi
	strh	r3, [fp, #-6]	@ movhi
	b	.L115
.L49:
	ldr	r3, .L129+184
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bne	.L116
	ldr	r3, [fp, #-28]
	cmp	r3, #480
	bne	.L116
	ldr	r3, .L129+64
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]	@ movhi
	strh	r3, [fp, #-6]	@ movhi
	b	.L116
.L48:
	ldr	r3, .L129+184
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bne	.L117
	ldr	r3, [fp, #-28]
	cmp	r3, #540
	bne	.L72
	ldr	r3, .L129+132
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]	@ movhi
	strh	r3, [fp, #-6]	@ movhi
	b	.L117
.L72:
	ldr	r3, [fp, #-28]
	cmp	r3, #600
	bne	.L117
	ldr	r3, .L129+136
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]	@ movhi
	strh	r3, [fp, #-6]	@ movhi
	b	.L117
.L47:
	ldr	r3, [fp, #-28]
	cmp	r3, #768
	bne	.L73
	ldr	r3, .L129+68
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]	@ movhi
	strh	r3, [fp, #-6]	@ movhi
.L73:
	ldr	r3, .L129+184
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bne	.L118
	ldr	r3, [fp, #-28]
	cmp	r3, #576
	bne	.L118
	ldr	r3, .L129+140
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]	@ movhi
	strh	r3, [fp, #-6]	@ movhi
	b	.L118
.L46:
	ldr	r3, .L129+184
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bne	.L119
	ldr	r3, [fp, #-28]
	cmp	r3, #864
	bne	.L119
	ldr	r3, .L129+144
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]	@ movhi
	strh	r3, [fp, #-6]	@ movhi
	b	.L119
.L45:
	ldr	r3, [fp, #-28]
	cmp	r3, #1024
	beq	.L76
	ldr	r3, [fp, #-28]
	cmp	r3, #1024
	bgt	.L120
	ldr	r3, [fp, #-28]
	cmp	r3, #960
	beq	.L78
	ldr	r3, [fp, #-28]
	cmp	r3, #960
	bgt	.L120
	ldr	r3, [fp, #-28]
	ldr	r2, .L129+148
	cmp	r3, r2
	beq	.L79
	ldr	r3, [fp, #-28]
	ldr	r2, .L129+148
	cmp	r3, r2
	bgt	.L120
	ldr	r3, [fp, #-28]
	cmp	r3, #800
	beq	.L80
	ldr	r3, [fp, #-28]
	cmp	r3, #800
	bgt	.L120
	ldr	r3, [fp, #-28]
	cmp	r3, #720
	beq	.L81
	ldr	r3, [fp, #-28]
	cmp	r3, #768
	beq	.L82
	b	.L120
.L81:
	ldr	r3, .L129+152
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]	@ movhi
	strh	r3, [fp, #-6]	@ movhi
.L82:
	ldr	r3, .L129+32
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bne	.L83
	ldr	r3, .L129+156
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]	@ movhi
	strh	r3, [fp, #-6]	@ movhi
	b	.L77
.L83:
	ldr	r3, .L129+84
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]	@ movhi
	strh	r3, [fp, #-6]	@ movhi
	b	.L77
.L80:
	ldr	r3, .L129+184
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bne	.L121
	ldr	r3, .L129+160
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]	@ movhi
	strh	r3, [fp, #-6]	@ movhi
	b	.L121
.L79:
	ldr	r3, .L129+184
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bne	.L122
	ldr	r3, .L129+164
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]	@ movhi
	strh	r3, [fp, #-6]	@ movhi
	b	.L122
.L78:
	ldr	r3, .L129+168
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]	@ movhi
	strh	r3, [fp, #-6]	@ movhi
	b	.L77
.L76:
	ldr	r3, .L129+80
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]	@ movhi
	strh	r3, [fp, #-6]	@ movhi
	b	.L77
.L121:
	nop
	b	.L120
.L122:
	nop
.L77:
	b	.L120
.L44:
	ldr	r3, .L129+184
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bne	.L123
	ldr	r3, [fp, #-28]
	cmp	r3, #768
	bne	.L123
	ldr	r3, .L129+96
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]	@ movhi
	strh	r3, [fp, #-6]	@ movhi
	b	.L123
.L43:
	ldr	r3, .L129+184
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bne	.L124
	ldr	r3, .L129+172
	ldr	r2, [r3]
	ldr	r3, [fp, #24]
	and	r3, r3, r2
	cmp	r3, #0
	beq	.L124
	ldr	r3, [fp, #-28]
	ldr	r2, .L129+100
	cmp	r3, r2
	bne	.L124
	ldr	r3, .L129+104
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]	@ movhi
	strh	r3, [fp, #-6]	@ movhi
	b	.L124
.L42:
	ldr	r3, .L129+184
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bne	.L125
	ldr	r3, .L129+172
	ldr	r2, [r3]
	ldr	r3, [fp, #24]
	and	r3, r3, r2
	cmp	r3, #0
	beq	.L125
	ldr	r3, [fp, #-28]
	cmp	r3, #1200
	bne	.L125
	ldr	r3, .L129+108
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]	@ movhi
	strh	r3, [fp, #-6]	@ movhi
	b	.L125
.L41:
	ldr	r3, .L129+184
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bne	.L126
	ldr	r3, .L129+172
	ldr	r2, [r3]
	ldr	r3, [fp, #24]
	and	r3, r3, r2
	cmp	r3, #0
	beq	.L126
	ldr	r3, [fp, #-28]
	ldr	r2, .L129+100
	cmp	r3, r2
	bne	.L126
	ldr	r3, .L129+176
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]	@ movhi
	strh	r3, [fp, #-6]	@ movhi
	b	.L126
.L40:
	ldr	r3, .L129+184
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bne	.L127
	ldr	r3, .L129+188
	ldr	r2, [r3]
	ldr	r3, [fp, #24]
	and	r3, r3, r2
	cmp	r3, #0
	beq	.L127
	ldr	r3, [fp, #-28]
	cmp	r3, #1440
	bne	.L127
	ldr	r3, .L129+180
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]	@ movhi
	strh	r3, [fp, #-6]	@ movhi
	b	.L127
.L130:
	.align	2
.L129:
	.word	VB2_LVDS
	.word	VB2_30xBDH
	.word	1400
	.word	CUT_PANEL848
	.word	CUT_PANEL856
	.word	ModeIndex_320x200
	.word	ModeIndex_320x240
	.word	ModeIndex_320x240_FSTN
	.word	SIS_300_VGA
	.word	VB2_TRUMPION
	.word	ModeIndex_400x300
	.word	ModeIndex_512x384
	.word	ModeIndex_640x480
	.word	ModeIndex_640x400
	.word	ModeIndex_800x600
	.word	ModeIndex_848x480
	.word	ModeIndex_856x480
	.word	ModeIndex_1024x768
	.word	ModeIndex_1024x600
	.word	ModeIndex_1152x768
	.word	ModeIndex_1280x1024
	.word	ModeIndex_310_1280x768
	.word	CUT_BARCO1366
	.word	ModeIndex_300_1360x1024
	.word	ModeIndex_1360x768
	.word	1050
	.word	ModeIndex_1400x1050
	.word	ModeIndex_1600x1200
	.word	VB2_SISBRIDGE
	.word	ModeIndex_720x480
	.word	ModeIndex_720x576
	.word	ModeIndex_768x576
	.word	ModeIndex_800x480
	.word	ModeIndex_960x540
	.word	ModeIndex_960x600
	.word	ModeIndex_1024x576
	.word	ModeIndex_1152x864
	.word	854
	.word	ModeIndex_1280x720
	.word	ModeIndex_300_1280x768
	.word	ModeIndex_1280x800
	.word	ModeIndex_1280x854
	.word	ModeIndex_1280x960
	.word	VB2_LCDOVER1280BRIDGE
	.word	ModeIndex_1680x1050
	.word	ModeIndex_1920x1440
	.word	SIS_315_VGA
	.word	VB2_LCDOVER1600BRIDGE
	.word	ModeIndex_310_2048x1536
.L39:
	ldr	r3, .L129+184
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bne	.L128
	ldr	r3, .L129+188
	ldr	r2, [r3]
	ldr	r3, [fp, #24]
	and	r3, r3, r2
	cmp	r3, #0
	beq	.L128
	ldr	r3, [fp, #-28]
	cmp	r3, #1536
	bne	.L128
	ldr	r3, .L129+192
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]	@ movhi
	strh	r3, [fp, #-6]	@ movhi
	b	.L128
.L94:
	nop
	b	.L38
.L95:
	nop
	b	.L38
.L96:
	nop
	b	.L38
.L97:
	nop
	b	.L38
.L98:
	nop
	b	.L38
.L99:
	nop
	b	.L38
.L100:
	nop
	b	.L38
.L101:
	nop
	b	.L38
.L102:
	nop
	b	.L38
.L103:
	nop
	b	.L38
.L104:
	nop
	b	.L38
.L105:
	nop
	b	.L38
.L106:
	nop
	b	.L38
.L107:
	nop
	b	.L38
.L108:
	nop
	b	.L38
.L109:
	nop
	b	.L38
.L110:
	nop
	b	.L38
.L111:
	nop
	b	.L38
.L112:
	nop
	b	.L38
.L113:
	nop
	b	.L38
.L114:
	nop
	b	.L38
.L115:
	nop
	b	.L38
.L116:
	nop
	b	.L38
.L117:
	nop
	b	.L38
.L118:
	nop
	b	.L38
.L119:
	nop
	b	.L38
.L120:
	nop
	b	.L38
.L123:
	nop
	b	.L38
.L124:
	nop
	b	.L38
.L125:
	nop
	b	.L38
.L126:
	nop
	b	.L38
.L127:
	nop
	b	.L38
.L128:
	nop
.L38:
	ldrh	r3, [fp, #-6]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	SiS_GetModeID_LCD, .-SiS_GetModeID_LCD
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
