	.file	"64199297.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"the_stack_data/64199297.c"
.LC1:
	.string	"(align & (align - 1)) == 0"
	.text
	.globl	aligned_malloc
	.type	aligned_malloc, @function
aligned_malloc:
.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, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	QWORD PTR -16[rbp], 0
	mov	rax, QWORD PTR -40[rbp]
	sub	rax, 1
	and	rax, QWORD PTR -40[rbp]
	test	rax, rax
	je	.L2
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 49
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	__assert_fail@PLT
.L2:
	cmp	QWORD PTR -40[rbp], 0
	je	.L3
	cmp	QWORD PTR -48[rbp], 0
	je	.L3
	mov	rax, QWORD PTR -40[rbp]
	add	eax, 1
	mov	DWORD PTR -20[rbp], eax
	mov	edx, DWORD PTR -20[rbp]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	je	.L3
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -40[rbp]
	neg	rax
	and	rax, rdx
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rax, rcx
	mov	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	sub	rax, 2
	mov	WORD PTR [rax], dx
.L3:
	mov	rax, QWORD PTR -16[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	aligned_malloc, .-aligned_malloc
	.section	.rodata
.LC2:
	.string	"ptr"
	.text
	.globl	aligned_free
	.type	aligned_free, @function
aligned_free:
.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
	cmp	QWORD PTR -24[rbp], 0
	jne	.L6
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 84
	lea	rsi, .LC0[rip]
	lea	rdi, .LC2[rip]
	call	__assert_fail@PLT
.L6:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, WORD PTR -2[rax]
	mov	WORD PTR -10[rbp], ax
	movzx	eax, WORD PTR -10[rbp]
	neg	rax
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	aligned_free, .-aligned_free
	.section	.rodata
	.align 8
	.type	__PRETTY_FUNCTION__.1, @object
	.size	__PRETTY_FUNCTION__.1, 15
__PRETTY_FUNCTION__.1:
	.string	"aligned_malloc"
	.align 8
	.type	__PRETTY_FUNCTION__.0, @object
	.size	__PRETTY_FUNCTION__.0, 13
__PRETTY_FUNCTION__.0:
	.string	"aligned_free"
	.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	"64199297.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"the_stack_data/64199297.c\000"
	.align	2
.LC1:
	.ascii	"(align & (align - 1)) == 0\000"
	.text
	.align	2
	.global	aligned_malloc
	.syntax unified
	.arm
	.fpu softvfp
	.type	aligned_malloc, %function
aligned_malloc:
	@ 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]
	str	r1, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-24]
	sub	r2, r3, #1
	ldr	r3, [fp, #-24]
	and	r3, r3, r2
	cmp	r3, #0
	beq	.L2
	ldr	r3, .L5
	mov	r2, #49
	ldr	r1, .L5+4
	ldr	r0, .L5+8
	bl	__assert_fail
.L2:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L3
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	beq	.L3
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L3
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	add	r2, r3, #1
	ldr	r3, [fp, #-24]
	rsb	r3, r3, #0
	and	r3, r3, r2
	str	r3, [fp, #-16]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	sub	r2, r2, r3
	ldr	r3, [fp, #-16]
	sub	r3, r3, #2
	lsl	r2, r2, #16
	lsr	r2, r2, #16
	strh	r2, [r3]	@ movhi
.L3:
	ldr	r3, [fp, #-16]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L6:
	.align	2
.L5:
	.word	__PRETTY_FUNCTION__.5339
	.word	.LC0
	.word	.LC1
	.size	aligned_malloc, .-aligned_malloc
	.section	.rodata
	.align	2
.LC2:
	.ascii	"ptr\000"
	.text
	.align	2
	.global	aligned_free
	.syntax unified
	.arm
	.fpu softvfp
	.type	aligned_free, %function
aligned_free:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L8
	ldr	r3, .L9
	mov	r2, #84
	ldr	r1, .L9+4
	ldr	r0, .L9+8
	bl	__assert_fail
.L8:
	ldr	r3, [fp, #-16]
	ldrh	r3, [r3, #-2]	@ movhi
	strh	r3, [fp, #-10]	@ movhi
	ldrh	r3, [fp, #-10]
	rsb	r3, r3, #0
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r0, [fp, #-8]
	bl	free
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	__PRETTY_FUNCTION__.5345
	.word	.LC0
	.word	.LC2
	.size	aligned_free, .-aligned_free
	.section	.rodata
	.align	2
	.type	__PRETTY_FUNCTION__.5339, %object
	.size	__PRETTY_FUNCTION__.5339, 15
__PRETTY_FUNCTION__.5339:
	.ascii	"aligned_malloc\000"
	.align	2
	.type	__PRETTY_FUNCTION__.5345, %object
	.size	__PRETTY_FUNCTION__.5345, 13
__PRETTY_FUNCTION__.5345:
	.ascii	"aligned_free\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
