	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _rtl_query_protection_mode
__rtl_query_protection_mode:            ## @_rtl_query_protection_mode
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	callq	_rtl_priv
	movq	(%r14), %rcx
	movl	(%rcx), %ecx
	movq	$0, 32(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rbx)
	movl	$0, 16(%rbx)
	movq	_IEEE80211_TX_RC_USE_CTS_PROTECT@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_2
## %bb.1:
	leaq	4(%rbx), %rcx
	movl	$1, 20(%rbx)
	jmp	LBB0_4
LBB0_2:
	movq	_IEEE80211_TX_RC_USE_RTS_CTS@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_5
## %bb.3:
	leaq	20(%rbx), %rcx
LBB0_4:
	movl	$1, (%rcx)
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	_RTL_RC_OFDM_RATE24M@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %eax
	movl	%eax, 24(%rbx)
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_TX_RC_USE_CTS_PROTECT,4,2 ## @IEEE80211_TX_RC_USE_CTS_PROTECT
	.comm	_RTL_RC_OFDM_RATE24M,8,3        ## @RTL_RC_OFDM_RATE24M
	.comm	_IEEE80211_TX_RC_USE_RTS_CTS,4,2 ## @IEEE80211_TX_RC_USE_RTS_CTS
	.no_dead_strip	__rtl_query_protection_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _rtl_query_protection_mode
__rtl_query_protection_mode:            ; @_rtl_query_protection_mode
	.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	x20, x2
	mov	x19, x1
	bl	_rtl_priv
	ldr	x8, [x20]
	ldr	w8, [x8]
	str	xzr, [x19, #32]
	stp	xzr, xzr, [x19]
	str	wzr, [x19, #16]
Lloh0:
	adrp	x9, _IEEE80211_TX_RC_USE_CTS_PROTECT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IEEE80211_TX_RC_USE_CTS_PROTECT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	add	x8, x19, #4
	mov	w9, #1
	str	w9, [x19, #20]
	b	LBB0_4
LBB0_2:
Lloh3:
	adrp	x9, _IEEE80211_TX_RC_USE_RTS_CTS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IEEE80211_TX_RC_USE_RTS_CTS@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.3:
	add	x8, x19, #20
LBB0_4:
	mov	w9, #1
	str	w9, [x8]
	ldr	x8, [x0]
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _RTL_RC_OFDM_RATE24M@GOTPAGE
Lloh7:
	ldr	x9, [x9, _RTL_RC_OFDM_RATE24M@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	ldr	w8, [x8, x9, lsl #2]
	str	w8, [x19, #24]
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_TX_RC_USE_CTS_PROTECT,4,2 ; @IEEE80211_TX_RC_USE_CTS_PROTECT
	.comm	_RTL_RC_OFDM_RATE24M,8,3        ; @RTL_RC_OFDM_RATE24M
	.comm	_IEEE80211_TX_RC_USE_RTS_CTS,4,2 ; @IEEE80211_TX_RC_USE_RTS_CTS
	.no_dead_strip	__rtl_query_protection_mode
.subsections_via_symbols
