	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtw_tx_data_pkt_info_update
_rtw_tx_data_pkt_info_update:           ## @rtw_tx_data_pkt_info_update
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	(%rdx), %r12
	movq	(%rcx), %r15
	movq	%rcx, %rdi
	callq	_IEEE80211_SKB_CB
	movq	%rax, %r13
	movq	_DESC_RATE6M@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_RTW_CHANNEL_WIDTH_20@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movl	(%r15), %edi
	callq	_le16_to_cpu
	movq	_IEEE80211_SCTL_SEQ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r15d
	testq	%r12, %r12
	je	LBB0_1
## %bb.2:
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_IEEE80211_TX_CTL_AMPDU@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r13)
	je	LBB0_3
## %bb.4:
	movq	%r12, %rdi
	callq	_get_tx_ampdu_factor
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_get_tx_ampdu_density
	movq	%rax, %r8
	movl	$1, %r13d
	cmpq	$0, 24(%r12)
	je	LBB0_8
LBB0_6:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movq	%r8, %r14
	callq	_get_highest_vht_tx_rate
	jmp	LBB0_7
LBB0_1:
	movl	$6, %esi
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	xorl	%r13d, %r13d
	xorl	%ecx, %ecx
	xorl	%edx, %edx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_15
LBB0_3:
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%r8d, %r8d
	xorl	%r13d, %r13d
	cmpq	$0, 24(%r12)
	jne	LBB0_6
LBB0_8:
	cmpq	$0, 16(%r12)
	je	LBB0_10
## %bb.9:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movq	%r8, %r14
	callq	_get_highest_ht_tx_rate
LBB0_7:
	movq	%r14, %r8
	movq	%rax, %rdi
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movq	-56(%rbp), %r9                  ## 8-byte Reload
LBB0_14:
	movq	8(%r12), %rdx
	movq	16(%rdx), %r14
	movq	8(%rdx), %rsi
	movl	(%rdx), %ecx
	movl	4(%rdx), %edx
LBB0_15:
	andl	%eax, %r15d
	sarl	$4, %r15d
	movl	%r15d, (%rbx)
	movq	%r9, 48(%rbx)
	movq	%r8, 40(%rbx)
	movl	%r13d, 4(%rbx)
	movq	%rdi, 32(%rbx)
	movq	%rsi, 24(%rbx)
	movq	%r14, 16(%rbx)
	movl	%ecx, 8(%rbx)
	movl	%edx, 12(%rbx)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	(%r12), %rax
	cmpl	$15, (%rax)
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movq	-56(%rbp), %r9                  ## 8-byte Reload
	jg	LBB0_12
## %bb.11:
	movq	_DESC_RATE11M@GOTPCREL(%rip), %rcx
	jmp	LBB0_13
LBB0_12:
	movq	_DESC_RATE54M@GOTPCREL(%rip), %rcx
LBB0_13:
	movq	(%rcx), %rdi
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_DESC_RATE6M,8,3                ## @DESC_RATE6M
	.comm	_RTW_CHANNEL_WIDTH_20,8,3       ## @RTW_CHANNEL_WIDTH_20
	.comm	_IEEE80211_SCTL_SEQ,4,2         ## @IEEE80211_SCTL_SEQ
	.comm	_IEEE80211_TX_CTL_AMPDU,4,2     ## @IEEE80211_TX_CTL_AMPDU
	.comm	_DESC_RATE11M,8,3               ## @DESC_RATE11M
	.comm	_DESC_RATE54M,8,3               ## @DESC_RATE54M
	.no_dead_strip	_rtw_tx_data_pkt_info_update
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtw_tx_data_pkt_info_update
_rtw_tx_data_pkt_info_update:           ; @rtw_tx_data_pkt_info_update
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x25, x0
	ldr	x22, [x2]
	ldr	x20, [x3]
	mov	x0, x3
	bl	_IEEE80211_SKB_CB
	mov	x21, x0
Lloh0:
	adrp	x8, _DESC_RATE6M@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DESC_RATE6M@GOTPAGEOFF]
Lloh2:
	ldr	x24, [x8]
Lloh3:
	adrp	x8, _RTW_CHANNEL_WIDTH_20@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RTW_CHANNEL_WIDTH_20@GOTPAGEOFF]
Lloh5:
	ldr	x28, [x8]
	ldr	w0, [x20]
	bl	_le16_to_cpu
	mov	x20, x0
Lloh6:
	adrp	x8, _IEEE80211_SCTL_SEQ@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IEEE80211_SCTL_SEQ@GOTPAGEOFF]
Lloh8:
	ldr	w26, [x8]
	cbz	x22, LBB0_4
; %bb.1:
	ldr	w8, [x21]
Lloh9:
	adrp	x9, _IEEE80211_TX_CTL_AMPDU@GOTPAGE
Lloh10:
	ldr	x9, [x9, _IEEE80211_TX_CTL_AMPDU@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.2:
	mov	x0, x22
	bl	_get_tx_ampdu_factor
	mov	x21, x0
	mov	x0, x22
	bl	_get_tx_ampdu_density
	mov	x23, x0
	mov	w27, #1
	ldr	x8, [x22, #24]
	cbz	x8, LBB0_6
LBB0_3:
	mov	x0, x25
	mov	x1, x22
	bl	_get_highest_vht_tx_rate
	mov	x24, x0
	b	LBB0_12
LBB0_4:
	mov	x21, #0
	mov	x23, #0
	mov	w27, #0
	movi.2d	v0, #0000000000000000
	mov	w8, #6
	b	LBB0_13
LBB0_5:
	mov	x21, #0
	mov	x23, #0
	mov	w27, #0
	ldr	x8, [x22, #24]
	cbnz	x8, LBB0_3
LBB0_6:
	ldr	x8, [x22, #16]
	cbz	x8, LBB0_8
; %bb.7:
	mov	x0, x25
	mov	x1, x22
	bl	_get_highest_ht_tx_rate
	mov	x24, x0
	b	LBB0_12
LBB0_8:
	ldr	x8, [x22]
	ldr	w8, [x8]
	cmp	w8, #15
	b.gt	LBB0_10
; %bb.9:
Lloh12:
	adrp	x8, _DESC_RATE11M@GOTPAGE
Lloh13:
	ldr	x8, [x8, _DESC_RATE11M@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:
Lloh14:
	adrp	x8, _DESC_RATE54M@GOTPAGE
Lloh15:
	ldr	x8, [x8, _DESC_RATE54M@GOTPAGEOFF]
LBB0_11:
	ldr	x24, [x8]
LBB0_12:
	ldr	x9, [x22, #8]
	ldp	x8, x28, [x9, #8]
	ldr	d0, [x9]
LBB0_13:
	and	w9, w26, w20
	stp	x23, x21, [x19, #40]
	asr	w9, w9, #4
	stp	w9, w27, [x19]
	stp	x8, x24, [x19, #24]
	str	x28, [x19, #16]
	str	d0, [x19, #8]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_DESC_RATE6M,8,3                ; @DESC_RATE6M
	.comm	_RTW_CHANNEL_WIDTH_20,8,3       ; @RTW_CHANNEL_WIDTH_20
	.comm	_IEEE80211_SCTL_SEQ,4,2         ; @IEEE80211_SCTL_SEQ
	.comm	_IEEE80211_TX_CTL_AMPDU,4,2     ; @IEEE80211_TX_CTL_AMPDU
	.comm	_DESC_RATE11M,8,3               ; @DESC_RATE11M
	.comm	_DESC_RATE54M,8,3               ; @DESC_RATE54M
	.no_dead_strip	_rtw_tx_data_pkt_info_update
.subsections_via_symbols
