	.file	"extr_if_urtw.c_urtw_8225_rf_set_sens.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	urtw_8225_rf_set_sens, @function
urtw_8225_rf_set_sens:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	cmp	esi, 6
	ja	.L5
	mov	ebx, esi
	mov	rbp, rdi
	mov	esi, DWORD PTR URTW_8225_ADDR_C_MAGIC[rip]
	cmp	ebx, 4
	jg	.L8
	mov	edx, DWORD PTR URTW_8225_ADDR_C_DATA_MAGIC2[rip]
	call	urtw_8225_write@PLT
.L4:
	mov	eax, 6
	mov	rdi, rbp
	sub	eax, ebx
	movsx	rbx, eax
	mov	esi, ebx
	call	urtw_8225_setgain@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L1
	mov	rax, QWORD PTR urtw_8225_threshold[rip]
	mov	esi, 65
	mov	rdi, rbp
	mov	edx, DWORD PTR [rax+rbx*4]
	call	urtw_8187_write_phy_cck@PLT
.L1:
	mov	eax, r12d
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	edx, DWORD PTR URTW_8225_ADDR_C_DATA_MAGIC1[rip]
	call	urtw_8225_write@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L5:
	mov	r12d, -1
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	urtw_8225_rf_set_sens, .-urtw_8225_rf_set_sens
	.comm	urtw_8225_threshold,8,8
	.comm	URTW_8225_ADDR_C_MAGIC,4,4
	.comm	URTW_8225_ADDR_C_DATA_MAGIC2,4,4
	.comm	URTW_8225_ADDR_C_DATA_MAGIC1,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_if_urtw.c_urtw_8225_rf_set_sens.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	urtw_8225_rf_set_sens, %function
urtw_8225_rf_set_sens:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r1, #6
	push	{r4, r5, r6, lr}
	bhi	.L5
	mov	r4, r1
	mov	r6, r0
	ldr	r3, .L8
	cmp	r1, #4
	ldr	r1, [r3]
	ldrgt	r3, .L8+4
	ldrle	r3, .L8+8
	rsb	r4, r4, #6
	ldr	r2, [r3]
	bl	urtw_8225_write
	mov	r1, r4
	mov	r0, r6
	bl	urtw_8225_setgain
	subs	r5, r0, #0
	bne	.L1
	ldr	r3, .L8+12
	mov	r0, r6
	ldr	r3, [r3]
	mov	r1, #65
	ldr	r2, [r3, r4, lsl #2]
	bl	urtw_8187_write_phy_cck
.L1:
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L5:
	mvn	r5, #0
	b	.L1
.L9:
	.align	2
.L8:
	.word	URTW_8225_ADDR_C_MAGIC
	.word	URTW_8225_ADDR_C_DATA_MAGIC1
	.word	URTW_8225_ADDR_C_DATA_MAGIC2
	.word	urtw_8225_threshold
	.size	urtw_8225_rf_set_sens, .-urtw_8225_rf_set_sens
	.comm	urtw_8225_threshold,4,4
	.comm	URTW_8225_ADDR_C_MAGIC,4,4
	.comm	URTW_8225_ADDR_C_DATA_MAGIC2,4,4
	.comm	URTW_8225_ADDR_C_DATA_MAGIC1,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
