	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function intel_860_configure
_intel_860_configure:                   ## @intel_860_configure
	.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	_agp_bridge@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movl	12(%rax), %edi
	callq	_A_SIZE_8
	movq	(%rbx), %rcx
	movl	8(%rcx), %edi
	movq	_INTEL_APSIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	(%rax), %edx
	callq	_pci_write_config_byte
	movq	(%rbx), %rax
	movl	8(%rax), %edi
	movq	_AGP_APBASE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-24(%rbp), %rdx
	callq	_pci_read_config_dword
	movq	_PCI_BASE_ADDRESS_MEM_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	-24(%rbp), %eax
	movq	(%rbx), %rcx
	movl	%eax, (%rcx)
	movl	4(%rcx), %edx
	movl	8(%rcx), %edi
	movq	_INTEL_ATTBASE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_pci_write_config_dword
	movq	(%rbx), %rax
	movl	8(%rax), %edi
	movq	_INTEL_AGPCTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_pci_write_config_dword
	movq	(%rbx), %rax
	movl	8(%rax), %edi
	movq	_INTEL_I860_MCHCFG@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	leaq	-20(%rbp), %rdx
	callq	_pci_read_config_word
	movq	(%rbx), %rax
	movl	8(%rax), %edi
	movl	(%r14), %esi
	movl	$512, %edx                      ## imm = 0x200
	orl	-20(%rbp), %edx
	callq	_pci_write_config_word
	movq	(%rbx), %rax
	movl	8(%rax), %edi
	movq	_INTEL_I860_ERRSTS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$63232, %edx                    ## imm = 0xF700
	callq	_pci_write_config_word
	xorl	%eax, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_agp_bridge,8,3                 ## @agp_bridge
	.comm	_INTEL_APSIZE,4,2               ## @INTEL_APSIZE
	.comm	_AGP_APBASE,4,2                 ## @AGP_APBASE
	.comm	_PCI_BASE_ADDRESS_MEM_MASK,4,2  ## @PCI_BASE_ADDRESS_MEM_MASK
	.comm	_INTEL_ATTBASE,4,2              ## @INTEL_ATTBASE
	.comm	_INTEL_AGPCTRL,4,2              ## @INTEL_AGPCTRL
	.comm	_INTEL_I860_MCHCFG,4,2          ## @INTEL_I860_MCHCFG
	.comm	_INTEL_I860_ERRSTS,4,2          ## @INTEL_I860_ERRSTS
	.no_dead_strip	_intel_860_configure
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function intel_860_configure
_intel_860_configure:                   ; @intel_860_configure
	.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
Lloh0:
	adrp	x19, _agp_bridge@GOTPAGE
Lloh1:
	ldr	x19, [x19, _agp_bridge@GOTPAGEOFF]
	ldr	x8, [x19]
	ldr	w0, [x8, #12]
	bl	_A_SIZE_8
	ldr	x8, [x19]
	ldr	w8, [x8, #8]
Lloh2:
	adrp	x9, _INTEL_APSIZE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _INTEL_APSIZE@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x9]
	ldr	w2, [x0]
	mov	x0, x8
	bl	_pci_write_config_byte
	ldr	x8, [x19]
	ldr	w0, [x8, #8]
Lloh5:
	adrp	x8, _AGP_APBASE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AGP_APBASE@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	add	x2, sp, #12
	bl	_pci_read_config_dword
	ldr	w8, [sp, #12]
Lloh8:
	adrp	x9, _PCI_BASE_ADDRESS_MEM_MASK@GOTPAGE
Lloh9:
	ldr	x9, [x9, _PCI_BASE_ADDRESS_MEM_MASK@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	and	w8, w9, w8
	ldr	x9, [x19]
	str	w8, [x9]
Lloh11:
	adrp	x8, _INTEL_ATTBASE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _INTEL_ATTBASE@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	ldp	w2, w0, [x9, #4]
	bl	_pci_write_config_dword
	ldr	x8, [x19]
	ldr	w0, [x8, #8]
Lloh14:
	adrp	x8, _INTEL_AGPCTRL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _INTEL_AGPCTRL@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_pci_write_config_dword
	ldr	x8, [x19]
	ldr	w0, [x8, #8]
Lloh17:
	adrp	x20, _INTEL_I860_MCHCFG@GOTPAGE
Lloh18:
	ldr	x20, [x20, _INTEL_I860_MCHCFG@GOTPAGEOFF]
	ldr	w1, [x20]
	add	x2, sp, #8
	bl	_pci_read_config_word
	ldr	x8, [x19]
	ldr	w0, [x8, #8]
	ldr	w1, [x20]
	ldr	w8, [sp, #8]
	orr	w2, w8, #0x200
	bl	_pci_write_config_word
	ldr	x8, [x19]
	ldr	w0, [x8, #8]
Lloh19:
	adrp	x8, _INTEL_I860_ERRSTS@GOTPAGE
Lloh20:
	ldr	x8, [x8, _INTEL_I860_ERRSTS@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	mov	w2, #63232
	bl	_pci_write_config_word
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_agp_bridge,8,3                 ; @agp_bridge
	.comm	_INTEL_APSIZE,4,2               ; @INTEL_APSIZE
	.comm	_AGP_APBASE,4,2                 ; @AGP_APBASE
	.comm	_PCI_BASE_ADDRESS_MEM_MASK,4,2  ; @PCI_BASE_ADDRESS_MEM_MASK
	.comm	_INTEL_ATTBASE,4,2              ; @INTEL_ATTBASE
	.comm	_INTEL_AGPCTRL,4,2              ; @INTEL_AGPCTRL
	.comm	_INTEL_I860_MCHCFG,4,2          ; @INTEL_I860_MCHCFG
	.comm	_INTEL_I860_ERRSTS,4,2          ; @INTEL_I860_ERRSTS
	.no_dead_strip	_intel_860_configure
.subsections_via_symbols
