	.file	"150755.c"
	.intel_syntax noprefix
	.text
	.globl	romanToInt
	.type	romanToInt, @function
romanToInt:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 560
	mov	QWORD PTR -552[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -536[rbp], 0
	mov	DWORD PTR -528[rbp], 0
	mov	DWORD PTR -236[rbp], 1
	mov	DWORD PTR -184[rbp], 5
	mov	DWORD PTR -176[rbp], 10
	mov	DWORD PTR -224[rbp], 50
	mov	DWORD PTR -260[rbp], 100
	mov	DWORD PTR -256[rbp], 500
	mov	DWORD PTR -220[rbp], 1000
	mov	DWORD PTR -532[rbp], 0
	jmp	.L2
.L4:
	mov	eax, DWORD PTR -532[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -552[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	cdqe
	mov	edx, DWORD PTR -528[rbp+rax*4]
	mov	eax, DWORD PTR -532[rbp]
	cdqe
	lea	rcx, 1[rax]
	mov	rax, QWORD PTR -552[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	cdqe
	mov	eax, DWORD PTR -528[rbp+rax*4]
	cmp	edx, eax
	jge	.L3
	mov	eax, DWORD PTR -532[rbp]
	cdqe
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -552[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	cdqe
	mov	edx, DWORD PTR -528[rbp+rax*4]
	mov	eax, DWORD PTR -536[rbp]
	add	edx, eax
	mov	eax, DWORD PTR -532[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -552[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	cdqe
	mov	ecx, DWORD PTR -528[rbp+rax*4]
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR -536[rbp], eax
	add	DWORD PTR -532[rbp], 2
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -532[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -552[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	cdqe
	mov	eax, DWORD PTR -528[rbp+rax*4]
	add	DWORD PTR -536[rbp], eax
	add	DWORD PTR -532[rbp], 1
.L2:
	mov	eax, DWORD PTR -532[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -552[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L4
	mov	eax, DWORD PTR -536[rbp]
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L6
	call	__stack_chk_fail@PLT
.L6:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	romanToInt, .-romanToInt
	.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	"150755.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	romanToInt
	.syntax unified
	.arm
	.fpu softvfp
	.type	romanToInt, %function
romanToInt:
	@ args = 0, pretend = 0, frame = 536
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #536
	str	r0, [fp, #-536]
	ldr	r3, .L7
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-528]
	mov	r3, #0
	str	r3, [fp, #-520]
	mov	r3, #1
	str	r3, [fp, #-228]
	mov	r3, #5
	str	r3, [fp, #-176]
	mov	r3, #10
	str	r3, [fp, #-168]
	mov	r3, #50
	str	r3, [fp, #-216]
	mov	r3, #100
	str	r3, [fp, #-252]
	mov	r3, #500
	str	r3, [fp, #-248]
	mov	r3, #1000
	str	r3, [fp, #-212]
	mov	r3, #0
	str	r3, [fp, #-524]
	b	.L2
.L4:
	ldr	r3, [fp, #-524]
	ldr	r2, [fp, #-536]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-516]
	ldr	r3, [fp, #-524]
	add	r3, r3, #1
	ldr	r1, [fp, #-536]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r3, [r3, #-516]
	cmp	r2, r3
	bge	.L3
	ldr	r3, [fp, #-524]
	add	r3, r3, #1
	ldr	r2, [fp, #-536]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-516]
	ldr	r3, [fp, #-528]
	add	r2, r2, r3
	ldr	r3, [fp, #-524]
	ldr	r1, [fp, #-536]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r3, [r3, #-516]
	sub	r3, r2, r3
	str	r3, [fp, #-528]
	ldr	r3, [fp, #-524]
	add	r3, r3, #2
	str	r3, [fp, #-524]
	b	.L2
.L3:
	ldr	r3, [fp, #-524]
	ldr	r2, [fp, #-536]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-516]
	ldr	r2, [fp, #-528]
	add	r3, r2, r3
	str	r3, [fp, #-528]
	ldr	r3, [fp, #-524]
	add	r3, r3, #1
	str	r3, [fp, #-524]
.L2:
	ldr	r3, [fp, #-524]
	ldr	r2, [fp, #-536]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L4
	ldr	r3, [fp, #-528]
	ldr	r2, .L7
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L6
	bl	__stack_chk_fail
.L6:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	.LC0
	.size	romanToInt, .-romanToInt
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
