	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BotCheckChatMessageIntegrety   ## -- Begin function BotCheckChatMessageIntegrety
	.p2align	4, 0x90
_BotCheckChatMessageIntegrety:          ## @BotCheckChatMessageIntegrety
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_MESSAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movb	(%rbx), %al
	testb	%al, %al
	je	LBB0_18
## %bb.1:
	movq	_ESCAPE_CHAR@GOTPCREL(%rip), %r13
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rcx
	jmp	LBB0_2
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_PRT_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	_botimport@GOTPCREL(%rip), %rax
	callq	*(%rax)
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_2 Depth=1
	movb	(%r12), %al
	movq	%r12, %rcx
	testb	%al, %al
	je	LBB0_18
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
                                        ##     Child Loop BB0_10 Depth 2
	leaq	1(%rcx), %r12
	cmpb	(%r13), %al
	jne	LBB0_17
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movsbl	(%r12), %edx
	cmpl	$114, %edx
	je	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$118, %edx
	jne	LBB0_16
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	1(%r12), %ecx
	incq	%r12
	testb	%cl, %cl
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	cmpb	%al, %cl
	jne	LBB0_5
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$1, %cl
	sbbq	$-1, %r12
	jmp	LBB0_17
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	leaq	2(%rcx), %r12
	movb	2(%rcx), %bl
	xorl	%edx, %edx
	testb	%bl, %bl
	je	LBB0_13
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpb	%al, %bl
	je	LBB0_13
	.p2align	4, 0x90
LBB0_10:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movb	%bl, (%r15,%rdx)
	movzbl	3(%rcx,%rdx), %ebx
	incq	%rdx
	testb	%bl, %bl
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=2
	cmpb	%al, %bl
	jne	LBB0_10
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	addq	%rdx, %r12
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%edx, %eax
	movb	$0, (%r15,%rax)
	cmpb	$1, (%r12)
	sbbq	$-1, %r12
	movq	%r15, %rdi
	callq	_RandomString
	testl	%eax, %eax
	jne	LBB0_17
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_BotFindStringInList
	testl	%eax, %eax
	jne	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str(%rip), %rdi
	movq	%r15, %rsi
	movq	%r15, %rdx
	callq	_Log_Write
	movq	%r15, %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	leal	17(%rax), %edi
	callq	_GetClearedMemory
	movq	%r14, %rbx
	movq	%rax, %r14
	leaq	16(%rax), %rdi
	movq	%rdi, (%rax)
	movq	%r15, %rsi
	callq	_strcpy
	movq	%rbx, 8(%r14)
	jmp	LBB0_17
LBB0_18:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_20
## %bb.19:
	movq	%r14, %rax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_MESSAGE_SIZE,4,2           ## @MAX_MESSAGE_SIZE
	.comm	_ESCAPE_CHAR,1,0                ## @ESCAPE_CHAR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s = {\"%s\"} //MISSING RANDOM\r\n"

	.comm	_botimport,8,3                  ## @botimport
	.comm	_PRT_FATAL,4,2                  ## @PRT_FATAL
L_.str.1:                               ## @.str.1
	.asciz	"BotCheckChatMessageIntegrety: message \"%s\" invalid escape char\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BotCheckChatMessageIntegrety   ; -- Begin function BotCheckChatMessageIntegrety
	.p2align	2
_BotCheckChatMessageIntegrety:          ; @BotCheckChatMessageIntegrety
	.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
	sub	sp, sp, #16
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _MAX_MESSAGE_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_MESSAGE_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x21, x9, x8
	mov	sp, x21
	ldrb	w8, [x0]
	cbz	w8, LBB0_15
; %bb.1:
Lloh8:
	adrp	x25, _ESCAPE_CHAR@GOTPAGE
Lloh9:
	ldr	x25, [x25, _ESCAPE_CHAR@GOTPAGEOFF]
Lloh10:
	adrp	x22, l_.str@PAGE
Lloh11:
	add	x22, x22, l_.str@PAGEOFF
Lloh12:
	adrp	x26, _botimport@GOTPAGE
Lloh13:
	ldr	x26, [x26, _botimport@GOTPAGEOFF]
Lloh14:
	adrp	x27, _PRT_FATAL@GOTPAGE
Lloh15:
	ldr	x27, [x27, _PRT_FATAL@GOTPAGEOFF]
	mov	x9, x20
Lloh16:
	adrp	x23, l_.str.1@PAGE
Lloh17:
	add	x23, x23, l_.str.1@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x26]
	ldr	w0, [x27]
	mov	x1, x23
	mov	x2, x20
	blr	x8
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w8, [x28]
	mov	x9, x28
	cbz	w8, LBB0_15
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
                                        ;     Child Loop BB0_10 Depth 2
	ldrb	w10, [x25]
	add	x28, x9, #1
	cmp	w8, w10
	b.ne	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrsb	w10, [x28]
	cmp	w10, #114
	b.eq	LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w10, #118
	b.ne	LBB0_2
LBB0_7:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w9, [x28, #1]!
	cmp	w9, #0
	ccmp	w9, w8, #4, ne
	b.ne	LBB0_7
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w9, #0
	cinc	x28, x28, ne
	b	LBB0_3
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x11, x9
	ldrb	w12, [x11, #2]!
	cmp	w12, #0
	mov	x10, #0
	ccmp	w12, w8, #4, ne
	b.eq	LBB0_12
LBB0_10:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x11, x9, x10
	strb	w12, [x21, x10]
	add	x10, x10, #1
	ldrb	w12, [x11, #3]
	cmp	w12, #0
	ccmp	w12, w8, #4, ne
	b.ne	LBB0_10
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	add	x8, x9, x10
	add	x11, x8, #2
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	strb	wzr, [x21, w10, uxtw]
	mov	x8, x11
	ldrb	w9, [x8], #1
	cmp	w9, #0
	csel	x28, x11, x8, eq
	mov	x0, x21
	bl	_RandomString
	cbnz	w0, LBB0_3
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_BotFindStringInList
	cbnz	w0, LBB0_3
; %bb.14:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x22
	mov	x1, x21
	mov	x2, x21
	bl	_Log_Write
	mov	x0, x21
	bl	_strlen
	add	w0, w0, #17
	bl	_GetClearedMemory
	mov	x24, x0
	add	x0, x0, #16
	str	x0, [x24]
	mov	x1, x21
	bl	_strcpy
	str	x19, [x24, #8]
	mov	x19, x24
	b	LBB0_3
LBB0_15:
	ldur	x8, [x29, #-88]
Lloh18:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh19:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_17
; %bb.16:
	mov	x0, x19
	sub	sp, x29, #80
	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
LBB0_17:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_MESSAGE_SIZE,4,2           ; @MAX_MESSAGE_SIZE
	.comm	_ESCAPE_CHAR,1,0                ; @ESCAPE_CHAR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s = {\"%s\"} //MISSING RANDOM\r\n"

	.comm	_botimport,8,3                  ; @botimport
	.comm	_PRT_FATAL,4,2                  ; @PRT_FATAL
l_.str.1:                               ; @.str.1
	.asciz	"BotCheckChatMessageIntegrety: message \"%s\" invalid escape char\n"

.subsections_via_symbols
