	.file	"768165.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"--terse"
	.align 8
.LC1:
	.string	"Malloc returns does not return increasing addresses\n"
	.align 8
.LC2:
	.string	"no credible value for EXTERN_MALLOC_OVERHEAD found\n"
.LC3:
	.string	"%d"
	.align 8
.LC4:
	.string	"Suggested EXTERN_MALLOC_OVERHEAD: %d\n"
	.align 8
.LC5:
	.string	"Actual overhead encountered for the above setting:%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.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, 64
	mov	DWORD PTR -52[rbp], edi
	mov	QWORD PTR -64[rbp], rsi
	mov	DWORD PTR -36[rbp], 12
	mov	DWORD PTR -32[rbp], 0
	mov	DWORD PTR -28[rbp], 0
	cmp	DWORD PTR -52[rbp], 1
	jle	.L2
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L2
	mov	eax, 1
	jmp	.L3
.L2:
	mov	eax, 0
.L3:
	mov	DWORD PTR -24[rbp], eax
	mov	DWORD PTR -44[rbp], 32768
	mov	eax, DWORD PTR -44[rbp]
	mov	DWORD PTR -40[rbp], eax
	mov	eax, DWORD PTR -44[rbp]
	mov	DWORD PTR -20[rbp], eax
.L11:
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	add	DWORD PTR -36[rbp], 1
	mov	eax, DWORD PTR -44[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -16[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, rdx
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -40[rbp]
	jg	.L4
	cmp	DWORD PTR -20[rbp], 0
	jns	.L5
	add	DWORD PTR -32[rbp], 1
	mov	edx, DWORD PTR -32[rbp]
	mov	eax, edx
	add	eax, eax
	add	edx, eax
	mov	eax, DWORD PTR -36[rbp]
	add	eax, eax
	cmp	edx, eax
	jle	.L19
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 52
	mov	esi, 1
	lea	rdi, .LC1[rip]
	call	fwrite@PLT
	cmp	DWORD PTR -24[rbp], 0
	je	.L7
	mov	edi, 48
	call	putchar@PLT
.L7:
	mov	edi, 1
	call	exit@PLT
.L5:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -40[rbp]
	je	.L20
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR -40[rbp], eax
	mov	eax, DWORD PTR -44[rbp]
	mov	DWORD PTR -28[rbp], eax
	cmp	DWORD PTR -20[rbp], 0
	je	.L21
.L4:
	mov	eax, DWORD PTR -44[rbp]
	sub	eax, 8
	mov	DWORD PTR -44[rbp], eax
	jmp	.L8
.L19:
	nop
.L8:
	cmp	DWORD PTR -44[rbp], 32511
	jg	.L11
	jmp	.L10
.L20:
	nop
	jmp	.L10
.L21:
	nop
.L10:
	mov	eax, 32768
	sub	eax, DWORD PTR -28[rbp]
	mov	DWORD PTR -20[rbp], eax
	cmp	DWORD PTR -20[rbp], 256
	jg	.L12
	cmp	DWORD PTR -40[rbp], 4096
	jle	.L13
.L12:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 51
	mov	esi, 1
	lea	rdi, .LC2[rip]
	call	fwrite@PLT
	cmp	DWORD PTR -24[rbp], 0
	je	.L14
	mov	edi, 48
	call	putchar@PLT
.L14:
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	edi, 1
	call	exit@PLT
.L13:
	cmp	DWORD PTR -24[rbp], 0
	je	.L15
	lea	rax, .LC3[rip]
	jmp	.L16
.L15:
	lea	rax, .LC4[rip]
.L16:
	mov	edx, DWORD PTR -20[rbp]
	mov	esi, edx
	mov	rdi, rax
	mov	eax, 0
	call	printf@PLT
	cmp	DWORD PTR -24[rbp], 0
	jne	.L17
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -40[rbp]
	je	.L17
	mov	eax, DWORD PTR -40[rbp]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
.L17:
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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	"768165.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"--terse\000"
	.align	2
.LC1:
	.ascii	"Malloc returns does not return increasing addresses"
	.ascii	"\012\000"
	.align	2
.LC2:
	.ascii	"no credible value for EXTERN_MALLOC_OVERHEAD found\012"
	.ascii	"\000"
	.align	2
.LC3:
	.ascii	"%d\000"
	.align	2
.LC4:
	.ascii	"Suggested EXTERN_MALLOC_OVERHEAD: %d\012\000"
	.align	2
.LC5:
	.ascii	"Actual overhead encountered for the above setting:%"
	.ascii	"d\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ 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, #-48]
	str	r1, [fp, #-52]
	mov	r3, #12
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-48]
	cmp	r3, #1
	ble	.L2
	ldr	r3, [fp, #-52]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L22
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L2
	mov	r3, #1
	b	.L3
.L2:
	mov	r3, #0
.L3:
	str	r3, [fp, #-20]
	mov	r3, #32768
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-40]
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-40]
	str	r3, [fp, #-16]
.L11:
	ldr	r3, [fp, #-40]
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-40]
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-12]
	add	r3, r2, r3
	ldr	r2, [fp, #-8]
	sub	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-36]
	cmp	r2, r3
	bgt	.L4
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bge	.L5
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r2, r3, r2
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #1
	cmp	r2, r3
	ble	.L19
	ldr	r3, .L22+4
	ldr	r3, [r3]
	mov	r2, #52
	mov	r1, #1
	ldr	r0, .L22+8
	bl	fwrite
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L7
	mov	r0, #48
	bl	putchar
.L7:
	mov	r0, #1
	bl	exit
.L5:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-36]
	cmp	r2, r3
	beq	.L20
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-40]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L21
.L4:
	ldr	r3, [fp, #-40]
	sub	r3, r3, #4
	str	r3, [fp, #-40]
	b	.L8
.L19:
	nop
.L8:
	ldr	r3, [fp, #-40]
	cmp	r3, #32512
	bge	.L11
	b	.L10
.L20:
	nop
	b	.L10
.L21:
	nop
.L10:
	ldr	r3, [fp, #-24]
	rsb	r3, r3, #32768
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #256
	bgt	.L12
	ldr	r3, [fp, #-36]
	cmp	r3, #4096
	ble	.L13
.L12:
	ldr	r3, .L22+4
	ldr	r3, [r3]
	mov	r2, #51
	mov	r1, #1
	ldr	r0, .L22+12
	bl	fwrite
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L14
	mov	r0, #48
	bl	putchar
.L14:
	ldr	r3, .L22+16
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	mov	r0, #1
	bl	exit
.L13:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L15
	ldr	r3, .L22+20
	b	.L16
.L15:
	ldr	r3, .L22+24
.L16:
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	printf
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L17
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-36]
	cmp	r2, r3
	beq	.L17
	ldr	r1, [fp, #-36]
	ldr	r0, .L22+28
	bl	printf
.L17:
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L23:
	.align	2
.L22:
	.word	.LC0
	.word	stderr
	.word	.LC1
	.word	.LC2
	.word	stdout
	.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
