	.file	"201927.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"Welcome to BRS Bank"
.LC1:
	.string	"enter pin value"
.LC2:
	.string	"%d"
.LC3:
	.string	"Next"
.LC4:
	.string	"Invalid Pin Try Again"
.LC5:
	.string	"enter n value"
	.align 8
.LC6:
	.string	"1:Withdraw Cash\n 2:Check Balance\n 3:Transfer Cash"
.LC7:
	.string	"Withdraw Cash"
.LC8:
	.string	"enter withdraw value"
.LC9:
	.string	"continue with transaction"
.LC10:
	.string	"%d\n"
.LC11:
	.string	"Invalid Choice"
.LC12:
	.string	"Check Balance"
.LC13:
	.string	"Transfer Cash"
.LC14:
	.string	"enter r value"
	.align 8
.LC15:
	.string	"1:Cancel Transaction\n 2:Re do Transaction\n 3:Finish Transaction"
.LC16:
	.string	"Cancel Transaction\n "
.LC17:
	.string	"Re do Transaction"
.LC18:
	.string	"Finish Transaction"
.LC19:
	.string	"Print receipt"
.LC20:
	.string	"enter p value"
.LC21:
	.string	"1:Yes\n 2:No"
.LC22:
	.string	"Yes"
.LC23:
	.string	"No"
.LC24:
	.string	"Thanks Welcome Again"
	.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
	sub	rsp, 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	rdi, .LC1[rip]
	call	puts@PLT
	lea	rax, -56[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -56[rbp]
	cmp	eax, 7888
	jne	.L2
	lea	rdi, .LC3[rip]
	call	puts@PLT
	jmp	.L3
.L2:
	mov	eax, DWORD PTR -56[rbp]
	test	eax, eax
	je	.L3
	lea	rdi, .LC4[rip]
	call	puts@PLT
	lea	rdi, .LC1[rip]
	call	puts@PLT
	lea	rax, -56[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
.L3:
	lea	rdi, .LC5[rip]
	call	puts@PLT
	lea	rdi, .LC6[rip]
	call	puts@PLT
	lea	rax, -52[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -52[rbp]
	cmp	eax, 1
	jne	.L4
	lea	rdi, .LC7[rip]
	call	puts@PLT
	lea	rdi, .LC8[rip]
	call	puts@PLT
	lea	rax, -48[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, 499
	jle	.L5
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, 19999
	jg	.L5
	lea	rdi, .LC9[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -32[rbp]
	sub	eax, DWORD PTR -28[rbp]
	mov	DWORD PTR -24[rbp], eax
	mov	eax, DWORD PTR -24[rbp]
	mov	esi, eax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L8
.L5:
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, 499
	jg	.L8
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, 20000
	jle	.L8
	lea	rdi, .LC11[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L15
.L4:
	mov	eax, DWORD PTR -52[rbp]
	cmp	eax, 2
	jne	.L9
	lea	rdi, .LC12[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -44[rbp]
	sub	eax, DWORD PTR -40[rbp]
	mov	DWORD PTR -36[rbp], eax
	mov	eax, DWORD PTR -36[rbp]
	mov	esi, eax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L8
.L9:
	mov	eax, DWORD PTR -52[rbp]
	cmp	eax, 3
	jne	.L8
	lea	rdi, .LC13[rip]
	call	puts@PLT
.L8:
	lea	rdi, .LC14[rip]
	call	puts@PLT
	lea	rdi, .LC15[rip]
	call	puts@PLT
	lea	rax, -52[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -52[rbp]
	cmp	eax, 1
	jne	.L10
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	jmp	.L15
.L10:
	mov	eax, DWORD PTR -52[rbp]
	cmp	eax, 2
	jne	.L11
	lea	rdi, .LC17[rip]
	call	puts@PLT
	jmp	.L12
.L11:
	mov	eax, DWORD PTR -52[rbp]
	cmp	eax, 3
	jne	.L12
	lea	rdi, .LC18[rip]
	call	puts@PLT
	lea	rdi, .LC19[rip]
	call	puts@PLT
	lea	rdi, .LC20[rip]
	call	puts@PLT
	lea	rdi, .LC21[rip]
	call	puts@PLT
	lea	rax, -48[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, 1
	jne	.L13
	lea	rdi, .LC22[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, DWORD PTR -16[rbp]
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	mov	esi, eax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L12
.L13:
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, 2
	jne	.L12
	lea	rdi, .LC23[rip]
	call	puts@PLT
.L12:
	lea	rdi, .LC24[rip]
	call	puts@PLT
	mov	eax, 0
.L15:
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L16
	call	__stack_chk_fail@PLT
.L16:
	leave
	.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	"201927.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Welcome to BRS Bank\000"
	.align	2
.LC1:
	.ascii	"enter pin value\000"
	.align	2
.LC2:
	.ascii	"%d\000"
	.align	2
.LC3:
	.ascii	"Next\000"
	.align	2
.LC4:
	.ascii	"Invalid Pin Try Again\000"
	.align	2
.LC5:
	.ascii	"enter n value\000"
	.align	2
.LC6:
	.ascii	"1:Withdraw Cash\012 2:Check Balance\012 3:Transfer "
	.ascii	"Cash\000"
	.align	2
.LC7:
	.ascii	"Withdraw Cash\000"
	.align	2
.LC8:
	.ascii	"enter withdraw value\000"
	.align	2
.LC9:
	.ascii	"continue with transaction\000"
	.align	2
.LC10:
	.ascii	"%d\012\000"
	.align	2
.LC11:
	.ascii	"Invalid Choice\000"
	.align	2
.LC12:
	.ascii	"Check Balance\000"
	.align	2
.LC13:
	.ascii	"Transfer Cash\000"
	.align	2
.LC14:
	.ascii	"enter r value\000"
	.align	2
.LC15:
	.ascii	"1:Cancel Transaction\012 2:Re do Transaction\012 3:"
	.ascii	"Finish Transaction\000"
	.align	2
.LC16:
	.ascii	"Cancel Transaction\012 \000"
	.align	2
.LC17:
	.ascii	"Re do Transaction\000"
	.align	2
.LC18:
	.ascii	"Finish Transaction\000"
	.align	2
.LC19:
	.ascii	"Print receipt\000"
	.align	2
.LC20:
	.ascii	"enter p value\000"
	.align	2
.LC21:
	.ascii	"1:Yes\012 2:No\000"
	.align	2
.LC22:
	.ascii	"Yes\000"
	.align	2
.LC23:
	.ascii	"No\000"
	.align	2
.LC24:
	.ascii	"Thanks Welcome Again\000"
	.align	2
.LC25:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	ldr	r3, .L17
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L17+4
	bl	puts
	ldr	r0, .L17+8
	bl	puts
	sub	r3, fp, #56
	mov	r1, r3
	ldr	r0, .L17+12
	bl	__isoc99_scanf
	ldr	r3, [fp, #-56]
	ldr	r2, .L17+16
	cmp	r3, r2
	bne	.L2
	ldr	r0, .L17+20
	bl	puts
	b	.L3
.L2:
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	beq	.L3
	ldr	r0, .L17+24
	bl	puts
	ldr	r0, .L17+8
	bl	puts
	sub	r3, fp, #56
	mov	r1, r3
	ldr	r0, .L17+12
	bl	__isoc99_scanf
.L3:
	ldr	r0, .L17+28
	bl	puts
	ldr	r0, .L17+32
	bl	puts
	sub	r3, fp, #52
	mov	r1, r3
	ldr	r0, .L17+12
	bl	__isoc99_scanf
	ldr	r3, [fp, #-52]
	cmp	r3, #1
	bne	.L4
	ldr	r0, .L17+36
	bl	puts
	ldr	r0, .L17+40
	bl	puts
	sub	r3, fp, #48
	mov	r1, r3
	ldr	r0, .L17+12
	bl	__isoc99_scanf
	ldr	r3, [fp, #-48]
	cmp	r3, #500
	blt	.L5
	ldr	r3, [fp, #-48]
	ldr	r2, .L17+44
	cmp	r3, r2
	bgt	.L5
	ldr	r0, .L17+48
	bl	puts
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-28]
	sub	r3, r2, r3
	str	r3, [fp, #-24]
	ldr	r1, [fp, #-24]
	ldr	r0, .L17+52
	bl	printf
	b	.L8
.L5:
	ldr	r3, [fp, #-48]
	cmp	r3, #500
	bge	.L8
	ldr	r3, [fp, #-48]
	ldr	r2, .L17+56
	cmp	r3, r2
	ble	.L8
	ldr	r0, .L17+60
	bl	puts
	mov	r3, #0
	b	.L15
.L4:
	ldr	r3, [fp, #-52]
	cmp	r3, #2
	bne	.L9
	ldr	r0, .L17+64
	bl	puts
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-40]
	sub	r3, r2, r3
	str	r3, [fp, #-36]
	ldr	r1, [fp, #-36]
	ldr	r0, .L17+52
	bl	printf
	b	.L8
.L9:
	ldr	r3, [fp, #-52]
	cmp	r3, #3
	bne	.L8
	ldr	r0, .L17+68
	bl	puts
.L8:
	ldr	r0, .L17+72
	bl	puts
	ldr	r0, .L17+76
	bl	puts
	sub	r3, fp, #52
	mov	r1, r3
	ldr	r0, .L17+12
	bl	__isoc99_scanf
	ldr	r3, [fp, #-52]
	cmp	r3, #1
	bne	.L10
	ldr	r0, .L17+80
	bl	printf
	mov	r3, #0
	b	.L15
.L10:
	ldr	r3, [fp, #-52]
	cmp	r3, #2
	bne	.L11
	ldr	r0, .L17+84
	bl	puts
	b	.L12
.L11:
	ldr	r3, [fp, #-52]
	cmp	r3, #3
	bne	.L12
	ldr	r0, .L17+88
	bl	puts
	ldr	r0, .L17+92
	bl	puts
	ldr	r0, .L17+96
	bl	puts
	ldr	r0, .L17+100
	bl	puts
	sub	r3, fp, #48
	mov	r1, r3
	ldr	r0, .L17+12
	bl	__isoc99_scanf
	ldr	r3, [fp, #-48]
	cmp	r3, #1
	bne	.L13
	ldr	r0, .L17+104
	bl	puts
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-16]
	sub	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r1, [fp, #-12]
	ldr	r0, .L17+52
	bl	printf
	b	.L12
.L13:
	ldr	r3, [fp, #-48]
	cmp	r3, #2
	bne	.L12
	ldr	r0, .L17+108
	bl	puts
.L12:
	ldr	r0, .L17+112
	bl	puts
	mov	r3, #0
.L15:
	ldr	r2, .L17
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L16
	bl	__stack_chk_fail
.L16:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L18:
	.align	2
.L17:
	.word	.LC25
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	7888
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	19999
	.word	.LC9
	.word	.LC10
	.word	20000
	.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
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
