	.file	"extr_resource_tracker.c_alloc_mtt_tr.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	alloc_mtt_tr, @function
alloc_mtt_tr:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	ebp, edi
	mov	edi, 16
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	ebx, esi
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	call	kzalloc@PLT
	mov	r12, rax
	test	rax, rax
	je	.L1
	mov	DWORD PTR 4[rax], ebp
	lea	rdi, 12[r12]
	xor	esi, esi
	add	r12, 4
	mov	DWORD PTR [rax], ebx
	mov	eax, DWORD PTR RES_MTT_ALLOCATED[rip]
	mov	DWORD PTR 4[r12], eax
	call	atomic_set@PLT
.L1:
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	alloc_mtt_tr, .-alloc_mtt_tr
	.comm	RES_MTT_ALLOCATED,4,4
	.comm	GFP_KERNEL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.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, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_resource_tracker.c_alloc_mtt_tr.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	alloc_mtt_tr, %function
alloc_mtt_tr:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r1
	ldr	r1, .L8
	mov	r6, r0
	ldr	r1, [r1]
	mov	r0, #16
	bl	kzalloc
	subs	r4, r0, #0
	beq	.L1
	ldr	r3, .L8+4
	str	r6, [r4, #4]
	ldr	r3, [r3]
	add	r0, r4, #12
	str	r5, [r4]
	str	r3, [r4, #8]
	mov	r1, #0
	bl	atomic_set
	add	r4, r4, #4
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L9:
	.align	2
.L8:
	.word	GFP_KERNEL
	.word	RES_MTT_ALLOCATED
	.size	alloc_mtt_tr, .-alloc_mtt_tr
	.comm	RES_MTT_ALLOCATED,4,4
	.comm	GFP_KERNEL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
