	.file	"extr_pci.c_intel_iq80310_init.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	intel_iq80310_init, @function
intel_iq80310_init:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rsi
	sub	rsp, 16
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	eax, DWORD PTR mtd_pci_read8[rip]
	mov	DWORD PTR 16[rsi], eax
	mov	eax, DWORD PTR mtd_pci_write8[rip]
	mov	DWORD PTR 12[rsi], eax
	movabs	rax, 36028797018963969
	mov	QWORD PTR [rsi], rax
	xor	esi, esi
	call	pci_resource_len@PLT
	xor	esi, esi
	mov	rdi, rbp
	mov	r12d, eax
	call	pci_resource_start@PLT
	mov	esi, r12d
	mov	edi, eax
	call	ioremap_nocache@PLT
	mov	DWORD PTR 20[rbx], eax
	test	eax, eax
	jne	.L2
	mov	eax, DWORD PTR ENOMEM[rip]
	neg	eax
.L1:
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L7
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	lea	rdx, 4[rsp]
	mov	esi, 68
	mov	rdi, rbp
	call	pci_read_config_dword@PLT
	xor	edx, edx
	mov	esi, 68
	mov	rdi, rbp
	call	pci_write_config_dword@PLT
	mov	eax, DWORD PTR 4[rsp]
	mov	DWORD PTR 8[rbx], eax
	xor	eax, eax
	jmp	.L1
.L7:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	intel_iq80310_init, .-intel_iq80310_init
	.comm	mtd_pci_write8,4,4
	.comm	mtd_pci_read8,4,4
	.comm	ENOMEM,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_pci.c_intel_iq80310_init.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	intel_iq80310_init, %function
intel_iq80310_init:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	ip, #1
	mov	r4, r1
	mov	r3, #8388608
	ldr	r1, .L8
	ldr	r2, .L8+4
	ldr	r1, [r1]
	ldr	r2, [r2]
	ldr	lr, .L8+8
	sub	sp, sp, #8
	ldr	lr, [lr]
	str	lr, [sp, #4]
	mov	lr,#0
	str	ip, [r4]
	str	r2, [r4, #12]
	str	r3, [r4, #4]
	str	r1, [r4, #16]
	mov	r1, #0
	mov	r5, r0
	bl	pci_resource_start
	mov	r1, #0
	mov	r6, r0
	mov	r0, r5
	bl	pci_resource_len
	mov	r1, r0
	mov	r0, r6
	bl	ioremap_nocache
	cmp	r0, #0
	str	r0, [r4, #20]
	bne	.L2
	ldr	r3, .L8+12
	ldr	r0, [r3]
	rsb	r0, r0, #0
.L1:
	ldr	r3, .L8+8
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L7
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L2:
	mov	r2, sp
	mov	r1, #68
	mov	r0, r5
	bl	pci_read_config_dword
	mov	r0, r5
	mov	r2, #0
	mov	r1, #68
	bl	pci_write_config_dword
	ldr	r3, [sp]
	mov	r0, #0
	str	r3, [r4, #8]
	b	.L1
.L7:
	bl	__stack_chk_fail
.L9:
	.align	2
.L8:
	.word	mtd_pci_read8
	.word	mtd_pci_write8
	.word	.LC0
	.word	ENOMEM
	.size	intel_iq80310_init, .-intel_iq80310_init
	.comm	mtd_pci_write8,4,4
	.comm	mtd_pci_read8,4,4
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
