	.file	"extr_alignment_handler.c_do_test.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"\tDoing %s:\t"
.LC1:
	.string	"/dev/fb0"
.LC2:
	.string	"Can't open /dev/fb0 now?"
.LC3:
	.string	"mmap failed"
.LC4:
	.string	"FAILED: Got signal"
.LC5:
	.string	"FAILED: Wrong Data"
.LC6:
	.string	"PASSED"
	.text
	.p2align 4
	.globl	do_test
	.type	do_test, @function
do_test:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rsi
	mov	rsi, rdi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdi
	lea	rdi, .LC0[rip]
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	call	printf@PLT
	mov	esi, DWORD PTR O_RDWR[rip]
	lea	rdi, .LC1[rip]
	call	open@PLT
	mov	DWORD PTR 12[rsp], eax
	test	eax, eax
	js	.L28
	mov	ebx, DWORD PTR 12[rsp]
	mov	ecx, DWORD PTR MAP_SHARED[rip]
	xor	r9d, r9d
	xor	edi, edi
	mov	edx, DWORD PTR PROT_WRITE[rip]
	mov	esi, DWORD PTR bufsize[rip]
	mov	r8d, ebx
	call	mmap@PLT
	mov	esi, DWORD PTR bufsize[rip]
	mov	r8d, ebx
	xor	edi, edi
	mov	ecx, DWORD PTR MAP_SHARED[rip]
	mov	edx, DWORD PTR PROT_WRITE[rip]
	mov	rbp, rax
	mov	r9d, esi
	call	mmap@PLT
	mov	r12, rax
	mov	rax, QWORD PTR MAP_FAILED[rip]
	cmp	rax, r12
	je	.L15
	cmp	rax, rbp
	je	.L15
.L4:
	mov	esi, DWORD PTR bufsize[rip]
	lea	rdi, 24[rsp]
	mov	edx, esi
	call	posix_memalign@PLT
	mov	DWORD PTR 8[rsp], eax
	test	eax, eax
	jne	.L29
	mov	esi, DWORD PTR bufsize[rip]
	lea	rdi, 32[rsp]
	mov	r15d, 1
	mov	edx, esi
	call	posix_memalign@PLT
	mov	DWORD PTR 8[rsp], eax
	test	eax, eax
	je	.L7
	jmp	.L30
	.p2align 4,,10
	.p2align 3
.L34:
	mov	edx, DWORD PTR debug[rip]
	test	edx, edx
	je	.L31
	mov	rdi, QWORD PTR 32[rsp]
	mov	r8, r13
	mov	ecx, r15d
	mov	edx, 16
	mov	rsi, r12
	call	test_memcmp@PLT
.L12:
	mov	eax, DWORD PTR debug[rip]
	test	eax, eax
	je	.L32
	add	r15d, 1
	cmp	r15d, 16
	je	.L33
.L7:
	mov	edx, 16
	mov	esi, r15d
	mov	rdi, rbp
	call	preload_data@PLT
	mov	rdi, QWORD PTR 24[rsp]
	mov	edx, 16
	mov	esi, r15d
	call	preload_data@PLT
	mov	edx, DWORD PTR bufsize[rip]
	mov	rsi, QWORD PTR 24[rsp]
	mov	rdi, rbp
	call	memcpy@PLT
	mov	edx, DWORD PTR bufsize[rip]
	mov	rsi, QWORD PTR 32[rsp]
	mov	rdi, r12
	call	memcpy@PLT
	mov	rdi, QWORD PTR 24[rsp]
	mov	r8, r13
	mov	ecx, r15d
	mov	edx, 16
	mov	rsi, rbp
	call	test_memcmp@PLT
	mov	r8, r14
	mov	ecx, r15d
	mov	edx, 16
	mov	rsi, rbp
	mov	rdi, r12
	call	test_memcpy@PLT
	mov	rsi, QWORD PTR 24[rsp]
	mov	r8, r14
	mov	ecx, r15d
	mov	rdi, QWORD PTR 32[rsp]
	mov	edx, 16
	mov	ebx, eax
	call	test_memcpy@PLT
	or	ebx, eax
	jne	.L34
	mov	rdi, QWORD PTR 32[rsp]
	mov	r8, r13
	mov	ecx, r15d
	mov	edx, 16
	mov	rsi, r12
	call	test_memcmp@PLT
	test	eax, eax
	jne	.L12
	add	r15d, 1
	cmp	r15d, 16
	jne	.L7
.L33:
	lea	rdi, .LC6[rip]
	xor	eax, eax
	call	printf@PLT
.L10:
	mov	edi, 10
	call	putchar@PLT
	mov	esi, DWORD PTR bufsize[rip]
	mov	rdi, rbp
	call	munmap@PLT
	mov	esi, DWORD PTR bufsize[rip]
	mov	rdi, r12
	call	munmap@PLT
	mov	rdi, QWORD PTR 24[rsp]
	call	free@PLT
	mov	rdi, QWORD PTR 32[rsp]
	call	free@PLT
	mov	edi, DWORD PTR 12[rsp]
	call	close@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L29:
	mov	edi, 10
	call	putchar@PLT
.L1:
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L35
	mov	eax, DWORD PTR 8[rsp]
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	mov	edi, 10
	call	putchar@PLT
	lea	rdi, .LC3[rip]
	call	perror@PLT
	mov	edi, 1
	call	SKIP_IF@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L28:
	mov	edi, 10
	call	putchar@PLT
	lea	rdi, .LC2[rip]
	call	perror@PLT
	mov	DWORD PTR 8[rsp], 1
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L30:
	mov	edi, 10
	call	putchar@PLT
	mov	rdi, QWORD PTR 24[rsp]
	call	free@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L31:
	lea	rdi, .LC4[rip]
	xor	eax, eax
	call	printf@PLT
	mov	DWORD PTR 8[rsp], 1
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L32:
	lea	rdi, .LC5[rip]
	xor	eax, eax
	call	printf@PLT
	mov	DWORD PTR 8[rsp], 1
	jmp	.L10
.L35:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	do_test, .-do_test
	.comm	debug,4,4
	.comm	bufsize,4,4
	.comm	PROT_WRITE,4,4
	.comm	O_RDWR,4,4
	.comm	MAP_SHARED,4,4
	.comm	MAP_FAILED,8,8
	.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_alignment_handler.c_do_test.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"\011Doing %s:\011\000"
	.align	2
.LC1:
	.ascii	"/dev/fb0\000"
	.align	2
.LC2:
	.ascii	"Can't open /dev/fb0 now?\000"
	.align	2
.LC3:
	.ascii	"mmap failed\000"
	.align	2
.LC4:
	.ascii	"FAILED: Got signal\000"
	.align	2
.LC5:
	.ascii	"FAILED: Wrong Data\000"
	.align	2
.LC6:
	.ascii	"PASSED\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	do_test
	.syntax unified
	.arm
	.fpu softvfp
	.type	do_test, %function
do_test:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, r1
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r9, r0
	sub	sp, sp, #44
	str	r3, [sp, #12]
	ldr	r3, .L32
	mov	r1, r9
	ldr	r0, .L32+4
	ldr	r3, [r3]
	str	r3, [sp, #36]
	mov	r3,#0
	bl	printf
	ldr	r3, .L32+8
	ldr	r0, .L32+12
	ldr	r1, [r3]
	bl	open
	subs	r3, r0, #0
	str	r3, [sp, #20]
	blt	.L24
	mov	r5, #0
	ldr	r8, [sp, #20]
	ldr	r7, .L32+16
	ldr	r6, .L32+20
	ldr	r10, .L32+24
	str	r8, [sp]
	str	r5, [sp, #4]
	ldr	r3, [r7]
	ldr	r2, [r6]
	ldr	r1, [r10]
	mov	r0, r5
	bl	mmap
	ldr	r1, [r10]
	ldr	r3, [r7]
	ldr	r2, [r6]
	mov	r4, r0
	str	r8, [sp]
	mov	r0, r5
	str	r1, [sp, #4]
	bl	mmap
	ldr	r3, .L32+28
	mov	r7, r0
	ldr	r3, [r3]
	cmp	r3, r0
	cmpne	r3, r4
	beq	.L25
.L4:
	ldr	r5, [r10]
	add	r0, sp, #28
	mov	r2, r5
	mov	r1, r5
	bl	posix_memalign
	subs	r3, r0, #0
	str	r3, [sp, #16]
	bne	.L5
	mov	r2, r5
	mov	r1, r5
	add	r0, sp, #32
	ldr	r5, [sp, #28]
	bl	posix_memalign
	subs	r3, r0, #0
	str	r3, [sp, #16]
	beq	.L26
	mov	r0, #10
	bl	putchar
	mov	r0, r5
	bl	free
.L1:
	ldr	r3, .L32
	ldr	r2, [r3]
	ldr	r3, [sp, #36]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L27
	ldr	r0, [sp, #16]
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L5:
	mov	r0, #10
	bl	putchar
	b	.L1
.L25:
	mov	r0, #10
	bl	putchar
	ldr	r0, .L32+32
	bl	perror
	mov	r0, #1
	bl	SKIP_IF
	b	.L4
.L26:
	mov	fp, #1
	mov	r3, r9
	ldr	r8, [sp, #32]
	mov	r9, fp
	mov	fp, r3
	b	.L11
.L31:
	ldr	r3, .L32+36
	ldr	r2, [r3]
	cmp	r2, #0
	beq	.L28
	mov	r3, r9
	mov	r2, #16
	mov	r1, r7
	mov	r0, r8
	str	fp, [sp]
	bl	test_memcmp
.L12:
	ldr	r3, .L32+36
	ldr	r2, [r3]
	cmp	r2, #0
	beq	.L29
	add	r9, r9, #1
	cmp	r9, #16
	beq	.L30
.L11:
	mov	r2, #16
	mov	r1, r9
	mov	r0, r4
	bl	preload_data
	mov	r2, #16
	mov	r1, r9
	mov	r0, r5
	bl	preload_data
	mov	r1, r5
	ldr	r2, [r10]
	mov	r0, r4
	bl	memcpy
	mov	r1, r8
	ldr	r2, [r10]
	mov	r0, r7
	bl	memcpy
	mov	r3, r9
	mov	r2, #16
	mov	r1, r4
	mov	r0, r5
	str	fp, [sp]
	bl	test_memcmp
	ldr	r3, [sp, #12]
	mov	r2, #16
	mov	r1, r4
	str	r3, [sp]
	mov	r0, r7
	mov	r3, r9
	bl	test_memcpy
	ldr	r3, [sp, #12]
	mov	r6, r0
	str	r3, [sp]
	mov	r2, #16
	mov	r3, r9
	mov	r1, r5
	mov	r0, r8
	bl	test_memcpy
	orrs	r3, r6, r0
	bne	.L31
	mov	r3, r9
	mov	r2, #16
	mov	r1, r7
	mov	r0, r8
	str	fp, [sp]
	bl	test_memcmp
	cmp	r0, #0
	bne	.L12
	add	r9, r9, #1
	cmp	r9, #16
	bne	.L11
.L30:
	ldr	r0, .L32+40
	bl	printf
.L9:
	mov	r0, #10
	bl	putchar
	ldr	r1, [r10]
	mov	r0, r4
	bl	munmap
	ldr	r1, [r10]
	mov	r0, r7
	bl	munmap
	mov	r0, r5
	bl	free
	mov	r0, r8
	bl	free
	ldr	r0, [sp, #20]
	bl	close
	b	.L1
.L24:
	mov	r0, #10
	bl	putchar
	ldr	r0, .L32+44
	bl	perror
	mov	r3, #1
	str	r3, [sp, #16]
	b	.L1
.L28:
	ldr	r0, .L32+48
	bl	printf
	mov	r3, #1
	str	r3, [sp, #16]
	b	.L9
.L29:
	ldr	r0, .L32+52
	bl	printf
	mov	r3, #1
	str	r3, [sp, #16]
	b	.L9
.L27:
	bl	__stack_chk_fail
.L33:
	.align	2
.L32:
	.word	.LC7
	.word	.LC0
	.word	O_RDWR
	.word	.LC1
	.word	MAP_SHARED
	.word	PROT_WRITE
	.word	bufsize
	.word	MAP_FAILED
	.word	.LC3
	.word	debug
	.word	.LC6
	.word	.LC2
	.word	.LC4
	.word	.LC5
	.size	do_test, .-do_test
	.comm	debug,4,4
	.comm	bufsize,4,4
	.comm	PROT_WRITE,4,4
	.comm	O_RDWR,4,4
	.comm	MAP_SHARED,4,4
	.comm	MAP_FAILED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
