	.file	"extr_whc-rc.c_whcrc_stop_rc.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"radio controller stop"
	.text
	.p2align 4
	.type	whcrc_stop_rc, @function
whcrc_stop_rc:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rbx, QWORD PTR [rdi]
	mov	rsi, QWORD PTR URCINTR[rip]
	xor	edi, edi
	add	rsi, QWORD PTR [rbx]
	mov	rbp, QWORD PTR 16[rbx]
	call	le_writel@PLT
	lea	rdi, 8[rbx]
	call	cancel_work_sync@PLT
	mov	rsi, QWORD PTR URCCMD[rip]
	xor	edi, edi
	add	rsi, QWORD PTR [rbx]
	call	le_writel@PLT
	mov	edx, DWORD PTR URCSTS_HALTED[rip]
	mov	rdi, rbp
	mov	rsi, QWORD PTR URCSTS[rip]
	add	rsi, QWORD PTR [rbx]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	lea	r9, .LC0[rip]
	mov	r8d, 100
	pop	rbx
	.cfi_def_cfa_offset 16
	mov	ecx, edx
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	whci_wait_for@PLT
	.cfi_endproc
.LFE0:
	.size	whcrc_stop_rc, .-whcrc_stop_rc
	.comm	URCSTS_HALTED,4,4
	.comm	URCSTS,8,8
	.comm	URCINTR,8,8
	.comm	URCCMD,8,8
	.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_whc-rc.c_whcrc_stop_rc.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"radio controller stop\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	whcrc_stop_rc, %function
whcrc_stop_rc:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r4, [r0]
	ldr	r3, .L4
	mov	r5, r4
	ldr	r3, [r3]
	ldr	r1, [r5], #4
	sub	sp, sp, #8
	add	r1, r1, r3
	mov	r0, #0
	ldr	r6, [r4, #8]
	bl	le_writel
	mov	r0, r5
	bl	cancel_work_sync
	ldr	r3, .L4+4
	ldr	r1, [r4]
	ldr	r3, [r3]
	mov	r0, #0
	add	r1, r1, r3
	bl	le_writel
	mov	lr, #100
	ldr	r2, .L4+8
	ldr	r3, .L4+12
	ldr	r1, [r4]
	ldr	r2, [r2]
	ldr	r3, [r3]
	ldr	ip, .L4+16
	add	r1, r1, r2
	mov	r0, r6
	mov	r2, r3
	str	lr, [sp]
	str	ip, [sp, #4]
	bl	whci_wait_for
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L5:
	.align	2
.L4:
	.word	URCINTR
	.word	URCCMD
	.word	URCSTS
	.word	URCSTS_HALTED
	.word	.LC0
	.size	whcrc_stop_rc, .-whcrc_stop_rc
	.comm	URCSTS_HALTED,4,4
	.comm	URCSTS,4,4
	.comm	URCINTR,4,4
	.comm	URCCMD,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
