	.file	"383305.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 16
	.type	g_nonexistent, @object
	.size	g_nonexistent, 16
g_nonexistent:
	.string	"aflav-sautga-ay"
.LC0:
	.string	"Hello, World on stdout\n"
.LC1:
	.string	"Hello, World on stderr\n"
.LC2:
	.string	"r"
	.align 8
.LC3:
	.string	"Hmm... Delete \"%s\" and try this again\n"
	.align 8
.LC4:
	.string	"We failed to open \"%s!\" errno is %d\n"
	.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 -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR stdout[rip]
	mov	rcx, rax
	mov	edx, 23
	mov	esi, 1
	lea	rdi, .LC0[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 23
	mov	esi, 1
	lea	rdi, .LC1[rip]
	call	fwrite@PLT
	lea	rsi, .LC2[rip]
	lea	rdi, g_nonexistent[rip]
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	je	.L2
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, g_nonexistent[rip]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L2:
	call	__errno_location@PLT
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	mov	ecx, edx
	lea	rdx, g_nonexistent[rip]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 0
	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	"383305.c"
	.text
	.section	.rodata
	.align	2
	.type	g_nonexistent, %object
	.size	g_nonexistent, 16
g_nonexistent:
	.ascii	"aflav-sautga-ay\000"
	.align	2
.LC0:
	.ascii	"Hello, World on stdout\012\000"
	.align	2
.LC1:
	.ascii	"Hello, World on stderr\012\000"
	.align	2
.LC2:
	.ascii	"r\000"
	.align	2
.LC3:
	.ascii	"Hmm... Delete \"%s\" and try this again\012\000"
	.align	2
.LC4:
	.ascii	"We failed to open \"%s!\" errno is %d\012\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	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #20
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r3, .L4
	ldr	r3, [r3]
	mov	r2, #23
	mov	r1, #1
	ldr	r0, .L4+4
	bl	fwrite
	ldr	r3, .L4+8
	ldr	r3, [r3]
	mov	r2, #23
	mov	r1, #1
	ldr	r0, .L4+12
	bl	fwrite
	ldr	r1, .L4+16
	ldr	r0, .L4+20
	bl	fopen
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L2
	ldr	r3, .L4+8
	ldr	r3, [r3]
	ldr	r2, .L4+20
	ldr	r1, .L4+24
	mov	r0, r3
	bl	fprintf
	mov	r0, #1
	bl	exit
.L2:
	ldr	r3, .L4+8
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	ldr	r2, .L4+20
	ldr	r1, .L4+28
	mov	r0, r4
	bl	fprintf
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L5:
	.align	2
.L4:
	.word	stdout
	.word	.LC0
	.word	stderr
	.word	.LC1
	.word	.LC2
	.word	g_nonexistent
	.word	.LC3
	.word	.LC4
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
