	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath10k_htt_rx_pn_check_replay_hl
_ath10k_htt_rx_pn_check_replay_hl:      ## @ath10k_htt_rx_pn_check_replay_hl
	.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	%rdx, %rbx
	movq	%rsi, %r12
	movl	$0, -48(%rbp)
	callq	_lockdep_assert_held
	xorl	%eax, %eax
	testq	%r12, %r12
	je	LBB0_14
## %bb.1:
	movq	_FW_RX_DESC_FLAGS_FIRST_MSDU@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 24(%rbx)
	je	LBB0_14
## %bb.2:
	movl	8(%rbx), %edi
	callq	___le32_to_cpu
	movq	_HTT_RX_INDICATION_INFO1_NUM_MPDU_RANGES@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%rax, %rdi
	callq	_MS
	movq	16(%rbx), %r15
	movslq	%eax, %r14
	movl	(%r15,%r14,4), %edi
	callq	___le32_to_cpu
	movq	%rax, %r13
	movq	_HTT_RX_DESC_HL_INFO_ENCRYPTED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_MS
	testl	%eax, %eax
	je	LBB0_13
## %bb.3:
	leaq	(%r15,%r14,4), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	(%rbx), %rdi
	movq	_HTT_RX_INDICATION_INFO0_EXT_TID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MS
	movslq	%eax, %r15
	movq	(%r12), %rax
	leaq	(,%r15,4), %r14
	movl	(%rax,%r15,4), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	addq	16(%r12), %r14
	movq	_HTT_RX_DESC_HL_INFO_MCAST_BCAST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_MS
	movq	8(%r12), %rcx
	testl	%eax, %eax
	jne	LBB0_4
## %bb.5:
	movq	_HTT_TXRX_SEC_UCAST@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_4:
	movq	_HTT_TXRX_SEC_MCAST@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
	movl	(%rcx,%rax,8), %ebx
	movl	4(%rcx,%rax,8), %edx
	leaq	-48(%rbp), %rsi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_ath10k_htt_rx_mpdu_desc_pn_hl
	movq	_HTT_SECURITY_AES_CCMP@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	je	LBB0_9
## %bb.7:
	movq	_HTT_SECURITY_TKIP@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	je	LBB0_9
## %bb.8:
	movq	_HTT_SECURITY_TKIP_NOMIC@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_13
LBB0_9:
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_10
## %bb.11:
	leaq	-48(%rbp), %rdi
	movq	%r14, %rsi
	callq	_ath10k_htt_rx_pn_cmp48
	testl	%eax, %eax
	jne	LBB0_14
	jmp	LBB0_12
LBB0_10:
	movq	(%r12), %rax
	movl	$1, (%rax,%r15,4)
LBB0_12:
	movl	-48(%rbp), %eax
	movl	%eax, (%r14)
LBB0_13:
	xorl	%eax, %eax
LBB0_14:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FW_RX_DESC_FLAGS_FIRST_MSDU,4,2 ## @FW_RX_DESC_FLAGS_FIRST_MSDU
	.comm	_HTT_RX_INDICATION_INFO1_NUM_MPDU_RANGES,4,2 ## @HTT_RX_INDICATION_INFO1_NUM_MPDU_RANGES
	.comm	_HTT_RX_DESC_HL_INFO_ENCRYPTED,4,2 ## @HTT_RX_DESC_HL_INFO_ENCRYPTED
	.comm	_HTT_RX_INDICATION_INFO0_EXT_TID,4,2 ## @HTT_RX_INDICATION_INFO0_EXT_TID
	.comm	_HTT_RX_DESC_HL_INFO_MCAST_BCAST,4,2 ## @HTT_RX_DESC_HL_INFO_MCAST_BCAST
	.comm	_HTT_TXRX_SEC_MCAST,4,2         ## @HTT_TXRX_SEC_MCAST
	.comm	_HTT_TXRX_SEC_UCAST,4,2         ## @HTT_TXRX_SEC_UCAST
	.comm	_HTT_SECURITY_AES_CCMP,4,2      ## @HTT_SECURITY_AES_CCMP
	.comm	_HTT_SECURITY_TKIP,4,2          ## @HTT_SECURITY_TKIP
	.comm	_HTT_SECURITY_TKIP_NOMIC,4,2    ## @HTT_SECURITY_TKIP_NOMIC
	.no_dead_strip	_ath10k_htt_rx_pn_check_replay_hl
.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_pn_check_replay_hl
_ath10k_htt_rx_pn_check_replay_hl:      ; @ath10k_htt_rx_pn_check_replay_hl
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x21, x2
	mov	x19, x1
	str	wzr, [sp, #8]
	bl	_lockdep_assert_held
	cbz	x19, LBB0_6
; %bb.1:
	ldr	w8, [x21, #24]
Lloh0:
	adrp	x9, _FW_RX_DESC_FLAGS_FIRST_MSDU@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FW_RX_DESC_FLAGS_FIRST_MSDU@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.2:
	ldr	w0, [x21, #8]
	bl	___le32_to_cpu
Lloh3:
	adrp	x8, _HTT_RX_INDICATION_INFO1_NUM_MPDU_RANGES@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HTT_RX_INDICATION_INFO1_NUM_MPDU_RANGES@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_MS
	ldr	x8, [x21, #16]
	add	x20, x8, w0, sxtw #2
	ldr	w0, [x20]
	bl	___le32_to_cpu
	mov	x22, x0
Lloh6:
	adrp	x8, _HTT_RX_DESC_HL_INFO_ENCRYPTED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _HTT_RX_DESC_HL_INFO_ENCRYPTED@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_MS
	cbz	w0, LBB0_7
; %bb.3:
	ldr	x0, [x21]
Lloh9:
	adrp	x8, _HTT_RX_INDICATION_INFO0_EXT_TID@GOTPAGE
Lloh10:
	ldr	x8, [x8, _HTT_RX_INDICATION_INFO0_EXT_TID@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	bl	_MS
	mov	x21, x0
	ldr	x8, [x19]
	sbfiz	x24, x21, #2, #32
	ldr	w23, [x8, x24]
	ldr	x25, [x19, #16]
Lloh12:
	adrp	x8, _HTT_RX_DESC_HL_INFO_MCAST_BCAST@GOTPAGE
Lloh13:
	ldr	x8, [x8, _HTT_RX_DESC_HL_INFO_MCAST_BCAST@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_MS
Lloh15:
	adrp	x8, _HTT_TXRX_SEC_UCAST@GOTPAGE
Lloh16:
	ldr	x8, [x8, _HTT_TXRX_SEC_UCAST@GOTPAGEOFF]
Lloh17:
	adrp	x9, _HTT_TXRX_SEC_MCAST@GOTPAGE
Lloh18:
	ldr	x9, [x9, _HTT_TXRX_SEC_MCAST@GOTPAGEOFF]
	ldr	x10, [x19, #8]
	cmp	w0, #0
	csel	x8, x8, x9, eq
	ldr	w8, [x8]
	add	x8, x10, x8, lsl #3
	ldp	w22, w2, [x8]
	add	x1, sp, #8
	mov	x0, x20
	bl	_ath10k_htt_rx_mpdu_desc_pn_hl
Lloh19:
	adrp	x8, _HTT_SECURITY_AES_CCMP@GOTPAGE
Lloh20:
	ldr	x8, [x8, _HTT_SECURITY_AES_CCMP@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
Lloh22:
	adrp	x9, _HTT_SECURITY_TKIP@GOTPAGE
Lloh23:
	ldr	x9, [x9, _HTT_SECURITY_TKIP@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
Lloh25:
	adrp	x10, _HTT_SECURITY_TKIP_NOMIC@GOTPAGE
Lloh26:
	ldr	x10, [x10, _HTT_SECURITY_TKIP_NOMIC@GOTPAGEOFF]
Lloh27:
	ldr	w10, [x10]
	cmp	w22, w8
	ccmp	w22, w9, #4, ne
	ccmp	w22, w10, #4, ne
	b.ne	LBB0_6
; %bb.4:
	add	x20, x25, x24
	cbz	w23, LBB0_8
; %bb.5:
	add	x0, sp, #8
	mov	x1, x20
	bl	_ath10k_htt_rx_pn_cmp48
	cbnz	w0, LBB0_7
	b	LBB0_9
LBB0_6:
	mov	w0, #0
LBB0_7:
	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
	add	sp, sp, #96
	ret
LBB0_8:
	sxtw	x8, w21
	ldr	x9, [x19]
	mov	w10, #1
	str	w10, [x9, x8, lsl #2]
LBB0_9:
	mov	w0, #0
	ldr	w8, [sp, #8]
	str	w8, [x20]
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_FW_RX_DESC_FLAGS_FIRST_MSDU,4,2 ; @FW_RX_DESC_FLAGS_FIRST_MSDU
	.comm	_HTT_RX_INDICATION_INFO1_NUM_MPDU_RANGES,4,2 ; @HTT_RX_INDICATION_INFO1_NUM_MPDU_RANGES
	.comm	_HTT_RX_DESC_HL_INFO_ENCRYPTED,4,2 ; @HTT_RX_DESC_HL_INFO_ENCRYPTED
	.comm	_HTT_RX_INDICATION_INFO0_EXT_TID,4,2 ; @HTT_RX_INDICATION_INFO0_EXT_TID
	.comm	_HTT_RX_DESC_HL_INFO_MCAST_BCAST,4,2 ; @HTT_RX_DESC_HL_INFO_MCAST_BCAST
	.comm	_HTT_TXRX_SEC_MCAST,4,2         ; @HTT_TXRX_SEC_MCAST
	.comm	_HTT_TXRX_SEC_UCAST,4,2         ; @HTT_TXRX_SEC_UCAST
	.comm	_HTT_SECURITY_AES_CCMP,4,2      ; @HTT_SECURITY_AES_CCMP
	.comm	_HTT_SECURITY_TKIP,4,2          ; @HTT_SECURITY_TKIP
	.comm	_HTT_SECURITY_TKIP_NOMIC,4,2    ; @HTT_SECURITY_TKIP_NOMIC
	.no_dead_strip	_ath10k_htt_rx_pn_check_replay_hl
.subsections_via_symbols
