	.file	"775554.c"
	.intel_syntax noprefix
	.text
	.globl	count
	.bss
	.align 8
	.type	count, @object
	.size	count, 8
count:
	.zero	8
	.section	.rodata
.LC0:
	.string	"%d"
	.text
	.globl	add
	.type	add, @function
add:
.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, 288
	mov	QWORD PTR -264[rbp], rdi
	mov	QWORD PTR -272[rbp], rsi
	mov	QWORD PTR -280[rbp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rdx, QWORD PTR -264[rbp]
	mov	rax, QWORD PTR -272[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	mov	rdx, QWORD PTR -280[rbp]
	mov	rax, QWORD PTR -272[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	rev
	mov	rax, QWORD PTR -272[rbp]
	mov	rdi, rax
	call	atoi@PLT
	cdqe
	mov	QWORD PTR -248[rbp], rax
	mov	rax, QWORD PTR -280[rbp]
	mov	rdi, rax
	call	atoi@PLT
	cdqe
	mov	QWORD PTR -240[rbp], rax
	mov	rdx, QWORD PTR -248[rbp]
	mov	rax, QWORD PTR -240[rbp]
	add	rax, rdx
	mov	QWORD PTR -232[rbp], rax
	mov	rdx, QWORD PTR -232[rbp]
	lea	rax, -224[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rdx, -112[rbp]
	lea	rax, -224[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	rev
	mov	rax, QWORD PTR count[rip]
	add	rax, 1
	mov	QWORD PTR count[rip], rax
	lea	rdx, -112[rbp]
	lea	rax, -224[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L2
	mov	rax, QWORD PTR -232[rbp]
	jmp	.L1
.L2:
	mov	rdx, QWORD PTR -280[rbp]
	mov	rcx, QWORD PTR -272[rbp]
	mov	rax, QWORD PTR -232[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	add
	mov	QWORD PTR -232[rbp], rax
.L1:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L4
	call	__stack_chk_fail@PLT
.L4:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	add, .-add
	.globl	rev
	.type	rev, @function
rev:
.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	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -4[rbp], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	strlen@PLT
	sub	eax, 1
	mov	DWORD PTR -8[rbp], eax
	jmp	.L6
.L7:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -4[rbp]
	movsx	rcx, edx
	mov	rdx, QWORD PTR -32[rbp]
	add	rdx, rcx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR [rdx], al
	add	DWORD PTR -4[rbp], 1
	sub	DWORD PTR -8[rbp], 1
.L6:
	cmp	DWORD PTR -8[rbp], 0
	jns	.L7
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	rev, .-rev
	.section	.rodata
.LC1:
	.string	"%lld"
.LC2:
	.string	"%lld %lld\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 256
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -248[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -244[rbp], 1
	jmp	.L9
.L10:
	lea	rax, -240[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	QWORD PTR count[rip], 0
	mov	rax, QWORD PTR -240[rbp]
	lea	rdx, -112[rbp]
	lea	rcx, -224[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	add
	mov	QWORD PTR -232[rbp], rax
	mov	rax, QWORD PTR count[rip]
	mov	rdx, QWORD PTR -232[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -244[rbp], 1
.L9:
	mov	eax, DWORD PTR -248[rbp]
	cmp	DWORD PTR -244[rbp], eax
	jle	.L10
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.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	"775554.c"
	.text
	.global	count
	.bss
	.align	3
	.type	count, %object
	.size	count, 8
count:
	.space	8
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d\000"
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	add
	.syntax unified
	.arm
	.fpu softvfp
	.type	add, %function
add:
	@ args = 0, pretend = 0, frame = 248
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #248
	str	r0, [fp, #-260]
	str	r1, [fp, #-256]
	str	r2, [fp, #-264]
	str	r3, [fp, #-268]
	ldr	r3, .L5
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	sub	r3, fp, #260
	ldmia	r3, {r2-r3}
	ldr	r1, .L5+4
	ldr	r0, [fp, #-264]
	bl	sprintf
	ldr	r1, [fp, #-268]
	ldr	r0, [fp, #-264]
	bl	rev
	ldr	r0, [fp, #-264]
	bl	atoi
	mov	r3, r0
	mov	r2, r3
	asr	r3, r2, #31
	str	r2, [fp, #-252]
	str	r3, [fp, #-248]
	ldr	r0, [fp, #-268]
	bl	atoi
	mov	r3, r0
	mov	r2, r3
	asr	r3, r2, #31
	str	r2, [fp, #-244]
	str	r3, [fp, #-240]
	sub	r1, fp, #252
	ldmia	r1, {r0-r1}
	sub	r3, fp, #244
	ldmia	r3, {r2-r3}
	adds	r6, r0, r2
	adc	r7, r1, r3
	str	r6, [fp, #-236]
	str	r7, [fp, #-232]
	sub	r0, fp, #224
	sub	r3, fp, #236
	ldmia	r3, {r2-r3}
	ldr	r1, .L5+4
	bl	sprintf
	sub	r2, fp, #124
	sub	r3, fp, #224
	mov	r1, r2
	mov	r0, r3
	bl	rev
	ldr	r3, .L5+8
	ldmia	r3, {r2-r3}
	adds	r4, r2, #1
	adc	r5, r3, #0
	ldr	r3, .L5+8
	stm	r3, {r4-r5}
	sub	r2, fp, #124
	sub	r3, fp, #224
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L2
	sub	r3, fp, #236
	ldmia	r3, {r2-r3}
	b	.L1
.L2:
	ldr	r3, [fp, #-268]
	ldr	r2, [fp, #-264]
	sub	r1, fp, #236
	ldmia	r1, {r0-r1}
	bl	add
	str	r0, [fp, #-236]
	str	r1, [fp, #-232]
.L1:
	ldr	r1, .L5
	ldr	r0, [r1]
	ldr	r1, [fp, #-24]
	eors	r0, r1, r0
	mov	r1, #0
	beq	.L4
	bl	__stack_chk_fail
.L4:
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L6:
	.align	2
.L5:
	.word	.LC1
	.word	.LC0
	.word	count
	.size	add, .-add
	.align	2
	.global	rev
	.syntax unified
	.arm
	.fpu softvfp
	.type	rev, %function
rev:
	@ 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]
	ldr	r0, [fp, #-16]
	bl	strlen
	mov	r3, r0
	sub	r3, r3, #1
	str	r3, [fp, #-12]
	b	.L8
.L9:
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-16]
	add	r2, r2, r3
	ldr	r3, [fp, #-8]
	ldr	r1, [fp, #-20]
	add	r3, r1, r3
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	str	r3, [fp, #-12]
.L8:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bge	.L9
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	rev, .-rev
	.section	.rodata
	.align	2
.LC2:
	.ascii	"%lld\000"
	.align	2
.LC3:
	.ascii	"%lld %lld\012\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 232
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #240
	ldr	r3, .L15
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #236
	mov	r1, r3
	ldr	r0, .L15+4
	bl	__isoc99_scanf
	mov	r3, #1
	str	r3, [fp, #-232]
	b	.L11
.L12:
	sub	r3, fp, #228
	mov	r1, r3
	ldr	r0, .L15+8
	bl	__isoc99_scanf
	ldr	r1, .L15+12
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	sub	r1, fp, #228
	ldmia	r1, {r0-r1}
	sub	r3, fp, #108
	sub	r2, fp, #208
	bl	add
	str	r0, [fp, #-220]
	str	r1, [fp, #-216]
	ldr	r3, .L15+12
	ldmia	r3, {r0-r1}
	sub	r3, fp, #220
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L15+16
	bl	printf
	ldr	r3, [fp, #-232]
	add	r3, r3, #1
	str	r3, [fp, #-232]
.L11:
	ldr	r3, [fp, #-236]
	ldr	r2, [fp, #-232]
	cmp	r2, r3
	ble	.L12
	mov	r3, #0
	ldr	r2, .L15
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L14
	bl	__stack_chk_fail
.L14:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L16:
	.align	2
.L15:
	.word	.LC4
	.word	.LC0
	.word	.LC2
	.word	count
	.word	.LC3
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
