	.file	"extr_b3dfg.c_disable_transmission.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"disable transmission\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"DMA_STS reads %x after TX stopped\n"
	.text
	.p2align 4
	.type	disable_transmission, @function
disable_transmission:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	lea	rsi, .LC0[rip]
	xor	eax, eax
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	xor	r13d, r13d
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	lea	r12, 4[rbp]
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	r14, QWORD PTR 16[rdi]
	mov	rdi, r14
	call	dev_dbg@PLT
	mov	rsi, r13
	mov	rdi, r12
	call	spin_lock_irqsave@PLT
	mov	esi, DWORD PTR B3D_REG_HW_CTRL[rip]
	xor	edx, edx
	mov	rdi, rbp
	mov	QWORD PTR 8[rbp], 0
	call	b3dfg_write32@PLT
	mov	esi, DWORD PTR B3D_REG_DMA_STS[rip]
	mov	rdi, rbp
	call	b3dfg_read32@PLT
	lea	rsi, .LC1[rip]
	mov	rdi, r14
	mov	edx, eax
	xor	eax, eax
	call	dev_dbg@PLT
	mov	rdi, rbp
	call	dequeue_all_buffers@PLT
	mov	rdi, r12
	mov	rsi, r13
	call	spin_unlock_irqrestore@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	wake_up_interruptible@PLT
	.cfi_endproc
.LFE0:
	.size	disable_transmission, .-disable_transmission
	.comm	B3D_REG_HW_CTRL,4,4
	.comm	B3D_REG_DMA_STS,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_b3dfg.c_disable_transmission.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"disable transmission\012\000"
	.align	2
.LC1:
	.ascii	"DMA_STS reads %x after TX stopped\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	disable_transmission, %function
disable_transmission:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	mov	r6, #0
	ldr	r7, [r0, #12]
	add	r5, r4, #4
	mov	r0, r7
	ldr	r1, .L4
	bl	dev_dbg
	mov	r1, r6
	mov	r0, r5
	bl	spin_lock_irqsave
	ldr	r3, .L4+4
	mov	r2, r6
	ldr	r1, [r3]
	mov	r0, r4
	str	r6, [r4, #8]
	bl	b3dfg_write32
	ldr	r3, .L4+8
	mov	r0, r4
	ldr	r1, [r3]
	bl	b3dfg_read32
	ldr	r1, .L4+12
	mov	r2, r0
	mov	r0, r7
	bl	dev_dbg
	mov	r0, r4
	bl	dequeue_all_buffers
	mov	r1, r6
	mov	r0, r5
	bl	spin_unlock_irqrestore
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, lr}
	b	wake_up_interruptible
.L5:
	.align	2
.L4:
	.word	.LC0
	.word	B3D_REG_HW_CTRL
	.word	B3D_REG_DMA_STS
	.word	.LC1
	.size	disable_transmission, .-disable_transmission
	.comm	B3D_REG_HW_CTRL,4,4
	.comm	B3D_REG_DMA_STS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
