	.file	"100139978.c"
	.intel_syntax noprefix
	.text
	.globl	a
	.bss
	.align 4
	.type	a, @object
	.size	a, 4
a:
	.zero	4
	.globl	b
	.align 4
	.type	b, @object
	.size	b, 4
b:
	.zero	4
	.section	.rodata
.LC0:
	.string	"Resultado: %f \n"
	.text
	.globl	suma
	.type	suma, @function
suma:
.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, 32
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	movss	xmm1, DWORD PTR a[rip]
	movss	xmm0, DWORD PTR b[rip]
	addss	xmm0, xmm1
	movss	DWORD PTR -4[rbp], xmm0
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, DWORD PTR -4[rbp]
	movq	rax, xmm2
	movq	xmm0, rax
	lea	rdi, .LC0[rip]
	mov	eax, 1
	call	printf@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	suma, .-suma
	.section	.rodata
.LC1:
	.string	"Diferencia: %f \n"
	.text
	.globl	resta
	.type	resta, @function
resta:
.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	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	movss	xmm0, DWORD PTR a[rip]
	movss	xmm1, DWORD PTR b[rip]
	subss	xmm0, xmm1
	movss	DWORD PTR -4[rbp], xmm0
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, DWORD PTR -4[rbp]
	movq	rax, xmm2
	movq	xmm0, rax
	lea	rdi, .LC1[rip]
	mov	eax, 1
	call	printf@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	resta, .-resta
	.section	.rodata
.LC2:
	.string	"Producto: %f \n"
	.text
	.globl	multiplicacion
	.type	multiplicacion, @function
multiplicacion:
.LFB2:
	.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	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	movss	xmm1, DWORD PTR a[rip]
	movss	xmm0, DWORD PTR b[rip]
	mulss	xmm0, xmm1
	movss	DWORD PTR -4[rbp], xmm0
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, DWORD PTR -4[rbp]
	movq	rax, xmm2
	movq	xmm0, rax
	lea	rdi, .LC2[rip]
	mov	eax, 1
	call	printf@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	multiplicacion, .-multiplicacion
	.section	.rodata
.LC4:
	.string	"Cociente: %f \n"
	.align 8
.LC5:
	.string	"No se puede dividir entre cero"
	.text
	.globl	division
	.type	division, @function
division:
.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, 32
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	movss	xmm0, DWORD PTR b[rip]
	pxor	xmm1, xmm1
	ucomiss	xmm0, xmm1
	jp	.L12
	pxor	xmm1, xmm1
	comiss	xmm0, xmm1
	je	.L13
.L12:
	movss	xmm0, DWORD PTR a[rip]
	movss	xmm1, DWORD PTR b[rip]
	divss	xmm0, xmm1
	movss	DWORD PTR -4[rbp], xmm0
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, DWORD PTR -4[rbp]
	movq	rax, xmm2
	movq	xmm0, rax
	lea	rdi, .LC4[rip]
	mov	eax, 1
	call	printf@PLT
	jmp	.L10
.L13:
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
.L10:
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	division, .-division
	.section	.rodata
.LC6:
	.string	"\nIngrese una opcion "
	.align 8
.LC7:
	.string	"0. Salir \n1. Suma a+b \n2. Resta a-b \n3. Multiplica aXb \n4. Divide a/b"
.LC8:
	.string	"%d"
.LC9:
	.string	"\nIngrese a "
.LC10:
	.string	"%f"
.LC11:
	.string	"Ingrese b "
	.text
	.globl	main
	.type	main, @function
main:
.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, 16
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
.L22:
	lea	rdi, .LC6[rip]
	call	puts@PLT
	lea	rdi, .LC7[rip]
	call	puts@PLT
	lea	rax, -12[rbp]
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -12[rbp]
	test	eax, eax
	je	.L25
	lea	rdi, .LC9[rip]
	call	puts@PLT
	lea	rsi, a[rip]
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC11[rip]
	call	puts@PLT
	lea	rsi, b[rip]
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, 4
	je	.L17
	cmp	eax, 4
	jg	.L18
	cmp	eax, 3
	je	.L19
	cmp	eax, 3
	jg	.L18
	cmp	eax, 1
	je	.L20
	cmp	eax, 2
	je	.L21
	jmp	.L18
.L20:
	movss	xmm0, DWORD PTR b[rip]
	cvtss2sd	xmm0, xmm0
	movss	xmm1, DWORD PTR a[rip]
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, xmm1
	movq	rax, xmm2
	movapd	xmm1, xmm0
	movq	xmm0, rax
	mov	eax, 2
	call	suma
	jmp	.L18
.L21:
	movss	xmm0, DWORD PTR b[rip]
	cvtss2sd	xmm0, xmm0
	movss	xmm1, DWORD PTR a[rip]
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, xmm1
	movq	rax, xmm3
	movapd	xmm1, xmm0
	movq	xmm0, rax
	mov	eax, 2
	call	resta
	jmp	.L18
.L19:
	movss	xmm0, DWORD PTR b[rip]
	cvtss2sd	xmm0, xmm0
	movss	xmm1, DWORD PTR a[rip]
	pxor	xmm4, xmm4
	cvtss2sd	xmm4, xmm1
	movq	rax, xmm4
	movapd	xmm1, xmm0
	movq	xmm0, rax
	mov	eax, 2
	call	multiplicacion
	jmp	.L18
.L17:
	movss	xmm0, DWORD PTR b[rip]
	cvtss2sd	xmm0, xmm0
	movss	xmm1, DWORD PTR a[rip]
	pxor	xmm5, xmm5
	cvtss2sd	xmm5, xmm1
	movq	rax, xmm5
	movapd	xmm1, xmm0
	movq	xmm0, rax
	mov	eax, 2
	call	division
	nop
.L18:
	mov	eax, DWORD PTR -12[rbp]
	test	eax, eax
	jne	.L22
	jmp	.L16
.L25:
	nop
.L16:
	mov	eax, 0
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L24
	call	__stack_chk_fail@PLT
.L24:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.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	"100139978.c"
	.text
	.comm	a,4,4
	.comm	b,4,4
	.global	__aeabi_fadd
	.global	__aeabi_f2d
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Resultado: %f \012\000"
	.text
	.align	2
	.global	suma
	.syntax unified
	.arm
	.fpu softvfp
	.type	suma, %function
suma:
	@ 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]
	ldr	r3, .L3
	ldr	r3, [r3]	@ float
	ldr	r2, .L3+4
	ldr	r2, [r2]	@ float
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-8]	@ float
	ldr	r0, [fp, #-8]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L3+8
	bl	printf
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L4:
	.align	2
.L3:
	.word	a
	.word	b
	.word	.LC0
	.size	suma, .-suma
	.global	__aeabi_fsub
	.section	.rodata
	.align	2
.LC1:
	.ascii	"Diferencia: %f \012\000"
	.text
	.align	2
	.global	resta
	.syntax unified
	.arm
	.fpu softvfp
	.type	resta, %function
resta:
	@ 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]
	ldr	r3, .L7
	ldr	r3, [r3]	@ float
	ldr	r2, .L7+4
	ldr	r2, [r2]	@ float
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_fsub
	mov	r3, r0
	str	r3, [fp, #-8]	@ float
	ldr	r0, [fp, #-8]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L7+8
	bl	printf
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	a
	.word	b
	.word	.LC1
	.size	resta, .-resta
	.global	__aeabi_fmul
	.section	.rodata
	.align	2
.LC2:
	.ascii	"Producto: %f \012\000"
	.text
	.align	2
	.global	multiplicacion
	.syntax unified
	.arm
	.fpu softvfp
	.type	multiplicacion, %function
multiplicacion:
	@ 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]
	ldr	r3, .L11
	ldr	r3, [r3]	@ float
	ldr	r2, .L11+4
	ldr	r2, [r2]	@ float
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	str	r3, [fp, #-8]	@ float
	ldr	r0, [fp, #-8]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L11+8
	bl	printf
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	a
	.word	b
	.word	.LC2
	.size	multiplicacion, .-multiplicacion
	.global	__aeabi_fcmpeq
	.global	__aeabi_fdiv
	.section	.rodata
	.align	2
.LC3:
	.ascii	"Cociente: %f \012\000"
	.align	2
.LC4:
	.ascii	"No se puede dividir entre cero\000"
	.text
	.align	2
	.global	division
	.syntax unified
	.arm
	.fpu softvfp
	.type	division, %function
division:
	@ 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]
	ldr	r3, .L20
	ldr	r3, [r3]	@ float
	mov	r1, #0
	mov	r0, r3
	bl	__aeabi_fcmpeq
	mov	r3, r0
	cmp	r3, #0
	bne	.L19
	ldr	r3, .L20+4
	ldr	r3, [r3]	@ float
	ldr	r2, .L20
	ldr	r2, [r2]	@ float
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_fdiv
	mov	r3, r0
	str	r3, [fp, #-8]	@ float
	ldr	r0, [fp, #-8]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L20+8
	bl	printf
	b	.L16
.L19:
	ldr	r0, .L20+12
	bl	printf
.L16:
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L21:
	.align	2
.L20:
	.word	b
	.word	a
	.word	.LC3
	.word	.LC4
	.size	division, .-division
	.section	.rodata
	.align	2
.LC5:
	.ascii	"\012Ingrese una opcion \000"
	.align	2
.LC6:
	.ascii	"0. Salir \0121. Suma a+b \0122. Resta a-b \0123. Mu"
	.ascii	"ltiplica aXb \0124. Divide a/b\000"
	.align	2
.LC7:
	.ascii	"%d\000"
	.align	2
.LC8:
	.ascii	"\012Ingrese a \000"
	.align	2
.LC9:
	.ascii	"%f\000"
	.align	2
.LC10:
	.ascii	"Ingrese b \000"
	.align	2
.LC11:
	.word	__stack_chk_guard
	.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, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #8
	ldr	r3, .L35
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
.L31:
	ldr	r0, .L35+4
	bl	puts
	ldr	r0, .L35+8
	bl	puts
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, .L35+12
	bl	__isoc99_scanf
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L34
	ldr	r0, .L35+16
	bl	puts
	ldr	r1, .L35+20
	ldr	r0, .L35+24
	bl	__isoc99_scanf
	ldr	r0, .L35+28
	bl	puts
	ldr	r1, .L35+32
	ldr	r0, .L35+24
	bl	__isoc99_scanf
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	cmp	r3, #3
	ldrls	pc, [pc, r3, asl #2]
	b	.L25
.L27:
	.word	.L30
	.word	.L29
	.word	.L28
	.word	.L26
.L30:
	ldr	r3, .L35+20
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r3, .L35+32
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	suma
	b	.L25
.L29:
	ldr	r3, .L35+20
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r3, .L35+32
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	resta
	b	.L25
.L28:
	ldr	r3, .L35+20
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r3, .L35+32
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	multiplicacion
	b	.L25
.L26:
	ldr	r3, .L35+20
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r3, .L35+32
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	division
	nop
.L25:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L31
	b	.L24
.L34:
	nop
.L24:
	mov	r3, #0
	ldr	r2, .L35
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L33
	bl	__stack_chk_fail
.L33:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L36:
	.align	2
.L35:
	.word	.LC11
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	a
	.word	.LC9
	.word	.LC10
	.word	b
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
