	.file	"extr_main.c_assertion_file_contents.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"rb"
.LC1:
	.string	"File should exist: %s"
.LC2:
	.string	"File contents don't match"
.LC3:
	.string	"  file=\"%s\"\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC4:
	.string	"  File empty, contents should be:\n"
	.text
	.p2align 4
	.globl	assertion_file_contents
	.type	assertion_file_contents, @function
assertion_file_contents:
.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, rdi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, r8
	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
	mov	ebx, esi
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	QWORD PTR 8[rsp], rdx
	mov	DWORD PTR 4[rsp], ecx
	call	assertion_count@PLT
	lea	rsi, .LC0[rip]
	mov	rdi, r13
	call	fopen@PLT
	test	rax, rax
	je	.L9
	mov	r12, rax
	mov	eax, DWORD PTR 4[rsp]
	lea	ebp, [rax+rax]
	mov	edi, ebp
	call	malloc@PLT
	mov	edx, ebp
	mov	rcx, r12
	mov	esi, 1
	mov	rdi, rax
	mov	r15, rax
	call	fread@PLT
	mov	rdi, r12
	mov	rbp, rax
	call	fclose@PLT
	cmp	DWORD PTR 4[rsp], ebp
	je	.L10
.L4:
	mov	esi, ebx
	mov	rdi, r14
	lea	rdx, .LC2[rip]
	xor	eax, eax
	call	failure_start@PLT
	xor	eax, eax
	mov	rsi, r13
	lea	rdi, .LC3[rip]
	call	logprintf@PLT
	test	ebp, ebp
	jle	.L5
	cmp	ebp, 512
	mov	edx, 512
	mov	rsi, QWORD PTR 8[rsp]
	mov	rdi, r15
	cmovle	edx, ebp
	xor	ecx, ecx
	call	hexdump@PLT
.L6:
	xor	edi, edi
	call	failure_finish@PLT
	mov	rdi, r15
	call	free@PLT
	xor	eax, eax
.L1:
	add	rsp, 24
	.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
.L5:
	.cfi_restore_state
	lea	rdi, .LC4[rip]
	xor	eax, eax
	call	logprintf@PLT
	mov	eax, DWORD PTR 4[rsp]
	mov	edx, 512
	mov	rdi, QWORD PTR 8[rsp]
	cmp	eax, 512
	cmovle	edx, eax
	xor	ecx, ecx
	xor	esi, esi
	call	hexdump@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L10:
	mov	edx, DWORD PTR 4[rsp]
	mov	rdi, QWORD PTR 8[rsp]
	mov	rsi, r15
	call	memcmp@PLT
	test	rax, rax
	jne	.L4
	mov	rdi, r15
	call	free@PLT
	mov	eax, 1
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L9:
	mov	rcx, r13
	mov	esi, ebx
	mov	rdi, r14
	xor	eax, eax
	lea	rdx, .LC1[rip]
	call	failure_start@PLT
	xor	edi, edi
	call	failure_finish@PLT
	add	rsp, 24
	.cfi_def_cfa_offset 56
	xor	eax, eax
	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
	.cfi_endproc
.LFE0:
	.size	assertion_file_contents, .-assertion_file_contents
	.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_main.c_assertion_file_contents.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"rb\000"
	.align	2
.LC1:
	.ascii	"File should exist: %s\000"
	.align	2
.LC2:
	.ascii	"File contents don't match\000"
	.align	2
.LC3:
	.ascii	"  file=\"%s\"\012\000"
	.align	2
.LC4:
	.ascii	"  File empty, contents should be:\012\000"
	.text
	.align	2
	.global	assertion_file_contents
	.syntax unified
	.arm
	.fpu softvfp
	.type	assertion_file_contents, %function
assertion_file_contents:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r10, [sp, #40]
	mov	r7, r2
	mov	r6, r3
	mov	r9, r1
	mov	r8, r0
	bl	assertion_count
	mov	r0, r10
	ldr	r1, .L11
	bl	fopen
	subs	fp, r0, #0
	beq	.L9
	lsl	r4, r6, #1
	mov	r0, r4
	bl	malloc
	mov	r2, r4
	mov	r3, fp
	mov	r1, #1
	mov	r5, r0
	bl	fread
	mov	r4, r0
	mov	r0, fp
	bl	fclose
	cmp	r6, r4
	bne	.L4
	mov	r2, r6
	mov	r1, r5
	mov	r0, r7
	bl	memcmp
	cmp	r0, #0
	beq	.L10
.L4:
	mov	r1, r9
	ldr	r2, .L11+4
	mov	r0, r8
	bl	failure_start
	mov	r1, r10
	ldr	r0, .L11+8
	bl	logprintf
	cmp	r4, #0
	ble	.L5
	cmp	r4, #512
	movlt	r2, r4
	movge	r2, #512
	mov	r1, r7
	mov	r3, #0
	mov	r0, r5
	bl	hexdump
.L6:
	mov	r0, #0
	bl	failure_finish
	mov	r0, r5
	bl	free
	mov	r0, #0
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L5:
	ldr	r0, .L11+12
	bl	logprintf
	mov	r3, #0
	cmp	r6, #512
	movlt	r2, r6
	movge	r2, #512
	mov	r0, r7
	mov	r1, r3
	bl	hexdump
	b	.L6
.L10:
	mov	r0, r5
	bl	free
	mov	r0, #1
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L9:
	mov	r3, r10
	mov	r1, r9
	ldr	r2, .L11+16
	mov	r0, r8
	bl	failure_start
	mov	r0, fp
	bl	failure_finish
	mov	r0, fp
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L12:
	.align	2
.L11:
	.word	.LC0
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC1
	.size	assertion_file_contents, .-assertion_file_contents
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
