	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_keys
_test_keys:                             ## @test_keys
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$128, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	movabsq	$7847907705176751975, %rax      ## imm = 0x6CE95E7A551C7F67
	movq	%rax, -104(%rbp)
	movl	$70, -96(%rbp)
	leaq	l_.str.3(%rip), %rax
	movq	%rax, -88(%rbp)
	movl	$0, -120(%rbp)
	movq	$0, -112(%rbp)
	leaq	L_.str.1(%rip), %rdi
	leaq	-80(%rbp), %rsi
	callq	_heim_ntlm_nt_key
	movq	-72(%rbp), %rdi
	movl	-80(%rbp), %esi
	leaq	-120(%rbp), %r14
	leaq	-48(%rbp), %rax
	leaq	L_.str(%rip), %rdx
	leaq	L_.str.2(%rip), %rcx
	leaq	-104(%rbp), %r8
	leaq	-96(%rbp), %r9
	pushq	%r14
	pushq	%rax
	callq	_heim_ntlm_calculate_ntlm2
	addq	$16, %rsp
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	leaq	L_.str.4(%rip), %rsi
	movl	$1, %edi
	callq	_errx
LBB0_2:
	movq	-72(%rbp), %rdi
	movl	-80(%rbp), %esi
	subq	$8, %rsp
	leaq	-64(%rbp), %rax
	leaq	-136(%rbp), %rbx
	leaq	L_.str(%rip), %rdx
	leaq	L_.str.2(%rip), %rcx
	leaq	-104(%rbp), %r9
	xorl	%r8d, %r8d
	pushq	%rax
	pushq	%rbx
	pushq	%r14
	callq	_heim_ntlm_verify_ntlm2
	addq	$32, %rsp
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	leaq	L_.str.5(%rip), %rsi
	movl	$1, %edi
	callq	_errx
LBB0_4:
	leaq	-48(%rbp), %rdi
	leaq	-64(%rbp), %rsi
	movl	$16, %edx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	leaq	L_.str.6(%rip), %rsi
	movl	$1, %edi
	callq	_errx
LBB0_6:
	movl	-96(%rbp), %edx
	cmpl	-136(%rbp), %edx
	jle	LBB0_8
## %bb.7:
	leaq	L_.str.7(%rip), %rsi
	movl	$1, %edi
	callq	_errx
	movl	-96(%rbp), %edx
LBB0_8:
	movq	-88(%rbp), %rdi
	movq	-128(%rbp), %rsi
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	leaq	L_.str.8(%rip), %rsi
	movl	$1, %edi
	callq	_errx
LBB0_10:
	movq	-72(%rbp), %rdi
	callq	_free
	movq	-112(%rbp), %rdi
	callq	_free
	movq	-128(%rbp), %rdi
	callq	_free
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-24(%rbp), %rax
	jne	LBB0_12
## %bb.11:
	xorl	%eax, %eax
	addq	$128, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_12:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"test"

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

L_.str.2:                               ## @.str.2
	.asciz	"TESTNT"

	.section	__TEXT,__const
l_.str.3:                               ## @.str.3
	.asciz	"\002\000\f\000T\000E\000S\000T\000N\000T\000\001\000\f\000M\000E\000M\000B\000E\000R\000\003\000\036\000m\000e\000m\000b\000e\000r\000.\000t\000e\000s\000t\000.\000c\000o\000m\000\000\000\000\000"

	.section	__TEXT,__cstring,cstring_literals
L_.str.4:                               ## @.str.4
	.asciz	"heim_ntlm_calculate_ntlm2"

L_.str.5:                               ## @.str.5
	.asciz	"heim_ntlm_verify_ntlm2"

L_.str.6:                               ## @.str.6
	.asciz	"ntlm master key not same"

L_.str.7:                               ## @.str.7
	.asciz	"infotarget length"

L_.str.8:                               ## @.str.8
	.asciz	"infotarget not the same"

	.no_dead_strip	_test_keys
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_keys
_test_keys:                             ; @test_keys
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-8]
	mov	x8, #32615
	movk	x8, #21788, lsl #16
	movk	x8, #24186, lsl #32
	movk	x8, #27881, lsl #48
	stur	x8, [x29, #-48]
	mov	w8, #70
	str	w8, [sp, #64]
Lloh3:
	adrp	x8, l_.str.3@PAGE
Lloh4:
	add	x8, x8, l_.str.3@PAGEOFF
	str	x8, [sp, #72]
	str	wzr, [sp, #32]
	str	xzr, [sp, #40]
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	add	x1, sp, #16
	bl	_heim_ntlm_nt_key
	ldr	x0, [sp, #24]
	ldr	w1, [sp, #16]
Lloh7:
	adrp	x2, l_.str@PAGE
Lloh8:
	add	x2, x2, l_.str@PAGEOFF
Lloh9:
	adrp	x3, l_.str.2@PAGE
Lloh10:
	add	x3, x3, l_.str.2@PAGEOFF
	sub	x4, x29, #48
	add	x5, sp, #64
	sub	x6, x29, #24
	add	x7, sp, #32
	bl	_heim_ntlm_calculate_ntlm2
	cbz	w0, LBB0_2
; %bb.1:
Lloh11:
	adrp	x1, l_.str.4@PAGE
Lloh12:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_2:
	ldr	x0, [sp, #24]
	ldr	w1, [sp, #16]
	sub	x8, x29, #40
	str	x8, [sp]
Lloh13:
	adrp	x2, l_.str@PAGE
Lloh14:
	add	x2, x2, l_.str@PAGEOFF
Lloh15:
	adrp	x3, l_.str.2@PAGE
Lloh16:
	add	x3, x3, l_.str.2@PAGEOFF
	sub	x5, x29, #48
	add	x6, sp, #32
	add	x7, sp, #48
	mov	w4, #0
	bl	_heim_ntlm_verify_ntlm2
	cbz	w0, LBB0_4
; %bb.3:
Lloh17:
	adrp	x1, l_.str.5@PAGE
Lloh18:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_4:
	sub	x0, x29, #24
	sub	x1, x29, #40
	mov	w2, #16
	bl	_memcmp
	cbz	x0, LBB0_6
; %bb.5:
Lloh19:
	adrp	x1, l_.str.6@PAGE
Lloh20:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_6:
	ldr	w2, [sp, #64]
	ldr	w8, [sp, #48]
	cmp	w2, w8
	b.le	LBB0_8
; %bb.7:
Lloh21:
	adrp	x1, l_.str.7@PAGE
Lloh22:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	w0, #1
	bl	_errx
	ldr	w2, [sp, #64]
LBB0_8:
	ldr	x0, [sp, #72]
	ldr	x1, [sp, #56]
	bl	_memcmp
	cbz	x0, LBB0_10
; %bb.9:
Lloh23:
	adrp	x1, l_.str.8@PAGE
Lloh24:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_10:
	ldr	x0, [sp, #24]
	bl	_free
	ldr	x0, [sp, #40]
	bl	_free
	ldr	x0, [sp, #56]
	bl	_free
	ldur	x8, [x29, #-8]
Lloh25:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh26:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.11:
	mov	w0, #0
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_12:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"test"

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

l_.str.2:                               ; @.str.2
	.asciz	"TESTNT"

	.section	__TEXT,__const
l_.str.3:                               ; @.str.3
	.asciz	"\002\000\f\000T\000E\000S\000T\000N\000T\000\001\000\f\000M\000E\000M\000B\000E\000R\000\003\000\036\000m\000e\000m\000b\000e\000r\000.\000t\000e\000s\000t\000.\000c\000o\000m\000\000\000\000\000"

	.section	__TEXT,__cstring,cstring_literals
l_.str.4:                               ; @.str.4
	.asciz	"heim_ntlm_calculate_ntlm2"

l_.str.5:                               ; @.str.5
	.asciz	"heim_ntlm_verify_ntlm2"

l_.str.6:                               ; @.str.6
	.asciz	"ntlm master key not same"

l_.str.7:                               ; @.str.7
	.asciz	"infotarget length"

l_.str.8:                               ; @.str.8
	.asciz	"infotarget not the same"

	.no_dead_strip	_test_keys
.subsections_via_symbols
