	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function crypt_msg
_crypt_msg:                             ## @crypt_msg
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rdi), %rax
	movq	8(%rdi), %rcx
	movq	(%rcx,%rax,8), %r15
	cmpb	$0, (%r15)
	je	LBB0_2
## %bb.1:
	movl	(%r12), %eax
	jmp	LBB0_3
LBB0_2:
	movq	_TAC_UNENCRYPTED@GOTPCREL(%rip), %rcx
	movl	(%r12), %eax
	orl	(%rcx), %eax
	movl	%eax, (%r12)
LBB0_3:
	movq	_TAC_UNENCRYPTED@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
LBB0_14:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_16
## %bb.15:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movl	32(%r12), %edi
	callq	_ntohl
	movl	%eax, %r13d
	leaq	-72(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_MD5Init
	movq	8(%r12), %rsi
	movl	$8, %edx
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_MD5Update
	movq	%r15, %rdi
	callq	_strlen
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_MD5Update
	leaq	16(%r12), %rsi
	movl	$1, %edx
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_MD5Update
	leaq	17(%r12), %rsi
	movl	$1, %edx
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_MD5Update
	movl	-72(%rbp), %eax
	movl	%eax, -68(%rbp)
	testl	%r13d, %r13d
	jle	LBB0_14
## %bb.5:
	leaq	-64(%rbp), %rdi
	leaq	-68(%rbp), %rsi
	movl	%r13d, %eax
	xorl	%ecx, %ecx
	xorl	%r14d, %r14d
	movl	%r13d, -76(%rbp)                ## 4-byte Spill
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_6 Depth=1
	movl	-72(%rbp), %eax
	movl	%eax, -68(%rbp)
	movl	$16, %edx
	leaq	-68(%rbp), %r14
	movq	%r14, %rdi
	leaq	-64(%rbp), %rbx
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_MD5Update
	movq	%r14, %rsi
	movq	%rbx, %rdi
	addl	$16, %r13d
	movl	-80(%rbp), %ecx                 ## 4-byte Reload
	incl	%ecx
	movl	-84(%rbp), %eax                 ## 4-byte Reload
	addl	$-16, %eax
	movl	%r13d, %r14d
	movl	-76(%rbp), %r13d                ## 4-byte Reload
	cmpl	%r14d, %r13d
	jle	LBB0_14
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_10 Depth 2
	cmpl	$16, %eax
	movl	$16, %r15d
	movl	%eax, -84(%rbp)                 ## 4-byte Spill
	cmovbl	%eax, %r15d
	movl	%ecx, -80(%rbp)                 ## 4-byte Spill
	movl	%ecx, %eax
	shll	$4, %eax
	movl	%r13d, %ebx
	subl	%eax, %ebx
	cmpl	$16, %ebx
	movl	$16, %eax
	cmovael	%eax, %ebx
	callq	_MD5Final
	subl	%r14d, %r13d
	cmpl	$16, %r13d
	movl	$16, %ecx
	cmovael	%ecx, %r13d
	testl	%r13d, %r13d
	movl	%r14d, %r13d
	je	LBB0_13
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movslq	%r13d, %rax
	cmpl	$1, %ebx
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	xorl	%ecx, %ecx
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	andl	$30, %r15d
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_10:                                ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	-64(%rbp,%rcx), %edx
	movq	24(%r12), %rsi
	addq	%rax, %rsi
	xorb	%dl, (%rcx,%rsi)
	movzbl	-63(%rbp,%rcx), %edx
	movq	24(%r12), %rsi
	addq	%rax, %rsi
	xorb	%dl, 1(%rcx,%rsi)
	addq	$2, %rcx
	cmpq	%rcx, %r15
	jne	LBB0_10
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=1
	testb	$1, %bl
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_6 Depth=1
	movb	-64(%rbp,%rcx), %dl
	movq	24(%r12), %rsi
	addq	%rcx, %rax
	xorb	%dl, (%rsi,%rax)
	jmp	LBB0_13
LBB0_16:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_TAC_UNENCRYPTED,4,2            ## @TAC_UNENCRYPTED
	.no_dead_strip	_crypt_msg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function crypt_msg
_crypt_msg:                             ; @crypt_msg
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x19, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	ldp	x9, x8, [x0]
	ldr	x21, [x8, x9, lsl #3]
	ldrb	w9, [x21]
Lloh3:
	adrp	x8, _TAC_UNENCRYPTED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TAC_UNENCRYPTED@GOTPAGEOFF]
	cbz	w9, LBB0_2
; %bb.1:
	ldr	w9, [x19]
	b	LBB0_3
LBB0_2:
	ldr	w9, [x8]
	ldr	w10, [x19]
	orr	w9, w10, w9
	str	w9, [x19]
LBB0_3:
	ldr	w8, [x8]
	tst	w8, w9
	b.eq	LBB0_6
LBB0_4:
	ldr	x8, [sp, #40]
Lloh5:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh6:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.5:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_6:
	ldr	w0, [x19, #32]
	bl	_ntohl
	mov	x20, x0
	add	x0, sp, #20
	bl	_MD5Init
	ldr	x8, [x19, #8]
	mov	w9, #8
	stp	x8, x9, [sp]
	add	x0, sp, #20
	bl	_MD5Update
	mov	x0, x21
	bl	_strlen
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x21, x0, [sp]
	add	x0, sp, #20
	bl	_MD5Update
	add	x8, x19, #16
	mov	w21, #1
	stp	x8, x21, [sp]
	add	x0, sp, #20
	bl	_MD5Update
	add	x8, x19, #17
	stp	x8, x21, [sp]
	add	x0, sp, #20
	bl	_MD5Update
	ldr	w8, [sp, #20]
	str	w8, [sp, #16]
	cmp	w20, #1
	b.lt	LBB0_4
; %bb.7:
	mov	w24, #0
	add	x21, sp, #24
	mov	w22, #16
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	ldr	w8, [sp, #20]
	str	w8, [sp, #16]
	stp	x21, x22, [sp]
	add	x0, sp, #16
	bl	_MD5Update
	add	w24, w23, #16
	cmp	w20, w24
	b.le	LBB0_4
LBB0_9:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
	sxtw	x23, w24
	add	x0, sp, #24
	add	x1, sp, #16
	bl	_MD5Final
	sub	w8, w20, w24
	cmp	w8, #16
	csel	w8, w8, w22, lo
	cbz	w8, LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x9, #0
LBB0_11:                                ;   Parent Loop BB0_9 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w10, [x21, x9]
	ldr	x11, [x19, #24]
	add	x11, x11, x23
	ldrb	w12, [x11, x9]
	eor	w10, w12, w10
	strb	w10, [x11, x9]
	add	x9, x9, #1
	cmp	x9, x8
	b.lo	LBB0_11
	b	LBB0_8
LBB0_12:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_TAC_UNENCRYPTED,4,2            ; @TAC_UNENCRYPTED
	.no_dead_strip	_crypt_msg
.subsections_via_symbols
