	.file	"extr_targ-data.c_perform_delayed_ad_activation.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	perform_delayed_ad_activation
	.type	perform_delayed_ad_activation, @function
perform_delayed_ad_activation:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	xor	r12d, r12d
	cmp	QWORD PTR AD_TABLE_SIZE[rip], 0
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	QWORD PTR delay_targeting[rip], 0
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	jle	.L1
	xor	ebp, ebp
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rax, QWORD PTR Ads[rip]
	mov	rbx, QWORD PTR [rax+rbp*8]
	test	rbx, rbx
	jne	.L5
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rbx, QWORD PTR 8[rbx]
	test	rbx, rbx
	je	.L3
.L5:
	mov	eax, DWORD PTR [rbx]
	test	DWORD PTR ADF_DELAYED[rip], eax
	je	.L4
	mov	ecx, DWORD PTR ADF_ON[rip]
	mov	edx, DWORD PTR ADF_ANCIENT[rip]
	xor	edi, edi
	or	edx, ecx
	and	eax, edx
	cmp	eax, ecx
	sete	dil
	add	r12d, 1
	call	assert@PLT
	mov	eax, DWORD PTR ADF_DELAYED[rip]
	mov	rdi, rbx
	not	eax
	and	DWORD PTR [rbx], eax
	call	activate_ad@PLT
	mov	rbx, QWORD PTR 8[rbx]
	test	rbx, rbx
	jne	.L5
.L3:
	add	rbp, 1
	cmp	QWORD PTR AD_TABLE_SIZE[rip], rbp
	jg	.L6
.L1:
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	perform_delayed_ad_activation, .-perform_delayed_ad_activation
	.comm	delay_targeting,8,8
	.comm	Ads,8,8
	.comm	AD_TABLE_SIZE,8,8
	.comm	ADF_ON,4,4
	.comm	ADF_DELAYED,4,4
	.comm	ADF_ANCIENT,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_targ-data.c_perform_delayed_ad_activation.c"
	.text
	.align	2
	.global	perform_delayed_ad_activation
	.syntax unified
	.arm
	.fpu softvfp
	.type	perform_delayed_ad_activation, %function
perform_delayed_ad_activation:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r9, #0
	ldr	r7, .L18
	ldr	r2, .L18+4
	ldr	r3, [r7]
	str	r9, [r2]
	cmp	r3, r9
	ble	.L1
	mov	r6, r9
	ldr	r8, .L18+8
	ldr	r5, .L18+12
	ldr	fp, .L18+16
	ldr	r10, .L18+20
.L6:
	ldr	r3, [r8]
	ldr	r4, [r3, r6, lsl #2]
	cmp	r4, #0
	bne	.L5
	b	.L3
.L4:
	ldr	r4, [r4, #4]
	cmp	r4, #0
	beq	.L3
.L5:
	ldr	r3, [r4]
	ldr	r2, [r5]
	tst	r3, r2
	beq	.L4
	ldr	r0, [fp]
	ldr	r2, [r10]
	add	r9, r9, #1
	orr	r2, r0, r2
	and	r3, r3, r2
	sub	r0, r3, r0
	clz	r0, r0
	lsr	r0, r0, #5
	bl	assert
	ldr	r3, [r4]
	ldr	r2, [r5]
	mov	r0, r4
	bic	r3, r3, r2
	str	r3, [r4]
	bl	activate_ad
	ldr	r4, [r4, #4]
	cmp	r4, #0
	bne	.L5
.L3:
	ldr	r3, [r7]
	add	r6, r6, #1
	cmp	r3, r6
	bgt	.L6
.L1:
	mov	r0, r9
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L19:
	.align	2
.L18:
	.word	AD_TABLE_SIZE
	.word	delay_targeting
	.word	Ads
	.word	ADF_DELAYED
	.word	ADF_ON
	.word	ADF_ANCIENT
	.size	perform_delayed_ad_activation, .-perform_delayed_ad_activation
	.comm	delay_targeting,4,4
	.comm	Ads,4,4
	.comm	AD_TABLE_SIZE,4,4
	.comm	ADF_ON,4,4
	.comm	ADF_DELAYED,4,4
	.comm	ADF_ANCIENT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
