	.file	"extr_ai_vcmd.c_BotVoiceChat_WantOnDefense.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"keepinmind"
	.text
	.p2align 4
	.globl	BotVoiceChat_WantOnDefense
	.type	BotVoiceChat_WantOnDefense, @function
BotVoiceChat_WantOnDefense:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r13
	push	r12
	.cfi_offset 13, -24
	.cfi_offset 12, -32
	mov	r12d, esi
	push	rbx
	.cfi_offset 3, -40
	mov	rbx, rdi
	sub	rsp, 24
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -40[rbp], rax
	xor	eax, eax
	movsx	rax, DWORD PTR MAX_NETNAME[rip]
	mov	rcx, rsp
	mov	r13, rax
	add	rax, 15
	mov	rdx, rax
	and	rax, -4096
	sub	rcx, rax
	and	rdx, -16
	mov	rax, rcx
	cmp	rsp, rax
	je	.L3
.L11:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L11
.L3:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L12
.L4:
	mov	esi, r12d
	mov	rdi, rbx
	call	BotGetTeamMateTaskPreference@PLT
	mov	esi, r12d
	mov	rdi, rbx
	mov	r8d, eax
	mov	eax, DWORD PTR TEAMTP_ATTACKER[rip]
	not	eax
	and	eax, r8d
	or	eax, DWORD PTR TEAMTP_DEFENDER[rip]
	mov	edx, eax
	call	BotSetTeamMateTaskPreference@PLT
	mov	edx, r13d
	mov	rsi, rsp
	mov	edi, r12d
	call	EasyClientName@PLT
	xor	ecx, ecx
	mov	rdx, rsp
	mov	rdi, rbx
	lea	rsi, .LC0[rip]
	call	BotAI_BotInitialChat@PLT
	mov	edi, DWORD PTR 4[rbx]
	mov	edx, DWORD PTR CHAT_TELL[rip]
	mov	esi, r12d
	call	trap_BotEnterChat@PLT
	mov	edx, DWORD PTR VOICECHAT_YES[rip]
	mov	esi, r12d
	mov	rdi, rbx
	call	BotVoiceChatOnly@PLT
	mov	esi, DWORD PTR ACTION_AFFIRMATIVE[rip]
	mov	edi, DWORD PTR [rbx]
	call	trap_EA_Action@PLT
	mov	rax, QWORD PTR -40[rbp]
	xor	rax, QWORD PTR fs:40
	jne	.L13
	lea	rsp, -24[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L4
.L13:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	BotVoiceChat_WantOnDefense, .-BotVoiceChat_WantOnDefense
	.comm	VOICECHAT_YES,4,4
	.comm	TEAMTP_DEFENDER,4,4
	.comm	TEAMTP_ATTACKER,4,4
	.comm	MAX_NETNAME,4,4
	.comm	CHAT_TELL,4,4
	.comm	ACTION_AFFIRMATIVE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_ai_vcmd.c_BotVoiceChat_WantOnDefense.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"keepinmind\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	BotVoiceChat_WantOnDefense
	.syntax unified
	.arm
	.fpu softvfp
	.type	BotVoiceChat_WantOnDefense, %function
BotVoiceChat_WantOnDefense:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, fp, lr}
	add	fp, sp, #16
	sub	sp, sp, #12
	ldr	r3, .L6
	ldr	r2, .L6+4
	ldr	r6, [r3]
	mov	r4, r0
	add	r3, r6, #7
	bic	r3, r3, #7
	sub	sp, sp, r3
	mov	r5, r1
	ldr	r2, [r2]
	str	r2, [fp, #-24]
	mov	r2,#0
	bl	BotGetTeamMateTaskPreference
	ldr	r3, .L6+8
	ldr	r2, .L6+12
	ldr	r3, [r3]
	ldr	r2, [r2]
	bic	r0, r0, r3
	orr	r2, r0, r2
	mov	r1, r5
	mov	r0, r4
	bl	BotSetTeamMateTaskPreference
	mov	r2, r6
	mov	r1, sp
	mov	r0, r5
	bl	EasyClientName
	mov	r2, sp
	mov	r3, #0
	ldr	r1, .L6+16
	mov	r0, r4
	bl	BotAI_BotInitialChat
	ldr	r3, .L6+20
	mov	r1, r5
	ldr	r2, [r3]
	ldr	r0, [r4, #4]
	bl	trap_BotEnterChat
	ldr	r3, .L6+24
	mov	r1, r5
	ldr	r2, [r3]
	mov	r0, r4
	bl	BotVoiceChatOnly
	ldr	r3, .L6+28
	ldr	r0, [r4]
	ldr	r1, [r3]
	bl	trap_EA_Action
	ldr	r3, .L6+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L5
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, fp, pc}
.L5:
	bl	__stack_chk_fail
.L7:
	.align	2
.L6:
	.word	MAX_NETNAME
	.word	.LC1
	.word	TEAMTP_ATTACKER
	.word	TEAMTP_DEFENDER
	.word	.LC0
	.word	CHAT_TELL
	.word	VOICECHAT_YES
	.word	ACTION_AFFIRMATIVE
	.size	BotVoiceChat_WantOnDefense, .-BotVoiceChat_WantOnDefense
	.comm	VOICECHAT_YES,4,4
	.comm	TEAMTP_DEFENDER,4,4
	.comm	TEAMTP_ATTACKER,4,4
	.comm	MAX_NETNAME,4,4
	.comm	CHAT_TELL,4,4
	.comm	ACTION_AFFIRMATIVE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
