	.file	"727402.c"
	.intel_syntax noprefix
	.text
	.globl	len1
	.bss
	.align 4
	.type	len1, @object
	.size	len1, 4
len1:
	.zero	4
	.globl	len2
	.align 4
	.type	len2, @object
	.size	len2, 4
len2:
	.zero	4
	.globl	len3
	.align 4
	.type	len3, @object
	.size	len3, 4
len3:
	.zero	4
	.globl	i
	.align 4
	.type	i, @object
	.size	i, 4
i:
	.zero	4
	.globl	j
	.align 4
	.type	j, @object
	.size	j, 4
j:
	.zero	4
	.text
	.globl	perfect
	.type	perfect, @function
perfect:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -4[rbp], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR len3[rip], eax
	mov	DWORD PTR i[rip], 0
	jmp	.L2
.L5:
	mov	eax, DWORD PTR i[rip]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 48
	je	.L3
	add	DWORD PTR -4[rbp], 1
.L3:
	cmp	DWORD PTR -4[rbp], 0
	je	.L4
	mov	eax, DWORD PTR i[rip]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	putchar@PLT
.L4:
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L2:
	mov	edx, DWORD PTR i[rip]
	mov	eax, DWORD PTR len3[rip]
	cmp	edx, eax
	jl	.L5
	mov	eax, DWORD PTR i[rip]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	perfect, .-perfect
	.globl	maxx
	.type	maxx, @function
maxx:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	edx, DWORD PTR len1[rip]
	mov	eax, DWORD PTR len2[rip]
	cmp	edx, eax
	jle	.L7
	mov	eax, DWORD PTR len1[rip]
	jmp	.L8
.L7:
	mov	eax, DWORD PTR len2[rip]
.L8:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	maxx, .-maxx
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%s %s"
	.text
	.globl	main
	.type	main, @function
main:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 960
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -948[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	getchar@PLT
	jmp	.L10
.L18:
	lea	rdx, -624[rbp]
	lea	rax, -928[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rax, -928[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR len1[rip], eax
	lea	rax, -624[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR len2[rip], eax
	mov	eax, 0
	call	maxx
	sub	eax, 1
	mov	DWORD PTR -932[rbp], eax
	mov	DWORD PTR i[rip], 0
	mov	DWORD PTR j[rip], 0
	mov	DWORD PTR -936[rbp], 0
	mov	DWORD PTR -944[rbp], 0
	mov	DWORD PTR -940[rbp], 0
.L17:
	mov	edx, DWORD PTR len1[rip]
	mov	eax, DWORD PTR i[rip]
	cmp	edx, eax
	jg	.L11
	mov	eax, DWORD PTR i[rip]
	cdqe
	mov	BYTE PTR -928[rbp+rax], 48
.L11:
	mov	edx, DWORD PTR len2[rip]
	mov	eax, DWORD PTR j[rip]
	cmp	edx, eax
	jg	.L12
	mov	eax, DWORD PTR j[rip]
	cdqe
	mov	BYTE PTR -624[rbp+rax], 48
.L12:
	mov	eax, DWORD PTR i[rip]
	lea	edx, 1[rax]
	mov	DWORD PTR i[rip], edx
	cdqe
	movzx	eax, BYTE PTR -928[rbp+rax]
	movsx	eax, al
	lea	ecx, -48[rax]
	mov	eax, DWORD PTR j[rip]
	lea	edx, 1[rax]
	mov	DWORD PTR j[rip], edx
	cdqe
	movzx	eax, BYTE PTR -624[rbp+rax]
	movsx	eax, al
	sub	eax, 48
	lea	edx, [rcx+rax]
	mov	eax, DWORD PTR -940[rbp]
	add	eax, edx
	mov	DWORD PTR -944[rbp], eax
	cmp	DWORD PTR -944[rbp], 9
	jle	.L13
	sub	DWORD PTR -944[rbp], 10
	mov	DWORD PTR -940[rbp], 1
	jmp	.L14
.L13:
	mov	DWORD PTR -940[rbp], 0
.L14:
	mov	eax, DWORD PTR -944[rbp]
	lea	ecx, 48[rax]
	mov	eax, DWORD PTR -936[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -936[rbp], edx
	mov	edx, ecx
	cdqe
	mov	BYTE PTR -320[rbp+rax], dl
	mov	eax, DWORD PTR -936[rbp]
	cmp	eax, DWORD PTR -932[rbp]
	jle	.L17
	cmp	DWORD PTR -940[rbp], 0
	je	.L22
	jmp	.L17
.L22:
	nop
	mov	eax, DWORD PTR -936[rbp]
	cdqe
	mov	BYTE PTR -320[rbp+rax], 0
	lea	rax, -320[rbp]
	mov	rdi, rax
	call	perfect
	lea	rax, -320[rbp]
	mov	edx, 300
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	edi, 10
	call	putchar@PLT
.L10:
	mov	eax, DWORD PTR -948[rbp]
	lea	edx, -1[rax]
	mov	DWORD PTR -948[rbp], edx
	test	eax, eax
	jne	.L18
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L20
	call	__stack_chk_fail@PLT
.L20:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.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	"727402.c"
	.text
	.comm	len1,4,4
	.comm	len2,4,4
	.comm	len3,4,4
	.comm	i,4,4
	.comm	j,4,4
	.align	2
	.global	perfect
	.syntax unified
	.arm
	.fpu softvfp
	.type	perfect, %function
perfect:
	@ 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]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r0, [fp, #-16]
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L6
	str	r2, [r3]
	ldr	r3, .L6+4
	mov	r2, #0
	str	r2, [r3]
	b	.L2
.L5:
	ldr	r3, .L6+4
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #48
	beq	.L3
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L3:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L4
	ldr	r3, .L6+4
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	putchar
.L4:
	ldr	r3, .L6+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L6+4
	str	r3, [r2]
.L2:
	ldr	r3, .L6+4
	ldr	r2, [r3]
	ldr	r3, .L6
	ldr	r3, [r3]
	cmp	r2, r3
	blt	.L5
	ldr	r3, .L6+4
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	mov	r2, #0
	strb	r2, [r3]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L7:
	.align	2
.L6:
	.word	len3
	.word	i
	.size	perfect, .-perfect
	.align	2
	.global	maxx
	.syntax unified
	.arm
	.fpu softvfp
	.type	maxx, %function
maxx:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	ldr	r3, .L11
	ldr	r2, [r3]
	ldr	r3, .L11+4
	ldr	r3, [r3]
	cmp	r2, r3
	ble	.L9
	ldr	r3, .L11
	ldr	r3, [r3]
	b	.L10
.L9:
	ldr	r3, .L11+4
	ldr	r3, [r3]
.L10:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L12:
	.align	2
.L11:
	.word	len1
	.word	len2
	.size	maxx, .-maxx
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d\000"
	.align	2
.LC1:
	.ascii	"%s %s\000"
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 928
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #928
	ldr	r3, .L27
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #928
	mov	r1, r3
	ldr	r0, .L27+4
	bl	__isoc99_scanf
	bl	getchar
	b	.L14
.L22:
	sub	r2, fp, #608
	sub	r3, fp, #908
	mov	r1, r3
	ldr	r0, .L27+8
	bl	__isoc99_scanf
	sub	r3, fp, #908
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L27+12
	str	r2, [r3]
	sub	r3, fp, #608
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L27+16
	str	r2, [r3]
	bl	maxx
	mov	r3, r0
	sub	r3, r3, #1
	str	r3, [fp, #-912]
	ldr	r3, .L27+20
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L27+24
	mov	r2, #0
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-916]
	mov	r3, #0
	str	r3, [fp, #-924]
	mov	r3, #0
	str	r3, [fp, #-920]
.L21:
	ldr	r3, .L27+12
	ldr	r2, [r3]
	ldr	r3, .L27+20
	ldr	r3, [r3]
	cmp	r2, r3
	bgt	.L15
	ldr	r3, .L27+20
	ldr	r3, [r3]
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #48
	strb	r2, [r3, #-904]
.L15:
	ldr	r3, .L27+16
	ldr	r2, [r3]
	ldr	r3, .L27+24
	ldr	r3, [r3]
	cmp	r2, r3
	bgt	.L16
	ldr	r3, .L27+24
	ldr	r3, [r3]
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #48
	strb	r2, [r3, #-604]
.L16:
	ldr	r3, .L27+20
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L27+20
	str	r2, [r1]
	sub	r2, fp, #4
	add	r3, r2, r3
	ldrb	r3, [r3, #-904]	@ zero_extendqisi2
	sub	r2, r3, #48
	ldr	r3, .L27+24
	ldr	r3, [r3]
	add	r1, r3, #1
	ldr	r0, .L27+24
	str	r1, [r0]
	sub	r1, fp, #4
	add	r3, r1, r3
	ldrb	r3, [r3, #-604]	@ zero_extendqisi2
	sub	r3, r3, #48
	add	r3, r2, r3
	ldr	r2, [fp, #-920]
	add	r3, r2, r3
	str	r3, [fp, #-924]
	ldr	r3, [fp, #-924]
	cmp	r3, #9
	ble	.L17
	ldr	r3, [fp, #-924]
	sub	r3, r3, #10
	str	r3, [fp, #-924]
	mov	r3, #1
	str	r3, [fp, #-920]
	b	.L18
.L17:
	mov	r3, #0
	str	r3, [fp, #-920]
.L18:
	ldr	r3, [fp, #-924]
	and	r2, r3, #255
	ldr	r3, [fp, #-916]
	add	r1, r3, #1
	str	r1, [fp, #-916]
	add	r2, r2, #48
	and	r2, r2, #255
	sub	r1, fp, #4
	add	r3, r1, r3
	strb	r2, [r3, #-304]
	ldr	r2, [fp, #-916]
	ldr	r3, [fp, #-912]
	cmp	r2, r3
	ble	.L21
	ldr	r3, [fp, #-920]
	cmp	r3, #0
	beq	.L26
	b	.L21
.L26:
	nop
	sub	r2, fp, #308
	ldr	r3, [fp, #-916]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	sub	r3, fp, #308
	mov	r0, r3
	bl	perfect
	sub	r3, fp, #308
	mov	r2, #300
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r0, #10
	bl	putchar
.L14:
	ldr	r3, [fp, #-928]
	sub	r2, r3, #1
	str	r2, [fp, #-928]
	cmp	r3, #0
	bne	.L22
	mov	r3, #0
	ldr	r2, .L27
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L24
	bl	__stack_chk_fail
.L24:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L28:
	.align	2
.L27:
	.word	.LC2
	.word	.LC0
	.word	.LC1
	.word	len1
	.word	len2
	.word	i
	.word	j
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
