	.file	"extr_g_target.c_target_relay_use.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	target_relay_use
	.type	target_relay_use, @function
target_relay_use:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	eax, DWORD PTR [rdi]
	test	al, 1
	je	.L2
	mov	rdx, QWORD PTR 24[rdx]
	test	rdx, rdx
	je	.L3
	mov	rdx, QWORD PTR [rdx]
	cmp	rdx, QWORD PTR TEAM_RED[rip]
	je	.L4
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	test	al, 2
	je	.L3
	mov	rdx, QWORD PTR 24[rdx]
	test	rdx, rdx
	je	.L3
	mov	rdx, QWORD PTR [rdx]
.L8:
	cmp	QWORD PTR TEAM_BLUE[rip], rdx
	jne	.L1
.L3:
	test	al, 4
	jne	.L26
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rsi, r12
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	G_UseTargets@PLT
	.p2align 4,,10
	.p2align 3
.L26:
	.cfi_restore_state
	mov	edi, DWORD PTR 16[rbp]
	call	G_PickTarget@PLT
	mov	rdi, rax
	test	rax, rax
	je	.L1
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	je	.L1
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdx, r12
	mov	rsi, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	rax
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	test	al, 2
	jne	.L8
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	target_relay_use, .-target_relay_use
	.comm	TEAM_RED,8,8
	.comm	TEAM_BLUE,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_target.c_target_relay_use.c"
	.text
	.align	2
	.global	target_relay_use
	.syntax unified
	.arm
	.fpu softvfp
	.type	target_relay_use, %function
target_relay_use:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0]
	push	{r4, r5, r6, lr}
	tst	r3, #1
	mov	r4, r0
	mov	r5, r2
	beq	.L2
	ldr	r2, [r2, #12]
	cmp	r2, #0
	beq	.L3
	ldr	r1, .L28
	ldr	r2, [r2]
	ldr	r1, [r1]
	cmp	r2, r1
	popne	{r4, r5, r6, pc}
	tst	r3, #2
	bne	.L8
.L3:
	tst	r3, #4
	bne	.L27
.L7:
	mov	r1, r5
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	G_UseTargets
.L2:
	tst	r3, #2
	beq	.L3
	ldr	r2, [r2, #12]
	cmp	r2, #0
	beq	.L3
	ldr	r2, [r2]
.L8:
	ldr	r1, .L28+4
	ldr	r1, [r1]
	cmp	r1, r2
	popne	{r4, r5, r6, pc}
	tst	r3, #4
	beq	.L7
.L27:
	ldr	r0, [r4, #8]
	bl	G_PickTarget
	subs	r3, r0, #0
	popeq	{r4, r5, r6, pc}
	ldr	r3, [r3, #4]
	cmp	r3, #0
	popeq	{r4, r5, r6, pc}
	mov	r2, r5
	mov	r1, r4
	pop	{r4, r5, r6, lr}
	bx	r3
.L29:
	.align	2
.L28:
	.word	TEAM_RED
	.word	TEAM_BLUE
	.size	target_relay_use, .-target_relay_use
	.comm	TEAM_RED,4,4
	.comm	TEAM_BLUE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
