	.file	"extr_sync_alloc.c_test_alloc_fence.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Failure allocating timeline\n"
.LC1:
	.string	"allocFence"
.LC2:
	.string	"Failure allocating fence\n"
	.text
	.p2align 4
	.globl	test_alloc_fence
	.type	test_alloc_fence, @function
test_alloc_fence:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	xor	eax, eax
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	sw_sync_timeline_create@PLT
	mov	edi, eax
	mov	ebp, eax
	call	sw_sync_timeline_is_valid@PLT
	lea	rsi, .LC0[rip]
	mov	edi, eax
	call	ASSERT@PLT
	mov	edx, 1
	lea	rsi, .LC1[rip]
	mov	edi, ebp
	call	sw_sync_fence_create@PLT
	mov	edi, eax
	mov	r12d, eax
	call	sw_sync_fence_is_valid@PLT
	lea	rsi, .LC2[rip]
	mov	edi, eax
	call	ASSERT@PLT
	mov	edi, r12d
	call	sw_sync_fence_destroy@PLT
	mov	edi, ebp
	call	sw_sync_timeline_destroy@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	test_alloc_fence, .-test_alloc_fence
	.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_sync_alloc.c_test_alloc_fence.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Failure allocating timeline\012\000"
	.align	2
.LC1:
	.ascii	"allocFence\000"
	.align	2
.LC2:
	.ascii	"Failure allocating fence\012\000"
	.text
	.align	2
	.global	test_alloc_fence
	.syntax unified
	.arm
	.fpu softvfp
	.type	test_alloc_fence, %function
test_alloc_fence:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	bl	sw_sync_timeline_create
	mov	r4, r0
	bl	sw_sync_timeline_is_valid
	ldr	r1, .L4
	bl	ASSERT
	mov	r2, #1
	ldr	r1, .L4+4
	mov	r0, r4
	bl	sw_sync_fence_create
	mov	r5, r0
	bl	sw_sync_fence_is_valid
	ldr	r1, .L4+8
	bl	ASSERT
	mov	r0, r5
	bl	sw_sync_fence_destroy
	mov	r0, r4
	bl	sw_sync_timeline_destroy
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L5:
	.align	2
.L4:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	test_alloc_fence, .-test_alloc_fence
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
