	.file	"449834.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"Enter number of cards in hand: "
.LC1:
	.string	"%d"
.LC2:
	.string	"Your hand: "
.LC3:
	.string	" %c%c"
	.text
	.globl	main
	.type	main, @function
main:
.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, 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -25[rbp], 1936221283
	movabs	rax, 4123106164818064178
	mov	QWORD PTR -21[rbp], rax
	mov	DWORD PTR -13[rbp], 1802594932
	mov	BYTE PTR -9[rbp], 97
	mov	QWORD PTR -80[rbp], 0
	mov	QWORD PTR -72[rbp], 0
	mov	QWORD PTR -64[rbp], 0
	mov	QWORD PTR -56[rbp], 0
	mov	QWORD PTR -48[rbp], 0
	mov	QWORD PTR -40[rbp], 0
	mov	DWORD PTR -32[rbp], 0
	mov	edi, 0
	call	time@PLT
	mov	edi, eax
	call	srand@PLT
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -92[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L2
.L3:
	call	rand@PLT
	cdq
	shr	edx, 30
	add	eax, edx
	and	eax, 3
	sub	eax, edx
	mov	DWORD PTR -88[rbp], eax
	call	rand@PLT
	mov	edx, eax
	movsx	rax, edx
	imul	rax, rax, 1321528399
	shr	rax, 32
	sar	eax, 2
	mov	ecx, edx
	sar	ecx, 31
	sub	eax, ecx
	mov	DWORD PTR -84[rbp], eax
	mov	ecx, DWORD PTR -84[rbp]
	mov	eax, ecx
	add	eax, eax
	add	eax, ecx
	sal	eax, 2
	add	eax, ecx
	sub	edx, eax
	mov	DWORD PTR -84[rbp], edx
	mov	eax, DWORD PTR -84[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -88[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rbp
	add	rax, rcx
	sub	rax, 80
	movzx	eax, BYTE PTR [rax]
	xor	eax, 1
	test	al, al
	je	.L2
	mov	eax, DWORD PTR -84[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -88[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rbp
	add	rax, rcx
	sub	rax, 80
	mov	BYTE PTR [rax], 1
	mov	eax, DWORD PTR -92[rbp]
	sub	eax, 1
	mov	DWORD PTR -92[rbp], eax
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	movzx	eax, BYTE PTR -25[rbp+rax]
	movsx	edx, al
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	movzx	eax, BYTE PTR -21[rbp+rax]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
.L2:
	mov	eax, DWORD PTR -92[rbp]
	test	eax, eax
	jg	.L3
	mov	edi, 10
	call	putchar@PLT
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L5
	call	__stack_chk_fail@PLT
.L5:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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	"449834.c"
	.text
	.section	.rodata
	.align	2
.LC1:
	.ascii	"Enter number of cards in hand: \000"
	.align	2
.LC2:
	.ascii	"%d\000"
	.align	2
.LC3:
	.ascii	"Your hand: \000"
	.align	2
.LC4:
	.ascii	" %c%c\000"
	.align	2
.LC0:
	.ascii	"23456789tjqka"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 88
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #88
	ldr	r3, .L6
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L6+4
	str	r3, [fp, #-28]
	ldr	r3, .L6+8
	sub	ip, fp, #24
	ldm	r3, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2}
	strb	r3, [ip]
	sub	r3, fp, #80
	mov	r2, #52
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r0, #0
	bl	time
	mov	r3, r0
	mov	r0, r3
	bl	srand
	ldr	r0, .L6+12
	bl	printf
	sub	r3, fp, #92
	mov	r1, r3
	ldr	r0, .L6+16
	bl	__isoc99_scanf
	ldr	r0, .L6+20
	bl	printf
	b	.L2
.L3:
	bl	rand
	mov	r3, r0
	rsbs	r2, r3, #0
	and	r3, r3, #3
	and	r2, r2, #3
	rsbpl	r3, r2, #0
	str	r3, [fp, #-88]
	bl	rand
	mov	r2, r0
	ldr	r3, .L6+24
	smull	r1, r3, r2, r3
	asr	r1, r3, #2
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	sub	r3, r2, r3
	str	r3, [fp, #-84]
	ldr	r2, [fp, #-88]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	sub	r2, fp, #4
	add	r2, r2, r3
	ldr	r3, [fp, #-84]
	add	r3, r2, r3
	sub	r3, r3, #76
	ldrb	r3, [r3]	@ zero_extendqisi2
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L2
	ldr	r2, [fp, #-88]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	sub	r2, fp, #4
	add	r2, r2, r3
	ldr	r3, [fp, #-84]
	add	r3, r2, r3
	sub	r3, r3, #76
	mov	r2, #1
	strb	r2, [r3]
	ldr	r3, [fp, #-92]
	sub	r3, r3, #1
	str	r3, [fp, #-92]
	sub	r2, fp, #24
	ldr	r3, [fp, #-84]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	sub	r2, fp, #28
	ldr	r3, [fp, #-88]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r0, .L6+28
	bl	printf
.L2:
	ldr	r3, [fp, #-92]
	cmp	r3, #0
	bgt	.L3
	mov	r0, #10
	bl	putchar
	mov	r3, #0
	ldr	r2, .L6
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L5
	bl	__stack_chk_fail
.L5:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L7:
	.align	2
.L6:
	.word	.LC5
	.word	1936221283
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	1321528399
	.word	.LC4
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
