	.file	"extr_misc.c_test_Alloc.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Expected non-NULL ptr\n"
.LC1:
	.string	"Expected TRUE, got %d\n"
.LC2:
	.string	"Expected 1, got %d\n"
.LC3:
	.string	"Expected 2, got %d\n"
	.text
	.p2align 4
	.type	test_Alloc, @function
test_Alloc:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	xor	edi, edi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	call	pAlloc@PLT
	xor	edi, edi
	lea	rsi, .LC0[rip]
	test	rax, rax
	mov	rbp, rax
	setne	dil
	xor	eax, eax
	call	ok@PLT
	mov	rdi, rbp
	call	pGetSize@PLT
	mov	rdi, rbp
	mov	ebx, eax
	call	pFree@PLT
	xor	edi, edi
	cmp	DWORD PTR TRUE[rip], eax
	lea	rsi, .LC1[rip]
	sete	dil
	mov	edx, eax
	xor	eax, eax
	call	ok@PLT
	mov	edi, 1
	call	pAlloc@PLT
	xor	edi, edi
	lea	rsi, .LC0[rip]
	test	rax, rax
	mov	rbp, rax
	setne	dil
	xor	eax, eax
	call	ok@PLT
	mov	rdi, rbp
	call	pGetSize@PLT
	mov	edi, 1
	mov	r12d, eax
	cmp	eax, 1
	je	.L2
	xor	edi, edi
	cmp	ebx, eax
	sete	dil
	call	broken@PLT
	xor	edi, edi
	test	rax, rax
	setne	dil
.L2:
	mov	edx, r12d
	lea	rsi, .LC2[rip]
	xor	eax, eax
	call	ok@PLT
	mov	rdi, rbp
	mov	esi, 2
	call	pReAlloc@PLT
	xor	edi, edi
	lea	rsi, .LC0[rip]
	test	rax, rax
	mov	rbp, rax
	setne	dil
	xor	eax, eax
	call	ok@PLT
	mov	rdi, rbp
	call	pGetSize@PLT
	mov	edi, 1
	mov	r12d, eax
	cmp	eax, 2
	je	.L3
	xor	edi, edi
	cmp	ebx, eax
	sete	dil
	call	broken@PLT
	xor	edi, edi
	test	rax, rax
	setne	dil
.L3:
	mov	edx, r12d
	lea	rsi, .LC3[rip]
	xor	eax, eax
	call	ok@PLT
	mov	rdi, rbp
	call	pFree@PLT
	xor	edi, edi
	cmp	DWORD PTR TRUE[rip], eax
	lea	rsi, .LC1[rip]
	sete	dil
	mov	edx, eax
	xor	eax, eax
	call	ok@PLT
	xor	edi, edi
	call	pFree@PLT
	cmp	DWORD PTR TRUE[rip], eax
	mov	edi, 1
	mov	r12d, eax
	je	.L4
	xor	edi, edi
	cmp	DWORD PTR FALSE[rip], eax
	sete	dil
	call	broken@PLT
	xor	edi, edi
	test	rax, rax
	setne	dil
.L4:
	mov	edx, r12d
	lea	rsi, .LC1[rip]
	xor	eax, eax
	call	ok@PLT
	xor	edi, edi
	mov	esi, 2
	call	pReAlloc@PLT
	xor	edi, edi
	lea	rsi, .LC0[rip]
	test	rax, rax
	mov	rbp, rax
	setne	dil
	xor	eax, eax
	call	ok@PLT
	mov	rdi, rbp
	call	pFree@PLT
	xor	edi, edi
	cmp	DWORD PTR TRUE[rip], eax
	pop	rbx
	.cfi_def_cfa_offset 24
	mov	edx, eax
	sete	dil
	pop	rbp
	.cfi_def_cfa_offset 16
	xor	eax, eax
	lea	rsi, .LC1[rip]
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	ok@PLT
	.cfi_endproc
.LFE0:
	.size	test_Alloc, .-test_Alloc
	.comm	TRUE,4,4
	.comm	FALSE,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_misc.c_test_Alloc.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Expected non-NULL ptr\012\000"
	.align	2
.LC1:
	.ascii	"Expected TRUE, got %d\012\000"
	.align	2
.LC2:
	.ascii	"Expected 1, got %d\012\000"
	.align	2
.LC3:
	.ascii	"Expected 2, got %d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	test_Alloc, %function
test_Alloc:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r0, #0
	bl	pAlloc
	mov	r4, r0
	subs	r0, r0, #0
	movne	r0, #1
	ldr	r1, .L10
	bl	ok
	mov	r0, r4
	bl	pGetSize
	mov	r7, r0
	mov	r0, r4
	bl	pFree
	mov	r2, r0
	ldr	r6, .L10+4
	ldr	r1, .L10+8
	ldr	r0, [r6]
	sub	r0, r0, r2
	clz	r0, r0
	lsr	r0, r0, #5
	bl	ok
	mov	r0, #1
	bl	pAlloc
	mov	r4, r0
	subs	r0, r0, #0
	movne	r0, #1
	ldr	r1, .L10
	bl	ok
	mov	r0, r4
	bl	pGetSize
	cmp	r0, #1
	mov	r5, r0
	beq	.L2
	sub	r0, r7, r5
	clz	r0, r0
	lsr	r0, r0, #5
	bl	broken
	subs	r0, r0, #0
	movne	r0, #1
.L2:
	mov	r2, r5
	ldr	r1, .L10+12
	bl	ok
	mov	r0, r4
	mov	r1, #2
	bl	pReAlloc
	mov	r4, r0
	subs	r0, r0, #0
	movne	r0, #1
	ldr	r1, .L10
	bl	ok
	mov	r0, r4
	bl	pGetSize
	cmp	r0, #2
	mov	r5, r0
	moveq	r0, #1
	beq	.L3
	sub	r0, r7, r5
	clz	r0, r0
	lsr	r0, r0, #5
	bl	broken
	subs	r0, r0, #0
	movne	r0, #1
.L3:
	mov	r2, r5
	ldr	r1, .L10+16
	bl	ok
	mov	r0, r4
	bl	pFree
	mov	r2, r0
	ldr	r0, [r6]
	ldr	r1, .L10+8
	sub	r0, r0, r2
	clz	r0, r0
	lsr	r0, r0, #5
	bl	ok
	mov	r0, #0
	bl	pFree
	ldr	r3, [r6]
	mov	r4, r0
	cmp	r3, r0
	moveq	r0, #1
	beq	.L4
	ldr	r3, .L10+20
	ldr	r0, [r3]
	sub	r0, r0, r4
	clz	r0, r0
	lsr	r0, r0, #5
	bl	broken
	subs	r0, r0, #0
	movne	r0, #1
.L4:
	mov	r2, r4
	ldr	r1, .L10+8
	bl	ok
	mov	r1, #2
	mov	r0, #0
	bl	pReAlloc
	mov	r4, r0
	subs	r0, r0, #0
	ldr	r1, .L10
	movne	r0, #1
	bl	ok
	mov	r0, r4
	bl	pFree
	mov	r2, r0
	ldr	r0, [r6]
	ldr	r1, .L10+8
	sub	r0, r0, r2
	clz	r0, r0
	pop	{r4, r5, r6, r7, r8, lr}
	lsr	r0, r0, #5
	b	ok
.L11:
	.align	2
.L10:
	.word	.LC0
	.word	TRUE
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	FALSE
	.size	test_Alloc, .-test_Alloc
	.comm	TRUE,4,4
	.comm	FALSE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
