	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rt2x00queue_create_tx_descriptor_ht
_rt2x00queue_create_tx_descriptor_ht:   ## @rt2x00queue_create_tx_descriptor_ht
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movq	%rcx, %rbx
	movq	%rdx, %r12
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	%rsi, %rdi
	callq	_IEEE80211_SKB_CB
	movq	%rax, %r13
	movq	8(%rax), %rcx
	movq	(%r14), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	movq	%rcx, %r14
	callq	_sta_to_rt2x00_sta
	movq	%r14, %rcx
	movl	(%rax), %eax
	movq	%r12, %r14
	movl	%eax, 28(%r12)
	movl	8(%rbx), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_3
LBB0_2:
	movq	%r12, %r14
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
LBB0_3:
	movq	_IEEE80211_TX_RC_MCS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rcx)
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	je	LBB0_8
## %bb.4:
	movl	4(%rcx), %eax
	movq	%r14, %r12
	movl	%eax, (%r14)
	testq	%rbx, %rbx
	je	LBB0_10
## %bb.5:
	cmpl	$8, %eax
	jl	LBB0_10
## %bb.6:
	movq	(%rbx), %rax
	movq	_IEEE80211_SMPS_DYNAMIC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.7:
	movq	_ENTRY_TXD_HT_MIMO_PS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	32(%r12), %rsi
	callq	___set_bit
	jmp	LBB0_10
LBB0_8:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	movq	%rcx, %rbx
	callq	_rt2x00_get_rate_mcs
	movq	%r14, %r12
	movl	%eax, (%r14)
	movq	_IEEE80211_TX_RC_USE_SHORT_PREAMBLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rbx)
	je	LBB0_10
## %bb.9:
	orl	$8, %eax
	movl	%eax, (%r12)
LBB0_10:
	movq	_CONFIG_HT_DISABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_test_bit
	movl	(%r13), %ecx
	testq	%rax, %rax
	je	LBB0_13
## %bb.11:
	movq	_IEEE80211_TX_CTL_FIRST_FRAGMENT@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_26
	jmp	LBB0_28
LBB0_13:
	movq	_IEEE80211_TX_CTL_STBC@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_15
## %bb.14:
	movl	$1, 4(%r12)
LBB0_15:
	movq	_IEEE80211_TX_CTL_AMPDU@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_18
## %bb.16:
	movq	_IEEE80211_TX_CTL_RATE_CTRL_PROBE@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	jne	LBB0_18
## %bb.17:
	movq	_ENTRY_TXD_HT_AMPDU@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	32(%r12), %rsi
	callq	___set_bit
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 24(%r12)
	movl	$7, 8(%r12)
LBB0_18:
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movl	(%rbx), %eax
	movq	_IEEE80211_TX_RC_40_MHZ_WIDTH@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_20
## %bb.19:
	movq	_IEEE80211_TX_RC_DUP_DATA@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_21
LBB0_20:
	movq	_ENTRY_TXD_HT_BW_40@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	32(%r12), %rsi
	callq	___set_bit
	movl	(%rbx), %eax
LBB0_21:
	movq	_IEEE80211_TX_RC_SHORT_GI@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_23
## %bb.22:
	movq	_ENTRY_TXD_HT_SHORT_GI@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	32(%r12), %rsi
	callq	___set_bit
LBB0_23:
	movl	(%r14), %edi
	callq	_ieee80211_is_mgmt
	testq	%rax, %rax
	je	LBB0_25
## %bb.24:
	movl	(%r14), %edi
	callq	_ieee80211_is_beacon
	testl	%eax, %eax
	je	LBB0_28
LBB0_25:
	movq	_IEEE80211_TX_CTL_FIRST_FRAGMENT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r13)
	jne	LBB0_27
LBB0_26:
	movq	_TXOP_SIFS@GOTPCREL(%rip), %rax
	jmp	LBB0_29
LBB0_28:
	movq	_TXOP_BACKOFF@GOTPCREL(%rip), %rax
	jmp	LBB0_29
LBB0_27:
	movq	_TXOP_HTTXOP@GOTPCREL(%rip), %rax
LBB0_29:
	movq	(%rax), %rax
	movq	%rax, 16(%r12)
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_TX_RC_MCS,4,2        ## @IEEE80211_TX_RC_MCS
	.comm	_IEEE80211_SMPS_DYNAMIC,8,3     ## @IEEE80211_SMPS_DYNAMIC
	.comm	_ENTRY_TXD_HT_MIMO_PS,4,2       ## @ENTRY_TXD_HT_MIMO_PS
	.comm	_IEEE80211_TX_RC_USE_SHORT_PREAMBLE,4,2 ## @IEEE80211_TX_RC_USE_SHORT_PREAMBLE
	.comm	_CONFIG_HT_DISABLED,4,2         ## @CONFIG_HT_DISABLED
	.comm	_IEEE80211_TX_CTL_FIRST_FRAGMENT,4,2 ## @IEEE80211_TX_CTL_FIRST_FRAGMENT
	.comm	_TXOP_SIFS,8,3                  ## @TXOP_SIFS
	.comm	_TXOP_BACKOFF,8,3               ## @TXOP_BACKOFF
	.comm	_IEEE80211_TX_CTL_STBC,4,2      ## @IEEE80211_TX_CTL_STBC
	.comm	_IEEE80211_TX_CTL_AMPDU,4,2     ## @IEEE80211_TX_CTL_AMPDU
	.comm	_IEEE80211_TX_CTL_RATE_CTRL_PROBE,4,2 ## @IEEE80211_TX_CTL_RATE_CTRL_PROBE
	.comm	_ENTRY_TXD_HT_AMPDU,4,2         ## @ENTRY_TXD_HT_AMPDU
	.comm	_IEEE80211_TX_RC_40_MHZ_WIDTH,4,2 ## @IEEE80211_TX_RC_40_MHZ_WIDTH
	.comm	_IEEE80211_TX_RC_DUP_DATA,4,2   ## @IEEE80211_TX_RC_DUP_DATA
	.comm	_ENTRY_TXD_HT_BW_40,4,2         ## @ENTRY_TXD_HT_BW_40
	.comm	_IEEE80211_TX_RC_SHORT_GI,4,2   ## @IEEE80211_TX_RC_SHORT_GI
	.comm	_ENTRY_TXD_HT_SHORT_GI,4,2      ## @ENTRY_TXD_HT_SHORT_GI
	.comm	_TXOP_HTTXOP,8,3                ## @TXOP_HTTXOP
	.no_dead_strip	_rt2x00queue_create_tx_descriptor_ht
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rt2x00queue_create_tx_descriptor_ht
_rt2x00queue_create_tx_descriptor_ht:   ; @rt2x00queue_create_tx_descriptor_ht
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x23, x4
	mov	x22, x3
	mov	x19, x2
	mov	x24, x1
	mov	x21, x0
	mov	x0, x1
	bl	_IEEE80211_SKB_CB
	mov	x20, x0
	ldr	x25, [x0, #8]
	ldr	x24, [x24]
	cbz	x22, LBB0_2
; %bb.1:
	mov	x0, x22
	bl	_sta_to_rt2x00_sta
	ldr	w8, [x0]
	str	w8, [x19, #28]
	ldr	w26, [x22, #8]
	b	LBB0_3
LBB0_2:
	mov	w26, #0
LBB0_3:
	ldr	w8, [x25]
Lloh0:
	adrp	x9, _IEEE80211_TX_RC_MCS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IEEE80211_TX_RC_MCS@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.4:
	ldr	w8, [x25, #4]
	str	w8, [x19]
	cbz	x22, LBB0_10
; %bb.5:
	cmp	w8, #8
	b.lt	LBB0_10
; %bb.6:
	ldr	x8, [x22]
Lloh3:
	adrp	x9, _IEEE80211_SMPS_DYNAMIC@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IEEE80211_SMPS_DYNAMIC@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.7:
Lloh6:
	adrp	x8, _ENTRY_TXD_HT_MIMO_PS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENTRY_TXD_HT_MIMO_PS@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	add	x1, x19, #32
	bl	___set_bit
	b	LBB0_10
LBB0_8:
	ldr	w0, [x23]
	bl	_rt2x00_get_rate_mcs
	str	w0, [x19]
	ldr	w8, [x25]
Lloh9:
	adrp	x9, _IEEE80211_TX_RC_USE_SHORT_PREAMBLE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _IEEE80211_TX_RC_USE_SHORT_PREAMBLE@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_10
; %bb.9:
	orr	w8, w0, #0x8
	str	w8, [x19]
LBB0_10:
Lloh12:
	adrp	x8, _CONFIG_HT_DISABLED@GOTPAGE
Lloh13:
	ldr	x8, [x8, _CONFIG_HT_DISABLED@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_test_bit
	ldr	w8, [x20]
	cbz	x0, LBB0_12
; %bb.11:
Lloh15:
	adrp	x9, _IEEE80211_TX_CTL_FIRST_FRAGMENT@GOTPAGE
Lloh16:
	ldr	x9, [x9, _IEEE80211_TX_CTL_FIRST_FRAGMENT@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
Lloh18:
	adrp	x10, _TXOP_BACKOFF@GOTPAGE
Lloh19:
	ldr	x10, [x10, _TXOP_BACKOFF@GOTPAGEOFF]
	b	LBB0_25
LBB0_12:
Lloh20:
	adrp	x9, _IEEE80211_TX_CTL_STBC@GOTPAGE
Lloh21:
	ldr	x9, [x9, _IEEE80211_TX_CTL_STBC@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_14
; %bb.13:
	mov	w9, #1
	str	w9, [x19, #4]
LBB0_14:
Lloh23:
	adrp	x9, _IEEE80211_TX_CTL_AMPDU@GOTPAGE
Lloh24:
	ldr	x9, [x9, _IEEE80211_TX_CTL_AMPDU@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_17
; %bb.15:
Lloh26:
	adrp	x9, _IEEE80211_TX_CTL_RATE_CTRL_PROBE@GOTPAGE
Lloh27:
	ldr	x9, [x9, _IEEE80211_TX_CTL_RATE_CTRL_PROBE@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_17
; %bb.16:
Lloh29:
	adrp	x8, _ENTRY_TXD_HT_AMPDU@GOTPAGE
Lloh30:
	ldr	x8, [x8, _ENTRY_TXD_HT_AMPDU@GOTPAGEOFF]
Lloh31:
	ldr	w0, [x8]
	add	x1, x19, #32
	bl	___set_bit
	str	w26, [x19, #24]
	mov	w8, #7
	str	w8, [x19, #8]
LBB0_17:
	ldr	w8, [x25]
Lloh32:
	adrp	x9, _IEEE80211_TX_RC_40_MHZ_WIDTH@GOTPAGE
Lloh33:
	ldr	x9, [x9, _IEEE80211_TX_RC_40_MHZ_WIDTH@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_19
; %bb.18:
Lloh35:
	adrp	x9, _IEEE80211_TX_RC_DUP_DATA@GOTPAGE
Lloh36:
	ldr	x9, [x9, _IEEE80211_TX_RC_DUP_DATA@GOTPAGEOFF]
Lloh37:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_20
LBB0_19:
Lloh38:
	adrp	x8, _ENTRY_TXD_HT_BW_40@GOTPAGE
Lloh39:
	ldr	x8, [x8, _ENTRY_TXD_HT_BW_40@GOTPAGEOFF]
Lloh40:
	ldr	w0, [x8]
	add	x1, x19, #32
	bl	___set_bit
	ldr	w8, [x25]
LBB0_20:
Lloh41:
	adrp	x9, _IEEE80211_TX_RC_SHORT_GI@GOTPAGE
Lloh42:
	ldr	x9, [x9, _IEEE80211_TX_RC_SHORT_GI@GOTPAGEOFF]
Lloh43:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_22
; %bb.21:
Lloh44:
	adrp	x8, _ENTRY_TXD_HT_SHORT_GI@GOTPAGE
Lloh45:
	ldr	x8, [x8, _ENTRY_TXD_HT_SHORT_GI@GOTPAGEOFF]
Lloh46:
	ldr	w0, [x8]
	add	x1, x19, #32
	bl	___set_bit
LBB0_22:
	ldr	w0, [x24]
	bl	_ieee80211_is_mgmt
	cbz	x0, LBB0_24
; %bb.23:
	ldr	w0, [x24]
	bl	_ieee80211_is_beacon
	cbz	w0, LBB0_27
LBB0_24:
	ldr	w8, [x20]
Lloh47:
	adrp	x9, _IEEE80211_TX_CTL_FIRST_FRAGMENT@GOTPAGE
Lloh48:
	ldr	x9, [x9, _IEEE80211_TX_CTL_FIRST_FRAGMENT@GOTPAGEOFF]
Lloh49:
	ldr	w9, [x9]
Lloh50:
	adrp	x10, _TXOP_HTTXOP@GOTPAGE
Lloh51:
	ldr	x10, [x10, _TXOP_HTTXOP@GOTPAGEOFF]
LBB0_25:
Lloh52:
	adrp	x11, _TXOP_SIFS@GOTPAGE
Lloh53:
	ldr	x11, [x11, _TXOP_SIFS@GOTPAGEOFF]
	tst	w9, w8
	csel	x8, x11, x10, eq
LBB0_26:
	ldr	x8, [x8]
	str	x8, [x19, #16]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_27:
Lloh54:
	adrp	x8, _TXOP_BACKOFF@GOTPAGE
Lloh55:
	ldr	x8, [x8, _TXOP_BACKOFF@GOTPAGEOFF]
	b	LBB0_26
	.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
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpLdrGot	Lloh54, Lloh55
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_TX_RC_MCS,4,2        ; @IEEE80211_TX_RC_MCS
	.comm	_IEEE80211_SMPS_DYNAMIC,8,3     ; @IEEE80211_SMPS_DYNAMIC
	.comm	_ENTRY_TXD_HT_MIMO_PS,4,2       ; @ENTRY_TXD_HT_MIMO_PS
	.comm	_IEEE80211_TX_RC_USE_SHORT_PREAMBLE,4,2 ; @IEEE80211_TX_RC_USE_SHORT_PREAMBLE
	.comm	_CONFIG_HT_DISABLED,4,2         ; @CONFIG_HT_DISABLED
	.comm	_IEEE80211_TX_CTL_FIRST_FRAGMENT,4,2 ; @IEEE80211_TX_CTL_FIRST_FRAGMENT
	.comm	_TXOP_SIFS,8,3                  ; @TXOP_SIFS
	.comm	_TXOP_BACKOFF,8,3               ; @TXOP_BACKOFF
	.comm	_IEEE80211_TX_CTL_STBC,4,2      ; @IEEE80211_TX_CTL_STBC
	.comm	_IEEE80211_TX_CTL_AMPDU,4,2     ; @IEEE80211_TX_CTL_AMPDU
	.comm	_IEEE80211_TX_CTL_RATE_CTRL_PROBE,4,2 ; @IEEE80211_TX_CTL_RATE_CTRL_PROBE
	.comm	_ENTRY_TXD_HT_AMPDU,4,2         ; @ENTRY_TXD_HT_AMPDU
	.comm	_IEEE80211_TX_RC_40_MHZ_WIDTH,4,2 ; @IEEE80211_TX_RC_40_MHZ_WIDTH
	.comm	_IEEE80211_TX_RC_DUP_DATA,4,2   ; @IEEE80211_TX_RC_DUP_DATA
	.comm	_ENTRY_TXD_HT_BW_40,4,2         ; @ENTRY_TXD_HT_BW_40
	.comm	_IEEE80211_TX_RC_SHORT_GI,4,2   ; @IEEE80211_TX_RC_SHORT_GI
	.comm	_ENTRY_TXD_HT_SHORT_GI,4,2      ; @ENTRY_TXD_HT_SHORT_GI
	.comm	_TXOP_HTTXOP,8,3                ; @TXOP_HTTXOP
	.no_dead_strip	_rt2x00queue_create_tx_descriptor_ht
.subsections_via_symbols
