	.file	"189351.c"
	.intel_syntax noprefix
	.text
	.globl	funds
	.data
	.align 4
	.type	funds, @object
	.size	funds, 4
funds:
	.long	3000
	.globl	user
	.bss
	.align 4
	.type	user, @object
	.size	user, 4
user:
	.zero	4
	.globl	clabe
	.align 4
	.type	clabe, @object
	.size	clabe, 4
clabe:
	.zero	4
	.globl	send
	.align 4
	.type	send, @object
	.size	send, 4
send:
	.zero	4
	.globl	deposit
	.align 4
	.type	deposit, @object
	.size	deposit, 4
deposit:
	.zero	4
	.globl	refund
	.align 4
	.type	refund, @object
	.size	refund, 4
refund:
	.zero	4
	.globl	currentBalance
	.align 4
	.type	currentBalance, @object
	.size	currentBalance, 4
currentBalance:
	.zero	4
	.section	.rodata
	.align 8
.LC0:
	.string	"Welcome, Sgdvesus! choose an option:"
	.align 8
.LC1:
	.string	"[0]Transfer\n[1]Deposit\n[2]Retirar"
.LC2:
	.string	"%d"
.LC3:
	.string	"[CLABE]: "
.LC4:
	.string	"Amount to send $"
.LC5:
	.string	"You send %d to [CLABE]: %d\n"
.LC6:
	.string	"Your balance is %d\n"
.LC7:
	.string	"Amount to deposit $"
.LC8:
	.string	"Your balance is $%d\n"
.LC9:
	.string	"Amount: "
.LC10:
	.string	"No valid"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	rdi, .LC1[rip]
	call	puts@PLT
	lea	rsi, user[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR user[rip]
	test	eax, eax
	jne	.L2
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, clabe[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, send[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	edx, DWORD PTR clabe[rip]
	mov	eax, DWORD PTR send[rip]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR funds[rip]
	mov	edx, DWORD PTR send[rip]
	sub	eax, edx
	mov	DWORD PTR currentBalance[rip], eax
	mov	eax, DWORD PTR currentBalance[rip]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L3
.L2:
	mov	eax, DWORD PTR user[rip]
	cmp	eax, 1
	jne	.L4
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, deposit[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	edx, DWORD PTR funds[rip]
	mov	eax, DWORD PTR deposit[rip]
	add	eax, edx
	mov	DWORD PTR currentBalance[rip], eax
	mov	eax, DWORD PTR currentBalance[rip]
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L3
.L4:
	mov	eax, DWORD PTR user[rip]
	cmp	eax, 2
	jne	.L5
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, refund[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR funds[rip]
	mov	edx, DWORD PTR refund[rip]
	sub	eax, edx
	mov	DWORD PTR currentBalance[rip], eax
	mov	eax, DWORD PTR currentBalance[rip]
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L3
.L5:
	lea	rdi, .LC10[rip]
	call	puts@PLT
.L3:
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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	"189351.c"
	.text
	.global	funds
	.data
	.align	2
	.type	funds, %object
	.size	funds, 4
funds:
	.word	3000
	.comm	user,4,4
	.comm	clabe,4,4
	.comm	send,4,4
	.comm	deposit,4,4
	.comm	refund,4,4
	.comm	currentBalance,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Welcome, Sgdvesus! choose an option:\000"
	.align	2
.LC1:
	.ascii	"[0]Transfer\012[1]Deposit\012[2]Retirar\000"
	.align	2
.LC2:
	.ascii	"%d\000"
	.align	2
.LC3:
	.ascii	"[CLABE]: \000"
	.align	2
.LC4:
	.ascii	"Amount to send $\000"
	.align	2
.LC5:
	.ascii	"You send %d to [CLABE]: %d\012\000"
	.align	2
.LC6:
	.ascii	"Your balance is %d\012\000"
	.align	2
.LC7:
	.ascii	"Amount to deposit $\000"
	.align	2
.LC8:
	.ascii	"Your balance is $%d\012\000"
	.align	2
.LC9:
	.ascii	"Amount: \000"
	.align	2
.LC10:
	.ascii	"No valid\000"
	.text
	.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, .L7
	bl	puts
	ldr	r0, .L7+4
	bl	puts
	ldr	r1, .L7+8
	ldr	r0, .L7+12
	bl	__isoc99_scanf
	ldr	r3, .L7+8
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L2
	ldr	r0, .L7+16
	bl	printf
	ldr	r1, .L7+20
	ldr	r0, .L7+12
	bl	__isoc99_scanf
	ldr	r0, .L7+24
	bl	printf
	ldr	r1, .L7+28
	ldr	r0, .L7+12
	bl	__isoc99_scanf
	ldr	r3, .L7+28
	ldr	r3, [r3]
	ldr	r2, .L7+20
	ldr	r2, [r2]
	mov	r1, r3
	ldr	r0, .L7+32
	bl	printf
	ldr	r3, .L7+36
	ldr	r2, [r3]
	ldr	r3, .L7+28
	ldr	r3, [r3]
	sub	r3, r2, r3
	ldr	r2, .L7+40
	str	r3, [r2]
	ldr	r3, .L7+40
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L7+44
	bl	printf
	b	.L3
.L2:
	ldr	r3, .L7+8
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L4
	ldr	r0, .L7+48
	bl	printf
	ldr	r1, .L7+52
	ldr	r0, .L7+12
	bl	__isoc99_scanf
	ldr	r3, .L7+36
	ldr	r2, [r3]
	ldr	r3, .L7+52
	ldr	r3, [r3]
	add	r3, r2, r3
	ldr	r2, .L7+40
	str	r3, [r2]
	ldr	r3, .L7+40
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L7+56
	bl	printf
	b	.L3
.L4:
	ldr	r3, .L7+8
	ldr	r3, [r3]
	cmp	r3, #2
	bne	.L5
	ldr	r0, .L7+60
	bl	printf
	ldr	r1, .L7+64
	ldr	r0, .L7+12
	bl	__isoc99_scanf
	ldr	r3, .L7+36
	ldr	r2, [r3]
	ldr	r3, .L7+64
	ldr	r3, [r3]
	sub	r3, r2, r3
	ldr	r2, .L7+40
	str	r3, [r2]
	ldr	r3, .L7+40
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L7+56
	bl	printf
	b	.L3
.L5:
	ldr	r0, .L7+68
	bl	puts
.L3:
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	.LC0
	.word	.LC1
	.word	user
	.word	.LC2
	.word	.LC3
	.word	clabe
	.word	.LC4
	.word	send
	.word	.LC5
	.word	funds
	.word	currentBalance
	.word	.LC6
	.word	.LC7
	.word	deposit
	.word	.LC8
	.word	.LC9
	.word	refund
	.word	.LC10
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
