	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___cfg80211_disconnected        ## -- Begin function __cfg80211_disconnected
	.p2align	4, 0x90
___cfg80211_disconnected:               ## @__cfg80211_disconnected
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movl	%ecx, %r13d
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	(%rdi), %r12
	movl	48(%r12), %edi
	callq	_wiphy_to_dev
	movq	%rax, %r14
	movq	%r12, %rdi
	callq	_ASSERT_WDEV_LOCK
	movq	(%r12), %rax
	movq	_NL80211_IFTYPE_STATION@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	setne	%cl
	movq	_NL80211_IFTYPE_P2P_CLIENT@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	setne	%al
	andb	%cl, %al
	movzbl	%al, %edi
	callq	_WARN_ON
	testq	%rax, %rax
	jne	LBB0_9
## %bb.1:
	movq	8(%r12), %rax
	movq	_CFG80211_SME_CONNECTED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.2:
	movq	40(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:
	callq	_cfg80211_unhold_bss
	movl	48(%r12), %edi
	movq	40(%r12), %rsi
	callq	_cfg80211_put_bss
LBB0_4:
	movq	$0, 40(%r12)
	movq	_CFG80211_SME_IDLE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r12)
	movq	$0, 32(%r12)
	movq	24(%r12), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	(%rax), %rdi
	callq	_kfree
	movq	24(%r12), %rdi
	movq	$0, (%rdi)
	callq	_kfree
	movq	$0, 24(%r12)
LBB0_6:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%r13d, %edx
	movq	%r15, %rcx
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	callq	_nl80211_send_disconnected
	movq	(%r14), %rax
	cmpq	$0, (%rax)
	je	LBB0_8
## %bb.7:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_rdev_del_key
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	$1, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_rdev_del_key
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	$2, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_rdev_del_key
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	$3, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_rdev_del_key
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	$4, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_rdev_del_key
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	$5, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_rdev_del_key
LBB0_8:
	movq	_cfg80211_disconnect_work@GOTPCREL(%rip), %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_schedule_work                  ## TAILCALL
LBB0_9:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NL80211_IFTYPE_STATION,8,3     ## @NL80211_IFTYPE_STATION
	.comm	_NL80211_IFTYPE_P2P_CLIENT,8,3  ## @NL80211_IFTYPE_P2P_CLIENT
	.comm	_CFG80211_SME_CONNECTED,8,3     ## @CFG80211_SME_CONNECTED
	.comm	_CFG80211_SME_IDLE,8,3          ## @CFG80211_SME_IDLE
	.comm	_cfg80211_disconnect_work,4,2   ## @cfg80211_disconnect_work
	.comm	_ARPHRD_ETHER,4,2               ## @ARPHRD_ETHER
	.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_disconnected        ; -- Begin function __cfg80211_disconnected
	.p2align	2
___cfg80211_disconnected:               ; @__cfg80211_disconnected
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x4
	mov	x23, x3
	mov	x22, x2
	mov	x24, x1
	mov	x19, x0
	ldr	x25, [x0]
	ldr	w0, [x25, #48]
	bl	_wiphy_to_dev
	mov	x20, x0
	mov	x0, x25
	bl	_ASSERT_WDEV_LOCK
	ldr	x8, [x25]
Lloh0:
	adrp	x9, _NL80211_IFTYPE_STATION@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NL80211_IFTYPE_STATION@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
Lloh3:
	adrp	x9, _NL80211_IFTYPE_P2P_CLIENT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _NL80211_IFTYPE_P2P_CLIENT@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	ccmp	x8, x9, #4, ne
	cset	w0, ne
	bl	_WARN_ON
	cbnz	x0, LBB0_9
; %bb.1:
	ldr	x8, [x25, #8]
Lloh6:
	adrp	x9, _CFG80211_SME_CONNECTED@GOTPAGE
Lloh7:
	ldr	x9, [x9, _CFG80211_SME_CONNECTED@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.2:
	ldr	x0, [x25, #40]
	cbz	x0, LBB0_4
; %bb.3:
	bl	_cfg80211_unhold_bss
	ldr	w0, [x25, #48]
	ldr	x1, [x25, #40]
	bl	_cfg80211_put_bss
LBB0_4:
Lloh9:
	adrp	x8, _CFG80211_SME_IDLE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CFG80211_SME_IDLE@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	str	x8, [x25, #8]
	stp	xzr, xzr, [x25, #32]
	ldr	x8, [x25, #24]
	cbz	x8, LBB0_6
; %bb.5:
	ldr	x0, [x8]
	bl	_kfree
	ldr	x0, [x25, #24]
	str	xzr, [x0]
	bl	_kfree
	str	xzr, [x25, #24]
LBB0_6:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x23
	mov	x3, x24
	mov	x4, x22
	mov	x5, x21
	bl	_nl80211_send_disconnected
	ldr	x8, [x20]
	ldr	x8, [x8]
	cbz	x8, LBB0_8
; %bb.7:
	mov	x0, x20
	mov	x1, x19
	mov	w2, #0
	mov	w3, #0
	mov	x4, #0
	bl	_rdev_del_key
	mov	x0, x20
	mov	x1, x19
	mov	w2, #1
	mov	w3, #0
	mov	x4, #0
	bl	_rdev_del_key
	mov	x0, x20
	mov	x1, x19
	mov	w2, #2
	mov	w3, #0
	mov	x4, #0
	bl	_rdev_del_key
	mov	x0, x20
	mov	x1, x19
	mov	w2, #3
	mov	w3, #0
	mov	x4, #0
	bl	_rdev_del_key
	mov	x0, x20
	mov	x1, x19
	mov	w2, #4
	mov	w3, #0
	mov	x4, #0
	bl	_rdev_del_key
	mov	x0, x20
	mov	x1, x19
	mov	w2, #5
	mov	w3, #0
	mov	x4, #0
	bl	_rdev_del_key
LBB0_8:
Lloh12:
	adrp	x0, _cfg80211_disconnect_work@GOTPAGE
Lloh13:
	ldr	x0, [x0, _cfg80211_disconnect_work@GOTPAGEOFF]
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_schedule_work
LBB0_9:
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_NL80211_IFTYPE_STATION,8,3     ; @NL80211_IFTYPE_STATION
	.comm	_NL80211_IFTYPE_P2P_CLIENT,8,3  ; @NL80211_IFTYPE_P2P_CLIENT
	.comm	_CFG80211_SME_CONNECTED,8,3     ; @CFG80211_SME_CONNECTED
	.comm	_CFG80211_SME_IDLE,8,3          ; @CFG80211_SME_IDLE
	.comm	_cfg80211_disconnect_work,4,2   ; @cfg80211_disconnect_work
	.comm	_ARPHRD_ETHER,4,2               ; @ARPHRD_ETHER
	.comm	_SIOCGIWAP,4,2                  ; @SIOCGIWAP
.subsections_via_symbols
