	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function acpi_handle_hpet
_acpi_handle_hpet:                      ## @acpi_handle_hpet
	.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
	movq	%rbx, %rdi
	callq	_acpi_print_sdt
	movl	(%rbx), %esi
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	leaq	16(%rbx), %rdi
	callq	_acpi_print_gas
	movq	_ACPI_HPET_ID_HARDWARE_REV_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	andl	4(%rbx), %esi
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movq	_ACPI_HPET_ID_COMPARATORS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	andl	4(%rbx), %esi
	sarl	$8, %esi
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movq	_ACPI_HPET_ID_COUNT_SIZE_CAP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%esi, %esi
	andl	4(%rbx), %eax
	setne	%sil
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movq	_ACPI_HPET_ID_LEGACY_CAPABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	4(%rbx), %eax
	leaq	L_str(%rip), %rax
	leaq	L_str.11(%rip), %rdi
	cmoveq	%rax, %rdi
	callq	_puts
	movswl	6(%rbx), %esi
	leaq	L_.str.8(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	8(%rbx), %esi
	leaq	L_.str.9(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	12(%rbx), %esi
	leaq	L_.str.10(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	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	"\tHPET Number=%d\n"

L_.str.1:                               ## @.str.1
	.asciz	"\tADDR="

L_.str.2:                               ## @.str.2
	.asciz	"\tHW Rev=0x%x\n"

	.comm	_ACPI_HPET_ID_HARDWARE_REV_ID,4,2 ## @ACPI_HPET_ID_HARDWARE_REV_ID
L_.str.3:                               ## @.str.3
	.asciz	"\tComparators=%d\n"

	.comm	_ACPI_HPET_ID_COMPARATORS,4,2   ## @ACPI_HPET_ID_COMPARATORS
L_.str.4:                               ## @.str.4
	.asciz	"\tCounter Size=%d\n"

	.comm	_ACPI_HPET_ID_COUNT_SIZE_CAP,4,2 ## @ACPI_HPET_ID_COUNT_SIZE_CAP
L_.str.5:                               ## @.str.5
	.asciz	"\tLegacy IRQ routing capable={"

	.comm	_ACPI_HPET_ID_LEGACY_CAPABLE,4,2 ## @ACPI_HPET_ID_LEGACY_CAPABLE
L_.str.8:                               ## @.str.8
	.asciz	"\tPCI Vendor ID=0x%04x\n"

L_.str.9:                               ## @.str.9
	.asciz	"\tMinimal Tick=%d\n"

L_.str.10:                              ## @.str.10
	.asciz	"\tFlags=0x%02x\n"

	.comm	_END_COMMENT,8,3                ## @END_COMMENT
L_str:                                  ## @str
	.asciz	"FALSE}"

L_str.11:                               ## @str.11
	.asciz	"TRUE}"

	.no_dead_strip	_acpi_handle_hpet
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function acpi_handle_hpet
_acpi_handle_hpet:                      ; @acpi_handle_hpet
	.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	x8, _BEGIN_COMMENT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BEGIN_COMMENT@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
	bl	_printf
	mov	x0, x19
	bl	_acpi_print_sdt
	ldr	w8, [x19]
	str	x8, [sp]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_printf
	add	x0, x19, #16
	bl	_acpi_print_gas
	ldr	w8, [x19, #4]
Lloh7:
	adrp	x9, _ACPI_HPET_ID_HARDWARE_REV_ID@GOTPAGE
Lloh8:
	ldr	x9, [x9, _ACPI_HPET_ID_HARDWARE_REV_ID@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	and	w8, w9, w8
	str	x8, [sp]
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_printf
	ldr	w8, [x19, #4]
Lloh12:
	adrp	x9, _ACPI_HPET_ID_COMPARATORS@GOTPAGE
Lloh13:
	ldr	x9, [x9, _ACPI_HPET_ID_COMPARATORS@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	and	w8, w9, w8
	asr	w8, w8, #8
	str	x8, [sp]
Lloh15:
	adrp	x0, l_.str.3@PAGE
Lloh16:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_printf
	ldr	w8, [x19, #4]
Lloh17:
	adrp	x9, _ACPI_HPET_ID_COUNT_SIZE_CAP@GOTPAGE
Lloh18:
	ldr	x9, [x9, _ACPI_HPET_ID_COUNT_SIZE_CAP@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w8, ne
	str	x8, [sp]
Lloh20:
	adrp	x0, l_.str.4@PAGE
Lloh21:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_printf
Lloh22:
	adrp	x0, l_.str.5@PAGE
Lloh23:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_printf
	ldr	w8, [x19, #4]
Lloh24:
	adrp	x9, _ACPI_HPET_ID_LEGACY_CAPABLE@GOTPAGE
Lloh25:
	ldr	x9, [x9, _ACPI_HPET_ID_LEGACY_CAPABLE@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
Lloh27:
	adrp	x10, l_str.11@PAGE
Lloh28:
	add	x10, x10, l_str.11@PAGEOFF
Lloh29:
	adrp	x11, l_str@PAGE
Lloh30:
	add	x11, x11, l_str@PAGEOFF
	tst	w9, w8
	csel	x0, x11, x10, eq
	bl	_puts
	ldrsh	x8, [x19, #6]
	str	x8, [sp]
Lloh31:
	adrp	x0, l_.str.8@PAGE
Lloh32:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_printf
	ldr	w8, [x19, #8]
	str	x8, [sp]
Lloh33:
	adrp	x0, l_.str.9@PAGE
Lloh34:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_printf
	ldr	w8, [x19, #12]
	str	x8, [sp]
Lloh35:
	adrp	x0, l_.str.10@PAGE
Lloh36:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_printf
Lloh37:
	adrp	x8, _END_COMMENT@GOTPAGE
Lloh38:
	ldr	x8, [x8, _END_COMMENT@GOTPAGEOFF]
Lloh39:
	ldr	x0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_printf
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_BEGIN_COMMENT,8,3              ; @BEGIN_COMMENT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\tHPET Number=%d\n"

l_.str.1:                               ; @.str.1
	.asciz	"\tADDR="

l_.str.2:                               ; @.str.2
	.asciz	"\tHW Rev=0x%x\n"

	.comm	_ACPI_HPET_ID_HARDWARE_REV_ID,4,2 ; @ACPI_HPET_ID_HARDWARE_REV_ID
l_.str.3:                               ; @.str.3
	.asciz	"\tComparators=%d\n"

	.comm	_ACPI_HPET_ID_COMPARATORS,4,2   ; @ACPI_HPET_ID_COMPARATORS
l_.str.4:                               ; @.str.4
	.asciz	"\tCounter Size=%d\n"

	.comm	_ACPI_HPET_ID_COUNT_SIZE_CAP,4,2 ; @ACPI_HPET_ID_COUNT_SIZE_CAP
l_.str.5:                               ; @.str.5
	.asciz	"\tLegacy IRQ routing capable={"

	.comm	_ACPI_HPET_ID_LEGACY_CAPABLE,4,2 ; @ACPI_HPET_ID_LEGACY_CAPABLE
l_.str.8:                               ; @.str.8
	.asciz	"\tPCI Vendor ID=0x%04x\n"

l_.str.9:                               ; @.str.9
	.asciz	"\tMinimal Tick=%d\n"

l_.str.10:                              ; @.str.10
	.asciz	"\tFlags=0x%02x\n"

	.comm	_END_COMMENT,8,3                ; @END_COMMENT
l_str:                                  ; @str
	.asciz	"FALSE}"

l_str.11:                               ; @str.11
	.asciz	"TRUE}"

	.no_dead_strip	_acpi_handle_hpet
.subsections_via_symbols
