	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_notify_michael_failure ## -- Begin function ieee80211_notify_michael_failure
	.p2align	4, 0x90
_ieee80211_notify_michael_failure:      ## @ieee80211_notify_michael_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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	8(%rdi), %r15
	movq	_IEEE80211_MSG_CRYPTO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r12), %edx
	leaq	L_.str(%rip), %rcx
	movl	%r14d, %r8d
	callq	_IEEE80211_NOTE_MAC
	incl	(%rbx)
	testq	%r15, %r15
	je	LBB0_2
## %bb.1:
	movl	4(%r12), %esi
	callq	_IEEE80211_ADDR_COPY
	movl	(%r12), %esi
	callq	_IEEE80211_ADDR_COPY
	movq	_IEEE80211_CIPHER_TKIP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	movl	%r14d, -48(%rbp)
	movl	(%r15), %edi
	callq	_CURVNET_SET
	movq	_RTM_IEEE80211_MICHAEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rdx
	movq	%r15, %rdi
	movl	$16, %ecx
	callq	_rt_ieee80211msg
	xorl	%eax, %eax
	callq	_CURVNET_RESTORE
LBB0_2:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	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	"michael MIC verification failed <keyix %u>"

	.comm	_IEEE80211_CIPHER_TKIP,4,2      ## @IEEE80211_CIPHER_TKIP
	.comm	_RTM_IEEE80211_MICHAEL,4,2      ## @RTM_IEEE80211_MICHAEL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_notify_michael_failure ; -- Begin function ieee80211_notify_michael_failure
	.p2align	2
_ieee80211_notify_michael_failure:      ; @ieee80211_notify_michael_failure
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	ldr	x19, [x0, #8]
Lloh0:
	adrp	x8, _IEEE80211_MSG_CRYPTO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IEEE80211_MSG_CRYPTO@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	w2, [x21]
Lloh3:
	adrp	x3, l_.str@PAGE
Lloh4:
	add	x3, x3, l_.str@PAGEOFF
	mov	x4, x20
	bl	_IEEE80211_NOTE_MAC
	ldr	w8, [x22]
	add	w8, w8, #1
	str	w8, [x22]
	cbz	x19, LBB0_2
; %bb.1:
	ldr	w1, [x21, #4]
	bl	_IEEE80211_ADDR_COPY
	ldr	w1, [x21]
	bl	_IEEE80211_ADDR_COPY
Lloh5:
	adrp	x8, _IEEE80211_CIPHER_TKIP@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IEEE80211_CIPHER_TKIP@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	stp	w20, w8, [sp]
	ldr	w0, [x19]
	bl	_CURVNET_SET
Lloh8:
	adrp	x8, _RTM_IEEE80211_MICHAEL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _RTM_IEEE80211_MICHAEL@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x2, sp
	mov	x0, x19
	mov	w3, #16
	bl	_rt_ieee80211msg
	bl	_CURVNET_RESTORE
LBB0_2:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_MSG_CRYPTO,4,2       ; @IEEE80211_MSG_CRYPTO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"michael MIC verification failed <keyix %u>"

	.comm	_IEEE80211_CIPHER_TKIP,4,2      ; @IEEE80211_CIPHER_TKIP
	.comm	_RTM_IEEE80211_MICHAEL,4,2      ; @RTM_IEEE80211_MICHAEL
.subsections_via_symbols
