	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function acpi_find_gpio_count
_acpi_find_gpio_count:                  ## @acpi_find_gpio_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	(%rdi), %rax
	movq	_ACPI_RESOURCE_TYPE_GPIO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movl	8(%rdi), %eax
	addl	%eax, (%rsi)
LBB0_2:
	movl	$1, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ACPI_RESOURCE_TYPE_GPIO,8,3    ## @ACPI_RESOURCE_TYPE_GPIO
	.no_dead_strip	_acpi_find_gpio_count
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function acpi_find_gpio_count
_acpi_find_gpio_count:                  ; @acpi_find_gpio_count
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _ACPI_RESOURCE_TYPE_GPIO@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ACPI_RESOURCE_TYPE_GPIO@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldr	w8, [x0, #8]
	ldr	w9, [x1]
	add	w8, w9, w8
	str	w8, [x1]
LBB0_2:
	mov	w0, #1
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ACPI_RESOURCE_TYPE_GPIO,8,3    ; @ACPI_RESOURCE_TYPE_GPIO
	.no_dead_strip	_acpi_find_gpio_count
.subsections_via_symbols
