	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_heim_ntlm_nt_key               ## -- Begin function heim_ntlm_nt_key
	.p2align	4, 0x90
_heim_ntlm_nt_key:                      ## @heim_ntlm_nt_key
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	_MD5_DIGEST_LENGTH@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_malloc
	movq	%rax, (%r12)
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	(%r14), %eax
	movl	%eax, 8(%r12)
	leaq	-48(%rbp), %rdx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_ascii2ucs2le
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%eax, %r14d
	movq	%r12, %rdi
	jmp	LBB0_7
LBB0_4:
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_EVP_MD_CTX_create
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	%rax, %r15
	xorl	%eax, %eax
	callq	_EVP_md4
	movq	%r15, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_EVP_DigestInit_ex
	movq	-48(%rbp), %rsi
	movl	-40(%rbp), %edx
	movq	%r15, %rdi
	callq	_EVP_DigestUpdate
	movq	(%r12), %rsi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_EVP_DigestFinal_ex
	movq	%r15, %rdi
	callq	_EVP_MD_CTX_destroy
	leaq	-48(%rbp), %rdi
LBB0_7:
	callq	_heim_ntlm_free_buf
	jmp	LBB0_8
LBB0_5:
	movq	%r12, %rdi
	callq	_heim_ntlm_free_buf
	leaq	-48(%rbp), %rdi
	callq	_heim_ntlm_free_buf
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_8:
	movl	%r14d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MD5_DIGEST_LENGTH,4,2          ## @MD5_DIGEST_LENGTH
	.comm	_ENOMEM,4,2                     ## @ENOMEM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_heim_ntlm_nt_key               ; -- Begin function heim_ntlm_nt_key
	.p2align	2
_heim_ntlm_nt_key:                      ; @heim_ntlm_nt_key
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x21, _MD5_DIGEST_LENGTH@GOTPAGE
Lloh1:
	ldr	x21, [x21, _MD5_DIGEST_LENGTH@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_malloc
	str	x0, [x19]
	cbz	x0, LBB0_6
; %bb.1:
	ldr	w8, [x21]
	str	w8, [x19, #8]
	mov	x2, sp
	mov	x0, x20
	mov	w1, #0
	bl	_ascii2ucs2le
	cbz	w0, LBB0_3
; %bb.2:
	mov	x20, x0
	mov	x0, x19
	bl	_heim_ntlm_free_buf
	b	LBB0_7
LBB0_3:
	bl	_EVP_MD_CTX_create
	cbz	x0, LBB0_5
; %bb.4:
	mov	x20, x0
	bl	_EVP_md4
	mov	x1, x0
	mov	x0, x20
	mov	x2, #0
	bl	_EVP_DigestInit_ex
	ldr	x1, [sp]
	ldr	w2, [sp, #8]
	mov	x0, x20
	bl	_EVP_DigestUpdate
	ldr	x1, [x19]
	mov	x0, x20
	mov	x2, #0
	bl	_EVP_DigestFinal_ex
	mov	x0, x20
	bl	_EVP_MD_CTX_destroy
	mov	x0, sp
	bl	_heim_ntlm_free_buf
	mov	w20, #0
	b	LBB0_7
LBB0_5:
	mov	x0, x19
	bl	_heim_ntlm_free_buf
	mov	x0, sp
	bl	_heim_ntlm_free_buf
LBB0_6:
Lloh2:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh4:
	ldr	w20, [x8]
LBB0_7:
	mov	x0, x20
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_MD5_DIGEST_LENGTH,4,2          ; @MD5_DIGEST_LENGTH
	.comm	_ENOMEM,4,2                     ; @ENOMEM
.subsections_via_symbols
