	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ich7_lpc_cleanup
_ich7_lpc_cleanup:                      ## @ich7_lpc_cleanup
	.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	_gp_gpio_resource@GOTPCREL(%rip), %rbx
	cmpq	$0, (%rbx)
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	callq	_dev_dbg
	movq	_nas_gpio_io_base@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ICH7_GPIO_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_release_region
	movq	$0, (%rbx)
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_gp_gpio_resource,8,3           ## @gp_gpio_resource
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	": Releasing GPIO I/O addresses\n"

	.comm	_nas_gpio_io_base,4,2           ## @nas_gpio_io_base
	.comm	_ICH7_GPIO_SIZE,4,2             ## @ICH7_GPIO_SIZE
	.no_dead_strip	_ich7_lpc_cleanup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ich7_lpc_cleanup
_ich7_lpc_cleanup:                      ; @ich7_lpc_cleanup
	.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
Lloh0:
	adrp	x19, _gp_gpio_resource@GOTPAGE
Lloh1:
	ldr	x19, [x19, _gp_gpio_resource@GOTPAGEOFF]
	ldr	x8, [x19]
	cbz	x8, LBB0_2
; %bb.1:
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_dbg
Lloh4:
	adrp	x8, _nas_gpio_io_base@GOTPAGE
Lloh5:
	ldr	x8, [x8, _nas_gpio_io_base@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
Lloh7:
	adrp	x8, _ICH7_GPIO_SIZE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ICH7_GPIO_SIZE@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	bl	_release_region
	str	xzr, [x19]
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_gp_gpio_resource,8,3           ; @gp_gpio_resource
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	": Releasing GPIO I/O addresses\n"

	.comm	_nas_gpio_io_base,4,2           ; @nas_gpio_io_base
	.comm	_ICH7_GPIO_SIZE,4,2             ; @ICH7_GPIO_SIZE
	.no_dead_strip	_ich7_lpc_cleanup
.subsections_via_symbols
