	.file	"463983.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"Hello world!"
.LC1:
	.string	"ret %d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	eax, 0
	call	Screen_Edid_Test
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.globl	IIC_50H
	.data
	.align 32
	.type	IIC_50H, @object
	.size	IIC_50H, 256
IIC_50H:
	.string	""
	.string	"\377\377\377\377\377\377"
	.string	"Q\270 \024"
	.string	""
	.string	""
	.string	""
	.string	"2\036\001\004\245\036\024x\007\356\225\243TL\231&\017PT"
	.string	""
	.string	""
	.string	"\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001D\243\330\264\220\220(`0 \206\004,\310\020"
	.string	""
	.string	"\030"
	.string	""
	.string	""
	.string	"\020"
	.string	"\n            "
	.string	""
	.string	""
	.string	"\020"
	.string	"\n            "
	.string	""
	.string	""
	.string	"\374"
	.string	"SkyCode      "
	.string	"#"
	.zero	127
	.text
	.globl	Screen_Edid_CheckCal
	.type	Screen_Edid_CheckCal, @function
Screen_Edid_CheckCal:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	BYTE PTR -1[rbp], 0
	mov	BYTE PTR -2[rbp], 0
	jmp	.L4
.L5:
	movzx	edx, BYTE PTR -2[rbp]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	add	BYTE PTR -1[rbp], al
	movzx	eax, BYTE PTR -2[rbp]
	add	eax, 1
	mov	BYTE PTR -2[rbp], al
.L4:
	cmp	BYTE PTR -2[rbp], 126
	jbe	.L5
	movzx	eax, BYTE PTR -1[rbp]
	neg	eax
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	Screen_Edid_CheckCal, .-Screen_Edid_CheckCal
	.globl	Screen_Edid_Cal_Res
	.type	Screen_Edid_Cal_Res, @function
Screen_Edid_Cal_Res:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	eax, DWORD PTR 16[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	BYTE PTR [rax], dl
	mov	eax, DWORD PTR 16[rbp]
	shr	eax, 8
	mov	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 1
	mov	BYTE PTR [rax], dl
	movzx	edx, WORD PTR 20[rbp]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 2
	mov	BYTE PTR [rax], dl
	movzx	eax, WORD PTR 20[rbp]
	shr	ax, 4
	mov	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 4
	and	edx, -16
	mov	BYTE PTR [rax], dl
	movzx	edx, WORD PTR 22[rbp]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 5
	mov	BYTE PTR [rax], dl
	movzx	eax, WORD PTR 22[rbp]
	shr	ax, 4
	mov	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 7
	and	edx, -16
	mov	BYTE PTR [rax], dl
	movzx	edx, WORD PTR 24[rbp]
	movzx	eax, WORD PTR 28[rbp]
	add	edx, eax
	movzx	eax, WORD PTR 32[rbp]
	add	eax, edx
	mov	WORD PTR -8[rbp], ax
	movzx	edx, WORD PTR 26[rbp]
	movzx	eax, WORD PTR 30[rbp]
	add	edx, eax
	movzx	eax, WORD PTR 34[rbp]
	add	eax, edx
	mov	WORD PTR -6[rbp], ax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 3
	movzx	edx, WORD PTR -8[rbp]
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 6
	movzx	eax, BYTE PTR [rax]
	mov	edx, eax
	movzx	eax, WORD PTR -8[rbp]
	shr	ax, 8
	and	eax, 15
	or	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 6
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 6
	movzx	edx, WORD PTR -6[rbp]
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 7
	movzx	eax, BYTE PTR [rax]
	mov	edx, eax
	movzx	eax, WORD PTR -6[rbp]
	shr	ax, 8
	and	eax, 15
	or	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 7
	mov	BYTE PTR [rax], dl
	movzx	edx, WORD PTR 28[rbp]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 8
	mov	BYTE PTR [rax], dl
	movzx	eax, WORD PTR 28[rbp]
	shr	ax, 2
	mov	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 11
	and	edx, -64
	mov	BYTE PTR [rax], dl
	movzx	edx, WORD PTR 24[rbp]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 9
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 11
	movzx	eax, BYTE PTR [rax]
	mov	edx, eax
	movzx	eax, WORD PTR 24[rbp]
	shr	ax, 4
	and	eax, 48
	or	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 11
	mov	BYTE PTR [rax], dl
	movzx	eax, WORD PTR 30[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 10
	sal	edx, 4
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 11
	movzx	eax, BYTE PTR [rax]
	mov	edx, eax
	movzx	eax, WORD PTR 30[rbp]
	shr	ax, 2
	and	eax, 12
	or	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 11
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 10
	movzx	eax, BYTE PTR [rax]
	mov	edx, eax
	movzx	eax, WORD PTR 26[rbp]
	and	eax, 15
	or	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 10
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 11
	movzx	eax, BYTE PTR [rax]
	mov	edx, eax
	movzx	eax, WORD PTR 26[rbp]
	shr	ax, 4
	and	eax, 3
	or	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 11
	mov	BYTE PTR [rax], dl
	mov	WORD PTR -4[rbp], 300
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 12
	movzx	edx, WORD PTR -4[rbp]
	mov	BYTE PTR [rax], dl
	movzx	eax, WORD PTR -4[rbp]
	shr	ax, 4
	mov	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 14
	and	edx, -16
	mov	BYTE PTR [rax], dl
	mov	WORD PTR -2[rbp], 200
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 13
	movzx	edx, WORD PTR -2[rbp]
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 14
	movzx	eax, BYTE PTR [rax]
	mov	edx, eax
	movzx	eax, WORD PTR -2[rbp]
	shr	ax, 8
	and	eax, 15
	or	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 14
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 15
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 16
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 17
	mov	BYTE PTR [rax], 24
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	Screen_Edid_Cal_Res, .-Screen_Edid_Cal_Res
	.globl	Screen_Edid_SetRes
	.type	Screen_Edid_SetRes, @function
Screen_Edid_SetRes:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 24
	mov	rcx, rsp
	mov	rax, QWORD PTR 16[rbp]
	mov	rdx, QWORD PTR 24[rbp]
	mov	QWORD PTR [rcx], rax
	mov	QWORD PTR 8[rcx], rdx
	mov	eax, DWORD PTR 32[rbp]
	mov	DWORD PTR 16[rcx], eax
	lea	rdi, IIC_50H[rip+54]
	call	Screen_Edid_Cal_Res
	add	rsp, 24
	lea	rdi, IIC_50H[rip]
	call	Screen_Edid_CheckCal
	mov	BYTE PTR IIC_50H[rip+127], al
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	Screen_Edid_SetRes, .-Screen_Edid_SetRes
	.section	.rodata
.LC2:
	.string	"%02X "
	.text
	.globl	Screen_Edid_Test
	.type	Screen_Edid_Test, @function
Screen_Edid_Test:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	DWORD PTR -32[rbp], 41796
	mov	WORD PTR -28[rbp], 2520
	mov	WORD PTR -26[rbp], 1680
	mov	WORD PTR -20[rbp], 48
	mov	WORD PTR -24[rbp], 32
	mov	WORD PTR -16[rbp], 100
	mov	WORD PTR -18[rbp], 24
	mov	WORD PTR -22[rbp], 6
	mov	WORD PTR -14[rbp], 10
	sub	rsp, 24
	mov	rcx, rsp
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR [rcx], rax
	mov	QWORD PTR 8[rcx], rdx
	mov	eax, DWORD PTR -16[rbp]
	mov	DWORD PTR 16[rcx], eax
	lea	rdi, IIC_50H[rip+54]
	call	Screen_Edid_Cal_Res
	add	rsp, 24
	lea	rdi, IIC_50H[rip]
	call	Screen_Edid_CheckCal
	mov	BYTE PTR IIC_50H[rip+127], al
	mov	BYTE PTR -34[rbp], 0
	jmp	.L11
.L14:
	mov	BYTE PTR -33[rbp], 0
	jmp	.L12
.L13:
	movzx	edx, BYTE PTR -33[rbp]
	movzx	eax, BYTE PTR -34[rbp]
	sal	eax, 4
	add	eax, edx
	cdqe
	lea	rdx, IIC_50H[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	movzx	eax, BYTE PTR -33[rbp]
	add	eax, 1
	mov	BYTE PTR -33[rbp], al
.L12:
	cmp	BYTE PTR -33[rbp], 15
	jbe	.L13
	mov	edi, 10
	call	putchar@PLT
	movzx	eax, BYTE PTR -34[rbp]
	add	eax, 1
	mov	BYTE PTR -34[rbp], al
.L11:
	cmp	BYTE PTR -34[rbp], 7
	jbe	.L14
	mov	edi, 10
	call	putchar@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	Screen_Edid_Test, .-Screen_Edid_Test
	.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	"463983.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Hello world!\000"
	.align	2
.LC1:
	.ascii	"ret %d\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r0, .L3
	bl	puts
	bl	Screen_Edid_Test
	str	r0, [fp, #-8]
	ldr	r1, [fp, #-8]
	ldr	r0, .L3+4
	bl	printf
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L4:
	.align	2
.L3:
	.word	.LC0
	.word	.LC1
	.size	main, .-main
	.global	IIC_50H
	.data
	.align	2
	.type	IIC_50H, %object
	.size	IIC_50H, 256
IIC_50H:
	.ascii	"\000\377\377\377\377\377\377\000Q\270 \024\000\000\000"
	.ascii	"\0002\036\001\004\245\036\024x\007\356\225\243TL\231"
	.ascii	"&\017PT\000\000\000\001\001\001\001\001\001\001\001"
	.ascii	"\001\001\001\001\001\001\001\001D\243\330\264\220\220"
	.ascii	"(`0 \206\004,\310\020\000\000\030\000\000\000\020\000"
	.ascii	"\012            \000\000\000\020\000\012           "
	.ascii	" \000\000\000\374\000SkyCode      \000#\000"
	.space	127
	.text
	.align	2
	.global	Screen_Edid_CheckCal
	.syntax unified
	.arm
	.fpu softvfp
	.type	Screen_Edid_CheckCal, %function
Screen_Edid_CheckCal:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	mov	r3, #0
	strb	r3, [fp, #-5]
	mov	r3, #0
	strb	r3, [fp, #-6]
	b	.L6
.L7:
	ldrb	r3, [fp, #-6]	@ zero_extendqisi2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldrb	r3, [fp, #-5]
	add	r3, r2, r3
	strb	r3, [fp, #-5]
	ldrb	r3, [fp, #-6]	@ zero_extendqisi2
	add	r3, r3, #1
	strb	r3, [fp, #-6]
.L6:
	ldrb	r3, [fp, #-6]	@ zero_extendqisi2
	cmp	r3, #126
	bls	.L7
	ldrb	r3, [fp, #-5]
	rsb	r3, r3, #0
	and	r3, r3, #255
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	Screen_Edid_CheckCal, .-Screen_Edid_CheckCal
	.align	2
	.global	Screen_Edid_Cal_Res
	.syntax unified
	.arm
	.fpu softvfp
	.type	Screen_Edid_Cal_Res, %function
Screen_Edid_Cal_Res:
	@ args = 24, pretend = 16, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	sub	sp, sp, #16
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	add	ip, fp, #4
	stm	ip, {r0, r1, r2, r3}
	ldr	r3, [fp, #4]
	and	r2, r3, #255
	ldr	r3, [fp, #24]
	strb	r2, [r3]
	ldr	r3, [fp, #4]
	lsr	r2, r3, #8
	ldr	r3, [fp, #24]
	add	r3, r3, #1
	and	r2, r2, #255
	strb	r2, [r3]
	ldrh	r2, [fp, #8]
	ldr	r3, [fp, #24]
	add	r3, r3, #2
	and	r2, r2, #255
	strb	r2, [r3]
	ldrh	r3, [fp, #8]
	lsr	r3, r3, #4
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	and	r2, r3, #255
	ldr	r3, [fp, #24]
	add	r3, r3, #4
	bic	r2, r2, #15
	and	r2, r2, #255
	strb	r2, [r3]
	ldrh	r2, [fp, #10]
	ldr	r3, [fp, #24]
	add	r3, r3, #5
	and	r2, r2, #255
	strb	r2, [r3]
	ldrh	r3, [fp, #10]
	lsr	r3, r3, #4
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	and	r2, r3, #255
	ldr	r3, [fp, #24]
	add	r3, r3, #7
	bic	r2, r2, #15
	and	r2, r2, #255
	strb	r2, [r3]
	ldrh	r2, [fp, #12]
	ldrh	r3, [fp, #16]
	add	r3, r2, r3
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldrh	r3, [fp, #20]
	add	r3, r2, r3
	strh	r3, [fp, #-12]	@ movhi
	ldrh	r2, [fp, #14]
	ldrh	r3, [fp, #18]
	add	r3, r2, r3
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldrh	r3, [fp, #22]
	add	r3, r2, r3
	strh	r3, [fp, #-10]	@ movhi
	ldr	r3, [fp, #24]
	add	r3, r3, #3
	ldrh	r2, [fp, #-12]	@ movhi
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #24]
	add	r3, r3, #6
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #24
	asr	r2, r3, #24
	ldrh	r3, [fp, #-12]
	lsr	r3, r3, #8
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #24
	asr	r3, r3, #24
	and	r3, r3, #15
	lsl	r3, r3, #24
	asr	r3, r3, #24
	orr	r3, r2, r3
	lsl	r3, r3, #24
	asr	r2, r3, #24
	ldr	r3, [fp, #24]
	add	r3, r3, #6
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #24]
	add	r3, r3, #6
	ldrh	r2, [fp, #-10]	@ movhi
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #24]
	add	r3, r3, #7
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #24
	asr	r2, r3, #24
	ldrh	r3, [fp, #-10]
	lsr	r3, r3, #8
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #24
	asr	r3, r3, #24
	and	r3, r3, #15
	lsl	r3, r3, #24
	asr	r3, r3, #24
	orr	r3, r2, r3
	lsl	r3, r3, #24
	asr	r2, r3, #24
	ldr	r3, [fp, #24]
	add	r3, r3, #7
	and	r2, r2, #255
	strb	r2, [r3]
	ldrh	r2, [fp, #16]
	ldr	r3, [fp, #24]
	add	r3, r3, #8
	and	r2, r2, #255
	strb	r2, [r3]
	ldrh	r3, [fp, #16]
	lsr	r3, r3, #2
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	and	r2, r3, #255
	ldr	r3, [fp, #24]
	add	r3, r3, #11
	bic	r2, r2, #63
	and	r2, r2, #255
	strb	r2, [r3]
	ldrh	r2, [fp, #12]
	ldr	r3, [fp, #24]
	add	r3, r3, #9
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #24]
	add	r3, r3, #11
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #24
	asr	r2, r3, #24
	ldrh	r3, [fp, #12]
	lsr	r3, r3, #4
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #24
	asr	r3, r3, #24
	and	r3, r3, #48
	lsl	r3, r3, #24
	asr	r3, r3, #24
	orr	r3, r2, r3
	lsl	r3, r3, #24
	asr	r2, r3, #24
	ldr	r3, [fp, #24]
	add	r3, r3, #11
	and	r2, r2, #255
	strb	r2, [r3]
	ldrh	r3, [fp, #18]
	and	r2, r3, #255
	ldr	r3, [fp, #24]
	add	r3, r3, #10
	lsl	r2, r2, #4
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #24]
	add	r3, r3, #11
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #24
	asr	r2, r3, #24
	ldrh	r3, [fp, #18]
	lsr	r3, r3, #2
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #24
	asr	r3, r3, #24
	and	r3, r3, #12
	lsl	r3, r3, #24
	asr	r3, r3, #24
	orr	r3, r2, r3
	lsl	r3, r3, #24
	asr	r2, r3, #24
	ldr	r3, [fp, #24]
	add	r3, r3, #11
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #24]
	add	r3, r3, #10
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #24
	asr	r2, r3, #24
	ldrh	r3, [fp, #14]
	lsl	r3, r3, #24
	asr	r3, r3, #24
	and	r3, r3, #15
	lsl	r3, r3, #24
	asr	r3, r3, #24
	orr	r3, r2, r3
	lsl	r3, r3, #24
	asr	r2, r3, #24
	ldr	r3, [fp, #24]
	add	r3, r3, #10
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #24]
	add	r3, r3, #11
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #24
	asr	r2, r3, #24
	ldrh	r3, [fp, #14]
	lsr	r3, r3, #4
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #24
	asr	r3, r3, #24
	and	r3, r3, #3
	lsl	r3, r3, #24
	asr	r3, r3, #24
	orr	r3, r2, r3
	lsl	r3, r3, #24
	asr	r2, r3, #24
	ldr	r3, [fp, #24]
	add	r3, r3, #11
	and	r2, r2, #255
	strb	r2, [r3]
	mov	r3, #300
	strh	r3, [fp, #-8]	@ movhi
	ldr	r3, [fp, #24]
	add	r3, r3, #12
	ldrh	r2, [fp, #-8]	@ movhi
	and	r2, r2, #255
	strb	r2, [r3]
	ldrh	r3, [fp, #-8]
	lsr	r3, r3, #4
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	and	r2, r3, #255
	ldr	r3, [fp, #24]
	add	r3, r3, #14
	bic	r2, r2, #15
	and	r2, r2, #255
	strb	r2, [r3]
	mov	r3, #200
	strh	r3, [fp, #-6]	@ movhi
	ldr	r3, [fp, #24]
	add	r3, r3, #13
	ldrh	r2, [fp, #-6]	@ movhi
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #24]
	add	r3, r3, #14
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #24
	asr	r2, r3, #24
	ldrh	r3, [fp, #-6]
	lsr	r3, r3, #8
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #24
	asr	r3, r3, #24
	and	r3, r3, #15
	lsl	r3, r3, #24
	asr	r3, r3, #24
	orr	r3, r2, r3
	lsl	r3, r3, #24
	asr	r2, r3, #24
	ldr	r3, [fp, #24]
	add	r3, r3, #14
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #24]
	add	r3, r3, #15
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #24]
	add	r3, r3, #16
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #24]
	add	r3, r3, #17
	mov	r2, #24
	strb	r2, [r3]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	add	sp, sp, #16
	bx	lr
	.size	Screen_Edid_Cal_Res, .-Screen_Edid_Cal_Res
	.align	2
	.global	Screen_Edid_SetRes
	.syntax unified
	.arm
	.fpu softvfp
	.type	Screen_Edid_SetRes, %function
Screen_Edid_SetRes:
	@ args = 20, pretend = 16, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	sub	sp, sp, #16
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	add	ip, fp, #4
	stm	ip, {r0, r1, r2, r3}
	ldr	r3, .L12
	str	r3, [sp, #4]
	ldr	r3, [fp, #20]
	str	r3, [sp]
	add	r3, fp, #4
	ldm	r3, {r0, r1, r2, r3}
	bl	Screen_Edid_Cal_Res
	ldr	r0, .L12+4
	bl	Screen_Edid_CheckCal
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L12+4
	strb	r2, [r3, #127]
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, lr}
	add	sp, sp, #16
	bx	lr
.L13:
	.align	2
.L12:
	.word	IIC_50H+54
	.word	IIC_50H
	.size	Screen_Edid_SetRes, .-Screen_Edid_SetRes
	.section	.rodata
	.align	2
.LC2:
	.ascii	"%02X \000"
	.text
	.align	2
	.global	Screen_Edid_Test
	.syntax unified
	.arm
	.fpu softvfp
	.type	Screen_Edid_Test, %function
Screen_Edid_Test:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	ldr	r3, .L20
	str	r3, [fp, #-24]
	ldr	r3, .L20+4
	strh	r3, [fp, #-20]	@ movhi
	mov	r3, #1680
	strh	r3, [fp, #-18]	@ movhi
	mov	r3, #48
	strh	r3, [fp, #-12]	@ movhi
	mov	r3, #32
	strh	r3, [fp, #-16]	@ movhi
	mov	r3, #100
	strh	r3, [fp, #-8]	@ movhi
	mov	r3, #24
	strh	r3, [fp, #-10]	@ movhi
	mov	r3, #6
	strh	r3, [fp, #-14]	@ movhi
	mov	r3, #10
	strh	r3, [fp, #-6]	@ movhi
	ldr	r3, .L20+8
	str	r3, [sp, #4]
	ldr	r3, [fp, #-8]
	str	r3, [sp]
	sub	r3, fp, #24
	ldm	r3, {r0, r1, r2, r3}
	bl	Screen_Edid_Cal_Res
	ldr	r0, .L20+12
	bl	Screen_Edid_CheckCal
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L20+12
	strb	r2, [r3, #127]
	mov	r3, #0
	strb	r3, [fp, #-26]
	b	.L15
.L18:
	mov	r3, #0
	strb	r3, [fp, #-25]
	b	.L16
.L17:
	ldrb	r2, [fp, #-25]	@ zero_extendqisi2
	ldrb	r3, [fp, #-26]	@ zero_extendqisi2
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r2, .L20+12
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L20+16
	bl	printf
	ldrb	r3, [fp, #-25]	@ zero_extendqisi2
	add	r3, r3, #1
	strb	r3, [fp, #-25]
.L16:
	ldrb	r3, [fp, #-25]	@ zero_extendqisi2
	cmp	r3, #15
	bls	.L17
	mov	r0, #10
	bl	putchar
	ldrb	r3, [fp, #-26]	@ zero_extendqisi2
	add	r3, r3, #1
	strb	r3, [fp, #-26]
.L15:
	ldrb	r3, [fp, #-26]	@ zero_extendqisi2
	cmp	r3, #7
	bls	.L18
	mov	r0, #10
	bl	putchar
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L21:
	.align	2
.L20:
	.word	41796
	.word	2520
	.word	IIC_50H+54
	.word	IIC_50H
	.word	.LC2
	.size	Screen_Edid_Test, .-Screen_Edid_Test
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
