	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eap_mschapv2_process_response
_eap_mschapv2_process_response:         ## @eap_mschapv2_process_response
	.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	$312, %rsp                      ## imm = 0x138
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_EAP_VENDOR_IETF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_EAP_TYPE_MSCHAPV2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-336(%rbp), %rcx
	callq	_eap_hdr_validate
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movq	-336(%rbp), %r13
	testq	%r13, %r13
	je	LBB0_8
## %bb.2:
	cmpq	$66, %r13
	jb	LBB0_7
## %bb.3:
	movq	%rax, %r12
	movq	(%rax), %rax
	movq	_MSCHAPV2_OP_RESPONSE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.4:
	cmpl	$49, 16(%r12)
	jne	LBB0_7
## %bb.5:
	movl	8(%r12), %eax
	movl	%eax, 36(%r14)
	leaq	116(%r12), %rax
	movq	%rax, -296(%rbp)                ## 8-byte Spill
	leaq	216(%r12), %rax
	movq	%rax, -312(%rbp)                ## 8-byte Spill
	movl	212(%r12), %eax
	movl	%eax, -316(%rbp)                ## 4-byte Spill
	leaq	-216(,%r13,4), %rax
	shlq	$2, %r13
	movq	%rax, -328(%rbp)                ## 8-byte Spill
	sarq	$2, %rax
	movq	%rax, -288(%rbp)                ## 8-byte Spill
	cmpq	$0, (%r14)
	movq	%r14, -280(%rbp)                ## 8-byte Spill
	je	LBB0_10
## %bb.6:
	movq	%r14, %rbx
	movq	%r15, %r14
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	(%rbx), %rdx
	jmp	LBB0_11
LBB0_7:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdx
	callq	_wpa_hexdump_buf
	movq	_FAILURE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%r14)
LBB0_8:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_45
## %bb.9:
	addq	$312, %rsp                      ## imm = 0x138
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	%r15, %r14
	leaq	20(%r12), %rdx
LBB0_11:
	movq	_MSG_MSGDUMP@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	leaq	L_.str.2(%rip), %rsi
	movq	%rdx, -304(%rbp)                ## 8-byte Spill
	movl	$16, %ecx
	callq	_wpa_hexdump
	movl	(%rbx), %edi
	leaq	L_.str.3(%rip), %rsi
	movq	-296(%rbp), %rdx                ## 8-byte Reload
	movl	$24, %ecx
	callq	_wpa_hexdump
	movl	(%rbx), %edi
	leaq	L_.str.4(%rip), %rsi
	movl	-316(%rbp), %edx                ## 4-byte Reload
	xorl	%eax, %eax
	callq	_wpa_printf
	movl	(%rbx), %edi
	leaq	L_.str.5(%rip), %rsi
	movq	-312(%rbp), %r15                ## 8-byte Reload
	movq	%r15, %rdx
	movq	-288(%rbp), %rcx                ## 8-byte Reload
	callq	_wpa_hexdump_ascii
	addq	$-215, %r13
	movq	%r13, %rdi
	callq	_os_malloc
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movq	%rax, %rbx
	movq	%rax, %rdi
	movq	%r13, %rsi
	movq	%r15, %rdx
	movq	-288(%rbp), %rcx                ## 8-byte Reload
	callq	_printf_encode
	leaq	L_.str.6(%rip), %rsi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_eap_log_msg
	movq	%rbx, %rdi
	callq	_os_free
LBB0_13:
	movq	(%r14), %rdx
	movq	8(%r14), %r13
	testq	%r13, %r13
	je	LBB0_17
## %bb.14:
	leaq	4(%rdx), %rcx
	movl	$1, %eax
	subq	%r13, %rax
	movq	-296(%rbp), %r9                 ## 8-byte Reload
	movq	-312(%rbp), %r8                 ## 8-byte Reload
	movq	-288(%rbp), %rbx                ## 8-byte Reload
	movq	-328(%rbp), %rsi                ## 8-byte Reload
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	cmpl	$92, -4(%rcx)
	je	LBB0_18
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	addq	$4, %rcx
	incq	%rax
	cmpq	$1, %rax
	jne	LBB0_15
	jmp	LBB0_19
LBB0_17:
	xorl	%r13d, %r13d
	movq	-296(%rbp), %r9                 ## 8-byte Reload
	movq	-312(%rbp), %r8                 ## 8-byte Reload
	movq	-288(%rbp), %rbx                ## 8-byte Reload
	movq	-328(%rbp), %rsi                ## 8-byte Reload
	jmp	LBB0_19
LBB0_18:
	negq	%rax
	movq	%rcx, %rdx
	movq	%rax, %r13
LBB0_19:
	testq	%rsi, %rsi
	je	LBB0_23
## %bb.20:
	cmpq	$2, %rbx
	movl	$1, %eax
	cmovaeq	%rbx, %rax
	addq	$220, %r12
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	cmpl	$92, -4(%r12)
	je	LBB0_25
## %bb.22:                              ##   in Loop: Header=BB0_21 Depth=1
	incq	%rcx
	addq	$4, %r12
	cmpq	%rcx, %rax
	jne	LBB0_21
	jmp	LBB0_24
LBB0_23:
	xorl	%ebx, %ebx
LBB0_24:
	cmpq	%rbx, %r13
	je	LBB0_26
	jmp	LBB0_27
LBB0_25:
	notq	%rcx
	addq	%rcx, %rbx
	movq	%r12, %r8
	cmpq	%rbx, %r13
	jne	LBB0_27
LBB0_26:
	movq	%rdx, %rdi
	movq	%r8, %rsi
	movq	%rdx, -288(%rbp)                ## 8-byte Spill
	movq	%r13, %rdx
	movq	%r9, %r12
	movq	%r8, %r15
	callq	_os_memcmp
	movq	%r15, %r8
	movq	-288(%rbp), %rdx                ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_30
LBB0_27:
	movq	%rbx, %r14
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	leaq	L_.str.7(%rip), %rsi
	xorl	%eax, %eax
	movq	%r8, %r12
	movq	%rdx, %rbx
	callq	_wpa_printf
	movl	(%r15), %edi
	leaq	L_.str.8(%rip), %rsi
	movq	%rbx, %rdx
	movq	%r13, %rcx
	callq	_wpa_hexdump_ascii
	movl	(%r15), %edi
	leaq	L_.str.9(%rip), %rsi
	movq	%r12, %rdx
	movq	%r14, %rcx
	callq	_wpa_hexdump_ascii
LBB0_28:
	movq	_FAILURE@GOTPCREL(%rip), %rax
LBB0_29:
	movq	(%rax), %rax
	movq	-280(%rbp), %rcx                ## 8-byte Reload
	movq	%rax, 16(%rcx)
	jmp	LBB0_8
LBB0_30:
	movq	_MSG_MSGDUMP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.10(%rip), %rsi
	movq	%rdx, %rbx
	movq	%r13, %rcx
	callq	_wpa_hexdump_ascii
	movq	16(%r14), %rax
	cmpq	$0, 16(%rax)
	movq	-280(%rbp), %rcx                ## 8-byte Reload
	movl	32(%rcx), %edi
	movq	(%rax), %r8
	je	LBB0_32
## %bb.31:
	leaq	-144(%rbp), %r9
	movq	-304(%rbp), %rsi                ## 8-byte Reload
	movq	%rbx, %rdx
	movq	%r13, %rcx
	callq	_generate_nt_response_pwhash
	jmp	LBB0_33
LBB0_32:
	movl	8(%rax), %r9d
	leaq	-144(%rbp), %rax
	movq	%rax, (%rsp)
	movq	-304(%rbp), %rsi                ## 8-byte Reload
	movq	%rbx, %rdx
	movq	%r13, %rcx
	callq	_generate_nt_response
LBB0_33:
	testl	%eax, %eax
	jne	LBB0_28
## %bb.35:
	leaq	-144(%rbp), %rsi
	movq	%r12, %rdi
	movl	$24, %edx
	callq	_os_memcmp_const
	testq	%rax, %rax
	je	LBB0_37
## %bb.36:
	movq	_MSG_MSGDUMP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.13(%rip), %rsi
	leaq	-144(%rbp), %rdx
	movl	$24, %ecx
	callq	_wpa_hexdump
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.14(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	_FAILURE_REQ@GOTPCREL(%rip), %rax
	jmp	LBB0_29
LBB0_37:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	leaq	L_.str.11(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	_SUCCESS_REQ@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-280(%rbp), %rcx                ## 8-byte Reload
	movq	%rax, 16(%rcx)
	movq	16(%r14), %rax
	cmpq	$0, 16(%rax)
	movq	(%rax), %r12
	je	LBB0_39
## %bb.38:
	movq	-280(%rbp), %rbx                ## 8-byte Reload
	jmp	LBB0_40
LBB0_39:
	movl	8(%rax), %esi
	movq	%r15, %rbx
	leaq	-208(%rbp), %r15
	movq	%r12, %rdi
	movq	%r15, %rdx
	callq	_nt_password_hash
	movq	%r15, %r12
	movq	%rbx, %r15
	testq	%rax, %rax
	movq	-280(%rbp), %rbx                ## 8-byte Reload
	js	LBB0_43
LBB0_40:
	movl	28(%rbx), %eax
	movl	32(%rbx), %edx
	movl	%eax, (%rsp)
	movq	%r12, %rdi
	movq	-304(%rbp), %rsi                ## 8-byte Reload
	movq	-288(%rbp), %rcx                ## 8-byte Reload
	movq	%r13, %r8
	movq	-296(%rbp), %r9                 ## 8-byte Reload
	callq	_generate_authenticator_response_pwhash
	testq	%rax, %rax
	js	LBB0_43
## %bb.41:
	leaq	-272(%rbp), %rsi
	movq	%r12, %rdi
	callq	_hash_nt_password_hash
	testq	%rax, %rax
	js	LBB0_43
## %bb.42:
	movl	24(%rbx), %edx
	leaq	-272(%rbp), %rdi
	movq	-296(%rbp), %rsi                ## 8-byte Reload
	callq	_get_master_key
	testq	%rax, %rax
	je	LBB0_44
LBB0_43:
	movq	_FAILURE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%rbx)
	jmp	LBB0_8
LBB0_44:
	movl	$1, 8(%rbx)
	movl	(%r15), %edi
	movl	24(%rbx), %edx
	movq	_MSCHAPV2_KEY_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.12(%rip), %rsi
	callq	_wpa_hexdump_key
	jmp	LBB0_8
LBB0_45:
	callq	___stack_chk_fail
	.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_RESPONSE,8,3       ## @MSCHAPV2_OP_RESPONSE
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EAP-MSCHAPV2: Invalid response"

	.comm	_FAILURE,8,3                    ## @FAILURE
L_.str.1:                               ## @.str.1
	.asciz	"EAP-MSCHAPV2: Using pre-configured Peer-Challenge"

	.comm	_MSG_MSGDUMP,4,2                ## @MSG_MSGDUMP
L_.str.2:                               ## @.str.2
	.asciz	"EAP-MSCHAPV2: Peer-Challenge"

L_.str.3:                               ## @.str.3
	.asciz	"EAP-MSCHAPV2: NT-Response"

L_.str.4:                               ## @.str.4
	.asciz	"EAP-MSCHAPV2: Flags 0x%x"

L_.str.5:                               ## @.str.5
	.asciz	"EAP-MSCHAPV2: Name"

L_.str.6:                               ## @.str.6
	.asciz	"EAP-MSCHAPV2 Name '%s'"

L_.str.7:                               ## @.str.7
	.asciz	"EAP-MSCHAPV2: Mismatch in user names"

L_.str.8:                               ## @.str.8
	.asciz	"EAP-MSCHAPV2: Expected user name"

L_.str.9:                               ## @.str.9
	.asciz	"EAP-MSCHAPV2: Received user name"

L_.str.10:                              ## @.str.10
	.asciz	"EAP-MSCHAPV2: User name"

L_.str.11:                              ## @.str.11
	.asciz	"EAP-MSCHAPV2: Correct NT-Response"

	.comm	_SUCCESS_REQ,8,3                ## @SUCCESS_REQ
L_.str.12:                              ## @.str.12
	.asciz	"EAP-MSCHAPV2: Derived Master Key"

	.comm	_MSCHAPV2_KEY_LEN,4,2           ## @MSCHAPV2_KEY_LEN
L_.str.13:                              ## @.str.13
	.asciz	"EAP-MSCHAPV2: Expected NT-Response"

L_.str.14:                              ## @.str.14
	.asciz	"EAP-MSCHAPV2: Invalid NT-Response"

	.comm	_FAILURE_REQ,8,3                ## @FAILURE_REQ
	.no_dead_strip	_eap_mschapv2_process_response
.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_response
_eap_mschapv2_process_response:         ; @eap_mschapv2_process_response
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #368
	.cfi_def_cfa_offset 368
	stp	x28, x27, [sp, #272]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #288]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #304]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #320]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #336]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #352]            ; 16-byte Folded Spill
	add	x29, sp, #352
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
Lloh3:
	adrp	x8, _EAP_VENDOR_IETF@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EAP_VENDOR_IETF@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _EAP_TYPE_MSCHAPV2@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EAP_TYPE_MSCHAPV2@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	add	x3, sp, #24
	bl	_eap_hdr_validate
	ldr	x8, [sp, #24]
	cmp	x0, #0
	ccmp	x8, #0, #4, ne
	b.eq	LBB0_9
; %bb.1:
Lloh9:
	adrp	x28, _MSG_DEBUG@GOTPAGE
Lloh10:
	ldr	x28, [x28, _MSG_DEBUG@GOTPAGEOFF]
	cmp	x8, #66
	b.lo	LBB0_6
; %bb.2:
	mov	x27, x0
	ldr	x9, [x0]
Lloh11:
	adrp	x10, _MSCHAPV2_OP_RESPONSE@GOTPAGE
Lloh12:
	ldr	x10, [x10, _MSCHAPV2_OP_RESPONSE@GOTPAGEOFF]
Lloh13:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_6
; %bb.3:
	ldr	w9, [x27, #16]
	cmp	w9, #49
	b.ne	LBB0_6
; %bb.4:
	ldr	w9, [x27, #8]
	str	w9, [x19, #36]
	add	x9, x27, #116
	add	x24, x27, #216
	ldr	w25, [x27, #212]
	lsl	x23, x8, #2
	sub	x22, x23, #216
	asr	x26, x22, #2
	ldr	x8, [x19]
	str	x9, [sp, #16]                   ; 8-byte Folded Spill
	cbz	x8, LBB0_11
; %bb.5:
	ldr	w0, [x28]
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_printf
	ldr	x2, [x19]
	b	LBB0_12
LBB0_6:
	ldr	w0, [x28]
Lloh16:
	adrp	x1, l_.str@PAGE
Lloh17:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_wpa_hexdump_buf
LBB0_7:
Lloh18:
	adrp	x8, _FAILURE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _FAILURE@GOTPAGEOFF]
LBB0_8:
	ldr	x8, [x8]
	str	x8, [x19, #16]
LBB0_9:
	ldur	x8, [x29, #-96]
Lloh20:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh21:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_40
; %bb.10:
	ldp	x29, x30, [sp, #352]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #336]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #320]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #304]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #288]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #272]            ; 16-byte Folded Reload
	add	sp, sp, #368
	ret
LBB0_11:
	add	x2, x27, #20
LBB0_12:
Lloh23:
	adrp	x20, _MSG_MSGDUMP@GOTPAGE
Lloh24:
	ldr	x20, [x20, _MSG_MSGDUMP@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh25:
	adrp	x1, l_.str.2@PAGE
Lloh26:
	add	x1, x1, l_.str.2@PAGEOFF
	str	x2, [sp, #8]                    ; 8-byte Folded Spill
	mov	w3, #16
	bl	_wpa_hexdump
	ldr	w0, [x20]
Lloh27:
	adrp	x1, l_.str.3@PAGE
Lloh28:
	add	x1, x1, l_.str.3@PAGEOFF
	ldr	x2, [sp, #16]                   ; 8-byte Folded Reload
	mov	w3, #24
	bl	_wpa_hexdump
	ldr	w0, [x20]
	str	x25, [sp]
Lloh29:
	adrp	x1, l_.str.4@PAGE
Lloh30:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_wpa_printf
	ldr	w0, [x20]
Lloh31:
	adrp	x1, l_.str.5@PAGE
Lloh32:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x2, x24
	mov	x3, x26
	bl	_wpa_hexdump_ascii
	sub	x25, x23, #215
	mov	x0, x25
	bl	_os_malloc
	cbz	x0, LBB0_14
; %bb.13:
	mov	x23, x0
	mov	x1, x25
	mov	x2, x24
	mov	x3, x26
	bl	_printf_encode
Lloh33:
	adrp	x1, l_.str.6@PAGE
Lloh34:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x21
	mov	x2, x23
	bl	_eap_log_msg
	mov	x0, x23
	bl	_os_free
LBB0_14:
	ldp	x23, x25, [x21]
	cbz	x25, LBB0_19
; %bb.15:
	add	x8, x23, #4
	mov	w9, #1
	sub	x9, x9, x25
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldur	w10, [x8, #-4]
	cmp	w10, #92
	b.eq	LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	add	x8, x8, #4
	add	x9, x9, #1
	cmp	x9, #1
	b.ne	LBB0_16
	b	LBB0_19
LBB0_18:
	neg	x25, x9
	mov	x23, x8
LBB0_19:
	cbz	x22, LBB0_23
; %bb.20:
	mov	x9, #0
	cmp	x26, #1
	csinc	x10, x26, xzr, hi
	add	x8, x27, #220
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	ldur	w11, [x8, #-4]
	cmp	w11, #92
	b.eq	LBB0_25
; %bb.22:                               ;   in Loop: Header=BB0_21 Depth=1
	add	x9, x9, #1
	add	x8, x8, #4
	cmp	x10, x9
	b.ne	LBB0_21
	b	LBB0_24
LBB0_23:
	mov	x26, #0
LBB0_24:
	cmp	x25, x26
	b.eq	LBB0_26
	b	LBB0_27
LBB0_25:
	mvn	x9, x9
	add	x26, x9, x26
	mov	x24, x8
	cmp	x25, x26
	b.ne	LBB0_27
LBB0_26:
	mov	x0, x23
	mov	x1, x24
	mov	x2, x25
	bl	_os_memcmp
	cbz	x0, LBB0_28
LBB0_27:
	ldr	w0, [x28]
Lloh35:
	adrp	x1, l_.str.7@PAGE
Lloh36:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_wpa_printf
	ldr	w0, [x28]
Lloh37:
	adrp	x1, l_.str.8@PAGE
Lloh38:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x2, x23
	mov	x3, x25
	bl	_wpa_hexdump_ascii
	ldr	w0, [x28]
Lloh39:
	adrp	x1, l_.str.9@PAGE
Lloh40:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x2, x24
	mov	x3, x26
	bl	_wpa_hexdump_ascii
	b	LBB0_7
LBB0_28:
	ldr	w0, [x20]
Lloh41:
	adrp	x1, l_.str.10@PAGE
Lloh42:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x2, x23
	mov	x3, x25
	bl	_wpa_hexdump_ascii
	ldr	x8, [x21, #16]
	ldr	x9, [x8, #16]
	ldr	w0, [x19, #32]
	ldr	x4, [x8]
	cbz	x9, LBB0_30
; %bb.29:
	add	x5, sp, #160
	ldr	x1, [sp, #8]                    ; 8-byte Folded Reload
	mov	x2, x23
	mov	x3, x25
	bl	_generate_nt_response_pwhash
	b	LBB0_31
LBB0_30:
	ldr	w5, [x8, #8]
	add	x6, sp, #160
	ldr	x1, [sp, #8]                    ; 8-byte Folded Reload
	mov	x2, x23
	mov	x3, x25
	bl	_generate_nt_response
LBB0_31:
	cbnz	w0, LBB0_7
; %bb.32:
	add	x1, sp, #160
	ldr	x22, [sp, #16]                  ; 8-byte Folded Reload
	mov	x0, x22
	mov	w2, #24
	bl	_os_memcmp_const
	cbz	x0, LBB0_34
; %bb.33:
	ldr	w0, [x20]
Lloh43:
	adrp	x1, l_.str.13@PAGE
Lloh44:
	add	x1, x1, l_.str.13@PAGEOFF
	add	x2, sp, #160
	mov	w3, #24
	bl	_wpa_hexdump
	ldr	w0, [x28]
Lloh45:
	adrp	x1, l_.str.14@PAGE
Lloh46:
	add	x1, x1, l_.str.14@PAGEOFF
	bl	_wpa_printf
Lloh47:
	adrp	x8, _FAILURE_REQ@GOTPAGE
Lloh48:
	ldr	x8, [x8, _FAILURE_REQ@GOTPAGEOFF]
	b	LBB0_8
LBB0_34:
	ldr	w0, [x28]
Lloh49:
	adrp	x1, l_.str.11@PAGE
Lloh50:
	add	x1, x1, l_.str.11@PAGEOFF
	bl	_wpa_printf
Lloh51:
	adrp	x8, _SUCCESS_REQ@GOTPAGE
Lloh52:
	ldr	x8, [x8, _SUCCESS_REQ@GOTPAGEOFF]
Lloh53:
	ldr	x8, [x8]
	str	x8, [x19, #16]
	ldr	x8, [x21, #16]
	ldr	x9, [x8, #16]
	ldr	x21, [x8]
	cbnz	x9, LBB0_36
; %bb.35:
	ldr	w1, [x8, #8]
	add	x2, sp, #96
	mov	x0, x21
	bl	_nt_password_hash
	add	x21, sp, #96
	tbnz	x0, #63, LBB0_7
LBB0_36:
	ldp	w6, w2, [x19, #28]
	mov	x0, x21
	ldr	x1, [sp, #8]                    ; 8-byte Folded Reload
	mov	x3, x23
	mov	x4, x25
	mov	x5, x22
	bl	_generate_authenticator_response_pwhash
	tbnz	x0, #63, LBB0_7
; %bb.37:
	add	x1, sp, #32
	mov	x0, x21
	bl	_hash_nt_password_hash
	tbnz	x0, #63, LBB0_7
; %bb.38:
	ldr	w2, [x19, #24]
	add	x0, sp, #32
	mov	x1, x22
	bl	_get_master_key
	cbnz	x0, LBB0_7
; %bb.39:
	mov	w8, #1
	str	w8, [x19, #8]
	ldr	w0, [x28]
	ldr	w2, [x19, #24]
Lloh54:
	adrp	x8, _MSCHAPV2_KEY_LEN@GOTPAGE
Lloh55:
	ldr	x8, [x8, _MSCHAPV2_KEY_LEN@GOTPAGEOFF]
Lloh56:
	ldr	w3, [x8]
Lloh57:
	adrp	x1, l_.str.12@PAGE
Lloh58:
	add	x1, x1, l_.str.12@PAGEOFF
	bl	_wpa_hexdump_key
	b	LBB0_9
LBB0_40:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.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_RESPONSE,8,3       ; @MSCHAPV2_OP_RESPONSE
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EAP-MSCHAPV2: Invalid response"

	.comm	_FAILURE,8,3                    ; @FAILURE
l_.str.1:                               ; @.str.1
	.asciz	"EAP-MSCHAPV2: Using pre-configured Peer-Challenge"

	.comm	_MSG_MSGDUMP,4,2                ; @MSG_MSGDUMP
l_.str.2:                               ; @.str.2
	.asciz	"EAP-MSCHAPV2: Peer-Challenge"

l_.str.3:                               ; @.str.3
	.asciz	"EAP-MSCHAPV2: NT-Response"

l_.str.4:                               ; @.str.4
	.asciz	"EAP-MSCHAPV2: Flags 0x%x"

l_.str.5:                               ; @.str.5
	.asciz	"EAP-MSCHAPV2: Name"

l_.str.6:                               ; @.str.6
	.asciz	"EAP-MSCHAPV2 Name '%s'"

l_.str.7:                               ; @.str.7
	.asciz	"EAP-MSCHAPV2: Mismatch in user names"

l_.str.8:                               ; @.str.8
	.asciz	"EAP-MSCHAPV2: Expected user name"

l_.str.9:                               ; @.str.9
	.asciz	"EAP-MSCHAPV2: Received user name"

l_.str.10:                              ; @.str.10
	.asciz	"EAP-MSCHAPV2: User name"

l_.str.11:                              ; @.str.11
	.asciz	"EAP-MSCHAPV2: Correct NT-Response"

	.comm	_SUCCESS_REQ,8,3                ; @SUCCESS_REQ
l_.str.12:                              ; @.str.12
	.asciz	"EAP-MSCHAPV2: Derived Master Key"

	.comm	_MSCHAPV2_KEY_LEN,4,2           ; @MSCHAPV2_KEY_LEN
l_.str.13:                              ; @.str.13
	.asciz	"EAP-MSCHAPV2: Expected NT-Response"

l_.str.14:                              ; @.str.14
	.asciz	"EAP-MSCHAPV2: Invalid NT-Response"

	.comm	_FAILURE_REQ,8,3                ; @FAILURE_REQ
	.no_dead_strip	_eap_mschapv2_process_response
.subsections_via_symbols
