	.file	"extr_gfx_v6_0.c_gfx_v6_0_set_ring_funcs.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	gfx_v6_0_set_ring_funcs, @function
gfx_v6_0_set_ring_funcs:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR [rdi]
	test	eax, eax
	jle	.L2
	mov	rdx, QWORD PTR 16[rdi]
	lea	ecx, -1[rax]
	lea	rax, 8[rdx]
	lea	rsi, [rax+rcx*8]
	lea	rcx, gfx_v6_0_ring_funcs_gfx[rip]
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L9:
	add	rax, 8
.L3:
	mov	QWORD PTR [rdx], rcx
	mov	rdx, rax
	cmp	rax, rsi
	jne	.L9
.L2:
	mov	eax, DWORD PTR 4[rdi]
	test	eax, eax
	jle	.L1
	mov	rdx, QWORD PTR 8[rdi]
	lea	ecx, -1[rax]
	lea	rax, 8[rdx]
	lea	rsi, [rax+rcx*8]
	lea	rcx, gfx_v6_0_ring_funcs_compute[rip]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L10:
	add	rax, 8
.L5:
	mov	QWORD PTR [rdx], rcx
	mov	rdx, rax
	cmp	rsi, rax
	jne	.L10
.L1:
	ret
	.cfi_endproc
.LFE0:
	.size	gfx_v6_0_set_ring_funcs, .-gfx_v6_0_set_ring_funcs
	.comm	gfx_v6_0_ring_funcs_gfx,4,4
	.comm	gfx_v6_0_ring_funcs_compute,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_gfx_v6_0.c_gfx_v6_0_set_ring_funcs.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	gfx_v6_0_set_ring_funcs, %function
gfx_v6_0_set_ring_funcs:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	ldr	r2, [r0]
	cmp	r2, #0
	ble	.L2
	ldr	r3, [r0, #12]
	ldr	r1, .L9
	sub	r3, r3, #4
	add	r2, r3, r2, lsl #2
.L3:
	str	r1, [r3, #4]!
	cmp	r3, r2
	bne	.L3
.L2:
	ldr	r2, [r0, #4]
	cmp	r2, #0
	bxle	lr
	ldr	r3, [r0, #8]
	ldr	r1, .L9+4
	sub	r3, r3, #4
	add	r2, r3, r2, lsl #2
.L5:
	str	r1, [r3, #4]!
	cmp	r3, r2
	bne	.L5
	bx	lr
.L10:
	.align	2
.L9:
	.word	gfx_v6_0_ring_funcs_gfx
	.word	gfx_v6_0_ring_funcs_compute
	.size	gfx_v6_0_set_ring_funcs, .-gfx_v6_0_set_ring_funcs
	.comm	gfx_v6_0_ring_funcs_gfx,4,4
	.comm	gfx_v6_0_ring_funcs_compute,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
