	.file	"extr_allocpercpu.c___alloc_percpu.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	__alloc_percpu
	.type	__alloc_percpu, @function
__alloc_percpu:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	xor	eax, eax
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	cache_line_size@PLT
	mov	esi, eax
	mov	eax, DWORD PTR nr_cpu_ids[rip]
	lea	edi, 0[0+rax*8]
	call	roundup@PLT
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	mov	rdi, rax
	call	kzalloc@PLT
	mov	rdi, rax
	mov	rbp, rax
	call	__percpu_disguise@PLT
	xor	edi, edi
	cmp	QWORD PTR SMP_CACHE_BYTES[rip], rbx
	setb	dil
	mov	r12, rax
	call	WARN_ON_ONCE@PLT
	xor	edi, edi
	test	rbp, rbp
	sete	dil
	call	unlikely@PLT
	test	rax, rax
	jne	.L3
	mov	edx, DWORD PTR GFP_KERNEL[rip]
	mov	rdi, r12
	lea	rcx, cpu_possible_map[rip]
	mov	rsi, r13
	call	__percpu_populate_mask@PLT
	xor	edi, edi
	test	eax, eax
	sete	dil
	call	likely@PLT
	test	rax, rax
	je	.L6
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	r12d, r12d
	pop	rbx
	.cfi_def_cfa_offset 32
	mov	rax, r12
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	rdi, rbp
	xor	r12d, r12d
	call	kfree@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	__alloc_percpu, .-__alloc_percpu
	.comm	nr_cpu_ids,4,4
	.comm	cpu_possible_map,4,4
	.comm	SMP_CACHE_BYTES,8,8
	.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_allocpercpu.c___alloc_percpu.c"
	.text
	.align	2
	.global	__alloc_percpu
	.syntax unified
	.arm
	.fpu softvfp
	.type	__alloc_percpu, %function
__alloc_percpu:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L7
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r4, [r3]
	mov	r6, r1
	mov	r7, r0
	bl	cache_line_size
	lsl	r4, r4, #2
	ldr	r8, .L7+4
	mov	r1, r0
	mov	r0, r4
	bl	roundup
	ldr	r1, [r8]
	bl	kzalloc
	mov	r5, r0
	bl	__percpu_disguise
	ldr	r3, .L7+8
	mov	r4, r0
	ldr	r0, [r3]
	cmp	r0, r6
	movcs	r0, #0
	movcc	r0, #1
	bl	WARN_ON_ONCE
	clz	r0, r5
	lsr	r0, r0, #5
	bl	unlikely
	cmp	r0, #0
	movne	r4, #0
	bne	.L1
	mov	r1, r7
	ldr	r2, [r8]
	ldr	r3, .L7+12
	mov	r0, r4
	bl	__percpu_populate_mask
	clz	r0, r0
	lsr	r0, r0, #5
	bl	likely
	subs	r6, r0, #0
	beq	.L6
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L6:
	mov	r4, r6
	mov	r0, r5
	bl	kfree
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	.align	2
.L7:
	.word	nr_cpu_ids
	.word	GFP_KERNEL
	.word	SMP_CACHE_BYTES
	.word	cpu_possible_map
	.size	__alloc_percpu, .-__alloc_percpu
	.comm	nr_cpu_ids,4,4
	.comm	cpu_possible_map,4,4
	.comm	SMP_CACHE_BYTES,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
