	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wl1251_tx_control
_wl1251_tx_control:                     ## @wl1251_tx_control
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	$0, (%rdi)
	movq	$0, 16(%rdi)
	movl	(%rsi), %eax
	movq	_IEEE80211_TX_CTL_NO_ACK@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_2
## %bb.1:
	movq	_IEEE80211_TX_CTL_INJECTED@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_3
LBB0_2:
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, (%rdi)
LBB0_3:
	movl	$1, 8(%rdi)
	movq	_IEEE80211_FTYPE_DATA@GOTPCREL(%rip), %rax
	testl	%edx, (%rax)
	je	LBB0_7
## %bb.4:
	movq	_IEEE80211_STYPE_QOS_DATA@GOTPCREL(%rip), %rax
	testl	%edx, (%rax)
	jne	LBB0_6
## %bb.5:
	movq	_IEEE80211_STYPE_QOS_NULLFUNC@GOTPCREL(%rip), %rax
	testl	%edx, (%rax)
	je	LBB0_7
LBB0_6:
	movl	$1, 12(%rdi)
LBB0_7:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_TX_CTL_NO_ACK,4,2    ## @IEEE80211_TX_CTL_NO_ACK
	.comm	_IEEE80211_TX_CTL_INJECTED,4,2  ## @IEEE80211_TX_CTL_INJECTED
	.comm	_IEEE80211_FTYPE_DATA,4,2       ## @IEEE80211_FTYPE_DATA
	.comm	_IEEE80211_STYPE_QOS_DATA,4,2   ## @IEEE80211_STYPE_QOS_DATA
	.comm	_IEEE80211_STYPE_QOS_NULLFUNC,4,2 ## @IEEE80211_STYPE_QOS_NULLFUNC
	.no_dead_strip	_wl1251_tx_control
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wl1251_tx_control
_wl1251_tx_control:                     ; @wl1251_tx_control
	.cfi_startproc
; %bb.0:
	str	wzr, [x0]
	str	xzr, [x0, #16]
	ldr	w8, [x1]
Lloh0:
	adrp	x9, _IEEE80211_TX_CTL_NO_ACK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IEEE80211_TX_CTL_NO_ACK@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x9, _IEEE80211_TX_CTL_INJECTED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IEEE80211_TX_CTL_INJECTED@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
LBB0_2:
	movi.2s	v0, #1
	str	d0, [x0]
LBB0_3:
	mov	w8, #1
	str	w8, [x0, #8]
Lloh6:
	adrp	x8, _IEEE80211_FTYPE_DATA@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IEEE80211_FTYPE_DATA@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	tst	w8, w2
	b.eq	LBB0_7
; %bb.4:
Lloh9:
	adrp	x8, _IEEE80211_STYPE_QOS_DATA@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IEEE80211_STYPE_QOS_DATA@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	tst	w8, w2
	b.ne	LBB0_6
; %bb.5:
Lloh12:
	adrp	x8, _IEEE80211_STYPE_QOS_NULLFUNC@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IEEE80211_STYPE_QOS_NULLFUNC@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	tst	w8, w2
	b.eq	LBB0_7
LBB0_6:
	mov	w8, #1
	str	w8, [x0, #12]
LBB0_7:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_TX_CTL_NO_ACK,4,2    ; @IEEE80211_TX_CTL_NO_ACK
	.comm	_IEEE80211_TX_CTL_INJECTED,4,2  ; @IEEE80211_TX_CTL_INJECTED
	.comm	_IEEE80211_FTYPE_DATA,4,2       ; @IEEE80211_FTYPE_DATA
	.comm	_IEEE80211_STYPE_QOS_DATA,4,2   ; @IEEE80211_STYPE_QOS_DATA
	.comm	_IEEE80211_STYPE_QOS_NULLFUNC,4,2 ; @IEEE80211_STYPE_QOS_NULLFUNC
	.no_dead_strip	_wl1251_tx_control
.subsections_via_symbols
