	.file	"75220.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"r"
.LC1:
	.string	"%s: %s\n"
.LC2:
	.string	"%s: %d: %s"
	.text
	.globl	chk
	.type	chk, @function
chk:
.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, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	rdx, QWORD PTR stdin[rip]
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	freopen@PLT
	test	rax, rax
	jne	.L2
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rcx, rax
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -40[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L2:
	mov	DWORD PTR -24[rbp], 1
	mov	DWORD PTR -20[rbp], 1
	mov	rax, QWORD PTR -48[rbp]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L3
.L18:
	cmp	DWORD PTR -12[rbp], 10
	jne	.L4
	add	DWORD PTR -24[rbp], 1
.L4:
	cmp	DWORD PTR -20[rbp], 0
	je	.L5
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	cmp	DWORD PTR -12[rbp], eax
	je	.L6
.L5:
	mov	rax, QWORD PTR -48[rbp]
	mov	QWORD PTR -8[rbp], rax
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 1024
	test	eax, eax
	jne	.L7
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 2048
	test	eax, eax
	jne	.L7
	cmp	DWORD PTR -12[rbp], 95
	je	.L7
	mov	eax, 1
	jmp	.L8
.L7:
	mov	eax, 0
.L8:
	mov	DWORD PTR -20[rbp], eax
	jmp	.L3
.L6:
	add	QWORD PTR -8[rbp], 1
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L9
	jmp	.L3
.L9:
	mov	rcx, QWORD PTR -48[rbp]
	mov	edx, DWORD PTR -24[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -16[rbp], 1
	jmp	.L10
.L17:
	cmp	DWORD PTR -12[rbp], 41
	je	.L11
	cmp	DWORD PTR -12[rbp], 41
	jg	.L12
	cmp	DWORD PTR -12[rbp], 10
	je	.L13
	cmp	DWORD PTR -12[rbp], 40
	jne	.L12
	add	DWORD PTR -16[rbp], 1
	jmp	.L12
.L11:
	sub	DWORD PTR -16[rbp], 1
	jmp	.L12
.L13:
	add	DWORD PTR -24[rbp], 1
	nop
.L12:
	cmp	DWORD PTR -12[rbp], 10
	jne	.L14
	mov	edi, 32
	call	putchar@PLT
	jmp	.L15
.L14:
	mov	eax, DWORD PTR -12[rbp]
	mov	edi, eax
	call	putchar@PLT
.L15:
	cmp	DWORD PTR -16[rbp], 0
	jg	.L10
	mov	edi, 10
	call	putchar@PLT
	jmp	.L16
.L10:
	call	getchar@PLT
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], -1
	jne	.L17
.L16:
	mov	rax, QWORD PTR -48[rbp]
	mov	QWORD PTR -8[rbp], rax
.L3:
	call	getchar@PLT
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], -1
	jne	.L18
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	chk, .-chk
	.section	.rodata
.LC3:
	.string	"FLD_CLR("
.LC4:
	.string	"FLD_ISSET("
.LC5:
	.string	"FLD_SET("
.LC6:
	.string	"F_CLR("
.LC7:
	.string	"F_ISSET("
.LC8:
	.string	"F_SET("
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.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	DWORD PTR -4[rbp], 0
	jmp	.L20
.L21:
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	chk
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	chk
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	chk
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	chk
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	chk
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	mov	eax, 0
	call	chk
.L20:
	add	QWORD PTR -32[rbp], 8
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L21
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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	"75220.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"r\000"
	.align	2
.LC1:
	.ascii	"%s: %s\012\000"
	.align	2
.LC2:
	.ascii	"%s: %d: %s\000"
	.text
	.align	2
	.global	chk
	.syntax unified
	.arm
	.fpu softvfp
	.type	chk, %function
chk:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #36
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	ldr	r3, .L19
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L19+4
	ldr	r0, [fp, #-40]
	bl	freopen
	mov	r3, r0
	cmp	r3, #0
	bne	.L2
	ldr	r3, .L19+8
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	ldr	r2, [fp, #-40]
	ldr	r1, .L19+12
	mov	r0, r4
	bl	fprintf
	mov	r0, #1
	bl	exit
.L2:
	mov	r3, #1
	str	r3, [fp, #-28]
	mov	r3, #1
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-44]
	str	r3, [fp, #-32]
	b	.L3
.L18:
	ldr	r3, [fp, #-16]
	cmp	r3, #10
	bne	.L4
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L4:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L5
	ldr	r3, [fp, #-32]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-16]
	cmp	r3, r2
	beq	.L6
.L5:
	ldr	r3, [fp, #-44]
	str	r3, [fp, #-32]
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #1024
	cmp	r3, #0
	bne	.L7
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #2048
	cmp	r3, #0
	bne	.L7
	ldr	r3, [fp, #-16]
	cmp	r3, #95
	beq	.L7
	mov	r3, #1
	b	.L8
.L7:
	mov	r3, #0
.L8:
	str	r3, [fp, #-24]
	b	.L3
.L6:
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-32]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L9
	b	.L3
.L9:
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-28]
	ldr	r1, [fp, #-40]
	ldr	r0, .L19+16
	bl	printf
	mov	r3, #1
	str	r3, [fp, #-20]
	b	.L10
.L17:
	ldr	r3, [fp, #-16]
	cmp	r3, #41
	beq	.L11
	ldr	r3, [fp, #-16]
	cmp	r3, #41
	bgt	.L12
	ldr	r3, [fp, #-16]
	cmp	r3, #10
	beq	.L13
	ldr	r3, [fp, #-16]
	cmp	r3, #40
	bne	.L12
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
	b	.L12
.L11:
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	str	r3, [fp, #-20]
	b	.L12
.L13:
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
	nop
.L12:
	ldr	r3, [fp, #-16]
	cmp	r3, #10
	bne	.L14
	mov	r0, #32
	bl	putchar
	b	.L15
.L14:
	ldr	r0, [fp, #-16]
	bl	putchar
.L15:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bgt	.L10
	mov	r0, #10
	bl	putchar
	b	.L16
.L10:
	bl	getchar
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmn	r3, #1
	bne	.L17
.L16:
	ldr	r3, [fp, #-44]
	str	r3, [fp, #-32]
.L3:
	bl	getchar
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmn	r3, #1
	bne	.L18
	nop
	nop
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L20:
	.align	2
.L19:
	.word	stdin
	.word	.LC0
	.word	stderr
	.word	.LC1
	.word	.LC2
	.size	chk, .-chk
	.section	.rodata
	.align	2
.LC3:
	.ascii	"FLD_CLR(\000"
	.align	2
.LC4:
	.ascii	"FLD_ISSET(\000"
	.align	2
.LC5:
	.ascii	"FLD_SET(\000"
	.align	2
.LC6:
	.ascii	"F_CLR(\000"
	.align	2
.LC7:
	.ascii	"F_ISSET(\000"
	.align	2
.LC8:
	.ascii	"F_SET(\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, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L22
.L23:
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r1, .L25
	mov	r0, r3
	bl	chk
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r1, .L25+4
	mov	r0, r3
	bl	chk
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r1, .L25+8
	mov	r0, r3
	bl	chk
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r1, .L25+12
	mov	r0, r3
	bl	chk
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r1, .L25+16
	mov	r0, r3
	bl	chk
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r1, .L25+20
	mov	r0, r3
	bl	chk
.L22:
	ldr	r3, [fp, #-20]
	add	r3, r3, #4
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L23
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L26:
	.align	2
.L25:
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
