	.file	"522358.c"
	.intel_syntax noprefix
	.text
	.globl	size
	.type	size, @function
size:
.LFB6:
	.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]
	mov	edx, DWORD PTR 8[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	ecx, DWORD PTR 4[rax]
	mov	eax, edx
	sub	eax, ecx
	add	eax, 1
	movsx	rdx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	ecx, DWORD PTR 16[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, DWORD PTR 12[rax]
	mov	eax, ecx
	sub	eax, esi
	cdqe
	add	rax, 1
	imul	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	ecx, DWORD PTR 24[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, DWORD PTR 20[rax]
	mov	eax, ecx
	sub	eax, esi
	cdqe
	add	rax, 1
	imul	rax, rdx
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	size, .-size
	.section	.rodata
.LC0:
	.string	"on "
.LC1:
	.string	"off"
	.align 8
.LC2:
	.string	"[%s][%ld] x=%d..%d y=%d..%d z=%d..%d\n"
	.text
	.globl	print_box
	.type	print_box, @function
print_box:
.LFB7:
	.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	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	size
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	r8d, DWORD PTR 24[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	edi, DWORD PTR 20[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, DWORD PTR 16[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	r9d, DWORD PTR 12[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	r10d, DWORD PTR 8[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	ecx, DWORD PTR 4[rax]
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR 1[rax]
	test	al, al
	je	.L4
	lea	rax, .LC0[rip]
	jmp	.L5
.L4:
	lea	rax, .LC1[rip]
.L5:
	mov	rdx, QWORD PTR -8[rbp]
	sub	rsp, 8
	push	r8
	push	rdi
	push	rsi
	mov	r8d, r10d
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	add	rsp, 32
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	print_box, .-print_box
	.globl	contains
	.type	contains, @function
contains:
.LFB8:
	.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	QWORD PTR -16[rbp], rsi
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR 4[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 4[rax]
	cmp	edx, eax
	jl	.L7
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR 8[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 8[rax]
	cmp	edx, eax
	jg	.L7
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR 12[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 12[rax]
	cmp	edx, eax
	jl	.L7
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR 16[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 16[rax]
	cmp	edx, eax
	jg	.L7
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR 20[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 20[rax]
	cmp	edx, eax
	jl	.L7
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR 24[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 24[rax]
	cmp	edx, eax
	jg	.L7
	mov	eax, 1
	jmp	.L8
.L7:
	mov	eax, 0
.L8:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	contains, .-contains
	.globl	overlap
	.type	overlap, @function
overlap:
.LFB9:
	.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	QWORD PTR -16[rbp], rsi
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR 4[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 4[rax]
	cmp	edx, eax
	cmovge	eax, edx
	mov	ecx, eax
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR 8[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 8[rax]
	cmp	edx, eax
	cmovle	eax, edx
	cmp	ecx, eax
	jle	.L10
	mov	eax, 0
	jmp	.L11
.L10:
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR 12[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 12[rax]
	cmp	edx, eax
	cmovge	eax, edx
	mov	ecx, eax
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR 16[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 16[rax]
	cmp	edx, eax
	cmovle	eax, edx
	cmp	ecx, eax
	jle	.L12
	mov	eax, 0
	jmp	.L11
.L12:
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR 20[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 20[rax]
	cmp	edx, eax
	cmovge	eax, edx
	mov	ecx, eax
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR 24[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 24[rax]
	cmp	edx, eax
	cmovle	eax, edx
	cmp	ecx, eax
	jle	.L13
	mov	eax, 0
	jmp	.L11
.L13:
	mov	eax, 1
.L11:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	overlap, .-overlap
	.globl	merge
	.type	merge, @function
merge:
.LFB10:
	.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	QWORD PTR -72[rbp], rdi
	mov	QWORD PTR -80[rbp], rsi
	mov	QWORD PTR -88[rbp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -52[rbp], 0
	mov	BYTE PTR -48[rbp], 1
	mov	rax, QWORD PTR -80[rbp]
	mov	edx, DWORD PTR 8[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 8[rax]
	cmp	edx, eax
	cmovle	eax, edx
	add	eax, 1
	mov	DWORD PTR -44[rbp], eax
	mov	ecx, DWORD PTR -44[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	edx, DWORD PTR 8[rax]
	mov	rax, QWORD PTR -80[rbp]
	mov	esi, DWORD PTR 8[rax]
	mov	eax, edx
	sub	eax, esi
	cdq
	xor	eax, edx
	sub	eax, edx
	sub	eax, 1
	add	eax, ecx
	mov	DWORD PTR -40[rbp], eax
	mov	eax, DWORD PTR -40[rbp]
	mov	edx, DWORD PTR -44[rbp]
	sub	eax, edx
	test	eax, eax
	js	.L15
	mov	rax, QWORD PTR -72[rbp]
	mov	edx, DWORD PTR 8[rax]
	mov	rax, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR 8[rax]
	cmp	edx, eax
	jle	.L16
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 12[rax]
	jmp	.L17
.L16:
	mov	rax, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR 12[rax]
.L17:
	mov	DWORD PTR -36[rbp], eax
	mov	rax, QWORD PTR -72[rbp]
	mov	edx, DWORD PTR 8[rax]
	mov	rax, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR 8[rax]
	cmp	edx, eax
	jle	.L18
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 16[rax]
	jmp	.L19
.L18:
	mov	rax, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR 16[rax]
.L19:
	mov	DWORD PTR -32[rbp], eax
	mov	rax, QWORD PTR -72[rbp]
	mov	edx, DWORD PTR 8[rax]
	mov	rax, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR 8[rax]
	cmp	edx, eax
	jle	.L20
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 20[rax]
	jmp	.L21
.L20:
	mov	rax, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR 20[rax]
.L21:
	mov	DWORD PTR -28[rbp], eax
	mov	rax, QWORD PTR -72[rbp]
	mov	edx, DWORD PTR 8[rax]
	mov	rax, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR 8[rax]
	cmp	edx, eax
	jle	.L22
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 24[rax]
	jmp	.L23
.L22:
	mov	rax, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR 24[rax]
.L23:
	mov	DWORD PTR -24[rbp], eax
	mov	rax, QWORD PTR -72[rbp]
	mov	edx, DWORD PTR 8[rax]
	mov	rax, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR 8[rax]
	cmp	edx, eax
	jle	.L24
	mov	rax, QWORD PTR -72[rbp]
	movzx	eax, BYTE PTR 1[rax]
	movzx	eax, al
	test	eax, eax
	setne	al
	jmp	.L25
.L24:
	mov	rax, QWORD PTR -80[rbp]
	movzx	eax, BYTE PTR 1[rax]
	movzx	eax, al
	test	eax, eax
	setne	al
.L25:
	mov	BYTE PTR -47[rbp], al
	mov	eax, DWORD PTR -52[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -52[rbp], edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -88[rbp]
	lea	rcx, [rdx+rax]
	lea	rax, -48[rbp]
	mov	edx, 28
	mov	rsi, rax
	mov	rdi, rcx
	call	memcpy@PLT
.L15:
	mov	rax, QWORD PTR -80[rbp]
	mov	edx, DWORD PTR 4[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 4[rax]
	cmp	edx, eax
	cmovle	eax, edx
	mov	DWORD PTR -44[rbp], eax
	mov	ecx, DWORD PTR -44[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	edx, DWORD PTR 4[rax]
	mov	rax, QWORD PTR -80[rbp]
	mov	esi, DWORD PTR 4[rax]
	mov	eax, edx
	sub	eax, esi
	cdq
	xor	eax, edx
	sub	eax, edx
	sub	eax, 1
	add	eax, ecx
	mov	DWORD PTR -40[rbp], eax
	mov	eax, DWORD PTR -40[rbp]
	mov	edx, DWORD PTR -44[rbp]
	sub	eax, edx
	test	eax, eax
	js	.L26
	mov	rax, QWORD PTR -72[rbp]
	mov	edx, DWORD PTR 4[rax]
	mov	rax, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR 4[rax]
	cmp	edx, eax
	jge	.L27
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 12[rax]
	jmp	.L28
.L27:
	mov	rax, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR 12[rax]
.L28:
	mov	DWORD PTR -36[rbp], eax
	mov	rax, QWORD PTR -72[rbp]
	mov	edx, DWORD PTR 4[rax]
	mov	rax, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR 4[rax]
	cmp	edx, eax
	jge	.L29
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 16[rax]
	jmp	.L30
.L29:
	mov	rax, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR 16[rax]
.L30:
	mov	DWORD PTR -32[rbp], eax
	mov	rax, QWORD PTR -72[rbp]
	mov	edx, DWORD PTR 4[rax]
	mov	rax, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR 4[rax]
	cmp	edx, eax
	jge	.L31
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 20[rax]
	jmp	.L32
.L31:
	mov	rax, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR 20[rax]
.L32:
	mov	DWORD PTR -28[rbp], eax
	mov	rax, QWORD PTR -72[rbp]
	mov	edx, DWORD PTR 4[rax]
	mov	rax, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR 4[rax]
	cmp	edx, eax
	jge	.L33
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 24[rax]
	jmp	.L34
.L33:
	mov	rax, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR 24[rax]
.L34:
	mov	DWORD PTR -24[rbp], eax
	mov	rax, QWORD PTR -72[rbp]
	mov	edx, DWORD PTR 4[rax]
	mov	rax, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR 4[rax]
	cmp	edx, eax
	jge	.L35
	mov	rax, QWORD PTR -72[rbp]
	movzx	eax, BYTE PTR 1[rax]
	movzx	eax, al
	test	eax, eax
	setne	al
	jmp	.L36
.L35:
	mov	rax, QWORD PTR -80[rbp]
	movzx	eax, BYTE PTR 1[rax]
	movzx	eax, al
	test	eax, eax
	setne	al
.L36:
	mov	BYTE PTR -47[rbp], al
	mov	eax, DWORD PTR -52[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -52[rbp], edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -88[rbp]
	lea	rcx, [rdx+rax]
	lea	rax, -48[rbp]
	mov	edx, 28
	mov	rsi, rax
	mov	rdi, rcx
	call	memcpy@PLT
.L26:
	mov	rax, QWORD PTR -80[rbp]
	mov	edx, DWORD PTR 16[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 16[rax]
	cmp	edx, eax
	cmovge	eax, edx
	mov	DWORD PTR -32[rbp], eax
	mov	edx, DWORD PTR -32[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	ecx, DWORD PTR 16[rax]
	mov	rax, QWORD PTR -80[rbp]
	mov	esi, DWORD PTR 16[rax]
	mov	eax, ecx
	sub	eax, esi
	mov	ecx, eax
	sar	ecx, 31
	xor	eax, ecx
	sub	eax, ecx
	lea	ecx, -1[rax]
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR -36[rbp], eax
	mov	eax, DWORD PTR -32[rbp]
	mov	edx, DWORD PTR -36[rbp]
	sub	eax, edx
	test	eax, eax
	js	.L37
	mov	rax, QWORD PTR -80[rbp]
	mov	edx, DWORD PTR 4[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 4[rax]
	cmp	edx, eax
	cmovge	eax, edx
	mov	DWORD PTR -44[rbp], eax
	mov	rax, QWORD PTR -80[rbp]
	mov	edx, DWORD PTR 8[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 8[rax]
	cmp	edx, eax
	cmovle	eax, edx
	mov	DWORD PTR -40[rbp], eax
	mov	rax, QWORD PTR -72[rbp]
	mov	edx, DWORD PTR 16[rax]
	mov	rax, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR 16[rax]
	cmp	edx, eax
	jle	.L38
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 20[rax]
	jmp	.L39
.L38:
	mov	rax, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR 20[rax]
.L39:
	mov	DWORD PTR -28[rbp], eax
	mov	rax, QWORD PTR -72[rbp]
	mov	edx, DWORD PTR 16[rax]
	mov	rax, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR 16[rax]
	cmp	edx, eax
	jle	.L40
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 24[rax]
	jmp	.L41
.L40:
	mov	rax, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR 24[rax]
.L41:
	mov	DWORD PTR -24[rbp], eax
	mov	rax, QWORD PTR -72[rbp]
	mov	edx, DWORD PTR 16[rax]
	mov	rax, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR 16[rax]
	cmp	edx, eax
	jle	.L42
	mov	rax, QWORD PTR -72[rbp]
	movzx	eax, BYTE PTR 1[rax]
	movzx	eax, al
	test	eax, eax
	setne	al
	jmp	.L43
.L42:
	mov	rax, QWORD PTR -80[rbp]
	movzx	eax, BYTE PTR 1[rax]
	movzx	eax, al
	test	eax, eax
	setne	al
.L43:
	mov	BYTE PTR -47[rbp], al
	mov	eax, DWORD PTR -52[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -52[rbp], edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -88[rbp]
	lea	rcx, [rdx+rax]
	lea	rax, -48[rbp]
	mov	edx, 28
	mov	rsi, rax
	mov	rdi, rcx
	call	memcpy@PLT
.L37:
	mov	rax, QWORD PTR -80[rbp]
	mov	edx, DWORD PTR 12[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 12[rax]
	cmp	edx, eax
	cmovle	eax, edx
	mov	DWORD PTR -36[rbp], eax
	mov	ecx, DWORD PTR -36[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	edx, DWORD PTR 12[rax]
	mov	rax, QWORD PTR -80[rbp]
	mov	esi, DWORD PTR 12[rax]
	mov	eax, edx
	sub	eax, esi
	cdq
	xor	eax, edx
	sub	eax, edx
	sub	eax, 1
	add	eax, ecx
	mov	DWORD PTR -32[rbp], eax
	mov	eax, DWORD PTR -32[rbp]
	mov	edx, DWORD PTR -36[rbp]
	sub	eax, edx
	test	eax, eax
	js	.L44
	mov	rax, QWORD PTR -80[rbp]
	mov	edx, DWORD PTR 4[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 4[rax]
	cmp	edx, eax
	cmovge	eax, edx
	mov	DWORD PTR -44[rbp], eax
	mov	rax, QWORD PTR -80[rbp]
	mov	edx, DWORD PTR 8[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 8[rax]
	cmp	edx, eax
	cmovle	eax, edx
	mov	DWORD PTR -40[rbp], eax
	mov	rax, QWORD PTR -72[rbp]
	mov	edx, DWORD PTR 12[rax]
	mov	rax, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR 12[rax]
	cmp	edx, eax
	jge	.L45
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 20[rax]
	jmp	.L46
.L45:
	mov	rax, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR 20[rax]
.L46:
	mov	DWORD PTR -28[rbp], eax
	mov	rax, QWORD PTR -72[rbp]
	mov	edx, DWORD PTR 12[rax]
	mov	rax, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR 12[rax]
	cmp	edx, eax
	jge	.L47
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 24[rax]
	jmp	.L48
.L47:
	mov	rax, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR 24[rax]
.L48:
	mov	DWORD PTR -24[rbp], eax
	mov	rax, QWORD PTR -72[rbp]
	mov	edx, DWORD PTR 12[rax]
	mov	rax, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR 12[rax]
	cmp	edx, eax
	jge	.L49
	mov	rax, QWORD PTR -72[rbp]
	movzx	eax, BYTE PTR 1[rax]
	movzx	eax, al
	test	eax, eax
	setne	al
	jmp	.L50
.L49:
	mov	rax, QWORD PTR -80[rbp]
	movzx	eax, BYTE PTR 1[rax]
	movzx	eax, al
	test	eax, eax
	setne	al
.L50:
	mov	BYTE PTR -47[rbp], al
	mov	eax, DWORD PTR -52[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -52[rbp], edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -88[rbp]
	lea	rcx, [rdx+rax]
	lea	rax, -48[rbp]
	mov	edx, 28
	mov	rsi, rax
	mov	rdi, rcx
	call	memcpy@PLT
.L44:
	mov	rax, QWORD PTR -80[rbp]
	mov	edx, DWORD PTR 24[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 24[rax]
	cmp	edx, eax
	cmovge	eax, edx
	mov	DWORD PTR -24[rbp], eax
	mov	edx, DWORD PTR -24[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	ecx, DWORD PTR 24[rax]
	mov	rax, QWORD PTR -80[rbp]
	mov	esi, DWORD PTR 24[rax]
	mov	eax, ecx
	sub	eax, esi
	mov	ecx, eax
	sar	ecx, 31
	xor	eax, ecx
	sub	eax, ecx
	lea	ecx, -1[rax]
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR -28[rbp], eax
	mov	eax, DWORD PTR -24[rbp]
	mov	edx, DWORD PTR -28[rbp]
	sub	eax, edx
	test	eax, eax
	js	.L51
	mov	rax, QWORD PTR -80[rbp]
	mov	edx, DWORD PTR 4[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 4[rax]
	cmp	edx, eax
	cmovge	eax, edx
	mov	DWORD PTR -44[rbp], eax
	mov	rax, QWORD PTR -80[rbp]
	mov	edx, DWORD PTR 8[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 8[rax]
	cmp	edx, eax
	cmovle	eax, edx
	mov	DWORD PTR -40[rbp], eax
	mov	rax, QWORD PTR -80[rbp]
	mov	edx, DWORD PTR 12[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 12[rax]
	cmp	edx, eax
	cmovge	eax, edx
	mov	DWORD PTR -36[rbp], eax
	mov	rax, QWORD PTR -80[rbp]
	mov	edx, DWORD PTR 16[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 16[rax]
	cmp	edx, eax
	cmovle	eax, edx
	mov	DWORD PTR -32[rbp], eax
	mov	rax, QWORD PTR -72[rbp]
	mov	edx, DWORD PTR 24[rax]
	mov	rax, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR 24[rax]
	cmp	edx, eax
	jle	.L52
	mov	rax, QWORD PTR -72[rbp]
	movzx	eax, BYTE PTR 1[rax]
	movzx	eax, al
	test	eax, eax
	setne	al
	jmp	.L53
.L52:
	mov	rax, QWORD PTR -80[rbp]
	movzx	eax, BYTE PTR 1[rax]
	movzx	eax, al
	test	eax, eax
	setne	al
.L53:
	mov	BYTE PTR -47[rbp], al
	mov	eax, DWORD PTR -52[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -52[rbp], edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -88[rbp]
	lea	rcx, [rdx+rax]
	lea	rax, -48[rbp]
	mov	edx, 28
	mov	rsi, rax
	mov	rdi, rcx
	call	memcpy@PLT
.L51:
	mov	rax, QWORD PTR -80[rbp]
	mov	edx, DWORD PTR 20[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 20[rax]
	cmp	edx, eax
	cmovle	eax, edx
	mov	DWORD PTR -28[rbp], eax
	mov	ecx, DWORD PTR -28[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	edx, DWORD PTR 20[rax]
	mov	rax, QWORD PTR -80[rbp]
	mov	esi, DWORD PTR 20[rax]
	mov	eax, edx
	sub	eax, esi
	cdq
	xor	eax, edx
	sub	eax, edx
	sub	eax, 1
	add	eax, ecx
	mov	DWORD PTR -24[rbp], eax
	mov	eax, DWORD PTR -24[rbp]
	mov	edx, DWORD PTR -28[rbp]
	sub	eax, edx
	test	eax, eax
	js	.L54
	mov	rax, QWORD PTR -80[rbp]
	mov	edx, DWORD PTR 4[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 4[rax]
	cmp	edx, eax
	cmovge	eax, edx
	mov	DWORD PTR -44[rbp], eax
	mov	rax, QWORD PTR -80[rbp]
	mov	edx, DWORD PTR 8[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 8[rax]
	cmp	edx, eax
	cmovle	eax, edx
	mov	DWORD PTR -40[rbp], eax
	mov	rax, QWORD PTR -80[rbp]
	mov	edx, DWORD PTR 12[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 12[rax]
	cmp	edx, eax
	cmovge	eax, edx
	mov	DWORD PTR -36[rbp], eax
	mov	rax, QWORD PTR -80[rbp]
	mov	edx, DWORD PTR 16[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 16[rax]
	cmp	edx, eax
	cmovle	eax, edx
	mov	DWORD PTR -32[rbp], eax
	mov	rax, QWORD PTR -72[rbp]
	mov	edx, DWORD PTR 20[rax]
	mov	rax, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR 20[rax]
	cmp	edx, eax
	jge	.L55
	mov	rax, QWORD PTR -72[rbp]
	movzx	eax, BYTE PTR 1[rax]
	movzx	eax, al
	test	eax, eax
	setne	al
	jmp	.L56
.L55:
	mov	rax, QWORD PTR -80[rbp]
	movzx	eax, BYTE PTR 1[rax]
	movzx	eax, al
	test	eax, eax
	setne	al
.L56:
	mov	BYTE PTR -47[rbp], al
	mov	eax, DWORD PTR -52[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -52[rbp], edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -88[rbp]
	lea	rcx, [rdx+rax]
	lea	rax, -48[rbp]
	mov	edx, 28
	mov	rsi, rax
	mov	rdi, rcx
	call	memcpy@PLT
.L54:
	mov	rax, QWORD PTR -80[rbp]
	mov	edx, DWORD PTR 4[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 4[rax]
	cmp	edx, eax
	cmovge	eax, edx
	mov	DWORD PTR -44[rbp], eax
	mov	rax, QWORD PTR -80[rbp]
	mov	edx, DWORD PTR 8[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 8[rax]
	cmp	edx, eax
	cmovle	eax, edx
	mov	DWORD PTR -40[rbp], eax
	mov	rax, QWORD PTR -80[rbp]
	mov	edx, DWORD PTR 12[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 12[rax]
	cmp	edx, eax
	cmovge	eax, edx
	mov	DWORD PTR -36[rbp], eax
	mov	rax, QWORD PTR -80[rbp]
	mov	edx, DWORD PTR 16[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 16[rax]
	cmp	edx, eax
	cmovle	eax, edx
	mov	DWORD PTR -32[rbp], eax
	mov	rax, QWORD PTR -80[rbp]
	mov	edx, DWORD PTR 20[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 20[rax]
	cmp	edx, eax
	cmovge	eax, edx
	mov	DWORD PTR -28[rbp], eax
	mov	rax, QWORD PTR -80[rbp]
	mov	edx, DWORD PTR 24[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 24[rax]
	cmp	edx, eax
	cmovle	eax, edx
	mov	DWORD PTR -24[rbp], eax
	mov	rax, QWORD PTR -72[rbp]
	movzx	eax, BYTE PTR 1[rax]
	test	al, al
	je	.L57
	mov	rax, QWORD PTR -80[rbp]
	movzx	eax, BYTE PTR 1[rax]
	test	al, al
	je	.L57
	mov	eax, 1
	jmp	.L58
.L57:
	mov	eax, 0
.L58:
	and	eax, 1
	mov	BYTE PTR -47[rbp], al
	mov	eax, DWORD PTR -52[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -52[rbp], edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -88[rbp]
	lea	rcx, [rdx+rax]
	lea	rax, -48[rbp]
	mov	edx, 28
	mov	rsi, rax
	mov	rdi, rcx
	call	memcpy@PLT
	mov	eax, DWORD PTR -52[rbp]
	mov	rdi, QWORD PTR -8[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L60
	call	__stack_chk_fail@PLT
.L60:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	merge, .-merge
	.globl	reduce
	.type	reduce, @function
reduce:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	r11, -614400[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 1664
	mov	QWORD PTR -616056[rbp], rdi
	mov	QWORD PTR -616064[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -616024[rbp], 0
	mov	rax, QWORD PTR -616064[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 1
	jne	.L62
	mov	eax, 0
	jmp	.L82
.L62:
	mov	rax, QWORD PTR -616064[rbp]
	mov	eax, DWORD PTR [rax]
	sub	eax, 1
	mov	DWORD PTR -616032[rbp], eax
	mov	DWORD PTR -616048[rbp], 0
	jmp	.L64
.L76:
	mov	eax, DWORD PTR -616048[rbp]
	cmp	eax, DWORD PTR -616032[rbp]
	jl	.L65
	mov	eax, DWORD PTR -616048[rbp]
	add	eax, 1
	jmp	.L66
.L65:
	mov	eax, DWORD PTR -616032[rbp]
.L66:
	mov	DWORD PTR -616044[rbp], eax
	jmp	.L67
.L75:
	add	QWORD PTR -616024[rbp], 1
	mov	eax, DWORD PTR -616048[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -616056[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	xor	eax, 1
	test	al, al
	jne	.L84
	mov	eax, DWORD PTR -616044[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -616056[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	xor	eax, 1
	test	al, al
	jne	.L85
	mov	eax, DWORD PTR -616048[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -616056[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR 1[rax]
	xor	eax, 1
	test	al, al
	je	.L71
	mov	eax, DWORD PTR -616044[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -616056[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR 1[rax]
	xor	eax, 1
	test	al, al
	jne	.L86
.L71:
	mov	eax, DWORD PTR -616044[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -616056[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -616048[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 3
	sub	rax, rcx
	sal	rax, 2
	mov	rcx, rax
	mov	rax, QWORD PTR -616056[rbp]
	add	rax, rcx
	mov	rsi, rdx
	mov	rdi, rax
	call	overlap
	movzx	eax, al
	test	rax, rax
	je	.L87
	mov	eax, DWORD PTR -616048[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -616056[rbp]
	add	rax, rdx
	movzx	ecx, BYTE PTR 1[rax]
	mov	eax, DWORD PTR -616044[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -616056[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR 1[rax]
	cmp	cl, al
	jne	.L73
	mov	eax, DWORD PTR -616044[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -616056[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -616048[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 3
	sub	rax, rcx
	sal	rax, 2
	mov	rcx, rax
	mov	rax, QWORD PTR -616056[rbp]
	add	rax, rcx
	mov	rsi, rdx
	mov	rdi, rax
	call	contains
	movzx	eax, al
	test	rax, rax
	je	.L74
	mov	eax, DWORD PTR -616044[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -616056[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	jmp	.L69
.L74:
	mov	eax, DWORD PTR -616048[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -616056[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -616044[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 3
	sub	rax, rcx
	sal	rax, 2
	mov	rcx, rax
	mov	rax, QWORD PTR -616056[rbp]
	add	rax, rcx
	mov	rsi, rdx
	mov	rdi, rax
	call	contains
	movzx	eax, al
	test	rax, rax
	je	.L73
	mov	eax, DWORD PTR -616048[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -616056[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	jmp	.L69
.L73:
	mov	eax, DWORD PTR -616044[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -616056[rbp]
	lea	rsi, [rdx+rax]
	mov	eax, DWORD PTR -616048[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -616056[rbp]
	lea	rcx, [rdx+rax]
	lea	rax, -616016[rbp]
	mov	rdx, rax
	mov	rdi, rcx
	call	merge
	mov	DWORD PTR -616028[rbp], eax
	mov	eax, DWORD PTR -616028[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rsi, rax
	mov	rax, QWORD PTR -616064[rbp]
	mov	eax, DWORD PTR [rax]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -616056[rbp]
	lea	rcx, [rdx+rax]
	lea	rax, -616016[rbp]
	mov	rdx, rsi
	mov	rsi, rax
	mov	rdi, rcx
	call	memcpy@PLT
	mov	rax, QWORD PTR -616064[rbp]
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -616028[rbp]
	add	edx, eax
	mov	rax, QWORD PTR -616064[rbp]
	mov	DWORD PTR [rax], edx
	mov	eax, DWORD PTR -616048[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -616056[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	eax, DWORD PTR -616044[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -616056[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	jmp	.L69
.L84:
	nop
	jmp	.L69
.L85:
	nop
	jmp	.L69
.L86:
	nop
	jmp	.L69
.L87:
	nop
.L69:
	add	DWORD PTR -616044[rbp], 1
.L67:
	mov	rax, QWORD PTR -616064[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -616044[rbp], eax
	jl	.L75
	add	DWORD PTR -616048[rbp], 1
.L64:
	mov	rax, QWORD PTR -616064[rbp]
	mov	eax, DWORD PTR [rax]
	sub	eax, 1
	cmp	DWORD PTR -616048[rbp], eax
	jl	.L76
	mov	DWORD PTR -616040[rbp], 0
	mov	DWORD PTR -616036[rbp], 0
	jmp	.L77
.L81:
	add	QWORD PTR -616024[rbp], 1
	mov	eax, DWORD PTR -616036[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -616056[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	xor	eax, 1
	test	al, al
	jne	.L88
	mov	eax, DWORD PTR -616036[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -616056[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR 1[rax]
	xor	eax, 1
	test	al, al
	jne	.L89
	mov	eax, DWORD PTR -616036[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -616056[rbp]
	lea	rcx, [rdx+rax]
	mov	eax, DWORD PTR -616040[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -616040[rbp], edx
	lea	rsi, -616016[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	add	rax, rsi
	mov	edx, 28
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
	jmp	.L79
.L88:
	nop
	jmp	.L79
.L89:
	nop
.L79:
	add	DWORD PTR -616036[rbp], 1
.L77:
	mov	rax, QWORD PTR -616064[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -616036[rbp], eax
	jl	.L81
	mov	eax, DWORD PTR -616040[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rcx, -616016[rbp]
	mov	rax, QWORD PTR -616056[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
	mov	rax, QWORD PTR -616064[rbp]
	mov	edx, DWORD PTR -616040[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -616024[rbp]
.L82:
	mov	rdi, QWORD PTR -8[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L83
	call	__stack_chk_fail@PLT
.L83:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	reduce, .-reduce
	.section	.rodata
.LC3:
	.string	"Missing input file"
.LC4:
	.string	"r"
.LC5:
	.string	"Failed to open the input file"
	.align 8
.LC6:
	.string	"%s x=%d..%d,y=%d..%d,z=%d..%d\n"
.LC7:
	.string	"on"
.LC8:
	.string	"%ld\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	r11, -614400[rsp]
.LPSRL1:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL1
	sub	rsp, 1712
	mov	DWORD PTR -616100[rbp], edi
	mov	QWORD PTR -616112[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -616100[rbp], 2
	je	.L91
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 1
	jmp	.L98
.L91:
	mov	rax, QWORD PTR -616112[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -616056[rbp], rax
	cmp	QWORD PTR -616056[rbp], 0
	jne	.L93
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 1
	jmp	.L98
.L93:
	mov	DWORD PTR -616092[rbp], 0
	mov	QWORD PTR -616080[rbp], 0
	mov	DWORD PTR -616088[rbp], 0
	jmp	.L94
.L95:
	mov	BYTE PTR -616048[rbp], 1
	mov	rax, QWORD PTR -616080[rbp]
	lea	rdx, -616048[rbp]
	lea	r8, 12[rdx]
	lea	rdx, -616048[rbp]
	lea	rdi, 8[rdx]
	lea	rdx, -616048[rbp]
	lea	rcx, 4[rdx]
	lea	rdx, -13[rbp]
	sub	rsp, 8
	lea	rsi, -616048[rbp]
	add	rsi, 24
	push	rsi
	lea	rsi, -616048[rbp]
	add	rsi, 20
	push	rsi
	lea	rsi, -616048[rbp]
	add	rsi, 16
	push	rsi
	mov	r9, r8
	mov	r8, rdi
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	add	rsp, 32
	lea	rax, -13[rbp]
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	call	strcmp@PLT
	test	eax, eax
	sete	al
	mov	BYTE PTR -616047[rbp], al
	mov	eax, DWORD PTR -616092[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -616092[rbp], edx
	lea	rcx, -616016[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	add	rcx, rax
	lea	rax, -616048[rbp]
	mov	edx, 28
	mov	rsi, rax
	mov	rdi, rcx
	call	memcpy@PLT
	lea	rdx, -616092[rbp]
	lea	rax, -616016[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	reduce
	add	DWORD PTR -616088[rbp], 1
.L94:
	mov	rdx, QWORD PTR -616056[rbp]
	lea	rcx, -616072[rbp]
	lea	rax, -616080[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	getline@PLT
	cmp	rax, -1
	jne	.L95
	mov	rax, QWORD PTR -616080[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -616056[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	QWORD PTR -616064[rbp], 0
	mov	DWORD PTR -616084[rbp], 0
	jmp	.L96
.L97:
	lea	rcx, -616016[rbp]
	mov	eax, DWORD PTR -616084[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	add	rax, rcx
	mov	rdi, rax
	call	size
	add	QWORD PTR -616064[rbp], rax
	add	DWORD PTR -616084[rbp], 1
.L96:
	mov	eax, DWORD PTR -616092[rbp]
	cmp	DWORD PTR -616084[rbp], eax
	jl	.L97
	mov	rax, QWORD PTR -616064[rbp]
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
.L98:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L99
	call	__stack_chk_fail@PLT
.L99:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.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	"522358.c"
	.text
	.align	2
	.global	size
	.syntax unified
	.arm
	.fpu softvfp
	.type	size, %function
size:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	push	{r4, r5, r6, r7, fp}
	add	fp, sp, #16
	sub	sp, sp, #12
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #4]
	sub	r3, r2, r3
	add	r3, r3, #1
	mov	r0, r3
	asr	r1, r0, #31
	ldr	r3, [fp, #-24]
	ldr	r2, [r3, #16]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #12]
	sub	r3, r2, r3
	mov	r2, r3
	asr	r3, r2, #31
	adds	r6, r2, #1
	adc	r7, r3, #0
	mul	r2, r6, r1
	mul	r3, r0, r7
	add	ip, r2, r3
	umull	r2, r3, r0, r6
	add	r1, ip, r3
	mov	r3, r1
	ldr	r1, [fp, #-24]
	ldr	r0, [r1, #24]
	ldr	r1, [fp, #-24]
	ldr	r1, [r1, #20]
	sub	r1, r0, r1
	mov	r0, r1
	asr	r1, r0, #31
	adds	r4, r0, #1
	adc	r5, r1, #0
	mul	r0, r4, r3
	mul	r1, r2, r5
	add	ip, r0, r1
	umull	r0, r1, r2, r4
	add	r3, ip, r1
	mov	r1, r3
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, fp}
	bx	lr
	.size	size, .-size
	.section	.rodata
	.align	2
.LC0:
	.ascii	"on \000"
	.align	2
.LC1:
	.ascii	"off\000"
	.align	2
.LC2:
	.ascii	"[%s][%ld] x=%d..%d y=%d..%d z=%d..%d\012\000"
	.text
	.align	2
	.global	print_box
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_box, %function
print_box:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #44
	str	r0, [fp, #-24]
	ldr	r0, [fp, #-24]
	bl	size
	str	r0, [fp, #-20]
	str	r1, [fp, #-16]
	ldr	r3, [fp, #-24]
	ldrb	r3, [r3, #1]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L4
	ldr	r4, .L6
	b	.L5
.L4:
	ldr	r4, .L6+4
.L5:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-24]
	ldr	r2, [r2, #8]
	ldr	r1, [fp, #-24]
	ldr	r1, [r1, #12]
	ldr	r0, [fp, #-24]
	ldr	r0, [r0, #16]
	ldr	ip, [fp, #-24]
	ldr	ip, [ip, #20]
	ldr	lr, [fp, #-24]
	ldr	lr, [lr, #24]
	str	lr, [sp, #20]
	str	ip, [sp, #16]
	str	r0, [sp, #12]
	str	r1, [sp, #8]
	str	r2, [sp, #4]
	str	r3, [sp]
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	mov	r1, r4
	ldr	r0, .L6+8
	bl	printf
	nop
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L7:
	.align	2
.L6:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	print_box, .-print_box
	.align	2
	.global	contains
	.syntax unified
	.arm
	.fpu softvfp
	.type	contains, %function
contains:
	@ 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]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	cmp	r2, r3
	blt	.L9
	ldr	r3, [fp, #-12]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	cmp	r2, r3
	bgt	.L9
	ldr	r3, [fp, #-12]
	ldr	r2, [r3, #12]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #12]
	cmp	r2, r3
	blt	.L9
	ldr	r3, [fp, #-12]
	ldr	r2, [r3, #16]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #16]
	cmp	r2, r3
	bgt	.L9
	ldr	r3, [fp, #-12]
	ldr	r2, [r3, #20]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #20]
	cmp	r2, r3
	blt	.L9
	ldr	r3, [fp, #-12]
	ldr	r2, [r3, #24]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #24]
	cmp	r2, r3
	bgt	.L9
	mov	r3, #1
	b	.L10
.L9:
	mov	r3, #0
.L10:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	contains, .-contains
	.align	2
	.global	overlap
	.syntax unified
	.arm
	.fpu softvfp
	.type	overlap, %function
overlap:
	@ 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]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	cmp	r2, r3
	movge	r1, r2
	movlt	r1, r3
	ldr	r3, [fp, #-12]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	cmp	r2, r3
	movlt	r3, r2
	movge	r3, r3
	cmp	r1, r3
	ble	.L12
	mov	r3, #0
	b	.L13
.L12:
	ldr	r3, [fp, #-12]
	ldr	r2, [r3, #12]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #12]
	cmp	r2, r3
	movge	r1, r2
	movlt	r1, r3
	ldr	r3, [fp, #-12]
	ldr	r2, [r3, #16]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #16]
	cmp	r2, r3
	movlt	r3, r2
	movge	r3, r3
	cmp	r1, r3
	ble	.L14
	mov	r3, #0
	b	.L13
.L14:
	ldr	r3, [fp, #-12]
	ldr	r2, [r3, #20]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #20]
	cmp	r2, r3
	movge	r1, r2
	movlt	r1, r3
	ldr	r3, [fp, #-12]
	ldr	r2, [r3, #24]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #24]
	cmp	r2, r3
	movlt	r3, r2
	movge	r3, r3
	cmp	r1, r3
	ble	.L15
	mov	r3, #0
	b	.L13
.L15:
	mov	r3, #1
.L13:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	overlap, .-overlap
	.section	.rodata
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	merge
	.syntax unified
	.arm
	.fpu softvfp
	.type	merge, %function
merge:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	str	r2, [fp, #-56]
	ldr	r3, .L63
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-40]
	mov	r3, #1
	strb	r3, [fp, #-36]
	ldr	r3, [fp, #-52]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #8]
	cmp	r2, r3
	movlt	r3, r2
	movge	r3, r3
	add	r3, r3, #1
	str	r3, [fp, #-32]
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-48]
	ldr	r1, [r3, #8]
	ldr	r3, [fp, #-52]
	ldr	r3, [r3, #8]
	sub	r3, r1, r3
	cmp	r3, #0
	rsblt	r3, r3, #0
	sub	r3, r3, #1
	add	r3, r2, r3
	str	r3, [fp, #-28]
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-32]
	sub	r3, r2, r3
	cmp	r3, #0
	blt	.L17
	ldr	r3, [fp, #-48]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-52]
	ldr	r3, [r3, #8]
	cmp	r2, r3
	ble	.L18
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #12]
	b	.L19
.L18:
	ldr	r3, [fp, #-52]
	ldr	r3, [r3, #12]
.L19:
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-48]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-52]
	ldr	r3, [r3, #8]
	cmp	r2, r3
	ble	.L20
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #16]
	b	.L21
.L20:
	ldr	r3, [fp, #-52]
	ldr	r3, [r3, #16]
.L21:
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-48]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-52]
	ldr	r3, [r3, #8]
	cmp	r2, r3
	ble	.L22
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #20]
	b	.L23
.L22:
	ldr	r3, [fp, #-52]
	ldr	r3, [r3, #20]
.L23:
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-48]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-52]
	ldr	r3, [r3, #8]
	cmp	r2, r3
	ble	.L24
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #24]
	b	.L25
.L24:
	ldr	r3, [fp, #-52]
	ldr	r3, [r3, #24]
.L25:
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-48]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-52]
	ldr	r3, [r3, #8]
	cmp	r2, r3
	ble	.L26
	ldr	r3, [fp, #-48]
	ldrb	r3, [r3, #1]	@ zero_extendqisi2
	cmp	r3, #0
	movne	r3, #1
	moveq	r3, #0
	and	r3, r3, #255
	b	.L27
.L26:
	ldr	r3, [fp, #-52]
	ldrb	r3, [r3, #1]	@ zero_extendqisi2
	cmp	r3, #0
	movne	r3, #1
	moveq	r3, #0
	and	r3, r3, #255
.L27:
	strb	r3, [fp, #-35]
	ldr	r3, [fp, #-40]
	add	r2, r3, #1
	str	r2, [fp, #-40]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-56]
	add	r3, r3, r2
	sub	r1, fp, #36
	mov	r2, #28
	mov	r0, r3
	bl	memcpy
.L17:
	ldr	r3, [fp, #-52]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #4]
	cmp	r2, r3
	movlt	r3, r2
	movge	r3, r3
	str	r3, [fp, #-32]
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-48]
	ldr	r1, [r3, #4]
	ldr	r3, [fp, #-52]
	ldr	r3, [r3, #4]
	sub	r3, r1, r3
	cmp	r3, #0
	rsblt	r3, r3, #0
	sub	r3, r3, #1
	add	r3, r2, r3
	str	r3, [fp, #-28]
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-32]
	sub	r3, r2, r3
	cmp	r3, #0
	blt	.L28
	ldr	r3, [fp, #-48]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-52]
	ldr	r3, [r3, #4]
	cmp	r2, r3
	bge	.L29
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #12]
	b	.L30
.L29:
	ldr	r3, [fp, #-52]
	ldr	r3, [r3, #12]
.L30:
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-48]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-52]
	ldr	r3, [r3, #4]
	cmp	r2, r3
	bge	.L31
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #16]
	b	.L32
.L31:
	ldr	r3, [fp, #-52]
	ldr	r3, [r3, #16]
.L32:
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-48]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-52]
	ldr	r3, [r3, #4]
	cmp	r2, r3
	bge	.L33
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #20]
	b	.L34
.L33:
	ldr	r3, [fp, #-52]
	ldr	r3, [r3, #20]
.L34:
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-48]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-52]
	ldr	r3, [r3, #4]
	cmp	r2, r3
	bge	.L35
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #24]
	b	.L36
.L35:
	ldr	r3, [fp, #-52]
	ldr	r3, [r3, #24]
.L36:
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-48]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-52]
	ldr	r3, [r3, #4]
	cmp	r2, r3
	bge	.L37
	ldr	r3, [fp, #-48]
	ldrb	r3, [r3, #1]	@ zero_extendqisi2
	cmp	r3, #0
	movne	r3, #1
	moveq	r3, #0
	and	r3, r3, #255
	b	.L38
.L37:
	ldr	r3, [fp, #-52]
	ldrb	r3, [r3, #1]	@ zero_extendqisi2
	cmp	r3, #0
	movne	r3, #1
	moveq	r3, #0
	and	r3, r3, #255
.L38:
	strb	r3, [fp, #-35]
	ldr	r3, [fp, #-40]
	add	r2, r3, #1
	str	r2, [fp, #-40]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-56]
	add	r3, r3, r2
	sub	r1, fp, #36
	mov	r2, #28
	mov	r0, r3
	bl	memcpy
.L28:
	ldr	r3, [fp, #-52]
	ldr	r2, [r3, #16]
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #16]
	cmp	r2, r3
	movge	r3, r2
	movlt	r3, r3
	str	r3, [fp, #-20]
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-48]
	ldr	r1, [r3, #16]
	ldr	r3, [fp, #-52]
	ldr	r3, [r3, #16]
	sub	r3, r1, r3
	cmp	r3, #0
	rsblt	r3, r3, #0
	sub	r3, r3, #1
	sub	r3, r2, r3
	str	r3, [fp, #-24]
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-24]
	sub	r3, r2, r3
	cmp	r3, #0
	blt	.L39
	ldr	r3, [fp, #-52]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #4]
	cmp	r2, r3
	movge	r3, r2
	movlt	r3, r3
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-52]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #8]
	cmp	r2, r3
	movlt	r3, r2
	movge	r3, r3
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-48]
	ldr	r2, [r3, #16]
	ldr	r3, [fp, #-52]
	ldr	r3, [r3, #16]
	cmp	r2, r3
	ble	.L40
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #20]
	b	.L41
.L40:
	ldr	r3, [fp, #-52]
	ldr	r3, [r3, #20]
.L41:
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-48]
	ldr	r2, [r3, #16]
	ldr	r3, [fp, #-52]
	ldr	r3, [r3, #16]
	cmp	r2, r3
	ble	.L42
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #24]
	b	.L43
.L42:
	ldr	r3, [fp, #-52]
	ldr	r3, [r3, #24]
.L43:
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-48]
	ldr	r2, [r3, #16]
	ldr	r3, [fp, #-52]
	ldr	r3, [r3, #16]
	cmp	r2, r3
	ble	.L44
	ldr	r3, [fp, #-48]
	ldrb	r3, [r3, #1]	@ zero_extendqisi2
	cmp	r3, #0
	movne	r3, #1
	moveq	r3, #0
	and	r3, r3, #255
	b	.L45
.L44:
	ldr	r3, [fp, #-52]
	ldrb	r3, [r3, #1]	@ zero_extendqisi2
	cmp	r3, #0
	movne	r3, #1
	moveq	r3, #0
	and	r3, r3, #255
.L45:
	strb	r3, [fp, #-35]
	ldr	r3, [fp, #-40]
	add	r2, r3, #1
	str	r2, [fp, #-40]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-56]
	add	r3, r3, r2
	sub	r1, fp, #36
	mov	r2, #28
	mov	r0, r3
	bl	memcpy
.L39:
	ldr	r3, [fp, #-52]
	ldr	r2, [r3, #12]
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #12]
	cmp	r2, r3
	movlt	r3, r2
	movge	r3, r3
	str	r3, [fp, #-24]
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-48]
	ldr	r1, [r3, #12]
	ldr	r3, [fp, #-52]
	ldr	r3, [r3, #12]
	sub	r3, r1, r3
	cmp	r3, #0
	rsblt	r3, r3, #0
	sub	r3, r3, #1
	add	r3, r2, r3
	str	r3, [fp, #-20]
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-24]
	sub	r3, r2, r3
	cmp	r3, #0
	blt	.L46
	ldr	r3, [fp, #-52]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #4]
	cmp	r2, r3
	movge	r3, r2
	movlt	r3, r3
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-52]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #8]
	cmp	r2, r3
	movlt	r3, r2
	movge	r3, r3
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-48]
	ldr	r2, [r3, #12]
	ldr	r3, [fp, #-52]
	ldr	r3, [r3, #12]
	cmp	r2, r3
	bge	.L47
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #20]
	b	.L48
.L47:
	ldr	r3, [fp, #-52]
	ldr	r3, [r3, #20]
.L48:
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-48]
	ldr	r2, [r3, #12]
	ldr	r3, [fp, #-52]
	ldr	r3, [r3, #12]
	cmp	r2, r3
	bge	.L49
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #24]
	b	.L50
.L49:
	ldr	r3, [fp, #-52]
	ldr	r3, [r3, #24]
.L50:
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-48]
	ldr	r2, [r3, #12]
	ldr	r3, [fp, #-52]
	ldr	r3, [r3, #12]
	cmp	r2, r3
	bge	.L51
	ldr	r3, [fp, #-48]
	ldrb	r3, [r3, #1]	@ zero_extendqisi2
	cmp	r3, #0
	movne	r3, #1
	moveq	r3, #0
	and	r3, r3, #255
	b	.L52
.L51:
	ldr	r3, [fp, #-52]
	ldrb	r3, [r3, #1]	@ zero_extendqisi2
	cmp	r3, #0
	movne	r3, #1
	moveq	r3, #0
	and	r3, r3, #255
.L52:
	strb	r3, [fp, #-35]
	ldr	r3, [fp, #-40]
	add	r2, r3, #1
	str	r2, [fp, #-40]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-56]
	add	r3, r3, r2
	sub	r1, fp, #36
	mov	r2, #28
	mov	r0, r3
	bl	memcpy
.L46:
	ldr	r3, [fp, #-52]
	ldr	r2, [r3, #24]
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #24]
	cmp	r2, r3
	movge	r3, r2
	movlt	r3, r3
	str	r3, [fp, #-12]
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-48]
	ldr	r1, [r3, #24]
	ldr	r3, [fp, #-52]
	ldr	r3, [r3, #24]
	sub	r3, r1, r3
	cmp	r3, #0
	rsblt	r3, r3, #0
	sub	r3, r3, #1
	sub	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-16]
	sub	r3, r2, r3
	cmp	r3, #0
	blt	.L53
	ldr	r3, [fp, #-52]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #4]
	cmp	r2, r3
	movge	r3, r2
	movlt	r3, r3
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-52]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #8]
	cmp	r2, r3
	movlt	r3, r2
	movge	r3, r3
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-52]
	ldr	r2, [r3, #12]
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #12]
	cmp	r2, r3
	movge	r3, r2
	movlt	r3, r3
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-52]
	ldr	r2, [r3, #16]
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #16]
	cmp	r2, r3
	movlt	r3, r2
	movge	r3, r3
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-48]
	ldr	r2, [r3, #24]
	ldr	r3, [fp, #-52]
	ldr	r3, [r3, #24]
	cmp	r2, r3
	ble	.L54
	ldr	r3, [fp, #-48]
	ldrb	r3, [r3, #1]	@ zero_extendqisi2
	cmp	r3, #0
	movne	r3, #1
	moveq	r3, #0
	and	r3, r3, #255
	b	.L55
.L54:
	ldr	r3, [fp, #-52]
	ldrb	r3, [r3, #1]	@ zero_extendqisi2
	cmp	r3, #0
	movne	r3, #1
	moveq	r3, #0
	and	r3, r3, #255
.L55:
	strb	r3, [fp, #-35]
	ldr	r3, [fp, #-40]
	add	r2, r3, #1
	str	r2, [fp, #-40]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-56]
	add	r3, r3, r2
	sub	r1, fp, #36
	mov	r2, #28
	mov	r0, r3
	bl	memcpy
.L53:
	ldr	r3, [fp, #-52]
	ldr	r2, [r3, #20]
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #20]
	cmp	r2, r3
	movlt	r3, r2
	movge	r3, r3
	str	r3, [fp, #-16]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-48]
	ldr	r1, [r3, #20]
	ldr	r3, [fp, #-52]
	ldr	r3, [r3, #20]
	sub	r3, r1, r3
	cmp	r3, #0
	rsblt	r3, r3, #0
	sub	r3, r3, #1
	add	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-16]
	sub	r3, r2, r3
	cmp	r3, #0
	blt	.L56
	ldr	r3, [fp, #-52]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #4]
	cmp	r2, r3
	movge	r3, r2
	movlt	r3, r3
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-52]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #8]
	cmp	r2, r3
	movlt	r3, r2
	movge	r3, r3
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-52]
	ldr	r2, [r3, #12]
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #12]
	cmp	r2, r3
	movge	r3, r2
	movlt	r3, r3
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-52]
	ldr	r2, [r3, #16]
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #16]
	cmp	r2, r3
	movlt	r3, r2
	movge	r3, r3
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-48]
	ldr	r2, [r3, #20]
	ldr	r3, [fp, #-52]
	ldr	r3, [r3, #20]
	cmp	r2, r3
	bge	.L57
	ldr	r3, [fp, #-48]
	ldrb	r3, [r3, #1]	@ zero_extendqisi2
	cmp	r3, #0
	movne	r3, #1
	moveq	r3, #0
	and	r3, r3, #255
	b	.L58
.L57:
	ldr	r3, [fp, #-52]
	ldrb	r3, [r3, #1]	@ zero_extendqisi2
	cmp	r3, #0
	movne	r3, #1
	moveq	r3, #0
	and	r3, r3, #255
.L58:
	strb	r3, [fp, #-35]
	ldr	r3, [fp, #-40]
	add	r2, r3, #1
	str	r2, [fp, #-40]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-56]
	add	r3, r3, r2
	sub	r1, fp, #36
	mov	r2, #28
	mov	r0, r3
	bl	memcpy
.L56:
	ldr	r3, [fp, #-52]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #4]
	cmp	r2, r3
	movge	r3, r2
	movlt	r3, r3
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-52]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #8]
	cmp	r2, r3
	movlt	r3, r2
	movge	r3, r3
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-52]
	ldr	r2, [r3, #12]
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #12]
	cmp	r2, r3
	movge	r3, r2
	movlt	r3, r3
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-52]
	ldr	r2, [r3, #16]
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #16]
	cmp	r2, r3
	movlt	r3, r2
	movge	r3, r3
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-52]
	ldr	r2, [r3, #20]
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #20]
	cmp	r2, r3
	movge	r3, r2
	movlt	r3, r3
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-52]
	ldr	r2, [r3, #24]
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #24]
	cmp	r2, r3
	movlt	r3, r2
	movge	r3, r3
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-48]
	ldrb	r3, [r3, #1]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L59
	ldr	r3, [fp, #-52]
	ldrb	r3, [r3, #1]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L59
	mov	r3, #1
	b	.L60
.L59:
	mov	r3, #0
.L60:
	and	r3, r3, #1
	and	r3, r3, #255
	strb	r3, [fp, #-35]
	ldr	r3, [fp, #-40]
	add	r2, r3, #1
	str	r2, [fp, #-40]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-56]
	add	r3, r3, r2
	sub	r1, fp, #36
	mov	r2, #28
	mov	r0, r3
	bl	memcpy
	ldr	r3, [fp, #-40]
	ldr	r2, .L63
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L62
	bl	__stack_chk_fail
.L62:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L64:
	.align	2
.L63:
	.word	.LC3
	.size	merge, .-merge
	.section	.rodata
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	reduce
	.syntax unified
	.arm
	.fpu softvfp
	.type	reduce, %function
reduce:
	@ args = 0, pretend = 0, frame = 616048
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, fp, lr}
	add	fp, sp, #24
	sub	sp, sp, #614400
	sub	sp, sp, #1648
	sub	sp, sp, #4
	sub	r3, fp, #614400
	sub	r3, r3, #28
	str	r0, [r3, #-1644]
	sub	r3, fp, #614400
	sub	r3, r3, #28
	str	r1, [r3, #-1648]
	ldr	r3, .L94
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	sub	r3, fp, #614400
	sub	r3, r3, #28
	sub	r3, r3, #1616
	mov	r1, r3
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	sub	r3, fp, #614400
	sub	r3, r3, #28
	ldr	r3, [r3, #-1648]
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L66
	mov	r2, #0
	mov	r3, #0
	b	.L86
.L66:
	sub	r3, fp, #614400
	sub	r3, r3, #28
	ldr	r3, [r3, #-1648]
	ldr	r3, [r3]
	sub	r2, fp, #614400
	sub	r2, r2, #28
	sub	r3, r3, #1
	str	r3, [r2, #-1624]
	sub	r3, fp, #614400
	sub	r3, r3, #28
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1640]
	b	.L68
.L80:
	sub	r3, fp, #614400
	sub	r3, r3, #28
	mov	r2, r3
	sub	r3, fp, #614400
	sub	r3, r3, #28
	ldr	r2, [r2, #-1640]
	ldr	r3, [r3, #-1624]
	cmp	r2, r3
	blt	.L69
	sub	r3, fp, #614400
	sub	r3, r3, #28
	ldr	r3, [r3, #-1640]
	add	r3, r3, #1
	b	.L70
.L69:
	sub	r3, fp, #614400
	sub	r3, r3, #28
	ldr	r3, [r3, #-1624]
.L70:
	sub	r2, fp, #614400
	sub	r2, r2, #28
	str	r3, [r2, #-1636]
	b	.L71
.L79:
	sub	r3, fp, #614400
	sub	r3, r3, #28
	sub	r3, r3, #1616
	mov	r1, r3
	sub	r3, fp, #614400
	sub	r3, r3, #28
	sub	r3, r3, #1616
	ldmia	r3, {r2-r3}
	adds	r6, r2, #1
	adc	r7, r3, #0
	stm	r1, {r6-r7}
	sub	r3, fp, #614400
	sub	r3, r3, #28
	ldr	r2, [r3, #-1640]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	sub	r3, fp, #614400
	sub	r3, r3, #28
	ldr	r3, [r3, #-1644]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	bne	.L88
	sub	r3, fp, #614400
	sub	r3, r3, #28
	ldr	r2, [r3, #-1636]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	sub	r3, fp, #614400
	sub	r3, r3, #28
	ldr	r3, [r3, #-1644]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	bne	.L89
	sub	r3, fp, #614400
	sub	r3, r3, #28
	ldr	r2, [r3, #-1640]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	sub	r3, fp, #614400
	sub	r3, r3, #28
	ldr	r3, [r3, #-1644]
	add	r3, r3, r2
	ldrb	r3, [r3, #1]	@ zero_extendqisi2
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L75
	sub	r3, fp, #614400
	sub	r3, r3, #28
	ldr	r2, [r3, #-1636]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	sub	r3, fp, #614400
	sub	r3, r3, #28
	ldr	r3, [r3, #-1644]
	add	r3, r3, r2
	ldrb	r3, [r3, #1]	@ zero_extendqisi2
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	bne	.L90
.L75:
	sub	r3, fp, #614400
	sub	r3, r3, #28
	ldr	r2, [r3, #-1640]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	sub	r3, fp, #614400
	sub	r3, r3, #28
	ldr	r3, [r3, #-1644]
	add	r0, r3, r2
	sub	r3, fp, #614400
	sub	r3, r3, #28
	ldr	r2, [r3, #-1636]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	sub	r3, fp, #614400
	sub	r3, r3, #28
	ldr	r3, [r3, #-1644]
	add	r3, r3, r2
	mov	r1, r3
	bl	overlap
	mov	r3, r0
	cmp	r3, #0
	beq	.L91
	sub	r3, fp, #614400
	sub	r3, r3, #28
	ldr	r2, [r3, #-1640]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	sub	r3, fp, #614400
	sub	r3, r3, #28
	ldr	r3, [r3, #-1644]
	add	r3, r3, r2
	ldrb	r1, [r3, #1]	@ zero_extendqisi2
	sub	r3, fp, #614400
	sub	r3, r3, #28
	ldr	r2, [r3, #-1636]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	sub	r3, fp, #614400
	sub	r3, r3, #28
	ldr	r3, [r3, #-1644]
	add	r3, r3, r2
	ldrb	r3, [r3, #1]	@ zero_extendqisi2
	cmp	r1, r3
	bne	.L77
	sub	r3, fp, #614400
	sub	r3, r3, #28
	ldr	r2, [r3, #-1640]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	sub	r3, fp, #614400
	sub	r3, r3, #28
	ldr	r3, [r3, #-1644]
	add	r0, r3, r2
	sub	r3, fp, #614400
	sub	r3, r3, #28
	ldr	r2, [r3, #-1636]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	sub	r3, fp, #614400
	sub	r3, r3, #28
	ldr	r3, [r3, #-1644]
	add	r3, r3, r2
	mov	r1, r3
	bl	contains
	mov	r3, r0
	cmp	r3, #0
	beq	.L78
	sub	r3, fp, #614400
	sub	r3, r3, #28
	ldr	r2, [r3, #-1636]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	sub	r3, fp, #614400
	sub	r3, r3, #28
	ldr	r3, [r3, #-1644]
	add	r3, r3, r2
	mov	r2, #0
	strb	r2, [r3]
	b	.L73
.L78:
	sub	r3, fp, #614400
	sub	r3, r3, #28
	ldr	r2, [r3, #-1636]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	sub	r3, fp, #614400
	sub	r3, r3, #28
	ldr	r3, [r3, #-1644]
	add	r0, r3, r2
	sub	r3, fp, #614400
	sub	r3, r3, #28
	ldr	r2, [r3, #-1640]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	sub	r3, fp, #614400
	sub	r3, r3, #28
	ldr	r3, [r3, #-1644]
	add	r3, r3, r2
	mov	r1, r3
	bl	contains
	mov	r3, r0
	cmp	r3, #0
	beq	.L77
	sub	r3, fp, #614400
	sub	r3, r3, #28
	ldr	r2, [r3, #-1640]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	sub	r3, fp, #614400
	sub	r3, r3, #28
	ldr	r3, [r3, #-1644]
	add	r3, r3, r2
	mov	r2, #0
	strb	r2, [r3]
	b	.L73
.L77:
	sub	r3, fp, #614400
	sub	r3, r3, #28
	ldr	r2, [r3, #-1640]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	sub	r3, fp, #614400
	sub	r3, r3, #28
	ldr	r3, [r3, #-1644]
	add	r0, r3, r2
	sub	r3, fp, #614400
	sub	r3, r3, #28
	ldr	r2, [r3, #-1636]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	sub	r3, fp, #614400
	sub	r3, r3, #28
	ldr	r3, [r3, #-1644]
	add	r1, r3, r2
	sub	r3, fp, #614400
	sub	r3, r3, #28
	mov	r8, r3
	ldr	r3, .L94+4
	sub	r2, fp, #28
	add	r3, r2, r3
	mov	r2, r3
	bl	merge
	str	r0, [r8, #-1620]
	sub	r3, fp, #614400
	sub	r3, r3, #28
	ldr	r3, [r3, #-1648]
	ldr	r3, [r3]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	sub	r3, fp, #614400
	sub	r3, r3, #28
	ldr	r3, [r3, #-1644]
	add	r0, r3, r2
	sub	r3, fp, #614400
	sub	r3, r3, #28
	ldr	r2, [r3, #-1620]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, .L94+4
	sub	r1, fp, #28
	add	r3, r1, r3
	mov	r1, r3
	bl	memcpy
	sub	r3, fp, #614400
	sub	r3, r3, #28
	ldr	r3, [r3, #-1648]
	ldr	r2, [r3]
	sub	r3, fp, #614400
	sub	r3, r3, #28
	ldr	r3, [r3, #-1620]
	add	r2, r2, r3
	sub	r3, fp, #614400
	sub	r3, r3, #28
	ldr	r3, [r3, #-1648]
	str	r2, [r3]
	sub	r3, fp, #614400
	sub	r3, r3, #28
	ldr	r2, [r3, #-1640]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	sub	r3, fp, #614400
	sub	r3, r3, #28
	ldr	r3, [r3, #-1644]
	add	r3, r3, r2
	mov	r2, #0
	strb	r2, [r3]
	sub	r3, fp, #614400
	sub	r3, r3, #28
	ldr	r2, [r3, #-1636]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	sub	r3, fp, #614400
	sub	r3, r3, #28
	ldr	r3, [r3, #-1644]
	add	r3, r3, r2
	mov	r2, #0
	strb	r2, [r3]
	b	.L73
.L88:
	nop
	b	.L73
.L89:
	nop
	b	.L73
.L90:
	nop
	b	.L73
.L91:
	nop
.L73:
	sub	r3, fp, #614400
	sub	r3, r3, #28
	mov	r2, r3
	sub	r3, fp, #614400
	sub	r3, r3, #28
	ldr	r3, [r3, #-1636]
	add	r3, r3, #1
	str	r3, [r2, #-1636]
.L71:
	sub	r3, fp, #614400
	sub	r3, r3, #28
	ldr	r3, [r3, #-1648]
	ldr	r3, [r3]
	sub	r2, fp, #614400
	sub	r2, r2, #28
	ldr	r2, [r2, #-1636]
	cmp	r2, r3
	blt	.L79
	sub	r3, fp, #614400
	sub	r3, r3, #28
	mov	r2, r3
	sub	r3, fp, #614400
	sub	r3, r3, #28
	ldr	r3, [r3, #-1640]
	add	r3, r3, #1
	str	r3, [r2, #-1640]
.L68:
	sub	r3, fp, #614400
	sub	r3, r3, #28
	ldr	r3, [r3, #-1648]
	ldr	r3, [r3]
	sub	r3, r3, #1
	sub	r2, fp, #614400
	sub	r2, r2, #28
	ldr	r2, [r2, #-1640]
	cmp	r2, r3
	blt	.L80
	sub	r3, fp, #614400
	sub	r3, r3, #28
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1632]
	sub	r3, fp, #614400
	sub	r3, r3, #28
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1628]
	b	.L81
.L85:
	sub	r3, fp, #614400
	sub	r3, r3, #28
	sub	r3, r3, #1616
	mov	r1, r3
	sub	r3, fp, #614400
	sub	r3, r3, #28
	sub	r3, r3, #1616
	ldmia	r3, {r2-r3}
	adds	r4, r2, #1
	adc	r5, r3, #0
	stm	r1, {r4-r5}
	sub	r3, fp, #614400
	sub	r3, r3, #28
	ldr	r2, [r3, #-1628]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	sub	r3, fp, #614400
	sub	r3, r3, #28
	ldr	r3, [r3, #-1644]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	bne	.L92
	sub	r3, fp, #614400
	sub	r3, r3, #28
	ldr	r2, [r3, #-1628]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	sub	r3, fp, #614400
	sub	r3, r3, #28
	ldr	r3, [r3, #-1644]
	add	r3, r3, r2
	ldrb	r3, [r3, #1]	@ zero_extendqisi2
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	bne	.L93
	sub	r3, fp, #614400
	sub	r3, r3, #28
	ldr	r1, [r3, #-1632]
	sub	r3, fp, #614400
	sub	r3, r3, #28
	mov	r2, r3
	add	r3, r1, #1
	str	r3, [r2, #-1632]
	ldr	r2, .L94+4
	sub	r3, fp, #28
	add	r2, r3, r2
	mov	r3, r1
	lsl	r3, r3, #3
	sub	r3, r3, r1
	lsl	r3, r3, #2
	add	r0, r2, r3
	sub	r3, fp, #614400
	sub	r3, r3, #28
	ldr	r2, [r3, #-1628]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	sub	r3, fp, #614400
	sub	r3, r3, #28
	ldr	r3, [r3, #-1644]
	add	r3, r3, r2
	mov	r2, #28
	mov	r1, r3
	bl	memcpy
	b	.L83
.L92:
	nop
	b	.L83
.L93:
	nop
.L83:
	sub	r3, fp, #614400
	sub	r3, r3, #28
	mov	r2, r3
	sub	r3, fp, #614400
	sub	r3, r3, #28
	ldr	r3, [r3, #-1628]
	add	r3, r3, #1
	str	r3, [r2, #-1628]
.L81:
	sub	r3, fp, #614400
	sub	r3, r3, #28
	ldr	r3, [r3, #-1648]
	ldr	r3, [r3]
	sub	r2, fp, #614400
	sub	r2, r2, #28
	ldr	r2, [r2, #-1628]
	cmp	r2, r3
	blt	.L85
	sub	r3, fp, #614400
	sub	r3, r3, #28
	ldr	r2, [r3, #-1632]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r1, r3
	ldr	r3, .L94+4
	sub	r2, fp, #28
	add	r3, r2, r3
	sub	r2, fp, #614400
	sub	r2, r2, #28
	mov	r0, r2
	mov	r2, r1
	mov	r1, r3
	ldr	r0, [r0, #-1644]
	bl	memcpy
	sub	r3, fp, #614400
	sub	r3, r3, #28
	ldr	r3, [r3, #-1648]
	sub	r2, fp, #614400
	sub	r2, r2, #28
	ldr	r2, [r2, #-1632]
	str	r2, [r3]
	sub	r3, fp, #614400
	sub	r3, r3, #28
	sub	r3, r3, #1616
	ldmia	r3, {r2-r3}
.L86:
	ldr	r1, .L94
	ldr	r0, [r1]
	ldr	r1, [fp, #-32]
	eors	r0, r1, r0
	mov	r1, #0
	beq	.L87
	bl	__stack_chk_fail
.L87:
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, fp, pc}
.L95:
	.align	2
.L94:
	.word	.LC4
	.word	-616004
	.size	reduce, .-reduce
	.section	.rodata
	.align	2
.LC5:
	.ascii	"Missing input file\000"
	.align	2
.LC6:
	.ascii	"r\000"
	.align	2
.LC7:
	.ascii	"Failed to open the input file\000"
	.align	2
.LC8:
	.ascii	"%s x=%d..%d,y=%d..%d,z=%d..%d\012\000"
	.align	2
.LC9:
	.ascii	"on\000"
	.align	2
.LC10:
	.ascii	"%ld\012\000"
	.align	2
.LC11:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 616080
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, fp, lr}
	add	fp, sp, #16
	sub	sp, sp, #614400
	sub	sp, sp, #1696
	sub	sp, sp, #12
	sub	r3, fp, #614400
	sub	r3, r3, #20
	str	r0, [r3, #-1676]
	sub	r3, fp, #614400
	sub	r3, r3, #20
	str	r1, [r3, #-1680]
	ldr	r3, .L106
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	sub	r3, fp, #614400
	sub	r3, r3, #20
	ldr	r3, [r3, #-1676]
	cmp	r3, #2
	beq	.L97
	ldr	r0, .L106+4
	bl	printf
	mov	r3, #1
	b	.L104
.L97:
	sub	r3, fp, #614400
	sub	r3, r3, #20
	ldr	r3, [r3, #-1680]
	add	r3, r3, #4
	ldr	r3, [r3]
	sub	r2, fp, #614400
	sub	r2, r2, #20
	mov	r6, r2
	ldr	r1, .L106+8
	mov	r0, r3
	bl	fopen
	str	r0, [r6, #-1652]
	sub	r3, fp, #614400
	sub	r3, r3, #20
	ldr	r3, [r3, #-1652]
	cmp	r3, #0
	bne	.L99
	ldr	r0, .L106+12
	bl	printf
	mov	r3, #1
	b	.L104
.L99:
	sub	r3, fp, #614400
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1672]
	sub	r3, fp, #614400
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1668]
	sub	r3, fp, #614400
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1660]
	b	.L100
.L101:
	sub	r3, fp, #614400
	sub	r3, r3, #20
	mov	r2, #1
	strb	r2, [r3, #-1640]
	sub	r3, fp, #614400
	sub	r3, r3, #20
	ldr	r0, [r3, #-1668]
	ldr	r3, .L106+16
	sub	r2, fp, #20
	add	r3, r2, r3
	add	r1, r3, #4
	sub	r2, fp, #32
	ldr	r3, .L106+16
	sub	ip, fp, #20
	add	r3, ip, r3
	add	r3, r3, #24
	str	r3, [sp, #16]
	ldr	r3, .L106+16
	sub	ip, fp, #20
	add	r3, ip, r3
	add	r3, r3, #20
	str	r3, [sp, #12]
	ldr	r3, .L106+16
	sub	ip, fp, #20
	add	r3, ip, r3
	add	r3, r3, #16
	str	r3, [sp, #8]
	ldr	r3, .L106+16
	sub	ip, fp, #20
	add	r3, ip, r3
	add	r3, r3, #12
	str	r3, [sp, #4]
	ldr	r3, .L106+16
	sub	ip, fp, #20
	add	r3, ip, r3
	add	r3, r3, #8
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, .L106+20
	bl	__isoc99_sscanf
	sub	r3, fp, #32
	mov	r1, r3
	ldr	r0, .L106+24
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r2, r3, #255
	sub	r3, fp, #614400
	sub	r3, r3, #20
	strb	r2, [r3, #-1639]
	sub	r3, fp, #614400
	sub	r3, r3, #20
	ldr	r1, [r3, #-1672]
	add	r3, r1, #1
	sub	r2, fp, #614400
	sub	r2, r2, #20
	str	r3, [r2, #-1672]
	ldr	r2, .L106+28
	sub	r3, fp, #20
	add	r2, r3, r2
	mov	r3, r1
	lsl	r3, r3, #3
	sub	r3, r3, r1
	lsl	r3, r3, #2
	add	r0, r2, r3
	ldr	r3, .L106+16
	sub	r2, fp, #20
	add	r3, r2, r3
	mov	r2, #28
	mov	r1, r3
	bl	memcpy
	ldr	r2, .L106+32
	sub	r3, fp, #20
	add	r2, r3, r2
	ldr	r3, .L106+28
	sub	r1, fp, #20
	add	r3, r1, r3
	mov	r1, r2
	mov	r0, r3
	bl	reduce
	sub	r3, fp, #614400
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #614400
	sub	r3, r3, #20
	ldr	r3, [r3, #-1660]
	add	r3, r3, #1
	str	r3, [r2, #-1660]
.L100:
	sub	r3, fp, #614400
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #614400
	sub	r3, r3, #20
	sub	r3, r3, #1664
	ldr	r0, .L106+36
	sub	r1, fp, #20
	add	r0, r1, r0
	ldr	r2, [r2, #-1652]
	mov	r1, r3
	bl	getline
	mov	r3, r0
	cmn	r3, #1
	bne	.L101
	sub	r3, fp, #614400
	sub	r3, r3, #20
	ldr	r3, [r3, #-1668]
	mov	r0, r3
	bl	free
	sub	r3, fp, #614400
	sub	r3, r3, #20
	ldr	r0, [r3, #-1652]
	bl	fclose
	sub	r3, fp, #614400
	sub	r3, r3, #20
	sub	r3, r3, #1648
	mov	r1, r3
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	sub	r3, fp, #614400
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1656]
	b	.L102
.L103:
	ldr	r2, .L106+28
	sub	r3, fp, #20
	add	r2, r3, r2
	sub	r3, fp, #614400
	sub	r3, r3, #20
	ldr	r1, [r3, #-1656]
	mov	r3, r1
	lsl	r3, r3, #3
	sub	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r0, r3
	bl	size
	sub	r3, fp, #614400
	sub	r3, r3, #20
	sub	r3, r3, #1648
	mov	ip, r3
	sub	r3, fp, #614400
	sub	r3, r3, #20
	sub	r3, r3, #1648
	ldmia	r3, {r2-r3}
	adds	r4, r2, r0
	adc	r5, r3, r1
	stm	ip, {r4-r5}
	sub	r3, fp, #614400
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #614400
	sub	r3, r3, #20
	ldr	r3, [r3, #-1656]
	add	r3, r3, #1
	str	r3, [r2, #-1656]
.L102:
	sub	r3, fp, #614400
	sub	r3, r3, #20
	ldr	r3, [r3, #-1672]
	sub	r2, fp, #614400
	sub	r2, r2, #20
	ldr	r2, [r2, #-1656]
	cmp	r2, r3
	blt	.L103
	sub	r3, fp, #614400
	sub	r3, r3, #20
	sub	r3, r3, #1648
	ldmia	r3, {r2-r3}
	ldr	r0, .L106+40
	bl	printf
	mov	r3, #0
.L104:
	ldr	r2, .L106
	ldr	r1, [r2]
	ldr	r2, [fp, #-24]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L105
	bl	__stack_chk_fail
.L105:
	mov	r0, r3
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, fp, pc}
.L107:
	.align	2
.L106:
	.word	.LC11
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	-616040
	.word	.LC8
	.word	.LC9
	.word	-616012
	.word	-616072
	.word	-616068
	.word	.LC10
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
