	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mwifiex_cfg80211_join_ibss
_mwifiex_cfg80211_join_ibss:            ## @mwifiex_cfg80211_join_ibss
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rdi
	callq	_mwifiex_netdev_get_priv
	movq	%rax, %rbx
	movq	(%rax), %rax
	movq	_NL80211_IFTYPE_ADHOC@GOTPCREL(%rip), %rcx
	movl	8(%rbx), %edi
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movq	_MSG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	24(%r14), %ecx
	movq	16(%r14), %r8
	movl	8(%r14), %r9d
	leaq	L_.str.1(%rip), %rdx
	xorl	%eax, %eax
	callq	_mwifiex_dbg
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_mwifiex_set_ibss_params
	movl	24(%r14), %esi
	movq	16(%r14), %rdx
	movl	8(%r14), %ecx
	movq	(%rbx), %r8
	movl	(%r14), %r9d
	movl	4(%r14), %eax
	movq	%rbx, %rdi
	pushq	%rax
	pushq	$0
	callq	_mwifiex_cfg80211_assoc
	addq	$16, %rsp
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movl	%eax, %r15d
	movl	8(%rbx), %edi
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.3(%rip), %rdx
	xorl	%eax, %eax
	callq	_mwifiex_dbg
	jmp	LBB0_5
LBB0_1:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	xorl	%eax, %eax
	callq	_mwifiex_dbg
LBB0_3:
	movl	12(%rbx), %esi
	movl	16(%rbx), %edi
	movl	(%r14), %edx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_cfg80211_ibss_joined
	movq	_MSG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	8(%rbx), %edi
	movl	12(%rbx), %ecx
	leaq	L_.str.2(%rip), %rdx
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_mwifiex_dbg
LBB0_5:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NL80211_IFTYPE_ADHOC,8,3       ## @NL80211_IFTYPE_ADHOC
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"request to join ibss received\twhen station is not in ibss mode\n"

	.comm	_MSG,4,2                        ## @MSG
L_.str.1:                               ## @.str.1
	.asciz	"info: trying to join to %.*s and bssid %pM\n"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
L_.str.2:                               ## @.str.2
	.asciz	"info: joined/created adhoc network with bssid\t%pM successfully\n"

L_.str.3:                               ## @.str.3
	.asciz	"info: failed creating/joining adhoc network\n"

	.no_dead_strip	_mwifiex_cfg80211_join_ibss
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mwifiex_cfg80211_join_ibss
_mwifiex_cfg80211_join_ibss:            ; @mwifiex_cfg80211_join_ibss
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x2
	mov	x0, x1
	bl	_mwifiex_netdev_get_priv
	mov	x19, x0
Lloh0:
	adrp	x8, _NL80211_IFTYPE_ADHOC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NL80211_IFTYPE_ADHOC@GOTPAGEOFF]
	ldr	x9, [x0]
Lloh2:
	ldr	x8, [x8]
	ldr	w0, [x0, #8]
Lloh3:
	adrp	x22, _MSG@GOTPAGE
Lloh4:
	ldr	x22, [x22, _MSG@GOTPAGEOFF]
	cmp	x9, x8
	b.ne	LBB0_3
; %bb.1:
	ldr	w1, [x22]
	ldr	x8, [x20, #16]
	ldr	w9, [x20, #24]
	ldr	w10, [x20, #8]
	stp	x8, x10, [sp, #8]
	str	x9, [sp]
Lloh5:
	adrp	x2, l_.str.1@PAGE
Lloh6:
	add	x2, x2, l_.str.1@PAGEOFF
	bl	_mwifiex_dbg
	mov	x0, x19
	mov	x1, x20
	bl	_mwifiex_set_ibss_params
	ldr	w1, [x20, #24]
	ldr	x2, [x20, #16]
	ldp	w7, w3, [x20, #4]
	ldr	x4, [x19]
	ldr	w5, [x20]
	mov	x0, x19
	mov	x6, #0
	bl	_mwifiex_cfg80211_assoc
	cbz	w0, LBB0_4
; %bb.2:
	mov	x21, x0
	ldr	w0, [x19, #8]
Lloh7:
	adrp	x8, _ERROR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
Lloh10:
	adrp	x2, l_.str.3@PAGE
Lloh11:
	add	x2, x2, l_.str.3@PAGEOFF
	bl	_mwifiex_dbg
	b	LBB0_5
LBB0_3:
Lloh12:
	adrp	x8, _ERROR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
Lloh15:
	adrp	x2, l_.str@PAGE
Lloh16:
	add	x2, x2, l_.str@PAGEOFF
	bl	_mwifiex_dbg
LBB0_4:
	ldp	w1, w0, [x19, #12]
	ldr	w2, [x20]
Lloh17:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh19:
	ldr	w3, [x8]
	bl	_cfg80211_ibss_joined
	ldr	w1, [x22]
	ldp	w0, w8, [x19, #8]
	str	x8, [sp]
Lloh20:
	adrp	x2, l_.str.2@PAGE
Lloh21:
	add	x2, x2, l_.str.2@PAGEOFF
	bl	_mwifiex_dbg
	mov	w21, #0
LBB0_5:
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_NL80211_IFTYPE_ADHOC,8,3       ; @NL80211_IFTYPE_ADHOC
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"request to join ibss received\twhen station is not in ibss mode\n"

	.comm	_MSG,4,2                        ; @MSG
l_.str.1:                               ; @.str.1
	.asciz	"info: trying to join to %.*s and bssid %pM\n"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
l_.str.2:                               ; @.str.2
	.asciz	"info: joined/created adhoc network with bssid\t%pM successfully\n"

l_.str.3:                               ; @.str.3
	.asciz	"info: failed creating/joining adhoc network\n"

	.no_dead_strip	_mwifiex_cfg80211_join_ibss
.subsections_via_symbols
