	.file	"28632.c"
	.intel_syntax noprefix
	.text
	.globl	ar
	.bss
	.align 32
	.type	ar, @object
	.size	ar, 60
ar:
	.zero	60
	.section	.rodata
.LC0:
	.string	"%c %d %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, 64
	mov	DWORD PTR -52[rbp], edi
	mov	QWORD PTR -64[rbp], rsi
	lea	rax, ar[rip]
	mov	QWORD PTR -32[rbp], rax
	jmp	.L2
.L5:
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	infun
	mov	rax, QWORD PTR -32[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 10
	je	.L14
	add	QWORD PTR -32[rbp], 6
.L2:
	lea	rax, ar[rip+60]
	cmp	QWORD PTR -32[rbp], rax
	jb	.L5
	jmp	.L4
.L14:
	nop
.L4:
	lea	rdx, ar[rip]
	mov	rax, QWORD PTR -32[rbp]
	sub	rax, rdx
	cmp	rax, 6
	jle	.L6
	lea	rax, ar[rip]
	mov	QWORD PTR -24[rbp], rax
	jmp	.L7
.L11:
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 6
	mov	QWORD PTR -16[rbp], rax
	jmp	.L8
.L10:
	mov	rax, QWORD PTR -24[rbp]
	movzx	edx, BYTE PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	dl, al
	jle	.L9
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR [rax]
	mov	DWORD PTR -38[rbp], edx
	movzx	eax, WORD PTR 4[rax]
	mov	WORD PTR -34[rbp], ax
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	ecx, DWORD PTR [rdx]
	mov	DWORD PTR [rax], ecx
	movzx	edx, WORD PTR 4[rdx]
	mov	WORD PTR 4[rax], dx
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR -38[rbp]
	mov	DWORD PTR [rax], edx
	movzx	edx, WORD PTR -34[rbp]
	mov	WORD PTR 4[rax], dx
.L9:
	add	QWORD PTR -16[rbp], 6
.L8:
	mov	rax, QWORD PTR -32[rbp]
	sub	rax, 6
	cmp	QWORD PTR -16[rbp], rax
	jbe	.L10
	add	QWORD PTR -24[rbp], 6
.L7:
	mov	rax, QWORD PTR -32[rbp]
	sub	rax, 12
	cmp	QWORD PTR -24[rbp], rax
	jbe	.L11
.L6:
	lea	rax, ar[rip]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L12
.L13:
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR 4[rax]
	movsx	ecx, ax
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR 2[rax]
	movsx	edx, ax
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	add	QWORD PTR -8[rbp], 6
.L12:
	mov	rax, QWORD PTR -8[rbp]
	cmp	rax, QWORD PTR -32[rbp]
	jb	.L13
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.globl	infun
	.type	infun, @function
infun:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	call	getchar@PLT
	mov	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR -8[rbp]
	mov	WORD PTR 2[rax], 2
	mov	rax, QWORD PTR -8[rbp]
	mov	WORD PTR 4[rax], 10
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	infun, .-infun
	.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	"28632.c"
	.text
	.comm	ar,60,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%c %d %d\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	ldr	r3, .L15
	str	r3, [fp, #-28]
	b	.L2
.L5:
	ldr	r0, [fp, #-28]
	bl	infun
	ldr	r3, [fp, #-28]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #10
	beq	.L14
	ldr	r3, [fp, #-28]
	add	r3, r3, #6
	str	r3, [fp, #-28]
.L2:
	ldr	r3, [fp, #-28]
	ldr	r2, .L15+4
	cmp	r3, r2
	bcc	.L5
	b	.L4
.L14:
	nop
.L4:
	ldr	r3, [fp, #-28]
	ldr	r2, .L15
	sub	r3, r3, r2
	cmp	r3, #6
	ble	.L6
	ldr	r3, .L15
	str	r3, [fp, #-24]
	b	.L7
.L11:
	ldr	r3, [fp, #-24]
	add	r3, r3, #6
	str	r3, [fp, #-20]
	b	.L8
.L10:
	ldr	r3, [fp, #-24]
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-20]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	bls	.L9
	ldr	r2, [fp, #-24]
	sub	r3, fp, #12
	mov	r1, r2
	mov	r2, #6
	mov	r0, r3
	bl	memcpy
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-20]
	mov	r0, r2
	mov	r1, r3
	mov	r3, #6
	mov	r2, r3
	bl	memcpy
	ldr	r3, [fp, #-20]
	mov	r0, r3
	sub	r3, fp, #12
	mov	r2, #6
	mov	r1, r3
	bl	memcpy
.L9:
	ldr	r3, [fp, #-20]
	add	r3, r3, #6
	str	r3, [fp, #-20]
.L8:
	ldr	r3, [fp, #-28]
	sub	r3, r3, #6
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bls	.L10
	ldr	r3, [fp, #-24]
	add	r3, r3, #6
	str	r3, [fp, #-24]
.L7:
	ldr	r3, [fp, #-28]
	sub	r3, r3, #12
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	bls	.L11
.L6:
	ldr	r3, .L15
	str	r3, [fp, #-16]
	b	.L12
.L13:
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r3, [fp, #-16]
	ldrsh	r3, [r3, #2]
	mov	r2, r3
	ldr	r3, [fp, #-16]
	ldrsh	r3, [r3, #4]
	ldr	r0, .L15+8
	bl	printf
	ldr	r3, [fp, #-16]
	add	r3, r3, #6
	str	r3, [fp, #-16]
.L12:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	bcc	.L13
	mov	r0, #0
	bl	exit
.L16:
	.align	2
.L15:
	.word	ar
	.word	ar+60
	.word	.LC0
	.size	main, .-main
	.align	2
	.global	infun
	.syntax unified
	.arm
	.fpu softvfp
	.type	infun, %function
infun:
	@ 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]
	bl	getchar
	mov	r3, r0
	and	r2, r3, #255
	ldr	r3, [fp, #-8]
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	mov	r2, #2
	strh	r2, [r3, #2]	@ movhi
	ldr	r3, [fp, #-8]
	mov	r2, #10
	strh	r2, [r3, #4]	@ movhi
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	infun, .-infun
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
