	.file	"extr_reset.c_uwb_rc_cmd.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"%s: not enough data returned for decoding reply (%zu bytes received vs at least %zu needed)\n"
	.text
	.p2align 4
	.globl	uwb_rc_cmd
	.type	uwb_rc_cmd, @function
uwb_rc_cmd:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	eax, DWORD PTR [r8]
	mov	rbx, r9
	sub	rsp, 8
	.cfi_def_cfa_offset 40
	push	0
	.cfi_def_cfa_offset 48
	push	rax
	.cfi_def_cfa_offset 56
	mov	eax, DWORD PTR 4[r8]
	push	rax
	.cfi_def_cfa_offset 64
	call	__uwb_rc_cmd@PLT
	add	rsp, 32
	.cfi_def_cfa_offset 32
	test	rax, rax
	je	.L1
	cmp	rbx, rax
	ja	.L11
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	r8, rbx
	mov	rdx, r12
	mov	rdi, rbp
	mov	rcx, rax
	lea	rsi, .LC0[rip]
	call	dev_err@PLT
	mov	rax, QWORD PTR EIO[rip]
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	neg	rax
	ret
	.cfi_endproc
.LFE0:
	.size	uwb_rc_cmd, .-uwb_rc_cmd
	.comm	EIO,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_reset.c_uwb_rc_cmd.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%s: not enough data returned for decoding reply (%z"
	.ascii	"u bytes received vs at least %zu needed)\012\000"
	.text
	.align	2
	.global	uwb_rc_cmd
	.syntax unified
	.arm
	.fpu softvfp
	.type	uwb_rc_cmd, %function
uwb_rc_cmd:
	@ args = 8, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	lr, #0
	sub	sp, sp, #24
	ldr	ip, [sp, #40]
	ldr	r6, [sp, #44]
	str	lr, [sp, #16]
	ldm	ip, {r4, lr}
	str	ip, [sp]
	str	r4, [sp, #12]
	stmib	sp, {r6, lr}
	mov	r4, r0
	mov	r5, r1
	bl	__uwb_rc_cmd
	cmp	r0, #0
	cmpne	r6, r0
	bhi	.L8
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, pc}
.L8:
	mov	r3, r0
	mov	r2, r5
	mov	r0, r4
	ldr	r1, .L9
	str	r6, [sp]
	bl	dev_err
	ldr	r3, .L9+4
	ldr	r0, [r3]
	rsb	r0, r0, #0
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, pc}
.L10:
	.align	2
.L9:
	.word	.LC0
	.word	EIO
	.size	uwb_rc_cmd, .-uwb_rc_cmd
	.comm	EIO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
