	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function acpi_print_srat_memory
_acpi_print_srat_memory:                ## @acpi_print_srat_memory
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movq	_ACPI_SRAT_MEM_ENABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%rbx), %eax
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %rdi
	cmoveq	%rax, %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	(%rbx), %eax
	movq	_ACPI_SRAT_MEM_HOT_PLUGGABLE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_2
## %bb.1:
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	(%rbx), %eax
LBB0_2:
	movq	_ACPI_SRAT_MEM_NON_VOLATILE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.3:
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
LBB0_4:
	leaq	L_str(%rip), %rdi
	callq	_puts
	movl	16(%rbx), %esi
	leaq	L_.str.6(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	8(%rbx), %esi
	leaq	L_.str.7(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	4(%rbx), %esi
	leaq	L_.str.8(%rip), %rdi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_printf                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\tFlags={"

	.comm	_ACPI_SRAT_MEM_ENABLED,4,2      ## @ACPI_SRAT_MEM_ENABLED
L_.str.1:                               ## @.str.1
	.asciz	"ENABLED"

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

	.comm	_ACPI_SRAT_MEM_HOT_PLUGGABLE,4,2 ## @ACPI_SRAT_MEM_HOT_PLUGGABLE
L_.str.3:                               ## @.str.3
	.asciz	",HOT_PLUGGABLE"

	.comm	_ACPI_SRAT_MEM_NON_VOLATILE,4,2 ## @ACPI_SRAT_MEM_NON_VOLATILE
L_.str.4:                               ## @.str.4
	.asciz	",NON_VOLATILE"

L_.str.6:                               ## @.str.6
	.asciz	"\tBase Address=0x%016jx\n"

L_.str.7:                               ## @.str.7
	.asciz	"\tLength=0x%016jx\n"

L_.str.8:                               ## @.str.8
	.asciz	"\tProximity Domain=%d\n"

L_str:                                  ## @str
	.asciz	"}"

	.no_dead_strip	_acpi_print_srat_memory
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function acpi_print_srat_memory
_acpi_print_srat_memory:                ; @acpi_print_srat_memory
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
	ldr	w8, [x19]
Lloh2:
	adrp	x9, _ACPI_SRAT_MEM_ENABLED@GOTPAGE
Lloh3:
	ldr	x9, [x9, _ACPI_SRAT_MEM_ENABLED@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
Lloh5:
	adrp	x10, l_.str.1@PAGE
Lloh6:
	add	x10, x10, l_.str.1@PAGEOFF
Lloh7:
	adrp	x11, l_.str.2@PAGE
Lloh8:
	add	x11, x11, l_.str.2@PAGEOFF
	tst	w9, w8
	csel	x0, x11, x10, eq
	bl	_printf
	ldr	w8, [x19]
Lloh9:
	adrp	x9, _ACPI_SRAT_MEM_HOT_PLUGGABLE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ACPI_SRAT_MEM_HOT_PLUGGABLE@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
Lloh12:
	adrp	x0, l_.str.3@PAGE
Lloh13:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_printf
	ldr	w8, [x19]
LBB0_2:
Lloh14:
	adrp	x9, _ACPI_SRAT_MEM_NON_VOLATILE@GOTPAGE
Lloh15:
	ldr	x9, [x9, _ACPI_SRAT_MEM_NON_VOLATILE@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
Lloh17:
	adrp	x0, l_.str.4@PAGE
Lloh18:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_printf
LBB0_4:
Lloh19:
	adrp	x0, l_str@PAGE
Lloh20:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	ldr	x8, [x19, #16]
	str	x8, [sp]
Lloh21:
	adrp	x0, l_.str.6@PAGE
Lloh22:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_printf
	ldr	x8, [x19, #8]
	str	x8, [sp]
Lloh23:
	adrp	x0, l_.str.7@PAGE
Lloh24:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_printf
	ldr	w8, [x19, #4]
	str	x8, [sp]
Lloh25:
	adrp	x0, l_.str.8@PAGE
Lloh26:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_printf
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\tFlags={"

	.comm	_ACPI_SRAT_MEM_ENABLED,4,2      ; @ACPI_SRAT_MEM_ENABLED
l_.str.1:                               ; @.str.1
	.asciz	"ENABLED"

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

	.comm	_ACPI_SRAT_MEM_HOT_PLUGGABLE,4,2 ; @ACPI_SRAT_MEM_HOT_PLUGGABLE
l_.str.3:                               ; @.str.3
	.asciz	",HOT_PLUGGABLE"

	.comm	_ACPI_SRAT_MEM_NON_VOLATILE,4,2 ; @ACPI_SRAT_MEM_NON_VOLATILE
l_.str.4:                               ; @.str.4
	.asciz	",NON_VOLATILE"

l_.str.6:                               ; @.str.6
	.asciz	"\tBase Address=0x%016jx\n"

l_.str.7:                               ; @.str.7
	.asciz	"\tLength=0x%016jx\n"

l_.str.8:                               ; @.str.8
	.asciz	"\tProximity Domain=%d\n"

l_str:                                  ; @str
	.asciz	"}"

	.no_dead_strip	_acpi_print_srat_memory
.subsections_via_symbols
