	.file	"extr_ani.c_ath5k_ani_set_firstep_level.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"firstep level %d out of range"
.LC1:
	.string	"new level %d"
	.text
	.p2align 4
	.globl	ath5k_ani_set_firstep_level
	.type	ath5k_ani_set_firstep_level, @function
ath5k_ani_set_firstep_level:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	test	esi, esi
	js	.L3
	lea	rdi, val.1943[rip]
	call	ARRAY_SIZE@PLT
	cmp	eax, r12d
	jg	.L6
.L3:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	edx, r12d
	mov	rdi, rbp
	lea	rsi, .LC0[rip]
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	ATH5K_ERR@PLT
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	movsx	rdx, r12d
	lea	rax, val.1943[rip]
	mov	esi, DWORD PTR AR5K_PHY_SIG[rip]
	mov	rdi, rbp
	mov	ecx, DWORD PTR [rax+rdx*4]
	mov	edx, DWORD PTR AR5K_PHY_SIG_FIRSTEP[rip]
	call	AR5K_REG_WRITE_BITS@PLT
	mov	DWORD PTR 0[rbp], r12d
	mov	ecx, r12d
	mov	rdi, rbp
	mov	esi, DWORD PTR ATH5K_DEBUG_ANI[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	lea	rdx, .LC1[rip]
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	ATH5K_DBG_UNLIMIT@PLT
	.cfi_endproc
.LFE0:
	.size	ath5k_ani_set_firstep_level, .-ath5k_ani_set_firstep_level
	.section	.rodata
	.align 8
	.type	val.1943, @object
	.size	val.1943, 12
val.1943:
	.long	0
	.long	4
	.long	8
	.comm	ATH5K_DEBUG_ANI,4,4
	.comm	AR5K_PHY_SIG_FIRSTEP,4,4
	.comm	AR5K_PHY_SIG,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_ani.c_ath5k_ani_set_firstep_level.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"firstep level %d out of range\000"
	.align	2
.LC1:
	.ascii	"new level %d\000"
	.text
	.align	2
	.global	ath5k_ani_set_firstep_level
	.syntax unified
	.arm
	.fpu softvfp
	.type	ath5k_ani_set_firstep_level, %function
ath5k_ani_set_firstep_level:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	subs	r4, r1, #0
	mov	r5, r0
	blt	.L3
	ldr	r6, .L7
	mov	r0, r6
	bl	ARRAY_SIZE
	cmp	r0, r4
	bgt	.L6
.L3:
	mov	r2, r4
	mov	r0, r5
	pop	{r4, r5, r6, lr}
	ldr	r1, .L7+4
	b	ATH5K_ERR
.L6:
	ldr	r2, .L7+8
	ldr	r1, .L7+12
	ldr	r3, [r6, r4, lsl #2]
	mov	r0, r5
	ldr	r2, [r2]
	ldr	r1, [r1]
	bl	AR5K_REG_WRITE_BITS
	ldr	r2, .L7+16
	str	r4, [r5]
	mov	r3, r4
	mov	r0, r5
	pop	{r4, r5, r6, lr}
	ldr	r1, [r2]
	ldr	r2, .L7+20
	b	ATH5K_DBG_UNLIMIT
.L8:
	.align	2
.L7:
	.word	.LANCHOR0
	.word	.LC0
	.word	AR5K_PHY_SIG_FIRSTEP
	.word	AR5K_PHY_SIG
	.word	ATH5K_DEBUG_ANI
	.word	.LC1
	.size	ath5k_ani_set_firstep_level, .-ath5k_ani_set_firstep_level
	.comm	ATH5K_DEBUG_ANI,4,4
	.comm	AR5K_PHY_SIG_FIRSTEP,4,4
	.comm	AR5K_PHY_SIG,4,4
	.section	.rodata
	.align	2
	.set	.LANCHOR0,. + 0
	.type	val.4227, %object
	.size	val.4227, 12
val.4227:
	.word	0
	.word	4
	.word	8
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
