	.file	"567699.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"DEALER SHOWS --- %d\n"
.LC1:
	.string	"PLAYER = %d, NO OF ACES - %d\n"
.LC2:
	.string	"PLAYER HAS BLACKJACK"
.LC3:
	.string	"hit? "
.LC4:
	.string	"%d"
.LC5:
	.string	"PLAYER BUSTS - DEALER WINS"
.LC6:
	.string	"DEALER HAS BJ"
.LC7:
	.string	"------ PUSH"
.LC8:
	.string	"DEALER AUTOMATICALLY WINS"
.LC9:
	.string	"PLAYER AUTOMATICALLY WINS"
.LC10:
	.string	"DEALER HAS %d\n"
.LC11:
	.string	"DEALER BUSTS - PLAYER WINS"
.LC12:
	.string	" PLAYER = %d DEALER = %d\n"
.LC13:
	.string	"PLAYER WINS"
.LC14:
	.string	"DEALER WINS"
	.text
	.globl	hand
	.type	hand, @function
hand:
.LFB6:
	.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	QWORD PTR -56[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -40[rbp], 0
	mov	DWORD PTR -36[rbp], 0
	mov	DWORD PTR -32[rbp], 0
	mov	DWORD PTR -28[rbp], 0
	mov	DWORD PTR -20[rbp], 0
	mov	DWORD PTR -24[rbp], 1
	mov	rcx, QWORD PTR -56[rbp]
	lea	rdx, -24[rbp]
	lea	rsi, -32[rbp]
	lea	rax, -36[rbp]
	mov	rdi, rax
	call	hit@PLT
	mov	rcx, QWORD PTR -56[rbp]
	lea	rdx, -24[rbp]
	lea	rsi, -28[rbp]
	lea	rax, -40[rbp]
	mov	rdi, rax
	call	hit@PLT
	mov	rcx, QWORD PTR -56[rbp]
	lea	rdx, -24[rbp]
	lea	rsi, -32[rbp]
	lea	rax, -36[rbp]
	mov	rdi, rax
	call	hit@PLT
	mov	rcx, QWORD PTR -56[rbp]
	lea	rdx, -24[rbp]
	lea	rsi, -28[rbp]
	lea	rax, -40[rbp]
	mov	rdi, rax
	call	hit@PLT
	mov	DWORD PTR -16[rbp], 0
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	sal	rax, 2
	lea	rdx, -4[rax]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edx, DWORD PTR -32[rbp]
	mov	eax, DWORD PTR -36[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -36[rbp]
	cmp	eax, 21
	jne	.L2
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	DWORD PTR -20[rbp], 1
	jmp	.L3
.L2:
	mov	DWORD PTR -16[rbp], 2
.L8:
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	call	getchar@PLT
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	DWORD PTR -12[rbp], -1
	jne	.L4
	mov	eax, -1
	jmp	.L17
.L4:
	call	getchar@PLT
	cmp	DWORD PTR -12[rbp], 121
	jne	.L19
	mov	rcx, QWORD PTR -56[rbp]
	lea	rdx, -24[rbp]
	lea	rsi, -32[rbp]
	lea	rax, -36[rbp]
	mov	rdi, rax
	call	hit@PLT
	add	DWORD PTR -16[rbp], 1
	mov	edx, DWORD PTR -32[rbp]
	mov	eax, DWORD PTR -36[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -36[rbp]
	cmp	eax, 21
	jle	.L8
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -20[rbp]
	jmp	.L17
.L19:
	nop
.L3:
	mov	eax, DWORD PTR -40[rbp]
	cmp	eax, 21
	jne	.L9
	lea	rdi, .LC6[rip]
	call	puts@PLT
	cmp	DWORD PTR -20[rbp], 1
	jne	.L10
	lea	rdi, .LC7[rip]
	call	puts@PLT
	mov	DWORD PTR -20[rbp], 2
	mov	eax, DWORD PTR -20[rbp]
	jmp	.L17
.L10:
	lea	rdi, .LC8[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -20[rbp]
	jmp	.L17
.L9:
	mov	eax, DWORD PTR -36[rbp]
	cmp	eax, 21
	je	.L11
	cmp	DWORD PTR -16[rbp], 4
	jle	.L12
.L11:
	lea	rdi, .LC9[rip]
	call	puts@PLT
	mov	DWORD PTR -20[rbp], 1
	mov	eax, DWORD PTR -20[rbp]
	jmp	.L17
.L12:
	mov	eax, DWORD PTR -40[rbp]
	mov	esi, eax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L13
.L14:
	mov	rcx, QWORD PTR -56[rbp]
	lea	rdx, -24[rbp]
	lea	rsi, -28[rbp]
	lea	rax, -40[rbp]
	mov	rdi, rax
	call	hit@PLT
	mov	eax, DWORD PTR -40[rbp]
	cmp	eax, 21
	jle	.L13
	lea	rdi, .LC11[rip]
	call	puts@PLT
	mov	DWORD PTR -20[rbp], 1
	mov	eax, DWORD PTR -20[rbp]
	jmp	.L17
.L13:
	mov	eax, DWORD PTR -40[rbp]
	cmp	eax, 16
	jle	.L14
	mov	edx, DWORD PTR -40[rbp]
	mov	eax, DWORD PTR -36[rbp]
	mov	esi, eax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edx, DWORD PTR -36[rbp]
	mov	eax, DWORD PTR -40[rbp]
	cmp	edx, eax
	jle	.L15
	lea	rdi, .LC13[rip]
	call	puts@PLT
	mov	DWORD PTR -20[rbp], 1
	jmp	.L16
.L15:
	lea	rdi, .LC14[rip]
	call	puts@PLT
.L16:
	mov	eax, DWORD PTR -20[rbp]
.L17:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L18
	call	__stack_chk_fail@PLT
.L18:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	hand, .-hand
	.section	.rodata
.LC15:
	.string	"Win code: %d \n"
	.text
	.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
	sub	rsp, 240
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -224[rbp]
	mov	rdi, rax
	call	mix@PLT
	lea	rax, -224[rbp]
	mov	rdi, rax
	call	hand
	mov	DWORD PTR -228[rbp], eax
	mov	eax, DWORD PTR -228[rbp]
	mov	esi, eax
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L22
	call	__stack_chk_fail@PLT
.L22:
	leave
	.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	"567699.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"DEALER SHOWS --- %d\012\000"
	.align	2
.LC1:
	.ascii	"PLAYER = %d, NO OF ACES - %d\012\000"
	.align	2
.LC2:
	.ascii	"PLAYER HAS BLACKJACK\000"
	.align	2
.LC3:
	.ascii	"hit? \000"
	.align	2
.LC4:
	.ascii	"%d\000"
	.align	2
.LC5:
	.ascii	"PLAYER BUSTS - DEALER WINS\000"
	.align	2
.LC6:
	.ascii	"DEALER HAS BJ\000"
	.align	2
.LC7:
	.ascii	"------ PUSH\000"
	.align	2
.LC8:
	.ascii	"DEALER AUTOMATICALLY WINS\000"
	.align	2
.LC9:
	.ascii	"PLAYER AUTOMATICALLY WINS\000"
	.align	2
.LC10:
	.ascii	"DEALER HAS %d\012\000"
	.align	2
.LC11:
	.ascii	"DEALER BUSTS - PLAYER WINS\000"
	.align	2
.LC12:
	.ascii	" PLAYER = %d DEALER = %d\012\000"
	.align	2
.LC13:
	.ascii	"PLAYER WINS\000"
	.align	2
.LC14:
	.ascii	"DEALER WINS\000"
	.align	2
.LC15:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	hand
	.syntax unified
	.arm
	.fpu softvfp
	.type	hand, %function
hand:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-48]
	ldr	r3, .L20
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #1
	str	r3, [fp, #-24]
	sub	r2, fp, #24
	sub	r1, fp, #32
	sub	r0, fp, #36
	ldr	r3, [fp, #-48]
	bl	hit
	sub	r2, fp, #24
	sub	r1, fp, #28
	sub	r0, fp, #40
	ldr	r3, [fp, #-48]
	bl	hit
	sub	r2, fp, #24
	sub	r1, fp, #32
	sub	r0, fp, #36
	ldr	r3, [fp, #-48]
	bl	hit
	sub	r2, fp, #24
	sub	r1, fp, #28
	sub	r0, fp, #40
	ldr	r3, [fp, #-48]
	bl	hit
	mov	r3, #0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-24]
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L20+4
	bl	printf
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-32]
	mov	r1, r3
	ldr	r0, .L20+8
	bl	printf
	ldr	r3, [fp, #-36]
	cmp	r3, #21
	bne	.L2
	ldr	r0, .L20+12
	bl	puts
	mov	r3, #1
	str	r3, [fp, #-20]
	b	.L3
.L2:
	mov	r3, #2
	str	r3, [fp, #-16]
.L8:
	ldr	r0, .L20+16
	bl	printf
	bl	getchar
	str	r0, [fp, #-12]
	ldr	r1, [fp, #-12]
	ldr	r0, .L20+20
	bl	printf
	ldr	r3, [fp, #-12]
	cmn	r3, #1
	bne	.L4
	mvn	r3, #0
	b	.L17
.L4:
	bl	getchar
	ldr	r3, [fp, #-12]
	cmp	r3, #121
	bne	.L19
	sub	r2, fp, #24
	sub	r1, fp, #32
	sub	r0, fp, #36
	ldr	r3, [fp, #-48]
	bl	hit
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-32]
	mov	r1, r3
	ldr	r0, .L20+8
	bl	printf
	ldr	r3, [fp, #-36]
	cmp	r3, #21
	ble	.L8
	ldr	r0, .L20+24
	bl	puts
	ldr	r3, [fp, #-20]
	b	.L17
.L19:
	nop
.L3:
	ldr	r3, [fp, #-40]
	cmp	r3, #21
	bne	.L9
	ldr	r0, .L20+28
	bl	puts
	ldr	r3, [fp, #-20]
	cmp	r3, #1
	bne	.L10
	ldr	r0, .L20+32
	bl	puts
	mov	r3, #2
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	b	.L17
.L10:
	ldr	r0, .L20+36
	bl	puts
	ldr	r3, [fp, #-20]
	b	.L17
.L9:
	ldr	r3, [fp, #-36]
	cmp	r3, #21
	beq	.L11
	ldr	r3, [fp, #-16]
	cmp	r3, #4
	ble	.L12
.L11:
	ldr	r0, .L20+40
	bl	puts
	mov	r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	b	.L17
.L12:
	ldr	r3, [fp, #-40]
	mov	r1, r3
	ldr	r0, .L20+44
	bl	printf
	b	.L13
.L14:
	sub	r2, fp, #24
	sub	r1, fp, #28
	sub	r0, fp, #40
	ldr	r3, [fp, #-48]
	bl	hit
	ldr	r3, [fp, #-40]
	cmp	r3, #21
	ble	.L13
	ldr	r0, .L20+48
	bl	puts
	mov	r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	b	.L17
.L13:
	ldr	r3, [fp, #-40]
	cmp	r3, #16
	ble	.L14
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-40]
	mov	r1, r3
	ldr	r0, .L20+52
	bl	printf
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-40]
	cmp	r2, r3
	ble	.L15
	ldr	r0, .L20+56
	bl	puts
	mov	r3, #1
	str	r3, [fp, #-20]
	b	.L16
.L15:
	ldr	r0, .L20+60
	bl	puts
.L16:
	ldr	r3, [fp, #-20]
.L17:
	ldr	r2, .L20
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L18
	bl	__stack_chk_fail
.L18:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L21:
	.align	2
.L20:
	.word	.LC15
	.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
	.size	hand, .-hand
	.section	.rodata
	.align	2
.LC16:
	.ascii	"Win code: %d \012\000"
	.align	2
.LC17:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 216
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #216
	ldr	r3, .L25
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #216
	mov	r0, r3
	bl	mix
	sub	r3, fp, #216
	mov	r0, r3
	bl	hand
	str	r0, [fp, #-220]
	ldr	r1, [fp, #-220]
	ldr	r0, .L25+4
	bl	printf
	mov	r3, #0
	ldr	r2, .L25
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L24
	bl	__stack_chk_fail
.L24:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L26:
	.align	2
.L25:
	.word	.LC17
	.word	.LC16
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
