	.file	"extr_memtest.c_memtest_alloc_and_test.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Unable to allocate %zu megabytes: %s"
	.text
	.p2align 4
	.globl	memtest_alloc_and_test
	.type	memtest_alloc_and_test, @function
memtest_alloc_and_test:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rdi
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	sal	r14, 20
	mov	r13d, esi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdi
	mov	rdi, r14
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	malloc@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L5
.L2:
	mov	rdi, rbp
	mov	edx, r13d
	mov	rsi, r14
	mov	ecx, 1
	call	memtest_test@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	free@PLT
.L5:
	.cfi_restore_state
	mov	edi, DWORD PTR errno[rip]
	call	strerror@PLT
	mov	edi, DWORD PTR stderr[rip]
	mov	rdx, r12
	lea	rsi, .LC0[rip]
	mov	ecx, eax
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	memtest_alloc_and_test, .-memtest_alloc_and_test
	.comm	stderr,4,4
	.comm	errno,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_memtest.c_memtest_alloc_and_test.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Unable to allocate %zu megabytes: %s\000"
	.text
	.align	2
	.global	memtest_alloc_and_test
	.syntax unified
	.arm
	.fpu softvfp
	.type	memtest_alloc_and_test, %function
memtest_alloc_and_test:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	lsl	r7, r0, #20
	mov	r5, r0
	mov	r0, r7
	mov	r6, r1
	bl	malloc
	subs	r4, r0, #0
	beq	.L5
.L2:
	mov	r2, r6
	mov	r1, r7
	mov	r0, r4
	mov	r3, #1
	bl	memtest_test
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, lr}
	b	free
.L5:
	ldr	r3, .L6
	ldr	r2, .L6+4
	ldr	r0, [r3]
	ldr	r8, [r2]
	bl	strerror
	mov	r2, r5
	mov	r3, r0
	ldr	r1, .L6+8
	mov	r0, r8
	bl	fprintf
	mov	r0, #1
	bl	exit
	b	.L2
.L7:
	.align	2
.L6:
	.word	errno
	.word	stderr
	.word	.LC0
	.size	memtest_alloc_and_test, .-memtest_alloc_and_test
	.comm	stderr,4,4
	.comm	errno,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
