	.file	"49562.c"
	.intel_syntax noprefix
	.text
	.globl	sklansky
	.type	sklansky, @function
sklansky:
.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 -36[rbp], edi
	mov	QWORD PTR -48[rbp], rsi
	mov	QWORD PTR -56[rbp], rdx
	mov	edi, 256
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -32[rbp], 0
	jmp	.L2
.L5:
	mov	eax, DWORD PTR -32[rbp]
	and	eax, 1
	test	eax, eax
	jne	.L3
	mov	eax, DWORD PTR -36[rbp]
	sal	eax, 5
	mov	edx, eax
	mov	eax, DWORD PTR -32[rbp]
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	jmp	.L4
.L3:
	mov	eax, DWORD PTR -36[rbp]
	sal	eax, 5
	mov	edx, eax
	mov	eax, DWORD PTR -32[rbp]
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -36[rbp]
	sal	eax, 5
	mov	ecx, eax
	mov	eax, DWORD PTR -32[rbp]
	and	eax, 4294967294
	add	rax, rcx
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	add	eax, edx
.L4:
	mov	edx, DWORD PTR -32[rbp]
	lea	rcx, 0[0+rdx*4]
	mov	rdx, QWORD PTR -8[rbp]
	add	rdx, rcx
	mov	DWORD PTR [rdx], eax
	add	DWORD PTR -32[rbp], 1
.L2:
	cmp	DWORD PTR -32[rbp], 31
	jbe	.L5
	mov	DWORD PTR -28[rbp], 0
	jmp	.L6
.L9:
	mov	eax, DWORD PTR -28[rbp]
	and	eax, 2
	test	eax, eax
	jne	.L7
	mov	eax, DWORD PTR -28[rbp]
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	jmp	.L8
.L7:
	mov	eax, DWORD PTR -28[rbp]
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -28[rbp]
	and	eax, 4294967292
	or	rax, 1
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	add	eax, edx
.L8:
	mov	rdx, QWORD PTR -8[rbp]
	lea	rcx, 128[rdx]
	mov	edx, DWORD PTR -28[rbp]
	sal	rdx, 2
	add	rdx, rcx
	mov	DWORD PTR [rdx], eax
	add	DWORD PTR -28[rbp], 1
.L6:
	cmp	DWORD PTR -28[rbp], 31
	jbe	.L9
	mov	DWORD PTR -24[rbp], 0
	jmp	.L10
.L13:
	mov	eax, DWORD PTR -24[rbp]
	and	eax, 4
	test	eax, eax
	jne	.L11
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 128[rax]
	mov	eax, DWORD PTR -24[rbp]
	sal	rax, 2
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	jmp	.L12
.L11:
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 128[rax]
	mov	eax, DWORD PTR -24[rbp]
	sal	rax, 2
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	lea	rcx, 128[rax]
	mov	eax, DWORD PTR -24[rbp]
	and	eax, 4294967288
	or	rax, 3
	sal	rax, 2
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	add	eax, edx
.L12:
	mov	edx, DWORD PTR -24[rbp]
	lea	rcx, 0[0+rdx*4]
	mov	rdx, QWORD PTR -8[rbp]
	add	rdx, rcx
	mov	DWORD PTR [rdx], eax
	add	DWORD PTR -24[rbp], 1
.L10:
	cmp	DWORD PTR -24[rbp], 31
	jbe	.L13
	mov	DWORD PTR -20[rbp], 0
	jmp	.L14
.L17:
	mov	eax, DWORD PTR -20[rbp]
	and	eax, 8
	test	eax, eax
	jne	.L15
	mov	eax, DWORD PTR -20[rbp]
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	jmp	.L16
.L15:
	mov	eax, DWORD PTR -20[rbp]
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -20[rbp]
	and	eax, 4294967280
	or	rax, 7
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	add	eax, edx
.L16:
	mov	rdx, QWORD PTR -8[rbp]
	lea	rcx, 128[rdx]
	mov	edx, DWORD PTR -20[rbp]
	sal	rdx, 2
	add	rdx, rcx
	mov	DWORD PTR [rdx], eax
	add	DWORD PTR -20[rbp], 1
.L14:
	cmp	DWORD PTR -20[rbp], 31
	jbe	.L17
	mov	DWORD PTR -16[rbp], 0
	jmp	.L18
.L21:
	cmp	DWORD PTR -16[rbp], 15
	ja	.L19
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 128[rax]
	mov	eax, DWORD PTR -16[rbp]
	sal	rax, 2
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	jmp	.L20
.L19:
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 128[rax]
	mov	eax, DWORD PTR -16[rbp]
	sal	rax, 2
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, -128
	add	rax, 60
	mov	eax, DWORD PTR [rax]
	add	eax, edx
.L20:
	mov	edx, DWORD PTR -16[rbp]
	lea	rcx, 0[0+rdx*4]
	mov	rdx, QWORD PTR -8[rbp]
	add	rdx, rcx
	mov	DWORD PTR [rdx], eax
	add	DWORD PTR -16[rbp], 1
.L18:
	cmp	DWORD PTR -16[rbp], 31
	jbe	.L21
	mov	DWORD PTR -12[rbp], 0
	jmp	.L22
.L23:
	mov	eax, DWORD PTR -12[rbp]
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -36[rbp]
	mov	ecx, edx
	sal	ecx, 5
	mov	edx, DWORD PTR -12[rbp]
	add	edx, ecx
	mov	edx, edx
	lea	rcx, 0[0+rdx*4]
	mov	rdx, QWORD PTR -56[rbp]
	add	rdx, rcx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR [rdx], eax
	add	DWORD PTR -12[rbp], 1
.L22:
	cmp	DWORD PTR -12[rbp], 31
	jbe	.L23
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	sklansky, .-sklansky
	.section	.rodata
.LC0:
	.string	"%d "
	.text
	.globl	main
	.type	main, @function
main:
.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, 304
	mov	DWORD PTR -292[rbp], edi
	mov	QWORD PTR -304[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -280[rbp], 0
	jmp	.L25
.L26:
	mov	edx, DWORD PTR -280[rbp]
	mov	eax, DWORD PTR -280[rbp]
	cdqe
	mov	DWORD PTR -272[rbp+rax*4], edx
	add	DWORD PTR -280[rbp], 1
.L25:
	cmp	DWORD PTR -280[rbp], 31
	jle	.L26
	lea	rdx, -144[rbp]
	lea	rax, -272[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	sklansky
	mov	DWORD PTR -276[rbp], 0
	jmp	.L27
.L28:
	mov	eax, DWORD PTR -276[rbp]
	cdqe
	mov	eax, DWORD PTR -144[rbp+rax*4]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -276[rbp], 1
.L27:
	cmp	DWORD PTR -276[rbp], 31
	jle	.L28
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L30
	call	__stack_chk_fail@PLT
.L30:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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	"49562.c"
	.text
	.align	2
	.global	sklansky
	.syntax unified
	.arm
	.fpu softvfp
	.type	sklansky, %function
sklansky:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	str	r2, [fp, #-48]
	mov	r0, #256
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L2
.L5:
	ldr	r3, [fp, #-32]
	and	r3, r3, #1
	cmp	r3, #0
	bne	.L3
	ldr	r3, [fp, #-40]
	lsl	r2, r3, #5
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	lsl	r3, r3, #2
	ldr	r2, [fp, #-44]
	add	r3, r2, r3
	ldr	r3, [r3]
	b	.L4
.L3:
	ldr	r3, [fp, #-40]
	lsl	r2, r3, #5
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	lsl	r3, r3, #2
	ldr	r2, [fp, #-44]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	lsl	r1, r3, #5
	ldr	r3, [fp, #-32]
	bic	r3, r3, #1
	add	r3, r1, r3
	lsl	r3, r3, #2
	ldr	r1, [fp, #-44]
	add	r3, r1, r3
	ldr	r3, [r3]
	add	r3, r2, r3
.L4:
	ldr	r2, [fp, #-32]
	lsl	r2, r2, #2
	ldr	r1, [fp, #-8]
	add	r2, r1, r2
	str	r3, [r2]
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L2:
	ldr	r3, [fp, #-32]
	cmp	r3, #31
	bls	.L5
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L6
.L9:
	ldr	r3, [fp, #-28]
	and	r3, r3, #2
	cmp	r3, #0
	bne	.L7
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	ldr	r3, [r3]
	b	.L8
.L7:
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-28]
	bic	r3, r3, #3
	orr	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r1, [fp, #-8]
	add	r3, r1, r3
	ldr	r3, [r3]
	add	r3, r2, r3
.L8:
	ldr	r2, [fp, #-8]
	add	r1, r2, #128
	ldr	r2, [fp, #-28]
	lsl	r2, r2, #2
	add	r2, r1, r2
	str	r3, [r2]
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L6:
	ldr	r3, [fp, #-28]
	cmp	r3, #31
	bls	.L9
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L10
.L13:
	ldr	r3, [fp, #-24]
	and	r3, r3, #4
	cmp	r3, #0
	bne	.L11
	ldr	r3, [fp, #-8]
	add	r2, r3, #128
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	b	.L12
.L11:
	ldr	r3, [fp, #-8]
	add	r2, r3, #128
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r1, r3, #128
	ldr	r3, [fp, #-24]
	bic	r3, r3, #7
	orr	r3, r3, #3
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3]
	add	r3, r2, r3
.L12:
	ldr	r2, [fp, #-24]
	lsl	r2, r2, #2
	ldr	r1, [fp, #-8]
	add	r2, r1, r2
	str	r3, [r2]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L10:
	ldr	r3, [fp, #-24]
	cmp	r3, #31
	bls	.L13
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L14
.L17:
	ldr	r3, [fp, #-20]
	and	r3, r3, #8
	cmp	r3, #0
	bne	.L15
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	ldr	r3, [r3]
	b	.L16
.L15:
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	bic	r3, r3, #15
	orr	r3, r3, #7
	lsl	r3, r3, #2
	ldr	r1, [fp, #-8]
	add	r3, r1, r3
	ldr	r3, [r3]
	add	r3, r2, r3
.L16:
	ldr	r2, [fp, #-8]
	add	r1, r2, #128
	ldr	r2, [fp, #-20]
	lsl	r2, r2, #2
	add	r2, r1, r2
	str	r3, [r2]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L14:
	ldr	r3, [fp, #-20]
	cmp	r3, #31
	bls	.L17
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L18
.L21:
	ldr	r3, [fp, #-16]
	cmp	r3, #15
	bhi	.L19
	ldr	r3, [fp, #-8]
	add	r2, r3, #128
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	b	.L20
.L19:
	ldr	r3, [fp, #-8]
	add	r2, r3, #128
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #128
	add	r3, r3, #60
	ldr	r3, [r3]
	add	r3, r2, r3
.L20:
	ldr	r2, [fp, #-16]
	lsl	r2, r2, #2
	ldr	r1, [fp, #-8]
	add	r2, r1, r2
	str	r3, [r2]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L18:
	ldr	r3, [fp, #-16]
	cmp	r3, #31
	bls	.L21
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L22
.L23:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-8]
	add	r2, r2, r3
	ldr	r3, [fp, #-40]
	lsl	r1, r3, #5
	ldr	r3, [fp, #-12]
	add	r3, r1, r3
	lsl	r3, r3, #2
	ldr	r1, [fp, #-48]
	add	r3, r1, r3
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L22:
	ldr	r3, [fp, #-12]
	cmp	r3, #31
	bls	.L23
	ldr	r0, [fp, #-8]
	bl	free
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	sklansky, .-sklansky
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d \000"
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 280
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #280
	str	r0, [fp, #-280]
	str	r1, [fp, #-284]
	ldr	r3, .L31
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-272]
	b	.L25
.L26:
	ldr	r2, [fp, #-272]
	ldr	r3, [fp, #-272]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-260]
	ldr	r3, [fp, #-272]
	add	r3, r3, #1
	str	r3, [fp, #-272]
.L25:
	ldr	r3, [fp, #-272]
	cmp	r3, #31
	ble	.L26
	sub	r2, fp, #136
	sub	r3, fp, #264
	mov	r1, r3
	mov	r0, #0
	bl	sklansky
	mov	r3, #0
	str	r3, [fp, #-268]
	b	.L27
.L28:
	ldr	r3, [fp, #-268]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-132]
	mov	r1, r3
	ldr	r0, .L31+4
	bl	printf
	ldr	r3, [fp, #-268]
	add	r3, r3, #1
	str	r3, [fp, #-268]
.L27:
	ldr	r3, [fp, #-268]
	cmp	r3, #31
	ble	.L28
	mov	r3, #0
	ldr	r2, .L31
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L30
	bl	__stack_chk_fail
.L30:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L32:
	.align	2
.L31:
	.word	.LC1
	.word	.LC0
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
