	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function acpi_print_rsd_ptr
_acpi_print_rsd_ptr:                    ## @acpi_print_rsd_ptr
	.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
	movq	_BEGIN_COMMENT@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	xorl	%eax, %eax
	callq	_printf
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	32(%rbx), %edi
	movq	_ACPI_OEM_ID_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_acpi_print_string
	movl	(%rbx), %edx
	cmpl	$2, %edx
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.3(%rip), %rsi
	cmovlq	%rax, %rsi
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	cmpl	$1, (%rbx)
	jg	LBB0_2
## %bb.1:
	movl	4(%rbx), %esi
	movl	8(%rbx), %edx
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	jmp	LBB0_3
LBB0_2:
	movl	24(%rbx), %esi
	movl	12(%rbx), %ecx
	movl	16(%rbx), %edx
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
LBB0_3:
	movq	_END_COMMENT@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_printf                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BEGIN_COMMENT,8,3              ## @BEGIN_COMMENT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"  RSD PTR: OEM="

	.comm	_ACPI_OEM_ID_SIZE,4,2           ## @ACPI_OEM_ID_SIZE
L_.str.1:                               ## @.str.1
	.asciz	", ACPI_Rev=%s (%d)\n"

L_.str.2:                               ## @.str.2
	.asciz	"1.0x"

L_.str.3:                               ## @.str.3
	.asciz	"2.0x"

L_.str.4:                               ## @.str.4
	.asciz	"\tRSDT=0x%08x, cksum=%u\n"

L_.str.5:                               ## @.str.5
	.asciz	"\tXSDT=0x%016jx, length=%u, cksum=%u\n"

	.comm	_END_COMMENT,8,3                ## @END_COMMENT
	.no_dead_strip	_acpi_print_rsd_ptr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function acpi_print_rsd_ptr
_acpi_print_rsd_ptr:                    ; @acpi_print_rsd_ptr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x8, _BEGIN_COMMENT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BEGIN_COMMENT@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
	bl	_printf
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
	ldr	w0, [x19, #32]
Lloh5:
	adrp	x8, _ACPI_OEM_ID_SIZE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ACPI_OEM_ID_SIZE@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	bl	_acpi_print_string
	ldr	w8, [x19]
Lloh8:
	adrp	x9, l_.str.3@PAGE
Lloh9:
	add	x9, x9, l_.str.3@PAGEOFF
Lloh10:
	adrp	x10, l_.str.2@PAGE
Lloh11:
	add	x10, x10, l_.str.2@PAGEOFF
	cmp	w8, #2
	csel	x9, x10, x9, lt
	stp	x9, x8, [sp]
Lloh12:
	adrp	x0, l_.str.1@PAGE
Lloh13:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_printf
	ldr	w8, [x19]
	cmp	w8, #1
	b.gt	LBB0_2
; %bb.1:
	ldp	w8, w9, [x19, #4]
	stp	x8, x9, [sp]
Lloh14:
	adrp	x0, l_.str.4@PAGE
Lloh15:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_3
LBB0_2:
	ldr	x8, [x19, #24]
	ldp	w10, w9, [x19, #12]
	stp	x9, x10, [sp, #8]
	str	x8, [sp]
Lloh16:
	adrp	x0, l_.str.5@PAGE
Lloh17:
	add	x0, x0, l_.str.5@PAGEOFF
LBB0_3:
	bl	_printf
Lloh18:
	adrp	x8, _END_COMMENT@GOTPAGE
Lloh19:
	ldr	x8, [x8, _END_COMMENT@GOTPAGEOFF]
Lloh20:
	ldr	x0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_printf
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_BEGIN_COMMENT,8,3              ; @BEGIN_COMMENT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"  RSD PTR: OEM="

	.comm	_ACPI_OEM_ID_SIZE,4,2           ; @ACPI_OEM_ID_SIZE
l_.str.1:                               ; @.str.1
	.asciz	", ACPI_Rev=%s (%d)\n"

l_.str.2:                               ; @.str.2
	.asciz	"1.0x"

l_.str.3:                               ; @.str.3
	.asciz	"2.0x"

l_.str.4:                               ; @.str.4
	.asciz	"\tRSDT=0x%08x, cksum=%u\n"

l_.str.5:                               ; @.str.5
	.asciz	"\tXSDT=0x%016jx, length=%u, cksum=%u\n"

	.comm	_END_COMMENT,8,3                ; @END_COMMENT
	.no_dead_strip	_acpi_print_rsd_ptr
.subsections_via_symbols
