	.file	"extr_jz4780_aic.c_aic_stop.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	aic_stop, @function
aic_stop:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rbx, QWORD PTR [rdi]
	mov	esi, DWORD PTR AICCR[rip]
	mov	rdi, rbx
	call	READ4@PLT
	mov	edx, DWORD PTR AICCR_TDMS[rip]
	or	edx, DWORD PTR AICCR_ERPL[rip]
	mov	rdi, rbx
	mov	esi, DWORD PTR AICCR[rip]
	not	edx
	and	edx, eax
	call	WRITE4@PLT
	mov	edi, DWORD PTR [rbx]
	mov	esi, DWORD PTR XDMA_CMD_TERMINATE[rip]
	call	xdma_control@PLT
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	aic_stop, .-aic_stop
	.comm	XDMA_CMD_TERMINATE,4,4
	.comm	AICCR_TDMS,4,4
	.comm	AICCR_ERPL,4,4
	.comm	AICCR,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_jz4780_aic.c_aic_stop.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	aic_stop, %function
aic_stop:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r4, [r0]
	ldr	r5, .L4
	mov	r0, r4
	ldr	r1, [r5]
	bl	READ4
	ldr	r3, .L4+4
	ldr	r2, .L4+8
	ldr	r3, [r3]
	ldr	r2, [r2]
	ldr	r1, [r5]
	orr	r2, r3, r2
	bic	r2, r0, r2
	mov	r0, r4
	bl	WRITE4
	ldr	r3, .L4+12
	ldr	r0, [r4]
	ldr	r1, [r3]
	bl	xdma_control
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L5:
	.align	2
.L4:
	.word	AICCR
	.word	AICCR_TDMS
	.word	AICCR_ERPL
	.word	XDMA_CMD_TERMINATE
	.size	aic_stop, .-aic_stop
	.comm	XDMA_CMD_TERMINATE,4,4
	.comm	AICCR_TDMS,4,4
	.comm	AICCR_ERPL,4,4
	.comm	AICCR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
