	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_heim_ntlm_v1_base_session      ## -- Begin function heim_ntlm_v1_base_session
	.p2align	4, 0x90
_heim_ntlm_v1_base_session:             ## @heim_ntlm_v1_base_session
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	_MD4_DIGEST_LENGTH@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%rdi, 8(%rdx)
	callq	_malloc
	movq	%rax, (%rbx)
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_EVP_MD_CTX_create
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %r13
	xorl	%eax, %eax
	callq	_EVP_md4
	movq	%r13, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_EVP_DigestInit_ex
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	_EVP_DigestUpdate
	movq	(%rbx), %rsi
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_EVP_DigestFinal_ex
	movq	%r13, %rdi
	callq	_EVP_MD_CTX_destroy
	jmp	LBB0_6
LBB0_1:
	movq	$0, 8(%rbx)
	jmp	LBB0_2
LBB0_4:
	movq	%rbx, %rdi
	callq	_heim_ntlm_free_buf
LBB0_2:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_6:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MD4_DIGEST_LENGTH,8,3          ## @MD4_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_v1_base_session      ; -- Begin function heim_ntlm_v1_base_session
	.p2align	2
_heim_ntlm_v1_base_session:             ; @heim_ntlm_v1_base_session
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _MD4_DIGEST_LENGTH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MD4_DIGEST_LENGTH@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
	str	x0, [x2, #8]
	bl	_malloc
	str	x0, [x19]
	cbz	x0, LBB0_3
; %bb.1:
	bl	_EVP_MD_CTX_create
	cbz	x0, LBB0_4
; %bb.2:
	mov	x22, x0
	bl	_EVP_md4
	mov	x1, x0
	mov	x0, x22
	mov	x2, #0
	bl	_EVP_DigestInit_ex
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	bl	_EVP_DigestUpdate
	ldr	x1, [x19]
	mov	x0, x22
	mov	x2, #0
	bl	_EVP_DigestFinal_ex
	mov	x0, x22
	bl	_EVP_MD_CTX_destroy
	mov	w0, #0
	b	LBB0_6
LBB0_3:
	str	xzr, [x19, #8]
	b	LBB0_5
LBB0_4:
	mov	x0, x19
	bl	_heim_ntlm_free_buf
LBB0_5:
Lloh3:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MD4_DIGEST_LENGTH,8,3          ; @MD4_DIGEST_LENGTH
	.comm	_ENOMEM,4,2                     ; @ENOMEM
.subsections_via_symbols
