	.file	"extr_radeon_atombios.c_radeon_atombios_get_tmds_info.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"TMDS PLL From ATOMBIOS %u %x\n"
	.text
	.p2align 4
	.globl	radeon_atombios_get_tmds_info
	.type	radeon_atombios_get_tmds_info, @function
radeon_atombios_get_tmds_info:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rsi
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	esi, DWORD PTR TMDS_Info[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR [rdi]
	mov	edi, DWORD PTR DATA[rip]
	mov	rbp, QWORD PTR [rax]
	call	GetIndexIntoMasterTable@PLT
	lea	r8, 20[rsp]
	lea	rcx, 16[rsp]
	xor	edx, edx
	mov	rdi, QWORD PTR 0[rbp]
	mov	esi, eax
	lea	r9, 12[rsp]
	call	atom_parse_data_header@PLT
	mov	r8, rax
	xor	eax, eax
	test	r8, r8
	jne	.L11
.L1:
	mov	rbx, QWORD PTR 24[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L12
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	rax, QWORD PTR 0[rbp]
	mov	r12d, DWORD PTR 12[rsp]
	xor	ebp, ebp
	xor	r15d, r15d
	lea	r14, .LC0[rip]
	add	r12d, DWORD PTR [rax]
	movsx	r12, r12d
	mov	edi, DWORD PTR 8[r12]
	call	le16_to_cpu@PLT
	mov	r13d, eax
.L4:
	mov	rax, QWORD PTR [r12]
	mov	edi, DWORD PTR 16[rax+r15]
	call	le16_to_cpu@PLT
	mov	rdi, QWORD PTR [r12]
	mov	rsi, rax
	mov	rax, QWORD PTR [rbx]
	add	rdi, r15
	mov	edx, DWORD PTR 4[rdi]
	mov	ecx, DWORD PTR 8[rdi]
	add	rax, rbp
	mov	DWORD PTR [rax], esi
	sal	edx, 6
	sal	ecx, 12
	movzx	ecx, cx
	and	edx, 4032
	or	edx, ecx
	mov	ecx, DWORD PTR [rdi]
	and	ecx, 63
	or	edx, ecx
	mov	ecx, DWORD PTR 12[rdi]
	mov	rdi, r14
	sal	ecx, 16
	and	ecx, 983040
	or	edx, ecx
	mov	DWORD PTR 4[rax], edx
	call	DRM_DEBUG_KMS@PLT
	mov	rax, QWORD PTR [rbx]
	add	rax, rbp
	cmp	DWORD PTR [rax], r13d
	je	.L13
	add	r15, 20
	add	rbp, 8
	cmp	r15, 80
	jne	.L4
	mov	eax, 1
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L13:
	mov	DWORD PTR [rax], -1
	mov	eax, 1
	jmp	.L1
.L12:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	radeon_atombios_get_tmds_info, .-radeon_atombios_get_tmds_info
	.comm	TMDS_Info,4,4
	.comm	DATA,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_atombios.c_radeon_atombios_get_tmds_info.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"TMDS PLL From ATOMBIOS %u %x\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	radeon_atombios_get_tmds_info
	.syntax unified
	.arm
	.fpu softvfp
	.type	radeon_atombios_get_tmds_info, %function
radeon_atombios_get_tmds_info:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r3, [r0]
	ldr	r2, .L15
	mov	r5, r1
	ldr	r1, .L15+4
	ldr	r4, [r3]
	ldr	r3, .L15+8
	sub	sp, sp, #24
	ldr	r1, [r1]
	ldr	r0, [r2]
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	bl	GetIndexIntoMasterTable
	add	r2, sp, #8
	add	r3, sp, #16
	mov	r1, r0
	ldr	r0, [r4]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r2, #0
	add	r3, sp, #12
	bl	atom_parse_data_header
	cmp	r0, #0
	bne	.L12
.L1:
	ldr	r3, .L15+8
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L13
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L12:
	ldr	r2, [r4]
	ldr	r3, [sp, #8]
	ldr	r9, [r2]
	mov	r4, #0
	add	r9, r9, r3
	ldr	r0, [r9, #4]
	bl	le16_to_cpu
	mov	r6, r0
	ldr	r8, .L15+12
	ldr	r7, .L15+16
.L4:
	ldr	r3, [r9]
	add	r10, r4, r4, lsl #2
	add	r3, r3, r10, lsl #2
	ldr	r0, [r3, #16]
	bl	le16_to_cpu
	mov	r1, r0
	ldr	r0, [r9]
	lsl	r3, r10, #2
	add	r3, r0, r3
	ldmib	r3, {r2, ip}
	ldr	r0, [r0, r10, lsl #2]
	ldr	r3, [r3, #12]
	lsl	r2, r2, #6
	and	ip, r8, ip, lsl #12
	and	r2, r2, #4032
	and	r0, r0, #63
	orr	r2, r2, ip
	lsl	r3, r3, #16
	ldr	ip, [r5]
	orr	r2, r2, r0
	and	r3, r3, #983040
	orr	r2, r2, r3
	add	r3, ip, r4, lsl #3
	str	r1, [ip, r4, lsl #3]
	mov	r0, r7
	str	r2, [r3, #4]
	bl	DRM_DEBUG_KMS
	ldr	r3, [r5]
	lsl	r2, r4, #3
	ldr	r1, [r3, r4, lsl #3]
	add	r3, r3, r2
	cmp	r1, r6
	beq	.L14
	add	r4, r4, #1
	cmp	r4, #4
	bne	.L4
	mov	r0, #1
	b	.L1
.L14:
	mvn	r2, #0
	mov	r0, #1
	str	r2, [r3]
	b	.L1
.L13:
	bl	__stack_chk_fail
.L16:
	.align	2
.L15:
	.word	DATA
	.word	TMDS_Info
	.word	.LC1
	.word	65535
	.word	.LC0
	.size	radeon_atombios_get_tmds_info, .-radeon_atombios_get_tmds_info
	.comm	TMDS_Info,4,4
	.comm	DATA,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
