	.file	"extr_scu.c_readdmasrc.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	readdmasrc, @function
readdmasrc:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	edi, 2
	je	.L2
	jg	.L3
	test	edi, edi
	je	.L4
	cmp	edi, 1
	jne	.L8
	mov	rcx, QWORD PTR ScuDsp[rip]
	movsx	rsi, esi
	mov	rax, QWORD PTR [rcx]
	mov	rcx, QWORD PTR 8[rcx]
	mov	rdx, QWORD PTR 8[rax]
	mov	rcx, QWORD PTR 8[rcx]
	mov	r8d, DWORD PTR [rcx+rdx*4]
	add	rsi, rdx
	mov	QWORD PTR 8[rax], rsi
	mov	eax, r8d
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	cmp	edi, 3
	jne	.L8
	mov	rax, QWORD PTR ScuDsp[rip]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR 8[rax]
	mov	rcx, QWORD PTR 24[rdx]
	mov	rax, QWORD PTR 24[rax]
	mov	r8d, DWORD PTR [rax+rcx*4]
	movsx	rax, esi
	add	rax, rcx
	mov	QWORD PTR 24[rdx], rax
	mov	eax, r8d
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	xor	r8d, r8d
	mov	eax, r8d
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rcx, QWORD PTR ScuDsp[rip]
	movsx	rsi, esi
	mov	rax, QWORD PTR [rcx]
	mov	rcx, QWORD PTR 8[rcx]
	mov	rdx, QWORD PTR [rax]
	mov	rcx, QWORD PTR [rcx]
	mov	r8d, DWORD PTR [rcx+rdx*4]
	add	rsi, rdx
	mov	QWORD PTR [rax], rsi
	mov	eax, r8d
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	mov	rcx, QWORD PTR ScuDsp[rip]
	movsx	rsi, esi
	mov	rax, QWORD PTR [rcx]
	mov	rcx, QWORD PTR 8[rcx]
	mov	rdx, QWORD PTR 16[rax]
	mov	rcx, QWORD PTR 16[rcx]
	mov	r8d, DWORD PTR [rcx+rdx*4]
	add	rsi, rdx
	mov	QWORD PTR 16[rax], rsi
	mov	eax, r8d
	ret
	.cfi_endproc
.LFE0:
	.size	readdmasrc, .-readdmasrc
	.comm	ScuDsp,8,8
	.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_scu.c_readdmasrc.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	readdmasrc, %function
readdmasrc:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	cmp	r0, #3
	ldrls	pc, [pc, r0, asl #2]
	b	.L8
.L4:
	.word	.L7
	.word	.L6
	.word	.L5
	.word	.L3
.L3:
	ldr	r3, .L10
	ldr	r2, [r3]
	ldr	r3, [r2]
	ldr	r0, [r2, #4]
	ldr	r2, [r3, #12]
	ldr	r0, [r0, #12]
	add	r1, r1, r2
	ldr	r0, [r0, r2, lsl #2]
	str	r1, [r3, #12]
	bx	lr
.L7:
	ldr	r3, .L10
	ldr	r2, [r3]
	ldr	r3, [r2]
	ldr	r0, [r2, #4]
	ldr	r2, [r3]
	ldr	r0, [r0]
	add	r1, r1, r2
	ldr	r0, [r0, r2, lsl #2]
	str	r1, [r3]
	bx	lr
.L6:
	ldr	r3, .L10
	ldr	r2, [r3]
	ldr	r3, [r2]
	ldr	r0, [r2, #4]
	ldr	r2, [r3, #4]
	ldr	r0, [r0, #4]
	add	r1, r1, r2
	ldr	r0, [r0, r2, lsl #2]
	str	r1, [r3, #4]
	bx	lr
.L5:
	ldr	r3, .L10
	ldr	r2, [r3]
	ldr	r3, [r2]
	ldr	r0, [r2, #4]
	ldr	r2, [r3, #8]
	ldr	r0, [r0, #8]
	add	r1, r1, r2
	ldr	r0, [r0, r2, lsl #2]
	str	r1, [r3, #8]
	bx	lr
.L8:
	mov	r0, #0
	bx	lr
.L11:
	.align	2
.L10:
	.word	ScuDsp
	.size	readdmasrc, .-readdmasrc
	.comm	ScuDsp,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
