	.file	"extr_8250_pci.c_addidata_apci7800_setup.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	addidata_apci7800_setup, @function
addidata_apci7800_setup:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rdx
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	edi, DWORD PTR 12[rsi]
	mov	ebx, ecx
	mov	r12d, DWORD PTR [rsi]
	call	FL_GET_BASE@PLT
	mov	edx, eax
	cmp	ebx, 1
	jle	.L8
	lea	eax, -2[rbx]
	mov	esi, DWORD PTR 4[rbp]
	cmp	eax, 1
	jbe	.L9
	lea	ecx, -4[rbx]
	cmp	ecx, 1
	jbe	.L10
	lea	ecx, -6[rbx]
	add	edx, 3
	imul	ecx, esi
	add	ecx, r12d
.L3:
	mov	r8d, DWORD PTR 8[rbp]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rsi, r14
	mov	rdi, r13
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	setup_port@PLT
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	imul	eax, esi
	add	edx, 1
	lea	ecx, [rax+r12]
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L8:
	imul	ebx, DWORD PTR 4[rbp]
	lea	ecx, [rbx+r12]
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L10:
	imul	ecx, esi
	add	edx, 2
	add	ecx, r12d
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	addidata_apci7800_setup, .-addidata_apci7800_setup
	.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_8250_pci.c_addidata_apci7800_setup.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	addidata_apci7800_setup, %function
addidata_apci7800_setup:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r3
	mov	r6, r0
	sub	sp, sp, #8
	ldr	r0, [r1, #12]
	mov	r7, r2
	mov	r4, r1
	ldr	r8, [r1]
	bl	FL_GET_BASE
	cmp	r5, #1
	mov	r2, r0
	ble	.L8
	sub	r3, r5, #2
	cmp	r3, #1
	ldr	r1, [r4, #4]
	bls	.L9
	sub	r3, r5, #4
	cmp	r3, #1
	subhi	r3, r5, #6
	mlals	r3, r1, r3, r8
	mlahi	r3, r1, r3, r8
	addls	r2, r0, #2
	addhi	r2, r2, #3
.L3:
	ldr	r0, [r4, #8]
	mov	r1, r7
	str	r0, [sp]
	mov	r0, r6
	bl	setup_port
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L9:
	mla	r3, r1, r3, r8
	add	r2, r0, #1
	b	.L3
.L8:
	ldr	r3, [r4, #4]
	mla	r3, r5, r3, r8
	b	.L3
	.size	addidata_apci7800_setup, .-addidata_apci7800_setup
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
