	.file	"894758.c"
	.intel_syntax noprefix
	.text
	.globl	prod_array_i
	.type	prod_array_i, @function
prod_array_i:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -8[rbp], 1
	mov	DWORD PTR -4[rbp], 0
	jmp	.L2
.L3:
	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	edx, DWORD PTR -8[rbp]
	imul	eax, edx
	mov	DWORD PTR -8[rbp], eax
	add	DWORD PTR -4[rbp], 1
.L2:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L3
	mov	eax, DWORD PTR -8[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	prod_array_i, .-prod_array_i
	.globl	sum_array_i
	.type	sum_array_i, @function
sum_array_i:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -8[rbp], 0
	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]
	add	DWORD PTR -8[rbp], eax
	add	DWORD PTR -4[rbp], 1
.L6:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L7
	mov	eax, DWORD PTR -8[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	sum_array_i, .-sum_array_i
	.globl	array_cmp_i
	.type	array_cmp_i, @function
array_cmp_i:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -36[rbp], edx
	mov	WORD PTR -6[rbp], 1
	mov	DWORD PTR -4[rbp], 0
	jmp	.L10
.L12:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	je	.L11
	mov	WORD PTR -6[rbp], 0
.L11:
	add	DWORD PTR -4[rbp], 1
.L10:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jl	.L12
	movzx	eax, WORD PTR -6[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	array_cmp_i, .-array_cmp_i
	.globl	init_crt
	.type	init_crt, @function
init_crt:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	QWORD PTR -40[rbp], rdi
	mov	DWORD PTR -44[rbp], esi
	mov	QWORD PTR -56[rbp], rdx
	mov	QWORD PTR -64[rbp], rcx
	mov	DWORD PTR -48[rbp], r8d
	mov	eax, DWORD PTR -44[rbp]
	mov	DWORD PTR -32[rbp], eax
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -64[rbp]
	mov	QWORD PTR -16[rbp], rax
	cmp	DWORD PTR -48[rbp], 0
	jne	.L15
	mov	edx, DWORD PTR -32[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	prod_array_i
	mov	DWORD PTR -8[rbp], eax
	jmp	.L16
.L15:
	mov	eax, DWORD PTR -48[rbp]
	mov	DWORD PTR -8[rbp], eax
.L16:
	mov	rcx, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR [rcx], rax
	mov	QWORD PTR 8[rcx], rdx
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 16[rcx], rax
	mov	QWORD PTR 24[rcx], rdx
	mov	rax, QWORD PTR -40[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	init_crt, .-init_crt
	.globl	init_crt_from_int
	.type	init_crt_from_int, @function
init_crt_from_int:
.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, 96
	mov	QWORD PTR -72[rbp], rdi
	mov	DWORD PTR -76[rbp], esi
	mov	DWORD PTR -80[rbp], edx
	mov	QWORD PTR -88[rbp], rcx
	mov	DWORD PTR -92[rbp], r8d
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	sal	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -56[rbp], rax
	mov	DWORD PTR -60[rbp], 0
	jmp	.L19
.L20:
	mov	eax, DWORD PTR -60[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rdx
	mov	esi, DWORD PTR [rax]
	mov	eax, DWORD PTR -60[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -56[rbp]
	lea	rcx, [rdx+rax]
	mov	eax, DWORD PTR -80[rbp]
	cdq
	idiv	esi
	mov	eax, edx
	mov	DWORD PTR [rcx], eax
	add	DWORD PTR -60[rbp], 1
.L19:
	mov	eax, DWORD PTR -60[rbp]
	cmp	eax, DWORD PTR -76[rbp]
	jl	.L20
	lea	rax, -48[rbp]
	mov	edi, DWORD PTR -92[rbp]
	mov	rcx, QWORD PTR -88[rbp]
	mov	rdx, QWORD PTR -56[rbp]
	mov	esi, DWORD PTR -76[rbp]
	mov	r8d, edi
	mov	rdi, rax
	call	init_crt
	mov	rcx, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	mov	QWORD PTR [rcx], rax
	mov	QWORD PTR 8[rcx], rdx
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR 16[rcx], rax
	mov	QWORD PTR 24[rcx], rdx
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L22
	call	__stack_chk_fail@PLT
.L22:
	mov	rax, QWORD PTR -72[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	init_crt_from_int, .-init_crt_from_int
	.section	.rodata
	.align 8
.LC1:
	.string	"\nChina residuals theorem problem:"
.LC2:
	.string	"x = %4d{%d}\n"
.LC3:
	.string	"Find x "
	.text
	.globl	print_crt_problem
	.type	print_crt_problem, @function
print_crt_problem:
.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, 16
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	DWORD PTR -4[rbp], 0
	jmp	.L24
.L25:
	mov	rdx, QWORD PTR 32[rbp]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	rcx, QWORD PTR 24[rbp]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 2
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
.L24:
	mov	eax, DWORD PTR 16[rbp]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L25
	lea	rdi, .LC3[rip]
	call	puts@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	print_crt_problem, .-print_crt_problem
	.section	.rodata
.LC4:
	.string	"\n$$\n\\left\\{\n\\begin{matrix} "
.LC5:
	.string	"x = %4d\\{%d\\}\\\\\n"
.LC6:
	.string	"x = %4d\\{%d\\}\n"
.LC7:
	.string	"\\end{matrix}\n\\right.\n$$"
	.text
	.globl	print_crt_problem_latex
	.type	print_crt_problem_latex, @function
print_crt_problem_latex:
.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, 16
	lea	rdi, .LC4[rip]
	call	puts@PLT
	mov	DWORD PTR -4[rbp], 0
	jmp	.L27
.L28:
	mov	rdx, QWORD PTR 32[rbp]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	rcx, QWORD PTR 24[rbp]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 2
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
.L27:
	mov	eax, DWORD PTR 16[rbp]
	sub	eax, 1
	cmp	DWORD PTR -4[rbp], eax
	jl	.L28
	mov	rdx, QWORD PTR 32[rbp]
	mov	eax, DWORD PTR 16[rbp]
	cdqe
	sal	rax, 2
	sub	rax, 4
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	rcx, QWORD PTR 24[rbp]
	mov	eax, DWORD PTR 16[rbp]
	cdqe
	sal	rax, 2
	sub	rax, 4
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC7[rip]
	call	puts@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	print_crt_problem_latex, .-print_crt_problem_latex
	.section	.rodata
.LC8:
	.string	"Number vector = (%d"
.LC9:
	.string	", %d"
.LC10:
	.string	"), modules vector = (%d"
.LC11:
	.string	")"
	.text
	.globl	print_crt_number
	.type	print_crt_number, @function
print_crt_number:
.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, 16
	mov	rax, QWORD PTR 24[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -4[rbp], 1
	jmp	.L30
.L31:
	mov	rdx, QWORD PTR 24[rbp]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
.L30:
	mov	eax, DWORD PTR 16[rbp]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L31
	mov	rax, QWORD PTR 32[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -4[rbp], 1
	jmp	.L32
.L33:
	mov	rdx, QWORD PTR 32[rbp]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
.L32:
	mov	eax, DWORD PTR 16[rbp]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L33
	lea	rdi, .LC11[rip]
	call	puts@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	print_crt_number, .-print_crt_number
	.globl	sum_crt_numbers
	.type	sum_crt_numbers, @function
sum_crt_numbers:
.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, 64
	mov	QWORD PTR -56[rbp], rdi
	mov	eax, DWORD PTR 16[rbp]
	mov	DWORD PTR -32[rbp], eax
	mov	rax, QWORD PTR 32[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	eax, DWORD PTR 40[rbp]
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	sal	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -40[rbp], rax
	mov	DWORD PTR -44[rbp], 0
	jmp	.L35
.L36:
	mov	rdx, QWORD PTR 24[rbp]
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	rcx, QWORD PTR 56[rbp]
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	sal	rax, 2
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	add	eax, edx
	mov	rcx, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR -44[rbp]
	movsx	rdx, edx
	sal	rdx, 2
	add	rdx, rcx
	mov	esi, DWORD PTR [rdx]
	mov	edx, DWORD PTR -44[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	mov	rdx, QWORD PTR -40[rbp]
	add	rcx, rdx
	cdq
	idiv	esi
	mov	eax, edx
	mov	DWORD PTR [rcx], eax
	add	DWORD PTR -44[rbp], 1
.L35:
	mov	eax, DWORD PTR -32[rbp]
	cmp	DWORD PTR -44[rbp], eax
	jl	.L36
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR -24[rbp], rax
	mov	rcx, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR [rcx], rax
	mov	QWORD PTR 8[rcx], rdx
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 16[rcx], rax
	mov	QWORD PTR 24[rcx], rdx
	mov	rax, QWORD PTR -56[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	sum_crt_numbers, .-sum_crt_numbers
	.globl	prod_crt_numbers
	.type	prod_crt_numbers, @function
prod_crt_numbers:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	QWORD PTR -56[rbp], rdi
	mov	eax, DWORD PTR 16[rbp]
	mov	DWORD PTR -32[rbp], eax
	mov	rax, QWORD PTR 32[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	eax, DWORD PTR 40[rbp]
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	sal	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -40[rbp], rax
	mov	DWORD PTR -44[rbp], 0
	jmp	.L39
.L40:
	mov	rdx, QWORD PTR 24[rbp]
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	rcx, QWORD PTR 56[rbp]
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	sal	rax, 2
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	imul	eax, edx
	mov	rcx, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR -44[rbp]
	movsx	rdx, edx
	sal	rdx, 2
	add	rdx, rcx
	mov	esi, DWORD PTR [rdx]
	mov	edx, DWORD PTR -44[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	mov	rdx, QWORD PTR -40[rbp]
	add	rcx, rdx
	cdq
	idiv	esi
	mov	eax, edx
	mov	DWORD PTR [rcx], eax
	add	DWORD PTR -44[rbp], 1
.L39:
	mov	eax, DWORD PTR -32[rbp]
	cmp	DWORD PTR -44[rbp], eax
	jl	.L40
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR -24[rbp], rax
	mov	rcx, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR [rcx], rax
	mov	QWORD PTR 8[rcx], rdx
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 16[rcx], rax
	mov	QWORD PTR 24[rcx], rdx
	mov	rax, QWORD PTR -56[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	prod_crt_numbers, .-prod_crt_numbers
	.globl	inverse_residual
	.type	inverse_residual, @function
inverse_residual:
.LFB10:
	.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], 1
	mov	DWORD PTR -4[rbp], 1
	jmp	.L43
.L47:
	mov	eax, DWORD PTR -20[rbp]
	imul	eax, DWORD PTR -4[rbp]
	cdq
	idiv	DWORD PTR -24[rbp]
	mov	eax, edx
	cmp	eax, 1
	jne	.L44
	mov	eax, DWORD PTR -4[rbp]
	jmp	.L42
.L44:
	mov	eax, DWORD PTR -20[rbp]
	imul	eax, DWORD PTR -4[rbp]
	cdq
	idiv	DWORD PTR -24[rbp]
	mov	eax, edx
	test	eax, eax
	jne	.L46
	mov	eax, 0
	jmp	.L42
.L46:
	add	DWORD PTR -4[rbp], 1
.L43:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -24[rbp]
	jl	.L47
.L42:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	inverse_residual, .-inverse_residual
	.globl	solve_china_resid
	.type	solve_china_resid, @function
solve_china_resid:
.LFB11:
	.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, 40
	.cfi_offset 3, -24
	mov	DWORD PTR -40[rbp], 0
	mov	eax, DWORD PTR 16[rbp]
	cdqe
	sal	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -32[rbp], rax
	mov	eax, DWORD PTR 16[rbp]
	cdqe
	sal	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -24[rbp], rax
	mov	DWORD PTR -36[rbp], 0
	jmp	.L49
.L50:
	mov	eax, DWORD PTR 40[rbp]
	mov	rcx, QWORD PTR 32[rbp]
	mov	edx, DWORD PTR -36[rbp]
	movsx	rdx, edx
	sal	rdx, 2
	add	rdx, rcx
	mov	ebx, DWORD PTR [rdx]
	mov	ecx, DWORD PTR -36[rbp]
	movsx	rcx, ecx
	lea	rsi, 0[0+rcx*4]
	mov	rcx, QWORD PTR -32[rbp]
	add	rcx, rsi
	cdq
	idiv	ebx
	mov	DWORD PTR [rcx], eax
	mov	rdx, QWORD PTR 32[rbp]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	ecx, DWORD PTR [rax]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	rsi, QWORD PTR 32[rbp]
	mov	edx, DWORD PTR -36[rbp]
	movsx	rdx, edx
	sal	rdx, 2
	add	rdx, rsi
	mov	esi, DWORD PTR [rdx]
	cdq
	idiv	esi
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rsi, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	lea	rbx, [rsi+rax]
	mov	esi, ecx
	mov	edi, edx
	call	inverse_residual
	mov	DWORD PTR [rbx], eax
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	imul	edx, eax
	mov	rcx, QWORD PTR 24[rbp]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	sal	rax, 2
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	imul	eax, edx
	mov	ecx, DWORD PTR 40[rbp]
	cdq
	idiv	ecx
	mov	eax, edx
	add	DWORD PTR -40[rbp], eax
	add	DWORD PTR -36[rbp], 1
.L49:
	mov	eax, DWORD PTR 16[rbp]
	cmp	DWORD PTR -36[rbp], eax
	jl	.L50
	mov	ecx, DWORD PTR 40[rbp]
	mov	eax, DWORD PTR -40[rbp]
	cdq
	idiv	ecx
	mov	eax, edx
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	solve_china_resid, .-solve_china_resid
	.section	.rodata
.LC12:
	.string	"inverse of %d{%d} is %d{%d}\n"
	.text
	.globl	example_prog1
	.type	example_prog1, @function
example_prog1:
.LFB12:
	.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, 88
	.cfi_offset 3, -24
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -84[rbp], 5
	mov	DWORD PTR -80[rbp], 5
	mov	DWORD PTR -76[rbp], 7
	mov	DWORD PTR -72[rbp], 9
	mov	DWORD PTR -68[rbp], 11
	mov	DWORD PTR -64[rbp], 13
	mov	DWORD PTR -48[rbp], 7
	mov	DWORD PTR -44[rbp], 9
	mov	DWORD PTR -40[rbp], 11
	mov	DWORD PTR -36[rbp], 13
	mov	DWORD PTR -32[rbp], 17
	mov	DWORD PTR -88[rbp], 0
	jmp	.L53
.L54:
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	mov	ebx, DWORD PTR -48[rbp+rax*4]
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	mov	edx, DWORD PTR -48[rbp+rax*4]
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	mov	eax, DWORD PTR -80[rbp+rax*4]
	mov	esi, edx
	mov	edi, eax
	call	inverse_residual
	mov	ecx, eax
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	mov	edx, DWORD PTR -48[rbp+rax*4]
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	mov	eax, DWORD PTR -80[rbp+rax*4]
	mov	r8d, ebx
	mov	esi, eax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -88[rbp], 1
.L53:
	mov	eax, DWORD PTR -88[rbp]
	cmp	eax, DWORD PTR -84[rbp]
	jl	.L54
	mov	eax, 0
	mov	rsi, QWORD PTR -24[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L56
	call	__stack_chk_fail@PLT
.L56:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	example_prog1, .-example_prog1
	.section	.rodata
.LC13:
	.string	"%d\n"
	.text
	.globl	example_prog2
	.type	example_prog2, @function
example_prog2:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 112
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -100[rbp], 5
	mov	DWORD PTR -64[rbp], 5
	mov	DWORD PTR -60[rbp], 7
	mov	DWORD PTR -56[rbp], 9
	mov	DWORD PTR -52[rbp], 11
	mov	DWORD PTR -48[rbp], 13
	mov	DWORD PTR -32[rbp], 7
	mov	DWORD PTR -28[rbp], 9
	mov	DWORD PTR -24[rbp], 11
	mov	DWORD PTR -20[rbp], 13
	mov	DWORD PTR -16[rbp], 17
	lea	rax, -96[rbp]
	lea	rcx, -32[rbp]
	lea	rdx, -64[rbp]
	mov	esi, DWORD PTR -100[rbp]
	mov	r8d, 0
	mov	rdi, rax
	call	init_crt
	push	QWORD PTR -72[rbp]
	push	QWORD PTR -80[rbp]
	push	QWORD PTR -88[rbp]
	push	QWORD PTR -96[rbp]
	call	print_crt_problem
	add	rsp, 32
	push	QWORD PTR -72[rbp]
	push	QWORD PTR -80[rbp]
	push	QWORD PTR -88[rbp]
	push	QWORD PTR -96[rbp]
	call	print_crt_number
	add	rsp, 32
	push	QWORD PTR -72[rbp]
	push	QWORD PTR -80[rbp]
	push	QWORD PTR -88[rbp]
	push	QWORD PTR -96[rbp]
	call	solve_china_resid
	add	rsp, 32
	mov	esi, eax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	mov	rdi, QWORD PTR -8[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L59
	call	__stack_chk_fail@PLT
.L59:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	example_prog2, .-example_prog2
	.section	.rodata
.LC14:
	.string	"Modules system is: n = (%d"
	.align 8
.LC15:
	.string	")\nNumbers is\n A = %d \n B = %d \n C = %d \n"
	.align 8
.LC16:
	.string	"\nIn residuals of modular arifmetics numbers A, B, C is:"
.LC17:
	.string	"\nA + B = Acrt + B_crt"
.LC18:
	.string	"A + C = Acrt + C_crt"
.LC19:
	.string	"B + C = Ccrt + B_crt"
.LC20:
	.string	"A * B = A_crt * B_crt"
.LC21:
	.string	"A * C = A_crt * C_crt"
.LC22:
	.string	"B * C = B_crt * C_crt"
	.text
	.globl	example_prog3
	.type	example_prog3, @function
example_prog3:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 352
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -340[rbp], 4
	mov	DWORD PTR -32[rbp], 12
	mov	DWORD PTR -28[rbp], 7
	mov	DWORD PTR -24[rbp], 17
	mov	DWORD PTR -20[rbp], 5
	mov	edx, DWORD PTR -340[rbp]
	lea	rax, -32[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	prod_array_i
	mov	DWORD PTR -336[rbp], eax
	mov	DWORD PTR -332[rbp], 131
	mov	DWORD PTR -328[rbp], 15
	mov	DWORD PTR -324[rbp], 46
	mov	eax, DWORD PTR -32[rbp]
	mov	esi, eax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -344[rbp], 1
	jmp	.L61
.L62:
	mov	eax, DWORD PTR -344[rbp]
	cdqe
	mov	eax, DWORD PTR -32[rbp+rax*4]
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -344[rbp], 1
.L61:
	mov	eax, DWORD PTR -344[rbp]
	cmp	eax, DWORD PTR -340[rbp]
	jl	.L62
	mov	ecx, DWORD PTR -324[rbp]
	mov	edx, DWORD PTR -328[rbp]
	mov	eax, DWORD PTR -332[rbp]
	mov	esi, eax
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC16[rip]
	call	puts@PLT
	lea	rax, -320[rbp]
	mov	edi, DWORD PTR -336[rbp]
	lea	rcx, -32[rbp]
	mov	edx, DWORD PTR -332[rbp]
	mov	esi, DWORD PTR -340[rbp]
	mov	r8d, edi
	mov	rdi, rax
	call	init_crt_from_int
	push	QWORD PTR -296[rbp]
	push	QWORD PTR -304[rbp]
	push	QWORD PTR -312[rbp]
	push	QWORD PTR -320[rbp]
	call	print_crt_number
	add	rsp, 32
	lea	rax, -288[rbp]
	mov	edi, DWORD PTR -336[rbp]
	lea	rcx, -32[rbp]
	mov	edx, DWORD PTR -328[rbp]
	mov	esi, DWORD PTR -340[rbp]
	mov	r8d, edi
	mov	rdi, rax
	call	init_crt_from_int
	push	QWORD PTR -264[rbp]
	push	QWORD PTR -272[rbp]
	push	QWORD PTR -280[rbp]
	push	QWORD PTR -288[rbp]
	call	print_crt_number
	add	rsp, 32
	lea	rax, -256[rbp]
	mov	edi, DWORD PTR -336[rbp]
	lea	rcx, -32[rbp]
	mov	edx, DWORD PTR -324[rbp]
	mov	esi, DWORD PTR -340[rbp]
	mov	r8d, edi
	mov	rdi, rax
	call	init_crt_from_int
	push	QWORD PTR -232[rbp]
	push	QWORD PTR -240[rbp]
	push	QWORD PTR -248[rbp]
	push	QWORD PTR -256[rbp]
	call	print_crt_number
	add	rsp, 32
	lea	rax, -224[rbp]
	push	QWORD PTR -264[rbp]
	push	QWORD PTR -272[rbp]
	push	QWORD PTR -280[rbp]
	push	QWORD PTR -288[rbp]
	push	QWORD PTR -296[rbp]
	push	QWORD PTR -304[rbp]
	push	QWORD PTR -312[rbp]
	push	QWORD PTR -320[rbp]
	mov	rdi, rax
	call	sum_crt_numbers
	add	rsp, 64
	push	QWORD PTR -200[rbp]
	push	QWORD PTR -208[rbp]
	push	QWORD PTR -216[rbp]
	push	QWORD PTR -224[rbp]
	call	solve_china_resid
	add	rsp, 32
	mov	ecx, DWORD PTR -332[rbp]
	mov	edx, DWORD PTR -328[rbp]
	add	edx, ecx
	cmp	eax, edx
	jne	.L63
	lea	rdi, .LC17[rip]
	call	puts@PLT
.L63:
	lea	rax, -192[rbp]
	push	QWORD PTR -232[rbp]
	push	QWORD PTR -240[rbp]
	push	QWORD PTR -248[rbp]
	push	QWORD PTR -256[rbp]
	push	QWORD PTR -296[rbp]
	push	QWORD PTR -304[rbp]
	push	QWORD PTR -312[rbp]
	push	QWORD PTR -320[rbp]
	mov	rdi, rax
	call	sum_crt_numbers
	add	rsp, 64
	push	QWORD PTR -168[rbp]
	push	QWORD PTR -176[rbp]
	push	QWORD PTR -184[rbp]
	push	QWORD PTR -192[rbp]
	call	solve_china_resid
	add	rsp, 32
	mov	ecx, DWORD PTR -332[rbp]
	mov	edx, DWORD PTR -324[rbp]
	add	edx, ecx
	cmp	eax, edx
	jne	.L64
	lea	rdi, .LC18[rip]
	call	puts@PLT
.L64:
	lea	rax, -160[rbp]
	push	QWORD PTR -264[rbp]
	push	QWORD PTR -272[rbp]
	push	QWORD PTR -280[rbp]
	push	QWORD PTR -288[rbp]
	push	QWORD PTR -232[rbp]
	push	QWORD PTR -240[rbp]
	push	QWORD PTR -248[rbp]
	push	QWORD PTR -256[rbp]
	mov	rdi, rax
	call	sum_crt_numbers
	add	rsp, 64
	push	QWORD PTR -136[rbp]
	push	QWORD PTR -144[rbp]
	push	QWORD PTR -152[rbp]
	push	QWORD PTR -160[rbp]
	call	solve_china_resid
	add	rsp, 32
	mov	ecx, DWORD PTR -328[rbp]
	mov	edx, DWORD PTR -324[rbp]
	add	edx, ecx
	cmp	eax, edx
	jne	.L65
	lea	rdi, .LC19[rip]
	call	puts@PLT
.L65:
	lea	rax, -128[rbp]
	push	QWORD PTR -264[rbp]
	push	QWORD PTR -272[rbp]
	push	QWORD PTR -280[rbp]
	push	QWORD PTR -288[rbp]
	push	QWORD PTR -296[rbp]
	push	QWORD PTR -304[rbp]
	push	QWORD PTR -312[rbp]
	push	QWORD PTR -320[rbp]
	mov	rdi, rax
	call	prod_crt_numbers
	add	rsp, 64
	push	QWORD PTR -104[rbp]
	push	QWORD PTR -112[rbp]
	push	QWORD PTR -120[rbp]
	push	QWORD PTR -128[rbp]
	call	solve_china_resid
	add	rsp, 32
	mov	edx, DWORD PTR -332[rbp]
	imul	edx, DWORD PTR -328[rbp]
	cmp	eax, edx
	jne	.L66
	lea	rdi, .LC20[rip]
	call	puts@PLT
.L66:
	lea	rax, -96[rbp]
	push	QWORD PTR -232[rbp]
	push	QWORD PTR -240[rbp]
	push	QWORD PTR -248[rbp]
	push	QWORD PTR -256[rbp]
	push	QWORD PTR -296[rbp]
	push	QWORD PTR -304[rbp]
	push	QWORD PTR -312[rbp]
	push	QWORD PTR -320[rbp]
	mov	rdi, rax
	call	prod_crt_numbers
	add	rsp, 64
	push	QWORD PTR -72[rbp]
	push	QWORD PTR -80[rbp]
	push	QWORD PTR -88[rbp]
	push	QWORD PTR -96[rbp]
	call	solve_china_resid
	add	rsp, 32
	mov	edx, DWORD PTR -332[rbp]
	imul	edx, DWORD PTR -324[rbp]
	cmp	eax, edx
	jne	.L67
	lea	rdi, .LC21[rip]
	call	puts@PLT
.L67:
	lea	rax, -64[rbp]
	push	QWORD PTR -264[rbp]
	push	QWORD PTR -272[rbp]
	push	QWORD PTR -280[rbp]
	push	QWORD PTR -288[rbp]
	push	QWORD PTR -232[rbp]
	push	QWORD PTR -240[rbp]
	push	QWORD PTR -248[rbp]
	push	QWORD PTR -256[rbp]
	mov	rdi, rax
	call	prod_crt_numbers
	add	rsp, 64
	push	QWORD PTR -40[rbp]
	push	QWORD PTR -48[rbp]
	push	QWORD PTR -56[rbp]
	push	QWORD PTR -64[rbp]
	call	solve_china_resid
	add	rsp, 32
	mov	edx, DWORD PTR -324[rbp]
	imul	edx, DWORD PTR -328[rbp]
	cmp	eax, edx
	jne	.L68
	lea	rdi, .LC22[rip]
	call	puts@PLT
.L68:
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L70
	call	__stack_chk_fail@PLT
.L70:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	example_prog3, .-example_prog3
	.section	.rodata
	.align 32
.LC0:
	.long	4
	.long	7
	.long	29
	.long	3
	.long	11
	.long	13
	.long	5
	.long	11
	.long	17
	.long	11
	.long	19
	.long	23
	.long	5
	.long	7
	.long	19
	.long	11
	.long	14
	.long	17
	.long	3
	.long	7
	.long	29
	.long	11
	.long	12
	.long	13
	.long	5
	.long	7
	.long	29
	.long	4
	.long	10
	.long	11
	.long	5
	.long	11
	.long	17
	.long	10
	.long	19
	.long	23
	.long	5
	.long	7
	.long	24
	.long	11
	.long	14
	.long	19
	.long	3
	.long	11
	.long	29
	.long	11
	.long	12
	.long	23
	.long	5
	.long	12
	.long	29
	.long	4
	.long	11
	.long	17
	.long	5
	.long	12
	.long	17
	.long	11
	.long	19
	.long	24
	.long	5
	.long	7
	.long	11
	.long	11
	.long	14
	.long	24
	.long	3
	.long	7
	.long	20
	.long	11
	.long	12
	.long	13
	.long	5
	.long	11
	.long	29
	.long	4
	.long	11
	.long	17
	.long	3
	.long	10
	.long	17
	.long	11
	.long	13
	.long	23
	.long	5
	.long	13
	.long	19
	.long	10
	.long	11
	.long	17
	.text
	.globl	make_excersices_latex
	.type	make_excersices_latex, @function
make_excersices_latex:
.LFB15:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 416
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -412[rbp], 3
	mov	DWORD PTR -408[rbp], 30
	lea	rax, -368[rbp]
	lea	rdx, .LC0[rip]
	mov	ecx, 45
	mov	rdi, rax
	mov	rsi, rdx
	rep movsq
	mov	DWORD PTR -404[rbp], 97
	mov	DWORD PTR -416[rbp], 0
	jmp	.L72
.L73:
	lea	rcx, -368[rbp]
	mov	eax, DWORD PTR -416[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	mov	esi, 3
	mov	rdi, rax
	call	prod_array_i
	mov	esi, eax
	lea	rcx, -368[rbp]
	mov	eax, DWORD PTR -416[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rcx, rax
	lea	rax, -400[rbp]
	mov	edx, DWORD PTR -404[rbp]
	mov	r8d, esi
	mov	esi, 3
	mov	rdi, rax
	call	init_crt_from_int
	push	QWORD PTR -376[rbp]
	push	QWORD PTR -384[rbp]
	push	QWORD PTR -392[rbp]
	push	QWORD PTR -400[rbp]
	call	print_crt_problem_latex
	add	rsp, 32
	add	DWORD PTR -416[rbp], 1
.L72:
	cmp	DWORD PTR -416[rbp], 29
	jle	.L73
	mov	eax, 0
	mov	rdi, QWORD PTR -8[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L75
	call	__stack_chk_fail@PLT
.L75:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	make_excersices_latex, .-make_excersices_latex
	.globl	main
	.type	main, @function
main:
.LFB16:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, 0
	call	make_excersices_latex
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.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	"894758.c"
	.text
	.align	2
	.global	prod_array_i
	.syntax unified
	.arm
	.fpu softvfp
	.type	prod_array_i, %function
prod_array_i:
	@ 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, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	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	prod_array_i, .-prod_array_i
	.align	2
	.global	sum_array_i
	.syntax unified
	.arm
	.fpu softvfp
	.type	sum_array_i, %function
sum_array_i:
	@ 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]
	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]
	ldr	r2, [fp, #-12]
	add	r3, r2, r3
	str	r3, [fp, #-12]
	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
	ldr	r3, [fp, #-12]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	sum_array_i, .-sum_array_i
	.align	2
	.global	array_cmp_i
	.syntax unified
	.arm
	.fpu softvfp
	.type	array_cmp_i, %function
array_cmp_i:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	mov	r3, #1
	strh	r3, [fp, #-10]	@ movhi
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L10
.L12:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-20]
	add	r3, r1, r3
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L11
	mov	r3, #0
	strh	r3, [fp, #-10]	@ movhi
.L11:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L10:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	blt	.L12
	ldrsh	r3, [fp, #-10]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	array_cmp_i, .-array_cmp_i
	.align	2
	.global	init_crt
	.syntax unified
	.arm
	.fpu softvfp
	.type	init_crt, %function
init_crt:
	@ args = 4, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-28]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-36]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #4]
	cmp	r3, #0
	bne	.L15
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-20]
	mov	r1, r2
	mov	r0, r3
	bl	prod_array_i
	mov	r3, r0
	str	r3, [fp, #-8]
	b	.L16
.L15:
	ldr	r3, [fp, #4]
	str	r3, [fp, #-8]
.L16:
	ldr	r3, [fp, #-24]
	mov	ip, r3
	sub	r3, fp, #20
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	ldr	r0, [fp, #-24]
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	init_crt, .-init_crt
	.global	__aeabi_idivmod
	.section	.rodata
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	init_crt_from_int
	.syntax unified
	.arm
	.fpu softvfp
	.type	init_crt_from_int, %function
init_crt_from_int:
	@ args = 4, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #60
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	str	r2, [fp, #-56]
	str	r3, [fp, #-60]
	ldr	r3, .L23
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L19
.L20:
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-60]
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-36]
	add	r4, r2, r3
	ldr	r3, [fp, #-56]
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	str	r3, [r4]
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L19:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-52]
	cmp	r2, r3
	blt	.L20
	sub	r0, fp, #32
	ldr	r3, [fp, #4]
	str	r3, [sp]
	ldr	r3, [fp, #-60]
	ldr	r2, [fp, #-36]
	ldr	r1, [fp, #-52]
	bl	init_crt
	ldr	r3, [fp, #-48]
	mov	ip, r3
	sub	r3, fp, #32
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	ldr	r3, .L23
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L22
	bl	__stack_chk_fail
.L22:
	ldr	r0, [fp, #-48]
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L24:
	.align	2
.L23:
	.word	.LC4
	.size	init_crt_from_int, .-init_crt_from_int
	.section	.rodata
	.align	2
.LC5:
	.ascii	"\012China residuals theorem problem:\000"
	.align	2
.LC6:
	.ascii	"x = %4d{%d}\012\000"
	.align	2
.LC7:
	.ascii	"Find x \000"
	.text
	.align	2
	.global	print_crt_problem
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_crt_problem, %function
print_crt_problem:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	sub	ip, fp, #28
	stm	ip, {r0, r1, r2, r3}
	ldr	r0, .L28
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L26
.L27:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r0, .L28+4
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L26:
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L27
	ldr	r0, .L28+8
	bl	puts
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L29:
	.align	2
.L28:
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.size	print_crt_problem, .-print_crt_problem
	.section	.rodata
	.align	2
.LC8:
	.ascii	"\012$$\012\\left\\{\012\\begin{matrix} \000"
	.align	2
.LC9:
	.ascii	"x = %4d\\{%d\\}\\\\\012\000"
	.align	2
.LC10:
	.ascii	"x = %4d\\{%d\\}\012\000"
	.align	2
.LC11:
	.ascii	"\\end{matrix}\012\\right.\012$$\000"
	.text
	.align	2
	.global	print_crt_problem_latex
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_crt_problem_latex, %function
print_crt_problem_latex:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	sub	ip, fp, #28
	stm	ip, {r0, r1, r2, r3}
	ldr	r0, .L33
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L31
.L32:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r0, .L33+4
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L31:
	ldr	r3, [fp, #-28]
	sub	r3, r3, #1
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L32
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-28]
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-28]
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r0, .L33+8
	bl	printf
	ldr	r0, .L33+12
	bl	puts
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L34:
	.align	2
.L33:
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.size	print_crt_problem_latex, .-print_crt_problem_latex
	.section	.rodata
	.align	2
.LC12:
	.ascii	"Number vector = (%d\000"
	.align	2
.LC13:
	.ascii	", %d\000"
	.align	2
.LC14:
	.ascii	"), modules vector = (%d\000"
	.align	2
.LC15:
	.ascii	")\000"
	.text
	.align	2
	.global	print_crt_number
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_crt_number, %function
print_crt_number:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	sub	ip, fp, #28
	stm	ip, {r0, r1, r2, r3}
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L40
	bl	printf
	mov	r3, #1
	str	r3, [fp, #-8]
	b	.L36
.L37:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L40+4
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L36:
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L37
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L40+8
	bl	printf
	mov	r3, #1
	str	r3, [fp, #-8]
	b	.L38
.L39:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L40+4
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L38:
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L39
	ldr	r0, .L40+12
	bl	puts
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L41:
	.align	2
.L40:
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.size	print_crt_number, .-print_crt_number
	.align	2
	.global	sum_crt_numbers
	.syntax unified
	.arm
	.fpu softvfp
	.type	sum_crt_numbers, %function
sum_crt_numbers:
	@ args = 36, pretend = 16, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	sub	sp, sp, #16
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #36
	str	r0, [fp, #-40]
	add	r0, fp, #8
	stm	r0, {r1, r2, r3}
	ldr	r3, [fp, #8]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #16]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #20]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L43
.L44:
	ldr	r2, [fp, #12]
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r1, [fp, #28]
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3]
	add	r0, r2, r3
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-32]
	add	r4, r2, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	str	r3, [r4]
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L43:
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-36]
	cmp	r2, r3
	blt	.L44
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-40]
	mov	ip, r3
	sub	r3, fp, #28
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	ldr	r0, [fp, #-40]
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, lr}
	add	sp, sp, #16
	bx	lr
	.size	sum_crt_numbers, .-sum_crt_numbers
	.align	2
	.global	prod_crt_numbers
	.syntax unified
	.arm
	.fpu softvfp
	.type	prod_crt_numbers, %function
prod_crt_numbers:
	@ args = 36, pretend = 16, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	sub	sp, sp, #16
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #36
	str	r0, [fp, #-40]
	add	r0, fp, #8
	stm	r0, {r1, r2, r3}
	ldr	r3, [fp, #8]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #16]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #20]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L47
.L48:
	ldr	r2, [fp, #12]
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, [fp, #28]
	ldr	r2, [fp, #-36]
	lsl	r2, r2, #2
	add	r2, r1, r2
	ldr	r2, [r2]
	mul	r0, r2, r3
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-32]
	add	r4, r2, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	str	r3, [r4]
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L47:
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-36]
	cmp	r2, r3
	blt	.L48
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-40]
	mov	ip, r3
	sub	r3, fp, #28
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	ldr	r0, [fp, #-40]
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, lr}
	add	sp, sp, #16
	bx	lr
	.size	prod_crt_numbers, .-prod_crt_numbers
	.align	2
	.global	inverse_residual
	.syntax unified
	.arm
	.fpu softvfp
	.type	inverse_residual, %function
inverse_residual:
	@ 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, #1
	str	r3, [fp, #-8]
	mov	r3, #1
	str	r3, [fp, #-8]
	b	.L51
.L55:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-8]
	mul	r3, r2, r3
	ldr	r1, [fp, #-20]
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	cmp	r3, #1
	bne	.L52
	ldr	r3, [fp, #-8]
	b	.L50
.L52:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-8]
	mul	r3, r2, r3
	ldr	r1, [fp, #-20]
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	cmp	r3, #0
	bne	.L54
	mov	r3, #0
	b	.L50
.L54:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L51:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L55
.L50:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	inverse_residual, .-inverse_residual
	.global	__aeabi_idiv
	.align	2
	.global	solve_china_resid
	.syntax unified
	.arm
	.fpu softvfp
	.type	solve_china_resid, %function
solve_china_resid:
	@ 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
	sub	ip, fp, #44
	stm	ip, {r0, r1, r2, r3}
	mov	r3, #0
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L57
.L58:
	ldr	r0, [fp, #-32]
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r4, r2, r3
	bl	__aeabi_idiv
	mov	r3, r0
	str	r3, [r4]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r0, [r3]
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	mov	r0, r3
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r4, r2, r3
	bl	inverse_residual
	mov	r3, r0
	str	r3, [r4]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-24]
	lsl	r2, r2, #2
	ldr	r1, [fp, #-20]
	add	r2, r1, r2
	ldr	r2, [r2]
	mul	r3, r2, r3
	ldr	r1, [fp, #-40]
	ldr	r2, [fp, #-24]
	lsl	r2, r2, #2
	add	r2, r1, r2
	ldr	r2, [r2]
	mul	r3, r2, r3
	ldr	r2, [fp, #-32]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	mov	r2, r3
	ldr	r3, [fp, #-28]
	add	r3, r3, r2
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L57:
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	blt	.L58
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-28]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	solve_china_resid, .-solve_china_resid
	.section	.rodata
	.align	2
.LC16:
	.ascii	"inverse of %d{%d} is %d{%d}\012\000"
	.align	2
.LC0:
	.word	5
	.word	7
	.word	9
	.word	11
	.word	13
	.align	2
.LC1:
	.word	7
	.word	9
	.word	11
	.word	13
	.word	17
	.align	2
.LC17:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	example_prog1
	.syntax unified
	.arm
	.fpu softvfp
	.type	example_prog1, %function
example_prog1:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #64
	ldr	r3, .L65
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #5
	str	r3, [fp, #-60]
	ldr	r3, .L65+4
	sub	ip, fp, #56
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldr	r3, [lr]
	str	r3, [ip]
	ldr	r3, .L65+8
	sub	ip, fp, #36
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldr	r3, [lr]
	str	r3, [ip]
	mov	r3, #0
	str	r3, [fp, #-64]
	b	.L61
.L62:
	ldr	r3, [fp, #-64]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r4, [r3, #-44]
	ldr	r3, [fp, #-64]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r5, [r3, #-24]
	ldr	r3, [fp, #-64]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r2, [r3, #-44]
	ldr	r3, [fp, #-64]
	lsl	r3, r3, #2
	sub	r1, fp, #12
	add	r3, r1, r3
	ldr	r3, [r3, #-24]
	mov	r1, r3
	mov	r0, r2
	bl	inverse_residual
	mov	r2, r0
	ldr	r3, [fp, #-64]
	lsl	r3, r3, #2
	sub	r1, fp, #12
	add	r3, r1, r3
	ldr	r3, [r3, #-24]
	str	r3, [sp]
	mov	r3, r2
	mov	r2, r5
	mov	r1, r4
	ldr	r0, .L65+12
	bl	printf
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L61:
	ldr	r2, [fp, #-64]
	ldr	r3, [fp, #-60]
	cmp	r2, r3
	blt	.L62
	mov	r3, #0
	ldr	r2, .L65
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L64
	bl	__stack_chk_fail
.L64:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L66:
	.align	2
.L65:
	.word	.LC17
	.word	.LC0
	.word	.LC1
	.word	.LC16
	.size	example_prog1, .-example_prog1
	.section	.rodata
	.align	2
.LC18:
	.ascii	"%d\012\000"
	.align	2
.LC19:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	example_prog2
	.syntax unified
	.arm
	.fpu softvfp
	.type	example_prog2, %function
example_prog2:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #72
	ldr	r3, .L70
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #5
	str	r3, [fp, #-68]
	ldr	r3, .L70+4
	sub	ip, fp, #48
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldr	r3, [lr]
	str	r3, [ip]
	ldr	r3, .L70+8
	sub	ip, fp, #28
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldr	r3, [lr]
	str	r3, [ip]
	sub	r0, fp, #64
	sub	r3, fp, #28
	sub	r2, fp, #48
	mov	r1, #0
	str	r1, [sp]
	ldr	r1, [fp, #-68]
	bl	init_crt
	sub	r3, fp, #64
	ldm	r3, {r0, r1, r2, r3}
	bl	print_crt_problem
	sub	r3, fp, #64
	ldm	r3, {r0, r1, r2, r3}
	bl	print_crt_number
	sub	r3, fp, #64
	ldm	r3, {r0, r1, r2, r3}
	bl	solve_china_resid
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L70+12
	bl	printf
	mov	r3, #0
	ldr	r2, .L70
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L69
	bl	__stack_chk_fail
.L69:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L71:
	.align	2
.L70:
	.word	.LC19
	.word	.LC0
	.word	.LC1
	.word	.LC18
	.size	example_prog2, .-example_prog2
	.section	.rodata
	.align	2
.LC20:
	.ascii	"Modules system is: n = (%d\000"
	.align	2
.LC21:
	.ascii	")\012Numbers is\012 A = %d \012 B = %d \012 C = %d "
	.ascii	"\012\000"
	.align	2
.LC22:
	.ascii	"\012In residuals of modular arifmetics numbers A, B"
	.ascii	", C is:\000"
	.align	2
.LC23:
	.ascii	"\012A + B = Acrt + B_crt\000"
	.align	2
.LC24:
	.ascii	"A + C = Acrt + C_crt\000"
	.align	2
.LC25:
	.ascii	"B + C = Ccrt + B_crt\000"
	.align	2
.LC26:
	.ascii	"A * B = A_crt * B_crt\000"
	.align	2
.LC27:
	.ascii	"A * C = A_crt * C_crt\000"
	.align	2
.LC28:
	.ascii	"B * C = B_crt * C_crt\000"
	.align	2
.LC2:
	.word	12
	.word	7
	.word	17
	.word	5
	.align	2
.LC29:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	example_prog3
	.syntax unified
	.arm
	.fpu softvfp
	.type	example_prog3, %function
example_prog3:
	@ args = 0, pretend = 0, frame = 192
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #216
	ldr	r3, .L83
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #4
	str	r3, [fp, #-188]
	ldr	r3, .L83+4
	sub	ip, fp, #24
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	sub	r3, fp, #24
	ldr	r1, [fp, #-188]
	mov	r0, r3
	bl	prod_array_i
	str	r0, [fp, #-184]
	mov	r3, #131
	str	r3, [fp, #-180]
	mov	r3, #15
	str	r3, [fp, #-176]
	mov	r3, #46
	str	r3, [fp, #-172]
	ldr	r3, [fp, #-24]
	mov	r1, r3
	ldr	r0, .L83+8
	bl	printf
	mov	r3, #1
	str	r3, [fp, #-192]
	b	.L73
.L74:
	ldr	r3, [fp, #-192]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-20]
	mov	r1, r3
	ldr	r0, .L83+12
	bl	printf
	ldr	r3, [fp, #-192]
	add	r3, r3, #1
	str	r3, [fp, #-192]
.L73:
	ldr	r2, [fp, #-192]
	ldr	r3, [fp, #-188]
	cmp	r2, r3
	blt	.L74
	ldr	r3, [fp, #-172]
	ldr	r2, [fp, #-176]
	ldr	r1, [fp, #-180]
	ldr	r0, .L83+16
	bl	printf
	ldr	r0, .L83+20
	bl	puts
	sub	r0, fp, #168
	sub	r2, fp, #24
	ldr	r3, [fp, #-184]
	str	r3, [sp]
	mov	r3, r2
	ldr	r2, [fp, #-180]
	ldr	r1, [fp, #-188]
	bl	init_crt_from_int
	sub	r3, fp, #168
	ldm	r3, {r0, r1, r2, r3}
	bl	print_crt_number
	sub	r0, fp, #152
	sub	r2, fp, #24
	ldr	r3, [fp, #-184]
	str	r3, [sp]
	mov	r3, r2
	ldr	r2, [fp, #-176]
	ldr	r1, [fp, #-188]
	bl	init_crt_from_int
	sub	r3, fp, #152
	ldm	r3, {r0, r1, r2, r3}
	bl	print_crt_number
	sub	r0, fp, #136
	sub	r2, fp, #24
	ldr	r3, [fp, #-184]
	str	r3, [sp]
	mov	r3, r2
	ldr	r2, [fp, #-172]
	ldr	r1, [fp, #-188]
	bl	init_crt_from_int
	sub	r3, fp, #136
	ldm	r3, {r0, r1, r2, r3}
	bl	print_crt_number
	sub	lr, fp, #120
	add	ip, sp, #4
	sub	r3, fp, #152
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	ldr	r3, [fp, #-156]
	str	r3, [sp]
	sub	r3, fp, #168
	ldm	r3, {r1, r2, r3}
	mov	r0, lr
	bl	sum_crt_numbers
	sub	r3, fp, #120
	ldm	r3, {r0, r1, r2, r3}
	bl	solve_china_resid
	mov	r1, r0
	ldr	r2, [fp, #-180]
	ldr	r3, [fp, #-176]
	add	r3, r2, r3
	cmp	r1, r3
	bne	.L75
	ldr	r0, .L83+24
	bl	puts
.L75:
	sub	lr, fp, #104
	add	ip, sp, #4
	sub	r3, fp, #136
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	ldr	r3, [fp, #-156]
	str	r3, [sp]
	sub	r3, fp, #168
	ldm	r3, {r1, r2, r3}
	mov	r0, lr
	bl	sum_crt_numbers
	sub	r3, fp, #104
	ldm	r3, {r0, r1, r2, r3}
	bl	solve_china_resid
	mov	r1, r0
	ldr	r2, [fp, #-180]
	ldr	r3, [fp, #-172]
	add	r3, r2, r3
	cmp	r1, r3
	bne	.L76
	ldr	r0, .L83+28
	bl	puts
.L76:
	sub	lr, fp, #88
	add	ip, sp, #4
	sub	r3, fp, #152
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	ldr	r3, [fp, #-124]
	str	r3, [sp]
	sub	r3, fp, #136
	ldm	r3, {r1, r2, r3}
	mov	r0, lr
	bl	sum_crt_numbers
	sub	r3, fp, #88
	ldm	r3, {r0, r1, r2, r3}
	bl	solve_china_resid
	mov	r1, r0
	ldr	r2, [fp, #-176]
	ldr	r3, [fp, #-172]
	add	r3, r2, r3
	cmp	r1, r3
	bne	.L77
	ldr	r0, .L83+32
	bl	puts
.L77:
	sub	lr, fp, #72
	add	ip, sp, #4
	sub	r3, fp, #152
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	ldr	r3, [fp, #-156]
	str	r3, [sp]
	sub	r3, fp, #168
	ldm	r3, {r1, r2, r3}
	mov	r0, lr
	bl	prod_crt_numbers
	sub	r3, fp, #72
	ldm	r3, {r0, r1, r2, r3}
	bl	solve_china_resid
	mov	r1, r0
	ldr	r3, [fp, #-180]
	ldr	r2, [fp, #-176]
	mul	r3, r2, r3
	cmp	r1, r3
	bne	.L78
	ldr	r0, .L83+36
	bl	puts
.L78:
	sub	lr, fp, #56
	add	ip, sp, #4
	sub	r3, fp, #136
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	ldr	r3, [fp, #-156]
	str	r3, [sp]
	sub	r3, fp, #168
	ldm	r3, {r1, r2, r3}
	mov	r0, lr
	bl	prod_crt_numbers
	sub	r3, fp, #56
	ldm	r3, {r0, r1, r2, r3}
	bl	solve_china_resid
	mov	r1, r0
	ldr	r3, [fp, #-180]
	ldr	r2, [fp, #-172]
	mul	r3, r2, r3
	cmp	r1, r3
	bne	.L79
	ldr	r0, .L83+40
	bl	puts
.L79:
	sub	lr, fp, #40
	add	ip, sp, #4
	sub	r3, fp, #152
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	ldr	r3, [fp, #-124]
	str	r3, [sp]
	sub	r3, fp, #136
	ldm	r3, {r1, r2, r3}
	mov	r0, lr
	bl	prod_crt_numbers
	sub	r3, fp, #40
	ldm	r3, {r0, r1, r2, r3}
	bl	solve_china_resid
	mov	r1, r0
	ldr	r3, [fp, #-172]
	ldr	r2, [fp, #-176]
	mul	r3, r2, r3
	cmp	r1, r3
	bne	.L80
	ldr	r0, .L83+44
	bl	puts
.L80:
	mov	r3, #0
	ldr	r2, .L83
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L82
	bl	__stack_chk_fail
.L82:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L84:
	.align	2
.L83:
	.word	.LC29
	.word	.LC2
	.word	.LC20
	.word	.LC13
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.size	example_prog3, .-example_prog3
	.section	.rodata
	.align	2
.LC3:
	.word	4
	.word	7
	.word	29
	.word	3
	.word	11
	.word	13
	.word	5
	.word	11
	.word	17
	.word	11
	.word	19
	.word	23
	.word	5
	.word	7
	.word	19
	.word	11
	.word	14
	.word	17
	.word	3
	.word	7
	.word	29
	.word	11
	.word	12
	.word	13
	.word	5
	.word	7
	.word	29
	.word	4
	.word	10
	.word	11
	.word	5
	.word	11
	.word	17
	.word	10
	.word	19
	.word	23
	.word	5
	.word	7
	.word	24
	.word	11
	.word	14
	.word	19
	.word	3
	.word	11
	.word	29
	.word	11
	.word	12
	.word	23
	.word	5
	.word	12
	.word	29
	.word	4
	.word	11
	.word	17
	.word	5
	.word	12
	.word	17
	.word	11
	.word	19
	.word	24
	.word	5
	.word	7
	.word	11
	.word	11
	.word	14
	.word	24
	.word	3
	.word	7
	.word	20
	.word	11
	.word	12
	.word	13
	.word	5
	.word	11
	.word	29
	.word	4
	.word	11
	.word	17
	.word	3
	.word	10
	.word	17
	.word	11
	.word	13
	.word	23
	.word	5
	.word	13
	.word	19
	.word	10
	.word	11
	.word	17
	.align	2
.LC30:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	make_excersices_latex
	.syntax unified
	.arm
	.fpu softvfp
	.type	make_excersices_latex, %function
make_excersices_latex:
	@ args = 0, pretend = 0, frame = 400
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #412
	ldr	r3, .L90
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #3
	str	r3, [fp, #-404]
	mov	r3, #30
	str	r3, [fp, #-400]
	ldr	r2, .L90+4
	sub	r3, fp, #376
	mov	r1, r2
	mov	r2, #360
	mov	r0, r3
	bl	memcpy
	mov	r3, #97
	str	r3, [fp, #-396]
	mov	r3, #0
	str	r3, [fp, #-408]
	b	.L86
.L87:
	sub	r1, fp, #376
	ldr	r2, [fp, #-408]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r4, r1, r3
	sub	r1, fp, #376
	ldr	r2, [fp, #-408]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	mov	r1, #3
	mov	r0, r3
	bl	prod_array_i
	mov	r3, r0
	sub	r0, fp, #392
	str	r3, [sp]
	mov	r3, r4
	ldr	r2, [fp, #-396]
	mov	r1, #3
	bl	init_crt_from_int
	sub	r3, fp, #392
	ldm	r3, {r0, r1, r2, r3}
	bl	print_crt_problem_latex
	ldr	r3, [fp, #-408]
	add	r3, r3, #1
	str	r3, [fp, #-408]
.L86:
	ldr	r3, [fp, #-408]
	cmp	r3, #29
	ble	.L87
	mov	r3, #0
	ldr	r2, .L90
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L89
	bl	__stack_chk_fail
.L89:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L91:
	.align	2
.L90:
	.word	.LC30
	.word	.LC3
	.size	make_excersices_latex, .-make_excersices_latex
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	bl	make_excersices_latex
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
