	.file	"extr_hns_roce_mr.c_pbl_1hop_alloc.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"npages %d is larger than buf_pg_sz!"
	.text
	.p2align 4
	.type	pbl_1hop_alloc, @function
pbl_1hop_alloc:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, ecx
	add	ecx, 7
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12d, esi
	test	eax, eax
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	cmovns	ecx, eax
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rdi, QWORD PTR 8[rdi]
	sar	ecx, 3
	cmp	ecx, esi
	jl	.L7
	mov	ecx, DWORD PTR GFP_KERNEL[rip]
	mov	rbx, rdx
	lea	esi, 0[0+rsi*8]
	lea	rdx, 16[rdx]
	call	dma_alloc_coherent@PLT
	mov	DWORD PTR 24[rbx], eax
	test	eax, eax
	je	.L8
	mov	eax, DWORD PTR 16[rbx]
	mov	DWORD PTR [rbx], r12d
	mov	DWORD PTR 4[rbx], 1
	mov	DWORD PTR 20[rbx], eax
	mov	eax, DWORD PTR 4[rbp]
	mov	DWORD PTR 12[rbx], eax
	mov	eax, DWORD PTR 0[rbp]
	mov	DWORD PTR 8[rbx], eax
	xor	eax, eax
	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
.L8:
	.cfi_restore_state
	mov	eax, DWORD PTR ENOMEM[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	edx, esi
	lea	rsi, .LC0[rip]
	call	dev_err@PLT
	mov	eax, DWORD PTR EINVAL[rip]
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.cfi_endproc
.LFE0:
	.size	pbl_1hop_alloc, .-pbl_1hop_alloc
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	EINVAL,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_hns_roce_mr.c_pbl_1hop_alloc.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"npages %d is larger than buf_pg_sz!\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	pbl_1hop_alloc, %function
pbl_1hop_alloc:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r3, #0
	add	ip, r3, #7
	movlt	r3, ip
	cmp	r1, r3, asr #3
	push	{r4, r5, r6, lr}
	mov	r6, r0
	mov	r5, r1
	ldr	r0, [r0, #8]
	bgt	.L7
	ldr	r3, .L9
	mov	r4, r2
	ldr	r3, [r3]
	add	r2, r2, #16
	lsl	r1, r1, #3
	bl	dma_alloc_coherent
	cmp	r0, #0
	str	r0, [r4, #24]
	beq	.L8
	mov	ip, #1
	ldr	r2, [r6, #4]
	ldr	r3, [r6]
	ldr	r1, [r4, #16]
	mov	r0, #0
	str	r5, [r4]
	str	ip, [r4, #4]
	str	r1, [r4, #20]
	str	r2, [r4, #12]
	str	r3, [r4, #8]
	pop	{r4, r5, r6, pc}
.L8:
	ldr	r3, .L9+4
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, pc}
.L7:
	mov	r2, r1
	ldr	r1, .L9+8
	bl	dev_err
	ldr	r3, .L9+12
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, pc}
.L10:
	.align	2
.L9:
	.word	GFP_KERNEL
	.word	ENOMEM
	.word	.LC0
	.word	EINVAL
	.size	pbl_1hop_alloc, .-pbl_1hop_alloc
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
