	.file	"extr_qman.c_qman_fqr_get_counter.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"could not setup QMan portal\n"
	.text
	.p2align 4
	.globl	qman_fqr_get_counter
	.type	qman_fqr_get_counter, @function
qman_fqr_get_counter:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	xor	eax, eax
	mov	r13d, edx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rbx, QWORD PTR qman_sc[rip]
	call	sched_pin@PLT
	mov	rdi, rbx
	call	qman_portal_setup@PLT
	test	rax, rax
	je	.L6
	mov	ecx, r13d
	mov	edx, r12d
	mov	rdi, rbp
	mov	rsi, rax
	call	QM_FQR_GetCounter@PLT
	mov	r12d, eax
	xor	eax, eax
	call	sched_unpin@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
.L6:
	.cfi_restore_state
	mov	edi, DWORD PTR [rbx]
	lea	rsi, .LC0[rip]
	xor	r12d, r12d
	call	device_printf@PLT
	xor	eax, eax
	call	sched_unpin@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
	.cfi_endproc
.LFE0:
	.size	qman_fqr_get_counter, .-qman_fqr_get_counter
	.comm	qman_sc,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_qman.c_qman_fqr_get_counter.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"could not setup QMan portal\012\000"
	.text
	.align	2
	.global	qman_fqr_get_counter
	.syntax unified
	.arm
	.fpu softvfp
	.type	qman_fqr_get_counter, %function
qman_fqr_get_counter:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L7
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r7, [r3]
	mov	r5, r1
	mov	r6, r2
	mov	r4, r0
	bl	sched_pin
	mov	r0, r7
	bl	qman_portal_setup
	subs	ip, r0, #0
	beq	.L6
	mov	r3, r6
	mov	r2, r5
	mov	r1, ip
	mov	r0, r4
	bl	QM_FQR_GetCounter
	mov	r4, r0
	bl	sched_unpin
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L6:
	mov	r4, ip
	ldr	r1, .L7+4
	ldr	r0, [r7]
	bl	device_printf
	bl	sched_unpin
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	.align	2
.L7:
	.word	qman_sc
	.word	.LC0
	.size	qman_fqr_get_counter, .-qman_fqr_get_counter
	.comm	qman_sc,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
