	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_heim_ntlm_ntlmv2_key           ## -- Begin function heim_ntlm_ntlmv2_key
	.p2align	4, 0x90
_heim_ntlm_ntlmv2_key:                  ## @heim_ntlm_ntlmv2_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r15
	movq	%rdx, %r12
	movq	%rsi, %rbx
	movq	%rdi, %r14
	xorl	%eax, %eax
	callq	_HMAC_CTX_new
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r13
	xorl	%eax, %eax
	callq	_EVP_md5
	movq	%r13, %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	movl	%eax, %ecx
	xorl	%r8d, %r8d
	callq	_HMAC_Init_ex
	leaq	-48(%rbp), %rdx
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_ascii2ucs2le
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_5
## %bb.3:
	movl	-48(%rbp), %esi
	movl	-44(%rbp), %edx
	movq	%r13, %rdi
	callq	_HMAC_Update
	movl	-48(%rbp), %edi
	callq	_free
	leaq	-48(%rbp), %rdx
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_ascii2ucs2le
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:
	movl	-48(%rbp), %esi
	movl	-44(%rbp), %edx
	movq	%r13, %rdi
	callq	_HMAC_Update
	movl	-48(%rbp), %edi
	callq	_free
	leaq	-60(%rbp), %rdx
	movq	%r13, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_HMAC_Final
	xorl	%ebx, %ebx
LBB0_5:
	movq	%r13, %rdi
	callq	_HMAC_CTX_free
	jmp	LBB0_6
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_6:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.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_ntlmv2_key           ; -- Begin function heim_ntlm_ntlmv2_key
	.p2align	2
_heim_ntlm_ntlmv2_key:                  ; @heim_ntlm_ntlmv2_key
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x4
	mov	x21, x3
	mov	x22, x2
	mov	x23, x1
	mov	x24, x0
	bl	_HMAC_CTX_new
	cbz	x0, LBB0_5
; %bb.1:
	mov	x19, x0
	bl	_EVP_md5
	mov	x3, x0
	mov	x0, x19
	mov	x1, x24
	mov	x2, x23
	mov	x4, #0
	bl	_HMAC_Init_ex
	mov	x2, sp
	mov	x0, x22
	mov	w1, #1
	bl	_ascii2ucs2le
	mov	x22, x0
	cbnz	w0, LBB0_4
; %bb.2:
	ldp	w1, w2, [sp]
	mov	x0, x19
	bl	_HMAC_Update
	ldr	w0, [sp]
	bl	_free
	mov	x2, sp
	mov	x0, x21
	mov	w1, #1
	bl	_ascii2ucs2le
	mov	x22, x0
	cbnz	w0, LBB0_4
; %bb.3:
	ldp	w1, w2, [sp]
	mov	x0, x19
	bl	_HMAC_Update
	ldr	w0, [sp]
	bl	_free
	add	x2, sp, #12
	mov	x0, x19
	mov	x1, x20
	bl	_HMAC_Final
LBB0_4:
	mov	x0, x19
	bl	_HMAC_CTX_free
	b	LBB0_6
LBB0_5:
Lloh0:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x8]
LBB0_6:
	mov	x0, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
.subsections_via_symbols
