	.file	"extr_hugetlb.c_kobj_to_hstate.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	kobj_to_hstate, @function
kobj_to_hstate:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR HUGE_MAX_HSTATE[rip]
	test	eax, eax
	jle	.L2
	lea	r8d, -1[rax]
	mov	rcx, QWORD PTR hstate_kobjs[rip]
	xor	eax, eax
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L3:
	lea	rdx, 1[rax]
	cmp	rax, r8
	je	.L2
	mov	rax, rdx
.L6:
	cmp	QWORD PTR [rcx+rax*8], rdi
	jne	.L3
	test	rsi, rsi
	je	.L4
	mov	edx, DWORD PTR NUMA_NO_NODE[rip]
	mov	DWORD PTR [rsi], edx
.L4:
	mov	rdx, QWORD PTR hstates[rip]
	lea	rax, [rdx+rax*4]
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	jmp	kobj_to_node_hstate@PLT
	.cfi_endproc
.LFE0:
	.size	kobj_to_hstate, .-kobj_to_hstate
	.comm	hstates,8,8
	.comm	hstate_kobjs,8,8
	.comm	NUMA_NO_NODE,4,4
	.comm	HUGE_MAX_HSTATE,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_hugetlb.c_kobj_to_hstate.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	kobj_to_hstate, %function
kobj_to_hstate:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L14
	push	{r4, lr}
	ldr	lr, [r3]
	cmp	lr, #0
	ble	.L2
	ldr	r2, .L14+4
	mov	r3, #0
	ldr	r2, [r2]
	sub	r2, r2, #4
	b	.L6
.L3:
	cmp	r3, lr
	beq	.L2
.L6:
	ldr	ip, [r2, #4]!
	lsl	r4, r3, #2
	cmp	ip, r0
	add	r3, r3, #1
	bne	.L3
	cmp	r1, #0
	ldrne	r3, .L14+8
	ldrne	r3, [r3]
	strne	r3, [r1]
	ldr	r3, .L14+12
	ldr	r0, [r3]
	add	r0, r0, r4
	pop	{r4, pc}
.L2:
	pop	{r4, lr}
	b	kobj_to_node_hstate
.L15:
	.align	2
.L14:
	.word	HUGE_MAX_HSTATE
	.word	hstate_kobjs
	.word	NUMA_NO_NODE
	.word	hstates
	.size	kobj_to_hstate, .-kobj_to_hstate
	.comm	hstates,4,4
	.comm	hstate_kobjs,4,4
	.comm	NUMA_NO_NODE,4,4
	.comm	HUGE_MAX_HSTATE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
