	.file	"extr_ebb_on_willing_child_test.c_victim_child.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	victim_child, @function
victim_child:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	ebp, esi
	call	wait_for_parent@PLT
	mov	edi, eax
	call	FAIL_IF@PLT
	mov	edi, 1
	call	ebb_enable_pmc_counting@PLT
	mov	edi, DWORD PTR standard_ebb_callee[rip]
	call	setup_ebb_handler@PLT
	xor	eax, eax
	call	ebb_global_enable@PLT
	mov	edi, ebp
	call	notify_parent@PLT
	mov	edi, eax
	call	FAIL_IF@PLT
	cmp	DWORD PTR ebb_state[rip], 19
	jg	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	xor	eax, eax
	call	core_busy_loop@PLT
	mov	edi, eax
	call	FAIL_IF@PLT
	cmp	DWORD PTR ebb_state[rip], 19
	jle	.L3
.L2:
	xor	eax, eax
	call	ebb_global_disable@PLT
	xor	eax, eax
	call	ebb_freeze_pmcs@PLT
	mov	esi, DWORD PTR sample_period[rip]
	mov	edi, 1
	call	count_pmc@PLT
	xor	eax, eax
	call	dump_ebb_state@PLT
	mov	eax, DWORD PTR ebb_state[rip]
	xor	edi, edi
	test	eax, eax
	sete	dil
	call	FAIL_IF@PLT
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	victim_child, .-victim_child
	.comm	standard_ebb_callee,4,4
	.comm	sample_period,4,4
	.comm	ebb_state,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_ebb_on_willing_child_test.c_victim_child.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	victim_child, %function
victim_child:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r1
	bl	wait_for_parent
	bl	FAIL_IF
	mov	r0, #1
	bl	ebb_enable_pmc_counting
	ldr	r3, .L7
	ldr	r4, .L7+4
	ldr	r0, [r3]
	bl	setup_ebb_handler
	bl	ebb_global_enable
	mov	r0, r5
	bl	notify_parent
	bl	FAIL_IF
	ldr	r3, [r4]
	cmp	r3, #19
	bgt	.L2
.L3:
	bl	core_busy_loop
	bl	FAIL_IF
	ldr	r3, [r4]
	cmp	r3, #19
	ble	.L3
.L2:
	bl	ebb_global_disable
	bl	ebb_freeze_pmcs
	ldr	r3, .L7+8
	mov	r0, #1
	ldr	r1, [r3]
	bl	count_pmc
	bl	dump_ebb_state
	ldr	r0, [r4]
	clz	r0, r0
	lsr	r0, r0, #5
	bl	FAIL_IF
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L8:
	.align	2
.L7:
	.word	standard_ebb_callee
	.word	ebb_state
	.word	sample_period
	.size	victim_child, .-victim_child
	.comm	standard_ebb_callee,4,4
	.comm	sample_period,4,4
	.comm	ebb_state,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
