	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lib80211_michael_mic_failure
_lib80211_michael_mic_failure:          ## @lib80211_michael_mic_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	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movq	%rsi, %r12
	movq	%rdi, %r15
	leaq	-48(%rbp), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movq	_IW_MICFAILURE_KEY_ID@GOTPCREL(%rip), %rax
	andl	(%rax), %ebx
	movl	%ebx, -48(%rbp)
	movq	(%r12), %rax
	testb	$1, (%rax)
	jne	LBB0_1
## %bb.2:
	movq	_IW_MICFAILURE_PAIRWISE@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_IW_MICFAILURE_GROUP@GOTPCREL(%rip), %rax
LBB0_3:
	orl	(%rax), %ebx
	movl	%ebx, -48(%rbp)
	movq	_ARPHRD_ETHER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -36(%rbp)
	movl	-40(%rbp), %edi
	movl	8(%r12), %esi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcpy
	leaq	-56(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movl	$16, -56(%rbp)
	movq	_IWEVMICHAELMICFAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movq	%rbx, %rdx
	movq	%r14, %rcx
	callq	_wireless_send_event
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IW_MICFAILURE_KEY_ID,4,2       ## @IW_MICFAILURE_KEY_ID
	.comm	_IW_MICFAILURE_GROUP,4,2        ## @IW_MICFAILURE_GROUP
	.comm	_IW_MICFAILURE_PAIRWISE,4,2     ## @IW_MICFAILURE_PAIRWISE
	.comm	_ARPHRD_ETHER,4,2               ## @ARPHRD_ETHER
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_IWEVMICHAELMICFAILURE,4,2      ## @IWEVMICHAELMICFAILURE
	.no_dead_strip	_lib80211_michael_mic_failure
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lib80211_michael_mic_failure
_lib80211_michael_mic_failure:          ; @lib80211_michael_mic_failure
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	mov	w22, #16
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #16
	bl	_memset
Lloh0:
	adrp	x8, _IW_MICFAILURE_KEY_ID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IW_MICFAILURE_KEY_ID@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	w8, w8, w19
	str	w8, [sp, #8]
	ldr	x9, [x20]
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _IW_MICFAILURE_PAIRWISE@GOTPAGE
Lloh4:
	ldr	x10, [x10, _IW_MICFAILURE_PAIRWISE@GOTPAGEOFF]
Lloh5:
	adrp	x11, _IW_MICFAILURE_GROUP@GOTPAGE
Lloh6:
	ldr	x11, [x11, _IW_MICFAILURE_GROUP@GOTPAGEOFF]
	tst	w9, #0x1
	csel	x9, x10, x11, eq
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh7:
	adrp	x9, _ARPHRD_ETHER@GOTPAGE
Lloh8:
	ldr	x9, [x9, _ARPHRD_ETHER@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	str	w8, [sp, #8]
	str	w9, [sp, #20]
	ldr	w0, [sp, #16]
	ldr	w1, [x20, #8]
Lloh10:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	bl	_memcpy
	add	x0, sp, #24
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	str	w22, [sp, #24]
Lloh13:
	adrp	x8, _IWEVMICHAELMICFAILURE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _IWEVMICHAELMICFAILURE@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	add	x2, sp, #24
	add	x3, sp, #8
	mov	x0, x21
	bl	_wireless_send_event
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IW_MICFAILURE_KEY_ID,4,2       ; @IW_MICFAILURE_KEY_ID
	.comm	_IW_MICFAILURE_GROUP,4,2        ; @IW_MICFAILURE_GROUP
	.comm	_IW_MICFAILURE_PAIRWISE,4,2     ; @IW_MICFAILURE_PAIRWISE
	.comm	_ARPHRD_ETHER,4,2               ; @ARPHRD_ETHER
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_IWEVMICHAELMICFAILURE,4,2      ; @IWEVMICHAELMICFAILURE
	.no_dead_strip	_lib80211_michael_mic_failure
.subsections_via_symbols
