	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lpc_ich_check_conflict_gpio
_lpc_ich_check_conflict_gpio:           ## @lpc_ich_check_conflict_gpio
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_resource_size
	xorl	%r15d, %r15d
	cmpl	$80, %eax
	jl	LBB0_2
## %bb.1:
	movq	(%r14), %rdi
	addq	$64, %rdi
	leaq	L_.str(%rip), %rdx
	movl	$16, %esi
	callq	_acpi_check_region
	xorl	%r15d, %r15d
	testl	%eax, %eax
	sete	%r15b
	shll	$2, %r15d
LBB0_2:
	movq	(%r14), %rdi
	addq	$48, %rdi
	leaq	L_.str.1(%rip), %rdx
	movl	$16, %esi
	callq	_acpi_check_region
	movl	%r15d, %ebx
	orl	$2, %ebx
	testl	%eax, %eax
	cmovnel	%r15d, %ebx
	movq	(%r14), %rdi
	leaq	L_.str.2(%rip), %rdx
	movl	$48, %esi
	callq	_acpi_check_region
	xorl	%ecx, %ecx
	testl	%eax, %eax
	sete	%cl
	orl	%ebx, %ecx
	cmovnel	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"LPC ICH GPIO3"

L_.str.1:                               ## @.str.1
	.asciz	"LPC ICH GPIO2"

L_.str.2:                               ## @.str.2
	.asciz	"LPC ICH GPIO1"

	.no_dead_strip	_lpc_ich_check_conflict_gpio
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lpc_ich_check_conflict_gpio
_lpc_ich_check_conflict_gpio:           ; @lpc_ich_check_conflict_gpio
	.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
	mov	x19, x0
	bl	_resource_size
	cmp	w0, #80
	b.lt	LBB0_2
; %bb.1:
	ldr	x8, [x19]
	add	x0, x8, #64
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	w1, #16
	bl	_acpi_check_region
	cmp	w0, #0
	cset	w8, eq
	lsl	w20, w8, #2
	b	LBB0_3
LBB0_2:
	mov	w20, #0
LBB0_3:
	ldr	x8, [x19]
	add	x0, x8, #48
Lloh2:
	adrp	x2, l_.str.1@PAGE
Lloh3:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	w1, #16
	bl	_acpi_check_region
	orr	w8, w20, #0x2
	cmp	w0, #0
	csel	w20, w8, w20, eq
	ldr	x0, [x19]
Lloh4:
	adrp	x2, l_.str.2@PAGE
Lloh5:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	w1, #48
	bl	_acpi_check_region
	cmp	w0, #0
	cset	w8, eq
	orr	w8, w20, w8
	cmp	w8, #0
	csel	w0, w0, w8, eq
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"LPC ICH GPIO3"

l_.str.1:                               ; @.str.1
	.asciz	"LPC ICH GPIO2"

l_.str.2:                               ; @.str.2
	.asciz	"LPC ICH GPIO1"

	.no_dead_strip	_lpc_ich_check_conflict_gpio
.subsections_via_symbols
