	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath10k_htt_rx_h_rates
_ath10k_htt_rx_h_rates:                 ## @ath10k_htt_rx_h_rates
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %r12
	movl	24(%rdx), %edi
	callq	___le32_to_cpu
	movl	%eax, %ebx
	movl	20(%r15), %edi
	callq	___le32_to_cpu
	movl	%eax, %r13d
	movl	16(%r15), %edi
	callq	___le32_to_cpu
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_RX_PPDU_START_INFO1_PREAMBLE_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_MS
                                        ## kill: def $eax killed $eax def $rax
	leal	-128(%rax), %ecx
	cmpl	$2, %ecx
	jb	LBB0_9
## %bb.1:
	leal	-131(%rax), %ecx
	cmpl	$2, %ecx
	jae	LBB0_2
## %bb.5:
	movl	%r13d, %eax
	andl	$31, %eax
	movl	%eax, 8(%r14)
	movq	_RX_ENC_HT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r14)
	testb	$-128, -48(%rbp)                ## 1-byte Folded Reload
	je	LBB0_7
## %bb.6:
	movq	_RX_ENC_FLAG_SHORT_GI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 24(%r14)
LBB0_7:
	testb	$-128, %r13b
	je	LBB0_16
## %bb.8:
	movq	_RATE_INFO_BW_40@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%r14)
	jmp	LBB0_16
LBB0_9:
	movl	%r13d, %edi
	shrl	$4, %edi
	andl	$63, %edi
	callq	_GROUP_ID_IS_SU_MIMO
	testl	%eax, %eax
	je	LBB0_10
## %bb.11:
	movq	%r12, %rax
	movl	-48(%rbp), %r12d                ## 4-byte Reload
	shrl	$4, %r12d
	andl	$15, %r12d
	movl	%r13d, %ebx
	shrl	$10, %ebx
	andl	$7, %ebx
	incl	%ebx
	cmpl	$10, %r12d
	jb	LBB0_13
## %bb.12:
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rdi
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	%r12d, %edx
	xorl	%eax, %eax
	callq	_ath10k_warn
	movl	48(%r15), %edi
	callq	___le32_to_cpu
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	44(%r15), %edi
	callq	___le32_to_cpu
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movl	40(%r15), %edi
	callq	___le32_to_cpu
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movl	36(%r15), %edi
	callq	___le32_to_cpu
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movl	32(%r15), %edi
	callq	___le32_to_cpu
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movl	24(%r15), %edi
	movl	28(%r15), %eax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	callq	___le32_to_cpu
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movl	20(%r15), %edi
	callq	___le32_to_cpu
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movl	16(%r15), %edi
	callq	___le32_to_cpu
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	12(%r15), %edi
	callq	___le32_to_cpu
	movl	%eax, %r10d
	leaq	L_.str.1(%rip), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	-68(%rbp), %ecx                 ## 4-byte Reload
	movl	-64(%rbp), %r8d                 ## 4-byte Reload
	movl	-60(%rbp), %r9d                 ## 4-byte Reload
	xorl	%eax, %eax
	pushq	%r10
	pushq	-80(%rbp)                       ## 8-byte Folded Reload
	pushq	-88(%rbp)                       ## 8-byte Folded Reload
	pushq	-96(%rbp)                       ## 8-byte Folded Reload
	pushq	-104(%rbp)                      ## 8-byte Folded Reload
	pushq	-112(%rbp)                      ## 8-byte Folded Reload
	callq	_ath10k_warn
	addq	$48, %rsp
	movl	8(%r15), %edi
	callq	___le32_to_cpu
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	4(%r15), %edi
	callq	___le32_to_cpu
	leaq	L_.str.2(%rip), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_ath10k_warn
	movq	_ATH10K_DBG_HTT_DUMP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r15), %r8d
	leaq	L_.str.3(%rip), %rcx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	xorl	%edx, %edx
	movl	$50, %r9d
	callq	_ath10k_dbg_dump
	jmp	LBB0_13
LBB0_2:
	cmpl	$130, %eax
	jne	LBB0_16
## %bb.3:
	cmpl	$0, 28(%r14)
	je	LBB0_16
## %bb.4:
	movq	_RX_PPDU_START_INFO1_L_SIG_RATE_SELECT@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	andl	%ebx, %r15d
	movq	_RX_PPDU_START_INFO1_L_SIG_RATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_MS
	movq	_RX_PPDU_START_RATE_FLAG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	notl	%esi
	andl	%eax, %esi
	movq	(%r14), %rdi
	shlq	$2, %rdi
	addq	(%r12), %rdi
	movl	%r15d, %edx
	callq	_ath10k_mac_hw_rate_to_idx
	movl	%eax, 8(%r14)
	jmp	LBB0_16
LBB0_10:
	movl	$1, %ebx
	xorl	%r12d, %r12d
LBB0_13:
	andl	$3, %r13d
	movl	%r12d, 8(%r14)
	movl	%ebx, 12(%r14)
	testb	$1, -48(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_15
## %bb.14:
	movq	_RX_ENC_FLAG_SHORT_GI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 24(%r14)
LBB0_15:
	movl	%r13d, %edi
	callq	_ath10k_bw_to_mac80211_bw
	movl	%eax, 20(%r14)
	movq	_RX_ENC_VHT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r14)
LBB0_16:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RX_PPDU_START_INFO1_PREAMBLE_TYPE,4,2 ## @RX_PPDU_START_INFO1_PREAMBLE_TYPE
	.comm	_RX_PPDU_START_INFO1_L_SIG_RATE_SELECT,4,2 ## @RX_PPDU_START_INFO1_L_SIG_RATE_SELECT
	.comm	_RX_PPDU_START_INFO1_L_SIG_RATE,4,2 ## @RX_PPDU_START_INFO1_L_SIG_RATE
	.comm	_RX_PPDU_START_RATE_FLAG,4,2    ## @RX_PPDU_START_RATE_FLAG
	.comm	_RX_ENC_HT,4,2                  ## @RX_ENC_HT
	.comm	_RX_ENC_FLAG_SHORT_GI,4,2       ## @RX_ENC_FLAG_SHORT_GI
	.comm	_RATE_INFO_BW_40,4,2            ## @RATE_INFO_BW_40
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid MCS received %u\n"

L_.str.1:                               ## @.str.1
	.asciz	"rxd %08x mpdu start %08x %08x msdu start %08x %08x ppdu start %08x %08x %08x %08x %08x\n"

L_.str.2:                               ## @.str.2
	.asciz	"msdu end %08x mpdu end %08x\n"

	.comm	_ATH10K_DBG_HTT_DUMP,4,2        ## @ATH10K_DBG_HTT_DUMP
L_.str.3:                               ## @.str.3
	.asciz	"rx desc msdu payload: "

	.comm	_RX_ENC_VHT,4,2                 ## @RX_ENC_VHT
	.no_dead_strip	_ath10k_htt_rx_h_rates
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath10k_htt_rx_h_rates
_ath10k_htt_rx_h_rates:                 ; @ath10k_htt_rx_h_rates
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #224
	.cfi_def_cfa_offset 224
	stp	x28, x27, [sp, #128]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #144]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #160]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #176]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #192]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #208]            ; 16-byte Folded Spill
	add	x29, sp, #208
	.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	x23, x2
	mov	x19, x1
	mov	x20, x0
	ldr	w0, [x2, #24]
	bl	___le32_to_cpu
	mov	x22, x0
	ldr	w0, [x23, #20]
	bl	___le32_to_cpu
	mov	x25, x0
	ldr	w0, [x23, #16]
	bl	___le32_to_cpu
	mov	x21, x0
Lloh0:
	adrp	x8, _RX_PPDU_START_INFO1_PREAMBLE_TYPE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RX_PPDU_START_INFO1_PREAMBLE_TYPE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_MS
	sub	w8, w0, #128
	cmp	w8, #2
	b.lo	LBB0_6
; %bb.1:
	sub	w8, w0, #131
	cmp	w8, #2
	b.hs	LBB0_12
; %bb.2:
	and	w8, w25, #0x1f
	str	w8, [x19, #8]
Lloh3:
	adrp	x8, _RX_ENC_HT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RX_ENC_HT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x19, #16]
	tbz	w21, #7, LBB0_4
; %bb.3:
Lloh6:
	adrp	x8, _RX_ENC_FLAG_SHORT_GI@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RX_ENC_FLAG_SHORT_GI@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ldr	w9, [x19, #24]
	orr	w8, w9, w8
	str	w8, [x19, #24]
LBB0_4:
	tbz	w25, #7, LBB0_15
; %bb.5:
Lloh9:
	adrp	x8, _RATE_INFO_BW_40@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RATE_INFO_BW_40@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [x19, #20]
	b	LBB0_15
LBB0_6:
	and	w26, w25, #0x3
	ubfx	w0, w25, #4, #6
	bl	_GROUP_ID_IS_SU_MIMO
	cbz	w0, LBB0_16
; %bb.7:
	ubfx	w24, w21, #4, #4
	ubfx	w8, w25, #10, #3
	add	w22, w8, #1
	cmp	w24, #10
	b.lo	LBB0_9
; %bb.8:
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x2, x24
	bl	_ath10k_warn
	ldr	w0, [x23, #48]
	bl	___le32_to_cpu
	stur	w0, [x29, #-84]                 ; 4-byte Folded Spill
	ldr	w0, [x23, #44]
	bl	___le32_to_cpu
	stur	x0, [x29, #-96]                 ; 8-byte Folded Spill
	ldr	w0, [x23, #40]
	bl	___le32_to_cpu
	str	x0, [sp, #104]                  ; 8-byte Folded Spill
	ldr	w0, [x23, #36]
	bl	___le32_to_cpu
	str	x0, [sp, #96]                   ; 8-byte Folded Spill
	ldr	w0, [x23, #32]
	bl	___le32_to_cpu
	str	x0, [sp, #88]                   ; 8-byte Folded Spill
	ldp	w0, w8, [x23, #24]
	str	x8, [sp, #80]                   ; 8-byte Folded Spill
	bl	___le32_to_cpu
	mov	x25, x26
	mov	x26, x0
	ldr	w0, [x23, #20]
	bl	___le32_to_cpu
	mov	x27, x0
	ldr	w0, [x23, #16]
	bl	___le32_to_cpu
	mov	x28, x0
	ldr	w0, [x23, #12]
	bl	___le32_to_cpu
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x28, x0, [sp, #56]
	stp	x26, x27, [sp, #40]
	mov	x26, x25
	ldr	x9, [sp, #80]                   ; 8-byte Folded Reload
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	ldr	x8, [sp, #88]                   ; 8-byte Folded Reload
	stp	x8, x9, [sp, #24]
	ldr	x9, [sp, #96]                   ; 8-byte Folded Reload
	ldr	x8, [sp, #104]                  ; 8-byte Folded Reload
	stp	x8, x9, [sp, #8]
	ldur	x8, [x29, #-96]                 ; 8-byte Folded Reload
	str	x8, [sp]
	mov	x0, x20
	ldur	w2, [x29, #-84]                 ; 4-byte Folded Reload
	bl	_ath10k_warn
	ldr	w0, [x23, #8]
	bl	___le32_to_cpu
	mov	x25, x0
	ldr	w0, [x23, #4]
	bl	___le32_to_cpu
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh16:
	adrp	x1, l_.str.2@PAGE
Lloh17:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	mov	x2, x25
	bl	_ath10k_warn
Lloh18:
	adrp	x8, _ATH10K_DBG_HTT_DUMP@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ATH10K_DBG_HTT_DUMP@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	ldr	w4, [x23]
Lloh21:
	adrp	x3, l_.str.3@PAGE
Lloh22:
	add	x3, x3, l_.str.3@PAGEOFF
	mov	x0, x20
	mov	x2, #0
	mov	w5, #50
	bl	_ath10k_dbg_dump
LBB0_9:
	stp	w24, w22, [x19, #8]
	tbz	w21, #0, LBB0_11
LBB0_10:
Lloh23:
	adrp	x8, _RX_ENC_FLAG_SHORT_GI@GOTPAGE
Lloh24:
	ldr	x8, [x8, _RX_ENC_FLAG_SHORT_GI@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	ldr	w9, [x19, #24]
	orr	w8, w9, w8
	str	w8, [x19, #24]
LBB0_11:
	mov	x0, x26
	bl	_ath10k_bw_to_mac80211_bw
Lloh26:
	adrp	x8, _RX_ENC_VHT@GOTPAGE
Lloh27:
	ldr	x8, [x8, _RX_ENC_VHT@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	stp	w8, w0, [x19, #16]
	b	LBB0_15
LBB0_12:
	cmp	w0, #130
	b.ne	LBB0_15
; %bb.13:
	ldr	w8, [x19, #28]
	cbz	w8, LBB0_15
; %bb.14:
Lloh29:
	adrp	x8, _RX_PPDU_START_INFO1_L_SIG_RATE_SELECT@GOTPAGE
Lloh30:
	ldr	x8, [x8, _RX_PPDU_START_INFO1_L_SIG_RATE_SELECT@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	and	w21, w8, w22
Lloh32:
	adrp	x8, _RX_PPDU_START_INFO1_L_SIG_RATE@GOTPAGE
Lloh33:
	ldr	x8, [x8, _RX_PPDU_START_INFO1_L_SIG_RATE@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_MS
Lloh35:
	adrp	x8, _RX_PPDU_START_RATE_FLAG@GOTPAGE
Lloh36:
	ldr	x8, [x8, _RX_PPDU_START_RATE_FLAG@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
	bic	w1, w0, w8
	ldr	x8, [x20]
	ldr	x9, [x19]
	add	x0, x8, x9, lsl #2
	mov	x2, x21
	bl	_ath10k_mac_hw_rate_to_idx
	str	w0, [x19, #8]
LBB0_15:
	ldp	x29, x30, [sp, #208]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #192]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #176]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #160]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #144]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #224
	ret
LBB0_16:
	mov	w24, #0
	mov	w22, #1
	stp	w24, w22, [x19, #8]
	tbnz	w21, #0, LBB0_10
	b	LBB0_11
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_RX_PPDU_START_INFO1_PREAMBLE_TYPE,4,2 ; @RX_PPDU_START_INFO1_PREAMBLE_TYPE
	.comm	_RX_PPDU_START_INFO1_L_SIG_RATE_SELECT,4,2 ; @RX_PPDU_START_INFO1_L_SIG_RATE_SELECT
	.comm	_RX_PPDU_START_INFO1_L_SIG_RATE,4,2 ; @RX_PPDU_START_INFO1_L_SIG_RATE
	.comm	_RX_PPDU_START_RATE_FLAG,4,2    ; @RX_PPDU_START_RATE_FLAG
	.comm	_RX_ENC_HT,4,2                  ; @RX_ENC_HT
	.comm	_RX_ENC_FLAG_SHORT_GI,4,2       ; @RX_ENC_FLAG_SHORT_GI
	.comm	_RATE_INFO_BW_40,4,2            ; @RATE_INFO_BW_40
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid MCS received %u\n"

l_.str.1:                               ; @.str.1
	.asciz	"rxd %08x mpdu start %08x %08x msdu start %08x %08x ppdu start %08x %08x %08x %08x %08x\n"

l_.str.2:                               ; @.str.2
	.asciz	"msdu end %08x mpdu end %08x\n"

	.comm	_ATH10K_DBG_HTT_DUMP,4,2        ; @ATH10K_DBG_HTT_DUMP
l_.str.3:                               ; @.str.3
	.asciz	"rx desc msdu payload: "

	.comm	_RX_ENC_VHT,4,2                 ; @RX_ENC_VHT
	.no_dead_strip	_ath10k_htt_rx_h_rates
.subsections_via_symbols
