	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_smb_simplecrypt                ## -- Begin function smb_simplecrypt
	.p2align	4, 0x90
_smb_simplecrypt:                       ## @smb_simplecrypt
	.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	%rsi, %r15
	testq	%rdi, %rdi
	jne	LBB0_3
## %bb.1:
	movq	%r15, %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	leal	(%rax,%rax), %edi
	addl	$4, %edi
	callq	_malloc
	movq	%rax, %rdi
	testq	%rax, %rax
	je	LBB0_2
LBB0_3:
	movw	$9252, (%rdi)                   ## imm = 0x2424
	leaq	3(%rdi), %r13
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movb	$49, 2(%rdi)
	movb	(%r15), %al
	testb	%al, %al
	je	LBB0_12
## %bb.4:
	incq	%r15
	movl	$27, %r14d
	leaq	L_.str(%rip), %r12
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	addl	$-52, %ebx
	imull	$20165, %ebx, %eax              ## imm = 0x4EC5
	movl	%eax, %ecx
	shrl	$31, %ecx
	sarl	$19, %eax
	addl	%ecx, %eax
	leal	(%rax,%rax,4), %ecx
	leal	(%rcx,%rcx,4), %ecx
	addl	%eax, %ecx
	subl	%ecx, %ebx
	addl	$65, %ebx
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	movzwl	%bx, %ebx
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=1
	xorl	%r14d, %ebx
	xorl	%eax, %eax
	cmpl	$244, %r14d
	setl	%al
	shll	$8, %eax
	addl	%eax, %r14d
	addl	$-243, %r14d
	movq	%r13, %rdi
	movq	%r12, %rsi
	movl	%ebx, %edx
	callq	_sprintf
	addq	$2, %r13
	movzbl	(%r15), %eax
	incq	%r15
	testb	%al, %al
	je	LBB0_12
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	%al, %ebx
	movl	%ebx, %edi
	callq	_isascii
	testq	%rax, %rax
	je	LBB0_11
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	%ebx, %edi
	callq	_isupper
	testq	%rax, %rax
	jne	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	%ebx, %edi
	callq	_islower
	testq	%rax, %rax
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	addl	$-84, %ebx
	imull	$20165, %ebx, %eax              ## imm = 0x4EC5
	movl	%eax, %ecx
	shrl	$31, %ecx
	sarl	$19, %eax
	addl	%ecx, %eax
	leal	(%rax,%rax,4), %ecx
	leal	(%rcx,%rcx,4), %ecx
	addl	%eax, %ecx
	subl	%ecx, %ebx
	addl	$97, %ebx
	jmp	LBB0_10
LBB0_12:
	movb	$0, (%r13)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	xorl	%eax, %eax
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%02x"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_smb_simplecrypt                ; -- Begin function smb_simplecrypt
	.p2align	2
_smb_simplecrypt:                       ; @smb_simplecrypt
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x1
	mov	x19, x0
	cbnz	x0, LBB0_2
; %bb.1:
	mov	x0, x21
	bl	_strlen
	lsl	w8, w0, #1
	add	w0, w8, #4
	bl	_malloc
	mov	x19, x0
	cbz	x0, LBB0_12
LBB0_2:
	mov	w8, #9252
	strh	w8, [x19]
	add	x20, x19, #3
	mov	w8, #49
	strb	w8, [x19, #2]
	ldrb	w8, [x21]
	cbz	w8, LBB0_11
; %bb.3:
	add	x23, x21, #1
	mov	w24, #27
	mov	w25, #13
	mov	w26, #-243
	mov	w27, #20165
	mov	w28, #26
Lloh0:
	adrp	x21, l_.str@PAGE
Lloh1:
	add	x21, x21, l_.str@PAGEOFF
	b	LBB0_7
LBB0_4:                                 ;   in Loop: Header=BB0_7 Depth=1
	sub	w8, w22, #52
	mul	w9, w8, w27
	asr	w10, w9, #19
	add	w9, w10, w9, lsr #31
	msub	w8, w9, w28, w8
	add	w8, w8, #65
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	and	w22, w8, #0xffff
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	eor	w2, w22, w24
	cmp	w24, #243
	csel	w8, w26, w25, gt
	add	w24, w8, w24
	mov	x0, x20
	mov	x1, x21
	bl	_sprintf
	add	x20, x20, #2
	ldrb	w8, [x23], #1
	cbz	w8, LBB0_11
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	sxtb	w22, w8
	mov	x0, x22
	bl	_isascii
	cbz	x0, LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x22
	bl	_isupper
	cbnz	x0, LBB0_4
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x22
	bl	_islower
	cbz	x0, LBB0_6
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	sub	w8, w22, #84
	mul	w9, w8, w27
	asr	w10, w9, #19
	add	w9, w10, w9, lsr #31
	msub	w8, w9, w28, w8
	add	w8, w8, #97
	b	LBB0_5
LBB0_11:
	strb	wzr, [x20]
LBB0_12:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%02x"

.subsections_via_symbols
