	.file	"extr_r128_cce.c_r128_do_init_cce.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"called when already initialized\n"
	.align 8
.LC2:
	.string	"PCI GART memory not allocated!\n"
	.section	.rodata.str1.1
.LC3:
	.string	"TIMEOUT problem!\n"
.LC4:
	.string	"Bad cce_mode!\n"
.LC5:
	.string	"could not find sarea!\n"
.LC6:
	.string	"could not find mmio region!\n"
	.section	.rodata.str1.8
	.align 8
.LC7:
	.string	"could not find cce ring region!\n"
	.align 8
.LC8:
	.string	"could not find ring read pointer!\n"
	.align 8
.LC9:
	.string	"could not find dma buffer region!\n"
	.align 8
.LC10:
	.string	"could not find agp texture region!\n"
	.section	.rodata.str1.1
.LC11:
	.string	"failed to init PCI GART!\n"
.LC12:
	.string	"Failed to load firmware!\n"
	.text
	.p2align 4
	.type	r128_do_init_cce, @function
r128_do_init_cce:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	lea	rdi, .LC0[rip]
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	call	DRM_DEBUG@PLT
	cmp	QWORD PTR 0[rbp], 0
	je	.L2
	lea	rdi, .LC1[rip]
	call	DRM_DEBUG@PLT
	mov	r12d, DWORD PTR EINVAL[rip]
	neg	r12d
.L1:
	mov	eax, r12d
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	mov	edi, 216
	call	kzalloc@PLT
	mov	rbx, rax
	test	rax, rax
	je	.L40
	mov	rax, QWORD PTR 72[r12]
	mov	QWORD PTR 104[rbx], rax
	test	rax, rax
	jne	.L44
.L5:
	mov	eax, DWORD PTR [r12]
	mov	DWORD PTR [rbx], eax
	test	eax, eax
	jle	.L6
	cmp	eax, DWORD PTR R128_MAX_USEC_TIMEOUT[rip]
	jle	.L7
.L6:
	lea	rdi, .LC3[rip]
.L42:
	call	DRM_DEBUG@PLT
.L41:
	mov	QWORD PTR 0[rbp], rbx
	mov	rdi, rbp
	call	r128_do_cleanup_cce@PLT
	mov	r12d, DWORD PTR EINVAL[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	neg	r12d
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L44:
	.cfi_restore_state
	cmp	QWORD PTR 8[rbp], 0
	jne	.L5
	lea	rdi, .LC2[rip]
	call	DRM_ERROR@PLT
	jmp	.L41
	.p2align 4,,10
	.p2align 3
.L7:
	mov	eax, DWORD PTR 4[r12]
	xor	esi, esi
	lea	rdi, 208[rbx]
	mov	DWORD PTR 4[rbx], eax
	call	atomic_set@PLT
	mov	eax, DWORD PTR 4[r12]
	lea	edx, -135[rax]
	and	edx, -3
	je	.L8
	lea	edx, -132[rax]
	lea	rdi, .LC4[rip]
	cmp	edx, 1
	ja	.L42
.L8:
	cmp	eax, 135
	jg	.L9
	cmp	eax, 133
	jg	.L10
	cmp	eax, 128
	je	.L11
	sub	eax, 129
	cmp	eax, 4
	ja	.L12
	mov	DWORD PTR 8[rbx], 64
.L12:
	cmp	DWORD PTR 8[r12], 16
	mov	rax, QWORD PTR R128_DATATYPE_ARGB8888[rip]
	jne	.L15
	mov	rax, QWORD PTR R128_DATATYPE_RGB565[rip]
.L15:
	mov	r10d, DWORD PTR 12[r12]
	mov	edx, DWORD PTR 16[r12]
	mov	QWORD PTR 200[rbx], rax
	mov	r8d, DWORD PTR 20[r12]
	mov	eax, DWORD PTR 24[r12]
	cmp	DWORD PTR 28[r12], 16
	mov	DWORD PTR 12[rbx], r10d
	mov	DWORD PTR 16[rbx], edx
	mov	rcx, QWORD PTR R128_DATATYPE_ARGB8888[rip]
	mov	DWORD PTR 20[rbx], r8d
	mov	DWORD PTR 24[rbx], eax
	jne	.L17
	mov	rcx, QWORD PTR R128_DATATYPE_RGB565[rip]
.L17:
	test	edx, edx
	lea	r9d, 7[rdx]
	mov	edi, DWORD PTR 36[r12]
	mov	esi, DWORD PTR 40[r12]
	cmovs	edx, r9d
	sar	r10d, 5
	mov	QWORD PTR 192[rbx], rcx
	mov	ecx, DWORD PTR 32[r12]
	mov	DWORD PTR 32[rbx], edi
	sar	edx, 3
	mov	DWORD PTR 28[rbx], ecx
	sal	edx, 21
	mov	DWORD PTR 36[rbx], esi
	or	edx, r10d
	test	eax, eax
	mov	DWORD PTR 40[rbx], edx
	lea	edx, 7[rax]
	cmovs	eax, edx
	sar	r8d, 5
	sar	eax, 3
	sal	eax, 21
	or	eax, r8d
	test	edi, edi
	mov	DWORD PTR 44[rbx], eax
	lea	eax, 7[rdi]
	cmovs	edi, eax
	sar	esi, 5
	sar	ecx, 5
	or	ecx, DWORD PTR R128_DST_TILE[rip]
	sar	edi, 3
	sal	edi, 21
	or	ecx, edi
	or	edi, esi
	mov	DWORD PTR 52[rbx], edi
	mov	rdi, rbp
	mov	DWORD PTR 48[rbx], ecx
	call	drm_getsarea@PLT
	mov	QWORD PTR 168[rbx], rax
	test	rax, rax
	je	.L45
	mov	esi, DWORD PTR 68[r12]
	mov	rdi, rbp
	call	drm_core_findmap@PLT
	mov	QWORD PTR 184[rbx], rax
	test	rax, rax
	je	.L46
	mov	esi, DWORD PTR 64[r12]
	mov	rdi, rbp
	call	drm_core_findmap@PLT
	mov	QWORD PTR 152[rbx], rax
	test	rax, rax
	je	.L47
	mov	esi, DWORD PTR 60[r12]
	mov	rdi, rbp
	call	drm_core_findmap@PLT
	mov	QWORD PTR 160[rbx], rax
	test	rax, rax
	je	.L48
	mov	esi, DWORD PTR 56[r12]
	mov	rdi, rbp
	mov	DWORD PTR 32[rbp], esi
	call	drm_core_findmap@PLT
	mov	QWORD PTR 24[rbp], rax
	test	rax, rax
	je	.L49
	cmp	QWORD PTR 104[rbx], 0
	jne	.L23
	mov	esi, DWORD PTR 52[r12]
	mov	rdi, rbp
	call	drm_core_findmap@PLT
	mov	QWORD PTR 176[rbx], rax
	test	rax, rax
	je	.L24
	mov	rax, QWORD PTR 24[rbp]
.L23:
	mov	rdx, QWORD PTR 168[rbx]
	movsx	rcx, DWORD PTR 44[r12]
	mov	rdx, QWORD PTR [rdx]
	lea	rdx, [rdx+rcx*4]
	mov	QWORD PTR 112[rbx], rdx
	mov	rdx, QWORD PTR 152[rbx]
	mov	rcx, QWORD PTR 8[rdx]
	mov	QWORD PTR [rdx], rcx
	mov	rcx, QWORD PTR 160[rbx]
	mov	rsi, QWORD PTR 8[rcx]
	mov	QWORD PTR [rcx], rsi
	mov	rcx, QWORD PTR 8[rax]
	mov	QWORD PTR [rax], rcx
	mov	rax, QWORD PTR 8[rbp]
	movsx	rcx, DWORD PTR 48[r12]
	mov	rdx, QWORD PTR [rdx]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR 144[rbx], rdx
	mov	QWORD PTR 56[rbx], rax
	mov	rax, rcx
	and	rcx, -4
	add	rdx, rcx
	lea	edi, 7[rax]
	test	eax, eax
	mov	DWORD PTR 120[rbx], eax
	cmovns	edi, eax
	mov	QWORD PTR 136[rbx], rdx
	sar	edi, 3
	call	drm_order@PLT
	mov	edi, DWORD PTR R128_LAST_FRAME_REG[rip]
	xor	esi, esi
	mov	DWORD PTR 128[rbx], 128
	mov	DWORD PTR 132[rbx], eax
	movsx	rax, DWORD PTR 120[rbx]
	shr	rax, 2
	sub	eax, 1
	mov	DWORD PTR 124[rbx], eax
	mov	rax, QWORD PTR 112[rbx]
	mov	QWORD PTR 8[rax], 0
	call	R128_WRITE@PLT
	mov	rax, QWORD PTR 112[rbx]
	mov	edi, DWORD PTR R128_LAST_DISPATCH_REG[rip]
	xor	esi, esi
	mov	QWORD PTR [rax], 0
	call	R128_WRITE@PLT
	mov	edi, 32
	call	DMA_BIT_MASK@PLT
	mov	QWORD PTR 80[rbx], 0
	lea	rsi, 64[rbx]
	mov	rdi, rbp
	mov	DWORD PTR 96[rbx], eax
	mov	eax, DWORD PTR DRM_ATI_GART_MAIN[rip]
	mov	QWORD PTR 64[rbx], 0
	mov	DWORD PTR 92[rbx], eax
	mov	eax, DWORD PTR R128_PCIGART_TABLE_SIZE[rip]
	mov	DWORD PTR 88[rbx], eax
	mov	eax, DWORD PTR DRM_ATI_GART_PCI[rip]
	mov	DWORD PTR 72[rbx], eax
	call	drm_ati_pcigart_init@PLT
	test	eax, eax
	je	.L50
	mov	rsi, QWORD PTR 64[rbx]
	mov	edi, DWORD PTR R128_PCI_GART_PAGE[rip]
	call	R128_WRITE@PLT
	mov	rsi, rbx
	mov	rdi, rbp
	call	r128_cce_init_ring_buffer@PLT
	mov	rdi, rbx
	call	r128_cce_load_microcode@PLT
	mov	QWORD PTR 0[rbp], rbx
	mov	rdi, rbp
	mov	r12d, eax
	call	r128_do_engine_reset@PLT
	test	r12d, r12d
	je	.L1
	lea	rdi, .LC12[rip]
	call	DRM_ERROR@PLT
	mov	rdi, rbp
	call	r128_do_cleanup_cce@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L9:
	sub	eax, 136
	cmp	eax, 1
	ja	.L12
	mov	DWORD PTR 8[rbx], 128
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L50:
	lea	rdi, .LC11[rip]
	call	DRM_ERROR@PLT
	mov	QWORD PTR 0[rbp], rbx
	mov	rdi, rbp
	call	r128_do_cleanup_cce@PLT
	.p2align 4,,10
	.p2align 3
.L40:
	mov	r12d, DWORD PTR ENOMEM[rip]
	neg	r12d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L11:
	mov	DWORD PTR 8[rbx], 0
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L10:
	mov	DWORD PTR 8[rbx], 192
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L45:
	lea	rdi, .LC5[rip]
	call	DRM_ERROR@PLT
	jmp	.L41
	.p2align 4,,10
	.p2align 3
.L46:
	lea	rdi, .LC6[rip]
	call	DRM_ERROR@PLT
	jmp	.L41
	.p2align 4,,10
	.p2align 3
.L47:
	lea	rdi, .LC7[rip]
	call	DRM_ERROR@PLT
	jmp	.L41
	.p2align 4,,10
	.p2align 3
.L48:
	lea	rdi, .LC8[rip]
	call	DRM_ERROR@PLT
	jmp	.L41
.L49:
	lea	rdi, .LC9[rip]
	call	DRM_ERROR@PLT
	jmp	.L41
.L24:
	lea	rdi, .LC10[rip]
	call	DRM_ERROR@PLT
	jmp	.L41
	.cfi_endproc
.LFE0:
	.size	r128_do_init_cce, .-r128_do_init_cce
	.comm	R128_PCI_GART_PAGE,4,4
	.comm	R128_PCIGART_TABLE_SIZE,4,4
	.comm	R128_MAX_USEC_TIMEOUT,4,4
	.comm	R128_LAST_FRAME_REG,4,4
	.comm	R128_LAST_DISPATCH_REG,4,4
	.comm	R128_DST_TILE,4,4
	.comm	R128_DATATYPE_RGB565,8,8
	.comm	R128_DATATYPE_ARGB8888,8,8
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	EINVAL,4,4
	.comm	DRM_ATI_GART_PCI,4,4
	.comm	DRM_ATI_GART_MAIN,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_r128_cce.c_r128_do_init_cce.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"\012\000"
	.align	2
.LC1:
	.ascii	"called when already initialized\012\000"
	.align	2
.LC2:
	.ascii	"PCI GART memory not allocated!\012\000"
	.align	2
.LC3:
	.ascii	"TIMEOUT problem!\012\000"
	.align	2
.LC4:
	.ascii	"Bad cce_mode!\012\000"
	.align	2
.LC5:
	.ascii	"could not find sarea!\012\000"
	.align	2
.LC6:
	.ascii	"could not find mmio region!\012\000"
	.align	2
.LC7:
	.ascii	"could not find cce ring region!\012\000"
	.align	2
.LC8:
	.ascii	"could not find ring read pointer!\012\000"
	.align	2
.LC9:
	.ascii	"could not find dma buffer region!\012\000"
	.align	2
.LC10:
	.ascii	"could not find agp texture region!\012\000"
	.align	2
.LC11:
	.ascii	"failed to init PCI GART!\012\000"
	.align	2
.LC12:
	.ascii	"Failed to load firmware!\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	r128_do_init_cce, %function
r128_do_init_cce:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r6, r0
	ldr	r0, .L45
	mov	r5, r1
	bl	DRM_DEBUG
	ldr	r3, [r6]
	cmp	r3, #0
	beq	.L2
	ldr	r0, .L45+4
	bl	DRM_DEBUG
	ldr	r3, .L45+8
	ldr	r5, [r3]
	rsb	r5, r5, #0
.L1:
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L2:
	ldr	r3, .L45+12
	mov	r0, #148
	ldr	r1, [r3]
	bl	kzalloc
	subs	r4, r0, #0
	beq	.L34
	ldr	r3, [r5, #72]
	cmp	r3, #0
	str	r3, [r4, #84]
	bne	.L38
.L5:
	ldr	r3, [r5]
	cmp	r3, #0
	str	r3, [r4]
	ble	.L6
	ldr	r2, .L45+16
	ldr	r2, [r2]
	cmp	r3, r2
	ble	.L7
.L6:
	ldr	r0, .L45+20
.L36:
	bl	DRM_DEBUG
.L35:
	mov	r0, r6
	str	r4, [r6]
	bl	r128_do_cleanup_cce
	ldr	r3, .L45+8
	ldr	r5, [r3]
	rsb	r5, r5, #0
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L38:
	ldr	r3, [r6, #4]
	cmp	r3, #0
	bne	.L5
	ldr	r0, .L45+24
	bl	DRM_ERROR
	b	.L35
.L7:
	ldr	r3, [r5, #4]
	mov	r1, #0
	str	r3, [r4, #4]
	add	r0, r4, #144
	bl	atomic_set
	ldr	r3, [r5, #4]
	sub	r2, r3, #135
	bic	r2, r2, #2
	sub	r1, r3, #132
	cmp	r2, #0
	cmpne	r1, #1
	ldrhi	r0, .L45+28
	bhi	.L36
	sub	r3, r3, #128
	cmp	r3, #9
	ldrls	pc, [pc, r3, asl #2]
	b	.L9
.L11:
	.word	.L14
	.word	.L13
	.word	.L13
	.word	.L13
	.word	.L13
	.word	.L13
	.word	.L12
	.word	.L12
	.word	.L10
	.word	.L10
.L13:
	mov	r3, #64
	str	r3, [r4, #8]
.L9:
	ldr	r3, [r5, #8]
	add	r0, r5, #12
	cmp	r3, #16
	ldreq	r3, .L45+32
	ldrne	r3, .L45+36
	ldm	r0, {r0, r2, r8}
	ldr	r1, [r3]
	ldr	r3, [r5, #28]
	ldr	ip, [r5, #36]
	cmp	r3, #16
	ldr	r3, [r5, #24]
	str	r1, [r4, #140]
	ldreq	r1, .L45+32
	ldrne	r1, .L45+36
	cmp	r2, #0
	ldr	lr, [r1]
	add	r1, r2, #7
	str	r2, [r4, #16]
	movlt	r2, r1
	cmp	r3, #0
	add	r1, r3, #7
	movge	r1, r3
	cmp	ip, #0
	add	r7, ip, #7
	movge	r7, ip
	str	r3, [r4, #24]
	ldr	r3, .L45+40
	str	r8, [r4, #20]
	asr	r1, r1, #3
	asr	r8, r8, #5
	orr	r1, r8, r1, lsl #21
	ldr	r3, [r3]
	ldr	r8, [r5, #40]
	str	r0, [r4, #12]
	asr	r9, r0, #5
	asr	r0, r2, #3
	ldr	r2, [r5, #32]
	asr	r7, r7, #3
	orr	r3, r3, r2, asr #5
	str	r2, [r4, #28]
	asr	r2, r8, #5
	orr	r0, r9, r0, lsl #21
	orr	r3, r3, r7, lsl #21
	orr	r2, r2, r7, lsl #21
	str	r0, [r4, #40]
	str	lr, [r4, #136]
	mov	r0, r6
	str	ip, [r4, #32]
	str	r8, [r4, #36]
	str	r1, [r4, #44]
	str	r3, [r4, #48]
	str	r2, [r4, #52]
	bl	drm_getsarea
	cmp	r0, #0
	str	r0, [r4, #124]
	beq	.L39
	mov	r0, r6
	ldr	r1, [r5, #68]
	bl	drm_core_findmap
	cmp	r0, #0
	str	r0, [r4, #132]
	beq	.L40
	mov	r0, r6
	ldr	r1, [r5, #64]
	bl	drm_core_findmap
	cmp	r0, #0
	str	r0, [r4, #116]
	beq	.L41
	mov	r0, r6
	ldr	r1, [r5, #60]
	bl	drm_core_findmap
	cmp	r0, #0
	str	r0, [r4, #120]
	beq	.L42
	ldr	r1, [r5, #56]
	mov	r0, r6
	str	r1, [r6, #16]
	bl	drm_core_findmap
	cmp	r0, #0
	str	r0, [r6, #12]
	beq	.L43
	ldr	r3, [r4, #84]
	cmp	r3, #0
	bne	.L24
	mov	r0, r6
	ldr	r1, [r5, #52]
	bl	drm_core_findmap
	cmp	r0, #0
	str	r0, [r4, #128]
	beq	.L25
	ldr	r0, [r6, #12]
.L24:
	ldr	ip, [r5, #48]
	ldr	r2, [r4, #124]
	cmp	ip, #0
	add	lr, ip, #7
	movge	lr, ip
	ldr	r5, [r5, #44]
	ldr	r2, [r2]
	ldr	r3, [r4, #116]
	ldr	r1, [r4, #120]
	add	r2, r2, r5, lsl #2
	str	r2, [r4, #88]
	ldr	r5, [r3, #4]
	ldr	r2, [r1, #4]
	str	r5, [r3]
	str	r2, [r1]
	ldr	r2, [r0, #4]
	ldr	r1, [r6, #4]
	str	r2, [r0]
	ldr	r2, [r3]
	ldr	r1, [r1]
	bic	r3, ip, #3
	add	r3, r2, r3
	asr	r0, lr, #3
	str	r3, [r4, #108]
	str	r2, [r4, #112]
	str	r1, [r4, #56]
	str	ip, [r4, #92]
	bl	drm_order
	mov	r5, #0
	mov	r1, #128
	ldr	r3, [r4, #92]
	ldr	ip, [r4, #88]
	ldr	r2, .L45+44
	lsr	r3, r3, #2
	sub	r3, r3, #1
	str	r0, [r4, #104]
	str	r3, [r4, #96]
	str	r1, [r4, #100]
	ldr	r0, [r2]
	str	r5, [ip, #4]
	mov	r1, r5
	bl	R128_WRITE
	ldr	r2, [r4, #88]
	ldr	r3, .L45+48
	mov	r1, r5
	ldr	r0, [r3]
	str	r5, [r2]
	bl	R128_WRITE
	mov	r0, #32
	bl	DMA_BIT_MASK
	ldr	r1, .L45+52
	ldr	r2, .L45+56
	ldr	r3, .L45+60
	ldr	r1, [r1]
	ldr	r2, [r2]
	ldr	r3, [r3]
	str	r0, [r4, #80]
	str	r1, [r4, #76]
	mov	r0, r6
	str	r5, [r4, #68]
	str	r5, [r4, #60]
	str	r2, [r4, #72]
	str	r3, [r4, #64]
	add	r1, r4, #60
	bl	drm_ati_pcigart_init
	cmp	r0, r5
	beq	.L44
	ldr	r3, .L45+64
	ldr	r1, [r4, #60]
	ldr	r0, [r3]
	bl	R128_WRITE
	mov	r1, r4
	mov	r0, r6
	bl	r128_cce_init_ring_buffer
	mov	r0, r4
	bl	r128_cce_load_microcode
	mov	r5, r0
	str	r4, [r6]
	mov	r0, r6
	bl	r128_do_engine_reset
	cmp	r5, #0
	beq	.L1
	ldr	r0, .L45+68
	bl	DRM_ERROR
	mov	r0, r6
	bl	r128_do_cleanup_cce
	b	.L1
.L44:
	ldr	r0, .L45+72
	bl	DRM_ERROR
	mov	r0, r6
	str	r4, [r6]
	bl	r128_do_cleanup_cce
.L34:
	ldr	r3, .L45+76
	ldr	r5, [r3]
	rsb	r5, r5, #0
	b	.L1
.L10:
	mov	r3, #128
	str	r3, [r4, #8]
	b	.L9
.L12:
	mov	r3, #192
	str	r3, [r4, #8]
	b	.L9
.L14:
	mov	r3, #0
	str	r3, [r4, #8]
	b	.L9
.L39:
	ldr	r0, .L45+80
	bl	DRM_ERROR
	b	.L35
.L40:
	ldr	r0, .L45+84
	bl	DRM_ERROR
	b	.L35
.L41:
	ldr	r0, .L45+88
	bl	DRM_ERROR
	b	.L35
.L42:
	ldr	r0, .L45+92
	bl	DRM_ERROR
	b	.L35
.L43:
	ldr	r0, .L45+96
	bl	DRM_ERROR
	b	.L35
.L25:
	ldr	r0, .L45+100
	bl	DRM_ERROR
	b	.L35
.L46:
	.align	2
.L45:
	.word	.LC0
	.word	.LC1
	.word	EINVAL
	.word	GFP_KERNEL
	.word	R128_MAX_USEC_TIMEOUT
	.word	.LC3
	.word	.LC2
	.word	.LC4
	.word	R128_DATATYPE_RGB565
	.word	R128_DATATYPE_ARGB8888
	.word	R128_DST_TILE
	.word	R128_LAST_FRAME_REG
	.word	R128_LAST_DISPATCH_REG
	.word	DRM_ATI_GART_MAIN
	.word	R128_PCIGART_TABLE_SIZE
	.word	DRM_ATI_GART_PCI
	.word	R128_PCI_GART_PAGE
	.word	.LC12
	.word	.LC11
	.word	ENOMEM
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.size	r128_do_init_cce, .-r128_do_init_cce
	.comm	R128_PCI_GART_PAGE,4,4
	.comm	R128_PCIGART_TABLE_SIZE,4,4
	.comm	R128_MAX_USEC_TIMEOUT,4,4
	.comm	R128_LAST_FRAME_REG,4,4
	.comm	R128_LAST_DISPATCH_REG,4,4
	.comm	R128_DST_TILE,4,4
	.comm	R128_DATATYPE_RGB565,4,4
	.comm	R128_DATATYPE_ARGB8888,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	EINVAL,4,4
	.comm	DRM_ATI_GART_PCI,4,4
	.comm	DRM_ATI_GART_MAIN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
