	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function quirk_piix4_acpi
_quirk_piix4_acpi:                      ## @quirk_piix4_acpi
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_PCI_BRIDGE_RESOURCES@GOTPCREL(%rip), %r14
	movq	(%r14), %rcx
	leaq	L_.str(%rip), %r8
	movl	$64, %esi
	movl	$64, %edx
	callq	_quirk_io_region
	movq	(%r14), %rcx
	incq	%rcx
	leaq	L_.str.1(%rip), %r8
	movq	%rbx, %rdi
	movl	$144, %esi
	movl	$16, %edx
	callq	_quirk_io_region
	leaq	-20(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$92, %esi
	callq	_pci_read_config_dword
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	movl	$96, %edx
	movl	$6291456, %ecx                  ## imm = 0x600000
	callq	_piix4_io_quirk
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	movl	$100, %edx
	movl	$6291456, %ecx                  ## imm = 0x600000
	callq	_piix4_io_quirk
	movl	-20(%rbp), %eax
	testl	$536870912, %eax                ## imm = 0x20000000
	je	LBB0_2
## %bb.1:
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	movl	$104, %edx
	movl	$1048576, %ecx                  ## imm = 0x100000
	callq	_piix4_io_quirk
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	movl	$108, %edx
	movl	$128, %ecx
	callq	_piix4_mem_quirk
	movl	-20(%rbp), %eax
LBB0_2:
	testl	$1073741824, %eax               ## imm = 0x40000000
	je	LBB0_4
## %bb.3:
	leaq	L_.str.6(%rip), %rsi
	movq	%rbx, %rdi
	movl	$112, %edx
	movl	$1048576, %ecx                  ## imm = 0x100000
	callq	_piix4_io_quirk
	leaq	L_.str.7(%rip), %rsi
	movq	%rbx, %rdi
	movl	$116, %edx
	movl	$128, %ecx
	callq	_piix4_mem_quirk
LBB0_4:
	leaq	L_.str.8(%rip), %rsi
	movq	%rbx, %rdi
	movl	$120, %edx
	movl	$1048576, %ecx                  ## imm = 0x100000
	callq	_piix4_io_quirk
	leaq	L_.str.9(%rip), %rsi
	movq	%rbx, %rdi
	movl	$124, %edx
	movl	$1048576, %ecx                  ## imm = 0x100000
	callq	_piix4_io_quirk
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PCI_BRIDGE_RESOURCES,8,3       ## @PCI_BRIDGE_RESOURCES
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PIIX4 ACPI"

L_.str.1:                               ## @.str.1
	.asciz	"PIIX4 SMB"

L_.str.2:                               ## @.str.2
	.asciz	"PIIX4 devres B"

L_.str.3:                               ## @.str.3
	.asciz	"PIIX4 devres C"

L_.str.4:                               ## @.str.4
	.asciz	"PIIX4 devres E"

L_.str.5:                               ## @.str.5
	.asciz	"PIIX4 devres F"

L_.str.6:                               ## @.str.6
	.asciz	"PIIX4 devres G"

L_.str.7:                               ## @.str.7
	.asciz	"PIIX4 devres H"

L_.str.8:                               ## @.str.8
	.asciz	"PIIX4 devres I"

L_.str.9:                               ## @.str.9
	.asciz	"PIIX4 devres J"

	.no_dead_strip	_quirk_piix4_acpi
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function quirk_piix4_acpi
_quirk_piix4_acpi:                      ; @quirk_piix4_acpi
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x20, _PCI_BRIDGE_RESOURCES@GOTPAGE
Lloh1:
	ldr	x20, [x20, _PCI_BRIDGE_RESOURCES@GOTPAGEOFF]
	ldr	x3, [x20]
Lloh2:
	adrp	x4, l_.str@PAGE
Lloh3:
	add	x4, x4, l_.str@PAGEOFF
	mov	w1, #64
	mov	w2, #64
	bl	_quirk_io_region
	ldr	x8, [x20]
	add	x3, x8, #1
Lloh4:
	adrp	x4, l_.str.1@PAGE
Lloh5:
	add	x4, x4, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	w1, #144
	mov	w2, #16
	bl	_quirk_io_region
	add	x2, sp, #12
	mov	x0, x19
	mov	w1, #92
	bl	_pci_read_config_dword
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	w2, #96
	mov	w3, #6291456
	bl	_piix4_io_quirk
Lloh8:
	adrp	x1, l_.str.3@PAGE
Lloh9:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	w2, #100
	mov	w3, #6291456
	bl	_piix4_io_quirk
	ldr	w8, [sp, #12]
	tbz	w8, #29, LBB0_2
; %bb.1:
Lloh10:
	adrp	x1, l_.str.4@PAGE
Lloh11:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	mov	w2, #104
	mov	w3, #1048576
	bl	_piix4_io_quirk
Lloh12:
	adrp	x1, l_.str.5@PAGE
Lloh13:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	mov	w2, #108
	mov	w3, #128
	bl	_piix4_mem_quirk
	ldr	w8, [sp, #12]
LBB0_2:
	tbz	w8, #30, LBB0_4
; %bb.3:
Lloh14:
	adrp	x1, l_.str.6@PAGE
Lloh15:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	mov	w2, #112
	mov	w3, #1048576
	bl	_piix4_io_quirk
Lloh16:
	adrp	x1, l_.str.7@PAGE
Lloh17:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x19
	mov	w2, #116
	mov	w3, #128
	bl	_piix4_mem_quirk
LBB0_4:
Lloh18:
	adrp	x1, l_.str.8@PAGE
Lloh19:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x19
	mov	w2, #120
	mov	w3, #1048576
	bl	_piix4_io_quirk
Lloh20:
	adrp	x1, l_.str.9@PAGE
Lloh21:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x19
	mov	w2, #124
	mov	w3, #1048576
	bl	_piix4_io_quirk
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_PCI_BRIDGE_RESOURCES,8,3       ; @PCI_BRIDGE_RESOURCES
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PIIX4 ACPI"

l_.str.1:                               ; @.str.1
	.asciz	"PIIX4 SMB"

l_.str.2:                               ; @.str.2
	.asciz	"PIIX4 devres B"

l_.str.3:                               ; @.str.3
	.asciz	"PIIX4 devres C"

l_.str.4:                               ; @.str.4
	.asciz	"PIIX4 devres E"

l_.str.5:                               ; @.str.5
	.asciz	"PIIX4 devres F"

l_.str.6:                               ; @.str.6
	.asciz	"PIIX4 devres G"

l_.str.7:                               ; @.str.7
	.asciz	"PIIX4 devres H"

l_.str.8:                               ; @.str.8
	.asciz	"PIIX4 devres I"

l_.str.9:                               ; @.str.9
	.asciz	"PIIX4 devres J"

	.no_dead_strip	_quirk_piix4_acpi
.subsections_via_symbols
