	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_notify_replay_failure ## -- Begin function ieee80211_notify_replay_failure
	.p2align	4, 0x90
_ieee80211_notify_replay_failure:       ## @ieee80211_notify_replay_failure
	.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	%rcx, %r14
	movq	%rdx, %rbx
	movq	%rsi, %r13
	movq	(%rdi), %r15
	movq	_IEEE80211_MSG_CRYPTO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %edx
	movq	24(%rbx), %rax
	movl	4(%rax), %eax
	movq	16(%rbx), %rcx
	movslq	%r8d, %r12
	movl	(%rcx,%r12,8), %ecx
	movups	(%rbx), %xmm0
	movups	%xmm0, 16(%rsp)
	movl	%ecx, 8(%rsp)
	movl	%r14d, (%rsp)
	leaq	L_.str(%rip), %rcx
	movl	%eax, %r8d
	movl	%r12d, %r9d
	callq	_IEEE80211_NOTE_MAC
	testq	%r15, %r15
	je	LBB0_4
## %bb.1:
	movl	4(%r13), %esi
	callq	_IEEE80211_ADDR_COPY
	movl	(%r13), %esi
	callq	_IEEE80211_ADDR_COPY
	movq	24(%rbx), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
	movq	8(%rbx), %rax
	movq	_IEEE80211_KEYIX_NONE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.2:
	movq	(%rbx), %rax
LBB0_3:
	movq	%rax, -80(%rbp)
	movq	16(%rbx), %rax
	movq	(%rax,%r12,8), %rax
	movq	%rax, -64(%rbp)
	movq	%r14, -72(%rbp)
	movl	(%r15), %edi
	callq	_CURVNET_SET
	movq	_RTM_IEEE80211_REPLAY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-80(%rbp), %rdx
	movq	%r15, %rdi
	movl	$40, %ecx
	callq	_rt_ieee80211msg
	xorl	%eax, %eax
	callq	_CURVNET_RESTORE
LBB0_4:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_MSG_CRYPTO,4,2       ## @IEEE80211_MSG_CRYPTO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s replay detected tid %d <rsc %ju, csc %ju, keyix %u rxkeyix %u>"

	.comm	_IEEE80211_KEYIX_NONE,8,3       ## @IEEE80211_KEYIX_NONE
	.comm	_RTM_IEEE80211_REPLAY,4,2       ## @RTM_IEEE80211_REPLAY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_notify_replay_failure ; -- Begin function ieee80211_notify_replay_failure
	.p2align	2
_ieee80211_notify_replay_failure:       ; @ieee80211_notify_replay_failure
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x23, x4
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	ldr	x19, [x0]
Lloh0:
	adrp	x8, _IEEE80211_MSG_CRYPTO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IEEE80211_MSG_CRYPTO@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	w2, [x22]
	ldp	x9, x8, [x21, #16]
	ldr	w4, [x8, #4]
	ldr	x7, [x9, w23, sxtw #3]
	ldp	x8, x9, [x21]
	stp	x8, x9, [sp]
Lloh3:
	adrp	x3, l_.str@PAGE
Lloh4:
	add	x3, x3, l_.str@PAGEOFF
	mov	x5, x23
	mov	x6, x20
                                        ; kill: def $w7 killed $w7 killed $x7
	bl	_IEEE80211_NOTE_MAC
	cbz	x19, LBB0_4
; %bb.1:
	sxtw	x23, w23
	ldr	w1, [x22, #4]
	bl	_IEEE80211_ADDR_COPY
	ldr	w1, [x22]
	bl	_IEEE80211_ADDR_COPY
	ldr	x8, [x21, #24]
	ldr	w8, [x8]
	str	w8, [sp, #48]
	ldr	x8, [x21, #8]
Lloh5:
	adrp	x9, _IEEE80211_KEYIX_NONE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _IEEE80211_KEYIX_NONE@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
	ldr	x8, [x21]
LBB0_3:
	str	x8, [sp, #24]
	ldr	x8, [x21, #16]
	ldr	x8, [x8, x23, lsl #3]
	stp	x20, x8, [sp, #32]
	ldr	w0, [x19]
	bl	_CURVNET_SET
Lloh8:
	adrp	x8, _RTM_IEEE80211_REPLAY@GOTPAGE
Lloh9:
	ldr	x8, [x8, _RTM_IEEE80211_REPLAY@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	add	x2, sp, #24
	mov	x0, x19
	mov	w3, #40
	bl	_rt_ieee80211msg
	bl	_CURVNET_RESTORE
LBB0_4:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_MSG_CRYPTO,4,2       ; @IEEE80211_MSG_CRYPTO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s replay detected tid %d <rsc %ju, csc %ju, keyix %u rxkeyix %u>"

	.comm	_IEEE80211_KEYIX_NONE,8,3       ; @IEEE80211_KEYIX_NONE
	.comm	_RTM_IEEE80211_REPLAY,4,2       ; @RTM_IEEE80211_REPLAY
.subsections_via_symbols
