	.file	"804885.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"TEST FAILED: failed to create temporary file"
	.align 8
.LC1:
	.string	"TEST FAILED: failed to seek to %lld"
	.align 8
.LC2:
	.string	"TEST FAILED: failed to get stream position at %lld"
	.align 8
.LC3:
	.string	"TEST FAILED: stream position mismatch: expected %lld, found %lld"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	DWORD PTR -28[rbp], 0
	call	tmpfile@PLT
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L2
	lea	rsi, .LC0[rip]
	mov	edi, 1
	mov	eax, 0
	call	err@PLT
.L2:
	mov	QWORD PTR -24[rbp], 0
	jmp	.L3
.L7:
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 0[0+rax*8]
	lea	rax, offsets.0[rip]
	mov	rcx, QWORD PTR [rdx+rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseeko@PLT
	test	eax, eax
	je	.L4
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 0[0+rax*8]
	lea	rax, offsets.0[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	warn@PLT
	mov	DWORD PTR -28[rbp], 1
.L4:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	ftello@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], -1
	jne	.L5
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 0[0+rax*8]
	lea	rax, offsets.0[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	warn@PLT
	mov	DWORD PTR -28[rbp], 1
.L5:
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 0[0+rax*8]
	lea	rax, offsets.0[rip]
	mov	rax, QWORD PTR [rdx+rax]
	cmp	QWORD PTR -8[rbp], rax
	je	.L6
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 0[0+rax*8]
	lea	rax, offsets.0[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	rdx, QWORD PTR -8[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	warnx@PLT
	mov	DWORD PTR -28[rbp], 1
.L6:
	add	QWORD PTR -24[rbp], 1
.L3:
	lea	rdi, offsets.0[rip]
	mov	eax, 0
	call	ARRAY_SIZE@PLT
	cdqe
	cmp	QWORD PTR -24[rbp], rax
	jb	.L7
	mov	eax, DWORD PTR -28[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.data
	.align 32
	.type	offsets.0, @object
	.size	offsets.0, 48
offsets.0:
	.quad	23
	.quad	655360
	.quad	1048576
	.quad	2147483647
	.quad	3221225472
	.quad	8589956146
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"804885.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"TEST FAILED: failed to create temporary file\000"
	.align	2
.LC1:
	.ascii	"TEST FAILED: failed to seek to %lld\000"
	.align	2
.LC2:
	.ascii	"TEST FAILED: failed to get stream position at %lld\000"
	.align	2
.LC3:
	.ascii	"TEST FAILED: stream position mismatch: expected %ll"
	.ascii	"d, found %lld\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	mov	r3, #0
	str	r3, [fp, #-16]
	bl	tmpfile
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L2
	ldr	r1, .L9
	mov	r0, #1
	bl	err
.L2:
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L3
.L7:
	ldr	r2, .L9+4
	ldr	r3, [fp, #-20]
	ldr	r3, [r2, r3, lsl #2]
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-12]
	bl	fseeko
	mov	r3, r0
	cmp	r3, #0
	beq	.L4
	ldr	r2, .L9+4
	ldr	r3, [fp, #-20]
	ldr	r3, [r2, r3, lsl #2]
	mov	r2, r3
	asr	r3, r2, #31
	ldr	r0, .L9+8
	bl	warn
	mov	r3, #1
	str	r3, [fp, #-16]
.L4:
	ldr	r0, [fp, #-12]
	bl	ftello
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	bne	.L5
	ldr	r2, .L9+4
	ldr	r3, [fp, #-20]
	ldr	r3, [r2, r3, lsl #2]
	mov	r2, r3
	asr	r3, r2, #31
	ldr	r0, .L9+12
	bl	warn
	mov	r3, #1
	str	r3, [fp, #-16]
.L5:
	ldr	r2, .L9+4
	ldr	r3, [fp, #-20]
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	beq	.L6
	ldr	r2, .L9+4
	ldr	r3, [fp, #-20]
	ldr	r3, [r2, r3, lsl #2]
	mov	r0, r3
	asr	r1, r0, #31
	ldr	r3, [fp, #-8]
	mov	r2, r3
	asr	r3, r2, #31
	stm	sp, {r2-r3}
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L9+16
	bl	warnx
	mov	r3, #1
	str	r3, [fp, #-16]
.L6:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L3:
	ldr	r0, .L9+4
	bl	ARRAY_SIZE
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-20]
	cmp	r3, r2
	bcc	.L7
	ldr	r3, [fp, #-16]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	.LC0
	.word	offsets.5152
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	main, .-main
	.data
	.align	2
	.type	offsets.5152, %object
	.size	offsets.5152, 24
offsets.5152:
	.word	23
	.word	655360
	.word	1048576
	.word	2147483647
	.word	-1073741824
	.word	21554
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
