	.file	"extr_rdma.c_nvmet_rdma_free_inline_pages.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	nvmet_rdma_free_inline_pages, @function
nvmet_rdma_free_inline_pages:
.LFB0:
	.cfi_startproc
	endbr64
	mov	edx, DWORD PTR 8[rdi]
	test	edx, edx
	je	.L14
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rbx, QWORD PTR [rsi]
	mov	eax, DWORD PTR [rdi]
	mov	rbp, QWORD PTR 8[rsi]
	add	rbx, 16
	test	eax, eax
	jle	.L1
	xor	r12d, r12d
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rdi, rbp
	call	sg_page@PLT
	test	rax, rax
	jne	.L18
.L4:
	add	r12d, 1
	add	rbp, 4
	add	rbx, 16
	cmp	DWORD PTR 0[r13], r12d
	jle	.L1
.L5:
	mov	rdx, QWORD PTR [rbx]
	test	rdx, rdx
	je	.L3
	mov	edi, DWORD PTR 4[r13]
	mov	esi, DWORD PTR 8[rbx]
	mov	ecx, DWORD PTR DMA_FROM_DEVICE[rip]
	call	ib_dma_unmap_page@PLT
	mov	rdi, rbp
	call	sg_page@PLT
	test	rax, rax
	je	.L4
.L18:
	mov	rdi, rbp
	call	sg_page@PLT
	mov	rdi, rax
	call	__free_page@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L1:
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	.cfi_restore 13
	ret
	.cfi_endproc
.LFE0:
	.size	nvmet_rdma_free_inline_pages, .-nvmet_rdma_free_inline_pages
	.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_nvmet_rdma_free_inline_pages.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	nvmet_rdma_free_inline_pages, %function
nvmet_rdma_free_inline_pages:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0, #8]
	cmp	r3, #0
	bxeq	lr
	ldr	r3, [r0]
	push	{r4, r5, r6, r7, r8, lr}
	cmp	r3, #0
	mov	r7, r0
	ldr	r5, [r1, #4]
	ldr	r4, [r1]
	pople	{r4, r5, r6, r7, r8, pc}
	mov	r6, #0
	ldr	r8, .L22
	add	r4, r4, #16
	b	.L5
.L3:
	mov	r0, r5
	bl	sg_page
	cmp	r0, #0
	bne	.L21
.L4:
	ldr	r3, [r7]
	add	r5, r5, #4
	cmp	r3, r6
	add	r4, r4, #8
	pople	{r4, r5, r6, r7, r8, pc}
.L5:
	ldr	r2, [r4, #-8]
	add	r6, r6, #1
	cmp	r2, #0
	beq	.L3
	ldr	r3, [r8]
	ldr	r1, [r4, #-4]
	ldr	r0, [r7, #4]
	bl	ib_dma_unmap_page
	mov	r0, r5
	bl	sg_page
	cmp	r0, #0
	beq	.L4
.L21:
	mov	r0, r5
	bl	sg_page
	bl	__free_page
	b	.L4
.L23:
	.align	2
.L22:
	.word	DMA_FROM_DEVICE
	.size	nvmet_rdma_free_inline_pages, .-nvmet_rdma_free_inline_pages
	.comm	DMA_FROM_DEVICE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
