	.file	"extr_cfg80211.c_mwifiex_cfg80211_join_ibss.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"request to join ibss received\twhen station is not in ibss mode\n"
	.align 8
.LC1:
	.string	"info: trying to join to %.*s and bssid %pM\n"
	.align 8
.LC2:
	.string	"info: joined/created adhoc network with bssid\t%pM successfully\n"
	.align 8
.LC3:
	.string	"info: failed creating/joining adhoc network\n"
	.text
	.p2align 4
	.type	mwifiex_cfg80211_join_ibss, @function
mwifiex_cfg80211_join_ibss:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	rdi, rsi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	call	mwifiex_netdev_get_priv@PLT
	mov	rbx, rax
	mov	rax, QWORD PTR NL80211_IFTYPE_ADHOC[rip]
	cmp	QWORD PTR [rbx], rax
	je	.L2
	mov	edi, DWORD PTR 8[rbx]
	mov	esi, DWORD PTR ERROR[rip]
	lea	rdx, .LC0[rip]
	xor	eax, eax
	call	mwifiex_dbg@PLT
.L3:
	mov	esi, DWORD PTR 12[rbx]
	mov	edi, DWORD PTR 16[rbx]
	xor	r12d, r12d
	mov	edx, DWORD PTR 0[rbp]
	mov	ecx, DWORD PTR GFP_KERNEL[rip]
	call	cfg80211_ibss_joined@PLT
	mov	ecx, DWORD PTR 12[rbx]
	mov	edi, DWORD PTR 8[rbx]
	xor	eax, eax
	mov	esi, DWORD PTR MSG[rip]
	lea	rdx, .LC2[rip]
	call	mwifiex_dbg@PLT
	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
.L2:
	.cfi_restore_state
	mov	ecx, DWORD PTR 24[rbp]
	mov	r9d, DWORD PTR 8[rbp]
	lea	rdx, .LC1[rip]
	xor	eax, eax
	mov	r8, QWORD PTR 16[rbp]
	mov	edi, DWORD PTR 8[rbx]
	mov	esi, DWORD PTR MSG[rip]
	call	mwifiex_dbg@PLT
	mov	rsi, rbp
	mov	rdi, rbx
	call	mwifiex_set_ibss_params@PLT
	mov	eax, DWORD PTR 4[rbp]
	mov	rdx, QWORD PTR 16[rbp]
	mov	rdi, rbx
	mov	ecx, DWORD PTR 8[rbp]
	mov	esi, DWORD PTR 24[rbp]
	mov	r9d, DWORD PTR 0[rbp]
	mov	r8, QWORD PTR [rbx]
	push	rax
	.cfi_def_cfa_offset 40
	push	0
	.cfi_def_cfa_offset 48
	call	mwifiex_cfg80211_assoc@PLT
	mov	r12d, eax
	pop	rax
	.cfi_def_cfa_offset 40
	pop	rdx
	.cfi_def_cfa_offset 32
	test	r12d, r12d
	je	.L3
	mov	edi, DWORD PTR 8[rbx]
	mov	esi, DWORD PTR ERROR[rip]
	lea	rdx, .LC3[rip]
	xor	eax, eax
	call	mwifiex_dbg@PLT
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	mwifiex_cfg80211_join_ibss, .-mwifiex_cfg80211_join_ibss
	.comm	NL80211_IFTYPE_ADHOC,8,8
	.comm	MSG,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ERROR,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_join_ibss.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"request to join ibss received\011when station is no"
	.ascii	"t in ibss mode\012\000"
	.align	2
.LC1:
	.ascii	"info: trying to join to %.*s and bssid %pM\012\000"
	.align	2
.LC2:
	.ascii	"info: joined/created adhoc network with bssid\011%p"
	.ascii	"M successfully\012\000"
	.align	2
.LC3:
	.ascii	"info: failed creating/joining adhoc network\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mwifiex_cfg80211_join_ibss, %function
mwifiex_cfg80211_join_ibss:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r0, r1
	sub	sp, sp, #20
	mov	r5, r2
	bl	mwifiex_netdev_get_priv
	ldr	r3, .L8
	ldr	r2, [r0]
	ldr	r3, [r3]
	mov	r4, r0
	cmp	r2, r3
	beq	.L2
	ldr	r3, .L8+4
	ldr	r2, .L8+8
	ldr	r1, [r3]
	ldr	r0, [r0, #4]
	bl	mwifiex_dbg
	ldr	r7, .L8+12
.L3:
	mov	r6, #0
	ldr	r3, .L8+16
	ldr	r2, [r5]
	ldr	r1, [r4, #8]
	ldr	r3, [r3]
	ldr	r0, [r4, #12]
	bl	cfg80211_ibss_joined
	ldmib	r4, {r0, r3}
	ldr	r1, [r7]
	ldr	r2, .L8+20
	bl	mwifiex_dbg
	mov	r0, r6
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L2:
	ldr	r2, [r5, #8]
	ldr	r3, [r5, #12]
	ldr	r7, .L8+12
	ldr	r0, [r0, #4]
	str	r2, [sp, #4]
	str	r3, [sp]
	ldr	r3, [r5, #16]
	ldr	r2, .L8+24
	ldr	r1, [r7]
	bl	mwifiex_dbg
	mov	r1, r5
	mov	r0, r4
	bl	mwifiex_set_ibss_params
	mov	r1, #0
	ldr	r2, [r5, #4]
	ldr	r3, [r5]
	str	r1, [sp, #8]
	str	r2, [sp, #12]
	str	r3, [sp, #4]
	ldr	r2, [r4]
	ldr	r3, [r5, #8]
	str	r2, [sp]
	mov	r0, r4
	ldr	r2, [r5, #12]
	ldr	r1, [r5, #16]
	bl	mwifiex_cfg80211_assoc
	subs	r6, r0, #0
	beq	.L3
	ldr	r3, .L8+4
	ldr	r0, [r4, #4]
	ldr	r1, [r3]
	ldr	r2, .L8+28
	bl	mwifiex_dbg
	mov	r0, r6
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L9:
	.align	2
.L8:
	.word	NL80211_IFTYPE_ADHOC
	.word	ERROR
	.word	.LC0
	.word	MSG
	.word	GFP_KERNEL
	.word	.LC2
	.word	.LC1
	.word	.LC3
	.size	mwifiex_cfg80211_join_ibss, .-mwifiex_cfg80211_join_ibss
	.comm	NL80211_IFTYPE_ADHOC,4,4
	.comm	MSG,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ERROR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
