	.file	"extr_main.c_have_wrcomb.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"mtrr: Serverworks LE rev < 6 detected. Write-combining disabled.\n"
	.align 8
.LC1:
	.string	"mtrr: Intel 450NX MMC detected. Write-combining disabled.\n"
	.text
	.p2align 4
	.type	have_wrcomb, @function
have_wrcomb:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	xor	esi, esi
	sub	rsp, 16
	.cfi_def_cfa_offset 32
	mov	edi, DWORD PTR PCI_CLASS_BRIDGE_HOST[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	sal	edi, 8
	call	pci_get_class@PLT
	test	rax, rax
	je	.L2
	mov	rbp, rax
	mov	rax, QWORD PTR [rax]
	cmp	rax, QWORD PTR PCI_VENDOR_ID_SERVERWORKS[rip]
	je	.L15
.L3:
	cmp	QWORD PTR PCI_VENDOR_ID_INTEL[rip], rax
	jne	.L6
	mov	rax, QWORD PTR PCI_DEVICE_ID_INTEL_82451NX[rip]
	cmp	QWORD PTR 8[rbp], rax
	je	.L16
.L6:
	mov	rdi, rbp
	call	pci_dev_put@PLT
.L2:
	mov	rax, QWORD PTR mtrr_if[rip]
	mov	rdx, QWORD PTR [rax]
	xor	eax, eax
	test	rdx, rdx
	je	.L1
	call	rdx
.L1:
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L17
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	mov	rcx, QWORD PTR PCI_DEVICE_ID_SERVERWORKS_LE[rip]
	cmp	QWORD PTR 8[rbp], rcx
	jne	.L3
	mov	esi, DWORD PTR PCI_CLASS_REVISION[rip]
	lea	rdx, 4[rsp]
	mov	rdi, rbp
	call	pci_read_config_byte@PLT
	cmp	DWORD PTR 4[rsp], 5
	jle	.L4
	mov	rax, QWORD PTR 0[rbp]
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L16:
	lea	rdi, .LC1[rip]
	call	pr_info@PLT
	mov	rdi, rbp
	call	pci_dev_put@PLT
	xor	eax, eax
	jmp	.L1
.L4:
	lea	rdi, .LC0[rip]
	call	pr_info@PLT
	mov	rdi, rbp
	call	pci_dev_put@PLT
	xor	eax, eax
	jmp	.L1
.L17:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	have_wrcomb, .-have_wrcomb
	.comm	mtrr_if,8,8
	.comm	PCI_VENDOR_ID_SERVERWORKS,8,8
	.comm	PCI_VENDOR_ID_INTEL,8,8
	.comm	PCI_DEVICE_ID_SERVERWORKS_LE,8,8
	.comm	PCI_DEVICE_ID_INTEL_82451NX,8,8
	.comm	PCI_CLASS_REVISION,4,4
	.comm	PCI_CLASS_BRIDGE_HOST,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_main.c_have_wrcomb.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"mtrr: Serverworks LE rev < 6 detected. Write-combin"
	.ascii	"ing disabled.\012\000"
	.align	2
.LC1:
	.ascii	"mtrr: Intel 450NX MMC detected. Write-combining dis"
	.ascii	"abled.\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	have_wrcomb, %function
have_wrcomb:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	ldr	r3, .L17
	sub	sp, sp, #8
	ldr	r0, [r3]
	ldr	r3, .L17+4
	mov	r1, #0
	lsl	r0, r0, #8
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	bl	pci_get_class
	subs	r4, r0, #0
	beq	.L2
	ldr	r2, .L17+8
	ldr	r3, [r4]
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L14
.L3:
	ldr	r2, .L17+12
	ldr	r2, [r2]
	cmp	r2, r3
	bne	.L6
	ldr	r3, .L17+16
	ldr	r2, [r4, #4]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L15
.L6:
	mov	r0, r4
	bl	pci_dev_put
.L2:
	ldr	r3, .L17+20
	ldr	r3, [r3]
	ldr	r0, [r3]
	cmp	r0, #0
	beq	.L1
	blx	r0
.L1:
	ldr	r3, .L17+4
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L16
	add	sp, sp, #8
	@ sp needed
	pop	{r4, pc}
.L14:
	ldr	r2, .L17+24
	ldr	r1, [r4, #4]
	ldr	r2, [r2]
	cmp	r1, r2
	bne	.L3
	ldr	r3, .L17+28
	mov	r2, sp
	ldr	r1, [r3]
	bl	pci_read_config_byte
	ldr	r3, [sp]
	cmp	r3, #5
	ble	.L4
	ldr	r3, [r4]
	b	.L3
.L15:
	ldr	r0, .L17+32
	bl	pr_info
	mov	r0, r4
	bl	pci_dev_put
	mov	r0, #0
	b	.L1
.L4:
	ldr	r0, .L17+36
	bl	pr_info
	mov	r0, r4
	bl	pci_dev_put
	mov	r0, #0
	b	.L1
.L16:
	bl	__stack_chk_fail
.L18:
	.align	2
.L17:
	.word	PCI_CLASS_BRIDGE_HOST
	.word	.LC2
	.word	PCI_VENDOR_ID_SERVERWORKS
	.word	PCI_VENDOR_ID_INTEL
	.word	PCI_DEVICE_ID_INTEL_82451NX
	.word	mtrr_if
	.word	PCI_DEVICE_ID_SERVERWORKS_LE
	.word	PCI_CLASS_REVISION
	.word	.LC1
	.word	.LC0
	.size	have_wrcomb, .-have_wrcomb
	.comm	mtrr_if,4,4
	.comm	PCI_VENDOR_ID_SERVERWORKS,4,4
	.comm	PCI_VENDOR_ID_INTEL,4,4
	.comm	PCI_DEVICE_ID_SERVERWORKS_LE,4,4
	.comm	PCI_DEVICE_ID_INTEL_82451NX,4,4
	.comm	PCI_CLASS_REVISION,4,4
	.comm	PCI_CLASS_BRIDGE_HOST,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
