	.file	"extr_rs-fw.c_rs_fw_set_active_chains.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"tlc offload doesn't support antenna C. chains: 0x%x\n"
	.text
	.p2align 4
	.type	rs_fw_set_active_chains, @function
rs_fw_set_active_chains:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12d, edi
	and	r12d, DWORD PTR ANT_A[rip]
	cmovne	r12d, DWORD PTR IWL_TLC_MNG_CHAIN_A_MSK[rip]
	test	DWORD PTR ANT_B[rip], edi
	je	.L3
	or	r12d, DWORD PTR IWL_TLC_MNG_CHAIN_B_MSK[rip]
.L3:
	test	DWORD PTR ANT_C[rip], edi
	jne	.L15
	mov	eax, r12d
	pop	r12
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	mov	edx, edi
	lea	rsi, .LC0[rip]
	xor	edi, edi
	call	WARN@PLT
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	rs_fw_set_active_chains, .-rs_fw_set_active_chains
	.comm	IWL_TLC_MNG_CHAIN_B_MSK,4,4
	.comm	IWL_TLC_MNG_CHAIN_A_MSK,4,4
	.comm	ANT_C,4,4
	.comm	ANT_B,4,4
	.comm	ANT_A,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_rs-fw.c_rs_fw_set_active_chains.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"tlc offload doesn't support antenna C. chains: 0x%x"
	.ascii	"\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	rs_fw_set_active_chains, %function
rs_fw_set_active_chains:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L17
	push	{r4, lr}
	ldr	r4, [r3]
	ands	r4, r0, r4
	ldrne	r3, .L17+4
	ldrne	r4, [r3]
	ldr	r3, .L17+8
	ldr	r3, [r3]
	tst	r0, r3
	ldrne	r3, .L17+12
	ldrne	r3, [r3]
	orrne	r4, r4, r3
	ldr	r3, .L17+16
	ldr	r3, [r3]
	tst	r0, r3
	bne	.L16
	mov	r0, r4
	pop	{r4, pc}
.L16:
	mov	r2, r0
	ldr	r1, .L17+20
	mov	r0, #0
	bl	WARN
	mov	r0, r4
	pop	{r4, pc}
.L18:
	.align	2
.L17:
	.word	ANT_A
	.word	IWL_TLC_MNG_CHAIN_A_MSK
	.word	ANT_B
	.word	IWL_TLC_MNG_CHAIN_B_MSK
	.word	ANT_C
	.word	.LC0
	.size	rs_fw_set_active_chains, .-rs_fw_set_active_chains
	.comm	IWL_TLC_MNG_CHAIN_B_MSK,4,4
	.comm	IWL_TLC_MNG_CHAIN_A_MSK,4,4
	.comm	ANT_C,4,4
	.comm	ANT_B,4,4
	.comm	ANT_A,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
