	.file	"extr_dpaa2-eth.c_set_fq_affinity.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Unknown FQ type: %d\n"
	.text
	.p2align 4
	.type	set_fq_affinity, @function
set_fq_affinity:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rdi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	lea	r13, 4[rdi]
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR 16[rdi]
	mov	rdi, r13
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR 8[rsp], rax
	call	cpumask_first@PLT
	mov	edx, DWORD PTR [r15]
	test	edx, edx
	jle	.L2
	mov	ebp, eax
	mov	r12d, eax
	xor	ebx, ebx
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L11:
	mov	DWORD PTR 4[r14], ebp
	mov	edi, ebp
	mov	rsi, r13
	call	cpumask_next@PLT
	cmp	DWORD PTR nr_cpu_ids[rip], eax
	mov	ebp, eax
	jle	.L10
.L5:
	mov	esi, DWORD PTR 4[r14]
	mov	rdi, r15
	add	rbx, 1
	call	get_affine_channel@PLT
	mov	DWORD PTR 8[r14], eax
	cmp	DWORD PTR [r15], ebx
	jle	.L2
.L6:
	mov	rdx, QWORD PTR 8[r15]
	lea	rax, [rbx+rbx*2]
	lea	r14, [rdx+rax*4]
	mov	edx, DWORD PTR [r14]
	cmp	edx, 128
	je	.L3
	cmp	edx, 129
	je	.L11
	mov	rdi, QWORD PTR 8[rsp]
	lea	rsi, .LC0[rip]
	call	dev_err@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L3:
	mov	DWORD PTR 4[r14], r12d
	mov	edi, r12d
	mov	rsi, r13
	call	cpumask_next@PLT
	cmp	DWORD PTR nr_cpu_ids[rip], eax
	mov	r12d, eax
	jg	.L5
	mov	rdi, r13
	call	cpumask_first@PLT
	mov	r12d, eax
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L2:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rdi, r15
	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
	jmp	update_xps@PLT
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	rdi, r13
	call	cpumask_first@PLT
	mov	ebp, eax
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	set_fq_affinity, .-set_fq_affinity
	.comm	nr_cpu_ids,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_dpaa2-eth.c_set_fq_affinity.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Unknown FQ type: %d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	set_fq_affinity, %function
set_fq_affinity:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	fp, r0
	ldr	r2, [r0, #12]
	add	r8, r0, #4
	mov	r0, r8
	ldr	r10, [r2]
	bl	cpumask_first
	ldr	r2, [fp]
	cmp	r2, #0
	ble	.L2
	mov	r6, r0
	mov	r7, r0
	mov	r5, #0
	ldr	r9, .L12
	b	.L6
.L11:
	mov	r0, r6
	str	r6, [r4, #4]
	mov	r1, r8
	bl	cpumask_next
	ldr	r2, [r9]
	mov	r6, r0
	cmp	r2, r0
	ble	.L10
.L5:
	mov	r0, fp
	ldr	r1, [r4, #4]
	bl	get_affine_channel
	ldr	r2, [fp]
	add	r5, r5, #1
	cmp	r2, r5
	str	r0, [r4, #8]
	ble	.L2
.L6:
	ldr	r4, [fp, #8]
	add	r1, r5, r5, lsl #1
	ldr	r2, [r4, r1, lsl #2]
	add	r4, r4, r1, lsl #2
	cmp	r2, #128
	beq	.L3
	cmp	r2, #129
	beq	.L11
	mov	r0, r10
	ldr	r1, .L12+4
	bl	dev_err
	b	.L5
.L3:
	mov	r0, r7
	str	r7, [r4, #4]
	mov	r1, r8
	bl	cpumask_next
	ldr	r2, [r9]
	mov	r7, r0
	cmp	r2, r0
	bgt	.L5
	mov	r0, r8
	bl	cpumask_first
	mov	r7, r0
	b	.L5
.L2:
	mov	r0, fp
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	update_xps
.L10:
	mov	r0, r8
	bl	cpumask_first
	mov	r6, r0
	b	.L5
.L13:
	.align	2
.L12:
	.word	nr_cpu_ids
	.word	.LC0
	.size	set_fq_affinity, .-set_fq_affinity
	.comm	nr_cpu_ids,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
