	.file	"418581.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"static unsigned char %s[256] = {\n"
.LC1:
	.string	"    "
.LC2:
	.string	"%s%d"
.LC3:
	.string	",\t/* 0x%02x - 0x%02x */\n"
.LC4:
	.string	", "
.LC5:
	.string	"\n};"
	.text
	.globl	dumparray
	.type	dumparray, @function
dumparray:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, .LC1[rip]
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -12[rbp], 0
	jmp	.L2
.L5:
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	edx, al
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -12[rbp]
	add	eax, 1
	and	eax, 15
	test	eax, eax
	jne	.L3
	mov	eax, DWORD PTR -12[rbp]
	lea	ecx, -15[rax]
	mov	eax, DWORD PTR -12[rbp]
	mov	edx, eax
	mov	esi, ecx
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, .LC1[rip]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L4
.L3:
	lea	rax, .LC4[rip]
	mov	QWORD PTR -8[rbp], rax
.L4:
	add	DWORD PTR -12[rbp], 1
.L2:
	cmp	DWORD PTR -12[rbp], 255
	jle	.L5
	lea	rdi, .LC5[rip]
	call	puts@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	dumparray, .-dumparray
	.section	.rodata
.LC6:
	.string	"bruns"
.LC7:
	.string	"wruns"
	.text
	.globl	main
	.type	main, @function
main:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r13
	push	r12
	push	rbx
	sub	rsp, 536
	.cfi_offset 13, -24
	.cfi_offset 12, -32
	.cfi_offset 3, -40
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -40[rbp], rax
	xor	eax, eax
	lea	rax, -560[rbp]
	mov	edx, 256
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rax, -560[rbp]
	add	rax, 256
	mov	edx, 256
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	r13d, 1
	mov	r12d, 128
	jmp	.L7
.L10:
	lea	ebx, -1[r12]
	jmp	.L8
.L9:
	mov	eax, r12d
	or	eax, ebx
	mov	edx, r13d
	cdqe
	mov	BYTE PTR -304[rbp+rax], dl
	mov	eax, r12d
	or	eax, ebx
	not	eax
	movzx	eax, al
	mov	edx, r13d
	cdqe
	mov	BYTE PTR -560[rbp+rax], dl
	sub	ebx, 1
.L8:
	test	ebx, ebx
	jns	.L9
	add	r13d, 1
	mov	eax, r12d
	sar	eax
	or	al, -128
	mov	r12d, eax
.L7:
	cmp	r12d, 255
	jne	.L10
	mov	BYTE PTR -560[rbp], 8
	movzx	eax, BYTE PTR -560[rbp]
	mov	BYTE PTR -49[rbp], al
	lea	rax, -560[rbp]
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	dumparray
	lea	rax, -560[rbp]
	add	rax, 256
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	dumparray
	mov	eax, 0
	mov	rcx, QWORD PTR -40[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	add	rsp, 536
	pop	rbx
	pop	r12
	pop	r13
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.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	"418581.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"static unsigned char %s[256] = {\012\000"
	.align	2
.LC1:
	.ascii	"    \000"
	.align	2
.LC2:
	.ascii	"%s%d\000"
	.align	2
.LC3:
	.ascii	",\011/* 0x%02x - 0x%02x */\012\000"
	.align	2
.LC4:
	.ascii	", \000"
	.align	2
.LC5:
	.ascii	"\012};\000"
	.text
	.align	2
	.global	dumparray
	.syntax unified
	.arm
	.fpu softvfp
	.type	dumparray, %function
dumparray:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r1, [fp, #-16]
	ldr	r0, .L6
	bl	printf
	ldr	r3, .L6+4
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L2
.L5:
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r1, [fp, #-8]
	ldr	r0, .L6+8
	bl	printf
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	and	r3, r3, #15
	cmp	r3, #0
	bne	.L3
	ldr	r3, [fp, #-12]
	sub	r3, r3, #15
	ldr	r2, [fp, #-12]
	mov	r1, r3
	ldr	r0, .L6+12
	bl	printf
	ldr	r3, .L6+4
	str	r3, [fp, #-8]
	b	.L4
.L3:
	ldr	r3, .L6+16
	str	r3, [fp, #-8]
.L4:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L2:
	ldr	r3, [fp, #-12]
	cmp	r3, #255
	ble	.L5
	ldr	r0, .L6+20
	bl	puts
	nop
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L7:
	.align	2
.L6:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	dumparray, .-dumparray
	.section	.rodata
	.align	2
.LC6:
	.ascii	"bruns\000"
	.align	2
.LC7:
	.ascii	"wruns\000"
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 520
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, fp, lr}
	add	fp, sp, #16
	sub	sp, sp, #524
	ldr	r3, .L15
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	sub	r3, fp, #536
	mov	r2, #256
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #536
	add	r3, r3, #256
	mov	r2, #256
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r6, #1
	mov	r4, #128
	b	.L9
.L12:
	sub	r5, r4, #1
	b	.L10
.L11:
	orr	r3, r4, r5
	and	r2, r6, #255
	sub	r1, fp, #20
	add	r3, r1, r3
	strb	r2, [r3, #-260]
	orr	r3, r4, r5
	mvn	r3, r3
	and	r3, r3, #255
	and	r2, r6, #255
	sub	r1, fp, #20
	add	r3, r1, r3
	strb	r2, [r3, #-516]
	sub	r5, r5, #1
.L10:
	cmp	r5, #0
	bge	.L11
	add	r6, r6, #1
	asr	r3, r4, #1
	orr	r4, r3, #128
.L9:
	cmp	r4, #255
	bne	.L12
	mov	r3, #8
	strb	r3, [fp, #-536]
	ldrb	r3, [fp, #-536]	@ zero_extendqisi2
	strb	r3, [fp, #-25]
	sub	r3, fp, #536
	mov	r1, r3
	ldr	r0, .L15+4
	bl	dumparray
	sub	r3, fp, #536
	add	r3, r3, #256
	mov	r1, r3
	ldr	r0, .L15+8
	bl	dumparray
	mov	r3, #0
	ldr	r2, .L15
	ldr	r1, [r2]
	ldr	r2, [fp, #-24]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L14
	bl	__stack_chk_fail
.L14:
	mov	r0, r3
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, fp, pc}
.L16:
	.align	2
.L15:
	.word	.LC8
	.word	.LC6
	.word	.LC7
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
