	.file	"251481.c"
	.intel_syntax noprefix
	.text
	.globl	ossAlignX
	.type	ossAlignX, @function
ossAlignX:
.LFB0:
	.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	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -16[rbp]
	neg	rax
	and	rax, rdx
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	ossAlignX, .-ossAlignX
	.globl	INIT_6_BYTES_ZERO
	.type	INIT_6_BYTES_ZERO, @function
INIT_6_BYTES_ZERO:
.LFB1:
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	WORD PTR -20[rbp], 0
	mov	DWORD PTR -18[rbp], 0
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR -14[rbp], eax
	movzx	eax, WORD PTR -16[rbp]
	mov	WORD PTR -10[rbp], ax
	mov	eax, 0
	mov	edx, DWORD PTR -14[rbp]
	mov	ecx, edx
	movabs	rdx, -4294967296
	and	rax, rdx
	or	rax, rcx
	movzx	edx, WORD PTR -10[rbp]
	movzx	edx, dx
	sal	rdx, 32
	movabs	rcx, -281470681743361
	and	rax, rcx
	or	rax, rdx
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L5
	call	__stack_chk_fail@PLT
.L5:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	INIT_6_BYTES_ZERO, .-INIT_6_BYTES_ZERO
	.globl	Initialize
	.type	Initialize, @function
Initialize:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 40
	.cfi_offset 3, -24
	mov	QWORD PTR -40[rbp], rdi
	mov	DWORD PTR -44[rbp], esi
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	BYTE PTR 8[rax], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	BYTE PTR 9[rax], 0
	mov	rbx, QWORD PTR -24[rbp]
	mov	eax, 0
	call	INIT_6_BYTES_ZERO
	mov	BYTE PTR 10[rbx], al
	movzx	edx, ah
	mov	BYTE PTR 11[rbx], dl
	mov	rdx, rax
	shr	rdx, 16
	and	dh, -1
	mov	BYTE PTR 12[rbx], dl
	mov	rdx, rax
	shr	rdx, 24
	and	dh, -1
	mov	BYTE PTR 13[rbx], dl
	mov	rdx, rax
	shr	rdx, 32
	and	dh, -1
	mov	BYTE PTR 14[rbx], dl
	shr	rax, 40
	and	ah, -1
	mov	BYTE PTR 15[rbx], al
	nop
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	Initialize, .-Initialize
	.section	.rodata
.LC0:
	.string	"mprotect:c1: %d: %d(%s)\n"
.LC1:
	.string	"mprotect:c2: %d: %d(%s)\n"
.LC2:
	.string	"mprotect:c3: %d: %d(%s)\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	lea	r11, -114688[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 40
	.cfi_offset 3, -24
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	lea	rax, -114720[rbp]
	mov	esi, 16384
	mov	rdi, rax
	call	ossAlignX
	mov	QWORD PTR -114728[rbp], rax
	mov	edi, 30
	call	sysconf@PLT
	cmp	rax, 16384
	jle	.L8
	mov	eax, 0
	jmp	.L13
.L8:
	mov	rax, QWORD PTR -114728[rbp]
	mov	edx, 98304
	mov	esi, 1
	mov	rdi, rax
	call	memset@PLT
	mov	rax, QWORD PTR -114728[rbp]
	mov	BYTE PTR 16384[rax], -86
	mov	rax, QWORD PTR -114728[rbp]
	mov	BYTE PTR 49152[rax], -69
	mov	rax, QWORD PTR -114728[rbp]
	mov	BYTE PTR 81920[rax], -52
	mov	rax, QWORD PTR -114728[rbp]
	add	rax, 16384
	mov	edx, 0
	mov	esi, 16384
	mov	rdi, rax
	call	mprotect@PLT
	mov	DWORD PTR -114732[rbp], eax
	cmp	DWORD PTR -114732[rbp], -1
	jne	.L10
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rbx, rax
	call	__errno_location@PLT
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -114732[rbp]
	mov	rcx, rbx
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
.L10:
	mov	rax, QWORD PTR -114728[rbp]
	add	rax, 49152
	mov	edx, 0
	mov	esi, 16384
	mov	rdi, rax
	call	mprotect@PLT
	mov	DWORD PTR -114732[rbp], eax
	cmp	DWORD PTR -114732[rbp], -1
	jne	.L11
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rbx, rax
	call	__errno_location@PLT
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -114732[rbp]
	mov	rcx, rbx
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
.L11:
	mov	rax, QWORD PTR -114728[rbp]
	add	rax, 81920
	mov	edx, 0
	mov	esi, 16384
	mov	rdi, rax
	call	mprotect@PLT
	mov	DWORD PTR -114732[rbp], eax
	cmp	DWORD PTR -114732[rbp], -1
	jne	.L12
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rbx, rax
	call	__errno_location@PLT
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -114732[rbp]
	mov	rcx, rbx
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
.L12:
	mov	rax, QWORD PTR -114728[rbp]
	lea	rdx, 49144[rax]
	mov	rax, QWORD PTR -114728[rbp]
	mov	QWORD PTR 16376[rax], rdx
	mov	rax, QWORD PTR -114728[rbp]
	lea	rdx, 81904[rax]
	mov	rax, QWORD PTR -114728[rbp]
	mov	QWORD PTR 49144[rax], rdx
	mov	rax, QWORD PTR -114728[rbp]
	add	rax, 16376
	mov	esi, 0
	mov	rdi, rax
	call	Initialize
	mov	rax, QWORD PTR -114728[rbp]
	add	rax, 16384
	mov	edx, 3
	mov	esi, 16384
	mov	rdi, rax
	call	mprotect@PLT
	mov	rax, QWORD PTR -114728[rbp]
	add	rax, 49152
	mov	edx, 3
	mov	esi, 16384
	mov	rdi, rax
	call	mprotect@PLT
	mov	rax, QWORD PTR -114728[rbp]
	add	rax, 81920
	mov	edx, 3
	mov	esi, 16384
	mov	rdi, rax
	call	mprotect@PLT
	mov	eax, 0
.L13:
	mov	rcx, QWORD PTR -24[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.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	"251481.c"
	.text
	.align	2
	.global	ossAlignX
	.syntax unified
	.arm
	.fpu softvfp
	.type	ossAlignX, %function
ossAlignX:
	@ 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	r2, [fp, #-12]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	sub	r2, r3, #1
	ldr	r3, [fp, #-12]
	rsb	r3, r3, #0
	and	r3, r3, r2
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	ossAlignX, .-ossAlignX
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\000\000"
	.ascii	"\000\000\000\000"
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	INIT_6_BYTES_ZERO
	.syntax unified
	.arm
	.fpu softvfp
	.type	INIT_6_BYTES_ZERO, %function
INIT_6_BYTES_ZERO:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	ldr	r3, .L6
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r2, .L6+4
	sub	r3, fp, #16
	ldm	r2, {r0, r1}
	str	r0, [r3]
	add	r3, r3, #4
	strh	r1, [r3]	@ movhi
	ldr	r3, [fp, #-24]
	mov	r0, r3
	sub	r3, fp, #16
	mov	r2, #6
	mov	r1, r3
	bl	memcpy
	ldr	r3, .L6
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L5
	bl	__stack_chk_fail
.L5:
	ldr	r0, [fp, #-24]
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L7:
	.align	2
.L6:
	.word	.LC1
	.word	.LC0
	.size	INIT_6_BYTES_ZERO, .-INIT_6_BYTES_ZERO
	.section	.rodata
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	Initialize
	.syntax unified
	.arm
	.fpu softvfp
	.type	Initialize, %function
Initialize:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #28
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r3, .L10
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, [fp, #-24]
	ldr	r2, [r3]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	mov	r2, #0
	strb	r2, [r3, #4]
	ldr	r3, [fp, #-20]
	mov	r2, #0
	strb	r2, [r3, #5]
	ldr	r4, [fp, #-20]
	sub	r3, fp, #36
	mov	r0, r3
	bl	INIT_6_BYTES_ZERO
	add	r3, r4, #6
	sub	r1, fp, #36
	mov	r2, #6
	mov	r0, r3
	bl	memcpy
	nop
	ldr	r3, .L10
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L9
	bl	__stack_chk_fail
.L9:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L11:
	.align	2
.L10:
	.word	.LC2
	.size	Initialize, .-Initialize
	.section	.rodata
	.align	2
.LC3:
	.ascii	"mprotect:c1: %d: %d(%s)\012\000"
	.align	2
.LC4:
	.ascii	"mprotect:c2: %d: %d(%s)\012\000"
	.align	2
.LC5:
	.ascii	"mprotect:c3: %d: %d(%s)\012\000"
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 114704
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #114688
	sub	sp, sp, #20
	ldr	r3, .L20
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #114688
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, #16384
	mov	r0, r3
	bl	ossAlignX
	mov	r3, r0
	sub	r2, fp, #114688
	sub	r2, r2, #12
	str	r3, [r2, #-12]
	mov	r0, #30
	bl	sysconf
	mov	r3, r0
	cmp	r3, #16384
	ble	.L13
	mov	r3, #0
	b	.L18
.L13:
	sub	r3, fp, #114688
	sub	r3, r3, #12
	mov	r2, #98304
	mov	r1, #1
	ldr	r0, [r3, #-12]
	bl	memset
	sub	r3, fp, #114688
	sub	r3, r3, #12
	ldr	r3, [r3, #-12]
	add	r3, r3, #16384
	mvn	r2, #85
	strb	r2, [r3]
	sub	r3, fp, #114688
	sub	r3, r3, #12
	ldr	r3, [r3, #-12]
	add	r3, r3, #49152
	mvn	r2, #68
	strb	r2, [r3]
	sub	r3, fp, #114688
	sub	r3, r3, #12
	ldr	r3, [r3, #-12]
	add	r3, r3, #81920
	mvn	r2, #51
	strb	r2, [r3]
	sub	r3, fp, #114688
	sub	r3, r3, #12
	ldr	r3, [r3, #-12]
	add	r3, r3, #16384
	sub	r2, fp, #114688
	sub	r2, r2, #12
	mov	r4, r2
	mov	r2, #0
	mov	r1, #16384
	mov	r0, r3
	bl	mprotect
	str	r0, [r4, #-8]
	sub	r3, fp, #114688
	sub	r3, r3, #12
	ldr	r3, [r3, #-8]
	cmn	r3, #1
	bne	.L15
	bl	__errno_location
	mov	r3, r0
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	sub	r2, fp, #114688
	sub	r2, r2, #12
	mov	r1, r2
	mov	r2, r4
	ldr	r1, [r1, #-8]
	ldr	r0, .L20+4
	bl	printf
.L15:
	sub	r3, fp, #114688
	sub	r3, r3, #12
	ldr	r3, [r3, #-12]
	add	r3, r3, #49152
	sub	r2, fp, #114688
	sub	r2, r2, #12
	mov	r4, r2
	mov	r2, #0
	mov	r1, #16384
	mov	r0, r3
	bl	mprotect
	str	r0, [r4, #-8]
	sub	r3, fp, #114688
	sub	r3, r3, #12
	ldr	r3, [r3, #-8]
	cmn	r3, #1
	bne	.L16
	bl	__errno_location
	mov	r3, r0
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	sub	r2, fp, #114688
	sub	r2, r2, #12
	mov	r1, r2
	mov	r2, r4
	ldr	r1, [r1, #-8]
	ldr	r0, .L20+8
	bl	printf
.L16:
	sub	r3, fp, #114688
	sub	r3, r3, #12
	ldr	r3, [r3, #-12]
	add	r3, r3, #81920
	sub	r2, fp, #114688
	sub	r2, r2, #12
	mov	r4, r2
	mov	r2, #0
	mov	r1, #16384
	mov	r0, r3
	bl	mprotect
	str	r0, [r4, #-8]
	sub	r3, fp, #114688
	sub	r3, r3, #12
	ldr	r3, [r3, #-8]
	cmn	r3, #1
	bne	.L17
	bl	__errno_location
	mov	r3, r0
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	sub	r2, fp, #114688
	sub	r2, r2, #12
	mov	r1, r2
	mov	r2, r4
	ldr	r1, [r1, #-8]
	ldr	r0, .L20+12
	bl	printf
.L17:
	sub	r3, fp, #114688
	sub	r3, r3, #12
	ldr	r3, [r3, #-12]
	add	r3, r3, #48896
	add	r3, r3, #252
	sub	r2, fp, #114688
	sub	r2, r2, #12
	ldr	r2, [r2, #-12]
	add	r2, r2, #12288
	str	r3, [r2, #4092]
	sub	r3, fp, #114688
	sub	r3, r3, #12
	ldr	r3, [r3, #-12]
	add	r3, r3, #80896
	add	r3, r3, #1012
	sub	r2, fp, #114688
	sub	r2, r2, #12
	ldr	r2, [r2, #-12]
	add	r2, r2, #45056
	str	r3, [r2, #4092]
	sub	r3, fp, #114688
	sub	r3, r3, #12
	ldr	r3, [r3, #-12]
	add	r3, r3, #16320
	add	r3, r3, #60
	mov	r1, #0
	mov	r0, r3
	bl	Initialize
	sub	r3, fp, #114688
	sub	r3, r3, #12
	ldr	r3, [r3, #-12]
	add	r3, r3, #16384
	mov	r2, #3
	mov	r1, #16384
	mov	r0, r3
	bl	mprotect
	sub	r3, fp, #114688
	sub	r3, r3, #12
	ldr	r3, [r3, #-12]
	add	r3, r3, #49152
	mov	r2, #3
	mov	r1, #16384
	mov	r0, r3
	bl	mprotect
	sub	r3, fp, #114688
	sub	r3, r3, #12
	ldr	r3, [r3, #-12]
	add	r3, r3, #81920
	mov	r2, #3
	mov	r1, #16384
	mov	r0, r3
	bl	mprotect
	mov	r3, #0
.L18:
	ldr	r2, .L20
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L19
	bl	__stack_chk_fail
.L19:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L21:
	.align	2
.L20:
	.word	.LC6
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
