	.file	"extr_r100.c_r100_pll_errata_after_data.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	r100_pll_errata_after_data, @function
r100_pll_errata_after_data:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	eax, DWORD PTR [rdi]
	test	DWORD PTR CHIP_ERRATA_PLL_DELAY[rip], eax
	jne	.L9
	test	DWORD PTR CHIP_ERRATA_R300_CG[rip], eax
	jne	.L10
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	rbx, rdi
	mov	edi, 5
	call	mdelay@PLT
	mov	eax, DWORD PTR [rbx]
	test	DWORD PTR CHIP_ERRATA_R300_CG[rip], eax
	je	.L1
.L10:
	mov	edi, DWORD PTR RADEON_CLOCK_CNTL_INDEX[rip]
	call	RREG32@PLT
	mov	esi, DWORD PTR RADEON_PLL_WR_EN[rip]
	mov	edi, DWORD PTR RADEON_CLOCK_CNTL_INDEX[rip]
	mov	ebp, eax
	or	esi, 63
	not	esi
	and	esi, eax
	call	WREG32@PLT
	mov	edi, DWORD PTR RADEON_CLOCK_CNTL_DATA[rip]
	call	RREG32@PLT
	mov	edi, DWORD PTR RADEON_CLOCK_CNTL_INDEX[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	esi, ebp
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	WREG32@PLT
	.cfi_endproc
.LFE0:
	.size	r100_pll_errata_after_data, .-r100_pll_errata_after_data
	.comm	RADEON_PLL_WR_EN,4,4
	.comm	RADEON_CLOCK_CNTL_INDEX,4,4
	.comm	RADEON_CLOCK_CNTL_DATA,4,4
	.comm	CHIP_ERRATA_R300_CG,4,4
	.comm	CHIP_ERRATA_PLL_DELAY,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_r100.c_r100_pll_errata_after_data.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	r100_pll_errata_after_data, %function
r100_pll_errata_after_data:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, .L10
	ldr	r3, [r0]
	ldr	r2, [r2]
	push	{r4, r5, r6, lr}
	tst	r3, r2
	bne	.L9
.L2:
	ldr	r2, .L10+4
	ldr	r2, [r2]
	tst	r3, r2
	popeq	{r4, r5, r6, pc}
	ldr	r5, .L10+8
	ldr	r0, [r5]
	bl	RREG32
	mov	r4, r0
	ldr	r3, .L10+12
	ldr	r0, [r5]
	ldr	r1, [r3]
	orr	r1, r1, #63
	bic	r1, r4, r1
	bl	WREG32
	ldr	r3, .L10+16
	ldr	r0, [r3]
	bl	RREG32
	mov	r1, r4
	ldr	r0, [r5]
	pop	{r4, r5, r6, lr}
	b	WREG32
.L9:
	mov	r4, r0
	mov	r0, #5
	bl	mdelay
	ldr	r3, [r4]
	b	.L2
.L11:
	.align	2
.L10:
	.word	CHIP_ERRATA_PLL_DELAY
	.word	CHIP_ERRATA_R300_CG
	.word	RADEON_CLOCK_CNTL_INDEX
	.word	RADEON_PLL_WR_EN
	.word	RADEON_CLOCK_CNTL_DATA
	.size	r100_pll_errata_after_data, .-r100_pll_errata_after_data
	.comm	RADEON_PLL_WR_EN,4,4
	.comm	RADEON_CLOCK_CNTL_INDEX,4,4
	.comm	RADEON_CLOCK_CNTL_DATA,4,4
	.comm	CHIP_ERRATA_R300_CG,4,4
	.comm	CHIP_ERRATA_PLL_DELAY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
