	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___cfg80211_ibss_joined         ## -- Begin function __cfg80211_ibss_joined
	.p2align	4, 0x90
___cfg80211_ibss_joined:                ## @__cfg80211_ibss_joined
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	(%rdi), %rbx
	movq	(%rbx), %rax
	movq	_NL80211_IFTYPE_ADHOC@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	je	LBB0_1
LBB0_6:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movl	24(%rbx), %r8d
	testl	%r8d, %r8d
	je	LBB0_6
## %bb.2:
	movl	8(%rbx), %edi
	movl	28(%rbx), %ecx
	movq	_WLAN_CAPABILITY_IBSS@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movl	%r9d, (%rsp)
	xorl	%esi, %esi
	movq	%r14, %rdx
	callq	_cfg80211_get_bss
	movq	%rax, %r12
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	jne	LBB0_6
## %bb.3:
	movq	16(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.4:
	callq	_cfg80211_unhold_bss
	movl	8(%rbx), %edi
	movq	16(%rbx), %rsi
	callq	_cfg80211_put_bss
LBB0_5:
	movq	%r12, %rdi
	callq	_bss_from_pub
	movq	%rax, %rdi
	callq	_cfg80211_hold_bss
	movq	%r12, %rdi
	callq	_bss_from_pub
	movq	%rax, 16(%rbx)
	movq	_CFG80211_SME_CONNECTED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	movq	%rbx, %rdi
	callq	_cfg80211_upload_connect_keys
	movl	8(%rbx), %edi
	callq	_wiphy_to_dev
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%eax, %edi
	movq	%r15, %rsi
	movq	%r14, %rdx
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nl80211_send_ibss_bssid        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NL80211_IFTYPE_ADHOC,8,3       ## @NL80211_IFTYPE_ADHOC
	.comm	_WLAN_CAPABILITY_IBSS,4,2       ## @WLAN_CAPABILITY_IBSS
	.comm	_CFG80211_SME_CONNECTED,4,2     ## @CFG80211_SME_CONNECTED
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_SIOCGIWAP,4,2                  ## @SIOCGIWAP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___cfg80211_ibss_joined         ; -- Begin function __cfg80211_ibss_joined
	.p2align	2
___cfg80211_ibss_joined:                ; @__cfg80211_ibss_joined
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x1
	mov	x20, x0
	ldr	x21, [x0]
	ldr	x8, [x21]
Lloh0:
	adrp	x9, _NL80211_IFTYPE_ADHOC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NL80211_IFTYPE_ADHOC@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, ne
	bl	_WARN_ON
	cbz	x0, LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_2:
	ldr	w4, [x21, #24]
	cbz	w4, LBB0_1
; %bb.3:
	ldr	w0, [x21, #8]
	ldr	w3, [x21, #28]
Lloh3:
	adrp	x8, _WLAN_CAPABILITY_IBSS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _WLAN_CAPABILITY_IBSS@GOTPAGEOFF]
Lloh5:
	ldr	w5, [x8]
	mov	x1, #0
	mov	x2, x19
	mov	x6, x5
	bl	_cfg80211_get_bss
	mov	x22, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_WARN_ON
	cbnz	x0, LBB0_1
; %bb.4:
	ldr	x0, [x21, #16]
	cbz	x0, LBB0_6
; %bb.5:
	bl	_cfg80211_unhold_bss
	ldr	w0, [x21, #8]
	ldr	x1, [x21, #16]
	bl	_cfg80211_put_bss
LBB0_6:
	mov	x0, x22
	bl	_bss_from_pub
	bl	_cfg80211_hold_bss
	mov	x0, x22
	bl	_bss_from_pub
	str	x0, [x21, #16]
Lloh6:
	adrp	x8, _CFG80211_SME_CONNECTED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CFG80211_SME_CONNECTED@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x21, #12]
	mov	x0, x21
	bl	_cfg80211_upload_connect_keys
	ldr	w0, [x21, #8]
	bl	_wiphy_to_dev
Lloh9:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x8]
	mov	x1, x20
	mov	x2, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_nl80211_send_ibss_bssid
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_NL80211_IFTYPE_ADHOC,8,3       ; @NL80211_IFTYPE_ADHOC
	.comm	_WLAN_CAPABILITY_IBSS,4,2       ; @WLAN_CAPABILITY_IBSS
	.comm	_CFG80211_SME_CONNECTED,4,2     ; @CFG80211_SME_CONNECTED
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_SIOCGIWAP,4,2                  ; @SIOCGIWAP
.subsections_via_symbols
