	.file	"extr_drp.c_uwb_rc_set_drp_cmd_done.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"SET-DRP-IE failed: %s (%d)\n"
.LC1:
	.string	"SET-DRP-IE: timeout\n"
	.text
	.p2align 4
	.type	uwb_rc_set_drp_cmd_done, @function
uwb_rc_set_drp_cmd_done:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	test	rdx, rdx
	je	.L2
	mov	r12, QWORD PTR [rdx]
	cmp	r12, QWORD PTR UWB_RC_RES_SUCCESS[rip]
	jne	.L8
.L3:
	lea	r12, 4[rbp]
	xor	esi, esi
	mov	rdi, r12
	call	spin_lock_irqsave@PLT
	cmp	DWORD PTR 0[rbp], 1
	mov	DWORD PTR 0[rbp], 0
	jle	.L5
	mov	rdi, rbp
	call	uwb_rsv_queue_update@PLT
.L5:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, r12
	xor	esi, esi
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	spin_unlock_irqrestore@PLT
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	rdi, r12
	call	uwb_rc_strerror@PLT
	lea	rdi, 8[rbp]
	mov	rcx, r12
	lea	rsi, .LC0[rip]
	mov	edx, eax
	xor	eax, eax
	call	dev_err@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L2:
	lea	rdi, 8[rdi]
	lea	rsi, .LC1[rip]
	xor	eax, eax
	call	dev_err@PLT
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	uwb_rc_set_drp_cmd_done, .-uwb_rc_set_drp_cmd_done
	.comm	UWB_RC_RES_SUCCESS,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_drp.c_uwb_rc_set_drp_cmd_done.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"SET-DRP-IE failed: %s (%d)\012\000"
	.align	2
.LC1:
	.ascii	"SET-DRP-IE: timeout\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	uwb_rc_set_drp_cmd_done, %function
uwb_rc_set_drp_cmd_done:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	subs	r5, r2, #0
	mov	r4, r0
	beq	.L2
	ldr	r3, .L9
	ldr	r0, [r5]
	ldr	r3, [r3]
	cmp	r0, r3
	bne	.L8
.L3:
	add	r5, r4, #4
	mov	r0, r5
	mov	r1, #0
	bl	spin_lock_irqsave
	ldr	r3, [r4]
	cmp	r3, #1
	mov	r3, #0
	strle	r3, [r4]
	ble	.L5
	mov	r0, r4
	str	r3, [r4]
	bl	uwb_rsv_queue_update
.L5:
	mov	r0, r5
	pop	{r4, r5, r6, lr}
	mov	r1, #0
	b	spin_unlock_irqrestore
.L8:
	bl	uwb_rc_strerror
	ldr	r3, [r5]
	mov	r2, r0
	ldr	r1, .L9+4
	add	r0, r4, #8
	bl	dev_err
	b	.L3
.L2:
	ldr	r1, .L9+8
	add	r0, r0, #8
	bl	dev_err
	b	.L3
.L10:
	.align	2
.L9:
	.word	UWB_RC_RES_SUCCESS
	.word	.LC0
	.word	.LC1
	.size	uwb_rc_set_drp_cmd_done, .-uwb_rc_set_drp_cmd_done
	.comm	UWB_RC_RES_SUCCESS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
