	.file	"361041.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"r"
.LC1:
	.string	"w"
	.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, 48
	mov	DWORD PTR -36[rbp], edi
	mov	QWORD PTR -48[rbp], rsi
	cmp	DWORD PTR -36[rbp], 1
	jne	.L2
	mov	rax, QWORD PTR stdin[rip]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR stdout[rip]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L3
.L2:
	cmp	DWORD PTR -36[rbp], 2
	jne	.L4
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR stdout[rip]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L3
.L4:
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
.L3:
	mov	DWORD PTR -20[rbp], 0
	jmp	.L5
.L54:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	getc@PLT
	mov	BYTE PTR -21[rbp], al
	movsx	eax, BYTE PTR -21[rbp]
	sub	eax, 12
	cmp	eax, 115
	ja	.L6
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L8[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L8[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L8:
	.long	.L53-.L8
	.long	.L52-.L8
	.long	.L51-.L8
	.long	.L50-.L8
	.long	.L49-.L8
	.long	.L48-.L8
	.long	.L47-.L8
	.long	.L46-.L8
	.long	.L45-.L8
	.long	.L44-.L8
	.long	.L43-.L8
	.long	.L42-.L8
	.long	.L41-.L8
	.long	.L40-.L8
	.long	.L39-.L8
	.long	.L38-.L8
	.long	.L37-.L8
	.long	.L36-.L8
	.long	.L35-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L34-.L8
	.long	.L33-.L8
	.long	.L32-.L8
	.long	.L31-.L8
	.long	.L30-.L8
	.long	.L29-.L8
	.long	.L28-.L8
	.long	.L27-.L8
	.long	.L26-.L8
	.long	.L25-.L8
	.long	.L24-.L8
	.long	.L23-.L8
	.long	.L22-.L8
	.long	.L21-.L8
	.long	.L20-.L8
	.long	.L19-.L8
	.long	.L18-.L8
	.long	.L17-.L8
	.long	.L16-.L8
	.long	.L15-.L8
	.long	.L14-.L8
	.long	.L13-.L8
	.long	.L12-.L8
	.long	.L11-.L8
	.long	.L10-.L8
	.long	.L9-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L7-.L8
	.text
.L7:
	mov	BYTE PTR -21[rbp], 32
	jmp	.L6
.L9:
	mov	BYTE PTR -21[rbp], 97
	jmp	.L6
.L10:
	mov	BYTE PTR -21[rbp], 98
	jmp	.L6
.L11:
	mov	BYTE PTR -21[rbp], 99
	jmp	.L6
.L12:
	mov	BYTE PTR -21[rbp], 100
	jmp	.L6
.L13:
	mov	BYTE PTR -21[rbp], 101
	jmp	.L6
.L14:
	mov	BYTE PTR -21[rbp], 102
	jmp	.L6
.L15:
	mov	BYTE PTR -21[rbp], 103
	jmp	.L6
.L16:
	mov	BYTE PTR -21[rbp], 104
	jmp	.L6
.L17:
	mov	BYTE PTR -21[rbp], 105
	jmp	.L6
.L18:
	mov	BYTE PTR -21[rbp], 106
	jmp	.L6
.L19:
	mov	BYTE PTR -21[rbp], 107
	jmp	.L6
.L20:
	mov	BYTE PTR -21[rbp], 108
	jmp	.L6
.L21:
	mov	BYTE PTR -21[rbp], 109
	jmp	.L6
.L22:
	mov	BYTE PTR -21[rbp], 110
	jmp	.L6
.L23:
	mov	BYTE PTR -21[rbp], 111
	jmp	.L6
.L24:
	mov	BYTE PTR -21[rbp], 112
	jmp	.L6
.L25:
	mov	BYTE PTR -21[rbp], 113
	jmp	.L6
.L26:
	mov	BYTE PTR -21[rbp], 114
	jmp	.L6
.L27:
	mov	BYTE PTR -21[rbp], 115
	jmp	.L6
.L28:
	mov	BYTE PTR -21[rbp], 116
	jmp	.L6
.L29:
	mov	BYTE PTR -21[rbp], 117
	jmp	.L6
.L30:
	mov	BYTE PTR -21[rbp], 118
	jmp	.L6
.L31:
	mov	BYTE PTR -21[rbp], 119
	jmp	.L6
.L32:
	mov	BYTE PTR -21[rbp], 120
	jmp	.L6
.L33:
	mov	BYTE PTR -21[rbp], 121
	jmp	.L6
.L34:
	mov	BYTE PTR -21[rbp], 122
	jmp	.L6
.L35:
	mov	BYTE PTR -21[rbp], 65
	jmp	.L6
.L36:
	mov	BYTE PTR -21[rbp], 66
	jmp	.L6
.L37:
	mov	BYTE PTR -21[rbp], 67
	jmp	.L6
.L38:
	mov	BYTE PTR -21[rbp], 68
	jmp	.L6
.L39:
	mov	BYTE PTR -21[rbp], 69
	jmp	.L6
.L40:
	mov	BYTE PTR -21[rbp], 70
	jmp	.L6
.L41:
	mov	BYTE PTR -21[rbp], 71
	jmp	.L6
.L42:
	mov	BYTE PTR -21[rbp], 72
	jmp	.L6
.L43:
	mov	BYTE PTR -21[rbp], 73
	jmp	.L6
.L44:
	mov	BYTE PTR -21[rbp], 74
	jmp	.L6
.L45:
	mov	BYTE PTR -21[rbp], 75
	jmp	.L6
.L46:
	mov	BYTE PTR -21[rbp], 76
	jmp	.L6
.L47:
	mov	BYTE PTR -21[rbp], 77
	jmp	.L6
.L48:
	mov	BYTE PTR -21[rbp], 78
	jmp	.L6
.L49:
	mov	BYTE PTR -21[rbp], 79
	jmp	.L6
.L50:
	mov	BYTE PTR -21[rbp], 80
	jmp	.L6
.L51:
	mov	BYTE PTR -21[rbp], 81
	jmp	.L6
.L52:
	mov	BYTE PTR -21[rbp], 82
	jmp	.L6
.L53:
	mov	BYTE PTR -21[rbp], 83
	nop
.L6:
	movsx	eax, BYTE PTR -21[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	putc@PLT
.L5:
	mov	eax, DWORD PTR -20[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -20[rbp], edx
	cmp	eax, 1499
	jle	.L54
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE0:
	.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	"361041.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"r\000"
	.align	2
.LC1:
	.ascii	"w\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r3, [fp, #-24]
	cmp	r3, #1
	bne	.L2
	ldr	r3, .L55
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	ldr	r3, .L55+4
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	b	.L3
.L2:
	ldr	r3, [fp, #-24]
	cmp	r3, #2
	bne	.L4
	ldr	r3, [fp, #-28]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L55+8
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-16]
	ldr	r3, .L55+4
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	b	.L3
.L4:
	ldr	r3, [fp, #-28]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L55+8
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-28]
	add	r3, r3, #8
	ldr	r3, [r3]
	ldr	r1, .L55+12
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-12]
.L3:
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L5
.L54:
	ldr	r0, [fp, #-16]
	bl	getc
	mov	r3, r0
	strb	r3, [fp, #-17]
	ldrb	r3, [fp, #-17]	@ zero_extendqisi2
	sub	r3, r3, #12
	cmp	r3, #115
	ldrls	pc, [pc, r3, asl #2]
	b	.L6
.L8:
	.word	.L53
	.word	.L52
	.word	.L51
	.word	.L50
	.word	.L49
	.word	.L48
	.word	.L47
	.word	.L46
	.word	.L45
	.word	.L44
	.word	.L43
	.word	.L42
	.word	.L41
	.word	.L40
	.word	.L39
	.word	.L38
	.word	.L37
	.word	.L36
	.word	.L35
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L34
	.word	.L33
	.word	.L32
	.word	.L31
	.word	.L30
	.word	.L29
	.word	.L28
	.word	.L27
	.word	.L26
	.word	.L25
	.word	.L24
	.word	.L23
	.word	.L22
	.word	.L21
	.word	.L20
	.word	.L19
	.word	.L18
	.word	.L17
	.word	.L16
	.word	.L15
	.word	.L14
	.word	.L13
	.word	.L12
	.word	.L11
	.word	.L10
	.word	.L9
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L7
.L7:
	mov	r3, #32
	strb	r3, [fp, #-17]
	b	.L6
.L9:
	mov	r3, #97
	strb	r3, [fp, #-17]
	b	.L6
.L10:
	mov	r3, #98
	strb	r3, [fp, #-17]
	b	.L6
.L11:
	mov	r3, #99
	strb	r3, [fp, #-17]
	b	.L6
.L12:
	mov	r3, #100
	strb	r3, [fp, #-17]
	b	.L6
.L13:
	mov	r3, #101
	strb	r3, [fp, #-17]
	b	.L6
.L14:
	mov	r3, #102
	strb	r3, [fp, #-17]
	b	.L6
.L15:
	mov	r3, #103
	strb	r3, [fp, #-17]
	b	.L6
.L16:
	mov	r3, #104
	strb	r3, [fp, #-17]
	b	.L6
.L17:
	mov	r3, #105
	strb	r3, [fp, #-17]
	b	.L6
.L18:
	mov	r3, #106
	strb	r3, [fp, #-17]
	b	.L6
.L19:
	mov	r3, #107
	strb	r3, [fp, #-17]
	b	.L6
.L20:
	mov	r3, #108
	strb	r3, [fp, #-17]
	b	.L6
.L21:
	mov	r3, #109
	strb	r3, [fp, #-17]
	b	.L6
.L22:
	mov	r3, #110
	strb	r3, [fp, #-17]
	b	.L6
.L23:
	mov	r3, #111
	strb	r3, [fp, #-17]
	b	.L6
.L24:
	mov	r3, #112
	strb	r3, [fp, #-17]
	b	.L6
.L25:
	mov	r3, #113
	strb	r3, [fp, #-17]
	b	.L6
.L26:
	mov	r3, #114
	strb	r3, [fp, #-17]
	b	.L6
.L27:
	mov	r3, #115
	strb	r3, [fp, #-17]
	b	.L6
.L28:
	mov	r3, #116
	strb	r3, [fp, #-17]
	b	.L6
.L29:
	mov	r3, #117
	strb	r3, [fp, #-17]
	b	.L6
.L30:
	mov	r3, #118
	strb	r3, [fp, #-17]
	b	.L6
.L31:
	mov	r3, #119
	strb	r3, [fp, #-17]
	b	.L6
.L32:
	mov	r3, #120
	strb	r3, [fp, #-17]
	b	.L6
.L33:
	mov	r3, #121
	strb	r3, [fp, #-17]
	b	.L6
.L34:
	mov	r3, #122
	strb	r3, [fp, #-17]
	b	.L6
.L35:
	mov	r3, #65
	strb	r3, [fp, #-17]
	b	.L6
.L36:
	mov	r3, #66
	strb	r3, [fp, #-17]
	b	.L6
.L37:
	mov	r3, #67
	strb	r3, [fp, #-17]
	b	.L6
.L38:
	mov	r3, #68
	strb	r3, [fp, #-17]
	b	.L6
.L39:
	mov	r3, #69
	strb	r3, [fp, #-17]
	b	.L6
.L40:
	mov	r3, #70
	strb	r3, [fp, #-17]
	b	.L6
.L41:
	mov	r3, #71
	strb	r3, [fp, #-17]
	b	.L6
.L42:
	mov	r3, #72
	strb	r3, [fp, #-17]
	b	.L6
.L43:
	mov	r3, #73
	strb	r3, [fp, #-17]
	b	.L6
.L44:
	mov	r3, #74
	strb	r3, [fp, #-17]
	b	.L6
.L45:
	mov	r3, #75
	strb	r3, [fp, #-17]
	b	.L6
.L46:
	mov	r3, #76
	strb	r3, [fp, #-17]
	b	.L6
.L47:
	mov	r3, #77
	strb	r3, [fp, #-17]
	b	.L6
.L48:
	mov	r3, #78
	strb	r3, [fp, #-17]
	b	.L6
.L49:
	mov	r3, #79
	strb	r3, [fp, #-17]
	b	.L6
.L50:
	mov	r3, #80
	strb	r3, [fp, #-17]
	b	.L6
.L51:
	mov	r3, #81
	strb	r3, [fp, #-17]
	b	.L6
.L52:
	mov	r3, #82
	strb	r3, [fp, #-17]
	b	.L6
.L53:
	mov	r3, #83
	strb	r3, [fp, #-17]
	nop
.L6:
	ldrb	r3, [fp, #-17]	@ zero_extendqisi2
	ldr	r1, [fp, #-12]
	mov	r0, r3
	bl	putc
.L5:
	ldr	r3, [fp, #-8]
	add	r2, r3, #1
	str	r2, [fp, #-8]
	ldr	r2, .L55+16
	cmp	r3, r2
	ble	.L54
	ldr	r0, [fp, #-12]
	bl	fclose
	mov	r0, #0
	bl	exit
.L56:
	.align	2
.L55:
	.word	stdin
	.word	stdout
	.word	.LC0
	.word	.LC1
	.word	1499
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
