	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ec_parse_io_ports
_ec_parse_io_ports:                     ## @ec_parse_io_ports
	.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), %rcx
	movq	_ACPI_RESOURCE_TYPE_IO@GOTPCREL(%rip), %rdx
	movq	_AE_OK@GOTPCREL(%rip), %rax
	cmpq	(%rdx), %rcx
	jne	LBB0_5
## %bb.1:
	cmpq	$0, (%rsi)
	je	LBB0_4
## %bb.2:
	cmpq	$0, 8(%rsi)
	je	LBB0_3
## %bb.6:
	movq	_AE_CTRL_TERMINATE@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	addq	$8, %rsi
LBB0_4:
	movq	8(%rdi), %rcx
	movq	%rcx, (%rsi)
LBB0_5:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ACPI_RESOURCE_TYPE_IO,8,3      ## @ACPI_RESOURCE_TYPE_IO
	.comm	_AE_OK,4,2                      ## @AE_OK
	.comm	_AE_CTRL_TERMINATE,4,2          ## @AE_CTRL_TERMINATE
	.no_dead_strip	_ec_parse_io_ports
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ec_parse_io_ports
_ec_parse_io_ports:                     ; @ec_parse_io_ports
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _ACPI_RESOURCE_TYPE_IO@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ACPI_RESOURCE_TYPE_IO@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.1:
	ldr	x8, [x1]
	cbz	x8, LBB0_4
; %bb.2:
	ldr	x8, [x1, #8]!
	cbz	x8, LBB0_4
; %bb.3:
Lloh3:
	adrp	x8, _AE_CTRL_TERMINATE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AE_CTRL_TERMINATE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ret
LBB0_4:
	ldr	x8, [x0, #8]
	str	x8, [x1]
LBB0_5:
Lloh6:
	adrp	x8, _AE_OK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AE_OK@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ACPI_RESOURCE_TYPE_IO,8,3      ; @ACPI_RESOURCE_TYPE_IO
	.comm	_AE_OK,4,2                      ; @AE_OK
	.comm	_AE_CTRL_TERMINATE,4,2          ; @AE_CTRL_TERMINATE
	.no_dead_strip	_ec_parse_io_ports
.subsections_via_symbols
