	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_mvm_is_dup
_iwl_mvm_is_dup:                        ## @iwl_mvm_is_dup
	.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, %r14
	movq	%rcx, %r13
	movq	%rdx, %r15
	movl	%esi, %r12d
	movq	%rdi, %rbx
	callq	_IS_ERR_OR_NULL
	movl	%eax, %edi
	callq	_WARN_ON
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	jne	LBB0_18
## %bb.1:
	movq	%rbx, %rdi
	callq	_iwl_mvm_sta_from_mac80211
	movq	(%rax), %rbx
	movl	8(%r13), %edi
	callq	_ieee80211_is_ctl
	testq	%rax, %rax
	jne	LBB0_17
## %bb.2:
	movl	8(%r13), %edi
	callq	_ieee80211_is_qos_nullfunc
	testq	%rax, %rax
	jne	LBB0_17
## %bb.3:
	movl	12(%r13), %edi
	callq	_is_multicast_ether_addr
	testq	%rax, %rax
	je	LBB0_4
LBB0_17:
	movq	_RX_FLAG_DUP_VALIDATED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r15)
	xorl	%eax, %eax
LBB0_18:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movslq	%r12d, %r12
	shlq	$4, %r12
	movl	8(%r13), %edi
	callq	_ieee80211_is_data_qos
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%r13, %rdi
	callq	_ieee80211_get_tid
	jmp	LBB0_7
LBB0_6:
	movq	_IWL_MAX_TID_COUNT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_7:
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	addq	%rbx, %r12
	movq	_IWL_RX_MPDU_AMSDU_SUBFRAME_IDX_MASK@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	andq	(%r14), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	8(%r13), %edi
	callq	_ieee80211_has_retry
	xorl	%edi, %edi
	testq	%rax, %rax
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	je	LBB0_8
## %bb.9:
	movq	(%r12), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rax,%rcx,8), %rax
	cmpq	(%r13), %rax
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	jne	LBB0_11
## %bb.10:
	movq	8(%rbx,%r12), %rax
	xorl	%edi, %edi
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	cmpq	%rdx, (%rax,%rcx,8)
	setae	%dil
	jmp	LBB0_11
LBB0_8:
	movq	-64(%rbp), %r12                 ## 8-byte Reload
LBB0_11:
	callq	_unlikely
	movq	%rax, %rcx
	movl	$1, %eax
	testq	%rcx, %rcx
	jne	LBB0_18
## %bb.12:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	(%r13), %rcx
	movq	8(%rbx,%r12), %rdx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	cmpq	%rcx, (%rax,%rdi,8)
	jne	LBB0_16
## %bb.13:
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	cmpq	(%rdx,%rdi,8), %rsi
	jbe	LBB0_16
## %bb.14:
	movq	_IWL_RX_MPDU_MFLG2_AMSDU@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	testl	%esi, 8(%r14)
	je	LBB0_16
## %bb.15:
	movq	_RX_FLAG_ALLOW_SAME_PN@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	orl	%esi, (%r15)
LBB0_16:
	movq	%rcx, (%rax,%rdi,8)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, (%rdx,%rdi,8)
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.comm	_RX_FLAG_DUP_VALIDATED,4,2      ## @RX_FLAG_DUP_VALIDATED
	.comm	_IWL_MAX_TID_COUNT,8,3          ## @IWL_MAX_TID_COUNT
	.comm	_IWL_RX_MPDU_AMSDU_SUBFRAME_IDX_MASK,8,3 ## @IWL_RX_MPDU_AMSDU_SUBFRAME_IDX_MASK
	.comm	_IWL_RX_MPDU_MFLG2_AMSDU,4,2    ## @IWL_RX_MPDU_MFLG2_AMSDU
	.comm	_RX_FLAG_ALLOW_SAME_PN,4,2      ## @RX_FLAG_ALLOW_SAME_PN
	.no_dead_strip	_iwl_mvm_is_dup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iwl_mvm_is_dup
_iwl_mvm_is_dup:                        ; @iwl_mvm_is_dup
	.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	x20, x4
	mov	x21, x3
	mov	x19, x2
	mov	x23, x1
	mov	x22, x0
	bl	_IS_ERR_OR_NULL
	bl	_WARN_ON
	cbz	x0, LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_6
LBB0_2:
	mov	x0, x22
	bl	_iwl_mvm_sta_from_mac80211
	ldr	x24, [x0]
	ldr	w0, [x21, #8]
	bl	_ieee80211_is_ctl
	cbnz	x0, LBB0_5
; %bb.3:
	ldr	w0, [x21, #8]
	bl	_ieee80211_is_qos_nullfunc
	cbnz	x0, LBB0_5
; %bb.4:
	ldr	w0, [x21, #12]
	bl	_is_multicast_ether_addr
	cbz	x0, LBB0_7
LBB0_5:
	mov	w0, #0
Lloh0:
	adrp	x8, _RX_FLAG_DUP_VALIDATED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RX_FLAG_DUP_VALIDATED@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_6:
	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_7:
	ldr	w0, [x21, #8]
	bl	_ieee80211_is_data_qos
	cbz	x0, LBB0_9
; %bb.8:
	mov	x0, x21
	bl	_ieee80211_get_tid
	mov	x22, x0
	b	LBB0_10
LBB0_9:
Lloh3:
	adrp	x8, _IWL_MAX_TID_COUNT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IWL_MAX_TID_COUNT@GOTPAGEOFF]
Lloh5:
	ldr	x22, [x8]
LBB0_10:
	sxtw	x25, w23
	add	x26, x24, w23, sxtw #4
	ldr	x8, [x20]
Lloh6:
	adrp	x9, _IWL_RX_MPDU_AMSDU_SUBFRAME_IDX_MASK@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IWL_RX_MPDU_AMSDU_SUBFRAME_IDX_MASK@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	and	x23, x9, x8
	ldr	w0, [x21, #8]
	bl	_ieee80211_has_retry
	cbz	x0, LBB0_14
; %bb.11:
	ldr	x8, [x26]
	ldr	x8, [x8, x22, lsl #3]
	ldr	x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_13
; %bb.12:
	add	x8, x24, x25, lsl #4
	ldr	x8, [x8, #8]
	ldr	x8, [x8, x22, lsl #3]
	cmp	x8, x23
	cset	w0, hs
	b	LBB0_14
LBB0_13:
	mov	w0, #0
LBB0_14:
	bl	_unlikely
	cbz	x0, LBB0_16
; %bb.15:
	mov	w0, #1
	b	LBB0_6
LBB0_16:
	ldr	x8, [x26]
	ldr	x11, [x8, x22, lsl #3]
	ldr	x9, [x21]
	add	x10, x24, x25, lsl #4
	ldr	x10, [x10, #8]
	cmp	x11, x9
	b.ne	LBB0_20
; %bb.17:
	ldr	x11, [x10, x22, lsl #3]
	cmp	x23, x11
	b.ls	LBB0_20
; %bb.18:
	ldr	w11, [x20, #8]
Lloh9:
	adrp	x12, _IWL_RX_MPDU_MFLG2_AMSDU@GOTPAGE
Lloh10:
	ldr	x12, [x12, _IWL_RX_MPDU_MFLG2_AMSDU@GOTPAGEOFF]
Lloh11:
	ldr	w12, [x12]
	tst	w12, w11
	b.eq	LBB0_20
; %bb.19:
Lloh12:
	adrp	x11, _RX_FLAG_ALLOW_SAME_PN@GOTPAGE
Lloh13:
	ldr	x11, [x11, _RX_FLAG_ALLOW_SAME_PN@GOTPAGEOFF]
Lloh14:
	ldr	w11, [x11]
	ldr	w12, [x19]
	orr	w11, w12, w11
	str	w11, [x19]
LBB0_20:
	lsl	x11, x22, #3
	str	x9, [x8, x11]
	str	x23, [x10, x11]
	b	LBB0_5
	.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
	.cfi_endproc
                                        ; -- End function
	.comm	_RX_FLAG_DUP_VALIDATED,4,2      ; @RX_FLAG_DUP_VALIDATED
	.comm	_IWL_MAX_TID_COUNT,8,3          ; @IWL_MAX_TID_COUNT
	.comm	_IWL_RX_MPDU_AMSDU_SUBFRAME_IDX_MASK,8,3 ; @IWL_RX_MPDU_AMSDU_SUBFRAME_IDX_MASK
	.comm	_IWL_RX_MPDU_MFLG2_AMSDU,4,2    ; @IWL_RX_MPDU_MFLG2_AMSDU
	.comm	_RX_FLAG_ALLOW_SAME_PN,4,2      ; @RX_FLAG_ALLOW_SAME_PN
	.no_dead_strip	_iwl_mvm_is_dup
.subsections_via_symbols
