	.file	"extr_ddbridge-core.c_ddb_set_dma_table.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ddb_set_dma_table, @function
ddb_set_dma_table:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	r12, QWORD PTR [rdi]
	test	r12, r12
	je	.L1
	cmp	QWORD PTR [r12], 0
	je	.L5
	mov	rax, QWORD PTR 8[rdi]
	xor	ebx, ebx
	mov	r14, QWORD PTR [rax]
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rax, QWORD PTR 8[r12]
	mov	rdx, QWORD PTR 32[r12]
	lea	r13, 0[0+rbx*8]
	mov	rdi, r14
	mov	ebp, DWORD PTR [rax+rbx*4]
	add	rdx, r13
	add	rbx, 1
	mov	esi, ebp
	call	ddbwritel@PLT
	mov	rax, QWORD PTR 32[r12]
	mov	esi, ebp
	mov	rdi, r14
	mov	ecx, 32
	lea	rdx, 4[r13+rax]
	sar	esi, cl
	call	ddbwritel@PLT
	mov	rax, QWORD PTR [r12]
	cmp	rax, rbx
	ja	.L4
	sal	eax, 11
	movzx	eax, ax
.L3:
	mov	edx, DWORD PTR 20[r12]
	mov	ecx, DWORD PTR 24[r12]
	sal	edx, 16
	sar	ecx, 7
	and	edx, 983040
	and	ecx, 2047
	or	edx, ecx
	or	eax, edx
	mov	DWORD PTR 16[r12], eax
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	xor	eax, eax
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	ddb_set_dma_table, .-ddb_set_dma_table
	.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_ddbridge-core.c_ddb_set_dma_table.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ddb_set_dma_table, %function
ddb_set_dma_table:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r5, [r0]
	cmp	r5, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	ldr	r2, [r5]
	cmp	r2, #0
	beq	.L3
	mov	r4, #0
	mov	r8, #32
	ldr	r3, [r0, #4]
	ldr	r7, [r3]
.L4:
	ldr	r3, [r5, #4]
	ldr	r2, [r5, #20]
	ldr	r6, [r3, r4, lsl #2]
	add	r2, r2, r4, lsl #3
	mov	r1, r6
	mov	r0, r7
	bl	ddbwritel
	ldr	r3, [r5, #20]
	lsl	r2, r4, #3
	add	r3, r3, #4
	add	r2, r3, r2
	mov	r0, r7
	asr	r1, r6, r8
	bl	ddbwritel
	ldr	r3, [r5]
	add	r4, r4, #1
	cmp	r3, r4
	bhi	.L4
	ldr	r2, .L14
	and	r2, r2, r3, lsl #11
.L3:
	ldr	r3, [r5, #12]
	ldr	r1, [r5, #16]
	lsl	r3, r3, #16
	and	r3, r3, #983040
	lsl	r1, r1, #14
	orr	r3, r3, r1, lsr #21
	orr	r3, r3, r2
	str	r3, [r5, #8]
	pop	{r4, r5, r6, r7, r8, pc}
.L15:
	.align	2
.L14:
	.word	65535
	.size	ddb_set_dma_table, .-ddb_set_dma_table
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
