	.file	"extr_numa.c_acpi_map_pxm_to_node.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	acpi_map_pxm_to_node
	.type	acpi_map_pxm_to_node, @function
acpi_map_pxm_to_node:
.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
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	r12d, DWORD PTR NUMA_NO_NODE[rip]
	test	edi, edi
	js	.L1
	cmp	DWORD PTR MAX_PXM_DOMAINS[rip], edi
	mov	ebp, edi
	jle	.L1
	cmp	QWORD PTR numa_off[rip], 0
	jne	.L1
	mov	rdx, QWORD PTR pxm_to_node_map[rip]
	movsx	rax, edi
	mov	eax, DWORD PTR [rdx+rax*4]
	cmp	eax, r12d
	je	.L7
	mov	r12d, eax
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	edi, DWORD PTR nodes_found_map[rip]
	call	nodes_weight@PLT
	cmp	rax, QWORD PTR MAX_NUMNODES[rip]
	mov	r12d, DWORD PTR NUMA_NO_NODE[rip]
	jge	.L1
	mov	edi, DWORD PTR nodes_found_map[rip]
	call	first_unset_node@PLT
	mov	edi, ebp
	mov	esi, eax
	mov	r12d, eax
	call	__acpi_map_pxm_to_node@PLT
	mov	esi, DWORD PTR nodes_found_map[rip]
	mov	edi, r12d
	call	node_set@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	acpi_map_pxm_to_node, .-acpi_map_pxm_to_node
	.comm	pxm_to_node_map,8,8
	.comm	numa_off,8,8
	.comm	nodes_found_map,4,4
	.comm	NUMA_NO_NODE,4,4
	.comm	MAX_PXM_DOMAINS,4,4
	.comm	MAX_NUMNODES,8,8
	.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_numa.c_acpi_map_pxm_to_node.c"
	.text
	.align	2
	.global	acpi_map_pxm_to_node
	.syntax unified
	.arm
	.fpu softvfp
	.type	acpi_map_pxm_to_node, %function
acpi_map_pxm_to_node:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r6, .L8
	subs	r4, r0, #0
	ldr	r5, [r6]
	blt	.L1
	ldr	r3, .L8+4
	ldr	r3, [r3]
	cmp	r3, r4
	ble	.L1
	ldr	r3, .L8+8
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L1
	ldr	r3, .L8+12
	ldr	r3, [r3]
	ldr	r3, [r3, r4, lsl #2]
	cmp	r3, r5
	movne	r5, r3
	beq	.L7
.L1:
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L7:
	ldr	r7, .L8+16
	ldr	r0, [r7]
	bl	nodes_weight
	ldr	r3, .L8+20
	ldr	r3, [r3]
	cmp	r0, r3
	ldrge	r5, [r6]
	bge	.L1
.L3:
	ldr	r0, [r7]
	bl	first_unset_node
	mov	r5, r0
	mov	r0, r4
	mov	r1, r5
	bl	__acpi_map_pxm_to_node
	mov	r0, r5
	ldr	r1, [r7]
	bl	node_set
	b	.L1
.L9:
	.align	2
.L8:
	.word	NUMA_NO_NODE
	.word	MAX_PXM_DOMAINS
	.word	numa_off
	.word	pxm_to_node_map
	.word	nodes_found_map
	.word	MAX_NUMNODES
	.size	acpi_map_pxm_to_node, .-acpi_map_pxm_to_node
	.comm	pxm_to_node_map,4,4
	.comm	numa_off,4,4
	.comm	nodes_found_map,4,4
	.comm	NUMA_NO_NODE,4,4
	.comm	MAX_PXM_DOMAINS,4,4
	.comm	MAX_NUMNODES,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
