	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_smb_ntencrypt                  ## -- Begin function smb_ntencrypt
	.p2align	4, 0x90
_smb_ntencrypt:                         ## @smb_ntencrypt
	.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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, -160(%rbp)                ## 8-byte Spill
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	leal	(,%rax,4), %ecx
	movl	%ecx, -148(%rbp)                ## 4-byte Spill
	leal	4(,%rax,4), %edi
	movq	_M_SMBTEMP@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_M_WAITOK@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	callq	_malloc
	movq	%rax, %r13
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_smb_strtouni
	movl	(%r14), %esi
	movl	(%r15), %edx
	movl	$4, %edi
	callq	_malloc
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_MD4Init
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movl	-148(%rbp), %edx                ## 4-byte Reload
	callq	_MD4Update
	movl	(%r14), %esi
	movq	%r13, %rdi
	callq	_free
	leaq	-144(%rbp), %r15
	movq	%r15, %rdi
	movl	$21, %esi
	callq	_bzero
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_MD4Final
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_free
	movq	%r15, %rdi
	movq	-160(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rsi
	movq	%r12, %rdx
	callq	_smb_E
	leaq	-116(%rbp), %rdi
	leaq	32(%r12), %rdx
	movq	%rbx, %rsi
	callq	_smb_E
	leaq	-88(%rbp), %rdi
	addq	$64, %r12
	movq	%rbx, %rsi
	movq	%r12, %rdx
	callq	_smb_E
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_M_SMBTEMP,4,2                  ## @M_SMBTEMP
	.comm	_M_WAITOK,4,2                   ## @M_WAITOK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_smb_ntencrypt                  ; -- Begin function smb_ntencrypt
	.p2align	2
_smb_ntencrypt:                         ; @smb_ntencrypt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	bl	_strlen
	lsl	w22, w0, #2
	add	w0, w22, #4
Lloh3:
	adrp	x24, _M_SMBTEMP@GOTPAGE
Lloh4:
	ldr	x24, [x24, _M_SMBTEMP@GOTPAGEOFF]
	ldr	w1, [x24]
Lloh5:
	adrp	x25, _M_WAITOK@GOTPAGE
Lloh6:
	ldr	x25, [x25, _M_WAITOK@GOTPAGEOFF]
	ldr	w2, [x25]
	bl	_malloc
	mov	x23, x0
	mov	x1, x21
	bl	_smb_strtouni
	ldr	w1, [x24]
	ldr	w2, [x25]
	mov	w0, #4
	bl	_malloc
	mov	x21, x0
	bl	_MD4Init
	mov	x0, x21
	mov	x1, x23
	mov	x2, x22
	bl	_MD4Update
	ldr	w1, [x24]
	mov	x0, x23
	bl	_free
	add	x22, sp, #4
	add	x0, sp, #4
	mov	w1, #21
	bl	_bzero
	add	x0, sp, #4
	mov	x1, x21
	bl	_MD4Final
	ldr	w1, [x24]
	mov	x0, x21
	bl	_free
	add	x0, sp, #4
	mov	x1, x19
	mov	x2, x20
	bl	_smb_E
	add	x0, x22, #28
	add	x2, x20, #32
	mov	x1, x19
	bl	_smb_E
	add	x0, x22, #56
	add	x2, x20, #64
	mov	x1, x19
	bl	_smb_E
	ldur	x8, [x29, #-72]
Lloh7:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh8:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #0
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_M_SMBTEMP,4,2                  ; @M_SMBTEMP
	.comm	_M_WAITOK,4,2                   ; @M_WAITOK
.subsections_via_symbols
