	.file	"extr_bwiphy.c_bwi_phy_set_bbp_atten.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	bwi_phy_set_bbp_atten
	.type	bwi_phy_set_bbp_atten, @function
bwi_phy_set_bbp_atten:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12d, esi
	xor	esi, esi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	mov	edi, 3
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	call	__BITS@PLT
	mov	ebx, eax
	mov	eax, DWORD PTR 4[rbp]
	test	eax, eax
	je	.L7
	lea	edx, 0[0+rbx*4]
	sal	ebx, 3
	cmp	eax, 2
	mov	edi, r12d
	cmovge	ebx, edx
	mov	esi, ebx
	call	__SHIFTIN@PLT
	mov	edx, ebx
	mov	esi, DWORD PTR BWI_PHYR_BBP_ATTEN[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	mov	ecx, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	not	edx
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	PHY_FILT_SETBITS@PLT
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	esi, ebx
	mov	edi, r12d
	call	__SHIFTIN@PLT
	mov	edx, ebx
	mov	edi, DWORD PTR 0[rbp]
	mov	esi, DWORD PTR BWI_BBP_ATTEN[rip]
	pop	rbx
	.cfi_def_cfa_offset 24
	mov	ecx, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	not	edx
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	CSR_FILT_SETBITS_2@PLT
	.cfi_endproc
.LFE0:
	.size	bwi_phy_set_bbp_atten, .-bwi_phy_set_bbp_atten
	.comm	BWI_PHYR_BBP_ATTEN,4,4
	.comm	BWI_BBP_ATTEN,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_bwiphy.c_bwi_phy_set_bbp_atten.c"
	.text
	.align	2
	.global	bwi_phy_set_bbp_atten
	.syntax unified
	.arm
	.fpu softvfp
	.type	bwi_phy_set_bbp_atten, %function
bwi_phy_set_bbp_atten:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r0
	mov	r6, r1
	mov	r0, #3
	mov	r1, #0
	bl	__BITS
	ldr	r3, [r5, #4]
	mov	r4, r0
	cmp	r3, #0
	beq	.L7
	cmp	r3, #1
	lslgt	r4, r0, #2
	lslle	r4, r4, #3
	ldr	r3, .L8
	mov	r1, r4
	mov	r0, r6
	ldr	r6, [r3]
	bl	__SHIFTIN
	mov	r1, r6
	mov	r3, r0
	mvn	r2, r4
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, lr}
	b	PHY_FILT_SETBITS
.L7:
	ldr	r3, .L8+4
	mov	r1, r4
	mov	r0, r6
	ldr	r7, [r3]
	ldr	r5, [r5]
	bl	__SHIFTIN
	mov	r1, r7
	mov	r3, r0
	mvn	r2, r4
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, lr}
	b	CSR_FILT_SETBITS_2
.L9:
	.align	2
.L8:
	.word	BWI_PHYR_BBP_ATTEN
	.word	BWI_BBP_ATTEN
	.size	bwi_phy_set_bbp_atten, .-bwi_phy_set_bbp_atten
	.comm	BWI_PHYR_BBP_ATTEN,4,4
	.comm	BWI_BBP_ATTEN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
