	.file	"696762.c"
	.intel_syntax noprefix
	.text
	.globl	answer_1
	.type	answer_1, @function
answer_1:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -4[rbp], edi
	mov	eax, DWORD PTR -4[rbp]
	mov	edx, 1
	mov	ecx, eax
	sal	edx, cl
	mov	eax, edx
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	answer_1, .-answer_1
	.globl	answer_2
	.type	answer_2, @function
answer_2:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, edi
	mov	BYTE PTR -4[rbp], al
	movzx	eax, BYTE PTR -4[rbp]
	mov	edx, 1
	mov	ecx, eax
	sal	edx, cl
	mov	eax, edx
	not	eax
	mov	BYTE PTR -4[rbp], al
	movzx	eax, BYTE PTR -4[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	answer_2, .-answer_2
	.globl	answer_3
	.type	answer_3, @function
answer_3:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, edi
	mov	DWORD PTR -8[rbp], esi
	mov	BYTE PTR -4[rbp], al
	mov	eax, DWORD PTR -8[rbp]
	mov	edx, 1
	mov	ecx, eax
	sal	edx, cl
	mov	eax, edx
	mov	edx, eax
	movzx	eax, BYTE PTR -4[rbp]
	or	eax, edx
	mov	BYTE PTR -4[rbp], al
	movzx	eax, BYTE PTR -4[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	answer_3, .-answer_3
	.globl	answer_4
	.type	answer_4, @function
answer_4:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, edi
	mov	DWORD PTR -8[rbp], esi
	mov	BYTE PTR -4[rbp], al
	mov	eax, DWORD PTR -8[rbp]
	mov	edx, 1
	mov	ecx, eax
	sal	edx, cl
	mov	eax, edx
	not	eax
	mov	edx, eax
	movzx	eax, BYTE PTR -4[rbp]
	and	eax, edx
	mov	BYTE PTR -4[rbp], al
	movzx	eax, BYTE PTR -4[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	answer_4, .-answer_4
	.globl	answer_5
	.type	answer_5, @function
answer_5:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, edi
	mov	BYTE PTR -4[rbp], al
	not	BYTE PTR -4[rbp]
	movzx	eax, BYTE PTR -4[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	answer_5, .-answer_5
	.globl	answer_6
	.type	answer_6, @function
answer_6:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, edi
	mov	DWORD PTR -8[rbp], esi
	mov	BYTE PTR -4[rbp], al
	mov	eax, DWORD PTR -8[rbp]
	mov	edx, 1
	mov	ecx, eax
	sal	edx, cl
	mov	eax, edx
	mov	edx, eax
	movzx	eax, BYTE PTR -4[rbp]
	xor	eax, edx
	mov	BYTE PTR -4[rbp], al
	movzx	eax, BYTE PTR -4[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	answer_6, .-answer_6
	.globl	answer_7
	.type	answer_7, @function
answer_7:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, edi
	mov	DWORD PTR -8[rbp], esi
	mov	BYTE PTR -4[rbp], al
	movzx	edx, BYTE PTR -4[rbp]
	mov	eax, DWORD PTR -8[rbp]
	mov	ecx, eax
	sar	edx, cl
	mov	eax, edx
	and	eax, 1
	mov	BYTE PTR -4[rbp], al
	movzx	eax, BYTE PTR -4[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	answer_7, .-answer_7
	.globl	answer_8
	.type	answer_8, @function
answer_8:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, edi
	mov	DWORD PTR -8[rbp], esi
	mov	DWORD PTR -12[rbp], edx
	mov	BYTE PTR -4[rbp], al
	movzx	edx, BYTE PTR -4[rbp]
	mov	eax, DWORD PTR -8[rbp]
	mov	esi, 1
	mov	ecx, eax
	sal	esi, cl
	mov	eax, esi
	or	eax, edx
	not	eax
	mov	edx, eax
	mov	eax, DWORD PTR -12[rbp]
	mov	ecx, eax
	sar	edx, cl
	mov	eax, edx
	and	eax, 1
	mov	BYTE PTR -4[rbp], al
	movzx	eax, BYTE PTR -4[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	answer_8, .-answer_8
	.globl	answer_9
	.type	answer_9, @function
answer_9:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -20[rbp], edi
	mov	eax, DWORD PTR -20[rbp]
	add	eax, 1
	mov	edx, -1
	mov	ecx, eax
	sal	edx, cl
	mov	eax, edx
	not	eax
	mov	BYTE PTR -1[rbp], al
	movzx	eax, BYTE PTR -1[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	answer_9, .-answer_9
	.globl	answer_10
	.type	answer_10, @function
answer_10:
.LFB15:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	shr	al, 6
	movzx	eax, al
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	answer_10, .-answer_10
	.section	.rodata
.LC0:
	.string	"Playing with bits and bytes"
.LC1:
	.string	"|PROBLEM 1|"
	.align 8
.LC2:
	.string	"'answer_1()' receives a bit number. Return a byte with the corresponding bit\nset, and all other bits cleared.\nTesting..."
.LC3:
	.string	"FAILED!"
.LC4:
	.string	"PASSED!"
	.align 8
.LC5:
	.string	"Expected return:\t0x%02X\t\tActual return:\t0x%02X\t\t%s\n"
.LC6:
	.string	"|PROBLEM 2|"
	.align 8
.LC7:
	.string	"'answer_2()' receives a bit number. Return a byte with the corresponding bit\ncleared, and all other bits set.\nTesting..."
.LC8:
	.string	"|PROBLEM 3|"
	.align 8
.LC9:
	.string	"'answer_3()' receives a byte and bit number. Return the same byte with the\ncorresponding bit set, and all other bits unchanged.\nTesting..."
.LC10:
	.string	"|PROBLEM 4|"
	.align 8
.LC11:
	.string	"'answer_4()' receives a byte and bit number. Return the same byte with the\ncorresponding bit cleared, and all other bits unchanged.\nTesting..."
.LC12:
	.string	"|PROBLEM 5|"
	.align 8
.LC13:
	.string	"'answer_5()' receives a byte. Return the byte with all 8 bits toggled.\nTesting..."
.LC14:
	.string	"|PROBLEM 6|"
	.align 8
.LC15:
	.string	"'answer_6()' receives a byte and bit number. Return the same byte with the\ncorresponding bit toggled, and all other bits unchanged.\nTesting..."
.LC16:
	.string	"|PROBLEM 7|"
	.align 8
.LC17:
	.string	"'answer_7()' receives a byte and bit number. Return the value (set or unset)\nof the corresponding bit.\nTesting..."
	.align 8
.LC18:
	.string	"Expected return:\t%d\t\t\tActual return:\t%d\t\t\t%s\n"
.LC19:
	.string	"|PROBLEM 8|"
	.align 8
.LC20:
	.string	"'answer_8()' receives a byte and two bit numbers. Set the bit corresponding\nto the first bit number, toggle every bit in the byte, then return the value of\nthe bit corresponding to the second bit number.\nTesting..."
.LC21:
	.string	"|PROBLEM 9|"
	.align 8
.LC22:
	.string	"'answer_9()' receives a bit number. Return a byte with every bit up to\nand including that bit number set, with all other bits cleared.\nTesting..."
.LC23:
	.string	"|PROBLEM 10|"
	.align 8
.LC24:
	.string	"'answer_10()' receives a pointer to a byte. Return the data in the two most\nsignificant bits of that byte.\nTesting..."
.LC25:
	.string	"\n"
	.align 8
.LC26:
	.string	"Your total score for the problems was: %.2d / %.2d"
	.align 8
.LC27:
	.string	"You managed to find where all of your missing data was!"
	.align 8
.LC28:
	.string	"Well done. You've mastered playing with bits and bytes!"
	.align 8
.LC29:
	.string	"Keep on playing with my bits until you get them all ..."
	.text
	.globl	main
	.type	main, @function
main:
.LFB16:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 192
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -128[rbp]
	mov	rdi, rax
	call	time@PLT
	mov	edi, eax
	call	srand@PLT
	mov	edx, 0
	mov	esi, 0
	mov	edi, 126
	call	print_heading
	mov	edx, 26
	lea	rsi, .LC0[rip]
	mov	edi, 126
	call	print_heading
	mov	edx, 0
	mov	esi, 0
	mov	edi, 126
	call	print_heading
	mov	edi, 10
	call	putchar@PLT
	mov	DWORD PTR -188[rbp], 0
	jmp	.L22
.L97:
	cmp	DWORD PTR -188[rbp], 9
	ja	.L23
	mov	eax, DWORD PTR -188[rbp]
	lea	rdx, 0[0+rax*4]
	lea	rax, .L25[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L25[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L25:
	.long	.L34-.L25
	.long	.L33-.L25
	.long	.L32-.L25
	.long	.L31-.L25
	.long	.L30-.L25
	.long	.L29-.L25
	.long	.L28-.L25
	.long	.L27-.L25
	.long	.L26-.L25
	.long	.L24-.L25
	.text
.L34:
	mov	edx, 5
	lea	rsi, .LC1[rip]
	mov	edi, 46
	call	print_heading
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	DWORD PTR -184[rbp], 0
	jmp	.L35
.L38:
	call	rand@PLT
	cdq
	shr	edx, 29
	add	eax, edx
	and	eax, 7
	sub	eax, edx
	mov	DWORD PTR -136[rbp], eax
	mov	eax, DWORD PTR -136[rbp]
	mov	edx, 1
	mov	ecx, eax
	sal	edx, cl
	mov	eax, edx
	mov	BYTE PTR -190[rbp], al
	mov	eax, DWORD PTR -136[rbp]
	mov	edi, eax
	call	answer_1
	mov	BYTE PTR -189[rbp], al
	movzx	eax, BYTE PTR -190[rbp]
	cmp	al, BYTE PTR -189[rbp]
	setne	dl
	mov	eax, DWORD PTR -188[rbp]
	cdqe
	mov	BYTE PTR -106[rbp+rax], dl
	mov	eax, DWORD PTR -188[rbp]
	cdqe
	movzx	eax, BYTE PTR -106[rbp+rax]
	test	al, al
	jne	.L104
	add	DWORD PTR -184[rbp], 1
.L35:
	cmp	DWORD PTR -184[rbp], 49
	jle	.L38
	jmp	.L37
.L104:
	nop
.L37:
	mov	eax, DWORD PTR -188[rbp]
	cdqe
	movzx	eax, BYTE PTR -106[rbp+rax]
	test	al, al
	je	.L39
	lea	rax, .LC3[rip]
	jmp	.L40
.L39:
	lea	rax, .LC4[rip]
.L40:
	movzx	edx, BYTE PTR -189[rbp]
	movzx	esi, BYTE PTR -190[rbp]
	mov	rcx, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L41
.L33:
	mov	edx, 5
	lea	rsi, .LC6[rip]
	mov	edi, 46
	call	print_heading
	lea	rdi, .LC7[rip]
	call	puts@PLT
	mov	DWORD PTR -180[rbp], 0
	jmp	.L42
.L45:
	call	rand@PLT
	cdq
	shr	edx, 29
	add	eax, edx
	and	eax, 7
	sub	eax, edx
	mov	DWORD PTR -136[rbp], eax
	mov	eax, DWORD PTR -136[rbp]
	mov	edx, 1
	mov	ecx, eax
	sal	edx, cl
	mov	eax, edx
	not	eax
	mov	BYTE PTR -190[rbp], al
	mov	eax, DWORD PTR -136[rbp]
	movzx	eax, al
	mov	edi, eax
	call	answer_2
	mov	BYTE PTR -189[rbp], al
	movzx	eax, BYTE PTR -190[rbp]
	cmp	al, BYTE PTR -189[rbp]
	setne	dl
	mov	eax, DWORD PTR -188[rbp]
	cdqe
	mov	BYTE PTR -106[rbp+rax], dl
	mov	eax, DWORD PTR -188[rbp]
	cdqe
	movzx	eax, BYTE PTR -106[rbp+rax]
	test	al, al
	jne	.L105
	add	DWORD PTR -180[rbp], 1
.L42:
	cmp	DWORD PTR -180[rbp], 49
	jle	.L45
	jmp	.L44
.L105:
	nop
.L44:
	mov	eax, DWORD PTR -188[rbp]
	cdqe
	movzx	eax, BYTE PTR -106[rbp+rax]
	test	al, al
	je	.L46
	lea	rax, .LC3[rip]
	jmp	.L47
.L46:
	lea	rax, .LC4[rip]
.L47:
	movzx	edx, BYTE PTR -189[rbp]
	movzx	esi, BYTE PTR -190[rbp]
	mov	rcx, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L41
.L32:
	mov	edx, 5
	lea	rsi, .LC8[rip]
	mov	edi, 46
	call	print_heading
	lea	rdi, .LC9[rip]
	call	puts@PLT
	mov	DWORD PTR -176[rbp], 0
	jmp	.L48
.L51:
	call	rand@PLT
	cdq
	shr	edx, 29
	add	eax, edx
	and	eax, 7
	sub	eax, edx
	mov	DWORD PTR -136[rbp], eax
	call	rand@PLT
	cdq
	shr	edx, 24
	add	eax, edx
	movzx	eax, al
	sub	eax, edx
	mov	BYTE PTR -191[rbp], al
	mov	eax, DWORD PTR -136[rbp]
	mov	edx, 1
	mov	ecx, eax
	sal	edx, cl
	mov	eax, edx
	mov	edx, eax
	movzx	eax, BYTE PTR -191[rbp]
	or	eax, edx
	mov	BYTE PTR -190[rbp], al
	movzx	eax, BYTE PTR -191[rbp]
	movzx	eax, al
	mov	edx, DWORD PTR -136[rbp]
	mov	esi, edx
	mov	edi, eax
	call	answer_3
	mov	BYTE PTR -189[rbp], al
	movzx	eax, BYTE PTR -190[rbp]
	cmp	al, BYTE PTR -189[rbp]
	setne	dl
	mov	eax, DWORD PTR -188[rbp]
	cdqe
	mov	BYTE PTR -106[rbp+rax], dl
	mov	eax, DWORD PTR -188[rbp]
	cdqe
	movzx	eax, BYTE PTR -106[rbp+rax]
	test	al, al
	jne	.L106
	add	DWORD PTR -176[rbp], 1
.L48:
	cmp	DWORD PTR -176[rbp], 49
	jle	.L51
	jmp	.L50
.L106:
	nop
.L50:
	mov	eax, DWORD PTR -188[rbp]
	cdqe
	movzx	eax, BYTE PTR -106[rbp+rax]
	test	al, al
	je	.L52
	lea	rax, .LC3[rip]
	jmp	.L53
.L52:
	lea	rax, .LC4[rip]
.L53:
	movzx	edx, BYTE PTR -189[rbp]
	movzx	esi, BYTE PTR -190[rbp]
	mov	rcx, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L41
.L31:
	mov	edx, 5
	lea	rsi, .LC10[rip]
	mov	edi, 46
	call	print_heading
	lea	rdi, .LC11[rip]
	call	puts@PLT
	mov	DWORD PTR -172[rbp], 0
	jmp	.L54
.L57:
	call	rand@PLT
	cdq
	shr	edx, 29
	add	eax, edx
	and	eax, 7
	sub	eax, edx
	mov	DWORD PTR -136[rbp], eax
	call	rand@PLT
	cdq
	shr	edx, 24
	add	eax, edx
	movzx	eax, al
	sub	eax, edx
	mov	BYTE PTR -191[rbp], al
	mov	eax, DWORD PTR -136[rbp]
	mov	edx, 1
	mov	ecx, eax
	sal	edx, cl
	mov	eax, edx
	not	eax
	mov	edx, eax
	movzx	eax, BYTE PTR -191[rbp]
	and	eax, edx
	mov	BYTE PTR -190[rbp], al
	movzx	eax, BYTE PTR -191[rbp]
	movzx	eax, al
	mov	edx, DWORD PTR -136[rbp]
	mov	esi, edx
	mov	edi, eax
	call	answer_4
	mov	BYTE PTR -189[rbp], al
	movzx	eax, BYTE PTR -190[rbp]
	cmp	al, BYTE PTR -189[rbp]
	setne	dl
	mov	eax, DWORD PTR -188[rbp]
	cdqe
	mov	BYTE PTR -106[rbp+rax], dl
	mov	eax, DWORD PTR -188[rbp]
	cdqe
	movzx	eax, BYTE PTR -106[rbp+rax]
	test	al, al
	jne	.L107
	add	DWORD PTR -172[rbp], 1
.L54:
	cmp	DWORD PTR -172[rbp], 49
	jle	.L57
	jmp	.L56
.L107:
	nop
.L56:
	mov	eax, DWORD PTR -188[rbp]
	cdqe
	movzx	eax, BYTE PTR -106[rbp+rax]
	test	al, al
	je	.L58
	lea	rax, .LC3[rip]
	jmp	.L59
.L58:
	lea	rax, .LC4[rip]
.L59:
	movzx	edx, BYTE PTR -189[rbp]
	movzx	esi, BYTE PTR -190[rbp]
	mov	rcx, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L41
.L30:
	mov	edx, 5
	lea	rsi, .LC12[rip]
	mov	edi, 46
	call	print_heading
	lea	rdi, .LC13[rip]
	call	puts@PLT
	mov	DWORD PTR -168[rbp], 0
	jmp	.L60
.L63:
	call	rand@PLT
	cdq
	shr	edx, 24
	add	eax, edx
	movzx	eax, al
	sub	eax, edx
	mov	BYTE PTR -191[rbp], al
	movzx	eax, BYTE PTR -191[rbp]
	not	eax
	mov	BYTE PTR -190[rbp], al
	movzx	eax, BYTE PTR -191[rbp]
	movzx	eax, al
	mov	edi, eax
	call	answer_5
	mov	BYTE PTR -189[rbp], al
	movzx	eax, BYTE PTR -190[rbp]
	cmp	al, BYTE PTR -189[rbp]
	setne	dl
	mov	eax, DWORD PTR -188[rbp]
	cdqe
	mov	BYTE PTR -106[rbp+rax], dl
	mov	eax, DWORD PTR -188[rbp]
	cdqe
	movzx	eax, BYTE PTR -106[rbp+rax]
	test	al, al
	jne	.L108
	add	DWORD PTR -168[rbp], 1
.L60:
	cmp	DWORD PTR -168[rbp], 49
	jle	.L63
	jmp	.L62
.L108:
	nop
.L62:
	mov	eax, DWORD PTR -188[rbp]
	cdqe
	movzx	eax, BYTE PTR -106[rbp+rax]
	test	al, al
	je	.L64
	lea	rax, .LC3[rip]
	jmp	.L65
.L64:
	lea	rax, .LC4[rip]
.L65:
	movzx	edx, BYTE PTR -189[rbp]
	movzx	esi, BYTE PTR -190[rbp]
	mov	rcx, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L41
.L29:
	mov	edx, 5
	lea	rsi, .LC14[rip]
	mov	edi, 46
	call	print_heading
	lea	rdi, .LC15[rip]
	call	puts@PLT
	mov	DWORD PTR -164[rbp], 0
	jmp	.L66
.L69:
	call	rand@PLT
	cdq
	shr	edx, 29
	add	eax, edx
	and	eax, 7
	sub	eax, edx
	mov	DWORD PTR -136[rbp], eax
	call	rand@PLT
	cdq
	shr	edx, 24
	add	eax, edx
	movzx	eax, al
	sub	eax, edx
	mov	BYTE PTR -191[rbp], al
	mov	eax, DWORD PTR -136[rbp]
	mov	edx, 1
	mov	ecx, eax
	sal	edx, cl
	mov	eax, edx
	mov	edx, eax
	movzx	eax, BYTE PTR -191[rbp]
	xor	eax, edx
	mov	BYTE PTR -190[rbp], al
	movzx	eax, BYTE PTR -191[rbp]
	movzx	eax, al
	mov	edx, DWORD PTR -136[rbp]
	mov	esi, edx
	mov	edi, eax
	call	answer_6
	mov	BYTE PTR -189[rbp], al
	movzx	eax, BYTE PTR -190[rbp]
	cmp	al, BYTE PTR -189[rbp]
	setne	dl
	mov	eax, DWORD PTR -188[rbp]
	cdqe
	mov	BYTE PTR -106[rbp+rax], dl
	mov	eax, DWORD PTR -188[rbp]
	cdqe
	movzx	eax, BYTE PTR -106[rbp+rax]
	test	al, al
	jne	.L109
	add	DWORD PTR -164[rbp], 1
.L66:
	cmp	DWORD PTR -164[rbp], 49
	jle	.L69
	jmp	.L68
.L109:
	nop
.L68:
	mov	eax, DWORD PTR -188[rbp]
	cdqe
	movzx	eax, BYTE PTR -106[rbp+rax]
	test	al, al
	je	.L70
	lea	rax, .LC3[rip]
	jmp	.L71
.L70:
	lea	rax, .LC4[rip]
.L71:
	movzx	edx, BYTE PTR -189[rbp]
	movzx	esi, BYTE PTR -190[rbp]
	mov	rcx, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L41
.L28:
	mov	edx, 5
	lea	rsi, .LC16[rip]
	mov	edi, 46
	call	print_heading
	lea	rdi, .LC17[rip]
	call	puts@PLT
	mov	DWORD PTR -160[rbp], 0
	jmp	.L72
.L75:
	call	rand@PLT
	cdq
	shr	edx, 29
	add	eax, edx
	and	eax, 7
	sub	eax, edx
	mov	DWORD PTR -136[rbp], eax
	call	rand@PLT
	cdq
	shr	edx, 24
	add	eax, edx
	movzx	eax, al
	sub	eax, edx
	mov	BYTE PTR -191[rbp], al
	movzx	eax, BYTE PTR -191[rbp]
	movzx	edx, al
	mov	eax, DWORD PTR -136[rbp]
	mov	ecx, eax
	sar	edx, cl
	mov	eax, edx
	and	eax, 1
	mov	BYTE PTR -190[rbp], al
	movzx	eax, BYTE PTR -191[rbp]
	movzx	eax, al
	mov	edx, DWORD PTR -136[rbp]
	mov	esi, edx
	mov	edi, eax
	call	answer_7
	mov	BYTE PTR -189[rbp], al
	movzx	eax, BYTE PTR -190[rbp]
	cmp	al, BYTE PTR -189[rbp]
	setne	dl
	mov	eax, DWORD PTR -188[rbp]
	cdqe
	mov	BYTE PTR -106[rbp+rax], dl
	mov	eax, DWORD PTR -188[rbp]
	cdqe
	movzx	eax, BYTE PTR -106[rbp+rax]
	test	al, al
	jne	.L110
	add	DWORD PTR -160[rbp], 1
.L72:
	cmp	DWORD PTR -160[rbp], 49
	jle	.L75
	jmp	.L74
.L110:
	nop
.L74:
	mov	eax, DWORD PTR -188[rbp]
	cdqe
	movzx	eax, BYTE PTR -106[rbp+rax]
	test	al, al
	je	.L76
	lea	rax, .LC3[rip]
	jmp	.L77
.L76:
	lea	rax, .LC4[rip]
.L77:
	movzx	edx, BYTE PTR -189[rbp]
	movzx	esi, BYTE PTR -190[rbp]
	mov	rcx, rax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L41
.L27:
	mov	edx, 5
	lea	rsi, .LC19[rip]
	mov	edi, 46
	call	print_heading
	lea	rdi, .LC20[rip]
	call	puts@PLT
	mov	DWORD PTR -156[rbp], 0
	jmp	.L78
.L81:
	call	rand@PLT
	cdq
	shr	edx, 29
	add	eax, edx
	and	eax, 7
	sub	eax, edx
	mov	DWORD PTR -136[rbp], eax
	call	rand@PLT
	cdq
	shr	edx, 29
	add	eax, edx
	and	eax, 7
	sub	eax, edx
	mov	DWORD PTR -132[rbp], eax
	call	rand@PLT
	cdq
	shr	edx, 24
	add	eax, edx
	movzx	eax, al
	sub	eax, edx
	mov	BYTE PTR -191[rbp], al
	movzx	eax, BYTE PTR -191[rbp]
	movzx	edx, al
	mov	eax, DWORD PTR -136[rbp]
	mov	esi, 1
	mov	ecx, eax
	sal	esi, cl
	mov	eax, esi
	or	eax, edx
	not	eax
	mov	edx, eax
	mov	eax, DWORD PTR -132[rbp]
	mov	ecx, eax
	sar	edx, cl
	mov	eax, edx
	and	eax, 1
	mov	BYTE PTR -190[rbp], al
	movzx	eax, BYTE PTR -191[rbp]
	movzx	eax, al
	mov	edx, DWORD PTR -132[rbp]
	mov	ecx, DWORD PTR -136[rbp]
	mov	esi, ecx
	mov	edi, eax
	call	answer_8
	mov	BYTE PTR -189[rbp], al
	movzx	eax, BYTE PTR -190[rbp]
	cmp	al, BYTE PTR -189[rbp]
	setne	dl
	mov	eax, DWORD PTR -188[rbp]
	cdqe
	mov	BYTE PTR -106[rbp+rax], dl
	mov	eax, DWORD PTR -188[rbp]
	cdqe
	movzx	eax, BYTE PTR -106[rbp+rax]
	test	al, al
	jne	.L111
	add	DWORD PTR -156[rbp], 1
.L78:
	cmp	DWORD PTR -156[rbp], 49
	jle	.L81
	jmp	.L80
.L111:
	nop
.L80:
	mov	eax, DWORD PTR -188[rbp]
	cdqe
	movzx	eax, BYTE PTR -106[rbp+rax]
	test	al, al
	je	.L82
	lea	rax, .LC3[rip]
	jmp	.L83
.L82:
	lea	rax, .LC4[rip]
.L83:
	movzx	edx, BYTE PTR -189[rbp]
	movzx	esi, BYTE PTR -190[rbp]
	mov	rcx, rax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L41
.L26:
	mov	edx, 5
	lea	rsi, .LC21[rip]
	mov	edi, 46
	call	print_heading
	lea	rdi, .LC22[rip]
	call	puts@PLT
	mov	DWORD PTR -152[rbp], 0
	jmp	.L84
.L87:
	call	rand@PLT
	cdq
	shr	edx, 29
	add	eax, edx
	and	eax, 7
	sub	eax, edx
	mov	DWORD PTR -136[rbp], eax
	mov	eax, DWORD PTR -136[rbp]
	add	eax, 1
	mov	edx, -1
	mov	ecx, eax
	sal	edx, cl
	mov	eax, edx
	not	eax
	mov	BYTE PTR -190[rbp], al
	mov	eax, DWORD PTR -136[rbp]
	mov	edi, eax
	call	answer_9
	mov	BYTE PTR -189[rbp], al
	movzx	eax, BYTE PTR -190[rbp]
	cmp	al, BYTE PTR -189[rbp]
	setne	dl
	mov	eax, DWORD PTR -188[rbp]
	cdqe
	mov	BYTE PTR -106[rbp+rax], dl
	mov	eax, DWORD PTR -188[rbp]
	cdqe
	movzx	eax, BYTE PTR -106[rbp+rax]
	test	al, al
	jne	.L112
	add	DWORD PTR -152[rbp], 1
.L84:
	cmp	DWORD PTR -152[rbp], 49
	jle	.L87
	jmp	.L86
.L112:
	nop
.L86:
	mov	eax, DWORD PTR -188[rbp]
	cdqe
	movzx	eax, BYTE PTR -106[rbp+rax]
	test	al, al
	je	.L88
	lea	rax, .LC3[rip]
	jmp	.L89
.L88:
	lea	rax, .LC4[rip]
.L89:
	movzx	edx, BYTE PTR -189[rbp]
	movzx	esi, BYTE PTR -190[rbp]
	mov	rcx, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L41
.L24:
	mov	edx, 5
	lea	rsi, .LC23[rip]
	mov	edi, 46
	call	print_heading
	lea	rdi, .LC24[rip]
	call	puts@PLT
	mov	DWORD PTR -148[rbp], 0
	jmp	.L90
.L93:
	call	rand@PLT
	cdq
	shr	edx, 24
	add	eax, edx
	movzx	eax, al
	sub	eax, edx
	mov	BYTE PTR -191[rbp], al
	lea	rax, -191[rbp]
	mov	QWORD PTR -120[rbp], rax
	mov	rax, QWORD PTR -120[rbp]
	movzx	eax, BYTE PTR [rax]
	shr	al, 6
	mov	BYTE PTR -190[rbp], al
	mov	rax, QWORD PTR -120[rbp]
	mov	rdi, rax
	call	answer_10
	mov	BYTE PTR -189[rbp], al
	movzx	eax, BYTE PTR -190[rbp]
	cmp	al, BYTE PTR -189[rbp]
	setne	dl
	mov	eax, DWORD PTR -188[rbp]
	cdqe
	mov	BYTE PTR -106[rbp+rax], dl
	mov	eax, DWORD PTR -188[rbp]
	cdqe
	movzx	eax, BYTE PTR -106[rbp+rax]
	test	al, al
	jne	.L113
	add	DWORD PTR -148[rbp], 1
.L90:
	cmp	DWORD PTR -148[rbp], 49
	jle	.L93
	jmp	.L92
.L113:
	nop
.L92:
	mov	eax, DWORD PTR -188[rbp]
	cdqe
	movzx	eax, BYTE PTR -106[rbp+rax]
	test	al, al
	je	.L94
	lea	rax, .LC3[rip]
	jmp	.L95
.L94:
	lea	rax, .LC4[rip]
.L95:
	movzx	edx, BYTE PTR -189[rbp]
	movzx	esi, BYTE PTR -190[rbp]
	mov	rcx, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L41
.L23:
	mov	eax, -1
	jmp	.L102
.L41:
	mov	edx, 0
	mov	esi, 0
	mov	edi, 46
	call	print_heading
	lea	rdi, .LC25[rip]
	call	puts@PLT
	add	DWORD PTR -188[rbp], 1
.L22:
	cmp	DWORD PTR -188[rbp], 9
	jle	.L97
	mov	DWORD PTR -144[rbp], 0
	mov	DWORD PTR -140[rbp], 0
	jmp	.L98
.L99:
	mov	eax, DWORD PTR -140[rbp]
	cdqe
	movzx	eax, BYTE PTR -106[rbp+rax]
	xor	eax, 1
	movzx	eax, al
	add	DWORD PTR -144[rbp], eax
	add	DWORD PTR -140[rbp], 1
.L98:
	cmp	DWORD PTR -140[rbp], 9
	jle	.L99
	mov	edx, 0
	mov	esi, 0
	mov	edi, 126
	call	print_heading
	mov	edx, DWORD PTR -144[rbp]
	lea	rax, -96[rbp]
	mov	ecx, 10
	lea	rsi, .LC26[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rax, -96[rbp]
	mov	edx, 16
	mov	rsi, rax
	mov	edi, 126
	call	print_heading
	mov	edx, 0
	mov	esi, 0
	mov	edi, 126
	call	print_heading
	cmp	DWORD PTR -144[rbp], 10
	jne	.L100
	lea	rax, -96[rbp]
	lea	rsi, .LC27[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rax, -96[rbp]
	lea	rsi, .LC28[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	jmp	.L101
.L100:
	lea	rax, -96[rbp]
	lea	rsi, .LC29[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
.L101:
	lea	rax, -96[rbp]
	mov	edx, 12
	mov	rsi, rax
	mov	edi, 126
	call	print_heading
	mov	edx, 0
	mov	esi, 0
	mov	edi, 126
	call	print_heading
	mov	eax, 0
.L102:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L103
	call	__stack_chk_fail@PLT
.L103:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	main, .-main
	.globl	print_heading
	.type	print_heading, @function
print_heading:
.LFB17:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	add	rsp, -128
	mov	eax, edi
	mov	QWORD PTR -128[rbp], rsi
	mov	DWORD PTR -120[rbp], edx
	mov	BYTE PTR -116[rbp], al
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	BYTE PTR -101[rbp], 0
	mov	DWORD PTR -100[rbp], 0
	jmp	.L115
.L122:
	cmp	DWORD PTR -100[rbp], 79
	jne	.L116
	mov	eax, DWORD PTR -100[rbp]
	cdqe
	mov	BYTE PTR -96[rbp+rax], 0
	jmp	.L117
.L116:
	cmp	QWORD PTR -128[rbp], 0
	jne	.L118
	mov	eax, DWORD PTR -100[rbp]
	cdqe
	movzx	edx, BYTE PTR -116[rbp]
	mov	BYTE PTR -96[rbp+rax], dl
	jmp	.L117
.L118:
	mov	eax, DWORD PTR -100[rbp]
	cmp	eax, DWORD PTR -120[rbp]
	jne	.L119
	mov	eax, DWORD PTR -100[rbp]
	cdqe
	mov	BYTE PTR -96[rbp+rax], 32
	jmp	.L117
.L119:
	mov	eax, DWORD PTR -100[rbp]
	cmp	eax, DWORD PTR -120[rbp]
	jle	.L120
	movzx	eax, BYTE PTR -101[rbp]
	xor	eax, 1
	test	al, al
	je	.L120
	mov	eax, DWORD PTR -100[rbp]
	sub	eax, DWORD PTR -120[rbp]
	cdqe
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -128[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L120
	mov	eax, DWORD PTR -100[rbp]
	cdqe
	mov	BYTE PTR -96[rbp+rax], 32
	mov	BYTE PTR -101[rbp], 1
	jmp	.L117
.L120:
	mov	eax, DWORD PTR -100[rbp]
	cmp	eax, DWORD PTR -120[rbp]
	jle	.L121
	movzx	eax, BYTE PTR -101[rbp]
	xor	eax, 1
	test	al, al
	je	.L121
	mov	eax, DWORD PTR -100[rbp]
	sub	eax, DWORD PTR -120[rbp]
	cdqe
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -128[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	eax, DWORD PTR -100[rbp]
	cdqe
	mov	BYTE PTR -96[rbp+rax], dl
	jmp	.L117
.L121:
	mov	eax, DWORD PTR -100[rbp]
	cdqe
	movzx	edx, BYTE PTR -116[rbp]
	mov	BYTE PTR -96[rbp+rax], dl
.L117:
	add	DWORD PTR -100[rbp], 1
.L115:
	cmp	DWORD PTR -100[rbp], 79
	jle	.L122
	lea	rax, -96[rbp]
	mov	rdi, rax
	call	puts@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L123
	call	__stack_chk_fail@PLT
.L123:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	print_heading, .-print_heading
	.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	"696762.c"
	.text
	.align	2
	.global	answer_1
	.syntax unified
	.arm
	.fpu softvfp
	.type	answer_1, %function
answer_1:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	mov	r2, #1
	ldr	r3, [fp, #-8]
	lsl	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	and	r3, r3, #255
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	answer_1, .-answer_1
	.align	2
	.global	answer_2
	.syntax unified
	.arm
	.fpu softvfp
	.type	answer_2, %function
answer_2:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	mov	r3, r0
	strb	r3, [fp, #-5]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	mov	r2, #1
	lsl	r3, r2, r3
	and	r3, r3, #255
	mvn	r3, r3
	strb	r3, [fp, #-5]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	answer_2, .-answer_2
	.align	2
	.global	answer_3
	.syntax unified
	.arm
	.fpu softvfp
	.type	answer_3, %function
answer_3:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	mov	r3, r0
	str	r1, [fp, #-12]
	strb	r3, [fp, #-5]
	mov	r2, #1
	ldr	r3, [fp, #-12]
	lsl	r3, r2, r3
	lsl	r3, r3, #24
	asr	r2, r3, #24
	ldrsb	r3, [fp, #-5]
	orr	r3, r2, r3
	lsl	r3, r3, #24
	asr	r3, r3, #24
	strb	r3, [fp, #-5]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	answer_3, .-answer_3
	.align	2
	.global	answer_4
	.syntax unified
	.arm
	.fpu softvfp
	.type	answer_4, %function
answer_4:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	mov	r3, r0
	str	r1, [fp, #-12]
	strb	r3, [fp, #-5]
	mov	r2, #1
	ldr	r3, [fp, #-12]
	lsl	r3, r2, r3
	lsl	r3, r3, #24
	asr	r3, r3, #24
	mvn	r3, r3
	lsl	r3, r3, #24
	asr	r2, r3, #24
	ldrsb	r3, [fp, #-5]
	and	r3, r3, r2
	lsl	r3, r3, #24
	asr	r3, r3, #24
	strb	r3, [fp, #-5]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	answer_4, .-answer_4
	.align	2
	.global	answer_5
	.syntax unified
	.arm
	.fpu softvfp
	.type	answer_5, %function
answer_5:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	mov	r3, r0
	strb	r3, [fp, #-5]
	ldrb	r3, [fp, #-5]
	mvn	r3, r3
	strb	r3, [fp, #-5]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	answer_5, .-answer_5
	.align	2
	.global	answer_6
	.syntax unified
	.arm
	.fpu softvfp
	.type	answer_6, %function
answer_6:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	mov	r3, r0
	str	r1, [fp, #-12]
	strb	r3, [fp, #-5]
	mov	r2, #1
	ldr	r3, [fp, #-12]
	lsl	r3, r2, r3
	lsl	r3, r3, #24
	asr	r2, r3, #24
	ldrsb	r3, [fp, #-5]
	eor	r3, r3, r2
	lsl	r3, r3, #24
	asr	r3, r3, #24
	strb	r3, [fp, #-5]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	answer_6, .-answer_6
	.align	2
	.global	answer_7
	.syntax unified
	.arm
	.fpu softvfp
	.type	answer_7, %function
answer_7:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	mov	r3, r0
	str	r1, [fp, #-12]
	strb	r3, [fp, #-5]
	ldrb	r2, [fp, #-5]	@ zero_extendqisi2
	ldr	r3, [fp, #-12]
	asr	r3, r2, r3
	and	r3, r3, #255
	and	r3, r3, #1
	strb	r3, [fp, #-5]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	answer_7, .-answer_7
	.align	2
	.global	answer_8
	.syntax unified
	.arm
	.fpu softvfp
	.type	answer_8, %function
answer_8:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	mov	r3, r0
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	strb	r3, [fp, #-5]
	ldrb	r2, [fp, #-5]	@ zero_extendqisi2
	mov	r1, #1
	ldr	r3, [fp, #-12]
	lsl	r3, r1, r3
	orr	r3, r2, r3
	mvn	r2, r3
	ldr	r3, [fp, #-16]
	asr	r3, r2, r3
	and	r3, r3, #255
	and	r3, r3, #1
	strb	r3, [fp, #-5]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	answer_8, .-answer_8
	.align	2
	.global	answer_9
	.syntax unified
	.arm
	.fpu softvfp
	.type	answer_9, %function
answer_9:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	mvn	r2, #0
	lsl	r3, r2, r3
	and	r3, r3, #255
	mvn	r3, r3
	strb	r3, [fp, #-5]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	answer_9, .-answer_9
	.align	2
	.global	answer_10
	.syntax unified
	.arm
	.fpu softvfp
	.type	answer_10, %function
answer_10:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsr	r3, r3, #6
	and	r3, r3, #255
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	and	r3, r3, #255
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	answer_10, .-answer_10
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Playing with bits and bytes\000"
	.align	2
.LC1:
	.ascii	"|PROBLEM 1|\000"
	.align	2
.LC2:
	.ascii	"'answer_1()' receives a bit number. Return a byte w"
	.ascii	"ith the corresponding bit\012set, and all other bit"
	.ascii	"s cleared.\012Testing...\000"
	.align	2
.LC3:
	.ascii	"FAILED!\000"
	.align	2
.LC4:
	.ascii	"PASSED!\000"
	.align	2
.LC5:
	.ascii	"Expected return:\0110x%02X\011\011Actual return:\011"
	.ascii	"0x%02X\011\011%s\012\000"
	.align	2
.LC6:
	.ascii	"|PROBLEM 2|\000"
	.align	2
.LC7:
	.ascii	"'answer_2()' receives a bit number. Return a byte w"
	.ascii	"ith the corresponding bit\012cleared, and all other"
	.ascii	" bits set.\012Testing...\000"
	.align	2
.LC8:
	.ascii	"|PROBLEM 3|\000"
	.align	2
.LC9:
	.ascii	"'answer_3()' receives a byte and bit number. Return"
	.ascii	" the same byte with the\012corresponding bit set, a"
	.ascii	"nd all other bits unchanged.\012Testing...\000"
	.align	2
.LC10:
	.ascii	"|PROBLEM 4|\000"
	.align	2
.LC11:
	.ascii	"'answer_4()' receives a byte and bit number. Return"
	.ascii	" the same byte with the\012corresponding bit cleare"
	.ascii	"d, and all other bits unchanged.\012Testing...\000"
	.align	2
.LC12:
	.ascii	"|PROBLEM 5|\000"
	.align	2
.LC13:
	.ascii	"'answer_5()' receives a byte. Return the byte with "
	.ascii	"all 8 bits toggled.\012Testing...\000"
	.align	2
.LC14:
	.ascii	"|PROBLEM 6|\000"
	.align	2
.LC15:
	.ascii	"'answer_6()' receives a byte and bit number. Return"
	.ascii	" the same byte with the\012corresponding bit toggle"
	.ascii	"d, and all other bits unchanged.\012Testing...\000"
	.align	2
.LC16:
	.ascii	"|PROBLEM 7|\000"
	.align	2
.LC17:
	.ascii	"'answer_7()' receives a byte and bit number. Return"
	.ascii	" the value (set or unset)\012of the corresponding b"
	.ascii	"it.\012Testing...\000"
	.align	2
.LC18:
	.ascii	"Expected return:\011%d\011\011\011Actual return:\011"
	.ascii	"%d\011\011\011%s\012\000"
	.align	2
.LC19:
	.ascii	"|PROBLEM 8|\000"
	.align	2
.LC20:
	.ascii	"'answer_8()' receives a byte and two bit numbers. S"
	.ascii	"et the bit corresponding\012to the first bit number"
	.ascii	", toggle every bit in the byte, then return the val"
	.ascii	"ue of\012the bit corresponding to the second bit nu"
	.ascii	"mber.\012Testing...\000"
	.align	2
.LC21:
	.ascii	"|PROBLEM 9|\000"
	.align	2
.LC22:
	.ascii	"'answer_9()' receives a bit number. Return a byte w"
	.ascii	"ith every bit up to\012and including that bit numbe"
	.ascii	"r set, with all other bits cleared.\012Testing...\000"
	.align	2
.LC23:
	.ascii	"|PROBLEM 10|\000"
	.align	2
.LC24:
	.ascii	"'answer_10()' receives a pointer to a byte. Return "
	.ascii	"the data in the two most\012significant bits of tha"
	.ascii	"t byte.\012Testing...\000"
	.align	2
.LC25:
	.ascii	"\012\000"
	.align	2
.LC26:
	.ascii	"Your total score for the problems was: %.2d / %.2d\000"
	.align	2
.LC27:
	.ascii	"You managed to find where all of your missing data "
	.ascii	"was!\000"
	.align	2
.LC28:
	.ascii	"Well done. You've mastered playing with bits and by"
	.ascii	"tes!\000"
	.align	2
.LC29:
	.ascii	"Keep on playing with my bits until you get them all"
	.ascii	" ...\000"
	.align	2
.LC30:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 168
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #168
	ldr	r3, .L114
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #168
	mov	r0, r3
	bl	time
	mov	r3, r0
	mov	r0, r3
	bl	srand
	mov	r2, #0
	mov	r1, #0
	mov	r0, #126
	bl	print_heading
	mov	r2, #26
	ldr	r1, .L114+4
	mov	r0, #126
	bl	print_heading
	mov	r2, #0
	mov	r1, #0
	mov	r0, #126
	bl	print_heading
	mov	r0, #10
	bl	putchar
	mov	r3, #0
	str	r3, [fp, #-164]
	b	.L22
.L97:
	ldr	r3, [fp, #-164]
	cmp	r3, #9
	ldrls	pc, [pc, r3, asl #2]
	b	.L23
.L25:
	.word	.L34
	.word	.L33
	.word	.L32
	.word	.L31
	.word	.L30
	.word	.L29
	.word	.L28
	.word	.L27
	.word	.L26
	.word	.L24
.L34:
	mov	r2, #5
	ldr	r1, .L114+8
	mov	r0, #46
	bl	print_heading
	ldr	r0, .L114+12
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-160]
	b	.L35
.L38:
	bl	rand
	mov	r3, r0
	rsbs	r2, r3, #0
	and	r3, r3, #7
	and	r2, r2, #7
	rsbpl	r3, r2, #0
	str	r3, [fp, #-108]
	mov	r2, #1
	ldr	r3, [fp, #-108]
	lsl	r3, r2, r3
	strb	r3, [fp, #-170]
	ldr	r0, [fp, #-108]
	bl	answer_1
	mov	r3, r0
	strb	r3, [fp, #-169]
	ldrb	r2, [fp, #-170]	@ zero_extendqisi2
	ldrb	r3, [fp, #-169]	@ zero_extendqisi2
	cmp	r2, r3
	movne	r3, #1
	moveq	r3, #0
	and	r1, r3, #255
	sub	r2, fp, #100
	ldr	r3, [fp, #-164]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	sub	r2, fp, #100
	ldr	r3, [fp, #-164]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L104
	ldr	r3, [fp, #-160]
	add	r3, r3, #1
	str	r3, [fp, #-160]
.L35:
	ldr	r3, [fp, #-160]
	cmp	r3, #49
	ble	.L38
	b	.L37
.L104:
	nop
.L37:
	ldrb	r1, [fp, #-170]	@ zero_extendqisi2
	ldrb	r0, [fp, #-169]	@ zero_extendqisi2
	sub	r2, fp, #100
	ldr	r3, [fp, #-164]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L39
	ldr	r3, .L114+16
	b	.L40
.L39:
	ldr	r3, .L114+20
.L40:
	mov	r2, r0
	ldr	r0, .L114+24
	bl	printf
	b	.L41
.L33:
	mov	r2, #5
	ldr	r1, .L114+28
	mov	r0, #46
	bl	print_heading
	ldr	r0, .L114+32
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-156]
	b	.L42
.L45:
	bl	rand
	mov	r3, r0
	rsbs	r2, r3, #0
	and	r3, r3, #7
	and	r2, r2, #7
	rsbpl	r3, r2, #0
	str	r3, [fp, #-108]
	mov	r2, #1
	ldr	r3, [fp, #-108]
	lsl	r3, r2, r3
	and	r3, r3, #255
	mvn	r3, r3
	strb	r3, [fp, #-170]
	ldr	r3, [fp, #-108]
	and	r3, r3, #255
	mov	r0, r3
	bl	answer_2
	mov	r3, r0
	strb	r3, [fp, #-169]
	ldrb	r2, [fp, #-170]	@ zero_extendqisi2
	ldrb	r3, [fp, #-169]	@ zero_extendqisi2
	cmp	r2, r3
	movne	r3, #1
	moveq	r3, #0
	and	r1, r3, #255
	sub	r2, fp, #100
	ldr	r3, [fp, #-164]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	sub	r2, fp, #100
	ldr	r3, [fp, #-164]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L105
	ldr	r3, [fp, #-156]
	add	r3, r3, #1
	str	r3, [fp, #-156]
.L42:
	ldr	r3, [fp, #-156]
	cmp	r3, #49
	ble	.L45
	b	.L44
.L105:
	nop
.L44:
	ldrb	r1, [fp, #-170]	@ zero_extendqisi2
	ldrb	r0, [fp, #-169]	@ zero_extendqisi2
	sub	r2, fp, #100
	ldr	r3, [fp, #-164]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L46
	ldr	r3, .L114+16
	b	.L47
.L46:
	ldr	r3, .L114+20
.L47:
	mov	r2, r0
	ldr	r0, .L114+24
	bl	printf
	b	.L41
.L32:
	mov	r2, #5
	ldr	r1, .L114+36
	mov	r0, #46
	bl	print_heading
	ldr	r0, .L114+40
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-152]
	b	.L48
.L51:
	bl	rand
	mov	r3, r0
	rsbs	r2, r3, #0
	and	r3, r3, #7
	and	r2, r2, #7
	rsbpl	r3, r2, #0
	str	r3, [fp, #-108]
	bl	rand
	mov	r3, r0
	rsbs	r2, r3, #0
	and	r3, r3, #255
	and	r2, r2, #255
	rsbpl	r3, r2, #0
	and	r3, r3, #255
	strb	r3, [fp, #-171]
	mov	r2, #1
	ldr	r3, [fp, #-108]
	lsl	r3, r2, r3
	lsl	r3, r3, #24
	asr	r2, r3, #24
	ldrb	r3, [fp, #-171]	@ zero_extendqisi2
	lsl	r3, r3, #24
	asr	r3, r3, #24
	orr	r3, r2, r3
	lsl	r3, r3, #24
	asr	r3, r3, #24
	strb	r3, [fp, #-170]
	ldrb	r3, [fp, #-171]	@ zero_extendqisi2
	ldr	r1, [fp, #-108]
	mov	r0, r3
	bl	answer_3
	mov	r3, r0
	strb	r3, [fp, #-169]
	ldrb	r2, [fp, #-170]	@ zero_extendqisi2
	ldrb	r3, [fp, #-169]	@ zero_extendqisi2
	cmp	r2, r3
	movne	r3, #1
	moveq	r3, #0
	and	r1, r3, #255
	sub	r2, fp, #100
	ldr	r3, [fp, #-164]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	sub	r2, fp, #100
	ldr	r3, [fp, #-164]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L106
	ldr	r3, [fp, #-152]
	add	r3, r3, #1
	str	r3, [fp, #-152]
.L48:
	ldr	r3, [fp, #-152]
	cmp	r3, #49
	ble	.L51
	b	.L50
.L106:
	nop
.L50:
	ldrb	r1, [fp, #-170]	@ zero_extendqisi2
	ldrb	r0, [fp, #-169]	@ zero_extendqisi2
	sub	r2, fp, #100
	ldr	r3, [fp, #-164]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L52
	ldr	r3, .L114+16
	b	.L53
.L52:
	ldr	r3, .L114+20
.L53:
	mov	r2, r0
	ldr	r0, .L114+24
	bl	printf
	b	.L41
.L31:
	mov	r2, #5
	ldr	r1, .L114+44
	mov	r0, #46
	bl	print_heading
	ldr	r0, .L114+48
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-148]
	b	.L54
.L57:
	bl	rand
	mov	r3, r0
	rsbs	r2, r3, #0
	and	r3, r3, #7
	and	r2, r2, #7
	rsbpl	r3, r2, #0
	str	r3, [fp, #-108]
	bl	rand
	mov	r3, r0
	rsbs	r2, r3, #0
	and	r3, r3, #255
	and	r2, r2, #255
	rsbpl	r3, r2, #0
	and	r3, r3, #255
	strb	r3, [fp, #-171]
	mov	r2, #1
	ldr	r3, [fp, #-108]
	lsl	r3, r2, r3
	lsl	r3, r3, #24
	asr	r3, r3, #24
	mvn	r3, r3
	lsl	r3, r3, #24
	asr	r2, r3, #24
	ldrb	r3, [fp, #-171]	@ zero_extendqisi2
	lsl	r3, r3, #24
	asr	r3, r3, #24
	and	r3, r3, r2
	lsl	r3, r3, #24
	asr	r3, r3, #24
	strb	r3, [fp, #-170]
	ldrb	r3, [fp, #-171]	@ zero_extendqisi2
	ldr	r1, [fp, #-108]
	mov	r0, r3
	bl	answer_4
	mov	r3, r0
	strb	r3, [fp, #-169]
	ldrb	r2, [fp, #-170]	@ zero_extendqisi2
	ldrb	r3, [fp, #-169]	@ zero_extendqisi2
	cmp	r2, r3
	movne	r3, #1
	moveq	r3, #0
	and	r1, r3, #255
	sub	r2, fp, #100
	ldr	r3, [fp, #-164]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	sub	r2, fp, #100
	ldr	r3, [fp, #-164]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L107
	ldr	r3, [fp, #-148]
	add	r3, r3, #1
	str	r3, [fp, #-148]
.L54:
	ldr	r3, [fp, #-148]
	cmp	r3, #49
	ble	.L57
	b	.L56
.L107:
	nop
.L56:
	ldrb	r1, [fp, #-170]	@ zero_extendqisi2
	ldrb	r0, [fp, #-169]	@ zero_extendqisi2
	sub	r2, fp, #100
	ldr	r3, [fp, #-164]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L58
	ldr	r3, .L114+16
	b	.L59
.L58:
	ldr	r3, .L114+20
.L59:
	mov	r2, r0
	ldr	r0, .L114+24
	bl	printf
	b	.L41
.L30:
	mov	r2, #5
	ldr	r1, .L114+52
	mov	r0, #46
	bl	print_heading
	ldr	r0, .L114+56
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-144]
	b	.L60
.L63:
	bl	rand
	mov	r3, r0
	rsbs	r2, r3, #0
	and	r3, r3, #255
	and	r2, r2, #255
	rsbpl	r3, r2, #0
	and	r3, r3, #255
	strb	r3, [fp, #-171]
	ldrb	r3, [fp, #-171]	@ zero_extendqisi2
	mvn	r3, r3
	strb	r3, [fp, #-170]
	ldrb	r3, [fp, #-171]	@ zero_extendqisi2
	mov	r0, r3
	bl	answer_5
	mov	r3, r0
	strb	r3, [fp, #-169]
	ldrb	r2, [fp, #-170]	@ zero_extendqisi2
	ldrb	r3, [fp, #-169]	@ zero_extendqisi2
	cmp	r2, r3
	movne	r3, #1
	moveq	r3, #0
	and	r1, r3, #255
	sub	r2, fp, #100
	ldr	r3, [fp, #-164]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	sub	r2, fp, #100
	ldr	r3, [fp, #-164]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L108
	ldr	r3, [fp, #-144]
	add	r3, r3, #1
	str	r3, [fp, #-144]
.L60:
	ldr	r3, [fp, #-144]
	cmp	r3, #49
	ble	.L63
	b	.L62
.L108:
	nop
.L62:
	ldrb	r1, [fp, #-170]	@ zero_extendqisi2
	ldrb	r0, [fp, #-169]	@ zero_extendqisi2
	sub	r2, fp, #100
	ldr	r3, [fp, #-164]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L64
	ldr	r3, .L114+16
	b	.L65
.L64:
	ldr	r3, .L114+20
.L65:
	mov	r2, r0
	ldr	r0, .L114+24
	bl	printf
	b	.L41
.L29:
	mov	r2, #5
	ldr	r1, .L114+60
	mov	r0, #46
	bl	print_heading
	ldr	r0, .L114+64
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-140]
	b	.L66
.L69:
	bl	rand
	mov	r3, r0
	rsbs	r2, r3, #0
	and	r3, r3, #7
	and	r2, r2, #7
	rsbpl	r3, r2, #0
	str	r3, [fp, #-108]
	bl	rand
	mov	r3, r0
	rsbs	r2, r3, #0
	and	r3, r3, #255
	and	r2, r2, #255
	rsbpl	r3, r2, #0
	and	r3, r3, #255
	strb	r3, [fp, #-171]
	mov	r2, #1
	ldr	r3, [fp, #-108]
	lsl	r3, r2, r3
	lsl	r3, r3, #24
	asr	r2, r3, #24
	ldrb	r3, [fp, #-171]	@ zero_extendqisi2
	lsl	r3, r3, #24
	asr	r3, r3, #24
	eor	r3, r3, r2
	lsl	r3, r3, #24
	asr	r3, r3, #24
	strb	r3, [fp, #-170]
	ldrb	r3, [fp, #-171]	@ zero_extendqisi2
	ldr	r1, [fp, #-108]
	mov	r0, r3
	bl	answer_6
	mov	r3, r0
	strb	r3, [fp, #-169]
	ldrb	r2, [fp, #-170]	@ zero_extendqisi2
	ldrb	r3, [fp, #-169]	@ zero_extendqisi2
	cmp	r2, r3
	movne	r3, #1
	moveq	r3, #0
	and	r1, r3, #255
	sub	r2, fp, #100
	ldr	r3, [fp, #-164]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	sub	r2, fp, #100
	ldr	r3, [fp, #-164]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L109
	ldr	r3, [fp, #-140]
	add	r3, r3, #1
	str	r3, [fp, #-140]
.L66:
	ldr	r3, [fp, #-140]
	cmp	r3, #49
	ble	.L69
	b	.L68
.L109:
	nop
.L68:
	ldrb	r1, [fp, #-170]	@ zero_extendqisi2
	ldrb	r0, [fp, #-169]	@ zero_extendqisi2
	sub	r2, fp, #100
	ldr	r3, [fp, #-164]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L70
	ldr	r3, .L114+16
	b	.L71
.L70:
	ldr	r3, .L114+20
.L71:
	mov	r2, r0
	ldr	r0, .L114+24
	bl	printf
	b	.L41
.L28:
	mov	r2, #5
	ldr	r1, .L114+68
	mov	r0, #46
	bl	print_heading
	ldr	r0, .L114+72
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-136]
	b	.L72
.L75:
	bl	rand
	mov	r3, r0
	rsbs	r2, r3, #0
	and	r3, r3, #7
	and	r2, r2, #7
	rsbpl	r3, r2, #0
	str	r3, [fp, #-108]
	bl	rand
	mov	r3, r0
	rsbs	r2, r3, #0
	and	r3, r3, #255
	and	r2, r2, #255
	rsbpl	r3, r2, #0
	and	r3, r3, #255
	strb	r3, [fp, #-171]
	ldrb	r3, [fp, #-171]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-108]
	asr	r3, r2, r3
	and	r3, r3, #255
	and	r3, r3, #1
	strb	r3, [fp, #-170]
	ldrb	r3, [fp, #-171]	@ zero_extendqisi2
	ldr	r1, [fp, #-108]
	mov	r0, r3
	bl	answer_7
	mov	r3, r0
	strb	r3, [fp, #-169]
	ldrb	r2, [fp, #-170]	@ zero_extendqisi2
	ldrb	r3, [fp, #-169]	@ zero_extendqisi2
	cmp	r2, r3
	movne	r3, #1
	moveq	r3, #0
	and	r1, r3, #255
	sub	r2, fp, #100
	ldr	r3, [fp, #-164]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	sub	r2, fp, #100
	ldr	r3, [fp, #-164]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L110
	ldr	r3, [fp, #-136]
	add	r3, r3, #1
	str	r3, [fp, #-136]
.L72:
	ldr	r3, [fp, #-136]
	cmp	r3, #49
	ble	.L75
	b	.L74
.L110:
	nop
.L74:
	ldrb	r1, [fp, #-170]	@ zero_extendqisi2
	ldrb	r0, [fp, #-169]	@ zero_extendqisi2
	sub	r2, fp, #100
	ldr	r3, [fp, #-164]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L76
	ldr	r3, .L114+16
	b	.L77
.L76:
	ldr	r3, .L114+20
.L77:
	mov	r2, r0
	ldr	r0, .L114+76
	bl	printf
	b	.L41
.L27:
	mov	r2, #5
	ldr	r1, .L114+80
	mov	r0, #46
	bl	print_heading
	ldr	r0, .L114+84
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-132]
	b	.L78
.L81:
	bl	rand
	mov	r3, r0
	rsbs	r2, r3, #0
	and	r3, r3, #7
	and	r2, r2, #7
	rsbpl	r3, r2, #0
	str	r3, [fp, #-108]
	bl	rand
	mov	r3, r0
	rsbs	r2, r3, #0
	and	r3, r3, #7
	and	r2, r2, #7
	rsbpl	r3, r2, #0
	str	r3, [fp, #-104]
	bl	rand
	mov	r3, r0
	rsbs	r2, r3, #0
	and	r3, r3, #255
	and	r2, r2, #255
	rsbpl	r3, r2, #0
	and	r3, r3, #255
	strb	r3, [fp, #-171]
	ldrb	r3, [fp, #-171]	@ zero_extendqisi2
	mov	r1, r3
	mov	r2, #1
	ldr	r3, [fp, #-108]
	lsl	r3, r2, r3
	orr	r3, r1, r3
	mvn	r2, r3
	ldr	r3, [fp, #-104]
	asr	r3, r2, r3
	and	r3, r3, #255
	and	r3, r3, #1
	strb	r3, [fp, #-170]
	ldrb	r3, [fp, #-171]	@ zero_extendqisi2
	ldr	r2, [fp, #-104]
	ldr	r1, [fp, #-108]
	mov	r0, r3
	bl	answer_8
	mov	r3, r0
	strb	r3, [fp, #-169]
	ldrb	r2, [fp, #-170]	@ zero_extendqisi2
	ldrb	r3, [fp, #-169]	@ zero_extendqisi2
	cmp	r2, r3
	movne	r3, #1
	moveq	r3, #0
	and	r1, r3, #255
	sub	r2, fp, #100
	ldr	r3, [fp, #-164]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	sub	r2, fp, #100
	ldr	r3, [fp, #-164]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L111
	ldr	r3, [fp, #-132]
	add	r3, r3, #1
	str	r3, [fp, #-132]
.L78:
	ldr	r3, [fp, #-132]
	cmp	r3, #49
	ble	.L81
	b	.L80
.L111:
	nop
.L80:
	ldrb	r1, [fp, #-170]	@ zero_extendqisi2
	ldrb	r0, [fp, #-169]	@ zero_extendqisi2
	sub	r2, fp, #100
	ldr	r3, [fp, #-164]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L82
	ldr	r3, .L114+16
	b	.L83
.L82:
	ldr	r3, .L114+20
.L83:
	mov	r2, r0
	ldr	r0, .L114+76
	bl	printf
	b	.L41
.L26:
	mov	r2, #5
	ldr	r1, .L114+88
	mov	r0, #46
	bl	print_heading
	ldr	r0, .L114+92
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-128]
	b	.L84
.L87:
	bl	rand
	mov	r3, r0
	rsbs	r2, r3, #0
	and	r3, r3, #7
	and	r2, r2, #7
	rsbpl	r3, r2, #0
	str	r3, [fp, #-108]
	ldr	r3, [fp, #-108]
	add	r3, r3, #1
	mvn	r2, #0
	lsl	r3, r2, r3
	and	r3, r3, #255
	mvn	r3, r3
	strb	r3, [fp, #-170]
	ldr	r0, [fp, #-108]
	bl	answer_9
	mov	r3, r0
	strb	r3, [fp, #-169]
	ldrb	r2, [fp, #-170]	@ zero_extendqisi2
	ldrb	r3, [fp, #-169]	@ zero_extendqisi2
	cmp	r2, r3
	movne	r3, #1
	moveq	r3, #0
	and	r1, r3, #255
	sub	r2, fp, #100
	ldr	r3, [fp, #-164]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	sub	r2, fp, #100
	ldr	r3, [fp, #-164]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L112
	ldr	r3, [fp, #-128]
	add	r3, r3, #1
	str	r3, [fp, #-128]
.L84:
	ldr	r3, [fp, #-128]
	cmp	r3, #49
	ble	.L87
	b	.L86
.L112:
	nop
.L86:
	ldrb	r1, [fp, #-170]	@ zero_extendqisi2
	ldrb	r0, [fp, #-169]	@ zero_extendqisi2
	sub	r2, fp, #100
	ldr	r3, [fp, #-164]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L88
	ldr	r3, .L114+16
	b	.L89
.L88:
	ldr	r3, .L114+20
.L89:
	mov	r2, r0
	ldr	r0, .L114+24
	bl	printf
	b	.L41
.L24:
	mov	r2, #5
	ldr	r1, .L114+96
	mov	r0, #46
	bl	print_heading
	ldr	r0, .L114+100
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-124]
	b	.L90
.L93:
	bl	rand
	mov	r3, r0
	rsbs	r2, r3, #0
	and	r3, r3, #255
	and	r2, r2, #255
	rsbpl	r3, r2, #0
	and	r3, r3, #255
	strb	r3, [fp, #-171]
	sub	r3, fp, #171
	str	r3, [fp, #-112]
	ldr	r3, [fp, #-112]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsr	r3, r3, #6
	strb	r3, [fp, #-170]
	ldr	r0, [fp, #-112]
	bl	answer_10
	mov	r3, r0
	strb	r3, [fp, #-169]
	ldrb	r2, [fp, #-170]	@ zero_extendqisi2
	ldrb	r3, [fp, #-169]	@ zero_extendqisi2
	cmp	r2, r3
	movne	r3, #1
	moveq	r3, #0
	and	r1, r3, #255
	sub	r2, fp, #100
	ldr	r3, [fp, #-164]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	sub	r2, fp, #100
	ldr	r3, [fp, #-164]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L113
	ldr	r3, [fp, #-124]
	add	r3, r3, #1
	str	r3, [fp, #-124]
.L90:
	ldr	r3, [fp, #-124]
	cmp	r3, #49
	ble	.L93
	b	.L92
.L113:
	nop
.L92:
	ldrb	r1, [fp, #-170]	@ zero_extendqisi2
	ldrb	r0, [fp, #-169]	@ zero_extendqisi2
	sub	r2, fp, #100
	ldr	r3, [fp, #-164]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L94
	ldr	r3, .L114+16
	b	.L95
.L94:
	ldr	r3, .L114+20
.L95:
	mov	r2, r0
	ldr	r0, .L114+24
	bl	printf
	b	.L41
.L23:
	mvn	r3, #0
	b	.L102
.L41:
	mov	r2, #0
	mov	r1, #0
	mov	r0, #46
	bl	print_heading
	ldr	r0, .L114+104
	bl	puts
	ldr	r3, [fp, #-164]
	add	r3, r3, #1
	str	r3, [fp, #-164]
.L22:
	ldr	r3, [fp, #-164]
	cmp	r3, #9
	ble	.L97
	mov	r3, #0
	str	r3, [fp, #-120]
	mov	r3, #0
	str	r3, [fp, #-116]
	b	.L98
.L99:
	sub	r2, fp, #100
	ldr	r3, [fp, #-116]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	eor	r3, r3, #1
	and	r3, r3, #255
	mov	r2, r3
	ldr	r3, [fp, #-120]
	add	r3, r3, r2
	str	r3, [fp, #-120]
	ldr	r3, [fp, #-116]
	add	r3, r3, #1
	str	r3, [fp, #-116]
.L98:
	ldr	r3, [fp, #-116]
	cmp	r3, #9
	ble	.L99
	mov	r2, #0
	mov	r1, #0
	mov	r0, #126
	bl	print_heading
	sub	r0, fp, #88
	mov	r3, #10
	ldr	r2, [fp, #-120]
	ldr	r1, .L114+108
	bl	sprintf
	sub	r3, fp, #88
	mov	r2, #16
	mov	r1, r3
	mov	r0, #126
	bl	print_heading
	mov	r2, #0
	mov	r1, #0
	mov	r0, #126
	bl	print_heading
	ldr	r3, [fp, #-120]
	cmp	r3, #10
	bne	.L100
	sub	r3, fp, #88
	ldr	r1, .L114+112
	mov	r0, r3
	bl	sprintf
	sub	r3, fp, #88
	ldr	r1, .L114+116
	mov	r0, r3
	bl	sprintf
	b	.L101
.L100:
	sub	r3, fp, #88
	ldr	r1, .L114+120
	mov	r0, r3
	bl	sprintf
.L101:
	sub	r3, fp, #88
	mov	r2, #12
	mov	r1, r3
	mov	r0, #126
	bl	print_heading
	mov	r2, #0
	mov	r1, #0
	mov	r0, #126
	bl	print_heading
	mov	r3, #0
.L102:
	ldr	r2, .L114
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L103
	bl	__stack_chk_fail
.L103:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L115:
	.align	2
.L114:
	.word	.LC30
	.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
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.word	.LC29
	.size	main, .-main
	.section	.rodata
	.align	2
.LC31:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	print_heading
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_heading, %function
print_heading:
	@ args = 0, pretend = 0, frame = 112
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #112
	mov	r3, r0
	str	r1, [fp, #-108]
	str	r2, [fp, #-112]
	strb	r3, [fp, #-101]
	ldr	r3, .L126
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	strb	r3, [fp, #-93]
	mov	r3, #0
	str	r3, [fp, #-92]
	b	.L117
.L124:
	ldr	r3, [fp, #-92]
	cmp	r3, #79
	bne	.L118
	sub	r2, fp, #88
	ldr	r3, [fp, #-92]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	b	.L119
.L118:
	ldr	r3, [fp, #-108]
	cmp	r3, #0
	bne	.L120
	sub	r2, fp, #88
	ldr	r3, [fp, #-92]
	add	r3, r2, r3
	ldrb	r2, [fp, #-101]
	strb	r2, [r3]
	b	.L119
.L120:
	ldr	r2, [fp, #-92]
	ldr	r3, [fp, #-112]
	cmp	r2, r3
	bne	.L121
	sub	r2, fp, #88
	ldr	r3, [fp, #-92]
	add	r3, r2, r3
	mov	r2, #32
	strb	r2, [r3]
	b	.L119
.L121:
	ldr	r2, [fp, #-92]
	ldr	r3, [fp, #-112]
	cmp	r2, r3
	ble	.L122
	ldrb	r3, [fp, #-93]
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L122
	ldr	r2, [fp, #-92]
	ldr	r3, [fp, #-112]
	sub	r3, r2, r3
	sub	r3, r3, #1
	ldr	r2, [fp, #-108]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L122
	sub	r2, fp, #88
	ldr	r3, [fp, #-92]
	add	r3, r2, r3
	mov	r2, #32
	strb	r2, [r3]
	mov	r3, #1
	strb	r3, [fp, #-93]
	b	.L119
.L122:
	ldr	r2, [fp, #-92]
	ldr	r3, [fp, #-112]
	cmp	r2, r3
	ble	.L123
	ldrb	r3, [fp, #-93]
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L123
	ldr	r2, [fp, #-92]
	ldr	r3, [fp, #-112]
	sub	r3, r2, r3
	sub	r3, r3, #1
	ldr	r2, [fp, #-108]
	add	r3, r2, r3
	ldrb	r1, [r3]	@ zero_extendqisi2
	sub	r2, fp, #88
	ldr	r3, [fp, #-92]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	b	.L119
.L123:
	sub	r2, fp, #88
	ldr	r3, [fp, #-92]
	add	r3, r2, r3
	ldrb	r2, [fp, #-101]
	strb	r2, [r3]
.L119:
	ldr	r3, [fp, #-92]
	add	r3, r3, #1
	str	r3, [fp, #-92]
.L117:
	ldr	r3, [fp, #-92]
	cmp	r3, #79
	ble	.L124
	sub	r3, fp, #88
	mov	r0, r3
	bl	puts
	nop
	ldr	r3, .L126
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L125
	bl	__stack_chk_fail
.L125:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L127:
	.align	2
.L126:
	.word	.LC31
	.size	print_heading, .-print_heading
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
