	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath10k_wmi_event_mgmt_rx       ## -- Begin function ath10k_wmi_event_mgmt_rx
	.p2align	4, 0x90
_ath10k_wmi_event_mgmt_rx:              ## @ath10k_wmi_event_mgmt_rx
	.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	%rsi, %rbx
	movq	%rdi, %r15
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -96(%rbp)
	movq	$0, -80(%rbp)
	movq	%rsi, %rdi
	callq	_IEEE80211_SKB_RXCB
	movq	%rax, %r12
	leaq	-96(%rbp), %rdx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_ath10k_wmi_pull_mgmt_rx
	movl	%eax, %r14d
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	movl	%r14d, %edx
	callq	_ath10k_warn
	jmp	LBB0_4
LBB0_2:
	movl	-76(%rbp), %edi
	callq	___le32_to_cpu
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	-80(%rbp), %edi
	callq	___le32_to_cpu
	movl	%eax, %r13d
	movl	-84(%rbp), %edi
	callq	___le32_to_cpu
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movl	-88(%rbp), %edi
	callq	___le32_to_cpu
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	-92(%rbp), %edi
	callq	___le32_to_cpu
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$40, %edx
	callq	_memset
	movq	_ATH10K_DBG_MGMT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%r15, %rdi
	movl	%r13d, %ecx
	xorl	%eax, %eax
	callq	_ath10k_dbg
	movq	_ATH10K_CAC_RUNNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	16(%r15), %rsi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movq	_WMI_RX_STATUS_ERR_DECRYPT@GOTPCREL(%rip), %rax
	movq	_WMI_RX_STATUS_ERR_KEY_CACHE_MISS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_WMI_RX_STATUS_ERR_CRC@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	testl	%r13d, %ecx
	je	LBB0_5
LBB0_4:
	movq	%rbx, %rdi
	callq	_dev_kfree_skb
LBB0_25:
	movl	%r14d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	_WMI_RX_STATUS_ERR_MIC@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_7
## %bb.6:
	movq	_RX_FLAG_MMIC_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r12)
LBB0_7:
	movq	_WMI_RX_STATUS_EXT_INFO@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_9
## %bb.8:
	movl	-96(%rbp), %edi
	callq	___le64_to_cpu
	movl	%eax, 32(%r12)
	movq	_RX_FLAG_MACTIME_END@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r12)
LBB0_9:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	leal	-1(%rdi), %eax
	cmpl	$14, %eax
	jae	LBB0_11
## %bb.10:
	movq	_NL80211_BAND_2GHZ@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_11:
	cmpl	$36, %edi
	jl	LBB0_26
## %bb.12:
	movq	_ATH10K_MAX_5G_CHAN@GOTPCREL(%rip), %rax
	cmpl	(%rax), %edi
	jg	LBB0_26
## %bb.13:
	movq	_NL80211_BAND_5GHZ@GOTPCREL(%rip), %rax
LBB0_14:
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	movq	(%rax), %rsi
	movq	%rsi, 8(%r12)
	movq	_MODE_11B@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ecx
	jne	LBB0_17
## %bb.15:
	movq	_NL80211_BAND_5GHZ@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rsi
	jne	LBB0_17
## %bb.16:
	movq	_ATH10K_DBG_MGMT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_ath10k_dbg
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	8(%r12), %rsi
LBB0_17:
	leaq	(,%rsi,4), %r13
	addq	8(%r15), %r13
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_ieee80211_channel_to_frequency
	movq	%rax, 24(%r12)
	movq	_ATH10K_DEFAULT_NOISE_FLOOR@GOTPCREL(%rip), %rax
	movl	-60(%rbp), %ecx                 ## 4-byte Reload
	addl	(%rax), %ecx
	movl	%ecx, 16(%r12)
	movslq	-56(%rbp), %rax                 ## 4-byte Folded Reload
	imulq	$1374389535, %rax, %rsi         ## imm = 0x51EB851F
	movq	%rsi, %rax
	shrq	$63, %rax
	sarq	$37, %rsi
	addl	%eax, %esi
	movq	%r13, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_ath10k_mac_bitrate_to_idx
	movl	%eax, 20(%r12)
	movq	8(%rbx), %r13
	movl	(%r13), %edi
	callq	_le16_to_cpu
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_RX_FLAG_SKIP_MONITOR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r12)
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	callq	_ath10k_wmi_handle_wep_reauth
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_ath10k_wmi_rx_is_decrypted
	testq	%rax, %rax
	je	LBB0_22
## %bb.18:
	movq	_RX_FLAG_DECRYPTED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r12)
	movl	(%r13), %edi
	callq	_ieee80211_is_action
	testl	%eax, %eax
	jne	LBB0_22
## %bb.19:
	movl	(%r13), %edi
	callq	_ieee80211_is_deauth
	testl	%eax, %eax
	jne	LBB0_22
## %bb.20:
	movl	(%r13), %edi
	callq	_ieee80211_is_disassoc
	testl	%eax, %eax
	jne	LBB0_22
## %bb.21:
	movq	_RX_FLAG_IV_STRIPPED@GOTPCREL(%rip), %rax
	movq	_RX_FLAG_MMIC_STRIPPED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	orl	%ecx, (%r12)
	movq	_IEEE80211_FCTL_PROTECTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	notl	%edi
	andl	-48(%rbp), %edi                 ## 4-byte Folded Reload
	callq	___cpu_to_le16
	movl	%eax, (%r13)
LBB0_22:
	movl	(%r13), %edi
	callq	_ieee80211_is_beacon
	testq	%rax, %rax
	je	LBB0_24
## %bb.23:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_ath10k_mac_handle_beacon
LBB0_24:
	movq	_ATH10K_DBG_MGMT@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	(%rbx), %r8
	movq	_IEEE80211_FCTL_FTYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	andl	%ecx, %r9d
	movq	_IEEE80211_FCTL_STYPE@GOTPCREL(%rip), %rax
	andl	(%rax), %ecx
	movl	%ecx, (%rsp)
	leaq	L_.str.3(%rip), %rdx
	movq	%r15, %rdi
	movq	%rbx, %rcx
	xorl	%eax, %eax
	callq	_ath10k_dbg
	movl	(%r13), %esi
	movq	24(%r12), %rcx
	movq	8(%r12), %r8
	movl	16(%r12), %r9d
	movl	20(%r12), %eax
	movl	%eax, (%rsp)
	leaq	L_.str.4(%rip), %rdx
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_ath10k_dbg
	movl	(%r15), %edi
	movq	%rbx, %rsi
	callq	_ieee80211_rx_ni
	jmp	LBB0_25
LBB0_26:
	movl	$1, %edi
	callq	_WARN_ON_ONCE
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to parse mgmt rx event: %d\n"

	.comm	_ATH10K_DBG_MGMT,4,2            ## @ATH10K_DBG_MGMT
L_.str.1:                               ## @.str.1
	.asciz	"event mgmt rx status %08x\n"

	.comm	_ATH10K_CAC_RUNNING,4,2         ## @ATH10K_CAC_RUNNING
	.comm	_WMI_RX_STATUS_ERR_DECRYPT,4,2  ## @WMI_RX_STATUS_ERR_DECRYPT
	.comm	_WMI_RX_STATUS_ERR_KEY_CACHE_MISS,4,2 ## @WMI_RX_STATUS_ERR_KEY_CACHE_MISS
	.comm	_WMI_RX_STATUS_ERR_CRC,4,2      ## @WMI_RX_STATUS_ERR_CRC
	.comm	_WMI_RX_STATUS_ERR_MIC,4,2      ## @WMI_RX_STATUS_ERR_MIC
	.comm	_RX_FLAG_MMIC_ERROR,4,2         ## @RX_FLAG_MMIC_ERROR
	.comm	_WMI_RX_STATUS_EXT_INFO,4,2     ## @WMI_RX_STATUS_EXT_INFO
	.comm	_RX_FLAG_MACTIME_END,4,2        ## @RX_FLAG_MACTIME_END
	.comm	_NL80211_BAND_2GHZ,8,3          ## @NL80211_BAND_2GHZ
	.comm	_ATH10K_MAX_5G_CHAN,4,2         ## @ATH10K_MAX_5G_CHAN
	.comm	_NL80211_BAND_5GHZ,8,3          ## @NL80211_BAND_5GHZ
	.comm	_MODE_11B,4,2                   ## @MODE_11B
L_.str.2:                               ## @.str.2
	.asciz	"wmi mgmt rx 11b (CCK) on 5GHz\n"

	.comm	_ATH10K_DEFAULT_NOISE_FLOOR,4,2 ## @ATH10K_DEFAULT_NOISE_FLOOR
	.comm	_RX_FLAG_SKIP_MONITOR,4,2       ## @RX_FLAG_SKIP_MONITOR
	.comm	_RX_FLAG_DECRYPTED,4,2          ## @RX_FLAG_DECRYPTED
	.comm	_RX_FLAG_IV_STRIPPED,4,2        ## @RX_FLAG_IV_STRIPPED
	.comm	_RX_FLAG_MMIC_STRIPPED,4,2      ## @RX_FLAG_MMIC_STRIPPED
	.comm	_IEEE80211_FCTL_PROTECTED,4,2   ## @IEEE80211_FCTL_PROTECTED
L_.str.3:                               ## @.str.3
	.asciz	"event mgmt rx skb %pK len %d ftype %02x stype %02x\n"

	.comm	_IEEE80211_FCTL_FTYPE,4,2       ## @IEEE80211_FCTL_FTYPE
	.comm	_IEEE80211_FCTL_STYPE,4,2       ## @IEEE80211_FCTL_STYPE
L_.str.4:                               ## @.str.4
	.asciz	"event mgmt rx freq %d band %d snr %d, rate_idx %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath10k_wmi_event_mgmt_rx       ; -- Begin function ath10k_wmi_event_mgmt_rx
	.p2align	2
_ath10k_wmi_event_mgmt_rx:              ; @ath10k_wmi_event_mgmt_rx
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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	x21, x0
	stp	xzr, xzr, [sp, #40]
	str	xzr, [sp, #56]
	mov	x0, x1
	bl	_IEEE80211_SKB_RXCB
	mov	x22, x0
	add	x2, sp, #40
	mov	x0, x21
	mov	x1, x19
	bl	_ath10k_wmi_pull_mgmt_rx
	mov	x20, x0
	cbz	w0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	mov	x2, x20
	bl	_ath10k_warn
	b	LBB0_4
LBB0_2:
	ldr	w0, [sp, #60]
	bl	___le32_to_cpu
	mov	x23, x0
	ldr	w0, [sp, #56]
	bl	___le32_to_cpu
	mov	x27, x0
	ldr	w0, [sp, #52]
	bl	___le32_to_cpu
	mov	x24, x0
	ldr	w0, [sp, #48]
	bl	___le32_to_cpu
	mov	x26, x0
	ldr	w0, [sp, #44]
	bl	___le32_to_cpu
	mov	x25, x0
	mov	x0, x22
	mov	w1, #0
	mov	w2, #40
	bl	_memset
Lloh2:
	adrp	x28, _ATH10K_DBG_MGMT@GOTPAGE
Lloh3:
	ldr	x28, [x28, _ATH10K_DBG_MGMT@GOTPAGEOFF]
	ldr	w1, [x28]
	str	x27, [sp]
Lloh4:
	adrp	x2, l_.str.1@PAGE
Lloh5:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_ath10k_dbg
Lloh6:
	adrp	x8, _ATH10K_CAC_RUNNING@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ATH10K_CAC_RUNNING@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	add	x1, x21, #16
	bl	_test_bit
	cbnz	x0, LBB0_4
; %bb.3:
Lloh9:
	adrp	x8, _WMI_RX_STATUS_ERR_DECRYPT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _WMI_RX_STATUS_ERR_DECRYPT@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _WMI_RX_STATUS_ERR_KEY_CACHE_MISS@GOTPAGE
Lloh13:
	ldr	x9, [x9, _WMI_RX_STATUS_ERR_KEY_CACHE_MISS@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh15:
	adrp	x9, _WMI_RX_STATUS_ERR_CRC@GOTPAGE
Lloh16:
	ldr	x9, [x9, _WMI_RX_STATUS_ERR_CRC@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w8, w8, w9
	tst	w8, w27
	b.eq	LBB0_6
LBB0_4:
	mov	x0, x19
	bl	_dev_kfree_skb
LBB0_5:
	mov	x0, x20
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_6:
Lloh18:
	adrp	x8, _WMI_RX_STATUS_ERR_MIC@GOTPAGE
Lloh19:
	ldr	x8, [x8, _WMI_RX_STATUS_ERR_MIC@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	tst	w8, w27
	b.eq	LBB0_8
; %bb.7:
Lloh21:
	adrp	x8, _RX_FLAG_MMIC_ERROR@GOTPAGE
Lloh22:
	ldr	x8, [x8, _RX_FLAG_MMIC_ERROR@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	ldr	w9, [x22]
	orr	w8, w9, w8
	str	w8, [x22]
LBB0_8:
Lloh24:
	adrp	x8, _WMI_RX_STATUS_EXT_INFO@GOTPAGE
Lloh25:
	ldr	x8, [x8, _WMI_RX_STATUS_EXT_INFO@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	tst	w8, w27
	b.eq	LBB0_10
; %bb.9:
	ldr	w0, [sp, #40]
	bl	___le64_to_cpu
	str	w0, [x22, #32]
Lloh27:
	adrp	x8, _RX_FLAG_MACTIME_END@GOTPAGE
Lloh28:
	ldr	x8, [x8, _RX_FLAG_MACTIME_END@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	ldr	w9, [x22]
	orr	w8, w9, w8
	str	w8, [x22]
LBB0_10:
	sub	w8, w23, #1
	cmp	w8, #14
	b.hs	LBB0_12
; %bb.11:
Lloh30:
	adrp	x8, _NL80211_BAND_2GHZ@GOTPAGE
Lloh31:
	ldr	x8, [x8, _NL80211_BAND_2GHZ@GOTPAGEOFF]
	b	LBB0_15
LBB0_12:
	cmp	w23, #36
	b.lt	LBB0_26
; %bb.13:
Lloh32:
	adrp	x8, _ATH10K_MAX_5G_CHAN@GOTPAGE
Lloh33:
	ldr	x8, [x8, _ATH10K_MAX_5G_CHAN@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	cmp	w23, w8
	b.gt	LBB0_26
; %bb.14:
Lloh35:
	adrp	x8, _NL80211_BAND_5GHZ@GOTPAGE
Lloh36:
	ldr	x8, [x8, _NL80211_BAND_5GHZ@GOTPAGEOFF]
LBB0_15:
	ldr	x1, [x8]
	str	x1, [x22, #8]
Lloh37:
	adrp	x8, _MODE_11B@GOTPAGE
Lloh38:
	ldr	x8, [x8, _MODE_11B@GOTPAGEOFF]
Lloh39:
	ldr	w8, [x8]
	cmp	w26, w8
	b.ne	LBB0_18
; %bb.16:
Lloh40:
	adrp	x8, _NL80211_BAND_5GHZ@GOTPAGE
Lloh41:
	ldr	x8, [x8, _NL80211_BAND_5GHZ@GOTPAGEOFF]
Lloh42:
	ldr	x8, [x8]
	cmp	x1, x8
	b.ne	LBB0_18
; %bb.17:
	ldr	w1, [x28]
Lloh43:
	adrp	x2, l_.str.2@PAGE
Lloh44:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_ath10k_dbg
	ldr	x1, [x22, #8]
LBB0_18:
	ldr	x8, [x21, #8]
	add	x26, x8, x1, lsl #2
	mov	x0, x23
	bl	_ieee80211_channel_to_frequency
	str	x0, [x22, #24]
Lloh45:
	adrp	x8, _ATH10K_DEFAULT_NOISE_FLOOR@GOTPAGE
Lloh46:
	ldr	x8, [x8, _ATH10K_DEFAULT_NOISE_FLOOR@GOTPAGEOFF]
Lloh47:
	ldr	w8, [x8]
	add	w8, w8, w24
	str	w8, [x22, #16]
	mov	w8, #34079
	movk	w8, #20971, lsl #16
	smull	x8, w25, w8
	lsr	x9, x8, #63
	asr	x8, x8, #37
	add	w1, w8, w9
	mov	x0, x26
	bl	_ath10k_mac_bitrate_to_idx
	str	w0, [x22, #20]
	ldr	x24, [x19, #8]
	ldr	w0, [x24]
	bl	_le16_to_cpu
	mov	x23, x0
Lloh48:
	adrp	x8, _RX_FLAG_SKIP_MONITOR@GOTPAGE
Lloh49:
	ldr	x8, [x8, _RX_FLAG_SKIP_MONITOR@GOTPAGEOFF]
Lloh50:
	ldr	w8, [x8]
	ldr	w9, [x22]
	orr	w8, w9, w8
	str	w8, [x22]
	mov	x0, x21
	mov	x1, x19
	mov	x2, x22
	bl	_ath10k_wmi_handle_wep_reauth
	mov	x0, x21
	mov	x1, x24
	bl	_ath10k_wmi_rx_is_decrypted
	cbz	x0, LBB0_23
; %bb.19:
Lloh51:
	adrp	x8, _RX_FLAG_DECRYPTED@GOTPAGE
Lloh52:
	ldr	x8, [x8, _RX_FLAG_DECRYPTED@GOTPAGEOFF]
Lloh53:
	ldr	w8, [x8]
	ldr	w9, [x22]
	orr	w8, w9, w8
	str	w8, [x22]
	ldr	w0, [x24]
	bl	_ieee80211_is_action
	cbnz	w0, LBB0_23
; %bb.20:
	ldr	w0, [x24]
	bl	_ieee80211_is_deauth
	cbnz	w0, LBB0_23
; %bb.21:
	ldr	w0, [x24]
	bl	_ieee80211_is_disassoc
	cbnz	w0, LBB0_23
; %bb.22:
Lloh54:
	adrp	x8, _RX_FLAG_IV_STRIPPED@GOTPAGE
Lloh55:
	ldr	x8, [x8, _RX_FLAG_IV_STRIPPED@GOTPAGEOFF]
Lloh56:
	ldr	w8, [x8]
Lloh57:
	adrp	x9, _RX_FLAG_MMIC_STRIPPED@GOTPAGE
Lloh58:
	ldr	x9, [x9, _RX_FLAG_MMIC_STRIPPED@GOTPAGEOFF]
Lloh59:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [x22]
	orr	w8, w8, w9
	str	w8, [x22]
Lloh60:
	adrp	x8, _IEEE80211_FCTL_PROTECTED@GOTPAGE
Lloh61:
	ldr	x8, [x8, _IEEE80211_FCTL_PROTECTED@GOTPAGEOFF]
Lloh62:
	ldr	w8, [x8]
	bic	w0, w23, w8
	bl	___cpu_to_le16
	str	w0, [x24]
LBB0_23:
	ldr	w0, [x24]
	bl	_ieee80211_is_beacon
	cbz	x0, LBB0_25
; %bb.24:
	mov	x0, x21
	mov	x1, x19
	bl	_ath10k_mac_handle_beacon
LBB0_25:
	ldr	w1, [x28]
	ldr	x8, [x19]
Lloh63:
	adrp	x9, _IEEE80211_FCTL_FTYPE@GOTPAGE
Lloh64:
	ldr	x9, [x9, _IEEE80211_FCTL_FTYPE@GOTPAGEOFF]
Lloh65:
	ldr	w9, [x9]
	and	w9, w9, w23
Lloh66:
	adrp	x10, _IEEE80211_FCTL_STYPE@GOTPAGE
Lloh67:
	ldr	x10, [x10, _IEEE80211_FCTL_STYPE@GOTPAGEOFF]
Lloh68:
	ldr	w10, [x10]
	and	w10, w10, w23
	stp	x9, x10, [sp, #16]
	stp	x19, x8, [sp]
Lloh69:
	adrp	x2, l_.str.3@PAGE
Lloh70:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x21
	bl	_ath10k_dbg
	ldr	w1, [x28]
	ldr	x8, [x22, #24]
	ldr	x9, [x22, #8]
	ldp	w10, w11, [x22, #16]
	stp	x10, x11, [sp, #16]
	stp	x8, x9, [sp]
Lloh71:
	adrp	x2, l_.str.4@PAGE
Lloh72:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x0, x21
	bl	_ath10k_dbg
	ldr	w0, [x21]
	mov	x1, x19
	bl	_ieee80211_rx_ni
	b	LBB0_5
LBB0_26:
	mov	w0, #1
	bl	_WARN_ON_ONCE
	b	LBB0_4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpAdd	Lloh71, Lloh72
	.loh AdrpAdd	Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to parse mgmt rx event: %d\n"

	.comm	_ATH10K_DBG_MGMT,4,2            ; @ATH10K_DBG_MGMT
l_.str.1:                               ; @.str.1
	.asciz	"event mgmt rx status %08x\n"

	.comm	_ATH10K_CAC_RUNNING,4,2         ; @ATH10K_CAC_RUNNING
	.comm	_WMI_RX_STATUS_ERR_DECRYPT,4,2  ; @WMI_RX_STATUS_ERR_DECRYPT
	.comm	_WMI_RX_STATUS_ERR_KEY_CACHE_MISS,4,2 ; @WMI_RX_STATUS_ERR_KEY_CACHE_MISS
	.comm	_WMI_RX_STATUS_ERR_CRC,4,2      ; @WMI_RX_STATUS_ERR_CRC
	.comm	_WMI_RX_STATUS_ERR_MIC,4,2      ; @WMI_RX_STATUS_ERR_MIC
	.comm	_RX_FLAG_MMIC_ERROR,4,2         ; @RX_FLAG_MMIC_ERROR
	.comm	_WMI_RX_STATUS_EXT_INFO,4,2     ; @WMI_RX_STATUS_EXT_INFO
	.comm	_RX_FLAG_MACTIME_END,4,2        ; @RX_FLAG_MACTIME_END
	.comm	_NL80211_BAND_2GHZ,8,3          ; @NL80211_BAND_2GHZ
	.comm	_ATH10K_MAX_5G_CHAN,4,2         ; @ATH10K_MAX_5G_CHAN
	.comm	_NL80211_BAND_5GHZ,8,3          ; @NL80211_BAND_5GHZ
	.comm	_MODE_11B,4,2                   ; @MODE_11B
l_.str.2:                               ; @.str.2
	.asciz	"wmi mgmt rx 11b (CCK) on 5GHz\n"

	.comm	_ATH10K_DEFAULT_NOISE_FLOOR,4,2 ; @ATH10K_DEFAULT_NOISE_FLOOR
	.comm	_RX_FLAG_SKIP_MONITOR,4,2       ; @RX_FLAG_SKIP_MONITOR
	.comm	_RX_FLAG_DECRYPTED,4,2          ; @RX_FLAG_DECRYPTED
	.comm	_RX_FLAG_IV_STRIPPED,4,2        ; @RX_FLAG_IV_STRIPPED
	.comm	_RX_FLAG_MMIC_STRIPPED,4,2      ; @RX_FLAG_MMIC_STRIPPED
	.comm	_IEEE80211_FCTL_PROTECTED,4,2   ; @IEEE80211_FCTL_PROTECTED
l_.str.3:                               ; @.str.3
	.asciz	"event mgmt rx skb %pK len %d ftype %02x stype %02x\n"

	.comm	_IEEE80211_FCTL_FTYPE,4,2       ; @IEEE80211_FCTL_FTYPE
	.comm	_IEEE80211_FCTL_STYPE,4,2       ; @IEEE80211_FCTL_STYPE
l_.str.4:                               ; @.str.4
	.asciz	"event mgmt rx freq %d band %d snr %d, rate_idx %d\n"

.subsections_via_symbols
