	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ofw_numa_mem_regions           ## -- Begin function ofw_numa_mem_regions
	.p2align	4, 0x90
_ofw_numa_mem_regions:                  ## @ofw_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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -152(%rbp)                ## 8-byte Spill
	movq	%rdi, -144(%rbp)                ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorl	%eax, %eax
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	xorl	%edi, %edi
	callq	_OF_peer
	movq	%rax, %rdi
	callq	_OF_child
	testq	%rax, %rax
	je	LBB0_13
## %bb.1:
	movq	%rax, %rbx
	xorl	%eax, %eax
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	leaq	L_.str(%rip), %r12
	leaq	-80(%rbp), %r13
	leaq	L_.str.3(%rip), %r14
	jmp	LBB0_5
LBB0_2:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	-136(%rbp), %rax                ## 8-byte Reload
	addl	%r13d, %eax
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	leaq	L_.str(%rip), %r12
	leaq	-80(%rbp), %r13
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	%r15, %r14
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rdi
	callq	_OF_peer
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_13
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r13, %rdx
	movl	$31, %ecx
	callq	_OF_getprop
	testq	%rax, %rax
	jle	LBB0_4
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%r14, %r15
	leaq	L_.str.1(%rip), %r14
	movq	%r14, %rdi
	callq	_strlen
	movq	%r13, %rdi
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_strncmp
	testq	%rax, %rax
	jne	LBB0_3
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movslq	-136(%rbp), %rax                ## 4-byte Folded Reload
	leaq	(%rax,%rax,2), %rcx
	movq	-144(%rbp), %rax                ## 8-byte Reload
	movq	%rcx, -160(%rbp)                ## 8-byte Spill
	leaq	(%rax,%rcx,8), %r12
	movq	%rbx, %rdi
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdx
	callq	_parse_numa_ofw_memory
	testl	%eax, %eax
	movq	%r15, %r14
	je	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	%eax, %r13d
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_OF_getproplen
	testl	%eax, %eax
	jle	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	%eax, %r14d
	xorl	%edi, %edi
	cmpl	$1, %r13d
	sete	%dil
	callq	_MPASS
	movq	%rbx, %rdi
	leaq	L_.str.3(%rip), %rsi
	leaq	-128(%rbp), %rdx
	movl	%r14d, %ecx
	callq	_OF_getencprop
	movq	-104(%rbp), %r8
	movq	%r8, (%r12)
	movq	_bootverbose@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	-144(%rbp), %rax                ## 8-byte Reload
	movq	-160(%rbp), %rcx                ## 8-byte Reload
	movq	16(%rax,%rcx,8), %rdx
	movq	8(%rax,%rcx,8), %rcx
	addq	%rdx, %rcx
	leaq	L_.str.4(%rip), %rdi
	leaq	-80(%rbp), %rsi
	callq	_printf
	jmp	LBB0_2
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%r14, %rcx
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=1
	leaq	L_.str(%rip), %r12
	leaq	-80(%rbp), %r13
	jmp	LBB0_4
LBB0_13:
	movq	-152(%rbp), %rax                ## 8-byte Reload
	movq	-136(%rbp), %rcx                ## 8-byte Reload
	movl	%ecx, (%rax)
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_15
## %bb.14:
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"name"

L_.str.1:                               ## @.str.1
	.asciz	"memory@"

L_.str.2:                               ## @.str.2
	.asciz	"reg"

L_.str.3:                               ## @.str.3
	.asciz	"ibm,associativity"

	.comm	_bootverbose,8,3                ## @bootverbose
L_.str.4:                               ## @.str.4
	.asciz	"%s %#jx-%#jx domain(%ju)\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ofw_numa_mem_regions           ; -- Begin function ofw_numa_mem_regions
	.p2align	2
_ofw_numa_mem_regions:                  ; @ofw_numa_mem_regions
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x28, x27, [sp, #96]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #112]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	str	x1, [sp, #8]                    ; 8-byte Folded Spill
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #88]
	mov	x0, #0
	bl	_OF_peer
	bl	_OF_child
	cbz	x0, LBB0_10
; %bb.1:
	mov	x21, x0
	mov	w19, #0
Lloh3:
	adrp	x22, l_.str@PAGE
Lloh4:
	add	x22, x22, l_.str@PAGEOFF
Lloh5:
	adrp	x23, l_.str.1@PAGE
Lloh6:
	add	x23, x23, l_.str.1@PAGEOFF
	mov	w24, #24
Lloh7:
	adrp	x25, l_.str.3@PAGE
Lloh8:
	add	x25, x25, l_.str.3@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w19, w27, w19
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x21
	bl	_OF_peer
	mov	x21, x0
	cbz	x0, LBB0_11
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	x2, sp, #57
	mov	x0, x21
	mov	x1, x22
	mov	w3, #31
	bl	_OF_getprop
	cmp	x0, #1
	b.lt	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x23
	bl	_strlen
	mov	x2, x0
	add	x0, sp, #57
	mov	x1, x23
	bl	_strncmp
	cbnz	x0, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	smaddl	x28, w19, w24, x20
	mov	x0, x21
Lloh9:
	adrp	x1, l_.str.2@PAGE
Lloh10:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x28
	bl	_parse_numa_ofw_memory
	cbz	w0, LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x27, x0
	mov	x0, x21
	mov	x1, x25
	bl	_OF_getproplen
	cmp	w0, #1
	b.lt	LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x26, x0
	cmp	w27, #1
	cset	w0, eq
	bl	_MPASS
	add	x2, sp, #16
	mov	x0, x21
	mov	x1, x25
	mov	x3, x26
	bl	_OF_getencprop
	ldr	x4, [sp, #40]
	str	x4, [x28]
Lloh11:
	adrp	x8, _bootverbose@GOTPAGE
Lloh12:
	ldr	x8, [x8, _bootverbose@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	sxtw	x8, w19
	madd	x8, x8, x24, x20
	ldp	x8, x2, [x8, #8]
	add	x3, x8, x2
	add	x1, sp, #57
Lloh14:
	adrp	x0, l_.str.4@PAGE
Lloh15:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_printf
	b	LBB0_2
LBB0_10:
	mov	w19, #0
LBB0_11:
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	str	w19, [x8]
	ldr	x8, [sp, #88]
Lloh16:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh17:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.12:
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
LBB0_13:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"name"

l_.str.1:                               ; @.str.1
	.asciz	"memory@"

l_.str.2:                               ; @.str.2
	.asciz	"reg"

l_.str.3:                               ; @.str.3
	.asciz	"ibm,associativity"

	.comm	_bootverbose,8,3                ; @bootverbose
l_.str.4:                               ; @.str.4
	.asciz	"%s %#jx-%#jx domain(%ju)\n"

.subsections_via_symbols
