	.file	"extr_xdp_monitor_user.c_alloc_stats_record.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Mem alloc error\n"
	.text
	.p2align 4
	.type	alloc_stats_record, @function
alloc_stats_record:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	edi, 40
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	call	malloc@PLT
	xor	esi, esi
	mov	edx, 40
	mov	r12, rax
	mov	rdi, rax
	call	memset@PLT
	test	r12, r12
	je	.L14
.L2:
	mov	ecx, DWORD PTR REDIR_RES_MAX[rip]
	test	ecx, ecx
	jle	.L3
	xor	ebx, ebx
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rax, QWORD PTR 32[r12]
	mov	edi, 4
	lea	rbp, [rax+rbx*8]
	add	rbx, 1
	call	alloc_rec_per_cpu@PLT
	cmp	DWORD PTR REDIR_RES_MAX[rip], ebx
	mov	QWORD PTR 0[rbp], rax
	jg	.L4
.L3:
	mov	edx, DWORD PTR XDP_ACTION_MAX[rip]
	test	edx, edx
	jle	.L5
	xor	ebx, ebx
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rax, QWORD PTR 24[r12]
	mov	edi, 4
	lea	rbp, [rax+rbx*8]
	add	rbx, 1
	call	alloc_rec_per_cpu@PLT
	cmp	DWORD PTR XDP_ACTION_MAX[rip], ebx
	mov	QWORD PTR 0[rbp], rax
	jg	.L6
.L5:
	mov	edi, 4
	call	alloc_rec_per_cpu@PLT
	mov	edi, 4
	mov	QWORD PTR 16[r12], rax
	call	alloc_rec_per_cpu@PLT
	mov	QWORD PTR 8[r12], rax
	mov	eax, DWORD PTR MAX_CPUS[rip]
	test	eax, eax
	jle	.L1
	xor	ebx, ebx
	.p2align 4,,10
	.p2align 3
.L8:
	mov	rax, QWORD PTR [r12]
	mov	edi, 4
	lea	rbp, [rax+rbx*8]
	add	rbx, 1
	call	alloc_rec_per_cpu@PLT
	cmp	DWORD PTR MAX_CPUS[rip], ebx
	mov	QWORD PTR 0[rbp], rax
	jg	.L8
.L1:
	mov	rax, r12
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	mov	edi, DWORD PTR stderr[rip]
	lea	rsi, .LC0[rip]
	call	fprintf@PLT
	mov	edi, DWORD PTR EXIT_FAIL_MEM[rip]
	call	exit@PLT
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	alloc_stats_record, .-alloc_stats_record
	.comm	stderr,4,4
	.comm	XDP_ACTION_MAX,4,4
	.comm	REDIR_RES_MAX,4,4
	.comm	MAX_CPUS,4,4
	.comm	EXIT_FAIL_MEM,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_xdp_monitor_user.c_alloc_stats_record.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	alloc_stats_record, %function
alloc_stats_record:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r0, #20
	mov	r6, #0
	bl	malloc
	ldr	r7, .L15
	mov	r4, r0
	ldr	r3, [r7]
	str	r6, [r0]
	cmp	r3, r6
	str	r6, [r0, #4]
	str	r6, [r0, #8]
	str	r6, [r0, #12]
	str	r6, [r0, #16]
	ble	.L2
	mov	r5, r6
	b	.L3
.L14:
	ldr	r6, [r4, #16]
.L3:
	mov	r0, #4
	bl	alloc_rec_per_cpu
	ldr	r3, [r7]
	str	r0, [r6, r5, lsl #2]
	add	r5, r5, #1
	cmp	r3, r5
	bgt	.L14
.L2:
	ldr	r7, .L15+4
	ldr	r3, [r7]
	cmp	r3, #0
	movgt	r5, #0
	ble	.L7
.L4:
	mov	r0, #4
	ldr	r6, [r4, #12]
	bl	alloc_rec_per_cpu
	ldr	r3, [r7]
	str	r0, [r6, r5, lsl #2]
	add	r5, r5, #1
	cmp	r3, r5
	bgt	.L4
.L7:
	mov	r0, #4
	bl	alloc_rec_per_cpu
	mov	r3, r0
	mov	r0, #4
	str	r3, [r4, #8]
	bl	alloc_rec_per_cpu
	ldr	r7, .L15+8
	str	r0, [r4, #4]
	ldr	r3, [r7]
	cmp	r3, #0
	movgt	r5, #0
	ble	.L1
.L5:
	mov	r0, #4
	ldr	r6, [r4]
	bl	alloc_rec_per_cpu
	ldr	r3, [r7]
	str	r0, [r6, r5, lsl #2]
	add	r5, r5, #1
	cmp	r3, r5
	bgt	.L5
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L16:
	.align	2
.L15:
	.word	REDIR_RES_MAX
	.word	XDP_ACTION_MAX
	.word	MAX_CPUS
	.size	alloc_stats_record, .-alloc_stats_record
	.comm	stderr,4,4
	.comm	XDP_ACTION_MAX,4,4
	.comm	REDIR_RES_MAX,4,4
	.comm	MAX_CPUS,4,4
	.comm	EXIT_FAIL_MEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
