	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ieee80211_drop_unencrypted_mgmt
_ieee80211_drop_unencrypted_mgmt:       ## @ieee80211_drop_unencrypted_mgmt
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	(%rdi), %rdi
	movq	(%rdi), %rbx
	callq	_IEEE80211_SKB_RXCB
	movq	_RX_FLAG_DECRYPTED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	xorl	%r12d, %r12d
	testl	%ecx, (%rax)
	je	LBB0_1
LBB0_20:
	movl	%r12d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	24(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_20
## %bb.2:
	movl	(%rbx), %r14d
	movq	_WLAN_STA_MFP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_test_sta_flag
	testq	%rax, %rax
	je	LBB0_20
## %bb.3:
	movl	%r14d, %edi
	callq	_ieee80211_has_protected
	xorl	%ebx, %ebx
	testl	%eax, %eax
	jne	LBB0_6
## %bb.4:
	movq	(%r15), %rdi
	callq	_ieee80211_is_unicast_robust_mgmt_frame
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	xorl	%ebx, %ebx
	cmpq	$0, 8(%r15)
	setne	%bl
LBB0_6:
	movl	%ebx, %edi
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_7
## %bb.11:
	movq	(%r15), %rdi
	callq	_ieee80211_is_multicast_robust_mgmt_frame
	testq	%rax, %rax
	je	LBB0_12
## %bb.13:
	movq	(%r15), %rdi
	callq	_ieee80211_get_mmie_keyidx
	movq	%rax, %rdi
	shrq	$63, %rdi
	jmp	LBB0_14
LBB0_12:
	xorl	%edi, %edi
LBB0_14:
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_15
LBB0_7:
	movl	%r14d, %edi
	callq	_ieee80211_is_deauth
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	(%r15), %rax
	movq	16(%r15), %rcx
	movl	(%rcx), %edi
	movq	(%rax), %rsi
	movl	8(%rax), %edx
	callq	_cfg80211_send_unprot_deauth
	jmp	LBB0_19
LBB0_9:
	movl	%r14d, %edi
	callq	_ieee80211_is_disassoc
	testq	%rax, %rax
	je	LBB0_19
## %bb.10:
	movq	(%r15), %rax
	movq	16(%r15), %rcx
	movl	(%rcx), %edi
	movq	(%rax), %rsi
	movl	8(%rax), %edx
	callq	_cfg80211_send_unprot_disassoc
	jmp	LBB0_19
LBB0_15:
	movl	%r14d, %edi
	callq	_ieee80211_is_action
	xorl	%r12d, %r12d
	movl	$0, %edi
	testq	%rax, %rax
	je	LBB0_18
## %bb.16:
	cmpq	$0, 8(%r15)
	movl	$0, %edi
	jne	LBB0_18
## %bb.17:
	movq	(%r15), %rax
	movq	(%rax), %rdi
	callq	_ieee80211_is_robust_mgmt_frame
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
LBB0_18:
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_20
LBB0_19:
	movq	_EACCES@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
	jmp	LBB0_20
	.cfi_endproc
                                        ## -- End function
	.comm	_RX_FLAG_DECRYPTED,4,2          ## @RX_FLAG_DECRYPTED
	.comm	_WLAN_STA_MFP,4,2               ## @WLAN_STA_MFP
	.comm	_EACCES,4,2                     ## @EACCES
	.no_dead_strip	_ieee80211_drop_unencrypted_mgmt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ieee80211_drop_unencrypted_mgmt
_ieee80211_drop_unencrypted_mgmt:       ; @ieee80211_drop_unencrypted_mgmt
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x0, [x0]
	ldr	x20, [x0]
	bl	_IEEE80211_SKB_RXCB
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _RX_FLAG_DECRYPTED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RX_FLAG_DECRYPTED@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.1:
	mov	w0, #0
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
	ldr	x0, [x19, #24]
	cbz	x0, LBB0_2
; %bb.4:
	ldr	w20, [x20]
Lloh3:
	adrp	x8, _WLAN_STA_MFP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _WLAN_STA_MFP@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_test_sta_flag
	cbz	x0, LBB0_2
; %bb.5:
	mov	x0, x20
	bl	_ieee80211_has_protected
	cbz	w0, LBB0_7
; %bb.6:
	mov	w0, #0
	b	LBB0_9
LBB0_7:
	ldr	x0, [x19]
	bl	_ieee80211_is_unicast_robust_mgmt_frame
	cbz	x0, LBB0_9
; %bb.8:
	ldr	x8, [x19, #8]
	cmp	x8, #0
	cset	w0, ne
LBB0_9:
	bl	_unlikely
	cbnz	x0, LBB0_13
; %bb.10:
	ldr	x0, [x19]
	bl	_ieee80211_is_multicast_robust_mgmt_frame
	cbz	x0, LBB0_12
; %bb.11:
	ldr	x0, [x19]
	bl	_ieee80211_get_mmie_keyidx
	lsr	x0, x0, #63
LBB0_12:
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_unlikely
	cbz	x0, LBB0_17
LBB0_13:
	mov	x0, x20
	bl	_ieee80211_is_deauth
	cbz	x0, LBB0_15
; %bb.14:
	ldr	x8, [x19, #16]
	ldr	w0, [x8]
	ldr	x8, [x19]
	ldr	x1, [x8]
	ldr	w2, [x8, #8]
	bl	_cfg80211_send_unprot_deauth
	b	LBB0_22
LBB0_15:
	mov	x0, x20
	bl	_ieee80211_is_disassoc
	cbz	x0, LBB0_22
; %bb.16:
	ldr	x8, [x19, #16]
	ldr	w0, [x8]
	ldr	x8, [x19]
	ldr	x1, [x8]
	ldr	w2, [x8, #8]
	bl	_cfg80211_send_unprot_disassoc
	b	LBB0_22
LBB0_17:
	mov	x0, x20
	bl	_ieee80211_is_action
	cbz	x0, LBB0_21
; %bb.18:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_20
; %bb.19:
	mov	w0, #0
	b	LBB0_21
LBB0_20:
	ldr	x8, [x19]
	ldr	x0, [x8]
	bl	_ieee80211_is_robust_mgmt_frame
	cmp	x0, #0
	cset	w0, ne
LBB0_21:
	bl	_unlikely
	cbz	x0, LBB0_2
LBB0_22:
Lloh6:
	adrp	x8, _EACCES@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EACCES@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_RX_FLAG_DECRYPTED,4,2          ; @RX_FLAG_DECRYPTED
	.comm	_WLAN_STA_MFP,4,2               ; @WLAN_STA_MFP
	.comm	_EACCES,4,2                     ; @EACCES
	.no_dead_strip	_ieee80211_drop_unencrypted_mgmt
.subsections_via_symbols
