	.file	"extr_rdma.c_rds_rdma_unuse.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"rds: trying to unuse MR with unknown r_key %u!\n"
	.text
	.p2align 4
	.globl	rds_rdma_unuse
	.type	rds_rdma_unuse, @function
rds_rdma_unuse:
.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, esi
	xor	esi, esi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	lea	r14, 4[r12]
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	ebx, edx
	call	spin_lock_irqsave@PLT
	xor	edx, edx
	mov	esi, r13d
	mov	rdi, r14
	call	rds_mr_tree_walk@PLT
	test	rax, rax
	je	.L13
	cmp	QWORD PTR 24[rax], 0
	mov	rbp, rax
	jne	.L9
	test	ebx, ebx
	jne	.L9
	xor	esi, esi
	mov	rdi, r12
	call	spin_unlock_irqrestore@PLT
	mov	rax, QWORD PTR 8[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L14
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	edi, DWORD PTR 0[rbp]
	mov	esi, DWORD PTR DMA_FROM_DEVICE[rip]
	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	rax
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	lea	r13, 16[rbp]
	mov	rsi, r14
	mov	rdi, r13
	call	rb_erase@PLT
	mov	rdi, r13
	call	RB_CLEAR_NODE@PLT
	xor	esi, esi
	mov	rdi, r12
	call	spin_unlock_irqrestore@PLT
	mov	rax, QWORD PTR 8[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L8
	mov	esi, DWORD PTR DMA_FROM_DEVICE[rip]
	mov	edi, DWORD PTR 0[rbp]
	call	rax
.L8:
	mov	rdi, rbp
	call	rds_destroy_mr@PLT
	pop	rbx
	.cfi_remember_state
	.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	rds_mr_put@PLT
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	pop	rbx
	.cfi_remember_state
	.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
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	mov	esi, r13d
	lea	rdi, .LC0[rip]
	call	pr_debug@PLT
	pop	rbx
	.cfi_def_cfa_offset 40
	mov	rdi, r12
	pop	rbp
	.cfi_def_cfa_offset 32
	xor	esi, esi
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	spin_unlock_irqrestore@PLT
	.cfi_endproc
.LFE0:
	.size	rds_rdma_unuse, .-rds_rdma_unuse
	.comm	DMA_FROM_DEVICE,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_rdma.c_rds_rdma_unuse.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"rds: trying to unuse MR with unknown r_key %u!\012\000"
	.text
	.align	2
	.global	rds_rdma_unuse
	.syntax unified
	.arm
	.fpu softvfp
	.type	rds_rdma_unuse, %function
rds_rdma_unuse:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r1
	add	r8, r0, #4
	mov	r1, #0
	mov	r6, r2
	mov	r7, r0
	bl	spin_lock_irqsave
	mov	r0, r8
	mov	r1, r5
	mov	r2, #0
	bl	rds_mr_tree_walk
	subs	r4, r0, #0
	beq	.L12
	ldr	r3, [r4, #12]
	orrs	r3, r6, r3
	beq	.L3
	add	r5, r4, #8
	mov	r1, r8
	mov	r0, r5
	bl	rb_erase
	mov	r0, r5
	bl	RB_CLEAR_NODE
	mov	r0, r7
	mov	r1, #0
	bl	spin_unlock_irqrestore
	ldr	r3, [r4, #4]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L7
	ldr	r2, .L13
	ldr	r0, [r4]
	ldr	r1, [r2]
	blx	r3
.L7:
	mov	r0, r4
	bl	rds_destroy_mr
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, lr}
	b	rds_mr_put
.L3:
	mov	r0, r7
	mov	r1, #0
	bl	spin_unlock_irqrestore
	ldr	r3, [r4, #4]
	ldr	r3, [r3]
	cmp	r3, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	ldr	r2, .L13
	ldr	r0, [r4]
	ldr	r1, [r2]
	pop	{r4, r5, r6, r7, r8, lr}
	bx	r3
.L12:
	mov	r1, r5
	ldr	r0, .L13+4
	bl	pr_debug
	mov	r0, r7
	pop	{r4, r5, r6, r7, r8, lr}
	mov	r1, #0
	b	spin_unlock_irqrestore
.L14:
	.align	2
.L13:
	.word	DMA_FROM_DEVICE
	.word	.LC0
	.size	rds_rdma_unuse, .-rds_rdma_unuse
	.comm	DMA_FROM_DEVICE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
