	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_get_timer_resolution      ## -- Begin function acpi_get_timer_resolution
	.p2align	4, 0x90
_acpi_get_timer_resolution:             ## @acpi_get_timer_resolution
	.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	_acpi_get_timer_resolution(%rip), %rdi
	callq	_ACPI_FUNCTION_TRACE
	testq	%rbx, %rbx
	jne	LBB0_2
## %bb.1:
	movq	_AE_BAD_PARAMETER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_return_ACPI_STATUS
LBB0_2:
	movq	_acpi_gbl_FADT@GOTPCREL(%rip), %rax
	movq	_ACPI_FADT_32BIT_TIMER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	xorl	%edx, %edx
	andl	(%rax), %ecx
	setne	%dl
	leal	24(,%rdx,8), %eax
	movl	%eax, (%rbx)
	movq	_AE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_return_ACPI_STATUS             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AE_BAD_PARAMETER,4,2           ## @AE_BAD_PARAMETER
	.comm	_acpi_gbl_FADT,4,2              ## @acpi_gbl_FADT
	.comm	_ACPI_FADT_32BIT_TIMER,4,2      ## @ACPI_FADT_32BIT_TIMER
	.comm	_AE_OK,4,2                      ## @AE_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_get_timer_resolution      ; -- Begin function acpi_get_timer_resolution
	.p2align	2
_acpi_get_timer_resolution:             ; @acpi_get_timer_resolution
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.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, _acpi_get_timer_resolution@PAGE
Lloh1:
	add	x0, x0, _acpi_get_timer_resolution@PAGEOFF
	bl	_ACPI_FUNCTION_TRACE
	cbnz	x19, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _AE_BAD_PARAMETER@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AE_BAD_PARAMETER@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_return_ACPI_STATUS
LBB0_2:
Lloh5:
	adrp	x8, _acpi_gbl_FADT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _acpi_gbl_FADT@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _ACPI_FADT_32BIT_TIMER@GOTPAGE
Lloh9:
	ldr	x9, [x9, _ACPI_FADT_32BIT_TIMER@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	tst	w9, w8
	mov	w8, #32
	mov	w9, #24
	csel	w8, w9, w8, eq
	str	w8, [x19]
Lloh11:
	adrp	x8, _AE_OK@GOTPAGE
Lloh12:
	ldr	x8, [x8, _AE_OK@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_return_ACPI_STATUS
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_AE_BAD_PARAMETER,4,2           ; @AE_BAD_PARAMETER
	.comm	_acpi_gbl_FADT,4,2              ; @acpi_gbl_FADT
	.comm	_ACPI_FADT_32BIT_TIMER,4,2      ; @ACPI_FADT_32BIT_TIMER
	.comm	_AE_OK,4,2                      ; @AE_OK
.subsections_via_symbols
