	.file	"435760.c"
	.intel_syntax noprefix
	.text
	.globl	map
	.bss
	.align 32
	.type	map, @object
	.size	map, 2048
map:
	.zero	2048
	.section	.rodata
.LC0:
	.string	"wb"
.LC1:
	.string	"background.blob"
	.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, 64
	mov	DWORD PTR -56[rbp], 0
	jmp	.L2
.L5:
	mov	DWORD PTR -52[rbp], 0
	jmp	.L3
.L4:
	mov	edx, DWORD PTR -52[rbp]
	mov	eax, DWORD PTR -56[rbp]
	sal	rax, 5
	add	rdx, rax
	lea	rax, map[rip]
	add	rax, rdx
	mov	BYTE PTR [rax], -1
	add	DWORD PTR -52[rbp], 1
.L3:
	cmp	DWORD PTR -52[rbp], 31
	jbe	.L4
	add	DWORD PTR -56[rbp], 1
.L2:
	cmp	DWORD PTR -56[rbp], 63
	jbe	.L5
	mov	DWORD PTR -48[rbp], 0
	jmp	.L6
.L11:
	mov	DWORD PTR -44[rbp], 0
	jmp	.L7
.L10:
	mov	eax, DWORD PTR -48[rbp]
	sal	eax, 2
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -44[rbp]
	sal	eax, 2
	mov	DWORD PTR -16[rbp], eax
	call	rand@PLT
	cdq
	shr	edx, 31
	add	eax, edx
	and	eax, 1
	sub	eax, edx
	add	DWORD PTR -20[rbp], eax
	call	rand@PLT
	cdq
	shr	edx, 31
	add	eax, edx
	and	eax, 1
	sub	eax, edx
	add	DWORD PTR -16[rbp], eax
	call	rand@PLT
	cdq
	shr	edx, 29
	add	eax, edx
	and	eax, 7
	sub	eax, edx
	mov	edx, eax
	mov	ecx, DWORD PTR -16[rbp]
	mov	eax, DWORD PTR -20[rbp]
	sal	rax, 5
	add	rcx, rax
	lea	rax, map[rip]
	add	rax, rcx
	mov	BYTE PTR [rax], dl
	mov	eax, DWORD PTR -48[rbp]
	sal	eax, 2
	add	eax, 2
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -44[rbp]
	sal	eax, 2
	add	eax, 2
	mov	DWORD PTR -16[rbp], eax
	call	rand@PLT
	cdq
	shr	edx, 28
	add	eax, edx
	and	eax, 15
	sub	eax, edx
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], 3
	ja	.L8
	mov	eax, DWORD PTR -12[rbp]
	add	eax, 2
	sal	eax, 2
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	mov	edx, eax
	mov	ecx, DWORD PTR -16[rbp]
	mov	eax, DWORD PTR -20[rbp]
	sal	rax, 5
	add	rcx, rax
	lea	rax, map[rip]
	add	rax, rcx
	mov	BYTE PTR [rax], dl
	mov	eax, DWORD PTR -12[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -20[rbp]
	lea	ecx, 1[rax]
	add	edx, 1
	mov	eax, DWORD PTR -16[rbp]
	mov	ecx, ecx
	sal	rcx, 5
	add	rcx, rax
	lea	rax, map[rip]
	add	rax, rcx
	mov	BYTE PTR [rax], dl
	mov	eax, DWORD PTR -12[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -16[rbp]
	add	eax, 1
	add	edx, 2
	mov	ecx, eax
	mov	eax, DWORD PTR -20[rbp]
	sal	rax, 5
	add	rcx, rax
	lea	rax, map[rip]
	add	rax, rcx
	mov	BYTE PTR [rax], dl
	mov	eax, DWORD PTR -12[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -20[rbp]
	lea	ecx, 1[rax]
	mov	eax, DWORD PTR -16[rbp]
	add	eax, 1
	add	edx, 3
	mov	esi, eax
	mov	eax, ecx
	sal	rax, 5
	lea	rcx, [rax+rsi]
	lea	rax, map[rip]
	add	rax, rcx
	mov	BYTE PTR [rax], dl
	jmp	.L9
.L8:
	cmp	DWORD PTR -12[rbp], 11
	ja	.L9
	call	rand@PLT
	cdq
	shr	edx, 31
	add	eax, edx
	and	eax, 1
	sub	eax, edx
	add	DWORD PTR -20[rbp], eax
	call	rand@PLT
	cdq
	shr	edx, 31
	add	eax, edx
	and	eax, 1
	sub	eax, edx
	add	DWORD PTR -16[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	lea	edx, -4[rax]
	mov	ecx, DWORD PTR -16[rbp]
	mov	eax, DWORD PTR -20[rbp]
	sal	rax, 5
	add	rcx, rax
	lea	rax, map[rip]
	add	rax, rcx
	mov	BYTE PTR [rax], dl
.L9:
	add	DWORD PTR -44[rbp], 1
.L7:
	cmp	DWORD PTR -44[rbp], 7
	jbe	.L10
	add	DWORD PTR -48[rbp], 1
.L6:
	cmp	DWORD PTR -48[rbp], 15
	jbe	.L11
	mov	DWORD PTR -40[rbp], 0
	jmp	.L12
.L15:
	mov	DWORD PTR -36[rbp], 0
	jmp	.L13
.L14:
	mov	edx, DWORD PTR -36[rbp]
	mov	eax, DWORD PTR -40[rbp]
	sal	rax, 5
	add	rdx, rax
	lea	rax, map[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	lea	edx, 1[rax]
	mov	ecx, DWORD PTR -36[rbp]
	mov	eax, DWORD PTR -40[rbp]
	sal	rax, 5
	add	rcx, rax
	lea	rax, map[rip]
	add	rax, rcx
	mov	BYTE PTR [rax], dl
	add	DWORD PTR -36[rbp], 1
.L13:
	cmp	DWORD PTR -36[rbp], 31
	jbe	.L14
	add	DWORD PTR -40[rbp], 1
.L12:
	cmp	DWORD PTR -40[rbp], 63
	jbe	.L15
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -32[rbp], 0
	jmp	.L16
.L19:
	mov	DWORD PTR -28[rbp], 0
	jmp	.L17
.L18:
	mov	eax, DWORD PTR -32[rbp]
	shr	eax
	mov	DWORD PTR -24[rbp], eax
	mov	edx, DWORD PTR -28[rbp]
	mov	eax, DWORD PTR -24[rbp]
	add	eax, edx
	and	eax, 63
	mov	edx, eax
	mov	eax, DWORD PTR -32[rbp]
	mov	edx, edx
	sal	rdx, 5
	add	rdx, rax
	lea	rax, map[rip]
	lea	rdi, [rdx+rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	edx, 1
	mov	esi, 1
	call	fwrite@PLT
	add	DWORD PTR -28[rbp], 1
.L17:
	cmp	DWORD PTR -28[rbp], 63
	jbe	.L18
	add	DWORD PTR -32[rbp], 1
.L16:
	cmp	DWORD PTR -32[rbp], 31
	jbe	.L19
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
	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	"435760.c"
	.text
	.comm	map,2048,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"wb\000"
	.align	2
.LC1:
	.ascii	"background.blob\000"
	.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
	mov	r3, #0
	str	r3, [fp, #-56]
	b	.L2
.L5:
	mov	r3, #0
	str	r3, [fp, #-52]
	b	.L3
.L4:
	ldr	r2, .L21
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #5
	add	r2, r2, r3
	ldr	r3, [fp, #-52]
	add	r3, r2, r3
	mvn	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L3:
	ldr	r3, [fp, #-52]
	cmp	r3, #31
	bls	.L4
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L2:
	ldr	r3, [fp, #-56]
	cmp	r3, #63
	bls	.L5
	mov	r3, #0
	str	r3, [fp, #-48]
	b	.L6
.L11:
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L7
.L10:
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #2
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #2
	str	r3, [fp, #-12]
	bl	rand
	mov	r3, r0
	cmp	r3, #0
	and	r3, r3, #1
	rsblt	r3, r3, #0
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	str	r3, [fp, #-16]
	bl	rand
	mov	r3, r0
	cmp	r3, #0
	and	r3, r3, #1
	rsblt	r3, r3, #0
	mov	r2, r3
	ldr	r3, [fp, #-12]
	add	r3, r3, r2
	str	r3, [fp, #-12]
	bl	rand
	mov	r3, r0
	rsbs	r2, r3, #0
	and	r3, r3, #7
	and	r2, r2, #7
	rsbpl	r3, r2, #0
	and	r1, r3, #255
	ldr	r2, .L21
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #5
	add	r2, r2, r3
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #2
	add	r3, r3, #2
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #2
	add	r3, r3, #2
	str	r3, [fp, #-12]
	bl	rand
	mov	r3, r0
	rsbs	r2, r3, #0
	and	r3, r3, #15
	and	r2, r2, #15
	rsbpl	r3, r2, #0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #3
	bhi	.L8
	ldr	r3, [fp, #-8]
	add	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	and	r1, r3, #255
	ldr	r2, .L21
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #5
	add	r2, r2, r3
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	and	r2, r3, #255
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	add	r2, r2, #1
	and	r1, r2, #255
	ldr	r2, .L21
	lsl	r3, r3, #5
	add	r2, r2, r3
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	and	r2, r3, #255
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	add	r2, r2, #2
	and	r0, r2, #255
	ldr	r1, .L21
	ldr	r2, [fp, #-16]
	lsl	r2, r2, #5
	add	r2, r1, r2
	add	r3, r2, r3
	mov	r2, r0
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	and	r1, r3, #255
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	add	r1, r1, #3
	and	r0, r1, #255
	ldr	r1, .L21
	lsl	r2, r2, #5
	add	r2, r1, r2
	add	r3, r2, r3
	mov	r2, r0
	strb	r2, [r3]
	b	.L9
.L8:
	ldr	r3, [fp, #-8]
	cmp	r3, #11
	bhi	.L9
	bl	rand
	mov	r3, r0
	cmp	r3, #0
	and	r3, r3, #1
	rsblt	r3, r3, #0
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	str	r3, [fp, #-16]
	bl	rand
	mov	r3, r0
	cmp	r3, #0
	and	r3, r3, #1
	rsblt	r3, r3, #0
	mov	r2, r3
	ldr	r3, [fp, #-12]
	add	r3, r3, r2
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-8]
	and	r3, r3, #255
	sub	r3, r3, #4
	and	r1, r3, #255
	ldr	r2, .L21
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #5
	add	r2, r2, r3
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
.L9:
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L7:
	ldr	r3, [fp, #-44]
	cmp	r3, #7
	bls	.L10
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L6:
	ldr	r3, [fp, #-48]
	cmp	r3, #15
	bls	.L11
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L12
.L15:
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L13
.L14:
	ldr	r2, .L21
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #5
	add	r2, r2, r3
	ldr	r3, [fp, #-36]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	add	r3, r3, #1
	and	r1, r3, #255
	ldr	r2, .L21
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #5
	add	r2, r2, r3
	ldr	r3, [fp, #-36]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L13:
	ldr	r3, [fp, #-36]
	cmp	r3, #31
	bls	.L14
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L12:
	ldr	r3, [fp, #-40]
	cmp	r3, #63
	bls	.L15
	ldr	r1, .L21+4
	ldr	r0, .L21+8
	bl	fopen
	str	r0, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L16
.L19:
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L17
.L18:
	ldr	r3, [fp, #-32]
	lsr	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	and	r3, r3, #63
	lsl	r2, r3, #5
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	ldr	r2, .L21
	add	r0, r3, r2
	ldr	r3, [fp, #-24]
	mov	r2, #1
	mov	r1, #1
	bl	fwrite
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L17:
	ldr	r3, [fp, #-28]
	cmp	r3, #63
	bls	.L18
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L16:
	ldr	r3, [fp, #-32]
	cmp	r3, #31
	bls	.L19
	ldr	r0, [fp, #-24]
	bl	fclose
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L22:
	.align	2
.L21:
	.word	map
	.word	.LC0
	.word	.LC1
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
