	.file	"extr_4965-mac.c_il4965_tx_queue_set_status.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"BA"
.LC1:
	.string	"AC"
.LC2:
	.string	"Activate"
.LC3:
	.string	"Deactivate"
.LC4:
	.string	"%s %s Queue %d on AC %d\n"
	.text
	.p2align 4
	.globl	il4965_tx_queue_set_status
	.type	il4965_tx_queue_set_status, @function
il4965_tx_queue_set_status:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rsi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	ebp, edx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	ebx, ecx
	mov	r12d, ebx
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	r15d, DWORD PTR 4[rsi]
	mov	rsi, rdi
	mov	QWORD PTR 8[rsp], rdi
	mov	edi, r15d
	call	test_bit@PLT
	mov	ecx, DWORD PTR IL49_SCD_QUEUE_STTS_REG_POS_WSL[rip]
	mov	edx, ebx
	mov	edi, r15d
	mov	r13, rax
	sal	r12d, cl
	mov	ecx, DWORD PTR IL49_SCD_QUEUE_STTS_REG_POS_SCD_ACK[rip]
	sal	edx, cl
	mov	ecx, DWORD PTR IL49_SCD_QUEUE_STTS_REG_POS_TXF[rip]
	or	r12d, edx
	mov	edx, ebp
	or	r12d, DWORD PTR IL49_SCD_QUEUE_STTS_REG_MSK[rip]
	sal	edx, cl
	mov	ecx, DWORD PTR IL49_SCD_QUEUE_STTS_REG_POS_ACTIVE[rip]
	or	r12d, edx
	xor	edx, edx
	test	rax, rax
	setne	dl
	sal	edx, cl
	or	r12d, edx
	call	IL49_SCD_QUEUE_STATUS_BITS@PLT
	mov	r9, QWORD PTR 8[rsp]
	mov	edx, r12d
	mov	esi, eax
	mov	rdi, r9
	call	il_wr_prph@PLT
	test	ebx, ebx
	mov	DWORD PTR [r14], ebx
	mov	r8d, ebp
	lea	rax, .LC1[rip]
	lea	rdx, .LC0[rip]
	mov	ecx, r15d
	cmove	rdx, rax
	lea	rsi, .LC2[rip]
	test	r13, r13
	lea	rax, .LC3[rip]
	lea	rdi, .LC4[rip]
	cmove	rsi, rax
	add	rsp, 24
	.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
	jmp	D_INFO@PLT
	.cfi_endproc
.LFE0:
	.size	il4965_tx_queue_set_status, .-il4965_tx_queue_set_status
	.comm	IL49_SCD_QUEUE_STTS_REG_POS_WSL,4,4
	.comm	IL49_SCD_QUEUE_STTS_REG_POS_TXF,4,4
	.comm	IL49_SCD_QUEUE_STTS_REG_POS_SCD_ACK,4,4
	.comm	IL49_SCD_QUEUE_STTS_REG_POS_ACTIVE,4,4
	.comm	IL49_SCD_QUEUE_STTS_REG_MSK,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_4965-mac.c_il4965_tx_queue_set_status.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Activate\000"
	.align	2
.LC1:
	.ascii	"Deactivate\000"
	.align	2
.LC2:
	.ascii	"BA\000"
	.align	2
.LC3:
	.ascii	"AC\000"
	.align	2
.LC4:
	.ascii	"%s %s Queue %d on AC %d\012\000"
	.text
	.align	2
	.global	il4965_tx_queue_set_status
	.syntax unified
	.arm
	.fpu softvfp
	.type	il4965_tx_queue_set_status, %function
il4965_tx_queue_set_status:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldr	r9, [r1, #4]
	sub	sp, sp, #12
	mov	r7, r1
	mov	r8, r0
	mov	r1, r0
	mov	r0, r9
	mov	r4, r3
	mov	r6, r2
	bl	test_bit
	mov	r5, r0
	mov	r0, r9
	bl	IL49_SCD_QUEUE_STATUS_BITS
	subs	r3, r5, #0
	movne	r3, #1
	ldr	r2, .L8
	mov	r1, r0
	ldr	r0, .L8+4
	ldr	ip, [r2]
	ldr	r2, .L8+8
	ldr	r0, [r0]
	ldr	r2, [r2]
	lsl	ip, r4, ip
	orr	ip, ip, r4, lsl r0
	ldr	r0, .L8+12
	orr	ip, ip, r2
	ldr	r2, .L8+16
	ldr	r0, [r0]
	ldr	r2, [r2]
	orr	ip, ip, r6, lsl r0
	orr	r2, ip, r3, lsl r2
	mov	r0, r8
	bl	il_wr_prph
	ldr	ip, .L8+20
	cmp	r4, #0
	ldr	r0, .L8+24
	ldr	r2, .L8+28
	movne	r2, ip
	cmp	r5, #0
	ldr	r1, .L8+32
	str	r4, [r7]
	movne	r1, r0
	mov	r3, r9
	str	r6, [sp]
	ldr	r0, .L8+36
	bl	D_INFO
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L9:
	.align	2
.L8:
	.word	IL49_SCD_QUEUE_STTS_REG_POS_SCD_ACK
	.word	IL49_SCD_QUEUE_STTS_REG_POS_WSL
	.word	IL49_SCD_QUEUE_STTS_REG_MSK
	.word	IL49_SCD_QUEUE_STTS_REG_POS_TXF
	.word	IL49_SCD_QUEUE_STTS_REG_POS_ACTIVE
	.word	.LC2
	.word	.LC0
	.word	.LC3
	.word	.LC1
	.word	.LC4
	.size	il4965_tx_queue_set_status, .-il4965_tx_queue_set_status
	.comm	IL49_SCD_QUEUE_STTS_REG_POS_WSL,4,4
	.comm	IL49_SCD_QUEUE_STTS_REG_POS_TXF,4,4
	.comm	IL49_SCD_QUEUE_STTS_REG_POS_SCD_ACK,4,4
	.comm	IL49_SCD_QUEUE_STTS_REG_POS_ACTIVE,4,4
	.comm	IL49_SCD_QUEUE_STTS_REG_MSK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
