	.file	"extr_if_rtwn.c_rtwn_update_aifs.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	rtwn_update_aifs, @function
rtwn_update_aifs:
.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
	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
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	rbx, QWORD PTR WME_AC_BE[rip]
	cmp	rbx, QWORD PTR WME_NUM_AC[rip]
	mov	r15, QWORD PTR 8[rdi]
	mov	r14, QWORD PTR [rdi]
	jnb	.L1
	mov	r12, rdi
	mov	r13, rsi
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rbp, QWORD PTR [r14+rbx*8]
	mov	rdi, r15
	call	IEEE80211_IS_CHAN_5GHZ@PLT
	mov	rdx, QWORD PTR IEEE80211_DUR_OFDM_SIFS[rip]
	mov	rdi, r12
	imul	rbp, r13
	test	rax, rax
	mov	rax, QWORD PTR wme2reg[rip]
	cmove	rdx, QWORD PTR IEEE80211_DUR_SIFS[rip]
	mov	esi, DWORD PTR [rax+rbx*4]
	add	rbx, 1
	add	rdx, rbp
	call	rtwn_write_1@PLT
	cmp	QWORD PTR WME_NUM_AC[rip], rbx
	ja	.L5
.L1:
	add	rsp, 8
	.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
	ret
	.cfi_endproc
.LFE0:
	.size	rtwn_update_aifs, .-rtwn_update_aifs
	.comm	wme2reg,8,8
	.comm	WME_NUM_AC,8,8
	.comm	WME_AC_BE,8,8
	.comm	IEEE80211_DUR_SIFS,8,8
	.comm	IEEE80211_DUR_OFDM_SIFS,8,8
	.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_rtwn.c_rtwn_update_aifs.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	rtwn_update_aifs, %function
rtwn_update_aifs:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldm	r0, {r4, r8}
	ldr	r3, .L10
	ldr	r7, .L10+4
	ldr	fp, [r3]
	ldr	r2, [r7]
	sub	sp, sp, #12
	cmp	fp, r2
	str	r1, [sp, #4]
	bcs	.L1
	lsl	r10, fp, #2
	sub	r2, r10, #4
	mov	r5, r0
	ldr	r9, .L10+8
	add	r4, r4, r2
	b	.L5
.L9:
	lsl	r10, fp, #2
.L5:
	ldr	r2, [r4, #4]!
	ldr	r6, [sp, #4]
	mov	r0, r8
	mul	r6, r2, r6
	bl	IEEE80211_IS_CHAN_5GHZ
	cmp	r0, #0
	ldrne	r3, .L10+12
	ldreq	r3, .L10+16
	ldr	r0, [r9]
	ldr	ip, [r3]
	ldr	r1, [r0, r10]
	add	r2, r6, ip
	mov	r0, r5
	bl	rtwn_write_1
	ldr	r2, [r7]
	add	fp, fp, #1
	cmp	r2, fp
	bhi	.L9
.L1:
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L11:
	.align	2
.L10:
	.word	WME_AC_BE
	.word	WME_NUM_AC
	.word	wme2reg
	.word	IEEE80211_DUR_OFDM_SIFS
	.word	IEEE80211_DUR_SIFS
	.size	rtwn_update_aifs, .-rtwn_update_aifs
	.comm	wme2reg,4,4
	.comm	WME_NUM_AC,4,4
	.comm	WME_AC_BE,4,4
	.comm	IEEE80211_DUR_SIFS,4,4
	.comm	IEEE80211_DUR_OFDM_SIFS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
