	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function disable_protection
_disable_protection:                    ## @disable_protection
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	cmpq	$0, (%rdi)
	sete	%al
	movslq	8(%rdi), %rsi
	movq	_IEEE80211_FEXT_NONERP_PR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%esi, %ecx
	sete	%cl
	andb	%al, %cl
	movzbl	%cl, %edi
	callq	_KASSERT
	movq	_IEEE80211_F_USEPROT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	16(%rbx), %eax
	movl	%eax, 16(%rbx)
	movq	_IEEE80211_C_SHPREAMBLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 12(%rbx)
	je	LBB0_2
## %bb.1:
	movq	_IEEE80211_F_SHPREAMBLE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_IEEE80211_F_USEBARKER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%eax, %ecx
	movl	%ecx, 16(%rbx)
LBB0_2:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_ieee80211_notify_erp_locked    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_FEXT_NONERP_PR,4,2   ## @IEEE80211_FEXT_NONERP_PR
	.comm	_IEEE80211_F_USEPROT,4,2        ## @IEEE80211_F_USEPROT
	.comm	_IEEE80211_C_SHPREAMBLE,4,2     ## @IEEE80211_C_SHPREAMBLE
	.comm	_IEEE80211_F_SHPREAMBLE,4,2     ## @IEEE80211_F_SHPREAMBLE
	.comm	_IEEE80211_F_USEBARKER,4,2      ## @IEEE80211_F_USEBARKER
	.no_dead_strip	_disable_protection
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function disable_protection
_disable_protection:                    ; @disable_protection
	.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	x8, [x0]
	ldrsw	x1, [x0, #8]
Lloh0:
	adrp	x9, _IEEE80211_FEXT_NONERP_PR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IEEE80211_FEXT_NONERP_PR@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w1
	ccmp	x8, #0, #0, eq
	cset	w0, eq
	bl	_KASSERT
Lloh3:
	adrp	x8, _IEEE80211_F_USEPROT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IEEE80211_F_USEPROT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldp	w10, w9, [x19, #12]
	bic	w8, w9, w8
	str	w8, [x19, #16]
Lloh6:
	adrp	x9, _IEEE80211_C_SHPREAMBLE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IEEE80211_C_SHPREAMBLE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w10
	b.eq	LBB0_2
; %bb.1:
Lloh9:
	adrp	x9, _IEEE80211_F_SHPREAMBLE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _IEEE80211_F_SHPREAMBLE@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh12:
	adrp	x9, _IEEE80211_F_USEBARKER@GOTPAGE
Lloh13:
	ldr	x9, [x9, _IEEE80211_F_USEBARKER@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	bic	w8, w8, w9
	str	w8, [x19, #16]
LBB0_2:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ieee80211_notify_erp_locked
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_FEXT_NONERP_PR,4,2   ; @IEEE80211_FEXT_NONERP_PR
	.comm	_IEEE80211_F_USEPROT,4,2        ; @IEEE80211_F_USEPROT
	.comm	_IEEE80211_C_SHPREAMBLE,4,2     ; @IEEE80211_C_SHPREAMBLE
	.comm	_IEEE80211_F_SHPREAMBLE,4,2     ; @IEEE80211_F_SHPREAMBLE
	.comm	_IEEE80211_F_USEBARKER,4,2      ; @IEEE80211_F_USEBARKER
	.no_dead_strip	_disable_protection
.subsections_via_symbols
