	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function chap_BuildAnswer
_chap_BuildAnswer:                      ## @chap_BuildAnswer
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r13
	movl	%r8d, %r15d
	movq	%rcx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	%edx, -104(%rbp)
	callq	_strlen
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_strlen
	movq	%rax, %rbx
	cmpl	$129, %r15d
	movq	%r12, -88(%rbp)                 ## 8-byte Spill
	je	LBB0_5
## %bb.1:
	cmpl	$128, %r15d
	jne	LBB0_9
## %bb.2:
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movq	%rsp, %r13
	movq	_AUTHLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shll	$2, %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	_MS_CHAP_RESPONSE_LEN@GOTPCREL(%rip), %rax
	movslq	(%rax), %rbx
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	leaq	(%r12,%rbx), %rdi
	incq	%rdi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_11
## %bb.3:
	movq	%rax, %r15
	incq	%rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movb	%bl, (%r15)
	leaq	(%r15,%rbx), %rdi
	incq	%rdi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movq	%r12, %rdx
	callq	_memcpy
	cmpl	$0, 24(%rbp)
	je	LBB0_13
## %bb.4:
	movq	%r15, %rdi
	addq	$25, %rdi
	xorl	%esi, %esi
	movl	$25, %edx
	callq	_memset
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	incq	%rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	callq	_mschap_LANMan
	jmp	LBB0_48
LBB0_5:
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movq	%rsp, %r13
	movq	_AUTHLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shll	$2, %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	_CHAP81_HASH_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -128(%rbp)                ## 8-byte Spill
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -136(%rbp)                ## 8-byte Spill
	movq	_CHAP81_RESPONSE_LEN@GOTPCREL(%rip), %rax
	movslq	(%rax), %r12
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	leaq	(%rbx,%r12), %rdi
	incq	%rdi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_11
## %bb.6:
	movq	%rax, %r15
	movq	%r13, -112(%rbp)                ## 8-byte Spill
	movq	%rbx, %rdx
	incq	%rdx
	addl	%r12d, %edx
	movq	%rax, %rdi
	xorl	%esi, %esi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memset
	movq	_CHAP81_RESPONSE_LEN@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movq	%r15, %rbx
	incq	%rbx
	movq	%r15, -120(%rbp)                ## 8-byte Spill
	movb	%al, (%r15)
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	incq	%rsi
	movq	_CHAP81_CHALLENGE_LEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	%rbx, %rdi
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	callq	_memcpy
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	testq	%r12, %r12
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	je	LBB0_42
## %bb.7:
	cmpq	$16, %r12
	jae	LBB0_20
## %bb.8:
	xorl	%eax, %eax
	jmp	LBB0_38
LBB0_9:
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	addq	$17, %rdi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_12
## %bb.10:
	movq	%rax, %r15
	incq	%rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movb	$16, (%r15)
	movq	%r14, %r12
	leaq	-100(%rbp), %r14
	movq	%r14, %rdi
	callq	_MD5Init
	leaq	-104(%rbp), %rsi
	movq	%r14, %rdi
	movl	$1, %edx
	xorl	%eax, %eax
	callq	_MD5Update
	movq	%r14, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_MD5Update
	movsbl	(%r12), %edx
	incq	%r12
	movq	%r14, %rdi
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_MD5Update
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	callq	_MD5Final
	movq	%r15, %rdi
	addq	$17, %rdi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movq	%r13, %rdx
	callq	_memcpy
	jmp	LBB0_49
LBB0_11:
	movq	%r13, %rsp
LBB0_12:
	xorl	%r15d, %r15d
	jmp	LBB0_49
LBB0_13:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	xorl	%esi, %esi
	movl	$25, %edx
	callq	_memset
	movq	%r15, %rax
	addq	$25, %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	testq	%rbx, %rbx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	je	LBB0_47
## %bb.14:
	cmpq	$16, %rbx
	jae	LBB0_27
## %bb.15:
	xorl	%eax, %eax
LBB0_16:
	movq	%rax, %rcx
	orq	$1, %rcx
	testb	$1, %bl
	je	LBB0_18
## %bb.17:
	movb	(%rdi,%rax), %dl
	movb	%dl, (%r14,%rax,2)
	movb	$0, 1(%r14,%rax,2)
	movq	%rcx, %rax
LBB0_18:
	cmpq	%rcx, %rbx
	je	LBB0_47
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%rdi,%rax), %ecx
	movb	%cl, (%r14,%rax,2)
	movb	$0, 1(%r14,%rax,2)
	movzbl	1(%rdi,%rax), %ecx
	movb	%cl, 2(%r14,%rax,2)
	movb	$0, 3(%r14,%rax,2)
	addq	$2, %rax
	cmpq	%rax, %rbx
	jne	LBB0_19
	jmp	LBB0_47
LBB0_20:
	leaq	-1(%r12), %rdx
	addq	%rdx, %rdx
	setb	%cl
	leaq	(%r14,%rdx), %rsi
	xorl	%eax, %eax
	cmpq	%r14, %rsi
	jb	LBB0_38
## %bb.21:
	testb	%cl, %cl
	jne	LBB0_38
## %bb.22:
	addq	%r14, %rdx
	incq	%rdx
	movq	%r14, %rsi
	incq	%rsi
	cmpq	%rsi, %rdx
	jb	LBB0_38
## %bb.23:
	testb	%cl, %cl
	jne	LBB0_38
## %bb.24:
	movq	%r12, %rax
	andq	$-16, %rax
	leaq	-16(%rax), %rdx
	movq	%rdx, %rcx
	shrq	$4, %rcx
	incq	%rcx
	testq	%rdx, %rdx
	je	LBB0_34
## %bb.25:
	movq	%rcx, %rsi
	andq	$-2, %rsi
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_26:                                ## =>This Inner Loop Header: Depth=1
	pmovzxbw	(%rdi,%rdx), %xmm0              ## xmm0 = mem[0],zero,mem[1],zero,mem[2],zero,mem[3],zero,mem[4],zero,mem[5],zero,mem[6],zero,mem[7],zero
	pmovzxbw	8(%rdi,%rdx), %xmm1             ## xmm1 = mem[0],zero,mem[1],zero,mem[2],zero,mem[3],zero,mem[4],zero,mem[5],zero,mem[6],zero,mem[7],zero
	movdqa	%xmm0, (%r14,%rdx,2)
	movdqa	%xmm1, 16(%r14,%rdx,2)
	pmovzxbw	16(%rdi,%rdx), %xmm0            ## xmm0 = mem[0],zero,mem[1],zero,mem[2],zero,mem[3],zero,mem[4],zero,mem[5],zero,mem[6],zero,mem[7],zero
	pmovzxbw	24(%rdi,%rdx), %xmm1            ## xmm1 = mem[0],zero,mem[1],zero,mem[2],zero,mem[3],zero,mem[4],zero,mem[5],zero,mem[6],zero,mem[7],zero
	movdqa	%xmm0, 32(%r14,%rdx,2)
	movdqa	%xmm1, 48(%r14,%rdx,2)
	addq	$32, %rdx
	addq	$-2, %rsi
	jne	LBB0_26
	jmp	LBB0_35
LBB0_27:
	leaq	-1(%rbx), %rdx
	addq	%rdx, %rdx
	setb	%cl
	leaq	(%r14,%rdx), %rsi
	xorl	%eax, %eax
	cmpq	%r14, %rsi
	jb	LBB0_16
## %bb.28:
	testb	%cl, %cl
	jne	LBB0_16
## %bb.29:
	addq	%r14, %rdx
	incq	%rdx
	movq	%r14, %rsi
	incq	%rsi
	cmpq	%rsi, %rdx
	jb	LBB0_16
## %bb.30:
	testb	%cl, %cl
	jne	LBB0_16
## %bb.31:
	movq	%rbx, %rax
	andq	$-16, %rax
	leaq	-16(%rax), %rdx
	movq	%rdx, %rcx
	shrq	$4, %rcx
	incq	%rcx
	testq	%rdx, %rdx
	je	LBB0_43
## %bb.32:
	movq	%rcx, %rsi
	andq	$-2, %rsi
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_33:                                ## =>This Inner Loop Header: Depth=1
	pmovzxbw	(%rdi,%rdx), %xmm0              ## xmm0 = mem[0],zero,mem[1],zero,mem[2],zero,mem[3],zero,mem[4],zero,mem[5],zero,mem[6],zero,mem[7],zero
	pmovzxbw	8(%rdi,%rdx), %xmm1             ## xmm1 = mem[0],zero,mem[1],zero,mem[2],zero,mem[3],zero,mem[4],zero,mem[5],zero,mem[6],zero,mem[7],zero
	movdqa	%xmm0, (%r14,%rdx,2)
	movdqa	%xmm1, 16(%r14,%rdx,2)
	pmovzxbw	16(%rdi,%rdx), %xmm0            ## xmm0 = mem[0],zero,mem[1],zero,mem[2],zero,mem[3],zero,mem[4],zero,mem[5],zero,mem[6],zero,mem[7],zero
	pmovzxbw	24(%rdi,%rdx), %xmm1            ## xmm1 = mem[0],zero,mem[1],zero,mem[2],zero,mem[3],zero,mem[4],zero,mem[5],zero,mem[6],zero,mem[7],zero
	movdqa	%xmm0, 32(%r14,%rdx,2)
	movdqa	%xmm1, 48(%r14,%rdx,2)
	addq	$32, %rdx
	addq	$-2, %rsi
	jne	LBB0_33
	jmp	LBB0_44
LBB0_34:
	xorl	%edx, %edx
LBB0_35:
	testb	$1, %cl
	je	LBB0_37
## %bb.36:
	leaq	(%rdx,%rdx), %rcx
	orq	$17, %rcx
	pmovzxbw	(%rdi,%rdx), %xmm0              ## xmm0 = mem[0],zero,mem[1],zero,mem[2],zero,mem[3],zero,mem[4],zero,mem[5],zero,mem[6],zero,mem[7],zero
	pmovzxbw	8(%rdi,%rdx), %xmm1             ## xmm1 = mem[0],zero,mem[1],zero,mem[2],zero,mem[3],zero,mem[4],zero,mem[5],zero,mem[6],zero,mem[7],zero
	movdqa	%xmm0, (%r14,%rdx,2)
	movdqa	%xmm1, -1(%r14,%rcx)
LBB0_37:
	cmpq	%rax, %r12
	je	LBB0_42
LBB0_38:
	movq	%rax, %rcx
	orq	$1, %rcx
	testb	$1, %r12b
	je	LBB0_40
## %bb.39:
	movb	(%rdi,%rax), %dl
	movb	%dl, (%r14,%rax,2)
	movb	$0, 1(%r14,%rax,2)
	movq	%rcx, %rax
LBB0_40:
	cmpq	%rcx, %r12
	je	LBB0_42
	.p2align	4, 0x90
LBB0_41:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%rdi,%rax), %ecx
	movb	%cl, (%r14,%rax,2)
	movb	$0, 1(%r14,%rax,2)
	movzbl	1(%rdi,%rax), %ecx
	movb	%cl, 2(%r14,%rax,2)
	movb	$0, 3(%r14,%rax,2)
	addq	$2, %rax
	cmpq	%rax, %r12
	jne	LBB0_41
LBB0_42:
	movq	_CHAP81_NTRESPONSE_OFF@GOTPCREL(%rip), %rax
	movslq	(%rax), %r13
	addq	%rbx, %r13
	addq	%r12, %r12
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	-128(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdx
	callq	_NtPasswordHash
	movq	%rbx, %rdi
	movq	-136(%rbp), %r15                ## 8-byte Reload
	movq	%r15, %rsi
	callq	_HashNtPasswordHash
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	incq	%rbx
	movq	%rbx, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	movq	%r14, %rcx
	movq	%r12, %r8
	movq	%r13, %r9
	callq	_GenerateNTResponse
	movq	_MPPE_MasterKey@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_GetMasterKey
	subq	$8, %rsp
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%r13, %rdx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rbx, %r8
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %r9
	movq	16(%rbp), %r14
	pushq	%r14
	callq	_GenerateAuthenticatorResponse
	addq	$16, %rsp
	movq	_CHAP81_AUTHRESPONSE_LEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movb	$0, (%r14,%rax)
	movq	_CHAP81_RESPONSE_LEN@GOTPCREL(%rip), %rax
	movslq	(%rax), %rdi
	addq	-64(%rbp), %rdi                 ## 8-byte Folded Reload
	movq	%rbx, %rsi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	callq	_memcpy
	movq	-112(%rbp), %rsp                ## 8-byte Reload
	movq	-120(%rbp), %r15                ## 8-byte Reload
	jmp	LBB0_49
LBB0_43:
	xorl	%edx, %edx
LBB0_44:
	testb	$1, %cl
	je	LBB0_46
## %bb.45:
	leaq	(%rdx,%rdx), %rcx
	orq	$17, %rcx
	pmovzxbw	(%rdi,%rdx), %xmm0              ## xmm0 = mem[0],zero,mem[1],zero,mem[2],zero,mem[3],zero,mem[4],zero,mem[5],zero,mem[6],zero,mem[7],zero
	pmovzxbw	8(%rdi,%rdx), %xmm1             ## xmm1 = mem[0],zero,mem[1],zero,mem[2],zero,mem[3],zero,mem[4],zero,mem[5],zero,mem[6],zero,mem[7],zero
	movdqa	%xmm0, (%r14,%rdx,2)
	movdqa	%xmm1, -1(%r14,%rcx)
LBB0_46:
	cmpq	%rax, %rbx
	jne	LBB0_16
LBB0_47:
	leaq	-100(%rbp), %r12
	movq	%r12, %rdi
	callq	_MD4Init
	addq	%rbx, %rbx
	movq	%r12, %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	callq	_MD4Update
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_MD4Final
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	incq	%rsi
	movq	%rbx, %rdi
	callq	_mschap_NT
LBB0_48:
	movq	%r13, %rsp
LBB0_49:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_51
## %bb.50:
	movq	%r15, %rax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_51:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_AUTHLEN,4,2                    ## @AUTHLEN
	.comm	_MS_CHAP_RESPONSE_LEN,4,2       ## @MS_CHAP_RESPONSE_LEN
	.comm	_CHAP81_HASH_LEN,4,2            ## @CHAP81_HASH_LEN
	.comm	_CHAP81_RESPONSE_LEN,4,2        ## @CHAP81_RESPONSE_LEN
	.comm	_CHAP81_CHALLENGE_LEN,8,3       ## @CHAP81_CHALLENGE_LEN
	.comm	_CHAP81_NTRESPONSE_OFF,4,2      ## @CHAP81_NTRESPONSE_OFF
	.comm	_MPPE_MasterKey,4,2             ## @MPPE_MasterKey
	.comm	_CHAP81_AUTHRESPONSE_LEN,8,3    ## @CHAP81_AUTHRESPONSE_LEN
	.no_dead_strip	_chap_BuildAnswer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function chap_BuildAnswer
_chap_BuildAnswer:                      ; @chap_BuildAnswer
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	sub	sp, sp, #64
	mov	x26, x7
	mov	x20, x6
	mov	x27, x5
	mov	x19, x4
	mov	x28, x3
	mov	x22, x1
	mov	x23, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	stur	w2, [x29, #-92]
	bl	_strlen
	mov	x24, x0
	mov	x0, x22
	bl	_strlen
	mov	x21, x0
	cmp	w19, #129
	b.eq	LBB0_5
; %bb.1:
	cmp	w19, #128
	b.ne	LBB0_12
; %bb.2:
	stur	x28, [x29, #-104]               ; 8-byte Folded Spill
	mov	x19, sp
Lloh3:
	adrp	x8, _AUTHLEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AUTHLEN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsl	w8, w8, #2
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x8, x9, x8
	mov	x27, x8
	mov	sp, x8
Lloh8:
	adrp	x8, _MS_CHAP_RESPONSE_LEN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MS_CHAP_RESPONSE_LEN@GOTPAGEOFF]
Lloh10:
	ldrsw	x28, [x8]
	add	x8, x24, x28
	add	x0, x8, #1
	bl	_malloc
	mov	x20, x0
	cbz	x0, LBB0_14
; %bb.3:
	mov	x25, x20
	strb	w28, [x25], #1
	add	x0, x25, x28
	mov	x1, x23
	mov	x2, x24
	bl	_memcpy
	cbz	w26, LBB0_16
; %bb.4:
	add	x0, x20, #25
	mov	w1, #0
	mov	w2, #25
	bl	_memset
	ldur	x8, [x29, #-104]                ; 8-byte Folded Reload
	add	x1, x8, #1
	mov	x0, x25
	mov	x2, x22
	bl	_mschap_LANMan
	mov	sp, x19
	b	LBB0_22
LBB0_5:
	stp	x22, x20, [x29, #-120]          ; 16-byte Folded Spill
	mov	x22, x21
	stur	x28, [x29, #-104]               ; 8-byte Folded Spill
	mov	x28, sp
Lloh11:
	adrp	x8, _AUTHLEN@GOTPAGE
Lloh12:
	ldr	x8, [x8, _AUTHLEN@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	lsl	w8, w8, #2
	mov	x9, x8
Lloh14:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh15:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x26, x9, x8
	mov	sp, x26
Lloh16:
	adrp	x8, _CHAP81_HASH_LEN@GOTPAGE
Lloh17:
	ldr	x8, [x8, _CHAP81_HASH_LEN@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	mov	x9, x8
Lloh19:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh20:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x8, #15
	and	x12, x10, #0x1fffffff0
	sub	x9, x9, x12
	stur	x9, [x29, #-136]                ; 8-byte Folded Spill
	mov	sp, x9
	mov	x9, x8
Lloh21:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh22:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x8, x8, x12
	stur	x8, [x29, #-128]                ; 8-byte Folded Spill
	mov	sp, x8
	add	x19, x24, #1
Lloh23:
	adrp	x21, _CHAP81_RESPONSE_LEN@GOTPAGE
Lloh24:
	ldr	x21, [x21, _CHAP81_RESPONSE_LEN@GOTPAGEOFF]
	ldrsw	x25, [x21]
	add	x0, x19, x25
	bl	_malloc
	mov	x20, x0
	cbz	x0, LBB0_15
; %bb.6:
	add	w2, w25, w19
	mov	x0, x20
	mov	w1, #0
	bl	_memset
	ldr	w8, [x21]
	mov	x19, x20
	strb	w8, [x19], #1
	add	x1, x27, #1
Lloh25:
	adrp	x8, _CHAP81_CHALLENGE_LEN@GOTPAGE
Lloh26:
	ldr	x8, [x8, _CHAP81_CHALLENGE_LEN@GOTPAGEOFF]
Lloh27:
	ldr	x2, [x8]
	mov	x0, x19
	mov	x25, x1
	bl	_memcpy
	stur	x28, [x29, #-144]               ; 8-byte Folded Spill
	mov	x13, x22
	ldur	x14, [x29, #-120]               ; 8-byte Folded Reload
	cbz	x22, LBB0_11
; %bb.7:
	cmp	x13, #8
	b.hs	LBB0_24
; %bb.8:
	mov	x8, #0
LBB0_9:
	sub	x9, x13, x8
	add	x10, x14, x8
	add	x8, x26, x8, lsl #1
	add	x8, x8, #1
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w11, [x10], #1
	sturb	w11, [x8, #-1]
	strb	wzr, [x8], #2
	subs	x9, x9, #1
	b.ne	LBB0_10
LBB0_11:
Lloh28:
	adrp	x8, _CHAP81_NTRESPONSE_OFF@GOTPAGE
Lloh29:
	ldr	x8, [x8, _CHAP81_NTRESPONSE_OFF@GOTPAGEOFF]
Lloh30:
	ldrsw	x8, [x8]
	add	x22, x19, x8
	lsl	x21, x13, #1
	mov	x0, x26
	mov	x1, x21
	ldur	x27, [x29, #-136]               ; 8-byte Folded Reload
	mov	x2, x27
	bl	_NtPasswordHash
	mov	x0, x27
	ldur	x28, [x29, #-128]               ; 8-byte Folded Reload
	mov	x1, x28
	bl	_HashNtPasswordHash
	ldur	x8, [x29, #-104]                ; 8-byte Folded Reload
	add	x27, x8, #1
	mov	x0, x27
	mov	x1, x25
	mov	x2, x23
	mov	x3, x26
	mov	x4, x21
	mov	x5, x22
	bl	_GenerateNTResponse
Lloh31:
	adrp	x8, _MPPE_MasterKey@GOTPAGE
Lloh32:
	ldr	x8, [x8, _MPPE_MasterKey@GOTPAGEOFF]
Lloh33:
	ldr	w2, [x8]
	mov	x0, x28
	mov	x1, x22
	bl	_GetMasterKey
	mov	x0, x26
	mov	x1, x21
	mov	x2, x22
	mov	x3, x25
	mov	x4, x27
	mov	x5, x23
	ldur	x21, [x29, #-112]               ; 8-byte Folded Reload
	mov	x6, x21
	bl	_GenerateAuthenticatorResponse
Lloh34:
	adrp	x8, _CHAP81_AUTHRESPONSE_LEN@GOTPAGE
Lloh35:
	ldr	x8, [x8, _CHAP81_AUTHRESPONSE_LEN@GOTPAGEOFF]
Lloh36:
	ldr	x8, [x8]
	strb	wzr, [x21, x8]
Lloh37:
	adrp	x8, _CHAP81_RESPONSE_LEN@GOTPAGE
Lloh38:
	ldr	x8, [x8, _CHAP81_RESPONSE_LEN@GOTPAGEOFF]
Lloh39:
	ldrsw	x8, [x8]
	add	x0, x19, x8
	mov	x1, x23
	mov	x2, x24
	bl	_memcpy
	ldur	x8, [x29, #-144]                ; 8-byte Folded Reload
	mov	sp, x8
	b	LBB0_22
LBB0_12:
	add	x0, x24, #17
	bl	_malloc
	mov	x20, x0
	cbz	x0, LBB0_22
; %bb.13:
	add	x19, x20, #1
	mov	w8, #16
	mov	x25, x20
	strb	w8, [x25], #17
	sub	x0, x29, #96
	bl	_MD5Init
	mov	w8, #1
	sub	x9, x29, #92
	stp	x9, x8, [sp, #-16]!
	sub	x0, x29, #96
	bl	_MD5Update
	add	sp, sp, #16
	stp	x22, x21, [sp, #-16]!
	sub	x0, x29, #96
	bl	_MD5Update
	add	sp, sp, #16
	ldrsb	x8, [x28], #1
	stp	x28, x8, [sp, #-16]!
	sub	x0, x29, #96
	bl	_MD5Update
	add	sp, sp, #16
	sub	x1, x29, #96
	mov	x0, x19
	bl	_MD5Final
	mov	x0, x25
	mov	x1, x23
	mov	x2, x24
	bl	_memcpy
	b	LBB0_22
LBB0_14:
	mov	sp, x19
	b	LBB0_22
LBB0_15:
	mov	sp, x28
	b	LBB0_22
LBB0_16:
	mov	x0, x25
	mov	w1, #0
	mov	w2, #25
	bl	_memset
	add	x23, x20, #25
	ldur	x24, [x29, #-104]               ; 8-byte Folded Reload
	mov	x25, x19
	cbz	x21, LBB0_21
; %bb.17:
	cmp	x21, #8
	b.hs	LBB0_30
; %bb.18:
	mov	x8, #0
LBB0_19:
	sub	x9, x21, x8
	add	x10, x22, x8
	add	x8, x27, x8, lsl #1
	add	x8, x8, #1
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w11, [x10], #1
	sturb	w11, [x8, #-1]
	strb	wzr, [x8], #2
	subs	x9, x9, #1
	b.ne	LBB0_20
LBB0_21:
	sub	x0, x29, #96
	bl	_MD4Init
	lsl	x2, x21, #1
	sub	x0, x29, #96
	mov	x1, x27
	bl	_MD4Update
	sub	x1, x29, #96
	mov	x0, x23
	bl	_MD4Final
	add	x1, x24, #1
	mov	x0, x23
	bl	_mschap_NT
	mov	sp, x25
LBB0_22:
	ldur	x8, [x29, #-88]
Lloh40:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh41:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh42:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_50
; %bb.23:
	mov	x0, x20
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_24:
	mov	x8, #0
	sub	x9, x13, #1
	adds	x10, x9, x9
	add	x11, x26, x10
	cset	w9, hs
	cmp	x11, x26
	b.lo	LBB0_9
; %bb.25:
	tbnz	w9, #0, LBB0_9
; %bb.26:
	add	x11, x26, #1
	add	x10, x11, x10
	cmp	x10, x11
	b.lo	LBB0_9
; %bb.27:
	tbnz	w9, #0, LBB0_9
; %bb.28:
	cmp	x13, #64
	b.hs	LBB0_36
; %bb.29:
	mov	x8, #0
	b	LBB0_40
LBB0_30:
	mov	x8, #0
	sub	x9, x21, #1
	adds	x10, x9, x9
	add	x11, x27, x10
	cset	w9, hs
	cmp	x11, x27
	b.lo	LBB0_19
; %bb.31:
	tbnz	w9, #0, LBB0_19
; %bb.32:
	add	x11, x27, #1
	add	x10, x11, x10
	cmp	x10, x11
	b.lo	LBB0_19
; %bb.33:
	tbnz	w9, #0, LBB0_19
; %bb.34:
	cmp	x21, #64
	b.hs	LBB0_43
; %bb.35:
	mov	x8, #0
	b	LBB0_47
LBB0_36:
	and	x8, x13, #0xffffffffffffffc0
	add	x10, x26, #64
	add	x9, x14, #32
	movi.2d	v1, #0000000000000000
	mov	x11, x8
LBB0_37:                                ; =>This Inner Loop Header: Depth=1
	ldp	q0, q2, [x9, #-32]
	mov.16b	v3, v1
	ldp	q4, q6, [x9], #64
	sub	x12, x10, #64
	st2.16b	{ v0, v1 }, [x12]
	mov.16b	v5, v1
	sub	x12, x10, #32
	st2.16b	{ v2, v3 }, [x12]
	add	x12, x10, #128
	st2.16b	{ v4, v5 }, [x10], #32
	mov.16b	v7, v1
	st2.16b	{ v6, v7 }, [x10]
	mov	x10, x12
	subs	x11, x11, #64
	b.ne	LBB0_37
; %bb.38:
	cmp	x13, x8
	b.eq	LBB0_11
; %bb.39:
	tst	x13, #0x38
	b.eq	LBB0_9
LBB0_40:
	mov	x11, x8
	and	x8, x13, #0xfffffffffffffff8
	add	x9, x14, x11
	add	x10, x26, x11, lsl #1
	sub	x11, x11, x8
	movi.2d	v1, #0000000000000000
LBB0_41:                                ; =>This Inner Loop Header: Depth=1
	ldr	d0, [x9], #8
	st2.8b	{ v0, v1 }, [x10], #16
	adds	x11, x11, #8
	b.ne	LBB0_41
; %bb.42:
	cmp	x13, x8
	b.ne	LBB0_9
	b	LBB0_11
LBB0_43:
	and	x8, x21, #0xffffffffffffffc0
	add	x10, x27, #64
	add	x9, x22, #32
	movi.2d	v1, #0000000000000000
	mov	x11, x8
LBB0_44:                                ; =>This Inner Loop Header: Depth=1
	ldp	q0, q2, [x9, #-32]
	mov.16b	v3, v1
	ldp	q4, q6, [x9], #64
	sub	x12, x10, #64
	st2.16b	{ v0, v1 }, [x12]
	mov.16b	v5, v1
	sub	x12, x10, #32
	st2.16b	{ v2, v3 }, [x12]
	add	x12, x10, #128
	st2.16b	{ v4, v5 }, [x10], #32
	mov.16b	v7, v1
	st2.16b	{ v6, v7 }, [x10]
	mov	x10, x12
	subs	x11, x11, #64
	b.ne	LBB0_44
; %bb.45:
	cmp	x21, x8
	b.eq	LBB0_21
; %bb.46:
	tst	x21, #0x38
	b.eq	LBB0_19
LBB0_47:
	mov	x11, x8
	and	x8, x21, #0xfffffffffffffff8
	add	x9, x22, x11
	add	x10, x27, x11, lsl #1
	sub	x11, x11, x8
	movi.2d	v1, #0000000000000000
LBB0_48:                                ; =>This Inner Loop Header: Depth=1
	ldr	d0, [x9], #8
	st2.8b	{ v0, v1 }, [x10], #16
	adds	x11, x11, #8
	b.ne	LBB0_48
; %bb.49:
	cmp	x21, x8
	b.ne	LBB0_19
	b	LBB0_21
LBB0_50:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.cfi_endproc
                                        ; -- End function
	.comm	_AUTHLEN,4,2                    ; @AUTHLEN
	.comm	_MS_CHAP_RESPONSE_LEN,4,2       ; @MS_CHAP_RESPONSE_LEN
	.comm	_CHAP81_HASH_LEN,4,2            ; @CHAP81_HASH_LEN
	.comm	_CHAP81_RESPONSE_LEN,4,2        ; @CHAP81_RESPONSE_LEN
	.comm	_CHAP81_CHALLENGE_LEN,8,3       ; @CHAP81_CHALLENGE_LEN
	.comm	_CHAP81_NTRESPONSE_OFF,4,2      ; @CHAP81_NTRESPONSE_OFF
	.comm	_MPPE_MasterKey,4,2             ; @MPPE_MasterKey
	.comm	_CHAP81_AUTHRESPONSE_LEN,8,3    ; @CHAP81_AUTHRESPONSE_LEN
	.no_dead_strip	_chap_BuildAnswer
.subsections_via_symbols
