	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eap_mschapv2_process_failure_resp
_eap_mschapv2_process_failure_resp:     ## @eap_mschapv2_process_failure_resp
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	movq	_EAP_VENDOR_IETF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_EAP_TYPE_MSCHAPV2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-16(%rbp), %rcx
	callq	_eap_hdr_validate
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	cmpq	$0, -16(%rbp)
	je	LBB0_3
## %bb.2:
	movq	(%rax), %rax
	movq	_MSCHAPV2_OP_FAILURE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rax
	leaq	L_.str.1(%rip), %rsi
	cmoveq	%rax, %rsi
	callq	_wpa_printf
	movq	_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EAP_VENDOR_IETF,4,2            ## @EAP_VENDOR_IETF
	.comm	_EAP_TYPE_MSCHAPV2,4,2          ## @EAP_TYPE_MSCHAPV2
	.comm	_MSCHAPV2_OP_FAILURE,8,3        ## @MSCHAPV2_OP_FAILURE
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EAP-MSCHAPV2: Received Failure Response - authentication failed"

L_.str.1:                               ## @.str.1
	.asciz	"EAP-MSCHAPV2: Did not receive Failure Response - authentication failed"

	.comm	_FAILURE,4,2                    ## @FAILURE
	.no_dead_strip	_eap_mschapv2_process_failure_resp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eap_mschapv2_process_failure_resp
_eap_mschapv2_process_failure_resp:     ; @eap_mschapv2_process_failure_resp
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x1
Lloh0:
	adrp	x8, _EAP_VENDOR_IETF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EAP_VENDOR_IETF@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _EAP_TYPE_MSCHAPV2@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EAP_TYPE_MSCHAPV2@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x3, sp, #8
	bl	_eap_hdr_validate
	ldr	x8, [sp, #8]
	cmp	x0, #0
	ccmp	x8, #0, #4, ne
	b.eq	LBB0_2
; %bb.1:
	ldr	x8, [x0]
Lloh6:
	adrp	x9, _MSCHAPV2_OP_FAILURE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MSCHAPV2_OP_FAILURE@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
Lloh9:
	adrp	x10, _MSG_DEBUG@GOTPAGE
Lloh10:
	ldr	x10, [x10, _MSG_DEBUG@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x10]
Lloh12:
	adrp	x10, l_.str.1@PAGE
Lloh13:
	add	x10, x10, l_.str.1@PAGEOFF
Lloh14:
	adrp	x11, l_.str@PAGE
Lloh15:
	add	x11, x11, l_.str@PAGEOFF
	cmp	x8, x9
	csel	x1, x11, x10, eq
	bl	_wpa_printf
Lloh16:
	adrp	x8, _FAILURE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _FAILURE@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	str	w8, [x19]
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_EAP_VENDOR_IETF,4,2            ; @EAP_VENDOR_IETF
	.comm	_EAP_TYPE_MSCHAPV2,4,2          ; @EAP_TYPE_MSCHAPV2
	.comm	_MSCHAPV2_OP_FAILURE,8,3        ; @MSCHAPV2_OP_FAILURE
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EAP-MSCHAPV2: Received Failure Response - authentication failed"

l_.str.1:                               ; @.str.1
	.asciz	"EAP-MSCHAPV2: Did not receive Failure Response - authentication failed"

	.comm	_FAILURE,4,2                    ; @FAILURE
	.no_dead_strip	_eap_mschapv2_process_failure_resp
.subsections_via_symbols
