	.file	"817641.c"
	.intel_syntax noprefix
	.text
	.globl	bandwidth
	.bss
	.align 4
	.type	bandwidth, @object
	.size	bandwidth, 4
bandwidth:
	.zero	4
	.globl	i
	.align 4
	.type	i, @object
	.size	i, 4
i:
	.zero	4
	.globl	HP
	.align 4
	.type	HP, @object
	.size	HP, 4
HP:
	.zero	4
	.globl	living
	.type	living, @object
	.size	living, 1
living:
	.zero	1
	.section	.rodata
.LC0:
	.string	"work"
.LC1:
	.string	"home"
.LC2:
	.string	"exploring"
.LC3:
	.string	"learning"
.LC4:
	.string	"dancing"
.LC5:
	.string	"singing"
.LC6:
	.string	"being generally silly"
.LC7:
	.string	"I feel so alive %s!\n"
	.align 8
.LC8:
	.string	"Time to just enjoy being alive for a bit"
.LC9:
	.string	"Well, good game."
	.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, 80
	mov	DWORD PTR -68[rbp], edi
	mov	QWORD PTR -80[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR HP[rip], 20
	mov	DWORD PTR bandwidth[rip], 10
	mov	BYTE PTR living[rip], 1
	lea	rax, .LC0[rip]
	mov	QWORD PTR -64[rbp], rax
	lea	rax, .LC1[rip]
	mov	QWORD PTR -56[rbp], rax
	lea	rax, .LC2[rip]
	mov	QWORD PTR -48[rbp], rax
	lea	rax, .LC3[rip]
	mov	QWORD PTR -40[rbp], rax
	lea	rax, .LC4[rip]
	mov	QWORD PTR -32[rbp], rax
	lea	rax, .LC5[rip]
	mov	QWORD PTR -24[rbp], rax
	lea	rax, .LC6[rip]
	mov	QWORD PTR -16[rbp], rax
	mov	edi, 0
	mov	eax, 0
	call	time@PLT
	mov	edi, eax
	call	srand@PLT
	mov	DWORD PTR i[rip], 0
	jmp	.L2
.L5:
	call	rand@PLT
	mov	edx, eax
	movsx	rax, edx
	imul	rax, rax, 1717986919
	shr	rax, 32
	sar	eax
	mov	ecx, edx
	sar	ecx, 31
	sub	eax, ecx
	mov	ecx, eax
	sal	ecx, 2
	add	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	test	eax, eax
	jne	.L3
	mov	eax, DWORD PTR bandwidth[rip]
	test	eax, eax
	jle	.L3
	call	rand@PLT
	movsx	rdx, eax
	imul	rdx, rdx, 1717986919
	shr	rdx, 32
	sar	edx
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	mov	ecx, edx
	sal	ecx, 2
	add	ecx, edx
	sub	eax, ecx
	mov	edx, eax
	movsx	rax, edx
	mov	rax, QWORD PTR -48[rbp+rax*8]
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR bandwidth[rip]
	sub	eax, 1
	mov	DWORD PTR bandwidth[rip], eax
	jmp	.L4
.L3:
	call	rand@PLT
	cdq
	shr	edx, 31
	add	eax, edx
	and	eax, 1
	sub	eax, edx
	cdqe
	mov	rax, QWORD PTR -64[rbp+rax*8]
	mov	rdi, rax
	call	puts@PLT
	mov	eax, DWORD PTR HP[rip]
	sub	eax, 1
	mov	DWORD PTR HP[rip], eax
.L4:
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L2:
	mov	eax, DWORD PTR i[rip]
	cmp	eax, 28
	jle	.L5
	lea	rdi, .LC8[rip]
	call	puts@PLT
	mov	eax, DWORD PTR HP[rip]
	sub	eax, 1
	mov	DWORD PTR HP[rip], eax
	mov	BYTE PTR living[rip], 0
	lea	rdi, .LC9[rip]
	call	puts@PLT
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L7
	call	__stack_chk_fail@PLT
.L7:
	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	"817641.c"
	.section	.rodata
	.align	2
.LC0:
	.ascii	"work\000"
	.align	2
.LC1:
	.ascii	"home\000"
	.align	2
.LC3:
	.ascii	"exploring\000"
	.align	2
.LC4:
	.ascii	"learning\000"
	.align	2
.LC5:
	.ascii	"dancing\000"
	.align	2
.LC6:
	.ascii	"singing\000"
	.align	2
.LC7:
	.ascii	"being generally silly\000"
	.text
	.comm	bandwidth,4,4
	.comm	i,4,4
	.comm	HP,4,4
	.comm	living,1,1
	.section	.rodata
	.align	2
.LC11:
	.ascii	"I feel so alive %s!\012\000"
	.align	2
.LC12:
	.ascii	"Time to just enjoy being alive for a bit\000"
	.align	2
.LC13:
	.ascii	"Well, good game.\000"
	.align	2
.LC9:
	.word	.LC0
	.word	.LC1
	.align	2
.LC10:
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.align	2
.LC14:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	ldr	r3, .L8
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L8+4
	mov	r2, #20
	str	r2, [r3]
	ldr	r3, .L8+8
	mov	r2, #10
	str	r2, [r3]
	ldr	r3, .L8+12
	mov	r2, #1
	strb	r2, [r3]
	ldr	r2, .L8+16
	sub	r3, fp, #36
	ldm	r2, {r0, r1}
	stm	r3, {r0, r1}
	ldr	r3, .L8+20
	sub	ip, fp, #28
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldr	r3, [lr]
	str	r3, [ip]
	mov	r0, #0
	bl	time
	mov	r3, r0
	mov	r0, r3
	bl	srand
	ldr	r3, .L8+24
	mov	r2, #0
	str	r2, [r3]
	b	.L2
.L5:
	bl	rand
	mov	r1, r0
	ldr	r3, .L8+28
	smull	r2, r3, r1, r3
	asr	r2, r3, #1
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	sub	r2, r1, r3
	cmp	r2, #0
	bne	.L3
	ldr	r3, .L8+8
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L3
	bl	rand
	mov	r1, r0
	ldr	r3, .L8+28
	smull	r2, r3, r1, r3
	asr	r2, r3, #1
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	sub	r2, r1, r3
	lsl	r3, r2, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-24]
	mov	r1, r3
	ldr	r0, .L8+32
	bl	printf
	ldr	r3, .L8+8
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L8+8
	str	r3, [r2]
	b	.L4
.L3:
	bl	rand
	mov	r3, r0
	cmp	r3, #0
	and	r3, r3, #1
	rsblt	r3, r3, #0
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-32]
	mov	r0, r3
	bl	puts
	ldr	r3, .L8+4
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L8+4
	str	r3, [r2]
.L4:
	ldr	r3, .L8+24
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L8+24
	str	r3, [r2]
.L2:
	ldr	r3, .L8+24
	ldr	r3, [r3]
	cmp	r3, #28
	ble	.L5
	ldr	r0, .L8+36
	bl	puts
	ldr	r3, .L8+4
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L8+4
	str	r3, [r2]
	ldr	r3, .L8+12
	mov	r2, #0
	strb	r2, [r3]
	ldr	r0, .L8+40
	bl	puts
	mov	r3, #0
	ldr	r2, .L8
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L7
	bl	__stack_chk_fail
.L7:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L9:
	.align	2
.L8:
	.word	.LC14
	.word	HP
	.word	bandwidth
	.word	living
	.word	.LC9
	.word	.LC10
	.word	i
	.word	1717986919
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
