	.file	"381506.c"
	.intel_syntax noprefix
	.text
	.globl	mul
	.type	mul, @function
mul:
.LFB6:
	.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 -4[rbp], edi
	mov	DWORD PTR -8[rbp], esi
	mov	DWORD PTR -12[rbp], edx
	mov	eax, DWORD PTR -4[rbp]
	imul	eax, DWORD PTR -8[rbp]
	mov	edx, 0
	div	DWORD PTR -12[rbp]
	mov	eax, edx
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	mul, .-mul
	.section	.rodata
.LC0:
	.string	"argc = %d\n"
.LC1:
	.string	"argv[%d] = %s\n"
.LC2:
	.string	"appreciate modulus %d\n"
.LC3:
	.string	"not appreciate modulus %d\n"
	.text
	.globl	main
	.type	main, @function
main:
.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, 48
	mov	DWORD PTR -36[rbp], edi
	mov	QWORD PTR -48[rbp], rsi
	mov	QWORD PTR -8[rbp], 0
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -36[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	DWORD PTR -24[rbp], 0
	jmp	.L4
.L5:
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	rcx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -24[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	DWORD PTR -24[rbp], 1
.L4:
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jl	.L5
	cmp	DWORD PTR -36[rbp], 1
	jne	.L6
	mov	DWORD PTR -32[rbp], 256
	jmp	.L7
.L6:
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -32[rbp], eax
.L7:
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	eax, DWORD PTR -32[rbp]
	add	eax, 1
	mov	DWORD PTR -28[rbp], eax
	jmp	.L8
.L17:
	mov	DWORD PTR -16[rbp], 1
	mov	DWORD PTR -20[rbp], 1
	jmp	.L9
.L14:
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	DWORD PTR -24[rbp], 1
	jmp	.L10
.L13:
	mov	edx, DWORD PTR -28[rbp]
	mov	ecx, DWORD PTR -20[rbp]
	mov	eax, DWORD PTR -24[rbp]
	mov	esi, ecx
	mov	edi, eax
	call	mul
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	je	.L11
	mov	DWORD PTR -16[rbp], 0
	jmp	.L12
.L11:
	mov	eax, DWORD PTR -12[rbp]
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	DWORD PTR [rax], 1
	add	DWORD PTR -24[rbp], 1
.L10:
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, DWORD PTR -32[rbp]
	jl	.L13
.L12:
	add	DWORD PTR -20[rbp], 1
.L9:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -32[rbp]
	jl	.L14
	cmp	DWORD PTR -16[rbp], 0
	je	.L15
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -28[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L16
.L15:
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -28[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L16:
	add	DWORD PTR -28[rbp], 1
.L8:
	mov	eax, DWORD PTR -32[rbp]
	add	eax, eax
	cmp	DWORD PTR -28[rbp], eax
	jl	.L17
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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	"381506.c"
	.text
	.global	__aeabi_uidivmod
	.align	2
	.global	mul
	.syntax unified
	.arm
	.fpu softvfp
	.type	mul, %function
mul:
	@ 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, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-12]
	mul	r3, r2, r3
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	__aeabi_uidivmod
	mov	r3, r1
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	mul, .-mul
	.section	.rodata
	.align	2
.LC0:
	.ascii	"argc = %d\012\000"
	.align	2
.LC1:
	.ascii	"argv[%d] = %s\012\000"
	.align	2
.LC2:
	.ascii	"appreciate modulus %d\012\000"
	.align	2
.LC3:
	.ascii	"not appreciate modulus %d\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r3, .L19
	ldr	r3, [r3]
	ldr	r2, [fp, #-40]
	ldr	r1, .L19+4
	mov	r0, r3
	bl	fprintf
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L4
.L5:
	ldr	r3, .L19
	ldr	r0, [r3]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-44]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-24]
	ldr	r1, .L19+8
	bl	fprintf
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L4:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-40]
	cmp	r2, r3
	blt	.L5
	ldr	r3, [fp, #-40]
	cmp	r3, #1
	bne	.L6
	mov	r3, #256
	str	r3, [fp, #-32]
	b	.L7
.L6:
	ldr	r3, [fp, #-44]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-32]
.L7:
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #3
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-28]
	b	.L8
.L17:
	mov	r3, #1
	str	r3, [fp, #-16]
	mov	r3, #1
	str	r3, [fp, #-20]
	b	.L9
.L14:
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #3
	mov	r2, r3
	mov	r1, #0
	ldr	r0, [fp, #-12]
	bl	memset
	mov	r3, #1
	str	r3, [fp, #-24]
	b	.L10
.L13:
	ldr	r3, [fp, #-24]
	ldr	r1, [fp, #-20]
	ldr	r2, [fp, #-28]
	mov	r0, r3
	bl	mul
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-12]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L11
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L12
.L11:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-12]
	add	r3, r2, r3
	mov	r2, #1
	str	r2, [r3]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L10:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	blt	.L13
.L12:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L9:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	blt	.L14
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L15
	ldr	r3, .L19
	ldr	r3, [r3]
	ldr	r2, [fp, #-28]
	ldr	r1, .L19+12
	mov	r0, r3
	bl	fprintf
	b	.L16
.L15:
	ldr	r3, .L19
	ldr	r3, [r3]
	ldr	r2, [fp, #-28]
	ldr	r1, .L19+16
	mov	r0, r3
	bl	fprintf
.L16:
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L8:
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #1
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	blt	.L17
	ldr	r0, [fp, #-12]
	bl	free
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L20:
	.align	2
.L19:
	.word	stderr
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
