	.file	"155874.c"
	.intel_syntax noprefix
	.text
	.globl	a
	.bss
	.align 8
	.type	a, @object
	.size	a, 8
a:
	.zero	8
	.globl	q
	.align 8
	.type	q, @object
	.size	q, 8
q:
	.zero	8
	.globl	m
	.align 8
	.type	m, @object
	.size	m, 8
m:
	.zero	8
	.globl	mc
	.align 8
	.type	mc, @object
	.size	mc, 8
mc:
	.zero	8
	.globl	c
	.align 8
	.type	c, @object
	.size	c, 8
c:
	.zero	8
	.globl	n
	.align 4
	.type	n, @object
	.size	n, 4
n:
	.zero	4
	.globl	d
	.align 4
	.type	d, @object
	.size	d, 4
d:
	.zero	4
	.text
	.globl	powr
	.type	powr, @function
powr:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	DWORD PTR -8[rbp], 1
	mov	DWORD PTR -4[rbp], 0
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -8[rbp]
	imul	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR -8[rbp], eax
	add	DWORD PTR -4[rbp], 1
.L2:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -24[rbp]
	jl	.L3
	mov	eax, DWORD PTR -8[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	powr, .-powr
	.section	.rodata
.LC0:
	.string	"%d "
	.text
	.globl	print
	.type	print, @function
print:
.LFB1:
	.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 -28[rbp], esi
	mov	DWORD PTR -4[rbp], 0
	jmp	.L6
.L7:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
.L6:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L7
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	print, .-print
	.globl	bin
	.type	bin, @function
bin:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -8[rbp], 0
.L9:
	mov	eax, DWORD PTR -20[rbp]
	cdq
	shr	edx, 31
	add	eax, edx
	and	eax, 1
	sub	eax, edx
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -20[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -32[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR [rdx], eax
	add	DWORD PTR -8[rbp], 1
	cmp	DWORD PTR -20[rbp], 0
	jg	.L9
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	bin, .-bin
	.globl	set
	.type	set, @function
set:
.LFB3:
	.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	QWORD PTR -120[rbp], rdi
	mov	DWORD PTR -124[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -96[rbp], 0
	mov	QWORD PTR -88[rbp], 0
	mov	QWORD PTR -80[rbp], 0
	mov	QWORD PTR -72[rbp], 0
	mov	QWORD PTR -64[rbp], 0
	mov	QWORD PTR -56[rbp], 0
	mov	QWORD PTR -48[rbp], 0
	mov	QWORD PTR -40[rbp], 0
	mov	QWORD PTR -32[rbp], 0
	mov	QWORD PTR -24[rbp], 0
	mov	eax, DWORD PTR -124[rbp]
	sub	eax, 1
	mov	DWORD PTR -100[rbp], eax
	jmp	.L11
.L12:
	mov	eax, DWORD PTR -100[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -120[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -124[rbp]
	sub	eax, 1
	sub	eax, DWORD PTR -100[rbp]
	mov	edx, DWORD PTR [rdx]
	cdqe
	mov	DWORD PTR -96[rbp+rax*4], edx
	sub	DWORD PTR -100[rbp], 1
.L11:
	cmp	DWORD PTR -100[rbp], 0
	jns	.L12
	mov	DWORD PTR -100[rbp], 0
	jmp	.L13
.L14:
	mov	eax, DWORD PTR -100[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -120[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -100[rbp]
	cdqe
	mov	eax, DWORD PTR -96[rbp+rax*4]
	mov	DWORD PTR [rdx], eax
	add	DWORD PTR -100[rbp], 1
.L13:
	mov	eax, DWORD PTR -100[rbp]
	cmp	eax, DWORD PTR -124[rbp]
	jl	.L14
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L15
	call	__stack_chk_fail@PLT
.L15:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	set, .-set
	.globl	len
	.type	len, @function
len:
.LFB4:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 24
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -4[rbp], 0
	jmp	.L17
.L18:
	add	DWORD PTR -4[rbp], 1
.L17:
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	mov	edi, 2
	call	powr
	cmp	DWORD PTR -20[rbp], eax
	jge	.L18
	add	DWORD PTR -4[rbp], 1
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	len, .-len
	.globl	addBinary
	.type	addBinary, @function
addBinary:
.LFB5:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 144
	mov	QWORD PTR -136[rbp], rdi
	mov	QWORD PTR -144[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -104[rbp], 0
	mov	QWORD PTR -96[rbp], 0
	mov	QWORD PTR -88[rbp], 0
	mov	QWORD PTR -80[rbp], 0
	mov	QWORD PTR -72[rbp], 0
	mov	QWORD PTR -64[rbp], 0
	mov	QWORD PTR -56[rbp], 0
	mov	QWORD PTR -48[rbp], 0
	mov	QWORD PTR -40[rbp], 0
	mov	QWORD PTR -32[rbp], 0
	mov	QWORD PTR -24[rbp], 0
	mov	eax, DWORD PTR n[rip]
	mov	edi, eax
	call	len
	mov	DWORD PTR -120[rbp], eax
	mov	DWORD PTR -116[rbp], 0
	mov	eax, DWORD PTR n[rip]
	mov	edi, eax
	call	len
	cdqe
	sal	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -112[rbp], rax
	jmp	.L21
.L22:
	mov	eax, DWORD PTR -120[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -136[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -120[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -144[rbp]
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	add	edx, eax
	mov	eax, DWORD PTR -120[rbp]
	cdqe
	mov	eax, DWORD PTR -96[rbp+rax*4]
	add	eax, edx
	mov	DWORD PTR -116[rbp], eax
	lea	rdx, -104[rbp]
	mov	eax, DWORD PTR -116[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	bin
	mov	eax, DWORD PTR -120[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -112[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -104[rbp]
	mov	DWORD PTR [rdx], eax
	mov	eax, DWORD PTR -120[rbp]
	sub	eax, 1
	mov	edx, DWORD PTR -100[rbp]
	cdqe
	mov	DWORD PTR -96[rbp+rax*4], edx
	mov	DWORD PTR -104[rbp], 0
	mov	DWORD PTR -100[rbp], 0
.L21:
	mov	eax, DWORD PTR -120[rbp]
	lea	edx, -1[rax]
	mov	DWORD PTR -120[rbp], edx
	test	eax, eax
	jg	.L22
	mov	DWORD PTR -120[rbp], 0
	jmp	.L23
.L24:
	mov	eax, DWORD PTR -120[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -112[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -120[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	mov	rdx, QWORD PTR -136[rbp]
	add	rdx, rcx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR [rdx], eax
	add	DWORD PTR -120[rbp], 1
.L23:
	mov	eax, DWORD PTR n[rip]
	mov	edi, eax
	call	len
	cmp	DWORD PTR -120[rbp], eax
	jl	.L24
	mov	rax, QWORD PTR -112[rbp]
	mov	rdi, rax
	call	free@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L25
	call	__stack_chk_fail@PLT
.L25:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	addBinary, .-addBinary
	.globl	twoCom
	.type	twoCom, @function
twoCom:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	eax, DWORD PTR n[rip]
	mov	edi, eax
	call	len
	cdqe
	sal	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -12[rbp], 0
	jmp	.L27
.L28:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	DWORD PTR [rax], 0
	add	DWORD PTR -12[rbp], 1
.L27:
	mov	eax, DWORD PTR n[rip]
	mov	edi, eax
	call	len
	sub	eax, 1
	cmp	DWORD PTR -12[rbp], eax
	jl	.L28
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	DWORD PTR [rax], 1
	mov	DWORD PTR -12[rbp], 0
	jmp	.L29
.L30:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	ecx, DWORD PTR [rax]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	edx, 1
	sub	edx, ecx
	mov	DWORD PTR [rax], edx
	add	DWORD PTR -12[rbp], 1
.L29:
	mov	eax, DWORD PTR n[rip]
	mov	edi, eax
	call	len
	cmp	DWORD PTR -12[rbp], eax
	jl	.L30
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	addBinary
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	twoCom, .-twoCom
	.globl	ls
	.type	ls, @function
ls:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	DWORD PTR -4[rbp], 0
	mov	DWORD PTR -4[rbp], 0
	jmp	.L32
.L33:
	mov	rdx, QWORD PTR a[rip]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	add	rax, 1
	sal	rax, 2
	add	rax, rdx
	mov	rcx, QWORD PTR a[rip]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	sal	rdx, 2
	add	rdx, rcx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR [rdx], eax
	add	DWORD PTR -4[rbp], 1
.L32:
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, 1
	cmp	DWORD PTR -4[rbp], eax
	jl	.L33
	mov	rax, QWORD PTR q[rip]
	mov	rcx, QWORD PTR a[rip]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	sal	rdx, 2
	add	rdx, rcx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR [rdx], eax
	mov	DWORD PTR -4[rbp], 0
	jmp	.L34
.L35:
	mov	rdx, QWORD PTR q[rip]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	add	rax, 1
	sal	rax, 2
	add	rax, rdx
	mov	rcx, QWORD PTR q[rip]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	sal	rdx, 2
	add	rdx, rcx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR [rdx], eax
	add	DWORD PTR -4[rbp], 1
.L34:
	mov	eax, DWORD PTR -24[rbp]
	sub	eax, 1
	cmp	DWORD PTR -4[rbp], eax
	jl	.L35
	mov	rdx, QWORD PTR q[rip]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	DWORD PTR [rax], -1
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	ls, .-ls
	.globl	printaq
	.type	printaq, @function
printaq:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, DWORD PTR n[rip]
	mov	edi, eax
	call	len
	mov	edx, eax
	mov	rax, QWORD PTR a[rip]
	mov	esi, edx
	mov	rdi, rax
	call	print
	mov	edi, 9
	call	putchar@PLT
	mov	eax, DWORD PTR n[rip]
	mov	edi, eax
	call	len
	lea	edx, -1[rax]
	mov	rax, QWORD PTR q[rip]
	mov	esi, edx
	mov	rdi, rax
	call	print
	mov	edi, 9
	call	putchar@PLT
	mov	edi, 10
	call	putchar@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	printaq, .-printaq
	.section	.rodata
	.align 8
.LC1:
	.string	"Enter The Numerator/Denominator: "
.LC2:
	.string	"%d/%d"
.LC3:
	.string	"\t    A\t\t   Q\t\t    M\t    Count"
	.align 8
.LC4:
	.string	"\t---------\t-------\t\t--------- ---------"
.LC5:
	.string	"\t%d\n"
.LC6:
	.string	"LSHIFT\t"
.LC7:
	.string	"A=A+M\t"
.LC8:
	.string	"A=A-M\t"
	.text
	.globl	main
	.type	main, @function
main:
.LFB9:
	.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, 24
	.cfi_offset 3, -24
	mov	DWORD PTR -20[rbp], 0
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdx, d[rip]
	lea	rsi, n[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR n[rip]
	mov	edi, eax
	call	len
	cdqe
	sal	rax, 2
	sub	rax, 1
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR q[rip], rax
	mov	rdx, QWORD PTR q[rip]
	mov	eax, DWORD PTR n[rip]
	mov	rsi, rdx
	mov	edi, eax
	call	bin
	mov	eax, DWORD PTR n[rip]
	mov	edi, eax
	call	len
	cdqe
	sal	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR m[rip], rax
	mov	rdx, QWORD PTR m[rip]
	mov	eax, DWORD PTR d[rip]
	mov	rsi, rdx
	mov	edi, eax
	call	bin
	mov	eax, DWORD PTR n[rip]
	mov	edi, eax
	call	len
	cdqe
	sal	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR a[rip], rax
	mov	DWORD PTR -24[rbp], 0
	jmp	.L38
.L39:
	mov	rdx, QWORD PTR a[rip]
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	DWORD PTR [rax], 0
	add	DWORD PTR -24[rbp], 1
.L38:
	mov	eax, DWORD PTR n[rip]
	mov	edi, eax
	call	len
	cmp	DWORD PTR -24[rbp], eax
	jl	.L39
	mov	eax, DWORD PTR n[rip]
	mov	edi, eax
	call	len
	cdqe
	sal	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR mc[rip], rax
	mov	rdx, QWORD PTR mc[rip]
	mov	eax, DWORD PTR d[rip]
	mov	rsi, rdx
	mov	edi, eax
	call	bin
	mov	eax, DWORD PTR n[rip]
	mov	edi, eax
	call	len
	lea	edx, -1[rax]
	mov	rax, QWORD PTR q[rip]
	mov	esi, edx
	mov	rdi, rax
	call	set
	mov	eax, DWORD PTR n[rip]
	mov	edi, eax
	call	len
	mov	edx, eax
	mov	rax, QWORD PTR m[rip]
	mov	esi, edx
	mov	rdi, rax
	call	set
	mov	eax, DWORD PTR n[rip]
	mov	edi, eax
	call	len
	mov	edx, eax
	mov	rax, QWORD PTR mc[rip]
	mov	esi, edx
	mov	rdi, rax
	call	set
	mov	rax, QWORD PTR mc[rip]
	mov	rdi, rax
	call	twoCom
	mov	eax, DWORD PTR n[rip]
	mov	edi, eax
	call	len
	sub	eax, 1
	mov	DWORD PTR -20[rbp], eax
	lea	rdi, .LC3[rip]
	call	puts@PLT
	lea	rdi, .LC4[rip]
	call	puts@PLT
	jmp	.L40
.L45:
	mov	edi, 9
	call	putchar@PLT
	mov	eax, DWORD PTR n[rip]
	mov	edi, eax
	call	len
	mov	edx, eax
	mov	rax, QWORD PTR a[rip]
	mov	esi, edx
	mov	rdi, rax
	call	print
	mov	edi, 9
	call	putchar@PLT
	mov	eax, DWORD PTR n[rip]
	mov	edi, eax
	call	len
	lea	edx, -1[rax]
	mov	rax, QWORD PTR q[rip]
	mov	esi, edx
	mov	rdi, rax
	call	print
	mov	edi, 9
	call	putchar@PLT
	mov	eax, DWORD PTR n[rip]
	mov	edi, eax
	call	len
	mov	edx, eax
	mov	rax, QWORD PTR m[rip]
	mov	esi, edx
	mov	rdi, rax
	call	print
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR a[rip]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 1
	jne	.L41
	mov	eax, DWORD PTR n[rip]
	mov	edi, eax
	call	len
	lea	ebx, -1[rax]
	mov	eax, DWORD PTR n[rip]
	mov	edi, eax
	call	len
	mov	esi, ebx
	mov	edi, eax
	call	ls
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	call	printaq
	mov	rdx, QWORD PTR m[rip]
	mov	rax, QWORD PTR a[rip]
	mov	rsi, rdx
	mov	rdi, rax
	call	addBinary
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	call	printaq
	jmp	.L42
.L41:
	mov	eax, DWORD PTR n[rip]
	mov	edi, eax
	call	len
	lea	ebx, -1[rax]
	mov	eax, DWORD PTR n[rip]
	mov	edi, eax
	call	len
	mov	esi, ebx
	mov	edi, eax
	call	ls
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	call	printaq
	mov	rdx, QWORD PTR mc[rip]
	mov	rax, QWORD PTR a[rip]
	mov	rsi, rdx
	mov	rdi, rax
	call	addBinary
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	call	printaq
.L42:
	mov	rax, QWORD PTR a[rip]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 1
	jne	.L43
	mov	rbx, QWORD PTR q[rip]
	mov	eax, DWORD PTR n[rip]
	mov	edi, eax
	call	len
	cdqe
	sal	rax, 2
	sub	rax, 8
	add	rax, rbx
	mov	DWORD PTR [rax], 0
	mov	rdx, QWORD PTR m[rip]
	mov	rax, QWORD PTR a[rip]
	mov	rsi, rdx
	mov	rdi, rax
	call	addBinary
	jmp	.L44
.L43:
	mov	rbx, QWORD PTR q[rip]
	mov	eax, DWORD PTR n[rip]
	mov	edi, eax
	call	len
	cdqe
	sal	rax, 2
	sub	rax, 8
	add	rax, rbx
	mov	DWORD PTR [rax], 1
.L44:
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	call	printaq
	sub	DWORD PTR -20[rbp], 1
	mov	edi, 10
	call	putchar@PLT
.L40:
	cmp	DWORD PTR -20[rbp], 0
	jg	.L45
	mov	eax, 0
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.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	"155874.c"
	.text
	.comm	a,4,4
	.comm	q,4,4
	.comm	m,4,4
	.comm	mc,4,4
	.comm	c,4,4
	.comm	n,4,4
	.comm	d,4,4
	.align	2
	.global	powr
	.syntax unified
	.arm
	.fpu softvfp
	.type	powr, %function
powr:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r3, #1
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L2
.L3:
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-16]
	mul	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L2:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L3
	ldr	r3, [fp, #-12]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	powr, .-powr
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d \000"
	.text
	.align	2
	.global	print
	.syntax unified
	.arm
	.fpu softvfp
	.type	print, %function
print:
	@ 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]
	b	.L6
.L7:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L8
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L6:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L7
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L9:
	.align	2
.L8:
	.word	.LC0
	.size	print, .-print
	.align	2
	.global	bin
	.syntax unified
	.arm
	.fpu softvfp
	.type	bin, %function
bin:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-12]
.L11:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	and	r3, r3, #1
	rsblt	r3, r3, #0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r2, [fp, #-8]
	str	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bgt	.L11
	nop
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	bin, .-bin
	.section	.rodata
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	set
	.syntax unified
	.arm
	.fpu softvfp
	.type	set, %function
set:
	@ args = 0, pretend = 0, frame = 96
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #96
	str	r0, [fp, #-96]
	str	r1, [fp, #-100]
	ldr	r3, .L18
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #88
	mov	r2, #80
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r3, [fp, #-100]
	sub	r3, r3, #1
	str	r3, [fp, #-92]
	b	.L13
.L14:
	ldr	r3, [fp, #-92]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-96]
	add	r2, r2, r3
	ldr	r3, [fp, #-100]
	sub	r1, r3, #1
	ldr	r3, [fp, #-92]
	sub	r3, r1, r3
	ldr	r2, [r2]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-84]
	ldr	r3, [fp, #-92]
	sub	r3, r3, #1
	str	r3, [fp, #-92]
.L13:
	ldr	r3, [fp, #-92]
	cmp	r3, #0
	bge	.L14
	mov	r3, #0
	str	r3, [fp, #-92]
	b	.L15
.L16:
	ldr	r3, [fp, #-92]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-96]
	add	r2, r2, r3
	ldr	r3, [fp, #-92]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r3, [r3, #-84]
	str	r3, [r2]
	ldr	r3, [fp, #-92]
	add	r3, r3, #1
	str	r3, [fp, #-92]
.L15:
	ldr	r2, [fp, #-92]
	ldr	r3, [fp, #-100]
	cmp	r2, r3
	blt	.L16
	nop
	ldr	r3, .L18
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L17
	bl	__stack_chk_fail
.L17:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L19:
	.align	2
.L18:
	.word	.LC1
	.size	set, .-set
	.align	2
	.global	len
	.syntax unified
	.arm
	.fpu softvfp
	.type	len, %function
len:
	@ 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]
	b	.L21
.L22:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L21:
	ldr	r1, [fp, #-8]
	mov	r0, #2
	bl	powr
	mov	r2, r0
	ldr	r3, [fp, #-16]
	cmp	r3, r2
	bge	.L22
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	len, .-len
	.section	.rodata
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	addBinary
	.syntax unified
	.arm
	.fpu softvfp
	.type	addBinary, %function
addBinary:
	@ args = 0, pretend = 0, frame = 112
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #112
	str	r0, [fp, #-112]
	str	r1, [fp, #-116]
	ldr	r3, .L30
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #96
	mov	r2, #0
	str	r2, [r3]
	str	r2, [r3, #4]
	sub	r3, fp, #88
	mov	r2, #80
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r3, .L30+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	len
	str	r0, [fp, #-108]
	mov	r3, #0
	str	r3, [fp, #-104]
	ldr	r3, .L30+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	len
	mov	r3, r0
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-100]
	b	.L25
.L26:
	ldr	r3, [fp, #-108]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-112]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-108]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-116]
	add	r3, r1, r3
	ldr	r3, [r3]
	add	r2, r2, r3
	ldr	r3, [fp, #-108]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r3, [r3, #-84]
	add	r3, r2, r3
	str	r3, [fp, #-104]
	sub	r3, fp, #96
	mov	r1, r3
	ldr	r0, [fp, #-104]
	bl	bin
	ldr	r3, [fp, #-108]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-100]
	add	r3, r2, r3
	ldr	r2, [fp, #-96]
	str	r2, [r3]
	ldr	r3, [fp, #-108]
	sub	r3, r3, #1
	ldr	r2, [fp, #-92]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-84]
	mov	r3, #0
	str	r3, [fp, #-96]
	mov	r3, #0
	str	r3, [fp, #-92]
.L25:
	ldr	r3, [fp, #-108]
	sub	r2, r3, #1
	str	r2, [fp, #-108]
	cmp	r3, #0
	bgt	.L26
	mov	r3, #0
	str	r3, [fp, #-108]
	b	.L27
.L28:
	ldr	r3, [fp, #-108]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-100]
	add	r2, r2, r3
	ldr	r3, [fp, #-108]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-112]
	add	r3, r1, r3
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r3, [fp, #-108]
	add	r3, r3, #1
	str	r3, [fp, #-108]
.L27:
	ldr	r3, .L30+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	len
	mov	r2, r0
	ldr	r3, [fp, #-108]
	cmp	r3, r2
	blt	.L28
	ldr	r0, [fp, #-100]
	bl	free
	nop
	ldr	r3, .L30
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L29
	bl	__stack_chk_fail
.L29:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L31:
	.align	2
.L30:
	.word	.LC2
	.word	n
	.size	addBinary, .-addBinary
	.align	2
	.global	twoCom
	.syntax unified
	.arm
	.fpu softvfp
	.type	twoCom, %function
twoCom:
	@ 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]
	ldr	r3, .L37
	ldr	r3, [r3]
	mov	r0, r3
	bl	len
	mov	r3, r0
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L33
.L34:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L33:
	ldr	r3, .L37
	ldr	r3, [r3]
	mov	r0, r3
	bl	len
	mov	r3, r0
	sub	r3, r3, #1
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L34
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	mov	r2, #1
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L35
.L36:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-16]
	add	r3, r1, r3
	rsb	r2, r2, #1
	str	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L35:
	ldr	r3, .L37
	ldr	r3, [r3]
	mov	r0, r3
	bl	len
	mov	r2, r0
	ldr	r3, [fp, #-12]
	cmp	r3, r2
	blt	.L36
	ldr	r1, [fp, #-8]
	ldr	r0, [fp, #-16]
	bl	addBinary
	ldr	r0, [fp, #-8]
	bl	free
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L38:
	.align	2
.L37:
	.word	n
	.size	twoCom, .-twoCom
	.align	2
	.global	ls
	.syntax unified
	.arm
	.fpu softvfp
	.type	ls, %function
ls:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L40
.L41:
	ldr	r3, .L44
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	lsl	r3, r3, #2
	add	r2, r2, r3
	ldr	r3, .L44
	ldr	r1, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L40:
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L41
	ldr	r3, .L44+4
	ldr	r2, [r3]
	ldr	r3, .L44
	ldr	r1, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r2, [r2]
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L42
.L43:
	ldr	r3, .L44+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	lsl	r3, r3, #2
	add	r2, r2, r3
	ldr	r3, .L44+4
	ldr	r1, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L42:
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L43
	ldr	r3, .L44+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mvn	r2, #0
	str	r2, [r3]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L45:
	.align	2
.L44:
	.word	a
	.word	q
	.size	ls, .-ls
	.align	2
	.global	printaq
	.syntax unified
	.arm
	.fpu softvfp
	.type	printaq, %function
printaq:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	ldr	r3, .L47
	ldr	r4, [r3]
	ldr	r3, .L47+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	len
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	print
	mov	r0, #9
	bl	putchar
	ldr	r3, .L47+8
	ldr	r4, [r3]
	ldr	r3, .L47+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	len
	mov	r3, r0
	sub	r3, r3, #1
	mov	r1, r3
	mov	r0, r4
	bl	print
	mov	r0, #9
	bl	putchar
	mov	r0, #10
	bl	putchar
	nop
	pop	{r4, r5, fp, pc}
.L48:
	.align	2
.L47:
	.word	a
	.word	n
	.word	q
	.size	printaq, .-printaq
	.section	.rodata
	.align	2
.LC3:
	.ascii	"Enter The Numerator/Denominator: \000"
	.align	2
.LC4:
	.ascii	"%d/%d\000"
	.align	2
.LC5:
	.ascii	"\011    A\011\011   Q\011\011    M\011    Count\000"
	.align	2
.LC6:
	.ascii	"\011---------\011-------\011\011--------- ---------"
	.ascii	"\000"
	.align	2
.LC7:
	.ascii	"\011%d\012\000"
	.align	2
.LC8:
	.ascii	"LSHIFT\011\000"
	.align	2
.LC9:
	.ascii	"A=A+M\011\000"
	.align	2
.LC10:
	.ascii	"A=A-M\011\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #12
	mov	r3, #0
	str	r3, [fp, #-16]
	ldr	r0, .L59
	bl	printf
	ldr	r2, .L59+4
	ldr	r1, .L59+8
	ldr	r0, .L59+12
	bl	__isoc99_scanf
	ldr	r3, .L59+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	len
	mov	r3, r0
	lsl	r3, r3, #2
	sub	r3, r3, #1
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L59+16
	str	r2, [r3]
	ldr	r3, .L59+8
	ldr	r3, [r3]
	ldr	r2, .L59+16
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	bin
	ldr	r3, .L59+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	len
	mov	r3, r0
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L59+20
	str	r2, [r3]
	ldr	r3, .L59+4
	ldr	r3, [r3]
	ldr	r2, .L59+20
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	bin
	ldr	r3, .L59+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	len
	mov	r3, r0
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L59+24
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L50
.L51:
	ldr	r3, .L59+24
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L50:
	ldr	r3, .L59+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	len
	mov	r2, r0
	ldr	r3, [fp, #-20]
	cmp	r3, r2
	blt	.L51
	ldr	r3, .L59+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	len
	mov	r3, r0
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L59+28
	str	r2, [r3]
	ldr	r3, .L59+4
	ldr	r3, [r3]
	ldr	r2, .L59+28
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	bin
	ldr	r3, .L59+16
	ldr	r4, [r3]
	ldr	r3, .L59+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	len
	mov	r3, r0
	sub	r3, r3, #1
	mov	r1, r3
	mov	r0, r4
	bl	set
	ldr	r3, .L59+20
	ldr	r4, [r3]
	ldr	r3, .L59+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	len
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	set
	ldr	r3, .L59+28
	ldr	r4, [r3]
	ldr	r3, .L59+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	len
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	set
	ldr	r3, .L59+28
	ldr	r3, [r3]
	mov	r0, r3
	bl	twoCom
	ldr	r3, .L59+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	len
	mov	r3, r0
	sub	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r0, .L59+32
	bl	puts
	ldr	r0, .L59+36
	bl	puts
	b	.L52
.L57:
	mov	r0, #9
	bl	putchar
	ldr	r3, .L59+24
	ldr	r4, [r3]
	ldr	r3, .L59+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	len
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	print
	mov	r0, #9
	bl	putchar
	ldr	r3, .L59+16
	ldr	r4, [r3]
	ldr	r3, .L59+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	len
	mov	r3, r0
	sub	r3, r3, #1
	mov	r1, r3
	mov	r0, r4
	bl	print
	mov	r0, #9
	bl	putchar
	ldr	r3, .L59+20
	ldr	r4, [r3]
	ldr	r3, .L59+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	len
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	print
	ldr	r1, [fp, #-16]
	ldr	r0, .L59+40
	bl	printf
	ldr	r3, .L59+24
	ldr	r3, [r3]
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L53
	ldr	r3, .L59+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	len
	mov	r4, r0
	ldr	r3, .L59+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	len
	mov	r3, r0
	sub	r3, r3, #1
	mov	r1, r3
	mov	r0, r4
	bl	ls
	ldr	r0, .L59+44
	bl	printf
	bl	printaq
	ldr	r3, .L59+24
	ldr	r3, [r3]
	ldr	r2, .L59+20
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	addBinary
	ldr	r0, .L59+48
	bl	printf
	bl	printaq
	b	.L54
.L53:
	ldr	r3, .L59+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	len
	mov	r4, r0
	ldr	r3, .L59+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	len
	mov	r3, r0
	sub	r3, r3, #1
	mov	r1, r3
	mov	r0, r4
	bl	ls
	ldr	r0, .L59+44
	bl	printf
	bl	printaq
	ldr	r3, .L59+24
	ldr	r3, [r3]
	ldr	r2, .L59+28
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	addBinary
	ldr	r0, .L59+52
	bl	printf
	bl	printaq
.L54:
	ldr	r3, .L59+24
	ldr	r3, [r3]
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L55
	ldr	r3, .L59+16
	ldr	r4, [r3]
	ldr	r3, .L59+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	len
	mov	r3, r0
	sub	r3, r3, #-1073741822
	lsl	r3, r3, #2
	add	r3, r4, r3
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L59+24
	ldr	r3, [r3]
	ldr	r2, .L59+20
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	addBinary
	b	.L56
.L55:
	ldr	r3, .L59+16
	ldr	r4, [r3]
	ldr	r3, .L59+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	len
	mov	r3, r0
	sub	r3, r3, #-1073741822
	lsl	r3, r3, #2
	add	r3, r4, r3
	mov	r2, #1
	str	r2, [r3]
.L56:
	ldr	r0, .L59+48
	bl	printf
	bl	printaq
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	str	r3, [fp, #-16]
	mov	r0, #10
	bl	putchar
.L52:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bgt	.L57
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L60:
	.align	2
.L59:
	.word	.LC3
	.word	d
	.word	n
	.word	.LC4
	.word	q
	.word	m
	.word	a
	.word	mc
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
