	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function count_registers_cb
_count_registers_cb:                    ## @count_registers_cb
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	_ACPI_RESOURCE_TYPE_GENERIC_REGISTER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	incl	(%rsi)
LBB0_2:
	movq	_AE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ACPI_RESOURCE_TYPE_GENERIC_REGISTER,8,3 ## @ACPI_RESOURCE_TYPE_GENERIC_REGISTER
	.comm	_AE_OK,4,2                      ## @AE_OK
	.no_dead_strip	_count_registers_cb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function count_registers_cb
_count_registers_cb:                    ; @count_registers_cb
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _ACPI_RESOURCE_TYPE_GENERIC_REGISTER@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ACPI_RESOURCE_TYPE_GENERIC_REGISTER@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldr	w8, [x1]
	add	w8, w8, #1
	str	w8, [x1]
LBB0_2:
Lloh3:
	adrp	x8, _AE_OK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AE_OK@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ACPI_RESOURCE_TYPE_GENERIC_REGISTER,8,3 ; @ACPI_RESOURCE_TYPE_GENERIC_REGISTER
	.comm	_AE_OK,4,2                      ; @AE_OK
	.no_dead_strip	_count_registers_cb
.subsections_via_symbols
