	.file	"extr_cb_pcidas64.c_load_first_dma_descriptor.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	load_first_dma_descriptor, @function
load_first_dma_descriptor:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	r8d, esi
	mov	ebp, edx
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rbx, QWORD PTR [rdi]
	mov	rsi, QWORD PTR [rbx]
	test	r8d, r8d
	je	.L2
	add	rsi, QWORD PTR PLX_REG_DMASIZ1[rip]
	xor	edi, edi
	call	writel@PLT
	mov	rsi, QWORD PTR PLX_REG_DMAPADR1[rip]
	xor	edi, edi
	add	rsi, QWORD PTR [rbx]
	call	writel@PLT
	mov	rsi, QWORD PTR PLX_REG_DMALADR1[rip]
	xor	edi, edi
	add	rsi, QWORD PTR [rbx]
	call	writel@PLT
	mov	rsi, QWORD PTR PLX_REG_DMADPR1[rip]
	add	rsi, QWORD PTR [rbx]
	mov	edi, ebp
	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
	jmp	writel@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	add	rsi, QWORD PTR PLX_REG_DMASIZ0[rip]
	xor	edi, edi
	call	writel@PLT
	mov	rsi, QWORD PTR PLX_REG_DMAPADR0[rip]
	xor	edi, edi
	add	rsi, QWORD PTR [rbx]
	call	writel@PLT
	mov	rsi, QWORD PTR PLX_REG_DMALADR0[rip]
	xor	edi, edi
	add	rsi, QWORD PTR [rbx]
	call	writel@PLT
	mov	rsi, QWORD PTR PLX_REG_DMADPR0[rip]
	add	rsi, QWORD PTR [rbx]
	mov	edi, ebp
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	writel@PLT
	.cfi_endproc
.LFE0:
	.size	load_first_dma_descriptor, .-load_first_dma_descriptor
	.comm	PLX_REG_DMASIZ1,8,8
	.comm	PLX_REG_DMASIZ0,8,8
	.comm	PLX_REG_DMAPADR1,8,8
	.comm	PLX_REG_DMAPADR0,8,8
	.comm	PLX_REG_DMALADR1,8,8
	.comm	PLX_REG_DMALADR0,8,8
	.comm	PLX_REG_DMADPR1,8,8
	.comm	PLX_REG_DMADPR0,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_cb_pcidas64.c_load_first_dma_descriptor.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	load_first_dma_descriptor, %function
load_first_dma_descriptor:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r5, [r0]
	subs	r4, r1, #0
	mov	r6, r2
	ldr	r3, [r5]
	beq	.L2
	ldr	r2, .L6
	mov	r0, #0
	ldr	r1, [r2]
	add	r1, r3, r1
	bl	writel
	ldr	r3, .L6+4
	ldr	r1, [r5]
	ldr	r3, [r3]
	mov	r0, #0
	add	r1, r1, r3
	bl	writel
	ldr	r3, .L6+8
	ldr	r1, [r5]
	ldr	r3, [r3]
	mov	r0, #0
	add	r1, r1, r3
	bl	writel
	ldr	r3, .L6+12
.L4:
	ldr	r1, [r5]
	ldr	r3, [r3]
	mov	r0, r6
	pop	{r4, r5, r6, lr}
	add	r1, r1, r3
	b	writel
.L2:
	ldr	r2, .L6+16
	mov	r0, r4
	ldr	r1, [r2]
	add	r1, r3, r1
	bl	writel
	ldr	r3, .L6+20
	ldr	r1, [r5]
	ldr	r3, [r3]
	mov	r0, r4
	add	r1, r1, r3
	bl	writel
	ldr	r3, .L6+24
	ldr	r1, [r5]
	ldr	r3, [r3]
	mov	r0, r4
	add	r1, r1, r3
	bl	writel
	ldr	r3, .L6+28
	b	.L4
.L7:
	.align	2
.L6:
	.word	PLX_REG_DMASIZ1
	.word	PLX_REG_DMAPADR1
	.word	PLX_REG_DMALADR1
	.word	PLX_REG_DMADPR1
	.word	PLX_REG_DMASIZ0
	.word	PLX_REG_DMAPADR0
	.word	PLX_REG_DMALADR0
	.word	PLX_REG_DMADPR0
	.size	load_first_dma_descriptor, .-load_first_dma_descriptor
	.comm	PLX_REG_DMASIZ1,4,4
	.comm	PLX_REG_DMASIZ0,4,4
	.comm	PLX_REG_DMAPADR1,4,4
	.comm	PLX_REG_DMAPADR0,4,4
	.comm	PLX_REG_DMALADR1,4,4
	.comm	PLX_REG_DMALADR0,4,4
	.comm	PLX_REG_DMADPR1,4,4
	.comm	PLX_REG_DMADPR0,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
