	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BotChooseInitialChatMessage    ## -- Begin function BotChooseInitialChatMessage
	.p2align	4, 0x90
_BotChooseInitialChatMessage:           ## @BotChooseInitialChatMessage
	.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	(%rdi), %rax
	movq	(%rax), %r13
	testq	%r13, %r13
	je	LBB0_4
## %bb.1:
	movq	%rsi, %r15
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	8(%r13), %edi
	movq	%r15, %rsi
	callq	_Q_stricmp
	testl	%eax, %eax
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%r13), %r13
	testq	%r13, %r13
	jne	LBB0_2
	jmp	LBB0_25
LBB0_5:
	movq	(%r13), %rbx
	xorl	%r14d, %r14d
	testq	%rbx, %rbx
	je	LBB0_25
## %bb.6:
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movss	(%rbx), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, -44(%rbp)                ## 4-byte Spill
	xorl	%eax, %eax
	callq	_AAS_Time
	xorl	%eax, %eax
	movss	-44(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	ucomiss	%xmm0, %xmm1
	setbe	%al
	addl	%eax, %r12d
	movq	16(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_7
## %bb.8:
	testl	%r12d, %r12d
	je	LBB0_15
## %bb.9:
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_random
	movq	(%r13), %rbx
	testq	%rbx, %rbx
	je	LBB0_25
## %bb.10:
	movl	%eax, %r15d
	imull	%r12d, %r15d
	xorl	%r14d, %r14d
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	16(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_25
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movss	(%rbx), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, -44(%rbp)                ## 4-byte Spill
	xorl	%eax, %eax
	callq	_AAS_Time
	movss	-44(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	ucomiss	%xmm0, %xmm1
	ja	LBB0_11
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	testl	%r15d, %r15d
	jle	LBB0_23
## %bb.14:                              ##   in Loop: Header=BB0_12 Depth=1
	decl	%r15d
	jmp	LBB0_11
LBB0_15:
	movq	(%r13), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.16:
	xorps	%xmm0, %xmm0
	xorl	%ebx, %ebx
	xorps	%xmm1, %xmm1
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_18 Depth=1
	cmovneq	%rax, %rbx
	movq	16(%rax), %rax
	movaps	%xmm2, %xmm1
	testq	%rax, %rax
	je	LBB0_20
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movss	(%rax), %xmm2                   ## xmm2 = mem[0],zero,zero,zero
	movaps	%xmm1, %xmm3
	cmpeqps	%xmm0, %xmm3
	movaps	%xmm2, %xmm4
	cmpltps	%xmm1, %xmm4
	orps	%xmm3, %xmm4
	movd	%xmm4, %ecx
	testb	$1, %cl
	jne	LBB0_17
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=1
	movaps	%xmm1, %xmm2
	jmp	LBB0_17
LBB0_20:
	testq	%rbx, %rbx
	jne	LBB0_24
LBB0_4:
	xorl	%r14d, %r14d
LBB0_25:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_23:
	xorl	%eax, %eax
	callq	_AAS_Time
	movq	_CHATMESSAGE_RECENTTIME@GOTPCREL(%rip), %rax
	addss	(%rax), %xmm0
	movss	%xmm0, (%rbx)
LBB0_24:
	movq	8(%rbx), %r14
	jmp	LBB0_25
	.cfi_endproc
                                        ## -- End function
	.comm	_CHATMESSAGE_RECENTTIME,4,2     ## @CHATMESSAGE_RECENTTIME
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BotChooseInitialChatMessage    ; -- Begin function BotChooseInitialChatMessage
	.p2align	2
_BotChooseInitialChatMessage:           ; @BotChooseInitialChatMessage
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [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 b8, -56
	.cfi_offset b9, -64
	ldr	x8, [x0]
	ldr	x20, [x8]
	cbz	x20, LBB0_18
; %bb.1:
	mov	x19, x1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20, #8]
	mov	x1, x19
	bl	_Q_stricmp
	cbz	w0, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x20, [x20, #16]
	cbnz	x20, LBB0_2
	b	LBB0_18
LBB0_4:
	ldr	x19, [x20]
	cbz	x19, LBB0_18
; %bb.5:
	mov	w21, #0
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	s8, [x19]
	bl	_AAS_Time
	fcmp	s8, s0
	cinc	w21, w21, le
	ldr	x19, [x19, #16]
	cbnz	x19, LBB0_6
; %bb.7:
	cbz	w21, LBB0_14
; %bb.8:
	bl	_random
	ldr	x19, [x20]
	cbz	x19, LBB0_18
; %bb.9:
	mul	w20, w0, w21
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	ldr	x19, [x19, #16]
	cbz	x19, LBB0_18
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	s8, [x19]
	bl	_AAS_Time
	fcmp	s8, s0
	b.gt	LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	cmp	w20, #0
	b.le	LBB0_20
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=1
	sub	w20, w20, #1
	b	LBB0_10
LBB0_14:
	ldr	x8, [x20]
	cbz	x8, LBB0_18
; %bb.15:
	mov	x19, #0
	movi	d0, #0000000000000000
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	fcmp	s0, #0.0
	cset	w9, eq
	ldr	s1, [x8]
	fcmp	s1, s0
	cset	w10, mi
	orr	w9, w9, w10
	cmp	w9, #0
	fcsel	s0, s1, s0, ne
	csel	x19, x8, x19, ne
	ldr	x8, [x8, #16]
	cbnz	x8, LBB0_16
; %bb.17:
	cbnz	x19, LBB0_21
LBB0_18:
	mov	x0, #0
LBB0_19:
	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	d9, d8, [sp], #64               ; 16-byte Folded Reload
	ret
LBB0_20:
	bl	_AAS_Time
Lloh0:
	adrp	x8, _CHATMESSAGE_RECENTTIME@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CHATMESSAGE_RECENTTIME@GOTPAGEOFF]
Lloh2:
	ldr	s1, [x8]
	fadd	s0, s0, s1
	str	s0, [x19]
LBB0_21:
	ldr	x0, [x19, #8]
	b	LBB0_19
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CHATMESSAGE_RECENTTIME,4,2     ; @CHATMESSAGE_RECENTTIME
.subsections_via_symbols
