	.file	"62639008.c"
	.intel_syntax noprefix
	.text
	.globl	SourceFileName
	.bss
	.align 8
	.type	SourceFileName, @object
	.size	SourceFileName, 8
SourceFileName:
	.zero	8
	.section	.rodata
.LC0:
	.string	"too many arguments"
.LC1:
	.string	"r"
.LC2:
	.string	"cannot open '%s'\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
	cmp	DWORD PTR -4[rbp], 2
	jle	.L2
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L2:
	cmp	DWORD PTR -4[rbp], 2
	jne	.L3
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR SourceFileName[rip], rax
	mov	rax, QWORD PTR SourceFileName[rip]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR yyin[rip], rax
	mov	rax, QWORD PTR yyin[rip]
	test	rax, rax
	jne	.L3
	mov	rax, QWORD PTR SourceFileName[rip]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L3:
	mov	eax, 0
	call	ROOT@PLT
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	GetSourceFileName
	.type	GetSourceFileName, @function
GetSourceFileName:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	rdx, QWORD PTR SourceFileName[rip]
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	GetSourceFileName, .-GetSourceFileName
	.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	"62639008.c"
	.text
	.comm	SourceFileName,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"too many arguments\000"
	.align	2
.LC1:
	.ascii	"r\000"
	.align	2
.LC2:
	.ascii	"cannot open '%s'\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-8]
	cmp	r3, #2
	ble	.L2
	ldr	r0, .L4
	bl	puts
	mov	r0, #1
	bl	exit
.L2:
	ldr	r3, [fp, #-8]
	cmp	r3, #2
	bne	.L3
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #4]
	ldr	r2, .L4+4
	str	r3, [r2]
	ldr	r3, .L4+4
	ldr	r3, [r3]
	ldr	r1, .L4+8
	mov	r0, r3
	bl	fopen
	mov	r3, r0
	ldr	r2, .L4+12
	str	r3, [r2]
	ldr	r3, .L4+12
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L3
	ldr	r3, .L4+4
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L4+16
	bl	printf
	mov	r0, #1
	bl	exit
.L3:
	bl	ROOT
	mov	r0, #0
	bl	exit
.L5:
	.align	2
.L4:
	.word	.LC0
	.word	SourceFileName
	.word	.LC1
	.word	yyin
	.word	.LC2
	.size	main, .-main
	.align	2
	.global	GetSourceFileName
	.syntax unified
	.arm
	.fpu softvfp
	.type	GetSourceFileName, %function
GetSourceFileName:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	ldr	r3, .L7
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	str	r2, [r3]
	nop
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L8:
	.align	2
.L7:
	.word	SourceFileName
	.size	GetSourceFileName, .-GetSourceFileName
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
