	.file	"726201.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"enter binary1: "
.LC1:
	.string	"%ld"
.LC2:
	.string	"enter binary2: "
.LC3:
	.string	"sum of 1 && 2 == "
.LC4:
	.string	"%d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	add	rsp, -128
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -120[rbp], 0
	mov	DWORD PTR -116[rbp], 0
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -112[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -104[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	jmp	.L2
.L3:
	mov	rcx, QWORD PTR -112[rbp]
	movabs	rdx, 7378697629483820647
	mov	rax, rcx
	imul	rdx
	mov	rax, rdx
	sar	rax, 2
	mov	rdx, rcx
	sar	rdx, 63
	sub	rax, rdx
	mov	rsi, rax
	mov	rax, rsi
	sal	rax, 2
	add	rax, rsi
	add	rax, rax
	mov	rsi, rcx
	sub	rsi, rax
	mov	rcx, QWORD PTR -104[rbp]
	movabs	rdx, 7378697629483820647
	mov	rax, rcx
	imul	rdx
	mov	rax, rdx
	sar	rax, 2
	mov	rdi, rcx
	sar	rdi, 63
	sub	rax, rdi
	mov	rdx, rax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	sub	rcx, rax
	mov	rdx, rcx
	add	rdx, rsi
	mov	eax, DWORD PTR -116[rbp]
	cdqe
	add	rax, rdx
	cqo
	shr	rdx, 63
	add	rax, rdx
	and	eax, 1
	sub	rax, rdx
	mov	rcx, rax
	mov	eax, DWORD PTR -120[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -120[rbp], edx
	mov	edx, ecx
	cdqe
	mov	DWORD PTR -96[rbp+rax*4], edx
	mov	rcx, QWORD PTR -112[rbp]
	movabs	rdx, 7378697629483820647
	mov	rax, rcx
	imul	rdx
	mov	rax, rdx
	sar	rax, 2
	mov	rdx, rcx
	sar	rdx, 63
	sub	rax, rdx
	mov	rsi, rax
	mov	rax, rsi
	sal	rax, 2
	add	rax, rsi
	add	rax, rax
	mov	rsi, rcx
	sub	rsi, rax
	mov	rcx, QWORD PTR -104[rbp]
	movabs	rdx, 7378697629483820647
	mov	rax, rcx
	imul	rdx
	mov	rax, rdx
	sar	rax, 2
	mov	rdi, rcx
	sar	rdi, 63
	sub	rax, rdi
	mov	rdx, rax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	sub	rcx, rax
	mov	rdx, rcx
	add	rdx, rsi
	mov	eax, DWORD PTR -116[rbp]
	cdqe
	add	rax, rdx
	mov	rdx, rax
	shr	rdx, 63
	add	rax, rdx
	sar	rax
	mov	DWORD PTR -116[rbp], eax
	mov	rcx, QWORD PTR -112[rbp]
	movabs	rdx, 7378697629483820647
	mov	rax, rcx
	imul	rdx
	mov	rax, rdx
	sar	rax, 2
	sar	rcx, 63
	mov	rdx, rcx
	sub	rax, rdx
	mov	QWORD PTR -112[rbp], rax
	mov	rcx, QWORD PTR -104[rbp]
	movabs	rdx, 7378697629483820647
	mov	rax, rcx
	imul	rdx
	mov	rax, rdx
	sar	rax, 2
	sar	rcx, 63
	mov	rdx, rcx
	sub	rax, rdx
	mov	QWORD PTR -104[rbp], rax
.L2:
	mov	rax, QWORD PTR -112[rbp]
	test	rax, rax
	jne	.L3
	mov	rax, QWORD PTR -104[rbp]
	test	rax, rax
	jne	.L3
	cmp	DWORD PTR -116[rbp], 0
	je	.L4
	mov	eax, DWORD PTR -120[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -120[rbp], edx
	cdqe
	mov	edx, DWORD PTR -116[rbp]
	mov	DWORD PTR -96[rbp+rax*4], edx
.L4:
	sub	DWORD PTR -120[rbp], 1
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L5
.L6:
	mov	eax, DWORD PTR -120[rbp]
	lea	edx, -1[rax]
	mov	DWORD PTR -120[rbp], edx
	cdqe
	mov	eax, DWORD PTR -96[rbp+rax*4]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
.L5:
	cmp	DWORD PTR -120[rbp], 0
	jns	.L6
	mov	edi, 10
	call	putchar@PLT
	mov	eax, 0
	mov	rdi, QWORD PTR -8[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L8
	call	__stack_chk_fail@PLT
.L8:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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	"726201.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"enter binary1: \000"
	.align	2
.LC1:
	.ascii	"%ld\000"
	.align	2
.LC2:
	.ascii	"enter binary2: \000"
	.align	2
.LC3:
	.ascii	"sum of 1 && 2 == \000"
	.align	2
.LC4:
	.ascii	"%d\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 = 104
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #104
	ldr	r3, .L9
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-96]
	mov	r3, #0
	str	r3, [fp, #-92]
	ldr	r0, .L9+4
	bl	printf
	sub	r3, fp, #104
	mov	r1, r3
	ldr	r0, .L9+8
	bl	__isoc99_scanf
	ldr	r0, .L9+12
	bl	printf
	sub	r3, fp, #100
	mov	r1, r3
	ldr	r0, .L9+8
	bl	__isoc99_scanf
	b	.L2
.L3:
	ldr	r2, [fp, #-104]
	ldr	r3, .L9+16
	smull	r1, r3, r2, r3
	asr	r1, r3, #2
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #1
	sub	r1, r2, r3
	ldr	r0, [fp, #-100]
	ldr	r3, .L9+16
	smull	r2, r3, r0, r3
	asr	r2, r3, #2
	asr	r3, r0, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	sub	r2, r0, r3
	add	r2, r1, r2
	ldr	r3, [fp, #-92]
	add	r2, r2, r3
	ldr	r3, [fp, #-96]
	add	r1, r3, #1
	str	r1, [fp, #-96]
	cmp	r2, #0
	and	r2, r2, #1
	rsblt	r2, r2, #0
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-84]
	ldr	r2, [fp, #-104]
	ldr	r3, .L9+16
	smull	r1, r3, r2, r3
	asr	r1, r3, #2
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #1
	sub	r1, r2, r3
	ldr	r0, [fp, #-100]
	ldr	r3, .L9+16
	smull	r2, r3, r0, r3
	asr	r2, r3, #2
	asr	r3, r0, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	sub	r2, r0, r3
	add	r2, r1, r2
	ldr	r3, [fp, #-92]
	add	r3, r2, r3
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	str	r3, [fp, #-92]
	ldr	r3, [fp, #-104]
	ldr	r2, .L9+16
	smull	r1, r2, r3, r2
	asr	r2, r2, #2
	asr	r3, r3, #31
	sub	r3, r2, r3
	str	r3, [fp, #-104]
	ldr	r3, [fp, #-100]
	ldr	r2, .L9+16
	smull	r1, r2, r3, r2
	asr	r2, r2, #2
	asr	r3, r3, #31
	sub	r3, r2, r3
	str	r3, [fp, #-100]
.L2:
	ldr	r3, [fp, #-104]
	cmp	r3, #0
	bne	.L3
	ldr	r3, [fp, #-100]
	cmp	r3, #0
	bne	.L3
	ldr	r3, [fp, #-92]
	cmp	r3, #0
	beq	.L4
	ldr	r3, [fp, #-96]
	add	r2, r3, #1
	str	r2, [fp, #-96]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [fp, #-92]
	str	r2, [r3, #-84]
.L4:
	ldr	r3, [fp, #-96]
	sub	r3, r3, #1
	str	r3, [fp, #-96]
	ldr	r0, .L9+20
	bl	printf
	b	.L5
.L6:
	ldr	r3, [fp, #-96]
	sub	r2, r3, #1
	str	r2, [fp, #-96]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-84]
	mov	r1, r3
	ldr	r0, .L9+24
	bl	printf
.L5:
	ldr	r3, [fp, #-96]
	cmp	r3, #0
	bge	.L6
	mov	r0, #10
	bl	putchar
	mov	r3, #0
	ldr	r2, .L9
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L8
	bl	__stack_chk_fail
.L8:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	.LC5
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	1717986919
	.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
