	.file	"178265028.c"
	.intel_syntax noprefix
	.text
	.globl	rep
	.type	rep, @function
rep:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 56
	.cfi_offset 3, -24
	mov	QWORD PTR -56[rbp], rdi
	mov	QWORD PTR -64[rbp], rsi
	mov	DWORD PTR -36[rbp], 0
	mov	rax, QWORD PTR -56[rbp]
	mov	esi, 50
	mov	rdi, rax
	call	strnlen@PLT
	mov	rbx, rax
	mov	rax, QWORD PTR -64[rbp]
	mov	esi, 50
	mov	rdi, rax
	call	strnlen@PLT
	cmp	rbx, rax
	jbe	.L2
	mov	rax, QWORD PTR -64[rbp]
	mov	esi, 50
	mov	rdi, rax
	call	strnlen@PLT
	mov	DWORD PTR -44[rbp], eax
	jmp	.L3
.L2:
	mov	rax, QWORD PTR -56[rbp]
	mov	esi, 50
	mov	rdi, rax
	call	strnlen@PLT
	mov	DWORD PTR -44[rbp], eax
.L3:
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -32[rbp], rax
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -24[rbp], rax
	mov	DWORD PTR -40[rbp], 1
	jmp	.L4
.L7:
	mov	rax, QWORD PTR -56[rbp]
	mov	esi, 50
	mov	rdi, rax
	call	strnlen@PLT
	mov	edx, DWORD PTR -44[rbp]
	movsx	rdx, edx
	sub	rax, rdx
	mov	rcx, rax
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	lea	rdx, [rcx+rax]
	mov	rax, QWORD PTR -56[rbp]
	lea	rcx, [rdx+rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, 50
	mov	rsi, rcx
	mov	rdi, rax
	call	strncpy@PLT
	mov	eax, DWORD PTR -44[rbp]
	sub	eax, DWORD PTR -40[rbp]
	movsx	rdx, eax
	mov	rcx, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	strncpy@PLT
	mov	eax, DWORD PTR -44[rbp]
	sub	eax, DWORD PTR -40[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L5
	mov	eax, DWORD PTR -44[rbp]
	sub	eax, DWORD PTR -40[rbp]
	mov	DWORD PTR -36[rbp], eax
.L5:
	add	DWORD PTR -40[rbp], 1
.L4:
	mov	eax, DWORD PTR -40[rbp]
	cmp	eax, DWORD PTR -44[rbp]
	jge	.L6
	cmp	DWORD PTR -36[rbp], 0
	je	.L7
.L6:
	mov	eax, DWORD PTR -36[rbp]
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	rep, .-rep
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	".sc=%d, sn=%d\n"
	.text
	.globl	comp_rec
	.type	comp_rec, @function
comp_rec:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 72
	.cfi_offset 3, -24
	mov	DWORD PTR -36[rbp], edi
	mov	DWORD PTR -40[rbp], esi
	mov	DWORD PTR -44[rbp], edx
	mov	QWORD PTR -56[rbp], rcx
	mov	QWORD PTR -64[rbp], r8
	mov	QWORD PTR -72[rbp], r9
	cmp	DWORD PTR -40[rbp], -1
	je	.L10
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	lea	rdx, [rax+rax]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movzx	edx, WORD PTR [rax]
	mov	eax, DWORD PTR -36[rbp]
	mov	esi, 1
	mov	ecx, eax
	sal	esi, cl
	mov	eax, esi
	not	eax
	mov	ecx, eax
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	add	rax, 1
	lea	rsi, [rax+rax]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rsi
	and	edx, ecx
	mov	WORD PTR [rax], dx
	mov	DWORD PTR -20[rbp], 0
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	add	rax, 1
	lea	rdx, [rax+rax]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	mov	WORD PTR -26[rbp], ax
	jmp	.L11
.L12:
	movzx	eax, WORD PTR -26[rbp]
	mov	edx, eax
	sar	dx, 15
	shr	dx, 15
	add	eax, edx
	and	eax, 1
	sub	eax, edx
	cwde
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	movzx	eax, WORD PTR -26[rbp]
	mov	edx, eax
	shr	dx, 15
	add	eax, edx
	sar	ax
	mov	WORD PTR -26[rbp], ax
	add	DWORD PTR -20[rbp], 1
.L11:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -44[rbp]
	jl	.L12
	mov	edi, 10
	call	putchar@PLT
.L10:
	mov	DWORD PTR -24[rbp], 0
	jmp	.L13
.L21:
	mov	DWORD PTR -20[rbp], 0
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	add	rax, 1
	lea	rdx, [rax+rax]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	mov	WORD PTR -26[rbp], ax
	jmp	.L14
.L15:
	movzx	eax, WORD PTR -26[rbp]
	mov	edx, eax
	sar	dx, 15
	shr	dx, 15
	add	eax, edx
	and	eax, 1
	sub	eax, edx
	cwde
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	movzx	eax, WORD PTR -26[rbp]
	mov	edx, eax
	shr	dx, 15
	add	eax, edx
	sar	ax
	mov	WORD PTR -26[rbp], ax
	add	DWORD PTR -20[rbp], 1
.L14:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -44[rbp]
	jl	.L15
	mov	edi, 10
	call	putchar@PLT
	mov	DWORD PTR -20[rbp], 0
	mov	eax, DWORD PTR -24[rbp]
	mov	edx, 1
	mov	ecx, eax
	sal	edx, cl
	mov	eax, edx
	mov	WORD PTR -26[rbp], ax
	jmp	.L16
.L17:
	movzx	eax, WORD PTR -26[rbp]
	mov	edx, eax
	sar	dx, 15
	shr	dx, 15
	add	eax, edx
	and	eax, 1
	sub	eax, edx
	cwde
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	movzx	eax, WORD PTR -26[rbp]
	mov	edx, eax
	shr	dx, 15
	add	eax, edx
	sar	ax
	mov	WORD PTR -26[rbp], ax
	add	DWORD PTR -20[rbp], 1
.L16:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -44[rbp]
	jl	.L17
	mov	edi, 10
	call	putchar@PLT
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	add	rax, 1
	lea	rdx, [rax+rax]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movsx	edx, ax
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	add	rax, 1
	lea	rcx, [rax+rax]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rcx
	movzx	eax, WORD PTR [rax]
	movsx	esi, ax
	mov	eax, DWORD PTR -24[rbp]
	mov	edi, 1
	mov	ecx, eax
	sal	edi, cl
	mov	eax, edi
	or	eax, esi
	cmp	edx, eax
	jne	.L18
	mov	edx, DWORD PTR -36[rbp]
	mov	eax, DWORD PTR -40[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	DWORD PTR -40[rbp], 0
	jle	.L19
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	sal	rax, 2
	lea	rdx, -4[rax]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	ebx, DWORD PTR [rax]
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR 16[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR 16[rbp]
	add	rax, rcx
	mov	rax, QWORD PTR [rax]
	mov	rsi, rdx
	mov	rdi, rax
	call	rep
	mov	edx, eax
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rcx
	add	edx, ebx
	mov	DWORD PTR [rax], edx
.L19:
	mov	eax, DWORD PTR -40[rbp]
	lea	esi, 1[rax]
	mov	r8, QWORD PTR -72[rbp]
	mov	rdi, QWORD PTR -64[rbp]
	mov	rcx, QWORD PTR -56[rbp]
	mov	edx, DWORD PTR -44[rbp]
	mov	eax, DWORD PTR -24[rbp]
	sub	rsp, 8
	push	QWORD PTR 16[rbp]
	mov	r9, r8
	mov	r8, rdi
	mov	edi, eax
	call	comp_rec
	add	rsp, 16
.L18:
	add	DWORD PTR -24[rbp], 1
.L13:
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, DWORD PTR -44[rbp]
	jge	.L20
	mov	eax, DWORD PTR -40[rbp]
	cmp	eax, DWORD PTR -44[rbp]
	jl	.L21
.L20:
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	jle	.L23
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	DWORD PTR [rax], edx
.L23:
	nop
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	comp_rec, .-comp_rec
	.section	.rodata
.LC2:
	.string	"%d\n"
.LC3:
	.string	"max1=%d\n"
.LC4:
	.string	"max=%d\n"
	.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
	push	rbx
	sub	rsp, 56
	.cfi_offset 3, -24
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -56[rbp], 0
	lea	rax, -60[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -60[rbp]
	cdqe
	add	rax, rax
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -48[rbp], rax
	mov	eax, DWORD PTR -60[rbp]
	mov	edx, 1
	mov	ecx, eax
	sal	edx, cl
	mov	eax, edx
	sub	eax, 1
	mov	edx, eax
	mov	rax, QWORD PTR -48[rbp]
	mov	WORD PTR [rax], dx
	mov	eax, DWORD PTR -60[rbp]
	cdqe
	sal	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	DWORD PTR [rax], 0
	mov	eax, DWORD PTR -60[rbp]
	cdqe
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -32[rbp], rax
	mov	DWORD PTR -52[rbp], 0
	jmp	.L25
.L26:
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	lea	rbx, [rdx+rax]
	mov	edi, 50
	call	malloc@PLT
	mov	QWORD PTR [rbx], rax
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	mov	eax, 0
	call	gets@PLT
	add	DWORD PTR -52[rbp], 1
.L25:
	mov	eax, DWORD PTR -60[rbp]
	cmp	DWORD PTR -52[rbp], eax
	jl	.L26
	mov	eax, DWORD PTR -60[rbp]
	lea	rsi, -56[rbp]
	mov	rcx, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR -48[rbp]
	sub	rsp, 8
	push	QWORD PTR -32[rbp]
	mov	r9, rsi
	mov	r8, rcx
	mov	rcx, rdx
	mov	edx, eax
	mov	esi, -1
	mov	edi, -1
	call	comp_rec
	add	rsp, 16
	mov	eax, DWORD PTR -56[rbp]
	neg	eax
	mov	DWORD PTR -56[rbp], eax
	mov	eax, DWORD PTR -56[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -52[rbp], 0
	jmp	.L27
.L28:
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	esi, 50
	mov	rdi, rax
	call	strnlen@PLT
	mov	edx, eax
	mov	eax, DWORD PTR -56[rbp]
	add	eax, edx
	mov	DWORD PTR -56[rbp], eax
	add	DWORD PTR -52[rbp], 1
.L27:
	mov	eax, DWORD PTR -60[rbp]
	cmp	DWORD PTR -52[rbp], eax
	jl	.L28
	mov	eax, DWORD PTR -56[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -52[rbp], 0
	jmp	.L29
.L30:
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	free@PLT
	add	DWORD PTR -52[rbp], 1
.L29:
	mov	eax, DWORD PTR -60[rbp]
	cmp	DWORD PTR -52[rbp], eax
	jl	.L30
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, 0
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L32
	call	__stack_chk_fail@PLT
.L32:
	mov	rbx, QWORD PTR -8[rbp]
	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	"178265028.c"
	.text
	.align	2
	.global	rep
	.syntax unified
	.arm
	.fpu softvfp
	.type	rep, %function
rep:
	@ 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]
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r1, #50
	ldr	r0, [fp, #-40]
	bl	strnlen
	mov	r4, r0
	mov	r1, #50
	ldr	r0, [fp, #-44]
	bl	strnlen
	mov	r3, r0
	cmp	r4, r3
	bls	.L2
	mov	r1, #50
	ldr	r0, [fp, #-44]
	bl	strnlen
	mov	r3, r0
	str	r3, [fp, #-32]
	b	.L3
.L2:
	mov	r1, #50
	ldr	r0, [fp, #-40]
	bl	strnlen
	mov	r3, r0
	str	r3, [fp, #-32]
.L3:
	ldr	r3, [fp, #-32]
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-32]
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-16]
	mov	r3, #1
	str	r3, [fp, #-28]
	b	.L4
.L7:
	mov	r1, #50
	ldr	r0, [fp, #-40]
	bl	strnlen
	mov	r2, r0
	ldr	r3, [fp, #-32]
	sub	r2, r2, r3
	ldr	r3, [fp, #-28]
	add	r3, r2, r3
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	mov	r2, #50
	mov	r1, r3
	ldr	r0, [fp, #-20]
	bl	strncpy
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-28]
	sub	r3, r2, r3
	mov	r2, r3
	ldr	r1, [fp, #-44]
	ldr	r0, [fp, #-16]
	bl	strncpy
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-28]
	sub	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	mov	r2, #0
	strb	r2, [r3]
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-20]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L5
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-28]
	sub	r3, r2, r3
	str	r3, [fp, #-24]
.L5:
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L4:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	bge	.L6
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L7
.L6:
	ldr	r3, [fp, #-24]
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	rep, .-rep
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d\000"
	.align	2
.LC1:
	.ascii	".sc=%d, sn=%d\012\000"
	.text
	.align	2
	.global	comp_rec
	.syntax unified
	.arm
	.fpu softvfp
	.type	comp_rec, %function
comp_rec:
	@ args = 12, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #52
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-36]
	cmn	r3, #1
	beq	.L10
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #1
	ldr	r2, [fp, #-44]
	add	r3, r2, r3
	ldrsh	r1, [r3]
	mov	r2, #1
	ldr	r3, [fp, #-32]
	lsl	r3, r2, r3
	lsl	r3, r3, #16
	asr	r3, r3, #16
	mvn	r3, r3
	lsl	r3, r3, #16
	asr	r2, r3, #16
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	lsl	r3, r3, #1
	ldr	r0, [fp, #-44]
	add	r3, r0, r3
	and	r2, r2, r1
	lsl	r2, r2, #16
	asr	r2, r2, #16
	strh	r2, [r3]	@ movhi
	mov	r3, #0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	lsl	r3, r3, #1
	ldr	r2, [fp, #-44]
	add	r3, r2, r3
	ldrh	r3, [r3]	@ movhi
	strh	r3, [fp, #-22]	@ movhi
	b	.L11
.L12:
	ldrsh	r3, [fp, #-22]
	cmp	r3, #0
	and	r3, r3, #1
	rsblt	r3, r3, #0
	lsl	r3, r3, #16
	asr	r3, r3, #16
	mov	r1, r3
	ldr	r0, .L24
	bl	printf
	ldrsh	r3, [fp, #-22]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	strh	r3, [fp, #-22]	@ movhi
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L11:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-40]
	cmp	r2, r3
	blt	.L12
	mov	r0, #10
	bl	putchar
.L10:
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L13
.L21:
	mov	r3, #0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	lsl	r3, r3, #1
	ldr	r2, [fp, #-44]
	add	r3, r2, r3
	ldrh	r3, [r3]	@ movhi
	strh	r3, [fp, #-22]	@ movhi
	b	.L14
.L15:
	ldrsh	r3, [fp, #-22]
	cmp	r3, #0
	and	r3, r3, #1
	rsblt	r3, r3, #0
	lsl	r3, r3, #16
	asr	r3, r3, #16
	mov	r1, r3
	ldr	r0, .L24
	bl	printf
	ldrsh	r3, [fp, #-22]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	strh	r3, [fp, #-22]	@ movhi
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L14:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-40]
	cmp	r2, r3
	blt	.L15
	mov	r0, #10
	bl	putchar
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r2, #1
	ldr	r3, [fp, #-20]
	lsl	r3, r2, r3
	strh	r3, [fp, #-22]	@ movhi
	b	.L16
.L17:
	ldrsh	r3, [fp, #-22]
	cmp	r3, #0
	and	r3, r3, #1
	rsblt	r3, r3, #0
	lsl	r3, r3, #16
	asr	r3, r3, #16
	mov	r1, r3
	ldr	r0, .L24
	bl	printf
	ldrsh	r3, [fp, #-22]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	strh	r3, [fp, #-22]	@ movhi
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L16:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-40]
	cmp	r2, r3
	blt	.L17
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	lsl	r3, r3, #1
	ldr	r2, [fp, #-44]
	add	r3, r2, r3
	ldrsh	r3, [r3]
	mov	r1, r3
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	lsl	r3, r3, #1
	ldr	r2, [fp, #-44]
	add	r3, r2, r3
	ldrsh	r3, [r3]
	mov	r0, r3
	mov	r2, #1
	ldr	r3, [fp, #-20]
	lsl	r3, r2, r3
	orr	r3, r0, r3
	cmp	r1, r3
	bne	.L18
	ldr	r2, [fp, #-32]
	ldr	r1, [fp, #-36]
	ldr	r0, .L24+4
	bl	printf
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	ble	.L19
	ldr	r3, [fp, #-36]
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	ldr	r2, [fp, #4]
	add	r3, r2, r3
	ldr	r4, [r3]
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #2
	ldr	r2, [fp, #12]
	add	r3, r2, r3
	ldr	r0, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #12]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	bl	rep
	mov	r1, r0
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	ldr	r2, [fp, #4]
	add	r3, r2, r3
	add	r2, r4, r1
	str	r2, [r3]
.L19:
	ldr	r3, [fp, #-36]
	add	r1, r3, #1
	ldr	r3, [fp, #12]
	str	r3, [sp, #8]
	ldr	r3, [fp, #8]
	str	r3, [sp, #4]
	ldr	r3, [fp, #4]
	str	r3, [sp]
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-40]
	ldr	r0, [fp, #-20]
	bl	comp_rec
.L18:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L13:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-40]
	cmp	r2, r3
	bge	.L20
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-40]
	cmp	r2, r3
	blt	.L21
.L20:
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	ldr	r2, [fp, #4]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #8]
	ldr	r3, [r3]
	cmp	r2, r3
	ble	.L23
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	ldr	r2, [fp, #4]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #8]
	str	r2, [r3]
.L23:
	nop
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L25:
	.align	2
.L24:
	.word	.LC0
	.word	.LC1
	.size	comp_rec, .-comp_rec
	.section	.rodata
	.align	2
.LC2:
	.ascii	"%d\012\000"
	.align	2
.LC3:
	.ascii	"max1=%d\012\000"
	.align	2
.LC4:
	.ascii	"max=%d\012\000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.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	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #52
	ldr	r3, .L35
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-36]
	sub	r3, fp, #40
	mov	r1, r3
	ldr	r0, .L35+4
	bl	__isoc99_scanf
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #1
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-40]
	mov	r2, #1
	lsl	r3, r2, r3
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	sub	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #16
	asr	r2, r3, #16
	ldr	r3, [fp, #-28]
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L27
.L28:
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r4, r2, r3
	mov	r0, #50
	bl	malloc
	mov	r3, r0
	str	r3, [r4]
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	gets
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L27:
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	blt	.L28
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-20]
	str	r3, [sp, #8]
	sub	r3, fp, #36
	str	r3, [sp, #4]
	ldr	r3, [fp, #-24]
	str	r3, [sp]
	ldr	r3, [fp, #-28]
	mvn	r1, #0
	mvn	r0, #0
	bl	comp_rec
	ldr	r3, [fp, #-36]
	rsb	r3, r3, #0
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-36]
	mov	r1, r3
	ldr	r0, .L35+8
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L29
.L30:
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, #50
	mov	r0, r3
	bl	strnlen
	mov	r3, r0
	ldr	r2, [fp, #-36]
	add	r3, r3, r2
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L29:
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	blt	.L30
	ldr	r3, [fp, #-36]
	mov	r1, r3
	ldr	r0, .L35+12
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L31
.L32:
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L31:
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	blt	.L32
	ldr	r0, [fp, #-20]
	bl	free
	ldr	r0, [fp, #-28]
	bl	free
	ldr	r0, [fp, #-24]
	bl	free
	mov	r3, #0
	ldr	r2, .L35
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L34
	bl	__stack_chk_fail
.L34:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L36:
	.align	2
.L35:
	.word	.LC5
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
