	.file	"extr_dma.c__dma_descriptor_align.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	_dma_descriptor_align, @function
_dma_descriptor_align:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	cmp	QWORD PTR [rdi], 0
	mov	rbx, rdi
	jne	.L8
	cmp	QWORD PTR 8[rdi], 0
	mov	eax, 1
	jne	.L9
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	esi, DWORD PTR addrlow[rip]
	call	DMA64RXREGOFFS@PLT
	mov	edi, DWORD PTR 16[rbx]
	mov	edx, 4080
	mov	esi, eax
	call	bcma_write32@PLT
	mov	esi, DWORD PTR addrlow[rip]
	mov	rdi, rbx
	call	DMA64RXREGOFFS@PLT
.L6:
	mov	edi, DWORD PTR 16[rbx]
	mov	esi, eax
	call	bcma_read32@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	test	rax, rax
	sete	al
	movzx	eax, al
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	esi, DWORD PTR addrlow[rip]
	call	DMA64TXREGOFFS@PLT
	mov	edi, DWORD PTR 16[rbx]
	mov	edx, 4080
	mov	esi, eax
	call	bcma_write32@PLT
	mov	esi, DWORD PTR addrlow[rip]
	mov	rdi, rbx
	call	DMA64TXREGOFFS@PLT
	jmp	.L6
	.cfi_endproc
.LFE0:
	.size	_dma_descriptor_align, .-_dma_descriptor_align
	.comm	addrlow,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_dma.c__dma_descriptor_align.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	_dma_descriptor_align, %function
_dma_descriptor_align:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0]
	push	{r4, r5, r6, lr}
	cmp	r3, #0
	mov	r4, r0
	bne	.L8
	ldr	r3, [r0, #4]
	cmp	r3, #0
	bne	.L9
	mov	r0, #1
	pop	{r4, r5, r6, pc}
.L9:
	ldr	r5, .L10
	ldr	r6, [r0, #8]
	ldr	r1, [r5]
	bl	DMA64RXREGOFFS
	mov	r2, #4080
	mov	r1, r0
	mov	r0, r6
	bl	bcma_write32
	ldr	r1, [r5]
	mov	r0, r4
	ldr	r5, [r4, #8]
	bl	DMA64RXREGOFFS
.L6:
	mov	r1, r0
	mov	r0, r5
	bl	bcma_read32
	clz	r0, r0
	lsr	r0, r0, #5
	pop	{r4, r5, r6, pc}
.L8:
	ldr	r5, .L10
	ldr	r6, [r0, #8]
	ldr	r1, [r5]
	bl	DMA64TXREGOFFS
	mov	r2, #4080
	mov	r1, r0
	mov	r0, r6
	bl	bcma_write32
	ldr	r1, [r5]
	mov	r0, r4
	ldr	r5, [r4, #8]
	bl	DMA64TXREGOFFS
	b	.L6
.L11:
	.align	2
.L10:
	.word	addrlow
	.size	_dma_descriptor_align, .-_dma_descriptor_align
	.comm	addrlow,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
