	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function numa_mem_regions
LCPI0_0:
	.long	0                               ## 0x0
	.long	1                               ## 0x1
	.long	2                               ## 0x2
	.long	3                               ## 0x3
LCPI0_1:
	.long	4                               ## 0x4
	.long	4                               ## 0x4
	.long	4                               ## 0x4
	.long	4                               ## 0x4
LCPI0_2:
	.long	10                              ## 0xa
	.long	10                              ## 0xa
	.long	10                              ## 0xa
	.long	10                              ## 0xa
LCPI0_3:
	.long	21                              ## 0x15
	.long	21                              ## 0x15
	.long	21                              ## 0x15
	.long	21                              ## 0x15
LCPI0_4:
	.long	8                               ## 0x8
	.long	8                               ## 0x8
	.long	8                               ## 0x8
	.long	8                               ## 0x8
LCPI0_5:
	.long	12                              ## 0xc
	.long	12                              ## 0xc
	.long	12                              ## 0xc
	.long	12                              ## 0xc
LCPI0_6:
	.long	16                              ## 0x10
	.long	16                              ## 0x10
	.long	16                              ## 0x10
	.long	16                              ## 0x10
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_numa_mem_regions
	.p2align	4, 0x90
_numa_mem_regions:                      ## @numa_mem_regions
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	_nnumapregions@GOTPCREL(%rip), %r14
	movl	$0, (%r14)
	movq	_plat_obj@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_numa_pregions@GOTPCREL(%rip), %r12
	movq	(%r12), %rsi
	movq	%r14, %rdx
	callq	_PLATFORM_NUMA_MEM_REGIONS
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.18:
	movl	(%r14), %eax
	movl	%eax, (%rbx)
	testq	%r15, %r15
	je	LBB0_19
## %bb.3:
	movq	(%r12), %rax
	movq	%rax, (%r15)
	movl	(%r14), %eax
	testl	%eax, %eax
	jle	LBB0_4
## %bb.5:
	movq	(%r12), %rcx
	cmpl	$9, %eax
	jae	LBB0_7
## %bb.6:
	xorl	%edx, %edx
	xorl	%r13d, %r13d
	jmp	LBB0_10
LBB0_1:
	testq	%r15, %r15
	je	LBB0_19
## %bb.2:
	movq	(%r12), %rax
	movq	%rax, (%r15)
LBB0_19:
	leaq	L_str(%rip), %rdi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_puts                           ## TAILCALL
LBB0_4:
	movq	_mem_info@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	_vm_locality_table@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movl	$10, (%rdx)
	movl	$1, %edi
	jmp	LBB0_30
LBB0_7:
	movl	%eax, %edx
	andl	$7, %edx
	testq	%rdx, %rdx
	movl	$8, %esi
	cmovneq	%rdx, %rsi
	movq	%rax, %rdx
	subq	%rsi, %rdx
	pxor	%xmm0, %xmm0
	movq	%rdx, %rsi
	movq	%rcx, %rdi
	pxor	%xmm1, %xmm1
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movd	(%rdi), %xmm2                   ## xmm2 = mem[0],zero,zero,zero
	pinsrd	$1, 24(%rdi), %xmm2
	pinsrd	$2, 48(%rdi), %xmm2
	pinsrd	$3, 72(%rdi), %xmm2
	movd	96(%rdi), %xmm3                 ## xmm3 = mem[0],zero,zero,zero
	pinsrd	$1, 120(%rdi), %xmm3
	pinsrd	$2, 144(%rdi), %xmm3
	pinsrd	$3, 168(%rdi), %xmm3
	pmaxsd	%xmm2, %xmm0
	pmaxsd	%xmm3, %xmm1
	addq	$192, %rdi
	addq	$-8, %rsi
	jne	LBB0_8
## %bb.9:
	pmaxsd	%xmm1, %xmm0
	pshufd	$238, %xmm0, %xmm1              ## xmm1 = xmm0[2,3,2,3]
	pmaxsd	%xmm0, %xmm1
	pshufd	$85, %xmm1, %xmm0               ## xmm0 = xmm1[1,1,1,1]
	pmaxsd	%xmm1, %xmm0
	movd	%xmm0, %r13d
LBB0_10:
	leaq	(%rdx,%rdx,2), %rsi
	leaq	(%rcx,%rsi,8), %rsi
	subq	%rdx, %rax
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movl	%r13d, %r11d
	movl	(%rsi), %r9d
	cmpl	%r13d, %r9d
	cmovgl	%r9d, %r13d
	addq	$24, %rsi
	decq	%rax
	jne	LBB0_11
## %bb.12:
	movq	_mem_info@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	(%r12), %rax
	movl	$16, %edx
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rax,%rdx), %rdi
	movq	%rdi, (%rsi,%rdx)
	addq	-8(%rax,%rdx), %rdi
	movq	%rdi, -8(%rsi,%rdx)
	movl	-16(%rax,%rdx), %edi
	movl	%edi, -16(%rsi,%rdx)
	incq	%rbx
	movslq	(%r14), %rdi
	addq	$24, %rdx
	cmpq	%rdi, %rbx
	jl	LBB0_13
## %bb.14:
	movq	_vm_locality_table@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movl	$10, (%rdx)
	leal	1(%r13), %edi
	testl	%r13d, %r13d
	jle	LBB0_30
## %bb.15:
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	movl	%r13d, %r8d
	incq	%r8
	movq	%r8, %r15
	andq	$-8, %r15
	leaq	-8(%r15), %r10
	movq	%r10, -72(%rbp)                 ## 8-byte Spill
	shrq	$3, %r10
	incq	%r10
	movq	%r10, %rax
	andq	$-2, %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	cmpl	%r9d, %r11d
	cmovgl	%r11d, %r9d
	leaq	48(%rdx), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	incl	%r9d
	xorl	%ebx, %ebx
	movl	$10, %r12d
	movdqa	LCPI0_0(%rip), %xmm8            ## xmm8 = [0,1,2,3]
	movdqa	LCPI0_1(%rip), %xmm11           ## xmm11 = [4,4,4,4]
	movaps	LCPI0_2(%rip), %xmm5            ## xmm5 = [10,10,10,10]
	movaps	LCPI0_3(%rip), %xmm7            ## xmm7 = [21,21,21,21]
	movdqa	LCPI0_4(%rip), %xmm9            ## xmm9 = [8,8,8,8]
	movdqa	LCPI0_5(%rip), %xmm10           ## xmm10 = [12,12,12,12]
	movdqa	LCPI0_6(%rip), %xmm12           ## xmm12 = [16,16,16,16]
	xorl	%eax, %eax
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_28:                                ##   in Loop: Header=BB0_16 Depth=1
	leal	1(%rax), %ecx
	cmpl	%r13d, %eax
	movl	%ecx, %eax
	je	LBB0_29
LBB0_16:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_23 Depth 2
                                        ##     Child Loop BB0_27 Depth 2
	movslq	%ebx, %rbx
	cmpl	$7, %r13d
	jae	LBB0_20
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=1
	xorl	%edi, %edi
	jmp	LBB0_27
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_16 Depth=1
	movd	%eax, %xmm0
	pshufd	$0, %xmm0, %xmm3                ## xmm3 = xmm0[0,0,0,0]
	cmpq	$0, -72(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_21
## %bb.22:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rbx,4), %rdi
	movq	-64(%rbp), %r11                 ## 8-byte Reload
	xorl	%r14d, %r14d
	movdqa	%xmm8, %xmm1
	.p2align	4, 0x90
LBB0_23:                                ##   Parent Loop BB0_16 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movdqa	%xmm1, %xmm2
	paddd	%xmm11, %xmm2
	movdqa	%xmm3, %xmm0
	pcmpeqd	%xmm1, %xmm0
	pcmpeqd	%xmm3, %xmm2
	movaps	%xmm7, %xmm6
	blendvps	%xmm0, %xmm5, %xmm6
	movaps	%xmm7, %xmm4
	movdqa	%xmm2, %xmm0
	blendvps	%xmm0, %xmm5, %xmm4
	movups	%xmm6, -48(%rdi,%r14,4)
	movups	%xmm4, -32(%rdi,%r14,4)
	movdqa	%xmm1, %xmm0
	paddd	%xmm9, %xmm0
	movdqa	%xmm1, %xmm2
	paddd	%xmm10, %xmm2
	pcmpeqd	%xmm3, %xmm0
	movaps	%xmm7, %xmm4
	blendvps	%xmm0, %xmm5, %xmm4
	pcmpeqd	%xmm3, %xmm2
	movaps	%xmm7, %xmm6
	movdqa	%xmm2, %xmm0
	blendvps	%xmm0, %xmm5, %xmm6
	movups	%xmm4, -16(%rdi,%r14,4)
	movups	%xmm6, (%rdi,%r14,4)
	addq	$16, %r14
	paddd	%xmm12, %xmm1
	addq	$-2, %r11
	jne	LBB0_23
## %bb.24:                              ##   in Loop: Header=BB0_16 Depth=1
	testb	$1, %r10b
	je	LBB0_26
LBB0_25:                                ##   in Loop: Header=BB0_16 Depth=1
	addq	%rbx, %r14
	movdqa	%xmm3, %xmm0
	pcmpeqd	%xmm1, %xmm0
	paddd	%xmm11, %xmm1
	pcmpeqd	%xmm3, %xmm1
	movaps	%xmm7, %xmm2
	blendvps	%xmm0, %xmm5, %xmm2
	movaps	%xmm7, %xmm3
	movdqa	%xmm1, %xmm0
	blendvps	%xmm0, %xmm5, %xmm3
	movups	%xmm2, (%rdx,%r14,4)
	movups	%xmm3, 16(%rdx,%r14,4)
LBB0_26:                                ##   in Loop: Header=BB0_16 Depth=1
	addq	%r15, %rbx
	movl	%r15d, %edi
	cmpq	%r15, %r8
	je	LBB0_28
	.p2align	4, 0x90
LBB0_27:                                ##   Parent Loop BB0_16 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpl	%edi, %eax
	movl	$21, %ecx
	cmovel	%r12d, %ecx
	movl	%ecx, (%rdx,%rbx,4)
	incq	%rbx
	incl	%edi
	cmpl	%edi, %r9d
	jne	LBB0_27
	jmp	LBB0_28
LBB0_21:                                ##   in Loop: Header=BB0_16 Depth=1
	xorl	%r14d, %r14d
	movdqa	%xmm8, %xmm1
	testb	$1, %r10b
	jne	LBB0_25
	jmp	LBB0_26
LBB0_29:
	movl	-44(%rbp), %edi                 ## 4-byte Reload
LBB0_30:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_vm_phys_register_domains       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_nnumapregions,4,2              ## @nnumapregions
	.comm	_plat_obj,4,2                   ## @plat_obj
	.comm	_numa_pregions,8,3              ## @numa_pregions
	.comm	_mem_info,8,3                   ## @mem_info
	.comm	_vm_locality_table,8,3          ## @vm_locality_table
	.section	__TEXT,__cstring,cstring_literals
L_str:                                  ## @str
	.asciz	"unset value"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function numa_mem_regions
lCPI0_0:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.long	2                               ; 0x2
	.long	3                               ; 0x3
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_numa_mem_regions
	.p2align	2
_numa_mem_regions:                      ; @numa_mem_regions
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x19, _nnumapregions@GOTPAGE
Lloh1:
	ldr	x19, [x19, _nnumapregions@GOTPAGEOFF]
	str	wzr, [x19]
Lloh2:
	adrp	x8, _plat_obj@GOTPAGE
Lloh3:
	ldr	x8, [x8, _plat_obj@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x22, _numa_pregions@GOTPAGE
Lloh6:
	ldr	x22, [x22, _numa_pregions@GOTPAGEOFF]
	ldr	x1, [x22]
	mov	x2, x19
	bl	_PLATFORM_NUMA_MEM_REGIONS
	cbz	x21, LBB0_5
; %bb.1:
	ldr	w8, [x19]
	str	w8, [x21]
	cbz	x20, LBB0_7
; %bb.2:
	ldr	x8, [x22]
	str	x8, [x20]
	ldr	w9, [x19]
	cmp	w9, #0
	b.le	LBB0_8
; %bb.3:
	ldr	x10, [x22]
	cmp	w9, #4
	b.hs	LBB0_9
; %bb.4:
	mov	x11, #0
	mov	w8, #0
	b	LBB0_12
LBB0_5:
	cbz	x20, LBB0_7
; %bb.6:
	ldr	x8, [x22]
	str	x8, [x20]
LBB0_7:
Lloh7:
	adrp	x0, l_str@PAGE
Lloh8:
	add	x0, x0, l_str@PAGEOFF
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_puts
LBB0_8:
Lloh9:
	adrp	x8, _mem_info@GOTPAGE
Lloh10:
	ldr	x8, [x8, _mem_info@GOTPAGEOFF]
Lloh11:
	ldr	x1, [x8]
Lloh12:
	adrp	x8, _vm_locality_table@GOTPAGE
Lloh13:
	ldr	x8, [x8, _vm_locality_table@GOTPAGEOFF]
Lloh14:
	ldr	x2, [x8]
	mov	w8, #10
	str	w8, [x2]
	mov	w0, #1
	b	LBB0_25
LBB0_9:
	mov	w13, #0
	mov	w14, #0
	mov	w12, #0
	mov	w8, #0
	and	x11, x9, #0xfffffffc
	add	x15, x10, #48
	mov	x16, x11
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldur	w17, [x15, #-48]
	ldur	w0, [x15, #-24]
	ldr	w1, [x15]
	cmp	w17, w13
	csel	w13, w17, w13, gt
	cmp	w0, w14
	csel	w14, w0, w14, gt
	cmp	w1, w12
	csel	w12, w1, w12, gt
	ldr	w17, [x15, #24]
	cmp	w17, w8
	csel	w8, w17, w8, gt
	add	x15, x15, #96
	subs	x16, x16, #4
	b.ne	LBB0_10
; %bb.11:
	cmp	w13, w14
	csel	w13, w13, w14, gt
	cmp	w13, w12
	csel	w12, w13, w12, gt
	cmp	w12, w8
	csel	w8, w12, w8, gt
	cmp	x11, x9
	b.eq	LBB0_14
LBB0_12:
	mov	w12, #24
	madd	x10, x11, x12, x10
	sub	x9, x9, x11
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x10], #24
	cmp	w11, w8
	csel	w8, w11, w8, gt
	subs	x9, x9, #1
	b.ne	LBB0_13
LBB0_14:
	mov	x9, #0
	mov	x10, #0
Lloh15:
	adrp	x11, _mem_info@GOTPAGE
Lloh16:
	ldr	x11, [x11, _mem_info@GOTPAGEOFF]
Lloh17:
	ldr	x1, [x11]
	ldr	x11, [x22]
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	add	x12, x11, x9
	add	x13, x1, x9
	ldp	x15, x14, [x12, #8]
	add	x15, x15, x14
	stp	x15, x14, [x13, #8]
	ldr	w12, [x12]
	str	w12, [x13]
	add	x10, x10, #1
	ldrsw	x12, [x19]
	add	x9, x9, #24
	cmp	x10, x12
	b.lt	LBB0_15
; %bb.16:
Lloh18:
	adrp	x9, _vm_locality_table@GOTPAGE
Lloh19:
	ldr	x9, [x9, _vm_locality_table@GOTPAGEOFF]
Lloh20:
	ldr	x2, [x9]
	mov	w9, #10
	str	w9, [x2]
	add	w0, w8, #1
	cmp	w8, #1
	b.lt	LBB0_25
; %bb.17:
	mov	x14, #0
	mov	w10, #0
	mov	w11, w8
	add	x11, x11, #1
	and	x12, x11, #0x1fffffff0
	add	x13, x2, #32
Lloh21:
	adrp	x15, lCPI0_0@PAGE
Lloh22:
	ldr	q0, [x15, lCPI0_0@PAGEOFF]
	mov	w15, #21
	movi.4s	v1, #4
	movi.4s	v2, #8
	movi.4s	v3, #12
	movi.4s	v4, #21
	movi.4s	v5, #10
	movi.4s	v6, #16
	b	LBB0_19
LBB0_18:                                ;   in Loop: Header=BB0_19 Depth=1
	add	w16, w10, #1
	cmp	w10, w8
	mov	x10, x16
	b.eq	LBB0_25
LBB0_19:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_22 Depth 2
                                        ;     Child Loop BB0_24 Depth 2
	sxtw	x17, w14
	cmp	w8, #15
	b.hs	LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=1
	mov	w16, #0
	mov	x14, x17
	b	LBB0_24
LBB0_21:                                ;   in Loop: Header=BB0_19 Depth=1
	add	x14, x17, x12
	dup.4s	v7, w10
	mov	x16, x12
	mov.16b	v16, v0
	add	x17, x13, x17, lsl #2
LBB0_22:                                ;   Parent Loop BB0_19 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add.4s	v17, v16, v1
	add.4s	v18, v16, v2
	add.4s	v19, v16, v3
	cmeq.4s	v20, v7, v16
	cmeq.4s	v17, v7, v17
	cmeq.4s	v18, v7, v18
	cmeq.4s	v19, v7, v19
	bsl.16b	v20, v5, v4
	bsl.16b	v17, v5, v4
	bsl.16b	v18, v5, v4
	bsl.16b	v19, v5, v4
	stp	q20, q17, [x17, #-32]
	stp	q18, q19, [x17], #64
	add.4s	v16, v16, v6
	subs	x16, x16, #16
	b.ne	LBB0_22
; %bb.23:                               ;   in Loop: Header=BB0_19 Depth=1
	mov	x16, x12
	cmp	x11, x12
	b.eq	LBB0_18
LBB0_24:                                ;   Parent Loop BB0_19 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	w10, w16
	csel	w17, w9, w15, eq
	str	w17, [x2, x14, lsl #2]
	add	x14, x14, #1
	add	w16, w16, #1
	cmp	w0, w16
	b.ne	LBB0_24
	b	LBB0_18
LBB0_25:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_vm_phys_register_domains
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdr	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_nnumapregions,4,2              ; @nnumapregions
	.comm	_plat_obj,4,2                   ; @plat_obj
	.comm	_numa_pregions,8,3              ; @numa_pregions
	.comm	_mem_info,8,3                   ; @mem_info
	.comm	_vm_locality_table,8,3          ; @vm_locality_table
	.section	__TEXT,__cstring,cstring_literals
l_str:                                  ; @str
	.asciz	"unset value"

.subsections_via_symbols
