	.file	"extr_radeon_monitor.c_radeon_var_to_panel_info.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	radeon_var_to_panel_info, @function
radeon_var_to_panel_info:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR 60[rsi]
	mov	DWORD PTR 76[rdi], eax
	mov	eax, DWORD PTR 56[rsi]
	mov	DWORD PTR 72[rdi], eax
	mov	eax, 100000000
	cdq
	idiv	DWORD PTR [rsi]
	mov	rdx, QWORD PTR 32[rsi]
	mov	DWORD PTR [rdi], eax
	mov	rax, QWORD PTR 40[rsi]
	mov	QWORD PTR 56[rdi], rdx
	mov	QWORD PTR 64[rdi], rax
	add	rax, rdx
	add	rax, QWORD PTR 48[rsi]
	mov	rdx, QWORD PTR 8[rsi]
	mov	QWORD PTR 48[rdi], rax
	mov	rax, QWORD PTR 16[rsi]
	mov	QWORD PTR 32[rdi], rdx
	mov	QWORD PTR 40[rdi], rax
	add	rax, rdx
	add	rax, QWORD PTR 24[rsi]
	xor	edx, edx
	mov	QWORD PTR 24[rdi], rax
	mov	eax, DWORD PTR 4[rsi]
	test	DWORD PTR FB_SYNC_HOR_HIGH_ACT[rip], eax
	setne	dl
	test	DWORD PTR FB_SYNC_VERT_HIGH_ACT[rip], eax
	setne	al
	mov	DWORD PTR 4[rdi], edx
	movzx	eax, al
	mov	DWORD PTR 8[rdi], eax
	movabs	rax, 858993459201
	mov	QWORD PTR 12[rdi], rax
	ret
	.cfi_endproc
.LFE0:
	.size	radeon_var_to_panel_info, .-radeon_var_to_panel_info
	.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_radeon_monitor.c_radeon_var_to_panel_info.c"
	.text
	.global	__aeabi_idiv
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	radeon_var_to_panel_info, %function
radeon_var_to_panel_info:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r1
	ldr	r2, [r1, #36]
	ldr	r3, [r1, #32]
	mov	r4, r0
	ldr	r1, [r1]
	str	r2, [r0, #48]
	str	r3, [r0, #44]
	ldr	r0, .L4
	bl	__aeabi_idiv
	ldr	r2, .L4+4
	ldr	r3, .L4+8
	ldr	ip, [r2]
	ldr	r1, [r3]
	ldr	r3, [r5, #4]
	mov	lr, #1
	tst	r3, ip
	movne	r7, #1
	moveq	r7, #0
	tst	r3, r1
	movne	r6, #1
	moveq	r6, #0
	mov	ip, #200
	ldr	r2, [r5, #24]
	ldr	r1, [r5, #20]
	ldr	r3, [r5, #12]
	str	r2, [r4, #40]
	str	r1, [r4, #36]
	add	r2, r2, r1
	ldr	r1, [r5, #28]
	str	r3, [r4, #28]
	add	r2, r1, r2
	ldr	r1, [r5, #8]
	str	r2, [r4, #32]
	ldr	r2, [r5, #16]
	add	r3, r3, r1
	add	r3, r2, r3
	str	r0, [r4]
	str	r1, [r4, #24]
	str	r3, [r4, #20]
	str	r7, [r4, #4]
	str	r6, [r4, #8]
	str	lr, [r4, #12]
	str	ip, [r4, #16]
	pop	{r4, r5, r6, r7, r8, pc}
.L5:
	.align	2
.L4:
	.word	100000000
	.word	FB_SYNC_HOR_HIGH_ACT
	.word	FB_SYNC_VERT_HIGH_ACT
	.size	radeon_var_to_panel_info, .-radeon_var_to_panel_info
	.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
