	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_ms_funcs
_test_ms_funcs:                         ## @test_ms_funcs
	.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	$696, %rsp                      ## imm = 0x2B8
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movaps	l___const.test_ms_funcs.auth_challenge+48(%rip), %xmm0
	movaps	%xmm0, -64(%rbp)
	movaps	l___const.test_ms_funcs.auth_challenge+32(%rip), %xmm0
	movaps	%xmm0, -80(%rbp)
	movaps	l___const.test_ms_funcs.auth_challenge+16(%rip), %xmm0
	movaps	%xmm0, -96(%rbp)
	movaps	l___const.test_ms_funcs.auth_challenge(%rip), %xmm0
	movaps	%xmm0, -112(%rbp)
	movaps	l___const.test_ms_funcs.peer_challenge+48(%rip), %xmm0
	movaps	%xmm0, -128(%rbp)
	movaps	l___const.test_ms_funcs.peer_challenge+32(%rip), %xmm0
	movaps	%xmm0, -144(%rbp)
	movaps	l___const.test_ms_funcs.peer_challenge+16(%rip), %xmm0
	movaps	%xmm0, -160(%rbp)
	movaps	l___const.test_ms_funcs.peer_challenge(%rip), %xmm0
	movaps	%xmm0, -176(%rbp)
	movaps	l___const.test_ms_funcs.password_hash+48(%rip), %xmm0
	movaps	%xmm0, -192(%rbp)
	movaps	l___const.test_ms_funcs.password_hash+32(%rip), %xmm0
	movaps	%xmm0, -208(%rbp)
	movaps	l___const.test_ms_funcs.password_hash+16(%rip), %xmm0
	movaps	%xmm0, -224(%rbp)
	movaps	l___const.test_ms_funcs.password_hash(%rip), %xmm0
	movaps	%xmm0, -240(%rbp)
	movaps	l___const.test_ms_funcs.nt_response+80(%rip), %xmm0
	movaps	%xmm0, -256(%rbp)
	movaps	l___const.test_ms_funcs.nt_response+64(%rip), %xmm0
	movaps	%xmm0, -272(%rbp)
	movaps	l___const.test_ms_funcs.nt_response+48(%rip), %xmm0
	movaps	%xmm0, -288(%rbp)
	movaps	l___const.test_ms_funcs.nt_response+32(%rip), %xmm0
	movaps	%xmm0, -304(%rbp)
	movaps	l___const.test_ms_funcs.nt_response+16(%rip), %xmm0
	movaps	%xmm0, -320(%rbp)
	movaps	l___const.test_ms_funcs.nt_response(%rip), %xmm0
	movaps	%xmm0, -336(%rbp)
	movaps	l___const.test_ms_funcs.password_hash_hash+48(%rip), %xmm0
	movaps	%xmm0, -352(%rbp)
	movaps	l___const.test_ms_funcs.password_hash_hash+32(%rip), %xmm0
	movaps	%xmm0, -368(%rbp)
	movaps	l___const.test_ms_funcs.password_hash_hash+16(%rip), %xmm0
	movaps	%xmm0, -384(%rbp)
	movaps	l___const.test_ms_funcs.password_hash_hash(%rip), %xmm0
	movaps	%xmm0, -400(%rbp)
	movaps	l___const.test_ms_funcs.authenticator_response+64(%rip), %xmm0
	movaps	%xmm0, -416(%rbp)
	movaps	l___const.test_ms_funcs.authenticator_response+48(%rip), %xmm0
	movaps	%xmm0, -432(%rbp)
	movaps	l___const.test_ms_funcs.authenticator_response+32(%rip), %xmm0
	movaps	%xmm0, -448(%rbp)
	movaps	l___const.test_ms_funcs.authenticator_response+16(%rip), %xmm0
	movaps	%xmm0, -464(%rbp)
	movaps	l___const.test_ms_funcs.authenticator_response(%rip), %xmm0
	movaps	%xmm0, -480(%rbp)
	movaps	l___const.test_ms_funcs.master_key+48(%rip), %xmm0
	movaps	%xmm0, -496(%rbp)
	movaps	l___const.test_ms_funcs.master_key+32(%rip), %xmm0
	movaps	%xmm0, -512(%rbp)
	movaps	l___const.test_ms_funcs.master_key+16(%rip), %xmm0
	movaps	%xmm0, -528(%rbp)
	movaps	l___const.test_ms_funcs.master_key(%rip), %xmm0
	movaps	%xmm0, -544(%rbp)
	movaps	l___const.test_ms_funcs.send_start_key+48(%rip), %xmm0
	movaps	%xmm0, -560(%rbp)
	movaps	l___const.test_ms_funcs.send_start_key+32(%rip), %xmm0
	movaps	%xmm0, -576(%rbp)
	movaps	l___const.test_ms_funcs.send_start_key+16(%rip), %xmm0
	movaps	%xmm0, -592(%rbp)
	movaps	l___const.test_ms_funcs.send_start_key(%rip), %xmm0
	movaps	%xmm0, -608(%rbp)
	leaq	L_.str.1(%rip), %rbx
	movq	%rbx, %rdi
	callq	_os_strlen
	leaq	-736(%rbp), %r14
	movq	%rbx, %rdi
	movl	%eax, %esi
	movq	%r14, %rdx
	callq	_nt_password_hash
	testq	%rax, %rax
	jne	LBB0_3
## %bb.1:
	leaq	-240(%rbp), %rdi
	leaq	-736(%rbp), %rsi
	movl	$64, %edx
	callq	_os_memcmp
	testq	%rax, %rax
	je	LBB0_2
LBB0_3:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movl	$1, %r15d
LBB0_4:
	leaq	L_.str(%rip), %r12
	movq	%r12, %rdi
	callq	_os_strlen
	movl	%eax, %ebx
	leaq	L_.str.1(%rip), %r13
	movq	%r13, %rdi
	callq	_os_strlen
	subq	$8, %rsp
	leaq	-112(%rbp), %rdi
	leaq	-176(%rbp), %rsi
	movq	%r12, %rdx
	movl	%ebx, %ecx
	movq	%r13, %r8
	movl	%eax, %r9d
	pushq	%r14
	callq	_generate_nt_response
	addq	$16, %rsp
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	leaq	-336(%rbp), %rdi
	leaq	-736(%rbp), %rsi
	movl	$96, %edx
	callq	_os_memcmp
	testq	%rax, %rax
	je	LBB0_7
LBB0_6:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	incl	%r15d
LBB0_7:
	leaq	-240(%rbp), %rdi
	leaq	-736(%rbp), %r14
	movq	%r14, %rsi
	callq	_hash_nt_password_hash
	testq	%rax, %rax
	jne	LBB0_9
## %bb.8:
	leaq	-400(%rbp), %rdi
	leaq	-736(%rbp), %rsi
	movl	$64, %edx
	callq	_os_memcmp
	testq	%rax, %rax
	je	LBB0_10
LBB0_9:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	incl	%r15d
LBB0_10:
	leaq	L_.str.1(%rip), %r12
	movq	%r12, %rdi
	callq	_os_strlen
	movl	%eax, %ebx
	leaq	L_.str(%rip), %r13
	movq	%r13, %rdi
	callq	_os_strlen
	leaq	-336(%rbp), %r10
	leaq	-176(%rbp), %rdx
	leaq	-112(%rbp), %rcx
	movq	%r12, %rdi
	movl	%ebx, %esi
	movq	%r13, %r8
	movl	%eax, %r9d
	pushq	%r14
	pushq	%r10
	callq	_generate_authenticator_response
	addq	$16, %rsp
	testq	%rax, %rax
	jne	LBB0_12
## %bb.11:
	leaq	-480(%rbp), %rdi
	leaq	-736(%rbp), %rsi
	movl	$80, %edx
	callq	_os_memcmp
	testq	%rax, %rax
	je	LBB0_13
LBB0_12:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	incl	%r15d
LBB0_13:
	leaq	-400(%rbp), %rdi
	leaq	-336(%rbp), %rsi
	leaq	-736(%rbp), %rdx
	callq	_get_master_key
	testq	%rax, %rax
	jne	LBB0_15
## %bb.14:
	leaq	-544(%rbp), %rdi
	leaq	-736(%rbp), %rsi
	movl	$64, %edx
	callq	_os_memcmp
	testq	%rax, %rax
	je	LBB0_16
LBB0_15:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.6(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	incl	%r15d
LBB0_16:
	leaq	-544(%rbp), %rdi
	leaq	-736(%rbp), %rsi
	movl	$64, %edx
	movl	$1, %ecx
	movl	$1, %r8d
	callq	_get_asymetric_start_key
	testq	%rax, %rax
	jne	LBB0_18
## %bb.17:
	leaq	-608(%rbp), %rdi
	leaq	-736(%rbp), %rsi
	movl	$64, %edx
	callq	_os_memcmp
	testq	%rax, %rax
	je	LBB0_19
LBB0_18:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.7(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	incl	%r15d
LBB0_20:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.8(%rip), %rsi
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_wpa_printf
LBB0_22:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_24
## %bb.23:
	movl	%r15d, %eax
	addq	$696, %rsp                      ## imm = 0x2B8
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	xorl	%r15d, %r15d
	jmp	LBB0_4
LBB0_19:
	testl	%r15d, %r15d
	jne	LBB0_20
## %bb.21:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.9(%rip), %rsi
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_22
LBB0_24:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"User"

L_.str.1:                               ## @.str.1
	.asciz	"clientPass"

	.section	__TEXT,__const
	.p2align	4                               ## @__const.test_ms_funcs.auth_challenge
l___const.test_ms_funcs.auth_challenge:
	.long	91                              ## 0x5b
	.long	93                              ## 0x5d
	.long	124                             ## 0x7c
	.long	125                             ## 0x7d
	.long	123                             ## 0x7b
	.long	63                              ## 0x3f
	.long	47                              ## 0x2f
	.long	62                              ## 0x3e
	.long	60                              ## 0x3c
	.long	44                              ## 0x2c
	.long	96                              ## 0x60
	.long	33                              ## 0x21
	.long	50                              ## 0x32
	.long	38                              ## 0x26
	.long	38                              ## 0x26
	.long	40                              ## 0x28

	.p2align	4                               ## @__const.test_ms_funcs.peer_challenge
l___const.test_ms_funcs.peer_challenge:
	.long	33                              ## 0x21
	.long	64                              ## 0x40
	.long	35                              ## 0x23
	.long	36                              ## 0x24
	.long	37                              ## 0x25
	.long	94                              ## 0x5e
	.long	38                              ## 0x26
	.long	42                              ## 0x2a
	.long	40                              ## 0x28
	.long	41                              ## 0x29
	.long	95                              ## 0x5f
	.long	43                              ## 0x2b
	.long	58                              ## 0x3a
	.long	51                              ## 0x33
	.long	124                             ## 0x7c
	.long	126                             ## 0x7e

	.p2align	4                               ## @__const.test_ms_funcs.password_hash
l___const.test_ms_funcs.password_hash:
	.long	68                              ## 0x44
	.long	235                             ## 0xeb
	.long	186                             ## 0xba
	.long	141                             ## 0x8d
	.long	83                              ## 0x53
	.long	18                              ## 0x12
	.long	184                             ## 0xb8
	.long	214                             ## 0xd6
	.long	17                              ## 0x11
	.long	71                              ## 0x47
	.long	68                              ## 0x44
	.long	17                              ## 0x11
	.long	245                             ## 0xf5
	.long	105                             ## 0x69
	.long	137                             ## 0x89
	.long	174                             ## 0xae

	.p2align	4                               ## @__const.test_ms_funcs.nt_response
l___const.test_ms_funcs.nt_response:
	.long	130                             ## 0x82
	.long	48                              ## 0x30
	.long	158                             ## 0x9e
	.long	205                             ## 0xcd
	.long	141                             ## 0x8d
	.long	112                             ## 0x70
	.long	139                             ## 0x8b
	.long	94                              ## 0x5e
	.long	160                             ## 0xa0
	.long	143                             ## 0x8f
	.long	170                             ## 0xaa
	.long	57                              ## 0x39
	.long	129                             ## 0x81
	.long	205                             ## 0xcd
	.long	131                             ## 0x83
	.long	84                              ## 0x54
	.long	66                              ## 0x42
	.long	51                              ## 0x33
	.long	17                              ## 0x11
	.long	74                              ## 0x4a
	.long	61                              ## 0x3d
	.long	133                             ## 0x85
	.long	214                             ## 0xd6
	.long	223                             ## 0xdf

	.p2align	4                               ## @__const.test_ms_funcs.password_hash_hash
l___const.test_ms_funcs.password_hash_hash:
	.long	65                              ## 0x41
	.long	192                             ## 0xc0
	.long	12                              ## 0xc
	.long	88                              ## 0x58
	.long	75                              ## 0x4b
	.long	210                             ## 0xd2
	.long	217                             ## 0xd9
	.long	28                              ## 0x1c
	.long	64                              ## 0x40
	.long	23                              ## 0x17
	.long	162                             ## 0xa2
	.long	161                             ## 0xa1
	.long	47                              ## 0x2f
	.long	165                             ## 0xa5
	.long	159                             ## 0x9f
	.long	63                              ## 0x3f

	.p2align	4                               ## @__const.test_ms_funcs.authenticator_response
l___const.test_ms_funcs.authenticator_response:
	.long	64                              ## 0x40
	.long	122                             ## 0x7a
	.long	85                              ## 0x55
	.long	137                             ## 0x89
	.long	17                              ## 0x11
	.long	95                              ## 0x5f
	.long	208                             ## 0xd0
	.long	214                             ## 0xd6
	.long	32                              ## 0x20
	.long	159                             ## 0x9f
	.long	81                              ## 0x51
	.long	15                              ## 0xf
	.long	233                             ## 0xe9
	.long	192                             ## 0xc0
	.long	69                              ## 0x45
	.long	102                             ## 0x66
	.long	147                             ## 0x93
	.long	44                              ## 0x2c
	.long	218                             ## 0xda
	.long	86                              ## 0x56

	.p2align	4                               ## @__const.test_ms_funcs.master_key
l___const.test_ms_funcs.master_key:
	.long	253                             ## 0xfd
	.long	236                             ## 0xec
	.long	227                             ## 0xe3
	.long	113                             ## 0x71
	.long	122                             ## 0x7a
	.long	140                             ## 0x8c
	.long	131                             ## 0x83
	.long	140                             ## 0x8c
	.long	179                             ## 0xb3
	.long	136                             ## 0x88
	.long	229                             ## 0xe5
	.long	39                              ## 0x27
	.long	174                             ## 0xae
	.long	60                              ## 0x3c
	.long	221                             ## 0xdd
	.long	49                              ## 0x31

	.p2align	4                               ## @__const.test_ms_funcs.send_start_key
l___const.test_ms_funcs.send_start_key:
	.long	139                             ## 0x8b
	.long	124                             ## 0x7c
	.long	220                             ## 0xdc
	.long	20                              ## 0x14
	.long	155                             ## 0x9b
	.long	153                             ## 0x99
	.long	58                              ## 0x3a
	.long	27                              ## 0x1b
	.long	161                             ## 0xa1
	.long	24                              ## 0x18
	.long	203                             ## 0xcb
	.long	21                              ## 0x15
	.long	63                              ## 0x3f
	.long	86                              ## 0x56
	.long	220                             ## 0xdc
	.long	203                             ## 0xcb

	.comm	_MSG_ERROR,4,2                  ## @MSG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str.2:                               ## @.str.2
	.asciz	"nt_password_hash failed"

L_.str.3:                               ## @.str.3
	.asciz	"generate_nt_response failed"

L_.str.4:                               ## @.str.4
	.asciz	"hash_nt_password_hash failed"

L_.str.5:                               ## @.str.5
	.asciz	"generate_authenticator_response failed"

L_.str.6:                               ## @.str.6
	.asciz	"get_master_key failed"

L_.str.7:                               ## @.str.7
	.asciz	"get_asymetric_start_key failed"

L_.str.8:                               ## @.str.8
	.asciz	"ms_funcs: %d errors"

	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
L_.str.9:                               ## @.str.9
	.asciz	"ms_funcs test cases passed"

	.no_dead_strip	_test_ms_funcs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_ms_funcs
_test_ms_funcs:                         ; @test_ms_funcs
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	sub	sp, sp, #720
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x8, l___const.test_ms_funcs.auth_challenge@PAGE
Lloh4:
	add	x8, x8, l___const.test_ms_funcs.auth_challenge@PAGEOFF
	ldp	q0, q1, [x8]
	stp	q0, q1, [x29, #-128]
	ldp	q0, q1, [x8, #32]
	stp	q0, q1, [x29, #-96]
Lloh5:
	adrp	x8, l___const.test_ms_funcs.peer_challenge@PAGE
Lloh6:
	add	x8, x8, l___const.test_ms_funcs.peer_challenge@PAGEOFF
	ldp	q0, q1, [x8]
	stp	q0, q1, [x29, #-192]
	ldp	q0, q1, [x8, #32]
	stp	q0, q1, [x29, #-160]
Lloh7:
	adrp	x8, l___const.test_ms_funcs.password_hash@PAGE
Lloh8:
	add	x8, x8, l___const.test_ms_funcs.password_hash@PAGEOFF
	ldp	q0, q1, [x8]
	stp	q0, q1, [x29, #-256]
	ldp	q0, q1, [x8, #32]
	stp	q0, q1, [x29, #-224]
Lloh9:
	adrp	x8, l___const.test_ms_funcs.nt_response@PAGE
Lloh10:
	add	x8, x8, l___const.test_ms_funcs.nt_response@PAGEOFF
	ldp	q0, q1, [x8, #32]
	stp	q0, q1, [sp, #448]
	ldp	q0, q1, [x8, #64]
	stp	q0, q1, [sp, #480]
	ldp	q0, q1, [x8]
	stp	q0, q1, [sp, #416]
Lloh11:
	adrp	x8, l___const.test_ms_funcs.password_hash_hash@PAGE
Lloh12:
	add	x8, x8, l___const.test_ms_funcs.password_hash_hash@PAGEOFF
	ldp	q0, q1, [x8]
	stp	q0, q1, [sp, #352]
	ldp	q0, q1, [x8, #32]
	stp	q0, q1, [sp, #384]
Lloh13:
	adrp	x8, l___const.test_ms_funcs.authenticator_response@PAGE
Lloh14:
	add	x8, x8, l___const.test_ms_funcs.authenticator_response@PAGEOFF
	ldp	q0, q1, [x8, #32]
	stp	q0, q1, [sp, #304]
	ldr	q0, [x8, #64]
	str	q0, [sp, #336]
	ldp	q1, q0, [x8]
	stp	q1, q0, [sp, #272]
Lloh15:
	adrp	x8, l___const.test_ms_funcs.master_key@PAGE
Lloh16:
	add	x8, x8, l___const.test_ms_funcs.master_key@PAGEOFF
	ldp	q0, q1, [x8]
	stp	q0, q1, [sp, #208]
	ldp	q0, q1, [x8, #32]
	stp	q0, q1, [sp, #240]
Lloh17:
	adrp	x8, l___const.test_ms_funcs.send_start_key@PAGE
Lloh18:
	add	x8, x8, l___const.test_ms_funcs.send_start_key@PAGEOFF
	ldp	q0, q1, [x8]
	stp	q0, q1, [sp, #144]
	ldp	q0, q1, [x8, #32]
	stp	q0, q1, [sp, #176]
Lloh19:
	adrp	x19, l_.str.1@PAGE
Lloh20:
	add	x19, x19, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_os_strlen
	mov	x1, x0
	add	x2, sp, #16
	mov	x0, x19
	bl	_nt_password_hash
Lloh21:
	adrp	x23, _MSG_ERROR@GOTPAGE
Lloh22:
	ldr	x23, [x23, _MSG_ERROR@GOTPAGEOFF]
	cbnz	x0, LBB0_2
; %bb.1:
	sub	x0, x29, #256
	add	x1, sp, #16
	mov	w2, #64
	bl	_os_memcmp
	cbz	x0, LBB0_21
LBB0_2:
	ldr	w0, [x23]
Lloh23:
	adrp	x1, l_.str.2@PAGE
Lloh24:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_wpa_printf
	mov	w19, #1
LBB0_3:
Lloh25:
	adrp	x20, l_.str@PAGE
Lloh26:
	add	x20, x20, l_.str@PAGEOFF
	mov	x0, x20
	bl	_os_strlen
	mov	x21, x0
Lloh27:
	adrp	x22, l_.str.1@PAGE
Lloh28:
	add	x22, x22, l_.str.1@PAGEOFF
	mov	x0, x22
	bl	_os_strlen
	mov	x5, x0
	sub	x0, x29, #128
	sub	x1, x29, #192
	add	x6, sp, #16
	mov	x2, x20
	mov	x3, x21
	mov	x4, x22
	bl	_generate_nt_response
	cbnz	x0, LBB0_5
; %bb.4:
	add	x0, sp, #416
	add	x1, sp, #16
	mov	w2, #96
	bl	_os_memcmp
	cbz	x0, LBB0_6
LBB0_5:
	ldr	w0, [x23]
Lloh29:
	adrp	x1, l_.str.3@PAGE
Lloh30:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_wpa_printf
	add	w19, w19, #1
LBB0_6:
	sub	x0, x29, #256
	add	x1, sp, #16
	bl	_hash_nt_password_hash
	cbnz	x0, LBB0_8
; %bb.7:
	add	x0, sp, #352
	add	x1, sp, #16
	mov	w2, #64
	bl	_os_memcmp
	cbz	x0, LBB0_9
LBB0_8:
	ldr	w0, [x23]
Lloh31:
	adrp	x1, l_.str.4@PAGE
Lloh32:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_wpa_printf
	add	w19, w19, #1
LBB0_9:
Lloh33:
	adrp	x20, l_.str.1@PAGE
Lloh34:
	add	x20, x20, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_os_strlen
	mov	x21, x0
Lloh35:
	adrp	x22, l_.str@PAGE
Lloh36:
	add	x22, x22, l_.str@PAGEOFF
	mov	x0, x22
	bl	_os_strlen
	mov	x5, x0
	sub	x2, x29, #192
	sub	x3, x29, #128
	add	x6, sp, #416
	add	x7, sp, #16
	mov	x0, x20
	mov	x1, x21
	mov	x4, x22
	bl	_generate_authenticator_response
	cbnz	x0, LBB0_11
; %bb.10:
	add	x0, sp, #272
	add	x1, sp, #16
	mov	w2, #80
	bl	_os_memcmp
	cbz	x0, LBB0_12
LBB0_11:
	ldr	w0, [x23]
Lloh37:
	adrp	x1, l_.str.5@PAGE
Lloh38:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_wpa_printf
	add	w19, w19, #1
LBB0_12:
	add	x0, sp, #352
	add	x1, sp, #416
	add	x2, sp, #16
	bl	_get_master_key
	cbnz	x0, LBB0_14
; %bb.13:
	add	x0, sp, #208
	add	x1, sp, #16
	mov	w2, #64
	bl	_os_memcmp
	cbz	x0, LBB0_15
LBB0_14:
	ldr	w0, [x23]
Lloh39:
	adrp	x1, l_.str.6@PAGE
Lloh40:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_wpa_printf
	add	w19, w19, #1
LBB0_15:
	add	x0, sp, #208
	add	x1, sp, #16
	mov	w2, #64
	mov	w3, #1
	mov	w4, #1
	bl	_get_asymetric_start_key
	cbnz	x0, LBB0_17
; %bb.16:
	add	x0, sp, #144
	add	x1, sp, #16
	mov	w2, #64
	bl	_os_memcmp
	cbz	x0, LBB0_22
LBB0_17:
	ldr	w0, [x23]
Lloh41:
	adrp	x1, l_.str.7@PAGE
Lloh42:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_wpa_printf
	add	w19, w19, #1
LBB0_18:
	ldr	w0, [x23]
	str	x19, [sp]
Lloh43:
	adrp	x1, l_.str.8@PAGE
Lloh44:
	add	x1, x1, l_.str.8@PAGEOFF
LBB0_19:
	bl	_wpa_printf
	ldur	x8, [x29, #-56]
Lloh45:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh46:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh47:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_24
; %bb.20:
	mov	x0, x19
	add	sp, sp, #720
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_21:
	mov	w19, #0
	b	LBB0_3
LBB0_22:
	cbnz	w19, LBB0_18
; %bb.23:
Lloh48:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh49:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh50:
	ldr	w0, [x8]
Lloh51:
	adrp	x1, l_.str.9@PAGE
Lloh52:
	add	x1, x1, l_.str.9@PAGEOFF
	b	LBB0_19
LBB0_24:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"User"

l_.str.1:                               ; @.str.1
	.asciz	"clientPass"

	.section	__TEXT,__const
	.p2align	2                               ; @__const.test_ms_funcs.auth_challenge
l___const.test_ms_funcs.auth_challenge:
	.long	91                              ; 0x5b
	.long	93                              ; 0x5d
	.long	124                             ; 0x7c
	.long	125                             ; 0x7d
	.long	123                             ; 0x7b
	.long	63                              ; 0x3f
	.long	47                              ; 0x2f
	.long	62                              ; 0x3e
	.long	60                              ; 0x3c
	.long	44                              ; 0x2c
	.long	96                              ; 0x60
	.long	33                              ; 0x21
	.long	50                              ; 0x32
	.long	38                              ; 0x26
	.long	38                              ; 0x26
	.long	40                              ; 0x28

	.p2align	2                               ; @__const.test_ms_funcs.peer_challenge
l___const.test_ms_funcs.peer_challenge:
	.long	33                              ; 0x21
	.long	64                              ; 0x40
	.long	35                              ; 0x23
	.long	36                              ; 0x24
	.long	37                              ; 0x25
	.long	94                              ; 0x5e
	.long	38                              ; 0x26
	.long	42                              ; 0x2a
	.long	40                              ; 0x28
	.long	41                              ; 0x29
	.long	95                              ; 0x5f
	.long	43                              ; 0x2b
	.long	58                              ; 0x3a
	.long	51                              ; 0x33
	.long	124                             ; 0x7c
	.long	126                             ; 0x7e

	.p2align	2                               ; @__const.test_ms_funcs.password_hash
l___const.test_ms_funcs.password_hash:
	.long	68                              ; 0x44
	.long	235                             ; 0xeb
	.long	186                             ; 0xba
	.long	141                             ; 0x8d
	.long	83                              ; 0x53
	.long	18                              ; 0x12
	.long	184                             ; 0xb8
	.long	214                             ; 0xd6
	.long	17                              ; 0x11
	.long	71                              ; 0x47
	.long	68                              ; 0x44
	.long	17                              ; 0x11
	.long	245                             ; 0xf5
	.long	105                             ; 0x69
	.long	137                             ; 0x89
	.long	174                             ; 0xae

	.p2align	2                               ; @__const.test_ms_funcs.nt_response
l___const.test_ms_funcs.nt_response:
	.long	130                             ; 0x82
	.long	48                              ; 0x30
	.long	158                             ; 0x9e
	.long	205                             ; 0xcd
	.long	141                             ; 0x8d
	.long	112                             ; 0x70
	.long	139                             ; 0x8b
	.long	94                              ; 0x5e
	.long	160                             ; 0xa0
	.long	143                             ; 0x8f
	.long	170                             ; 0xaa
	.long	57                              ; 0x39
	.long	129                             ; 0x81
	.long	205                             ; 0xcd
	.long	131                             ; 0x83
	.long	84                              ; 0x54
	.long	66                              ; 0x42
	.long	51                              ; 0x33
	.long	17                              ; 0x11
	.long	74                              ; 0x4a
	.long	61                              ; 0x3d
	.long	133                             ; 0x85
	.long	214                             ; 0xd6
	.long	223                             ; 0xdf

	.p2align	2                               ; @__const.test_ms_funcs.password_hash_hash
l___const.test_ms_funcs.password_hash_hash:
	.long	65                              ; 0x41
	.long	192                             ; 0xc0
	.long	12                              ; 0xc
	.long	88                              ; 0x58
	.long	75                              ; 0x4b
	.long	210                             ; 0xd2
	.long	217                             ; 0xd9
	.long	28                              ; 0x1c
	.long	64                              ; 0x40
	.long	23                              ; 0x17
	.long	162                             ; 0xa2
	.long	161                             ; 0xa1
	.long	47                              ; 0x2f
	.long	165                             ; 0xa5
	.long	159                             ; 0x9f
	.long	63                              ; 0x3f

	.p2align	2                               ; @__const.test_ms_funcs.authenticator_response
l___const.test_ms_funcs.authenticator_response:
	.long	64                              ; 0x40
	.long	122                             ; 0x7a
	.long	85                              ; 0x55
	.long	137                             ; 0x89
	.long	17                              ; 0x11
	.long	95                              ; 0x5f
	.long	208                             ; 0xd0
	.long	214                             ; 0xd6
	.long	32                              ; 0x20
	.long	159                             ; 0x9f
	.long	81                              ; 0x51
	.long	15                              ; 0xf
	.long	233                             ; 0xe9
	.long	192                             ; 0xc0
	.long	69                              ; 0x45
	.long	102                             ; 0x66
	.long	147                             ; 0x93
	.long	44                              ; 0x2c
	.long	218                             ; 0xda
	.long	86                              ; 0x56

	.p2align	2                               ; @__const.test_ms_funcs.master_key
l___const.test_ms_funcs.master_key:
	.long	253                             ; 0xfd
	.long	236                             ; 0xec
	.long	227                             ; 0xe3
	.long	113                             ; 0x71
	.long	122                             ; 0x7a
	.long	140                             ; 0x8c
	.long	131                             ; 0x83
	.long	140                             ; 0x8c
	.long	179                             ; 0xb3
	.long	136                             ; 0x88
	.long	229                             ; 0xe5
	.long	39                              ; 0x27
	.long	174                             ; 0xae
	.long	60                              ; 0x3c
	.long	221                             ; 0xdd
	.long	49                              ; 0x31

	.p2align	2                               ; @__const.test_ms_funcs.send_start_key
l___const.test_ms_funcs.send_start_key:
	.long	139                             ; 0x8b
	.long	124                             ; 0x7c
	.long	220                             ; 0xdc
	.long	20                              ; 0x14
	.long	155                             ; 0x9b
	.long	153                             ; 0x99
	.long	58                              ; 0x3a
	.long	27                              ; 0x1b
	.long	161                             ; 0xa1
	.long	24                              ; 0x18
	.long	203                             ; 0xcb
	.long	21                              ; 0x15
	.long	63                              ; 0x3f
	.long	86                              ; 0x56
	.long	220                             ; 0xdc
	.long	203                             ; 0xcb

	.comm	_MSG_ERROR,4,2                  ; @MSG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str.2:                               ; @.str.2
	.asciz	"nt_password_hash failed"

l_.str.3:                               ; @.str.3
	.asciz	"generate_nt_response failed"

l_.str.4:                               ; @.str.4
	.asciz	"hash_nt_password_hash failed"

l_.str.5:                               ; @.str.5
	.asciz	"generate_authenticator_response failed"

l_.str.6:                               ; @.str.6
	.asciz	"get_master_key failed"

l_.str.7:                               ; @.str.7
	.asciz	"get_asymetric_start_key failed"

l_.str.8:                               ; @.str.8
	.asciz	"ms_funcs: %d errors"

	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
l_.str.9:                               ; @.str.9
	.asciz	"ms_funcs test cases passed"

	.no_dead_strip	_test_ms_funcs
.subsections_via_symbols
