	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwlagn_tx_cmd_protection
_iwlagn_tx_cmd_protection:              ## @iwlagn_tx_cmd_protection
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	8(%rsi), %rax
	movl	(%rax), %eax
	movq	_IEEE80211_TX_RC_USE_RTS_CTS@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	jne	LBB0_3
## %bb.1:
	movq	_IEEE80211_TX_RC_USE_CTS_PROTECT@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	jne	LBB0_3
## %bb.2:
	movq	_IEEE80211_TX_CTL_AMPDU@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rsi)
	je	LBB0_4
LBB0_3:
	movq	_TX_CMD_FLG_PROT_REQUIRE_MSK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rcx)
LBB0_4:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_TX_RC_USE_RTS_CTS,4,2 ## @IEEE80211_TX_RC_USE_RTS_CTS
	.comm	_IEEE80211_TX_RC_USE_CTS_PROTECT,4,2 ## @IEEE80211_TX_RC_USE_CTS_PROTECT
	.comm	_IEEE80211_TX_CTL_AMPDU,4,2     ## @IEEE80211_TX_CTL_AMPDU
	.comm	_TX_CMD_FLG_PROT_REQUIRE_MSK,4,2 ## @TX_CMD_FLG_PROT_REQUIRE_MSK
	.no_dead_strip	_iwlagn_tx_cmd_protection
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iwlagn_tx_cmd_protection
_iwlagn_tx_cmd_protection:              ; @iwlagn_tx_cmd_protection
	.cfi_startproc
; %bb.0:
	ldr	x8, [x1, #8]
	ldr	w8, [x8]
Lloh0:
	adrp	x9, _IEEE80211_TX_RC_USE_RTS_CTS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IEEE80211_TX_RC_USE_RTS_CTS@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_3
; %bb.1:
Lloh3:
	adrp	x9, _IEEE80211_TX_RC_USE_CTS_PROTECT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IEEE80211_TX_RC_USE_CTS_PROTECT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_3
; %bb.2:
	ldr	w8, [x1]
Lloh6:
	adrp	x9, _IEEE80211_TX_CTL_AMPDU@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IEEE80211_TX_CTL_AMPDU@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
LBB0_3:
Lloh9:
	adrp	x8, _TX_CMD_FLG_PROT_REQUIRE_MSK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _TX_CMD_FLG_PROT_REQUIRE_MSK@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ldr	w9, [x3]
	orr	w8, w9, w8
	str	w8, [x3]
LBB0_4:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_TX_RC_USE_RTS_CTS,4,2 ; @IEEE80211_TX_RC_USE_RTS_CTS
	.comm	_IEEE80211_TX_RC_USE_CTS_PROTECT,4,2 ; @IEEE80211_TX_RC_USE_CTS_PROTECT
	.comm	_IEEE80211_TX_CTL_AMPDU,4,2     ; @IEEE80211_TX_CTL_AMPDU
	.comm	_TX_CMD_FLG_PROT_REQUIRE_MSK,4,2 ; @TX_CMD_FLG_PROT_REQUIRE_MSK
	.no_dead_strip	_iwlagn_tx_cmd_protection
.subsections_via_symbols
