	.file	"extr_rvu.c_rvu_scan_block.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	rvu_scan_block, @function
rvu_scan_block:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR 8[rsi]
	test	eax, eax
	jle	.L10
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	xor	r14d, r14d
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	.p2align 4,,10
	.p2align 3
.L4:
	mov	ecx, DWORD PTR 4[rbp]
	mov	esi, DWORD PTR 16[rbp]
	mov	edx, r14d
	mov	rdi, r13
	sal	edx, cl
	or	edx, DWORD PTR 0[rbp]
	call	rvu_read64@PLT
	mov	edi, 63
	mov	ebx, eax
	call	BIT_ULL@PLT
	test	eax, ebx
	je	.L3
	mov	esi, DWORD PTR 12[rbp]
	sar	ebx, 8
	mov	edi, r14d
	movzx	r12d, bx
	call	__set_bit@PLT
	mov	esi, r12d
	mov	rdi, r13
	call	rvu_get_pfvf@PLT
	mov	ecx, r12d
	mov	rdx, rbp
	mov	rdi, r13
	mov	r15, rax
	mov	rsi, rax
	mov	r9d, 1
	mov	r8d, r14d
	call	rvu_update_rsrc_map@PLT
	mov	ecx, r14d
	mov	rdx, rbp
	mov	rsi, r15
	mov	rdi, r13
	call	rvu_set_msix_offset@PLT
.L3:
	add	r14d, 1
	cmp	DWORD PTR 8[rbp], r14d
	jg	.L4
	add	rsp, 8
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	.cfi_restore 13
	.cfi_restore 14
	.cfi_restore 15
	ret
	.cfi_endproc
.LFE0:
	.size	rvu_scan_block, .-rvu_scan_block
	.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_rvu.c_rvu_scan_block.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	rvu_scan_block, %function
rvu_scan_block:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r1, #8]
	cmp	r3, #0
	bxle	lr
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r4, r1
	mov	r7, r0
	mov	r5, #0
	mov	r9, #1
	ldr	r8, .L14
	sub	sp, sp, #8
.L4:
	ldr	r3, [r4]
	ldr	r2, [r4, #4]
	ldr	r1, [r4, #16]
	orr	r2, r3, r5, lsl r2
	mov	r0, r7
	bl	rvu_read64
	mov	r6, r0
	mov	r0, #63
	bl	BIT_ULL
	tst	r0, r6
	and	r10, r8, r6, asr #8
	beq	.L3
	ldr	r1, [r4, #12]
	mov	r0, r5
	bl	__set_bit
	mov	r1, r10
	mov	r0, r7
	bl	rvu_get_pfvf
	mov	r6, r0
	mov	r1, r0
	mov	r3, r10
	mov	r2, r4
	mov	r0, r7
	stm	sp, {r5, r9}
	bl	rvu_update_rsrc_map
	mov	r3, r5
	mov	r2, r4
	mov	r1, r6
	mov	r0, r7
	bl	rvu_set_msix_offset
.L3:
	ldr	r3, [r4, #8]
	add	r5, r5, #1
	cmp	r3, r5
	bgt	.L4
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L15:
	.align	2
.L14:
	.word	65535
	.size	rvu_scan_block, .-rvu_scan_block
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
