	.file	"extr_qman.c_fq_state_change.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	fq_state_change, @function
fq_state_change:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	cmp	ecx, 129
	je	.L2
	cmp	ecx, 130
	je	.L3
	cmp	ecx, 128
	je	.L18
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	esi, DWORD PTR QMAN_FQ_STATE_ORL[rip]
	mov	rdi, rbp
	call	fq_isset@PLT
	mov	edi, eax
	call	DPAA_ASSERT@PLT
	mov	esi, DWORD PTR QMAN_FQ_STATE_ORL[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	fq_clear@PLT
	.p2align 4,,10
	.p2align 3
.L18:
	.cfi_restore_state
	mov	eax, DWORD PTR [rsi]
	cmp	eax, DWORD PTR qman_fq_state_parked[rip]
	mov	rbx, rdx
	mov	edi, 1
	je	.L6
	xor	edi, edi
	cmp	DWORD PTR qman_fq_state_sched[rip], eax
	sete	dil
.L6:
	call	DPAA_ASSERT@PLT
	mov	esi, DWORD PTR QMAN_FQ_STATE_CHANGING[rip]
	mov	rdi, rbp
	call	fq_isset@PLT
	mov	edi, eax
	call	DPAA_ASSERT@PLT
	mov	esi, DWORD PTR QMAN_FQ_STATE_CHANGING[rip]
	mov	rdi, rbp
	call	fq_clear@PLT
	mov	eax, DWORD PTR [rbx]
	test	DWORD PTR QM_MR_FQS_NOTEMPTY[rip], eax
	jne	.L19
.L7:
	test	DWORD PTR QM_MR_FQS_ORLPRESENT[rip], eax
	jne	.L20
.L8:
	mov	eax, DWORD PTR qman_fq_state_retired[rip]
	mov	DWORD PTR 0[rbp], eax
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	eax, DWORD PTR qman_fq_state_sched[rip]
	xor	edi, edi
	cmp	DWORD PTR [rsi], eax
	sete	dil
	call	DPAA_ASSERT@PLT
	mov	esi, DWORD PTR QMAN_FQ_STATE_CHANGING[rip]
	mov	rdi, rbp
	call	fq_isclear@PLT
	mov	edi, eax
	call	DPAA_ASSERT@PLT
	mov	eax, DWORD PTR qman_fq_state_parked[rip]
	mov	DWORD PTR 0[rbp], eax
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L20:
	.cfi_restore_state
	mov	esi, DWORD PTR QMAN_FQ_STATE_ORL[rip]
	mov	rdi, rbp
	call	fq_set@PLT
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L19:
	mov	esi, DWORD PTR QMAN_FQ_STATE_NE[rip]
	mov	rdi, rbp
	call	fq_set@PLT
	mov	eax, DWORD PTR [rbx]
	jmp	.L7
	.cfi_endproc
.LFE0:
	.size	fq_state_change, .-fq_state_change
	.comm	qman_fq_state_sched,4,4
	.comm	qman_fq_state_retired,4,4
	.comm	qman_fq_state_parked,4,4
	.comm	QM_MR_FQS_ORLPRESENT,4,4
	.comm	QM_MR_FQS_NOTEMPTY,4,4
	.comm	QMAN_FQ_STATE_ORL,4,4
	.comm	QMAN_FQ_STATE_NE,4,4
	.comm	QMAN_FQ_STATE_CHANGING,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_qman.c_fq_state_change.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	fq_state_change, %function
fq_state_change:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r3, #129
	push	{r4, r5, r6, lr}
	mov	r4, r1
	beq	.L2
	cmp	r3, #130
	beq	.L3
	cmp	r3, #128
	popne	{r4, r5, r6, pc}
	mov	r5, r2
	ldr	r2, .L20
	ldr	r3, [r1]
	ldr	r2, [r2]
	ldr	r6, .L20+4
	cmp	r3, r2
	ldrne	r2, .L20+8
	moveq	r0, #1
	ldrne	r0, [r2]
	subne	r0, r0, r3
	clzne	r0, r0
	lsrne	r0, r0, #5
	bl	DPAA_ASSERT
	ldr	r1, [r6]
	mov	r0, r4
	bl	fq_isset
	bl	DPAA_ASSERT
	mov	r0, r4
	ldr	r1, [r6]
	bl	fq_clear
	ldr	r2, .L20+12
	ldr	r3, [r5]
	ldr	r2, [r2]
	tst	r3, r2
	bne	.L18
.L7:
	ldr	r2, .L20+16
	ldr	r2, [r2]
	tst	r3, r2
	bne	.L19
.L8:
	ldr	r3, .L20+20
	ldr	r3, [r3]
	str	r3, [r4]
	pop	{r4, r5, r6, pc}
.L3:
	ldr	r3, .L20+8
	ldr	r0, [r1]
	ldr	r3, [r3]
	sub	r0, r0, r3
	clz	r0, r0
	lsr	r0, r0, #5
	bl	DPAA_ASSERT
	ldr	r3, .L20+4
	mov	r0, r4
	ldr	r1, [r3]
	bl	fq_isclear
	bl	DPAA_ASSERT
	ldr	r3, .L20
	ldr	r3, [r3]
	str	r3, [r4]
	pop	{r4, r5, r6, pc}
.L2:
	ldr	r5, .L20+24
	mov	r0, r1
	ldr	r1, [r5]
	bl	fq_isset
	bl	DPAA_ASSERT
	mov	r0, r4
	ldr	r1, [r5]
	pop	{r4, r5, r6, lr}
	b	fq_clear
.L19:
	ldr	r3, .L20+24
	mov	r0, r4
	ldr	r1, [r3]
	bl	fq_set
	b	.L8
.L18:
	ldr	r3, .L20+28
	mov	r0, r4
	ldr	r1, [r3]
	bl	fq_set
	ldr	r3, [r5]
	b	.L7
.L21:
	.align	2
.L20:
	.word	qman_fq_state_parked
	.word	QMAN_FQ_STATE_CHANGING
	.word	qman_fq_state_sched
	.word	QM_MR_FQS_NOTEMPTY
	.word	QM_MR_FQS_ORLPRESENT
	.word	qman_fq_state_retired
	.word	QMAN_FQ_STATE_ORL
	.word	QMAN_FQ_STATE_NE
	.size	fq_state_change, .-fq_state_change
	.comm	qman_fq_state_sched,4,4
	.comm	qman_fq_state_retired,4,4
	.comm	qman_fq_state_parked,4,4
	.comm	QM_MR_FQS_ORLPRESENT,4,4
	.comm	QM_MR_FQS_NOTEMPTY,4,4
	.comm	QMAN_FQ_STATE_ORL,4,4
	.comm	QMAN_FQ_STATE_NE,4,4
	.comm	QMAN_FQ_STATE_CHANGING,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
