	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __cfg80211_clear_ibss
___cfg80211_clear_ibss:                 ## @__cfg80211_clear_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	%rdi, %r14
	movq	(%rdi), %rbx
	movl	32(%rbx), %edi
	callq	_wiphy_to_dev
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_ASSERT_WDEV_LOCK
	movq	40(%rbx), %rdi
	callq	_kfree
	movq	$0, 40(%rbx)
	movq	(%r15), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_rdev_del_key
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	$1, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_rdev_del_key
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	$2, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_rdev_del_key
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	$3, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_rdev_del_key
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	$4, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_rdev_del_key
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	$5, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_rdev_del_key
LBB0_2:
	movq	24(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:
	callq	_cfg80211_unhold_bss
	movl	32(%rbx), %edi
	movq	24(%rbx), %rsi
	callq	_cfg80211_put_bss
LBB0_4:
	movq	$0, 24(%rbx)
	movq	_CFG80211_SME_IDLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	$0, 8(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CFG80211_SME_IDLE,4,2          ## @CFG80211_SME_IDLE
	.no_dead_strip	___cfg80211_clear_ibss
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __cfg80211_clear_ibss
___cfg80211_clear_ibss:                 ; @__cfg80211_clear_ibss
	.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	x20, x0
	ldr	x19, [x0]
	ldr	w0, [x19, #32]
	bl	_wiphy_to_dev
	mov	x21, x0
	mov	x0, x19
	bl	_ASSERT_WDEV_LOCK
	ldr	x0, [x19, #40]
	bl	_kfree
	str	xzr, [x19, #40]
	ldr	x8, [x21]
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x21
	mov	x1, x20
	mov	w2, #0
	mov	w3, #0
	mov	x4, #0
	bl	_rdev_del_key
	mov	x0, x21
	mov	x1, x20
	mov	w2, #1
	mov	w3, #0
	mov	x4, #0
	bl	_rdev_del_key
	mov	x0, x21
	mov	x1, x20
	mov	w2, #2
	mov	w3, #0
	mov	x4, #0
	bl	_rdev_del_key
	mov	x0, x21
	mov	x1, x20
	mov	w2, #3
	mov	w3, #0
	mov	x4, #0
	bl	_rdev_del_key
	mov	x0, x21
	mov	x1, x20
	mov	w2, #4
	mov	w3, #0
	mov	x4, #0
	bl	_rdev_del_key
	mov	x0, x21
	mov	x1, x20
	mov	w2, #5
	mov	w3, #0
	mov	x4, #0
	bl	_rdev_del_key
LBB0_2:
	ldr	x0, [x19, #24]
	cbz	x0, LBB0_4
; %bb.3:
	bl	_cfg80211_unhold_bss
	ldr	w0, [x19, #32]
	ldr	x1, [x19, #24]
	bl	_cfg80211_put_bss
LBB0_4:
	str	xzr, [x19, #24]
Lloh0:
	adrp	x8, _CFG80211_SME_IDLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CFG80211_SME_IDLE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #16]
	str	xzr, [x19, #8]
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CFG80211_SME_IDLE,4,2          ; @CFG80211_SME_IDLE
	.no_dead_strip	___cfg80211_clear_ibss
.subsections_via_symbols
