	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_prism2_sta_deauth              ## -- Begin function prism2_sta_deauth
	.p2align	4, 0x90
_prism2_sta_deauth:                     ## @prism2_sta_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	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	%esi, %edi
	callq	_cpu_to_le16
	movl	%eax, -20(%rbp)
	movq	(%rbx), %rax
	movq	_IW_MODE_INFRA@GOTPCREL(%rip), %rcx
	xorl	%r14d, %r14d
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.1:
	movl	12(%rbx), %edi
	callq	_is_zero_ether_addr
	testq	%rax, %rax
	jne	LBB0_4
## %bb.2:
	movl	12(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_ether_addr_equal
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movl	12(%rbx), %esi
	movq	_IEEE80211_STYPE_DEAUTH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-20(%rbp), %rcx
	movq	%rbx, %rdi
	movl	$2, %r8d
	callq	_prism2_sta_send_mgmt
	movl	%eax, %r14d
	callq	_eth_zero_addr
	movl	8(%rbx), %edi
	movq	_SIOCGIWAP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-24(%rbp), %rdx
	xorl	%ecx, %ecx
	callq	_wireless_send_event
LBB0_4:
	movl	%r14d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IW_MODE_INFRA,8,3              ## @IW_MODE_INFRA
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DDDDDD"

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

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_prism2_sta_deauth              ; -- Begin function prism2_sta_deauth
	.p2align	2
_prism2_sta_deauth:                     ; @prism2_sta_deauth
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	mov	x0, x1
	bl	_cpu_to_le16
	str	w0, [sp, #4]
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _IW_MODE_INFRA@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IW_MODE_INFRA@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	ldr	w0, [x19, #12]
	bl	_is_zero_ether_addr
	cbnz	x0, LBB0_3
; %bb.2:
	ldr	w0, [x19, #12]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_ether_addr_equal
	cbz	x0, LBB0_5
LBB0_3:
	mov	w20, #0
LBB0_4:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_5:
	ldr	w1, [x19, #12]
Lloh5:
	adrp	x8, _IEEE80211_STYPE_DEAUTH@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IEEE80211_STYPE_DEAUTH@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	add	x3, sp, #4
	mov	x0, x19
	mov	w4, #2
	bl	_prism2_sta_send_mgmt
	mov	x20, x0
	bl	_eth_zero_addr
	ldr	w0, [x19, #8]
Lloh8:
	adrp	x8, _SIOCGIWAP@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SIOCGIWAP@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	x3, #0
	bl	_wireless_send_event
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_IW_MODE_INFRA,8,3              ; @IW_MODE_INFRA
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DDDDDD"

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