	.file	"277359.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"Usage: process id, ppout specific\n"
.LC1:
	.string	"/proc/%s/hw/ioreg/%s_a"
	.align 8
.LC2:
	.string	"This program does a file open of addr_specs_a 100,000 times."
.LC3:
	.string	"r"
	.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, 1328
	mov	DWORD PTR -1316[rbp], edi
	mov	QWORD PTR -1328[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -1316[rbp], 2
	jg	.L2
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 34
	mov	esi, 1
	lea	rdi, .LC0[rip]
	call	fwrite@PLT
	mov	eax, 0
	jmp	.L6
.L2:
	mov	rax, QWORD PTR -1328[rbp]
	add	rax, 16
	mov	rcx, QWORD PTR [rax]
	mov	rax, QWORD PTR -1328[rbp]
	add	rax, 8
	mov	rdx, QWORD PTR [rax]
	lea	rax, -1296[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	DWORD PTR -1312[rbp], 0
	jmp	.L4
.L5:
	lea	rax, -1296[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -1304[rbp], rax
	mov	rdx, QWORD PTR -1304[rbp]
	lea	rax, -1040[rbp]
	mov	rcx, rdx
	mov	edx, 1024
	mov	esi, 1
	mov	rdi, rax
	call	fread@PLT
	mov	DWORD PTR -1308[rbp], eax
	mov	rax, QWORD PTR -1304[rbp]
	mov	rdi, rax
	call	fclose@PLT
	add	DWORD PTR -1312[rbp], 1
.L4:
	cmp	DWORD PTR -1312[rbp], 99999
	jle	.L5
	mov	eax, 0
.L6:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L7
	call	__stack_chk_fail@PLT
.L7:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.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	"277359.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Usage: process id, ppout specific\012\000"
	.align	2
.LC1:
	.ascii	"/proc/%s/hw/ioreg/%s_a\000"
	.align	2
.LC2:
	.ascii	"This program does a file open of addr_specs_a 100,0"
	.ascii	"00 times.\000"
	.align	2
.LC3:
	.ascii	"r\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 1304
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1296
	sub	sp, sp, #8
	str	r0, [fp, #-1304]
	str	r1, [fp, #-1308]
	ldr	r3, .L8
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-1304]
	cmp	r3, #2
	bgt	.L2
	ldr	r3, .L8+4
	ldr	r3, [r3]
	mov	r2, #34
	mov	r1, #1
	ldr	r0, .L8+8
	bl	fwrite
	mov	r3, #0
	b	.L6
.L2:
	ldr	r3, [fp, #-1308]
	add	r3, r3, #4
	ldr	r2, [r3]
	ldr	r3, [fp, #-1308]
	add	r3, r3, #8
	ldr	r3, [r3]
	sub	r0, fp, #1280
	sub	r0, r0, #4
	sub	r0, r0, #4
	ldr	r1, .L8+12
	bl	sprintf
	ldr	r0, .L8+16
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-1300]
	b	.L4
.L5:
	sub	r3, fp, #1280
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, .L8+20
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-1296]
	sub	r0, fp, #1024
	sub	r0, r0, #4
	sub	r0, r0, #4
	ldr	r3, [fp, #-1296]
	mov	r2, #1024
	mov	r1, #1
	bl	fread
	mov	r3, r0
	str	r3, [fp, #-1292]
	ldr	r0, [fp, #-1296]
	bl	fclose
	ldr	r3, [fp, #-1300]
	add	r3, r3, #1
	str	r3, [fp, #-1300]
.L4:
	ldr	r3, [fp, #-1300]
	ldr	r2, .L8+24
	cmp	r3, r2
	blt	.L5
	mov	r3, #0
.L6:
	ldr	r2, .L8
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L7
	bl	__stack_chk_fail
.L7:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L9:
	.align	2
.L8:
	.word	.LC4
	.word	stderr
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	100000
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
