	.file	"extr_affinity.c_alloc_node_to_cpumask.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	alloc_node_to_cpumask, @function
alloc_node_to_cpumask:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	edx, DWORD PTR GFP_KERNEL[rip]
	mov	esi, 4
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	edi, DWORD PTR nr_node_ids[rip]
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	call	kcalloc@PLT
	mov	r12, rax
	test	rax, rax
	je	.L1
	mov	eax, DWORD PTR nr_node_ids[rip]
	test	eax, eax
	jle	.L1
	xor	ebx, ebx
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L3:
	add	rbx, 1
	cmp	DWORD PTR nr_node_ids[rip], ebx
	jle	.L1
.L6:
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	lea	rdi, [r12+rbx*4]
	mov	ebp, ebx
	call	zalloc_cpumask_var@PLT
	test	eax, eax
	jne	.L3
	sub	ebp, 1
	movsx	rbx, ebp
	cmp	ebp, -1
	je	.L5
	.p2align 4,,10
	.p2align 3
.L7:
	mov	edi, DWORD PTR [r12+rbx*4]
	sub	rbx, 1
	call	free_cpumask_var@PLT
	test	ebx, ebx
	jns	.L7
.L5:
	mov	rdi, r12
	xor	r12d, r12d
	call	kfree@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_node_to_cpumask, .-alloc_node_to_cpumask
	.comm	nr_node_ids,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_affinity.c_alloc_node_to_cpumask.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	alloc_node_to_cpumask, %function
alloc_node_to_cpumask:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r8, .L15
	ldr	r7, .L15+4
	mov	r1, #4
	ldr	r2, [r8]
	ldr	r0, [r7]
	bl	kcalloc
	subs	r6, r0, #0
	beq	.L1
	ldr	r3, [r7]
	cmp	r3, #0
	ble	.L1
	mov	r5, r6
	mov	r4, #0
	b	.L6
.L3:
	ldr	r3, [r7]
	add	r4, r4, #1
	cmp	r3, r4
	add	r5, r5, #4
	ble	.L1
.L6:
	mov	r0, r5
	ldr	r1, [r8]
	bl	zalloc_cpumask_var
	cmp	r0, #0
	bne	.L3
	cmp	r4, #0
	addne	r4, r6, r4, lsl #2
	beq	.L5
.L7:
	ldr	r0, [r4, #-4]!
	bl	free_cpumask_var
	cmp	r4, r6
	bne	.L7
.L5:
	mov	r0, r6
	bl	kfree
	mov	r6, #0
.L1:
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, pc}
.L16:
	.align	2
.L15:
	.word	GFP_KERNEL
	.word	nr_node_ids
	.size	alloc_node_to_cpumask, .-alloc_node_to_cpumask
	.comm	nr_node_ids,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
