	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eap_sim_process_notification_auth
_eap_sim_process_notification_auth:     ## @eap_sim_process_notification_auth
	.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
	movq	%rdx, %r14
	movq	(%rdx), %rdx
	testq	%rdx, %rdx
	je	LBB0_1
## %bb.2:
	movq	%rdi, %r15
	movl	8(%rdi), %edi
	leaq	L_.str.1(%rip), %rcx
	xorl	%ebx, %ebx
	xorl	%r8d, %r8d
	callq	_eap_sim_verify_mac
	movq	_MSG_WARNING@GOTPCREL(%rip), %r12
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_7
LBB0_1:
	leaq	L_.str(%rip), %rsi
	movq	_MSG_INFO@GOTPCREL(%rip), %r12
	jmp	LBB0_7
LBB0_4:
	cmpq	$0, (%r15)
	je	LBB0_8
## %bb.5:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_eap_sim_process_notification_reauth
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	leaq	L_.str.3(%rip), %rsi
LBB0_7:
	movl	(%r12), %edi
	callq	_wpa_printf
	movl	$-1, %ebx
LBB0_8:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EAP-SIM: no AT_MAC in after_auth Notification message"

L_.str.1:                               ## @.str.1
	.space	1

	.comm	_MSG_WARNING,4,2                ## @MSG_WARNING
L_.str.2:                               ## @.str.2
	.asciz	"EAP-SIM: Notification message used invalid AT_MAC"

L_.str.3:                               ## @.str.3
	.asciz	"EAP-SIM: Invalid notification message after reauth"

	.no_dead_strip	_eap_sim_process_notification_auth
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eap_sim_process_notification_auth
_eap_sim_process_notification_auth:     ; @eap_sim_process_notification_auth
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	ldr	x2, [x2]
	cbz	x2, LBB0_4
; %bb.1:
	mov	x20, x0
	ldr	w0, [x0, #8]
Lloh0:
	adrp	x3, l_.str.1@PAGE
Lloh1:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	w4, #0
	bl	_eap_sim_verify_mac
	cbz	x0, LBB0_7
; %bb.2:
Lloh2:
	adrp	x1, l_.str.2@PAGE
Lloh3:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_3:
Lloh4:
	adrp	x8, _MSG_WARNING@GOTPAGE
Lloh5:
	ldr	x8, [x8, _MSG_WARNING@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
Lloh8:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
	bl	_wpa_printf
	mov	w0, #-1
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_7:
	ldr	x8, [x20]
	cbz	x8, LBB0_10
; %bb.8:
	mov	x0, x20
	mov	x1, x19
	bl	_eap_sim_process_notification_reauth
	cbz	x0, LBB0_6
; %bb.9:
Lloh10:
	adrp	x1, l_.str.3@PAGE
Lloh11:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_3
LBB0_10:
	mov	w0, #0
	b	LBB0_6
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EAP-SIM: no AT_MAC in after_auth Notification message"

l_.str.1:                               ; @.str.1
	.space	1

	.comm	_MSG_WARNING,4,2                ; @MSG_WARNING
l_.str.2:                               ; @.str.2
	.asciz	"EAP-SIM: Notification message used invalid AT_MAC"

l_.str.3:                               ; @.str.3
	.asciz	"EAP-SIM: Invalid notification message after reauth"

	.no_dead_strip	_eap_sim_process_notification_auth
.subsections_via_symbols
