	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ieee80211_set_disassoc
_ieee80211_set_disassoc:                ## @ieee80211_set_disassoc
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r15
	movl	%ecx, %r12d
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movl	%esi, %r13d
	movq	%rdi, %rbx
	addq	$32, %rdi
	movq	104(%rbx), %r14
	callq	_ASSERT_MGD_MTX
	testl	%r12d, %r12d
	setne	%al
	testq	%r15, %r15
	sete	%cl
	andb	%al, %cl
	movzbl	%cl, %edi
	callq	_WARN_ON_ONCE
	testq	%rax, %rax
	jne	LBB0_11
## %bb.1:
	xorl	%edi, %edi
	cmpq	$0, 88(%rbx)
	sete	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	je	LBB0_2
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	%rbx, %rdi
	callq	_ieee80211_stop_poll
	movq	$0, 88(%rbx)
	movl	100(%rbx), %edi
	callq	_netif_carrier_off
	movl	16(%r14), %eax
	movq	_IEEE80211_CONF_PS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	je	LBB0_4
## %bb.3:
	notl	%ecx
	andl	%ecx, %eax
	movl	%eax, 16(%r14)
	movq	_IEEE80211_CONF_CHANGE_PS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_ieee80211_hw_config
LBB0_4:
	movq	$0, 8(%r14)
	movq	%rbx, %rdi
	callq	_ieee80211_recalc_ps_vif
	testl	%r12d, %r12d
	je	LBB0_5
## %bb.7:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_ieee80211_flush_queues
	movq	80(%rbx), %rsi
	movq	%rbx, %rdi
	movl	%r13d, %edx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%r12d, %r8d
	movq	%r15, %r9
	callq	_ieee80211_send_deauth_disassoc
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_ieee80211_flush_queues
	jmp	LBB0_8
LBB0_5:
	testq	%r15, %r15
	je	LBB0_8
## %bb.6:
	movq	80(%rbx), %rsi
	movq	%rbx, %rdi
	movl	%r13d, %edx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	xorl	%r8d, %r8d
	movq	%r15, %r9
	callq	_ieee80211_send_deauth_disassoc
LBB0_8:
	movq	80(%rbx), %rdi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_memset
	movq	%rbx, %rdi
	callq	_sta_info_flush_defer
	movq	%rbx, %rdi
	callq	_ieee80211_reset_erp_info
	movl	%eax, %r15d
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_ieee80211_led_assoc
	movq	_BSS_CHANGED_ASSOC@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	movl	$0, (%rbx)
	movl	$-1, 32(%rbx)
	leaq	24(%rbx), %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	leaq	76(%rbx), %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	leaq	72(%rbx), %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	leaq	68(%rbx), %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	leaq	64(%rbx), %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	_IEEE80211_UNSET_POWER_LEVEL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 96(%rbx)
	leaq	4(%r14), %rdi
	callq	_del_timer_sync
	movq	%r14, %rdi
	callq	_cancel_work_sync
	cmpq	$0, 16(%rbx)
	movl	$0, %eax
	je	LBB0_10
## %bb.9:
	movq	_BSS_CHANGED_ARP_FILTER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_10:
	orl	%eax, %r15d
	movl	$0, 4(%rbx)
	movq	_BSS_CHANGED_QOS@GOTPCREL(%rip), %rax
	movq	_BSS_CHANGED_BSSID@GOTPCREL(%rip), %rcx
	movq	_BSS_CHANGED_HT@GOTPCREL(%rip), %rdx
	orl	(%rax), %r15d
	orl	(%rcx), %r15d
	orl	(%rdx), %r15d
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_ieee80211_bss_info_change_notify
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_ieee80211_set_wmm_default
	leaq	60(%rbx), %rdi
	callq	_del_timer_sync
	leaq	56(%rbx), %rdi
	callq	_del_timer_sync
	leaq	52(%rbx), %rdi
	callq	_del_timer_sync
	leaq	48(%rbx), %rdi
	callq	_del_timer_sync
	movq	$0, 8(%rbx)
	movq	$0, 40(%rbx)
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ieee80211_vif_release_channel  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_CONF_PS,4,2          ## @IEEE80211_CONF_PS
	.comm	_IEEE80211_CONF_CHANGE_PS,4,2   ## @IEEE80211_CONF_CHANGE_PS
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_BSS_CHANGED_ASSOC,4,2          ## @BSS_CHANGED_ASSOC
	.comm	_IEEE80211_UNSET_POWER_LEVEL,4,2 ## @IEEE80211_UNSET_POWER_LEVEL
	.comm	_BSS_CHANGED_ARP_FILTER,4,2     ## @BSS_CHANGED_ARP_FILTER
	.comm	_BSS_CHANGED_QOS,4,2            ## @BSS_CHANGED_QOS
	.comm	_BSS_CHANGED_BSSID,4,2          ## @BSS_CHANGED_BSSID
	.comm	_BSS_CHANGED_HT,4,2             ## @BSS_CHANGED_HT
	.no_dead_strip	_ieee80211_set_disassoc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ieee80211_set_disassoc
_ieee80211_set_disassoc:                ; @ieee80211_set_disassoc
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x4
	mov	x24, x3
	mov	x22, x2
	mov	x23, x1
	mov	x19, x0
	add	x0, x0, #32
	ldr	x20, [x19, #104]
	bl	_ASSERT_MGD_MTX
	cmp	w24, #0
	ccmp	x21, #0, #0, ne
	cset	w0, eq
	bl	_WARN_ON_ONCE
	cbnz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x19, #88]
	cmp	x8, #0
	cset	w0, eq
	bl	_WARN_ON
	cbz	x0, LBB0_3
LBB0_2:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_3:
	mov	x0, x19
	bl	_ieee80211_stop_poll
	str	xzr, [x19, #88]
	ldr	w0, [x19, #100]
	bl	_netif_carrier_off
	ldr	w8, [x20, #16]
Lloh0:
	adrp	x9, _IEEE80211_CONF_PS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IEEE80211_CONF_PS@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.4:
	bic	w8, w8, w9
	str	w8, [x20, #16]
Lloh3:
	adrp	x8, _IEEE80211_CONF_CHANGE_PS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IEEE80211_CONF_CHANGE_PS@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_ieee80211_hw_config
LBB0_5:
	str	xzr, [x20, #8]
	mov	x0, x19
	bl	_ieee80211_recalc_ps_vif
	cbz	w24, LBB0_7
; %bb.6:
	mov	x0, x20
	mov	x1, x19
	bl	_ieee80211_flush_queues
	ldr	x1, [x19, #80]
	mov	x0, x19
	mov	x2, x23
	mov	x3, x22
	mov	x4, x24
	mov	x5, x21
	bl	_ieee80211_send_deauth_disassoc
	mov	x0, x20
	mov	x1, x19
	bl	_ieee80211_flush_queues
	b	LBB0_9
LBB0_7:
	cbz	x21, LBB0_9
; %bb.8:
	ldr	x1, [x19, #80]
	mov	x0, x19
	mov	x2, x23
	mov	x3, x22
	mov	w4, #0
	mov	x5, x21
	bl	_ieee80211_send_deauth_disassoc
LBB0_9:
	ldr	x0, [x19, #80]
Lloh6:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_memset
	mov	x0, x19
	bl	_sta_info_flush_defer
	mov	x0, x19
	bl	_ieee80211_reset_erp_info
	mov	x21, x0
	mov	x0, x20
	mov	w1, #0
	bl	_ieee80211_led_assoc
Lloh9:
	adrp	x8, _BSS_CHANGED_ASSOC@GOTPAGE
Lloh10:
	ldr	x8, [x8, _BSS_CHANGED_ASSOC@GOTPAGEOFF]
Lloh11:
	ldr	w22, [x8]
	str	wzr, [x19]
	mov	w8, #-1
	str	w8, [x19, #32]
	add	x0, x19, #24
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	add	x0, x19, #76
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	add	x0, x19, #72
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	add	x0, x19, #68
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	add	x0, x19, #64
	mov	w1, #0
	mov	w2, #4
	bl	_memset
Lloh12:
	adrp	x8, _IEEE80211_UNSET_POWER_LEVEL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IEEE80211_UNSET_POWER_LEVEL@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	str	w8, [x19, #96]
	add	x0, x20, #4
	bl	_del_timer_sync
	mov	x0, x20
	bl	_cancel_work_sync
	ldr	x8, [x19, #16]
Lloh15:
	adrp	x9, _BSS_CHANGED_ARP_FILTER@GOTPAGE
Lloh16:
	ldr	x9, [x9, _BSS_CHANGED_ARP_FILTER@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	cmp	x8, #0
	csel	w8, wzr, w9, eq
	str	wzr, [x19, #4]
Lloh18:
	adrp	x9, _BSS_CHANGED_QOS@GOTPAGE
Lloh19:
	ldr	x9, [x9, _BSS_CHANGED_QOS@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
Lloh21:
	adrp	x10, _BSS_CHANGED_BSSID@GOTPAGE
Lloh22:
	ldr	x10, [x10, _BSS_CHANGED_BSSID@GOTPAGEOFF]
Lloh23:
	ldr	w10, [x10]
Lloh24:
	adrp	x11, _BSS_CHANGED_HT@GOTPAGE
Lloh25:
	ldr	x11, [x11, _BSS_CHANGED_HT@GOTPAGEOFF]
Lloh26:
	ldr	w11, [x11]
	orr	w12, w22, w21
	orr	w8, w12, w8
	orr	w8, w8, w9
	orr	w8, w8, w10
	orr	w1, w8, w11
	mov	x0, x19
	bl	_ieee80211_bss_info_change_notify
	mov	x0, x19
	mov	w1, #0
	bl	_ieee80211_set_wmm_default
	add	x0, x19, #60
	bl	_del_timer_sync
	add	x0, x19, #56
	bl	_del_timer_sync
	add	x0, x19, #52
	bl	_del_timer_sync
	add	x0, x19, #48
	bl	_del_timer_sync
	str	xzr, [x19, #8]
	str	xzr, [x19, #40]
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_ieee80211_vif_release_channel
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_CONF_PS,4,2          ; @IEEE80211_CONF_PS
	.comm	_IEEE80211_CONF_CHANGE_PS,4,2   ; @IEEE80211_CONF_CHANGE_PS
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_BSS_CHANGED_ASSOC,4,2          ; @BSS_CHANGED_ASSOC
	.comm	_IEEE80211_UNSET_POWER_LEVEL,4,2 ; @IEEE80211_UNSET_POWER_LEVEL
	.comm	_BSS_CHANGED_ARP_FILTER,4,2     ; @BSS_CHANGED_ARP_FILTER
	.comm	_BSS_CHANGED_QOS,4,2            ; @BSS_CHANGED_QOS
	.comm	_BSS_CHANGED_BSSID,4,2          ; @BSS_CHANGED_BSSID
	.comm	_BSS_CHANGED_HT,4,2             ; @BSS_CHANGED_HT
	.no_dead_strip	_ieee80211_set_disassoc
.subsections_via_symbols
