	.file	"extr_cx25821-core.c_cx25821_risc_stopper.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	cx25821_risc_stopper
	.type	cx25821_risc_stopper, @function
cx25821_risc_stopper:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13d, edx
	mov	edx, 64
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12d, r8d
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	ebp, ecx
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rsi
	call	btcx_riscmem_alloc@PLT
	test	eax, eax
	js	.L1
	mov	r14, QWORD PTR 8[rbx]
	mov	edi, DWORD PTR RISC_WRITECR[rip]
	or	edi, DWORD PTR RISC_IRQ1[rip]
	call	cpu_to_le32@PLT
	mov	edi, r13d
	mov	DWORD PTR [r14], eax
	call	cpu_to_le32@PLT
	mov	edi, r12d
	mov	DWORD PTR 4[r14], eax
	call	cpu_to_le32@PLT
	mov	edi, ebp
	mov	DWORD PTR 8[r14], eax
	call	cpu_to_le32@PLT
	mov	edi, DWORD PTR RISC_JUMP[rip]
	mov	DWORD PTR 12[r14], eax
	call	cpu_to_le32@PLT
	mov	DWORD PTR 16[r14], eax
	mov	edi, DWORD PTR [rbx]
	call	cpu_to_le32@PLT
	xor	edi, edi
	mov	DWORD PTR 20[r14], eax
	call	cpu_to_le32@PLT
	mov	DWORD PTR 24[r14], eax
	xor	eax, eax
.L1:
	pop	rbx
	.cfi_def_cfa_offset 40
	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
	ret
	.cfi_endproc
.LFE0:
	.size	cx25821_risc_stopper, .-cx25821_risc_stopper
	.comm	RISC_WRITECR,4,4
	.comm	RISC_JUMP,4,4
	.comm	RISC_IRQ1,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_cx25821-core.c_cx25821_risc_stopper.c"
	.text
	.align	2
	.global	cx25821_risc_stopper
	.syntax unified
	.arm
	.fpu softvfp
	.type	cx25821_risc_stopper, %function
cx25821_risc_stopper:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r7, r2
	mov	r2, #64
	mov	r6, r3
	mov	r5, r1
	bl	btcx_riscmem_alloc
	cmp	r0, #0
	poplt	{r4, r5, r6, r7, r8, pc}
	ldr	r2, .L5
	ldr	r3, .L5+4
	ldr	r0, [r2]
	ldr	r3, [r3]
	ldr	r4, [r5, #4]
	orr	r0, r0, r3
	bl	cpu_to_le32
	mov	r3, r0
	mov	r0, r7
	str	r3, [r4]
	bl	cpu_to_le32
	mov	r3, r0
	ldr	r0, [sp, #24]
	str	r3, [r4, #4]
	bl	cpu_to_le32
	mov	r3, r0
	mov	r0, r6
	str	r3, [r4, #8]
	bl	cpu_to_le32
	ldr	r3, .L5+8
	str	r0, [r4, #12]
	ldr	r0, [r3]
	bl	cpu_to_le32
	str	r0, [r4, #16]
	ldr	r0, [r5]
	bl	cpu_to_le32
	mov	r3, r0
	mov	r0, #0
	str	r3, [r4, #20]
	bl	cpu_to_le32
	mov	r3, r0
	mov	r0, #0
	str	r3, [r4, #24]
	pop	{r4, r5, r6, r7, r8, pc}
.L6:
	.align	2
.L5:
	.word	RISC_WRITECR
	.word	RISC_IRQ1
	.word	RISC_JUMP
	.size	cx25821_risc_stopper, .-cx25821_risc_stopper
	.comm	RISC_WRITECR,4,4
	.comm	RISC_JUMP,4,4
	.comm	RISC_IRQ1,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
