	.file	"extr_intel_uncore.c_uncore_mmio_setup.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"failed to map registers\n"
	.text
	.p2align 4
	.type	uncore_mmio_setup, @function
uncore_mmio_setup:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	esi, 2
	xor	r13d, r13d
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rbp, QWORD PTR 8[rdi]
	mov	rdi, rbp
	mov	r12, QWORD PTR 0[rbp]
	call	IS_GEN@PLT
	mov	rdi, rbp
	test	rax, rax
	setne	r13b
	call	INTEL_GEN@PLT
	mov	edx, 524288
	mov	esi, r13d
	mov	rdi, r12
	cmp	eax, 4
	mov	eax, 2097152
	cmovg	edx, eax
	call	pci_iomap@PLT
	xor	r8d, r8d
	mov	QWORD PTR [rbx], rax
	test	rax, rax
	je	.L9
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r8d
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	lea	rdi, .LC0[rip]
	call	DRM_ERROR@PLT
	mov	r8d, DWORD PTR EIO[rip]
	neg	r8d
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	uncore_mmio_setup, .-uncore_mmio_setup
	.comm	EIO,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_intel_uncore.c_uncore_mmio_setup.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"failed to map registers\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	uncore_mmio_setup, %function
uncore_mmio_setup:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r6, [r0, #4]
	mov	r1, #2
	mov	r4, r0
	mov	r0, r6
	ldr	r7, [r6]
	bl	IS_GEN
	mov	r5, r0
	mov	r0, r6
	subs	r5, r5, #0
	movne	r5, #1
	bl	INTEL_GEN
	cmp	r0, #4
	movle	r2, #524288
	movgt	r2, #2097152
	mov	r1, r5
	mov	r0, r7
	bl	pci_iomap
	cmp	r0, #0
	str	r0, [r4]
	beq	.L8
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	ldr	r0, .L9
	bl	DRM_ERROR
	ldr	r3, .L9+4
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	.align	2
.L9:
	.word	.LC0
	.word	EIO
	.size	uncore_mmio_setup, .-uncore_mmio_setup
	.comm	EIO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
