	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_mgd_deauth           ## -- Begin function ieee80211_mgd_deauth
	.p2align	4, 0x90
_ieee80211_mgd_deauth:                  ## @ieee80211_mgd_deauth
	.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	%rsi, %r12
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_IEEE80211_DEAUTH_FRAME_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	xorl	%r13d, %r13d
	cmpl	$0, 8(%r12)
	sete	%r13b
	leaq	8(%rbx), %r15
	movq	%r15, %rdi
	callq	_mutex_lock
	movl	(%r12), %ecx
	movl	4(%r12), %edx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_sdata_info
	cmpq	$0, 24(%rbx)
	je	LBB0_2
## %bb.1:
	movl	4(%rbx), %edi
	movq	%rbx, %rsi
	callq	_drv_mgd_prepare_tx
	movl	(%r12), %ecx
	movl	4(%r12), %esi
	movq	_IEEE80211_STYPE_DEAUTH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	%r13d, %r8d
	movq	%r14, %r9
	callq	_ieee80211_send_deauth_disassoc
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_ieee80211_destroy_auth_data
LBB0_6:
	movq	%r15, %rdi
	callq	_mutex_unlock
	movl	(%rbx), %edi
	movq	_IEEE80211_DEAUTH_FRAME_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rsi
	callq	___cfg80211_send_deauth
	jmp	LBB0_7
LBB0_2:
	movq	16(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	(%rax), %edi
	movl	4(%r12), %esi
	callq	_ether_addr_equal
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	_IEEE80211_STYPE_DEAUTH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r12), %edx
	movq	%rbx, %rdi
	movl	%r13d, %ecx
	movq	%r14, %r8
	callq	_ieee80211_set_disassoc
	jmp	LBB0_6
LBB0_4:
	movq	%r15, %rdi
	callq	_mutex_unlock
LBB0_7:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_9
## %bb.8:
	xorl	%eax, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_DEAUTH_FRAME_LEN,4,2 ## @IEEE80211_DEAUTH_FRAME_LEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"deauthenticating from %pM by local choice (reason=%d)\n"

	.comm	_IEEE80211_STYPE_DEAUTH,4,2     ## @IEEE80211_STYPE_DEAUTH
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_mgd_deauth           ; -- Begin function ieee80211_mgd_deauth
	.p2align	2
_ieee80211_mgd_deauth:                  ; @ieee80211_mgd_deauth
	.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
	sub	sp, sp, #16
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x24, _IEEE80211_DEAUTH_FRAME_LEN@GOTPAGE
Lloh4:
	ldr	x24, [x24, _IEEE80211_DEAUTH_FRAME_LEN@GOTPAGEOFF]
	ldr	w8, [x24]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x20, x9, x8
	mov	sp, x20
	ldr	w8, [x1, #8]
	cmp	w8, #0
	cset	w23, eq
	add	x21, x0, #8
	mov	x0, x21
	bl	_mutex_lock
	ldp	w3, w2, [x22]
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_sdata_info
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	w0, [x19, #4]
	mov	x1, x19
	bl	_drv_mgd_prepare_tx
Lloh9:
	adrp	x8, _IEEE80211_STYPE_DEAUTH@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IEEE80211_STYPE_DEAUTH@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	ldp	w3, w1, [x22]
	mov	x0, x19
	mov	x4, x23
	mov	x5, x20
	bl	_ieee80211_send_deauth_disassoc
	mov	x0, x19
	mov	w1, #0
	bl	_ieee80211_destroy_auth_data
LBB0_2:
	mov	x0, x21
	bl	_mutex_unlock
	ldr	w0, [x19]
	ldr	w2, [x24]
	mov	x1, x20
	bl	___cfg80211_send_deauth
	b	LBB0_7
LBB0_3:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_6
; %bb.4:
	ldr	w0, [x8]
	ldr	w1, [x22, #4]
	bl	_ether_addr_equal
	cbz	x0, LBB0_6
; %bb.5:
Lloh12:
	adrp	x8, _IEEE80211_STYPE_DEAUTH@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IEEE80211_STYPE_DEAUTH@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	ldr	w2, [x22]
	mov	x0, x19
	mov	x3, x23
	mov	x4, x20
	bl	_ieee80211_set_disassoc
	b	LBB0_2
LBB0_6:
	mov	x0, x21
	bl	_mutex_unlock
LBB0_7:
	ldur	x8, [x29, #-56]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.8:
	mov	w0, #0
	sub	sp, x29, #48
	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_9:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_DEAUTH_FRAME_LEN,4,2 ; @IEEE80211_DEAUTH_FRAME_LEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"deauthenticating from %pM by local choice (reason=%d)\n"

	.comm	_IEEE80211_STYPE_DEAUTH,4,2     ; @IEEE80211_STYPE_DEAUTH
.subsections_via_symbols
