	.file	"extr_dma-jz4780.c_jz4780_dma_chan_disable.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	jz4780_dma_chan_disable, @function
jz4780_dma_chan_disable:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR [rdi]
	mov	eax, DWORD PTR [rax]
	test	DWORD PTR JZ_SOC_DATA_PER_CHAN_PM[rip], eax
	je	.L1
	test	DWORD PTR JZ_SOC_DATA_NO_DCKES_DCKEC[rip], eax
	je	.L10
.L1:
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	mov	edi, esi
	call	BIT@PLT
	mov	esi, DWORD PTR JZ_DMA_REG_DCKEC[rip]
	mov	rdi, rbp
	pop	rbp
	.cfi_restore 6
	.cfi_def_cfa_offset 8
	mov	edx, eax
	jmp	jz4780_dma_ctrl_writel@PLT
	.cfi_endproc
.LFE0:
	.size	jz4780_dma_chan_disable, .-jz4780_dma_chan_disable
	.comm	JZ_SOC_DATA_PER_CHAN_PM,4,4
	.comm	JZ_SOC_DATA_NO_DCKES_DCKEC,4,4
	.comm	JZ_DMA_REG_DCKEC,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-jz4780.c_jz4780_dma_chan_disable.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	jz4780_dma_chan_disable, %function
jz4780_dma_chan_disable:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0]
	ldr	r2, .L10
	ldr	r3, [r3]
	ldr	r2, [r2]
	tst	r3, r2
	bxeq	lr
	ldr	r2, .L10+4
	ldr	r2, [r2]
	tst	r3, r2
	bxne	lr
	ldr	r3, .L10+8
	push	{r4, r5, r6, lr}
	mov	r4, r0
	mov	r0, r1
	ldr	r5, [r3]
	bl	BIT
	mov	r1, r5
	mov	r2, r0
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	jz4780_dma_ctrl_writel
.L11:
	.align	2
.L10:
	.word	JZ_SOC_DATA_PER_CHAN_PM
	.word	JZ_SOC_DATA_NO_DCKES_DCKEC
	.word	JZ_DMA_REG_DCKEC
	.size	jz4780_dma_chan_disable, .-jz4780_dma_chan_disable
	.comm	JZ_SOC_DATA_PER_CHAN_PM,4,4
	.comm	JZ_SOC_DATA_NO_DCKES_DCKEC,4,4
	.comm	JZ_DMA_REG_DCKEC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
