	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ntlm_phase_3                   ## -- Begin function ntlm_phase_3
	.p2align	4, 0x90
_ntlm_phase_3:                          ## @ntlm_phase_3
	.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	$3848, %rsp                     ## imm = 0xF08
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -3880(%rbp)               ## 8-byte Spill
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	%rsp, -3888(%rbp)               ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MD4_DIGEST_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	$5, %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	movq	_MD5_DIGEST_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -3856(%rbp)               ## 8-byte Spill
	movl	$64, -3844(%rbp)
	movq	(%rbx), %rax
	movq	%rax, -3872(%rbp)               ## 8-byte Spill
	movq	_HTTP_AUTH_NTLM2@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -3864(%rbp)               ## 8-byte Spill
	leaq	-576(%rbp), %rdi
	callq	_CLEAR
	movq	8(%rbx), %rdi
	callq	_strlen
	xorl	%edi, %edi
	testl	%eax, %eax
	setg	%dil
	callq	_ASSERT
	movq	16(%rbx), %rdi
	callq	_strlen
	xorl	%edi, %edi
	testl	%eax, %eax
	setg	%dil
	callq	_ASSERT
	movq	8(%rbx), %r15
	movq	%r15, %rdi
	movl	$92, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r14
	leaq	1(%rax), %rsi
	leaq	-3840(%rbp), %rdi
	movl	$127, %r15d
	movl	$127, %edx
	callq	_strncpy
	movb	$0, -3713(%rbp)
	movq	8(%rbx), %rsi
	subq	%rsi, %r14
	cmpq	$127, %r14
	cmovaeq	%r15, %r14
	leaq	-3712(%rbp), %rdi
	movq	%r14, %rdx
	callq	_strncpy
	movb	$0, -3712(%rbp,%r14)
	jmp	LBB0_3
LBB0_1:
	leaq	-3840(%rbp), %rdi
	movl	$127, %edx
	movq	%r15, %rsi
	callq	_strncpy
	movb	$0, -3713(%rbp)
	movb	$0, -3712(%rbp)
LBB0_3:
	movq	16(%rbx), %rsi
	leaq	-64(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_unicodize
                                        ## kill: def $eax killed $eax def $rax
	leal	-2(%rax), %esi
	movq	%rbx, %rdi
	movq	%r13, %rdx
	callq	_gen_md4_hash
	movq	_MD4_DIGEST_LENGTH@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	leaq	(,%rax,4), %rdi
	addq	%r13, %rdi
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	movl	$5, %edx
	callq	_memset
	leaq	-576(%rbp), %rsi
	movq	%r12, %rdi
	movl	$-1, %edx
	callq	_openvpn_base64_decode
	testl	%eax, %eax
	movq	_MD5_DIGEST_LENGTH@GOTPCREL(%rip), %r15
	js	LBB0_18
## %bb.4:
	movaps	-480(%rbp), %xmm0
	movaps	-464(%rbp), %xmm1
	movaps	%xmm1, -2448(%rbp)
	movaps	%xmm0, -2464(%rbp)
	movq	-3864(%rbp), %rax               ## 8-byte Reload
	cmpq	%rax, -3872(%rbp)               ## 8-byte Folded Reload
	jne	LBB0_13
## %bb.5:
	leaq	-3072(%rbp), %r12
	leaq	-3520(%rbp), %rbx
	leaq	-3840(%rbp), %r14
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_strcpy
	movq	%rbx, %rdi
	callq	_my_strupr
	movq	%r14, %rdi
	callq	_strlen
	movl	%eax, %ebx
	leaq	-3712(%rbp), %rdi
	callq	_strlen
	addl	%ebx, %eax
	cmpl	$127, %eax
	ja	LBB0_7
## %bb.6:
	leaq	-3520(%rbp), %rdi
	leaq	-3712(%rbp), %rsi
	callq	_strcat
	jmp	LBB0_8
LBB0_13:
	movq	%rsp, -3856(%rbp)               ## 8-byte Spill
	movq	_DES_KEY_LENGTH@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movl	(%rbx), %ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_create_des_keys
	leaq	-2464(%rbp), %rsi
	leaq	-2560(%rbp), %rdx
	movq	%r15, %rdi
	movq	%rsi, %r15
	callq	_cipher_des_encrypt_ecb
	movq	_DES_KEY_LENGTH@GOTPCREL(%rip), %rbx
	movslq	(%rbx), %rax
	leaq	-4(,%rax,4), %rdi
	addq	%r13, %rdi
	movq	%r14, %rsi
	callq	_create_des_keys
	movslq	(%rbx), %rax
	leaq	-2560(,%rax,4), %rdx
	addq	%rbp, %rdx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_cipher_des_encrypt_ecb
	movl	(%rbx), %eax
	addl	%eax, %eax
	addl	$-2, %eax
	cltq
	leaq	(,%rax,4), %rdi
	addq	%r13, %rdi
	movq	%r12, %rsi
	callq	_create_des_keys
	movslq	(%rbx), %rax
	leaq	-2560(,%rax,8), %rdx
	addq	%rbp, %rdx
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_cipher_des_encrypt_ecb
	movl	$16, %r12d
	movq	-3856(%rbp), %rsp               ## 8-byte Reload
	jmp	LBB0_14
LBB0_7:
	movq	_M_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_msg
LBB0_8:
	leaq	-3392(%rbp), %r14
	leaq	-3520(%rbp), %rbx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_unicodize
	movq	%rbx, %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	leal	(%rax,%rax), %esi
	movl	(%r15), %ecx
	movq	%r14, %rdi
	movq	%r13, %rdx
	movq	-3856(%rbp), %r13               ## 8-byte Reload
	movq	%r13, %r8
	callq	_gen_hmac_md5
	xorl	%ebx, %ebx
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$128, %edx
	callq	_memset
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, -3072(%rbp)
	movl	$0, -3056(%rbp)
	leaq	-3040(%rbp), %rdi
	callq	_gen_timestamp
	leaq	-3008(%rbp), %rdi
	callq	_gen_nonce
	movl	$0, -2976(%rbp)
	movl	-492(%rbp), %eax
	shll	$8, %eax
	orl	-496(%rbp), %eax
	movl	-488(%rbp), %ecx
	shll	$16, %ecx
	orl	%eax, %ecx
	testl	$8388608, %ecx                  ## imm = 0x800000
	je	LBB0_12
## %bb.9:
	movl	-416(%rbp), %eax
	cmpl	$96, %eax
	movl	$96, %ebx
	cmovll	%eax, %ebx
	movslq	-400(%rbp), %rax
	leal	(%rax,%rbx), %ecx
	cmpl	$512, %ecx                      ## imm = 0x200
	jbe	LBB0_11
## %bb.10:
	xorl	%ebx, %ebx
	jmp	LBB0_18
LBB0_11:
	leaq	-576(,%rax,4), %rsi
	addq	%rbp, %rsi
	leaq	-2960(%rbp), %rdi
	movl	%ebx, %edx
	callq	_memcpy
LBB0_12:
	movslq	%ebx, %r12
	movl	$0, -2960(%rbp,%r12,4)
	leaq	-3104(%rbp), %r14
	leaq	-2464(%rbp), %rsi
	movq	%r14, %rdi
	movl	$8, %edx
	callq	_memcpy
	leal	40(%r12), %esi
	movl	(%r15), %ecx
	movq	%r15, %rbx
	leaq	-3584(%rbp), %r15
	movq	%r14, %rdi
	movq	%r13, %rdx
	movq	%r15, %r8
	callq	_gen_hmac_md5
	movl	(%rbx), %edx
	leaq	-3136(%rbp), %rdi
	movq	%r15, %rsi
	callq	_memcpy
	addl	$48, %r12d
LBB0_14:
	leaq	-2432(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$1856, %edx                     ## imm = 0x740
	callq	_memset
	leaq	l_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcpy
	movl	$3, -2400(%rbp)
	movq	-3864(%rbp), %rax               ## 8-byte Reload
	cmpq	%rax, -3872(%rbp)               ## 8-byte Folded Reload
	jne	LBB0_16
## %bb.15:
	leaq	-3136(%rbp), %rsi
	leaq	-2432(%rbp), %rcx
	leaq	-3844(%rbp), %r8
	movl	$20, %edi
	movl	%r12d, %edx
	jmp	LBB0_17
LBB0_16:
	leaq	-2560(%rbp), %rsi
	leaq	-2432(%rbp), %rcx
	leaq	-3844(%rbp), %r8
	movl	$20, %edi
	movl	$24, %edx
LBB0_17:
	xorl	%eax, %eax
	callq	_add_security_buffer
	leaq	-3840(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_strlen
	leaq	-2432(%rbp), %r14
	leaq	-3844(%rbp), %r15
	movl	$36, %edi
	movq	%rbx, %rsi
	movl	%eax, %edx
	movq	%r14, %rcx
	movq	%r15, %r8
	xorl	%eax, %eax
	callq	_add_security_buffer
	leaq	-3712(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_strlen
	movl	$28, %edi
	movq	%rbx, %rsi
	movl	%eax, %edx
	movq	%r14, %rcx
	movq	%r15, %r8
	xorl	%eax, %eax
	callq	_add_security_buffer
	movl	-3844(%rbp), %esi
	movl	%esi, -2368(%rbp)
	movl	%esi, -2240(%rbp)
	movl	%esi, -2208(%rbp)
	movabsq	$8589934594, %rax               ## imm = 0x200000002
	movq	%rax, -2192(%rbp)
	movq	%r14, %rdi
	movq	-3880(%rbp), %rdx               ## 8-byte Reload
	callq	_make_base64_string2
	movq	%rax, %rbx
LBB0_18:
	movq	-3888(%rbp), %rsp               ## 8-byte Reload
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_20
## %bb.19:
	movq	%rbx, %rax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MD4_DIGEST_LENGTH,4,2          ## @MD4_DIGEST_LENGTH
	.comm	_MD5_DIGEST_LENGTH,4,2          ## @MD5_DIGEST_LENGTH
	.comm	_HTTP_AUTH_NTLM2,8,3            ## @HTTP_AUTH_NTLM2
	.comm	_M_INFO,4,2                     ## @M_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Warning: Username or domain too long"

	.comm	_DES_KEY_LENGTH,4,2             ## @DES_KEY_LENGTH
	.section	__TEXT,__const
l_.str.1:                               ## @.str.1
	.asciz	"NTLMSSP\000"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ntlm_phase_3                   ; -- Begin function ntlm_phase_3
	.p2align	2
_ntlm_phase_3:                          ; @ntlm_phase_3
	.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, #3856
	mov	x19, sp
	mov	x23, x1
	mov	x24, x0
	mov	x8, sp
	stp	x2, x8, [x19, #8]               ; 16-byte Folded Spill
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-104]
Lloh3:
	adrp	x27, _MD4_DIGEST_LENGTH@GOTPAGE
Lloh4:
	ldr	x27, [x27, _MD4_DIGEST_LENGTH@GOTPAGEOFF]
	ldr	w8, [x27]
	add	w8, w8, #5
	lsl	x8, x8, #2
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x22, x9, x8
	mov	sp, x22
Lloh7:
	adrp	x8, _MD5_DIGEST_LENGTH@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MD5_DIGEST_LENGTH@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh10:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh11:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x21, x9, x8
	mov	sp, x21
	mov	w8, #64
	str	w8, [x19, #28]
	ldr	x28, [x0]
Lloh12:
	adrp	x8, _HTTP_AUTH_NTLM2@GOTPAGE
Lloh13:
	ldr	x8, [x8, _HTTP_AUTH_NTLM2@GOTPAGEOFF]
Lloh14:
	ldr	x20, [x8]
	add	x0, x19, #3304
	bl	_CLEAR
	ldr	x0, [x24, #8]
	bl	_strlen
	cmp	w0, #0
	cset	w0, gt
	bl	_ASSERT
	ldr	x0, [x24, #16]
	bl	_strlen
	cmp	w0, #0
	cset	w0, gt
	bl	_ASSERT
	ldr	x25, [x24, #8]
	mov	x0, x25
	mov	w1, #92
	bl	_strchr
	cbz	x0, LBB0_2
; %bb.1:
	mov	x26, x0
	add	x1, x0, #1
	mov	w25, #127
	add	x0, x19, #32
	mov	w2, #127
	bl	_strncpy
	strb	wzr, [x19, #159]
	ldr	x1, [x24, #8]
	sub	x8, x26, x1
	cmp	x8, #127
	csel	x25, x8, x25, lo
	add	x26, x19, #160
	add	x0, x19, #160
	mov	x2, x25
	bl	_strncpy
	strb	wzr, [x26, x25]
	b	LBB0_3
LBB0_2:
	add	x0, x19, #32
	mov	x1, x25
	mov	w2, #127
	bl	_strncpy
	strb	wzr, [x19, #159]
	strb	wzr, [x19, #160]
LBB0_3:
	ldr	x1, [x24, #16]
	sub	x0, x29, #120
	bl	_unicodize
	sub	w1, w0, #2
	sub	x0, x29, #120
	mov	x2, x22
	bl	_gen_md4_hash
	ldrsw	x8, [x27]
	add	x0, x22, x8, lsl #2
	mov	w1, #0
	mov	w2, #5
	bl	_memset
	add	x1, x19, #3304
	mov	x0, x23
	mov	w2, #-1
	bl	_openvpn_base64_decode
	tbnz	w0, #31, LBB0_11
; %bb.4:
	add	x25, x19, #736
	add	x8, x19, #3304
	ldp	q0, q1, [x8, #96]
	stp	q0, q1, [x25, #672]
	cmp	x28, x20
	b.ne	LBB0_7
; %bb.5:
	add	x23, x25, #64
	add	x0, x19, #352
	add	x1, x19, #32
	bl	_strcpy
	add	x0, x19, #352
	bl	_my_strupr
	add	x0, x19, #32
	bl	_strlen
	mov	x24, x0
	add	x0, x19, #160
	bl	_strlen
	add	w8, w0, w24
	cmp	w8, #127
	b.hi	LBB0_8
; %bb.6:
	add	x0, x19, #352
	add	x1, x19, #160
	bl	_strcat
	b	LBB0_9
LBB0_7:
	mov	x26, sp
Lloh15:
	adrp	x27, _DES_KEY_LENGTH@GOTPAGE
Lloh16:
	ldr	x27, [x27, _DES_KEY_LENGTH@GOTPAGEOFF]
	ldr	w8, [x27]
	mov	x9, x8
Lloh17:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh18:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x21, x9, x8
	mov	sp, x21
	ldr	w8, [x27]
	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	x23, x9, x12
	mov	sp, x23
	mov	x9, x8
Lloh21:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh22:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x24, x8, x12
	mov	sp, x24
	mov	x0, x22
	mov	x1, x21
	bl	_create_des_keys
	add	x25, x19, #1312
	add	x1, x19, #1408
	add	x2, x19, #1312
	mov	x0, x21
	bl	_cipher_des_encrypt_ecb
	ldrsw	x8, [x27]
	add	x8, x22, x8, lsl #2
	sub	x0, x8, #4
	mov	x1, x23
	bl	_create_des_keys
	ldrsw	x8, [x27]
	add	x2, x25, x8, lsl #2
	add	x1, x19, #1408
	mov	x0, x23
	bl	_cipher_des_encrypt_ecb
	ldr	w8, [x27]
	lsl	w8, w8, #1
	sub	w8, w8, #2
	add	x0, x22, w8, sxtw #2
	mov	x1, x24
	bl	_create_des_keys
	ldrsw	x8, [x27]
	add	x2, x25, x8, lsl #3
	add	x1, x19, #1408
	mov	x0, x24
	bl	_cipher_des_encrypt_ecb
	mov	w21, #16
	mov	sp, x26
	b	LBB0_14
LBB0_8:
Lloh23:
	adrp	x8, _M_INFO@GOTPAGE
Lloh24:
	ldr	x8, [x8, _M_INFO@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
Lloh26:
	adrp	x1, l_.str@PAGE
Lloh27:
	add	x1, x1, l_.str@PAGEOFF
	bl	_msg
LBB0_9:
Lloh28:
	adrp	x26, _MD5_DIGEST_LENGTH@GOTPAGE
Lloh29:
	ldr	x26, [x26, _MD5_DIGEST_LENGTH@GOTPAGEOFF]
	add	x0, x19, #480
	add	x1, x19, #352
	bl	_unicodize
	add	x0, x19, #352
	bl	_strlen
	lsl	w1, w0, #1
	ldr	w3, [x26]
	add	x0, x19, #480
	mov	x2, x22
	mov	x4, x21
	bl	_gen_hmac_md5
	mov	x0, x23
	mov	w1, #0
	mov	w2, #128
	bl	_memset
	movi.2s	v0, #1
	str	d0, [x25, #64]
	str	wzr, [x19, #816]
	add	x24, x19, #736
	add	x0, x24, #96
	bl	_gen_timestamp
	add	x0, x24, #128
	bl	_gen_nonce
	mov	w22, #0
	str	wzr, [x19, #896]
	ldr	w8, [x19, #3384]
	ldr	w9, [x19, #3388]
	orr	w8, w8, w9, lsl #8
	ldr	w9, [x19, #3392]
	orr	w8, w8, w9, lsl #16
	tbz	w8, #23, LBB0_13
; %bb.10:
	mov	w9, #96
	ldr	w10, [x19, #3464]
	ldrsw	x8, [x19, #3480]
	cmp	w10, #96
	csel	w22, w10, w9, lt
	add	w9, w8, w22
	cmp	w9, #512
	b.ls	LBB0_12
LBB0_11:
	mov	x0, #0
	b	LBB0_18
LBB0_12:
	add	x9, x19, #3304
	add	x1, x9, x8, lsl #2
	add	x8, x19, #736
	add	x0, x8, #176
	mov	x2, x22
	bl	_memcpy
LBB0_13:
	add	w8, w22, #28
	str	wzr, [x23, w8, sxtw #2]
	add	x23, x24, #32
	add	x1, x19, #1408
	mov	x0, x23
	mov	w2, #8
	bl	_memcpy
	add	w1, w22, #40
	ldr	w3, [x26]
	add	x4, x19, #288
	mov	x0, x23
	mov	x2, x21
	bl	_gen_hmac_md5
	ldr	w2, [x26]
	add	x0, x19, #736
	add	x1, x19, #288
	bl	_memcpy
	add	w21, w22, #48
LBB0_14:
	add	x22, x19, #1448
	add	x0, x19, #1448
	mov	w1, #0
	mov	w2, #1856
	bl	_memset
Lloh30:
	adrp	x1, l_.str.1@PAGE
Lloh31:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x0, x19, #1448
	bl	_strcpy
	mov	w8, #3
	str	w8, [x19, #1480]
	sub	sp, sp, #32
	add	x8, x19, #28
	cmp	x28, x20
	b.ne	LBB0_16
; %bb.15:
	stp	x22, x8, [sp, #16]
	add	x8, x19, #736
	stp	x8, x21, [sp]
	b	LBB0_17
LBB0_16:
	stp	x22, x8, [sp, #16]
	mov	w8, #24
	add	x9, x19, #1312
	stp	x9, x8, [sp]
LBB0_17:
	mov	w0, #20
	bl	_add_security_buffer
	add	sp, sp, #32
	add	x23, x19, #736
	add	x20, x19, #32
	add	x0, x19, #32
	bl	_strlen
                                        ; kill: def $w0 killed $w0 def $x0
	sub	sp, sp, #32
	add	x21, x19, #28
	add	x22, x19, #1448
	stp	x22, x21, [sp, #16]
	stp	x20, x0, [sp]
	mov	w0, #36
	bl	_add_security_buffer
	add	sp, sp, #32
	add	x20, x19, #160
	add	x0, x19, #160
	bl	_strlen
                                        ; kill: def $w0 killed $w0 def $x0
	sub	sp, sp, #32
	stp	x22, x21, [sp, #16]
	stp	x20, x0, [sp]
	mov	w0, #28
	bl	_add_security_buffer
	add	sp, sp, #32
	ldr	w1, [x19, #28]
	str	w1, [x19, #1512]
	str	w1, [x19, #1640]
	str	w1, [x19, #1672]
	movi.2s	v0, #2
	str	d0, [x23, #952]
	add	x0, x19, #1448
	ldr	x2, [x19, #8]                   ; 8-byte Folded Reload
	bl	_make_base64_string2
LBB0_18:
	ldr	x8, [x19, #16]                  ; 8-byte Folded Reload
	mov	sp, x8
	ldur	x8, [x29, #-104]
Lloh32:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh33:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh34:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_20
; %bb.19:
	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_20:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_MD4_DIGEST_LENGTH,4,2          ; @MD4_DIGEST_LENGTH
	.comm	_MD5_DIGEST_LENGTH,4,2          ; @MD5_DIGEST_LENGTH
	.comm	_HTTP_AUTH_NTLM2,8,3            ; @HTTP_AUTH_NTLM2
	.comm	_M_INFO,4,2                     ; @M_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Warning: Username or domain too long"

	.comm	_DES_KEY_LENGTH,4,2             ; @DES_KEY_LENGTH
	.section	__TEXT,__const
l_.str.1:                               ; @.str.1
	.asciz	"NTLMSSP\000"

.subsections_via_symbols
