	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wpa_receive_error_report
_wpa_receive_error_report:              ## @wpa_receive_error_report
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movq	%rsi, %r14
	movq	%rdi, %r15
	movl	12(%rsi), %esi
	movq	_LOGGER_INFO@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	leaq	L_.str(%rip), %rcx
	movl	%ebx, %r8d
	callq	_wpa_auth_vlogger
	testl	%ebx, %ebx
	je	LBB0_4
## %bb.1:
	movq	8(%r15), %rax
	movq	_WPA_CIPHER_TKIP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_6
## %bb.2:
	movl	12(%r14), %esi
	movl	(%r12), %edx
	leaq	L_.str.1(%rip), %rcx
	jmp	LBB0_3
LBB0_4:
	movq	(%r14), %rax
	movq	_WPA_CIPHER_TKIP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
LBB0_6:
	movl	12(%r14), %esi
	movq	%r15, %rdi
	callq	_wpa_auth_mic_failure_report
	movq	%rax, %rcx
	movl	$1, %eax
	testq	%rcx, %rcx
	jg	LBB0_9
## %bb.7:
	incl	8(%r14)
	incl	(%r15)
	jmp	LBB0_8
LBB0_5:
	movl	12(%r14), %esi
	movl	(%r12), %edx
	leaq	L_.str.2(%rip), %rcx
LBB0_3:
	movq	%r15, %rdi
	callq	_wpa_auth_logger
LBB0_8:
	movq	%r14, %rdi
	callq	_wpa_request_new_ptk
	xorl	%eax, %eax
LBB0_9:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LOGGER_INFO,4,2                ## @LOGGER_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"received EAPOL-Key Error Request (STA detected Michael MIC failure (group=%d))"

	.comm	_WPA_CIPHER_TKIP,8,3            ## @WPA_CIPHER_TKIP
L_.str.1:                               ## @.str.1
	.asciz	"ignore Michael MIC failure report since group cipher is not TKIP"

L_.str.2:                               ## @.str.2
	.asciz	"ignore Michael MIC failure report since pairwise cipher is not TKIP"

	.no_dead_strip	_wpa_receive_error_report
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wpa_receive_error_report
_wpa_receive_error_report:              ; @wpa_receive_error_report
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x21, x2
	mov	x19, x1
	mov	x20, x0
	ldr	w1, [x1, #12]
Lloh0:
	adrp	x22, _LOGGER_INFO@GOTPAGE
Lloh1:
	ldr	x22, [x22, _LOGGER_INFO@GOTPAGEOFF]
	ldr	w2, [x22]
Lloh2:
	adrp	x3, l_.str@PAGE
Lloh3:
	add	x3, x3, l_.str@PAGEOFF
	mov	x4, x21
	bl	_wpa_auth_vlogger
	cbz	w21, LBB0_3
; %bb.1:
	ldr	x8, [x20, #8]
Lloh4:
	adrp	x9, _WPA_CIPHER_TKIP@GOTPAGE
Lloh5:
	ldr	x9, [x9, _WPA_CIPHER_TKIP@GOTPAGEOFF]
Lloh6:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_4
; %bb.2:
	ldr	w1, [x19, #12]
	ldr	w2, [x22]
Lloh7:
	adrp	x3, l_.str.1@PAGE
Lloh8:
	add	x3, x3, l_.str.1@PAGEOFF
	b	LBB0_7
LBB0_3:
	ldr	x8, [x19]
Lloh9:
	adrp	x9, _WPA_CIPHER_TKIP@GOTPAGE
Lloh10:
	ldr	x9, [x9, _WPA_CIPHER_TKIP@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
LBB0_4:
	ldr	w1, [x19, #12]
	mov	x0, x20
	bl	_wpa_auth_mic_failure_report
	cmp	x0, #0
	b.le	LBB0_8
; %bb.5:
	mov	w0, #1
	b	LBB0_10
LBB0_6:
	ldr	w1, [x19, #12]
	ldr	w2, [x22]
Lloh12:
	adrp	x3, l_.str.2@PAGE
Lloh13:
	add	x3, x3, l_.str.2@PAGEOFF
LBB0_7:
	mov	x0, x20
	bl	_wpa_auth_logger
	b	LBB0_9
LBB0_8:
	ldr	w8, [x19, #8]
	add	w8, w8, #1
	str	w8, [x19, #8]
	ldr	w8, [x20]
	add	w8, w8, #1
	str	w8, [x20]
LBB0_9:
	mov	x0, x19
	bl	_wpa_request_new_ptk
	mov	w0, #0
LBB0_10:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_LOGGER_INFO,4,2                ; @LOGGER_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"received EAPOL-Key Error Request (STA detected Michael MIC failure (group=%d))"

	.comm	_WPA_CIPHER_TKIP,8,3            ; @WPA_CIPHER_TKIP
l_.str.1:                               ; @.str.1
	.asciz	"ignore Michael MIC failure report since group cipher is not TKIP"

l_.str.2:                               ; @.str.2
	.asciz	"ignore Michael MIC failure report since pairwise cipher is not TKIP"

	.no_dead_strip	_wpa_receive_error_report
.subsections_via_symbols
