	.file	"237641994.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	""
.LC1:
	.string	"I"
.LC2:
	.string	"II"
.LC3:
	.string	"III"
.LC4:
	.string	"IV"
.LC5:
	.string	"V"
.LC6:
	.string	"VI"
.LC7:
	.string	"VII"
.LC8:
	.string	"VIII"
.LC9:
	.string	"IX"
.LC10:
	.string	"X"
.LC11:
	.string	"XX"
.LC12:
	.string	"XXX"
.LC13:
	.string	"XL"
.LC14:
	.string	"L"
.LC15:
	.string	"LX"
.LC16:
	.string	"LXX"
.LC17:
	.string	"LXXX"
.LC18:
	.string	"XC"
.LC19:
	.string	"C"
.LC20:
	.string	"CC"
.LC21:
	.string	"CCC"
.LC22:
	.string	"CD"
.LC23:
	.string	"D"
.LC24:
	.string	"DC"
.LC25:
	.string	"DCC"
.LC26:
	.string	"DCCC"
.LC27:
	.string	"CM"
.LC28:
	.string	"M"
.LC29:
	.string	"MM"
.LC30:
	.string	"MMM"
	.text
	.globl	intToRoman
	.type	intToRoman, @function
intToRoman:
.LFB6:
	.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, 392
	.cfi_offset 3, -24
	mov	DWORD PTR -388[rbp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	lea	rdx, -352[rbp]
	mov	eax, 0
	mov	ecx, 40
	mov	rdi, rdx
	rep stosq
	lea	rax, .LC0[rip]
	mov	QWORD PTR -352[rbp], rax
	lea	rax, .LC1[rip]
	mov	QWORD PTR -344[rbp], rax
	lea	rax, .LC2[rip]
	mov	QWORD PTR -336[rbp], rax
	lea	rax, .LC3[rip]
	mov	QWORD PTR -328[rbp], rax
	lea	rax, .LC4[rip]
	mov	QWORD PTR -320[rbp], rax
	lea	rax, .LC5[rip]
	mov	QWORD PTR -312[rbp], rax
	lea	rax, .LC6[rip]
	mov	QWORD PTR -304[rbp], rax
	lea	rax, .LC7[rip]
	mov	QWORD PTR -296[rbp], rax
	lea	rax, .LC8[rip]
	mov	QWORD PTR -288[rbp], rax
	lea	rax, .LC9[rip]
	mov	QWORD PTR -280[rbp], rax
	lea	rax, .LC0[rip]
	mov	QWORD PTR -272[rbp], rax
	lea	rax, .LC10[rip]
	mov	QWORD PTR -264[rbp], rax
	lea	rax, .LC11[rip]
	mov	QWORD PTR -256[rbp], rax
	lea	rax, .LC12[rip]
	mov	QWORD PTR -248[rbp], rax
	lea	rax, .LC13[rip]
	mov	QWORD PTR -240[rbp], rax
	lea	rax, .LC14[rip]
	mov	QWORD PTR -232[rbp], rax
	lea	rax, .LC15[rip]
	mov	QWORD PTR -224[rbp], rax
	lea	rax, .LC16[rip]
	mov	QWORD PTR -216[rbp], rax
	lea	rax, .LC17[rip]
	mov	QWORD PTR -208[rbp], rax
	lea	rax, .LC18[rip]
	mov	QWORD PTR -200[rbp], rax
	lea	rax, .LC0[rip]
	mov	QWORD PTR -192[rbp], rax
	lea	rax, .LC19[rip]
	mov	QWORD PTR -184[rbp], rax
	lea	rax, .LC20[rip]
	mov	QWORD PTR -176[rbp], rax
	lea	rax, .LC21[rip]
	mov	QWORD PTR -168[rbp], rax
	lea	rax, .LC22[rip]
	mov	QWORD PTR -160[rbp], rax
	lea	rax, .LC23[rip]
	mov	QWORD PTR -152[rbp], rax
	lea	rax, .LC24[rip]
	mov	QWORD PTR -144[rbp], rax
	lea	rax, .LC25[rip]
	mov	QWORD PTR -136[rbp], rax
	lea	rax, .LC26[rip]
	mov	QWORD PTR -128[rbp], rax
	lea	rax, .LC27[rip]
	mov	QWORD PTR -120[rbp], rax
	lea	rax, .LC0[rip]
	mov	QWORD PTR -112[rbp], rax
	lea	rax, .LC28[rip]
	mov	QWORD PTR -104[rbp], rax
	lea	rax, .LC29[rip]
	mov	QWORD PTR -96[rbp], rax
	lea	rax, .LC30[rip]
	mov	QWORD PTR -88[rbp], rax
	mov	eax, DWORD PTR -388[rbp]
	movsx	rdx, eax
	imul	rdx, rdx, 274877907
	shr	rdx, 32
	sar	edx, 6
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR -376[rbp], eax
	mov	edx, DWORD PTR -388[rbp]
	movsx	rax, edx
	imul	rax, rax, 274877907
	shr	rax, 32
	sar	eax, 6
	mov	ecx, edx
	sar	ecx, 31
	sub	eax, ecx
	imul	ecx, eax, 1000
	mov	eax, edx
	sub	eax, ecx
	movsx	rdx, eax
	imul	rdx, rdx, 1374389535
	shr	rdx, 32
	sar	edx, 5
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR -372[rbp], eax
	mov	edx, DWORD PTR -388[rbp]
	movsx	rax, edx
	imul	rax, rax, 1374389535
	shr	rax, 32
	sar	eax, 5
	mov	ecx, edx
	sar	ecx, 31
	sub	eax, ecx
	imul	ecx, eax, 100
	mov	eax, edx
	sub	eax, ecx
	movsx	rdx, eax
	imul	rdx, rdx, 1717986919
	shr	rdx, 32
	sar	edx, 2
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR -368[rbp], eax
	mov	edx, DWORD PTR -388[rbp]
	movsx	rax, edx
	imul	rax, rax, 1717986919
	shr	rax, 32
	sar	eax, 2
	mov	esi, edx
	sar	esi, 31
	sub	eax, esi
	mov	ecx, eax
	mov	eax, ecx
	sal	eax, 2
	add	eax, ecx
	add	eax, eax
	sub	edx, eax
	mov	DWORD PTR -364[rbp], edx
	mov	eax, DWORD PTR -376[rbp]
	cdqe
	add	rax, 30
	mov	rax, QWORD PTR -352[rbp+rax*8]
	mov	rdi, rax
	call	strlen@PLT
	mov	rbx, rax
	mov	eax, DWORD PTR -372[rbp]
	cdqe
	add	rax, 20
	mov	rax, QWORD PTR -352[rbp+rax*8]
	mov	rdi, rax
	call	strlen@PLT
	add	rbx, rax
	mov	eax, DWORD PTR -368[rbp]
	cdqe
	add	rax, 10
	mov	rax, QWORD PTR -352[rbp+rax*8]
	mov	rdi, rax
	call	strlen@PLT
	add	rbx, rax
	mov	eax, DWORD PTR -364[rbp]
	cdqe
	mov	rax, QWORD PTR -352[rbp+rax*8]
	mov	rdi, rax
	call	strlen@PLT
	add	rax, rbx
	add	rax, 1
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -360[rbp], rax
	mov	eax, DWORD PTR -376[rbp]
	cdqe
	add	rax, 30
	mov	rdx, QWORD PTR -352[rbp+rax*8]
	mov	rax, QWORD PTR -360[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	eax, DWORD PTR -372[rbp]
	cdqe
	add	rax, 20
	mov	rdx, QWORD PTR -352[rbp+rax*8]
	mov	rax, QWORD PTR -360[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
	mov	eax, DWORD PTR -368[rbp]
	cdqe
	add	rax, 10
	mov	rdx, QWORD PTR -352[rbp+rax*8]
	mov	rax, QWORD PTR -360[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
	mov	eax, DWORD PTR -364[rbp]
	cdqe
	mov	rdx, QWORD PTR -352[rbp+rax*8]
	mov	rax, QWORD PTR -360[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
	mov	rax, QWORD PTR -360[rbp]
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L3
	call	__stack_chk_fail@PLT
.L3:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	intToRoman, .-intToRoman
	.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
	mov	edi, 3999
	call	intToRoman
	mov	rdi, rax
	call	puts@PLT
	mov	eax, 0
	pop	rbp
	.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	"237641994.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\000"
	.align	2
.LC1:
	.ascii	"I\000"
	.align	2
.LC2:
	.ascii	"II\000"
	.align	2
.LC3:
	.ascii	"III\000"
	.align	2
.LC4:
	.ascii	"IV\000"
	.align	2
.LC5:
	.ascii	"V\000"
	.align	2
.LC6:
	.ascii	"VI\000"
	.align	2
.LC7:
	.ascii	"VII\000"
	.align	2
.LC8:
	.ascii	"VIII\000"
	.align	2
.LC9:
	.ascii	"IX\000"
	.align	2
.LC10:
	.ascii	"X\000"
	.align	2
.LC11:
	.ascii	"XX\000"
	.align	2
.LC12:
	.ascii	"XXX\000"
	.align	2
.LC13:
	.ascii	"XL\000"
	.align	2
.LC14:
	.ascii	"L\000"
	.align	2
.LC15:
	.ascii	"LX\000"
	.align	2
.LC16:
	.ascii	"LXX\000"
	.align	2
.LC17:
	.ascii	"LXXX\000"
	.align	2
.LC18:
	.ascii	"XC\000"
	.align	2
.LC19:
	.ascii	"C\000"
	.align	2
.LC20:
	.ascii	"CC\000"
	.align	2
.LC21:
	.ascii	"CCC\000"
	.align	2
.LC22:
	.ascii	"CD\000"
	.align	2
.LC23:
	.ascii	"D\000"
	.align	2
.LC24:
	.ascii	"DC\000"
	.align	2
.LC25:
	.ascii	"DCC\000"
	.align	2
.LC26:
	.ascii	"DCCC\000"
	.align	2
.LC27:
	.ascii	"CM\000"
	.align	2
.LC28:
	.ascii	"M\000"
	.align	2
.LC29:
	.ascii	"MM\000"
	.align	2
.LC30:
	.ascii	"MMM\000"
	.align	2
.LC31:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	intToRoman
	.syntax unified
	.arm
	.fpu softvfp
	.type	intToRoman, %function
intToRoman:
	@ args = 0, pretend = 0, frame = 192
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #196
	str	r0, [fp, #-200]
	ldr	r3, .L4
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #176
	mov	r2, #160
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r3, .L4+4
	str	r3, [fp, #-176]
	ldr	r3, .L4+8
	str	r3, [fp, #-172]
	ldr	r3, .L4+12
	str	r3, [fp, #-168]
	ldr	r3, .L4+16
	str	r3, [fp, #-164]
	ldr	r3, .L4+20
	str	r3, [fp, #-160]
	ldr	r3, .L4+24
	str	r3, [fp, #-156]
	ldr	r3, .L4+28
	str	r3, [fp, #-152]
	ldr	r3, .L4+32
	str	r3, [fp, #-148]
	ldr	r3, .L4+36
	str	r3, [fp, #-144]
	ldr	r3, .L4+40
	str	r3, [fp, #-140]
	ldr	r3, .L4+4
	str	r3, [fp, #-136]
	ldr	r3, .L4+44
	str	r3, [fp, #-132]
	ldr	r3, .L4+48
	str	r3, [fp, #-128]
	ldr	r3, .L4+52
	str	r3, [fp, #-124]
	ldr	r3, .L4+56
	str	r3, [fp, #-120]
	ldr	r3, .L4+60
	str	r3, [fp, #-116]
	ldr	r3, .L4+64
	str	r3, [fp, #-112]
	ldr	r3, .L4+68
	str	r3, [fp, #-108]
	ldr	r3, .L4+72
	str	r3, [fp, #-104]
	ldr	r3, .L4+76
	str	r3, [fp, #-100]
	ldr	r3, .L4+4
	str	r3, [fp, #-96]
	ldr	r3, .L4+80
	str	r3, [fp, #-92]
	ldr	r3, .L4+84
	str	r3, [fp, #-88]
	ldr	r3, .L4+88
	str	r3, [fp, #-84]
	ldr	r3, .L4+92
	str	r3, [fp, #-80]
	ldr	r3, .L4+96
	str	r3, [fp, #-76]
	ldr	r3, .L4+100
	str	r3, [fp, #-72]
	ldr	r3, .L4+104
	str	r3, [fp, #-68]
	ldr	r3, .L4+108
	str	r3, [fp, #-64]
	ldr	r3, .L4+112
	str	r3, [fp, #-60]
	ldr	r3, .L4+4
	str	r3, [fp, #-56]
	ldr	r3, .L4+116
	str	r3, [fp, #-52]
	ldr	r3, .L4+120
	str	r3, [fp, #-48]
	ldr	r3, .L4+124
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-200]
	ldr	r2, .L4+128
	smull	r1, r2, r3, r2
	asr	r2, r2, #6
	asr	r3, r3, #31
	sub	r3, r2, r3
	str	r3, [fp, #-196]
	ldr	r1, [fp, #-200]
	ldr	r3, .L4+128
	smull	r2, r3, r1, r3
	asr	r2, r3, #6
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, r1, r3
	ldr	r3, .L4+132
	smull	r1, r3, r2, r3
	asr	r1, r3, #5
	asr	r3, r2, #31
	sub	r3, r1, r3
	str	r3, [fp, #-192]
	ldr	r1, [fp, #-200]
	ldr	r3, .L4+132
	smull	r2, r3, r1, r3
	asr	r2, r3, #5
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, r1, r3
	ldr	r3, .L4+136
	smull	r1, r3, r2, r3
	asr	r1, r3, #2
	asr	r3, r2, #31
	sub	r3, r1, r3
	str	r3, [fp, #-188]
	ldr	r2, [fp, #-200]
	ldr	r3, .L4+136
	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	r3, r2, r3
	str	r3, [fp, #-184]
	ldr	r3, [fp, #-196]
	add	r3, r3, #30
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-164]
	mov	r0, r3
	bl	strlen
	mov	r4, r0
	ldr	r3, [fp, #-192]
	add	r3, r3, #20
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-164]
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	add	r4, r4, r3
	ldr	r3, [fp, #-188]
	add	r3, r3, #10
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-164]
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	add	r4, r4, r3
	ldr	r3, [fp, #-184]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-164]
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	add	r3, r4, r3
	add	r3, r3, #1
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-180]
	ldr	r3, [fp, #-196]
	add	r3, r3, #30
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-164]
	mov	r1, r3
	ldr	r0, [fp, #-180]
	bl	strcpy
	ldr	r3, [fp, #-192]
	add	r3, r3, #20
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-164]
	mov	r1, r3
	ldr	r0, [fp, #-180]
	bl	strcat
	ldr	r3, [fp, #-188]
	add	r3, r3, #10
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-164]
	mov	r1, r3
	ldr	r0, [fp, #-180]
	bl	strcat
	ldr	r3, [fp, #-184]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-164]
	mov	r1, r3
	ldr	r0, [fp, #-180]
	bl	strcat
	ldr	r3, [fp, #-180]
	ldr	r2, .L4
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L3
	bl	__stack_chk_fail
.L3:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L5:
	.align	2
.L4:
	.word	.LC31
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.word	.LC29
	.word	.LC30
	.word	274877907
	.word	1374389535
	.word	1717986919
	.size	intToRoman, .-intToRoman
	.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
	ldr	r0, .L8
	bl	intToRoman
	mov	r3, r0
	mov	r0, r3
	bl	puts
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
.L9:
	.align	2
.L8:
	.word	3999
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
