	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_os_fixed_event_count      ## -- Begin function acpi_os_fixed_event_count
	.p2align	4, 0x90
_acpi_os_fixed_event_count:             ## @acpi_os_fixed_event_count
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_all_counters@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_ACPI_NUM_FIXED_EVENTS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r8
	movq	_num_gpes@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	leaq	(%rdx,%r8), %rsi
	movq	_COUNT_ERROR@GOTPCREL(%rip), %rcx
	addq	(%rcx), %rsi
	addq	%rdi, %rdx
	cmpq	%rdi, %r8
	cmovbeq	%rsi, %rdx
	incl	(%rax,%rdx,4)
LBB0_2:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_all_counters,8,3               ## @all_counters
	.comm	_ACPI_NUM_FIXED_EVENTS,8,3      ## @ACPI_NUM_FIXED_EVENTS
	.comm	_num_gpes,8,3                   ## @num_gpes
	.comm	_COUNT_ERROR,8,3                ## @COUNT_ERROR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_os_fixed_event_count      ; -- Begin function acpi_os_fixed_event_count
	.p2align	2
_acpi_os_fixed_event_count:             ; @acpi_os_fixed_event_count
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _all_counters@GOTPAGE
Lloh1:
	ldr	x8, [x8, _all_counters@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
Lloh3:
	adrp	x9, _ACPI_NUM_FIXED_EVENTS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ACPI_NUM_FIXED_EVENTS@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
Lloh6:
	adrp	x10, _num_gpes@GOTPAGE
Lloh7:
	ldr	x10, [x10, _num_gpes@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
Lloh9:
	adrp	x11, _COUNT_ERROR@GOTPAGE
Lloh10:
	ldr	x11, [x11, _COUNT_ERROR@GOTPAGEOFF]
Lloh11:
	ldr	x11, [x11]
	add	x12, x10, x9
	add	x11, x12, x11
	add	x10, x10, x0
	cmp	x9, x0
	csel	x9, x10, x11, hi
	lsl	x9, x9, #2
	ldr	w10, [x8, x9]
	add	w10, w10, #1
	str	w10, [x8, x9]
LBB0_2:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_all_counters,8,3               ; @all_counters
	.comm	_ACPI_NUM_FIXED_EVENTS,8,3      ; @ACPI_NUM_FIXED_EVENTS
	.comm	_num_gpes,8,3                   ; @num_gpes
	.comm	_COUNT_ERROR,8,3                ; @COUNT_ERROR
.subsections_via_symbols
