	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_ntlm2_session_resp
_test_ntlm2_session_resp:               ## @test_ntlm2_session_resp
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$112, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -8(%rbp)
	movaps	l___const.test_ntlm2_session_resp.lm_resp(%rip), %xmm0
	movaps	%xmm0, -32(%rbp)
	movq	$0, -16(%rbp)
	movaps	l___const.test_ntlm2_session_resp.ntlm2_sess_resp(%rip), %xmm0
	movaps	%xmm0, -64(%rbp)
	movabsq	$6184600524082687106, %rax      ## imm = 0x55D41D68C3A4AC82
	movq	%rax, -48(%rbp)
	movabsq	$4914309074817908735, %rax      ## imm = 0x4433221100FFFFFF
	movq	%rax, -112(%rbp)
	movabsq	$-1167088121787636991, %rax     ## imm = 0xEFCDAB8967452301
	movq	%rax, -104(%rbp)
	movaps	L___const.test_ntlm2_session_resp.ntlm_hash(%rip), %xmm0
	movaps	%xmm0, -80(%rbp)
	leaq	-112(%rbp), %rdi
	leaq	-104(%rbp), %rsi
	leaq	-80(%rbp), %rdx
	leaq	-96(%rbp), %rcx
	leaq	-88(%rbp), %r8
	callq	_heim_ntlm_calculate_ntlm2_sess
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_errx
LBB0_2:
	cmpl	$24, -96(%rbp)
	jne	LBB0_4
## %bb.3:
	movl	-92(%rbp), %edi
	leaq	-32(%rbp), %rsi
	movl	$24, %edx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_5
LBB0_4:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	callq	_errx
LBB0_5:
	cmpl	$24, -88(%rbp)
	jne	LBB0_7
## %bb.6:
	movl	-84(%rbp), %edi
	leaq	-64(%rbp), %rsi
	movl	$24, %edx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_8
LBB0_7:
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edi
	callq	_errx
LBB0_8:
	movl	-92(%rbp), %edi
	callq	_free
	movl	-84(%rbp), %edi
	callq	_free
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-8(%rbp), %rax
	jne	LBB0_10
## %bb.9:
	xorl	%eax, %eax
	addq	$112, %rsp
	popq	%rbp
	retq
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @__const.test_ntlm2_session_resp.lm_resp
l___const.test_ntlm2_session_resp.lm_resp:
	.asciz	"\377\377\377\000\021\"3D\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"

	.p2align	4                               ## @__const.test_ntlm2_session_resp.ntlm2_sess_resp
l___const.test_ntlm2_session_resp.ntlm2_sess_resp:
	.ascii	"\020\325P\203-\022\262\314\267\235Z\321\364\356\323\337\202\254\244\303h\035\324U"

	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## @__const.test_ntlm2_session_resp.ntlm_hash
L___const.test_ntlm2_session_resp.ntlm_hash:
	.ascii	"\315\006\312|~\020\311\233\0353\267HZ.\330\b"

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

L_.str.1:                               ## @.str.1
	.asciz	"lm_resp wrong"

L_.str.2:                               ## @.str.2
	.asciz	"ntlm2_sess_resp wrong"

	.no_dead_strip	_test_ntlm2_session_resp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_ntlm2_session_resp
_test_ntlm2_session_resp:               ; @test_ntlm2_session_resp
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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]
	adrp	x9, l___const.test_ntlm2_session_resp.lm_resp@PAGE
	add	x9, x9, l___const.test_ntlm2_session_resp.lm_resp@PAGEOFF
	stur	x8, [x29, #-8]
	ldr	q0, [x9]
	stur	q0, [x29, #-32]
	stur	xzr, [x29, #-16]
Lloh3:
	adrp	x8, l___const.test_ntlm2_session_resp.ntlm2_sess_resp@PAGE
Lloh4:
	add	x8, x8, l___const.test_ntlm2_session_resp.ntlm2_sess_resp@PAGEOFF
	ldr	q1, [x8]
	ldr	x8, [x8, #16]
	str	x8, [sp, #64]
	mov	x8, #-4278190081
	movk	x8, #8721, lsl #32
	movk	x8, #17459, lsl #48
	str	x8, [sp, #8]
	mov	x8, #8961
	movk	x8, #26437, lsl #16
	movk	x8, #43913, lsl #32
	movk	x8, #61389, lsl #48
	str	x8, [sp]
Lloh5:
	adrp	x8, l___const.test_ntlm2_session_resp.ntlm_hash@PAGE
Lloh6:
	add	x8, x8, l___const.test_ntlm2_session_resp.ntlm_hash@PAGEOFF
Lloh7:
	ldr	q0, [x8]
	stp	q0, q1, [sp, #32]
	add	x0, sp, #8
	mov	x1, sp
	add	x2, sp, #32
	add	x3, sp, #24
	add	x4, sp, #16
	bl	_heim_ntlm_calculate_ntlm2_sess
	cbz	w0, LBB0_2
; %bb.1:
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_2:
	ldr	w8, [sp, #24]
	cmp	w8, #24
	b.ne	LBB0_4
; %bb.3:
	ldr	w0, [sp, #28]
	sub	x1, x29, #32
	mov	w2, #24
	bl	_memcmp
	cbz	x0, LBB0_5
LBB0_4:
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_5:
	ldr	w8, [sp, #16]
	cmp	w8, #24
	b.ne	LBB0_7
; %bb.6:
	ldr	w0, [sp, #20]
	add	x1, sp, #48
	mov	w2, #24
	bl	_memcmp
	cbz	x0, LBB0_8
LBB0_7:
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_8:
	ldr	w0, [sp, #28]
	bl	_free
	ldr	w0, [sp, #20]
	bl	_free
	ldur	x8, [x29, #-8]
Lloh14:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh15:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.9:
	mov	w0, #0
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpAddLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
l___const.test_ntlm2_session_resp.lm_resp: ; @__const.test_ntlm2_session_resp.lm_resp
	.asciz	"\377\377\377\000\021\"3D\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"

l___const.test_ntlm2_session_resp.ntlm2_sess_resp: ; @__const.test_ntlm2_session_resp.ntlm2_sess_resp
	.ascii	"\020\325P\203-\022\262\314\267\235Z\321\364\356\323\337\202\254\244\303h\035\324U"

	.section	__TEXT,__literal16,16byte_literals
l___const.test_ntlm2_session_resp.ntlm_hash: ; @__const.test_ntlm2_session_resp.ntlm_hash
	.ascii	"\315\006\312|~\020\311\233\0353\267HZ.\330\b"

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

l_.str.1:                               ; @.str.1
	.asciz	"lm_resp wrong"

l_.str.2:                               ; @.str.2
	.asciz	"ntlm2_sess_resp wrong"

	.no_dead_strip	_test_ntlm2_session_resp
.subsections_via_symbols
