	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_smb_encrypt                    ## -- Begin function smb_encrypt
	.p2align	4, 0x90
_smb_encrypt:                           ## @smb_encrypt
	.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, %r15
	movq	%rsi, %r14
	movq	%rdi, %r13
	movq	_M_SMBTEMP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_M_WAITOK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$35, %edi
	callq	_malloc
	movq	%rax, %rbx
	movq	%rax, %rdi
	movl	$35, %esi
	callq	_bzero
	leaq	56(%rbx), %r12
	movq	%r13, %rdi
	callq	_strlen
	movl	$14, %edi
	movl	%eax, %esi
	callq	_min
                                        ## kill: def $eax killed $eax def $rax
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movq	%rax, %rdx
	callq	_memmove
	movq	_N8@GOTPCREL(%rip), %r13
	movq	(%r13), %rsi
	movq	%rbx, %rdi
	movq	%r12, %rdx
	callq	_smb_E
	leaq	28(%rbx), %rdi
	movq	(%r13), %rsi
	leaq	88(%rbx), %rdx
	callq	_smb_E
	movq	%r12, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_smb_E
	leaq	84(%rbx), %rdi
	leaq	32(%r15), %rdx
	movq	%r14, %rsi
	callq	_smb_E
	leaq	112(%rbx), %rdi
	addq	$64, %r15
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_smb_E
	movq	_M_SMBTEMP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_free
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_M_SMBTEMP,4,2                  ## @M_SMBTEMP
	.comm	_M_WAITOK,4,2                   ## @M_WAITOK
	.comm	_N8,8,3                         ## @N8
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_smb_encrypt                    ; -- Begin function smb_encrypt
	.p2align	2
_smb_encrypt:                           ; @smb_encrypt
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x2
	mov	x19, x1
	mov	x22, x0
Lloh0:
	adrp	x24, _M_SMBTEMP@GOTPAGE
Lloh1:
	ldr	x24, [x24, _M_SMBTEMP@GOTPAGEOFF]
	ldr	w1, [x24]
Lloh2:
	adrp	x8, _M_WAITOK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _M_WAITOK@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	w0, #35
	bl	_malloc
	mov	x21, x0
	mov	w1, #35
	bl	_bzero
	add	x23, x21, #56
	mov	x0, x22
	bl	_strlen
	mov	x1, x0
	mov	w0, #14
	bl	_min
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	_memmove
Lloh5:
	adrp	x22, _N8@GOTPAGE
Lloh6:
	ldr	x22, [x22, _N8@GOTPAGEOFF]
	ldr	x1, [x22]
	mov	x0, x21
	mov	x2, x23
	bl	_smb_E
	add	x0, x21, #28
	ldr	x1, [x22]
	add	x2, x21, #88
	bl	_smb_E
	mov	x0, x23
	mov	x1, x19
	mov	x2, x20
	bl	_smb_E
	add	x0, x21, #84
	add	x2, x20, #32
	mov	x1, x19
	bl	_smb_E
	add	x0, x21, #112
	add	x2, x20, #64
	mov	x1, x19
	bl	_smb_E
	ldr	w1, [x24]
	mov	x0, x21
	bl	_free
	mov	w0, #0
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_M_SMBTEMP,4,2                  ; @M_SMBTEMP
	.comm	_M_WAITOK,4,2                   ; @M_WAITOK
	.comm	_N8,8,3                         ; @N8
.subsections_via_symbols
