	.file	"28415.c"
	.intel_syntax noprefix
	.text
	.local	_malloc_intercept
	.comm	_malloc_intercept,16,16
	.globl	MemAllocMock_InterceptMalloc
	.type	MemAllocMock_InterceptMalloc, @function
MemAllocMock_InterceptMalloc:
.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	BYTE PTR _malloc_intercept[rip], 1
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR _malloc_intercept[rip+8], rax
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	MemAllocMock_InterceptMalloc, .-MemAllocMock_InterceptMalloc
	.globl	MemAllocMock_MallocInterceptCount
	.type	MemAllocMock_MallocInterceptCount, @function
MemAllocMock_MallocInterceptCount:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, DWORD PTR _malloc_intercept[rip+4]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	MemAllocMock_MallocInterceptCount, .-MemAllocMock_MallocInterceptCount
	.globl	MemAllocMock_ResetMalloc
	.type	MemAllocMock_ResetMalloc, @function
MemAllocMock_ResetMalloc:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	BYTE PTR _malloc_intercept[rip], 0
	mov	DWORD PTR _malloc_intercept[rip+4], 0
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	MemAllocMock_ResetMalloc, .-MemAllocMock_ResetMalloc
	.globl	mock_malloc
	.type	mock_malloc, @function
mock_malloc:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	movzx	eax, BYTE PTR _malloc_intercept[rip]
	test	al, al
	je	.L6
	mov	eax, DWORD PTR _malloc_intercept[rip+4]
	add	eax, 1
	mov	DWORD PTR _malloc_intercept[rip+4], eax
	mov	rax, QWORD PTR _malloc_intercept[rip+8]
	jmp	.L7
.L6:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	malloc@PLT
.L7:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	mock_malloc, .-mock_malloc
	.globl	mock_calloc
	.type	mock_calloc, @function
mock_calloc:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	movzx	eax, BYTE PTR _malloc_intercept[rip]
	test	al, al
	je	.L9
	mov	eax, DWORD PTR _malloc_intercept[rip+4]
	add	eax, 1
	mov	DWORD PTR _malloc_intercept[rip+4], eax
	mov	rax, QWORD PTR _malloc_intercept[rip+8]
	jmp	.L10
.L9:
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	calloc@PLT
.L10:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	mock_calloc, .-mock_calloc
	.globl	mock_realloc
	.type	mock_realloc, @function
mock_realloc:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	movzx	eax, BYTE PTR _malloc_intercept[rip]
	test	al, al
	je	.L12
	mov	eax, DWORD PTR _malloc_intercept[rip+4]
	add	eax, 1
	mov	DWORD PTR _malloc_intercept[rip+4], eax
	mov	rax, QWORD PTR _malloc_intercept[rip+8]
	jmp	.L13
.L12:
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	realloc@PLT
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	mock_realloc, .-mock_realloc
	.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	"28415.c"
	.text
	.local	_malloc_intercept
	.comm	_malloc_intercept,12,4
	.align	2
	.global	MemAllocMock_InterceptMalloc
	.syntax unified
	.arm
	.fpu softvfp
	.type	MemAllocMock_InterceptMalloc, %function
MemAllocMock_InterceptMalloc:
	@ 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]
	ldr	r3, .L2
	mov	r2, #1
	strb	r2, [r3]
	ldr	r2, .L2
	ldr	r3, [fp, #-8]
	str	r3, [r2, #8]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L3:
	.align	2
.L2:
	.word	_malloc_intercept
	.size	MemAllocMock_InterceptMalloc, .-MemAllocMock_InterceptMalloc
	.align	2
	.global	MemAllocMock_MallocInterceptCount
	.syntax unified
	.arm
	.fpu softvfp
	.type	MemAllocMock_MallocInterceptCount, %function
MemAllocMock_MallocInterceptCount:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	ldr	r3, .L6
	ldr	r3, [r3, #4]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L7:
	.align	2
.L6:
	.word	_malloc_intercept
	.size	MemAllocMock_MallocInterceptCount, .-MemAllocMock_MallocInterceptCount
	.align	2
	.global	MemAllocMock_ResetMalloc
	.syntax unified
	.arm
	.fpu softvfp
	.type	MemAllocMock_ResetMalloc, %function
MemAllocMock_ResetMalloc:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	ldr	r3, .L9
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, .L9
	mov	r2, #0
	str	r2, [r3, #4]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L10:
	.align	2
.L9:
	.word	_malloc_intercept
	.size	MemAllocMock_ResetMalloc, .-MemAllocMock_ResetMalloc
	.align	2
	.global	mock_malloc
	.syntax unified
	.arm
	.fpu softvfp
	.type	mock_malloc, %function
mock_malloc:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, .L14
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L12
	ldr	r3, .L14
	ldr	r3, [r3, #4]
	add	r3, r3, #1
	ldr	r2, .L14
	str	r3, [r2, #4]
	ldr	r3, .L14
	ldr	r3, [r3, #8]
	b	.L13
.L12:
	ldr	r0, [fp, #-8]
	bl	malloc
	mov	r3, r0
.L13:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	_malloc_intercept
	.size	mock_malloc, .-mock_malloc
	.align	2
	.global	mock_calloc
	.syntax unified
	.arm
	.fpu softvfp
	.type	mock_calloc, %function
mock_calloc:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, .L19
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L17
	ldr	r3, .L19
	ldr	r3, [r3, #4]
	add	r3, r3, #1
	ldr	r2, .L19
	str	r3, [r2, #4]
	ldr	r3, .L19
	ldr	r3, [r3, #8]
	b	.L18
.L17:
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	calloc
	mov	r3, r0
.L18:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L20:
	.align	2
.L19:
	.word	_malloc_intercept
	.size	mock_calloc, .-mock_calloc
	.align	2
	.global	mock_realloc
	.syntax unified
	.arm
	.fpu softvfp
	.type	mock_realloc, %function
mock_realloc:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, .L24
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L22
	ldr	r3, .L24
	ldr	r3, [r3, #4]
	add	r3, r3, #1
	ldr	r2, .L24
	str	r3, [r2, #4]
	ldr	r3, .L24
	ldr	r3, [r3, #8]
	b	.L23
.L22:
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	realloc
	mov	r3, r0
.L23:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L25:
	.align	2
.L24:
	.word	_malloc_intercept
	.size	mock_realloc, .-mock_realloc
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
