	.file	"extr_cfg80211.c_mwifiex_cfg80211_remain_on_channel.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Invalid parameter for ROC\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"info: ongoing ROC, cookie = 0x%llx\n"
	.section	.rodata.str1.1
.LC2:
	.string	"info: ROC, cookie = 0x%llx\n"
	.text
	.p2align 4
	.type	mwifiex_cfg80211_remain_on_channel, @function
mwifiex_cfg80211_remain_on_channel:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rdx
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14d, ecx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, r8
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	edi, DWORD PTR [rsi]
	call	mwifiex_netdev_get_priv@PLT
	mov	rbx, rax
	test	r15, r15
	je	.L6
	test	rbp, rbp
	je	.L6
	mov	ecx, DWORD PTR 4[rax]
	test	ecx, ecx
	jne	.L9
	mov	esi, DWORD PTR HostCmd_ACT_GEN_SET[rip]
	mov	ecx, r14d
	mov	rdx, r15
	mov	rdi, rax
	call	mwifiex_remain_on_chan_cfg@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L10
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	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
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	edi, DWORD PTR [rax]
	mov	esi, DWORD PTR INFO[rip]
	lea	rdx, .LC1[rip]
	xor	eax, eax
	call	mwifiex_dbg@PLT
	mov	r12d, DWORD PTR EBUSY[rip]
	neg	r12d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L6:
	mov	esi, DWORD PTR ERROR[rip]
	mov	edi, DWORD PTR [rbx]
	lea	rdx, .LC0[rip]
	xor	eax, eax
	call	mwifiex_dbg@PLT
	mov	r12d, DWORD PTR EINVAL[rip]
	neg	r12d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L10:
	xor	eax, eax
	call	prandom_u32@PLT
	mov	ecx, r14d
	mov	rdx, r15
	mov	rdi, r13
	or	eax, 1
	mov	DWORD PTR 0[rbp], eax
	mov	r8d, DWORD PTR GFP_ATOMIC[rip]
	mov	DWORD PTR 4[rbx], eax
	mov	eax, DWORD PTR [r15]
	mov	DWORD PTR 8[rbx], eax
	mov	esi, DWORD PTR 0[rbp]
	call	cfg80211_ready_on_channel@PLT
	mov	ecx, DWORD PTR 0[rbp]
	mov	esi, DWORD PTR INFO[rip]
	xor	eax, eax
	mov	edi, DWORD PTR [rbx]
	lea	rdx, .LC2[rip]
	call	mwifiex_dbg@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	mwifiex_cfg80211_remain_on_channel, .-mwifiex_cfg80211_remain_on_channel
	.comm	INFO,4,4
	.comm	HostCmd_ACT_GEN_SET,4,4
	.comm	GFP_ATOMIC,4,4
	.comm	ERROR,4,4
	.comm	EINVAL,4,4
	.comm	EBUSY,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_cfg80211.c_mwifiex_cfg80211_remain_on_channel.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Invalid parameter for ROC\012\000"
	.align	2
.LC1:
	.ascii	"info: ongoing ROC, cookie = 0x%llx\012\000"
	.align	2
.LC2:
	.ascii	"info: ROC, cookie = 0x%llx\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mwifiex_cfg80211_remain_on_channel, %function
mwifiex_cfg80211_remain_on_channel:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	mov	r4, r2
	sub	sp, sp, #12
	ldr	r9, [sp, #40]
	ldr	r0, [r1]
	mov	r8, r1
	mov	r7, r3
	bl	mwifiex_netdev_get_priv
	cmp	r9, #0
	cmpne	r4, #0
	mov	r5, r0
	beq	.L7
	ldr	r3, [r0, #4]
	cmp	r3, #0
	bne	.L8
	ldr	r2, .L10
	mov	r3, r7
	ldr	r1, [r2]
	mov	r2, r4
	bl	mwifiex_remain_on_chan_cfg
	subs	r6, r0, #0
	beq	.L9
	mov	r0, r6
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L8:
	ldr	r2, .L10+4
	ldr	r0, [r0]
	ldr	r1, [r2]
	ldr	r2, .L10+8
	bl	mwifiex_dbg
	ldr	r3, .L10+12
	ldr	r6, [r3]
	rsb	r6, r6, #0
	mov	r0, r6
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L7:
	ldr	r3, .L10+16
	ldr	r2, .L10+20
	ldr	r1, [r3]
	ldr	r0, [r0]
	bl	mwifiex_dbg
	ldr	r3, .L10+24
	ldr	r6, [r3]
	rsb	r6, r6, #0
	mov	r0, r6
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L9:
	bl	prandom_u32
	orr	r0, r0, #1
	str	r0, [r9]
	ldr	r3, [r4]
	ldr	r2, .L10+28
	stmib	r5, {r0, r3}
	ldr	ip, [r2]
	ldr	r1, [r9]
	mov	r3, r7
	mov	r2, r4
	str	ip, [sp]
	mov	r0, r8
	bl	cfg80211_ready_on_channel
	ldr	r2, .L10+4
	ldr	r3, [r9]
	ldr	r1, [r2]
	ldr	r0, [r5]
	ldr	r2, .L10+32
	bl	mwifiex_dbg
	mov	r0, r6
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L11:
	.align	2
.L10:
	.word	HostCmd_ACT_GEN_SET
	.word	INFO
	.word	.LC1
	.word	EBUSY
	.word	ERROR
	.word	.LC0
	.word	EINVAL
	.word	GFP_ATOMIC
	.word	.LC2
	.size	mwifiex_cfg80211_remain_on_channel, .-mwifiex_cfg80211_remain_on_channel
	.comm	INFO,4,4
	.comm	HostCmd_ACT_GEN_SET,4,4
	.comm	GFP_ATOMIC,4,4
	.comm	ERROR,4,4
	.comm	EINVAL,4,4
	.comm	EBUSY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
