	.file	"extr_dma.c_ltq_dma_open.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ltq_dma_open
	.type	ltq_dma_open, @function
ltq_dma_open:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	xor	ebp, ebp
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rsi, rbp
	mov	rbx, rdi
	lea	rdi, ltq_dma_lock[rip]
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	spin_lock_irqsave@PLT
	mov	edi, DWORD PTR [rbx]
	mov	esi, DWORD PTR LTQ_DMA_CS[rip]
	call	ltq_dma_w32@PLT
	mov	esi, DWORD PTR DMA_CHAN_ON[rip]
	mov	edx, DWORD PTR LTQ_DMA_CCTRL[rip]
	xor	edi, edi
	call	ltq_dma_w32_mask@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	rsi, rbp
	lea	rdi, ltq_dma_lock[rip]
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	spin_unlock_irqrestore@PLT
	.cfi_endproc
.LFE0:
	.size	ltq_dma_open, .-ltq_dma_open
	.comm	ltq_dma_lock,4,4
	.comm	LTQ_DMA_CS,4,4
	.comm	LTQ_DMA_CCTRL,4,4
	.comm	DMA_CHAN_ON,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_ltq_dma_open.c"
	.text
	.align	2
	.global	ltq_dma_open
	.syntax unified
	.arm
	.fpu softvfp
	.type	ltq_dma_open, %function
ltq_dma_open:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r6, #0
	mov	r4, r0
	ldr	r5, .L4
	mov	r1, r6
	mov	r0, r5
	bl	spin_lock_irqsave
	ldr	r3, .L4+4
	ldr	r0, [r4]
	ldr	r1, [r3]
	bl	ltq_dma_w32
	ldr	r3, .L4+8
	ldr	r2, .L4+12
	mov	r0, r6
	ldr	r1, [r3]
	ldr	r2, [r2]
	bl	ltq_dma_w32_mask
	mov	r1, r6
	mov	r0, r5
	pop	{r4, r5, r6, lr}
	b	spin_unlock_irqrestore
.L5:
	.align	2
.L4:
	.word	ltq_dma_lock
	.word	LTQ_DMA_CS
	.word	DMA_CHAN_ON
	.word	LTQ_DMA_CCTRL
	.size	ltq_dma_open, .-ltq_dma_open
	.comm	ltq_dma_lock,4,4
	.comm	LTQ_DMA_CS,4,4
	.comm	LTQ_DMA_CCTRL,4,4
	.comm	DMA_CHAN_ON,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
