	.file	"extr_wmi.c_ath6kl_wmi_remain_on_chnl_event_rx.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"remain_on_chnl: freq=%u dur=%u\n"
	.align 8
.LC1:
	.string	"remain_on_chnl: Unknown channel (freq=%u)\n"
	.text
	.p2align 4
	.type	ath6kl_wmi_remain_on_chnl_event_rx, @function
ath6kl_wmi_remain_on_chnl_event_rx:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	edx, 7
	ja	.L2
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rcx
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	r14, QWORD PTR [rdi]
	mov	rbx, rsi
	mov	edi, DWORD PTR 4[rsi]
	call	le32_to_cpu@PLT
	mov	edi, DWORD PTR [rbx]
	mov	r13d, eax
	call	le32_to_cpu@PLT
	mov	edi, DWORD PTR ATH6KL_DBG_WMI[rip]
	mov	edx, r13d
	lea	rsi, .LC0[rip]
	mov	ecx, eax
	mov	r12d, eax
	xor	eax, eax
	call	ath6kl_dbg@PLT
	mov	edi, DWORD PTR [r14]
	mov	esi, r13d
	call	ieee80211_get_channel@PLT
	mov	rdx, rax
	test	rax, rax
	je	.L9
	mov	esi, DWORD PTR 4[rbp]
	mov	r8d, DWORD PTR GFP_ATOMIC[rip]
	mov	ecx, r12d
	mov	rdi, rbp
	call	cfg80211_ready_on_channel@PLT
	xor	eax, eax
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	edi, DWORD PTR ATH6KL_DBG_WMI[rip]
	mov	edx, r13d
	lea	rsi, .LC1[rip]
	xor	eax, eax
	call	ath6kl_dbg@PLT
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	ath6kl_wmi_remain_on_chnl_event_rx, .-ath6kl_wmi_remain_on_chnl_event_rx
	.comm	GFP_ATOMIC,4,4
	.comm	EINVAL,4,4
	.comm	ATH6KL_DBG_WMI,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_wmi.c_ath6kl_wmi_remain_on_chnl_event_rx.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"remain_on_chnl: freq=%u dur=%u\012\000"
	.align	2
.LC1:
	.ascii	"remain_on_chnl: Unknown channel (freq=%u)\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ath6kl_wmi_remain_on_chnl_event_rx, %function
ath6kl_wmi_remain_on_chnl_event_rx:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r2, #7
	bhi	.L2
	ldr	r3, .L10
	ldr	r0, [r3]
	rsb	r0, r0, #0
	bx	lr
.L2:
	mov	r2, r0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r0, [r1, #4]
	sub	sp, sp, #8
	mov	r4, r1
	ldr	r8, [r2]
	mov	r5, r3
	bl	le32_to_cpu
	mov	r3, r0
	ldr	r0, [r4]
	mov	r4, r3
	bl	le32_to_cpu
	ldr	r7, .L10+4
	mov	r3, r0
	mov	r2, r4
	ldr	r1, .L10+8
	mov	r6, r0
	ldr	r0, [r7]
	bl	ath6kl_dbg
	mov	r1, r4
	ldr	r0, [r8]
	bl	ieee80211_get_channel
	subs	r2, r0, #0
	beq	.L9
	ldr	r1, .L10+12
	mov	r3, r6
	ldr	r1, [r1]
	mov	r0, r5
	str	r1, [sp]
	ldr	r1, [r5, #4]
	bl	cfg80211_ready_on_channel
	mov	r0, #0
.L1:
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L9:
	mov	r2, r4
	ldr	r0, [r7]
	ldr	r1, .L10+16
	bl	ath6kl_dbg
	ldr	r3, .L10
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	.L1
.L11:
	.align	2
.L10:
	.word	EINVAL
	.word	ATH6KL_DBG_WMI
	.word	.LC0
	.word	GFP_ATOMIC
	.word	.LC1
	.size	ath6kl_wmi_remain_on_chnl_event_rx, .-ath6kl_wmi_remain_on_chnl_event_rx
	.comm	GFP_ATOMIC,4,4
	.comm	EINVAL,4,4
	.comm	ATH6KL_DBG_WMI,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
