	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BotInitialChat                 ## -- Begin function BotInitialChat
	.p2align	4, 0x90
_BotInitialChat:                        ## @BotInitialChat
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r13
	movq	%r8, %r15
	movq	%rcx, %r14
	movl	%edx, -60(%rbp)                 ## 4-byte Spill
	movq	%rsi, %rbx
	callq	_BotChatStateFromHandle
	testq	%rax, %rax
	je	LBB0_20
## %bb.1:
	movq	%rax, %r12
	cmpl	$0, (%rax)
	je	LBB0_20
## %bb.2:
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_BotChooseInitialChatMessage
	testq	%rax, %rax
	je	LBB0_20
## %bb.3:
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	leaq	-56(%rbp), %rdi
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_Com_Memset
	testq	%r14, %r14
	je	LBB0_5
## %bb.4:
	movl	-48(%rbp), %edi
	movq	%r14, %rsi
	callq	_strcat
	movq	-56(%rbp), %rax
	movl	$0, (%rax)
	movq	%r14, %rdi
	callq	_strlen
	movq	-56(%rbp), %rcx
	movq	%rax, 8(%rcx)
	movq	%r14, %rdi
	callq	_strlen
	movq	%rax, %rbx
LBB0_5:
	testq	%r15, %r15
	je	LBB0_7
## %bb.6:
	movl	-48(%rbp), %edi
	movq	%r15, %rsi
	callq	_strcat
	movq	-56(%rbp), %rax
	movl	%ebx, 16(%rax)
	movq	%r15, %rdi
	callq	_strlen
	movq	-56(%rbp), %rcx
	movq	%rax, 24(%rcx)
	movq	%r15, %rdi
	callq	_strlen
	addl	%ebx, %eax
	movl	%eax, %ebx
LBB0_7:
	movq	16(%rbp), %r14
	testq	%r13, %r13
	je	LBB0_9
## %bb.8:
	movl	-48(%rbp), %edi
	movq	%r13, %rsi
	callq	_strcat
	movq	-56(%rbp), %rax
	movl	%ebx, 32(%rax)
	movq	%r13, %rdi
	callq	_strlen
	movq	-56(%rbp), %rcx
	movq	%rax, 40(%rcx)
	movq	%r13, %rdi
	callq	_strlen
	addl	%ebx, %eax
	movl	%eax, %ebx
LBB0_9:
	movq	24(%rbp), %r15
	testq	%r14, %r14
	je	LBB0_11
## %bb.10:
	movl	-48(%rbp), %edi
	movq	%r14, %rsi
	callq	_strcat
	movq	-56(%rbp), %rax
	movl	%ebx, 48(%rax)
	movq	%r14, %rdi
	callq	_strlen
	movq	-56(%rbp), %rcx
	movq	%rax, 56(%rcx)
	movq	%r14, %rdi
	callq	_strlen
	addl	%ebx, %eax
	movl	%eax, %ebx
LBB0_11:
	movq	32(%rbp), %r14
	testq	%r15, %r15
	je	LBB0_13
## %bb.12:
	movl	-48(%rbp), %edi
	movq	%r15, %rsi
	callq	_strcat
	movq	-56(%rbp), %rax
	movl	%ebx, 64(%rax)
	movq	%r15, %rdi
	callq	_strlen
	movq	-56(%rbp), %rcx
	movq	%rax, 72(%rcx)
	movq	%r15, %rdi
	callq	_strlen
	addl	%ebx, %eax
	movl	%eax, %ebx
LBB0_13:
	movq	40(%rbp), %r15
	testq	%r14, %r14
	je	LBB0_15
## %bb.14:
	movl	-48(%rbp), %edi
	movq	%r14, %rsi
	callq	_strcat
	movq	-56(%rbp), %rax
	movl	%ebx, 80(%rax)
	movq	%r14, %rdi
	callq	_strlen
	movq	-56(%rbp), %rcx
	movq	%rax, 88(%rcx)
	movq	%r14, %rdi
	callq	_strlen
	addl	%ebx, %eax
	movl	%eax, %ebx
LBB0_15:
	movq	48(%rbp), %r14
	testq	%r15, %r15
	je	LBB0_17
## %bb.16:
	movl	-48(%rbp), %edi
	movq	%r15, %rsi
	callq	_strcat
	movq	-56(%rbp), %rax
	movl	%ebx, 96(%rax)
	movq	%r15, %rdi
	callq	_strlen
	movq	-56(%rbp), %rcx
	movq	%rax, 104(%rcx)
	movq	%r15, %rdi
	callq	_strlen
	addl	%ebx, %eax
	movl	%eax, %ebx
LBB0_17:
	testq	%r14, %r14
	je	LBB0_19
## %bb.18:
	movl	-48(%rbp), %edi
	movq	%r14, %rsi
	callq	_strcat
	movq	-56(%rbp), %rax
	movl	%ebx, 112(%rax)
	movq	%r14, %rdi
	callq	_strlen
	movq	-56(%rbp), %rcx
	movq	%rax, 120(%rcx)
	movq	%r14, %rdi
	callq	_strlen
LBB0_19:
	movq	_qfalse@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	leaq	-56(%rbp), %rcx
	movq	%r12, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	xorl	%r8d, %r8d
	callq	_BotConstructChatMessage
LBB0_20:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_qfalse,4,2                     ## @qfalse
	.comm	_PRT_MESSAGE,4,2                ## @PRT_MESSAGE
	.comm	_botimport,8,3                  ## @botimport
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BotInitialChat                 ; -- Begin function BotInitialChat
	.p2align	2
_BotInitialChat:                        ; @BotInitialChat
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x23, x7
	mov	x24, x6
	mov	x25, x5
	mov	x26, x4
	mov	x22, x3
	mov	x19, x2
	mov	x21, x1
	bl	_BotChatStateFromHandle
	cbz	x0, LBB0_20
; %bb.1:
	mov	x20, x0
	ldr	w8, [x0]
	cbz	w8, LBB0_20
; %bb.2:
	mov	x0, x20
	mov	x1, x21
	bl	_BotChooseInitialChatMessage
	cbz	x0, LBB0_20
; %bb.3:
	mov	x21, x0
	mov	x0, sp
	mov	w1, #0
	mov	w2, #16
	bl	_Com_Memset
	cbz	x22, LBB0_5
; %bb.4:
	ldr	w0, [sp, #8]
	mov	x1, x22
	bl	_strcat
	ldr	x8, [sp]
	str	wzr, [x8]
	mov	x0, x22
	bl	_strlen
	ldr	x8, [sp]
	str	x0, [x8, #8]
	mov	x0, x22
	bl	_strlen
	mov	x22, x0
LBB0_5:
	cbz	x26, LBB0_7
; %bb.6:
	ldr	w0, [sp, #8]
	mov	x1, x26
	bl	_strcat
	ldr	x8, [sp]
	str	w22, [x8, #16]
	mov	x0, x26
	bl	_strlen
	ldr	x8, [sp]
	str	x0, [x8, #24]
	mov	x0, x26
	bl	_strlen
	add	w22, w0, w22
LBB0_7:
	cbz	x25, LBB0_9
; %bb.8:
	ldr	w0, [sp, #8]
	mov	x1, x25
	bl	_strcat
	ldr	x8, [sp]
	str	w22, [x8, #32]
	mov	x0, x25
	bl	_strlen
	ldr	x8, [sp]
	str	x0, [x8, #40]
	mov	x0, x25
	bl	_strlen
	add	w22, w0, w22
LBB0_9:
	cbz	x24, LBB0_11
; %bb.10:
	ldr	w0, [sp, #8]
	mov	x1, x24
	bl	_strcat
	ldr	x8, [sp]
	str	w22, [x8, #48]
	mov	x0, x24
	bl	_strlen
	ldr	x8, [sp]
	str	x0, [x8, #56]
	mov	x0, x24
	bl	_strlen
	add	w22, w0, w22
LBB0_11:
	ldr	x25, [x29, #16]
	cbz	x23, LBB0_13
; %bb.12:
	ldr	w0, [sp, #8]
	mov	x1, x23
	bl	_strcat
	ldr	x8, [sp]
	str	w22, [x8, #64]
	mov	x0, x23
	bl	_strlen
	ldr	x8, [sp]
	str	x0, [x8, #72]
	mov	x0, x23
	bl	_strlen
	add	w22, w0, w22
LBB0_13:
	ldr	x24, [x29, #24]
	cbz	x25, LBB0_15
; %bb.14:
	ldr	w0, [sp, #8]
	mov	x1, x25
	bl	_strcat
	ldr	x8, [sp]
	str	w22, [x8, #80]
	mov	x0, x25
	bl	_strlen
	ldr	x8, [sp]
	str	x0, [x8, #88]
	mov	x0, x25
	bl	_strlen
	add	w22, w0, w22
LBB0_15:
	ldr	x23, [x29, #32]
	cbz	x24, LBB0_17
; %bb.16:
	ldr	w0, [sp, #8]
	mov	x1, x24
	bl	_strcat
	ldr	x8, [sp]
	str	w22, [x8, #96]
	mov	x0, x24
	bl	_strlen
	ldr	x8, [sp]
	str	x0, [x8, #104]
	mov	x0, x24
	bl	_strlen
	add	w22, w0, w22
LBB0_17:
	cbz	x23, LBB0_19
; %bb.18:
	ldr	w0, [sp, #8]
	mov	x1, x23
	bl	_strcat
	ldr	x8, [sp]
	str	w22, [x8, #112]
	mov	x0, x23
	bl	_strlen
	ldr	x8, [sp]
	str	x0, [x8, #120]
	mov	x0, x23
	bl	_strlen
LBB0_19:
Lloh0:
	adrp	x8, _qfalse@GOTPAGE
Lloh1:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
Lloh2:
	ldr	w5, [x8]
	mov	x3, sp
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	mov	w4, #0
	bl	_BotConstructChatMessage
LBB0_20:
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_qfalse,4,2                     ; @qfalse
	.comm	_PRT_MESSAGE,4,2                ; @PRT_MESSAGE
	.comm	_botimport,8,3                  ; @botimport
.subsections_via_symbols
