	.file	"extr_g_trigger.c_multi_trigger.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	multi_trigger
	.type	multi_trigger, @function
multi_trigger:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	QWORD PTR 16[rdi], 0
	mov	QWORD PTR 32[rdi], rsi
	jne	.L16
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR 40[rsi]
	test	rax, rax
	je	.L3
	mov	edx, DWORD PTR [rdi]
	test	dl, 1
	jne	.L21
.L4:
	and	edx, 2
	je	.L3
	mov	rcx, QWORD PTR TEAM_BLUE[rip]
	cmp	QWORD PTR [rax], rcx
	jne	.L1
.L3:
	mov	rdi, rbx
	call	G_UseTargets@PLT
	mov	r13d, DWORD PTR 4[rbx]
	test	r13d, r13d
	jg	.L22
	mov	rax, QWORD PTR FRAMETIME[rip]
	add	rax, QWORD PTR level[rip]
	mov	QWORD PTR 24[rbx], 0
	mov	QWORD PTR 16[rbx], rax
	mov	eax, DWORD PTR G_FreeEntity[rip]
	mov	DWORD PTR 12[rbx], eax
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L21:
	.cfi_restore_state
	mov	rcx, QWORD PTR TEAM_RED[rip]
	cmp	QWORD PTR [rax], rcx
	je	.L4
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	.cfi_restore 13
	ret
	.p2align 4,,10
	.p2align 3
.L22:
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -40
	.cfi_offset 6, -32
	.cfi_offset 12, -24
	.cfi_offset 13, -16
	mov	eax, DWORD PTR multi_wait[rip]
	mov	ebp, DWORD PTR 8[rbx]
	mov	r12, QWORD PTR level[rip]
	mov	DWORD PTR 12[rbx], eax
	xor	eax, eax
	call	crandom@PLT
	imul	ebp, eax
	lea	eax, 0[rbp+r13]
	imul	eax, eax, 1000
	cdqe
	add	rax, r12
	mov	QWORD PTR 16[rbx], rax
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	multi_trigger, .-multi_trigger
	.comm	multi_wait,4,4
	.comm	level,8,8
	.comm	TEAM_RED,8,8
	.comm	TEAM_BLUE,8,8
	.comm	G_FreeEntity,4,4
	.comm	FRAMETIME,8,8
	.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_g_trigger.c_multi_trigger.c"
	.text
	.align	2
	.global	multi_trigger
	.syntax unified
	.arm
	.fpu softvfp
	.type	multi_trigger, %function
multi_trigger:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0, #16]
	str	r1, [r0, #24]
	cmp	r3, #0
	bxne	lr
	ldr	r3, [r1, #28]
	push	{r4, r5, r6, r7, r8, lr}
	cmp	r3, #0
	mov	r4, r0
	beq	.L3
	ldr	r2, [r0]
	tst	r2, #1
	bne	.L20
.L4:
	tst	r2, #2
	beq	.L3
	ldr	r0, .L22
	ldr	r2, [r3]
	ldr	r3, [r0]
	cmp	r2, r3
	popne	{r4, r5, r6, r7, r8, pc}
.L3:
	mov	r0, r4
	bl	G_UseTargets
	ldr	r6, [r4, #4]
	cmp	r6, #0
	bgt	.L21
	mov	r2, #0
	ldr	r3, .L22+4
	ldr	r0, .L22+8
	ldr	r1, .L22+12
	ldr	r3, [r3]
	ldr	r0, [r0]
	ldr	r1, [r1]
	add	r3, r3, r0
	str	r3, [r4, #16]
	str	r1, [r4, #12]
	str	r2, [r4, #20]
	pop	{r4, r5, r6, r7, r8, pc}
.L20:
	ldr	r0, .L22+16
	ldr	ip, [r3]
	ldr	r0, [r0]
	cmp	ip, r0
	popne	{r4, r5, r6, r7, r8, pc}
	b	.L4
.L21:
	ldr	r3, .L22+20
	ldr	r2, .L22+4
	ldr	r3, [r3]
	ldr	r7, [r2]
	str	r3, [r4, #12]
	ldr	r5, [r4, #8]
	bl	crandom
	mla	r0, r5, r0, r6
	rsb	r3, r0, r0, lsl #5
	add	r0, r0, r3, lsl #2
	add	r0, r7, r0, lsl #3
	str	r0, [r4, #16]
	pop	{r4, r5, r6, r7, r8, pc}
.L23:
	.align	2
.L22:
	.word	TEAM_BLUE
	.word	level
	.word	FRAMETIME
	.word	G_FreeEntity
	.word	TEAM_RED
	.word	multi_wait
	.size	multi_trigger, .-multi_trigger
	.comm	multi_wait,4,4
	.comm	level,4,4
	.comm	TEAM_RED,4,4
	.comm	TEAM_BLUE,4,4
	.comm	G_FreeEntity,4,4
	.comm	FRAMETIME,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
