	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eap_mschapv2_failure
_eap_mschapv2_failure:                  ## @eap_mschapv2_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -44(%rbp)                 ## 4-byte Spill
	movq	%rdx, %r15
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r12
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	leaq	4(%rcx), %rbx
	leaq	-4(%r8), %r14
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
	movl	(%r13), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdx
	movq	%r14, %rcx
	callq	_wpa_hexdump_ascii
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_dup_binstr
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rax, %r13
	movq	%r12, %rdi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	movq	%rax, %rdx
	callq	_eap_mschapv2_failure_txt
	movl	%eax, %r14d
	movq	%r13, %rdi
	callq	_os_free
	jmp	LBB0_3
LBB0_2:
	xorl	%r14d, %r14d
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
LBB0_3:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%r15)
	movq	_METHOD_DONE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 12(%r15)
	movq	_DECISION_FAIL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%r15)
	movq	%rax, (%r15)
	movq	(%rbx), %rax
	movq	_ERROR_PASSWD_EXPIRED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.4:
	cmpl	$3, 8(%rbx)
	jne	LBB0_8
## %bb.5:
	movq	%r12, %rdi
	callq	_eap_get_config
	testq	%rax, %rax
	je	LBB0_13
## %bb.6:
	cmpq	$0, 8(%rax)
	je	LBB0_11
## %bb.7:
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_eap_mschapv2_change_password   ## TAILCALL
LBB0_8:
	testl	%r14d, %r14d
	je	LBB0_13
## %bb.9:
	movq	_ERROR_AUTHENTICATION_FAILURE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_15
LBB0_13:
	movq	_EAP_VENDOR_IETF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_EAP_TYPE_MSCHAPV2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_EAP_CODE_RESPONSE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$1, %edx
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	callq	_eap_msg_alloc
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	movq	%rax, %rbx
	movq	_MSCHAPV2_OP_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_wpabuf_put_u8
	jmp	LBB0_16
LBB0_11:
	cmpq	$0, (%rax)
	je	LBB0_13
LBB0_15:
	xorl	%ebx, %ebx
LBB0_16:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EAP-MSCHAPV2: Received failure"

L_.str.1:                               ## @.str.1
	.asciz	"EAP-MSCHAPV2: Failure data"

	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_METHOD_DONE,4,2                ## @METHOD_DONE
	.comm	_DECISION_FAIL,4,2              ## @DECISION_FAIL
	.comm	_ERROR_PASSWD_EXPIRED,8,3       ## @ERROR_PASSWD_EXPIRED
	.comm	_ERROR_AUTHENTICATION_FAILURE,8,3 ## @ERROR_AUTHENTICATION_FAILURE
	.comm	_EAP_VENDOR_IETF,4,2            ## @EAP_VENDOR_IETF
	.comm	_EAP_TYPE_MSCHAPV2,4,2          ## @EAP_TYPE_MSCHAPV2
	.comm	_EAP_CODE_RESPONSE,4,2          ## @EAP_CODE_RESPONSE
	.comm	_MSCHAPV2_OP_FAILURE,4,2        ## @MSCHAPV2_OP_FAILURE
	.no_dead_strip	_eap_mschapv2_failure
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eap_mschapv2_failure
_eap_mschapv2_failure:                  ; @eap_mschapv2_failure
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x5
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
	add	x24, x3, #4
	sub	x25, x4, #4
Lloh0:
	adrp	x26, _MSG_DEBUG@GOTPAGE
Lloh1:
	ldr	x26, [x26, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w0, [x26]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	ldr	w0, [x26]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x24
	mov	x3, x25
	bl	_wpa_hexdump_ascii
	mov	x0, x24
	mov	x1, x25
	bl	_dup_binstr
	cbz	x0, LBB0_2
; %bb.1:
	mov	x25, x0
	mov	x0, x23
	mov	x1, x22
	mov	x2, x25
	bl	_eap_mschapv2_failure_txt
	mov	x24, x0
	mov	x0, x25
	bl	_os_free
	b	LBB0_3
LBB0_2:
	mov	w24, #0
LBB0_3:
Lloh6:
	adrp	x8, _FALSE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	str	x8, [x21, #16]
Lloh9:
	adrp	x9, _METHOD_DONE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _METHOD_DONE@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
Lloh12:
	adrp	x10, _DECISION_FAIL@GOTPAGE
Lloh13:
	ldr	x10, [x10, _DECISION_FAIL@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	stp	w10, w9, [x21, #8]
	str	x8, [x21]
	ldr	x8, [x22]
Lloh15:
	adrp	x9, _ERROR_PASSWD_EXPIRED@GOTPAGE
Lloh16:
	ldr	x9, [x9, _ERROR_PASSWD_EXPIRED@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.4:
	ldr	w9, [x22, #8]
	cmp	w9, #3
	b.ne	LBB0_8
; %bb.5:
	mov	x0, x23
	bl	_eap_get_config
	cbz	x0, LBB0_12
; %bb.6:
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_11
; %bb.7:
	mov	x0, x23
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	mov	x4, x19
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_eap_mschapv2_change_password
LBB0_8:
	cbz	w24, LBB0_12
; %bb.9:
Lloh18:
	adrp	x9, _ERROR_AUTHENTICATION_FAILURE@GOTPAGE
Lloh19:
	ldr	x9, [x9, _ERROR_AUTHENTICATION_FAILURE@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_12
LBB0_10:
	mov	x19, #0
	b	LBB0_14
LBB0_11:
	ldr	x8, [x0]
	cbnz	x8, LBB0_10
LBB0_12:
Lloh21:
	adrp	x8, _EAP_VENDOR_IETF@GOTPAGE
Lloh22:
	ldr	x8, [x8, _EAP_VENDOR_IETF@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
Lloh24:
	adrp	x8, _EAP_TYPE_MSCHAPV2@GOTPAGE
Lloh25:
	ldr	x8, [x8, _EAP_TYPE_MSCHAPV2@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
Lloh27:
	adrp	x8, _EAP_CODE_RESPONSE@GOTPAGE
Lloh28:
	ldr	x8, [x8, _EAP_CODE_RESPONSE@GOTPAGEOFF]
Lloh29:
	ldr	w3, [x8]
	mov	w2, #1
	mov	x4, x19
	bl	_eap_msg_alloc
	mov	x19, x0
	cbz	x0, LBB0_14
; %bb.13:
Lloh30:
	adrp	x8, _MSCHAPV2_OP_FAILURE@GOTPAGE
Lloh31:
	ldr	x8, [x8, _MSCHAPV2_OP_FAILURE@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_wpabuf_put_u8
LBB0_14:
	mov	x0, x19
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EAP-MSCHAPV2: Received failure"

l_.str.1:                               ; @.str.1
	.asciz	"EAP-MSCHAPV2: Failure data"

	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_METHOD_DONE,4,2                ; @METHOD_DONE
	.comm	_DECISION_FAIL,4,2              ; @DECISION_FAIL
	.comm	_ERROR_PASSWD_EXPIRED,8,3       ; @ERROR_PASSWD_EXPIRED
	.comm	_ERROR_AUTHENTICATION_FAILURE,8,3 ; @ERROR_AUTHENTICATION_FAILURE
	.comm	_EAP_VENDOR_IETF,4,2            ; @EAP_VENDOR_IETF
	.comm	_EAP_TYPE_MSCHAPV2,4,2          ; @EAP_TYPE_MSCHAPV2
	.comm	_EAP_CODE_RESPONSE,4,2          ; @EAP_CODE_RESPONSE
	.comm	_MSCHAPV2_OP_FAILURE,4,2        ; @MSCHAPV2_OP_FAILURE
	.no_dead_strip	_eap_mschapv2_failure
.subsections_via_symbols
