	.file	"extr_nsp32.c_nsp32_proc_info.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"NinjaSCSI-32 status\n\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"Driver version:        %s, $Revision: 1.33 $\n"
	.section	.rodata.str1.1
.LC2:
	.string	"SCSI host No.:         %d\n"
.LC3:
	.string	"IRQ:                   %d\n"
	.section	.rodata.str1.8
	.align 8
.LC4:
	.string	"IO:                    0x%lx-0x%lx\n"
	.align 8
.LC5:
	.string	"MMIO(virtual address): 0x%lx-0x%lx\n"
	.section	.rodata.str1.1
.LC6:
	.string	"sg_tablesize:          %d\n"
.LC7:
	.string	"Chip revision:         0x%x\n"
	.section	.rodata.str1.8
	.align 8
.LC8:
	.string	"OEM:                   %ld, %s\n"
	.section	.rodata.str1.1
.LC9:
	.string	"CurrentSC:             0x%p\n\n"
.LC10:
	.string	"SDTR status\n"
.LC11:
	.string	"id %d: "
	.section	.rodata.str1.8
	.align 8
.LC12:
	.string	"----- NinjaSCSI-32 host adapter\n"
	.section	.rodata.str1.1
.LC13:
	.string	"async"
.LC14:
	.string	" sync"
.LC15:
	.string	" none"
	.section	.rodata.str1.8
	.align 8
.LC16:
	.string	" transfer %d.%dMB/s, offset %d"
	.section	.rodata.str1.1
.LC17:
	.string	"\n"
	.text
	.p2align 4
	.type	nsp32_proc_info, @function
nsp32_proc_info:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	eax, DWORD PTR EINVAL[rip]
	mov	QWORD PTR [rsp], rsi
	neg	eax
	cmp	DWORD PTR TRUE[rip], r9d
	mov	DWORD PTR 8[rsp], ecx
	mov	DWORD PTR 12[rsp], r8d
	je	.L1
	mov	rbp, QWORD PTR 40[rdi]
	mov	r12, rdi
	mov	r13d, DWORD PTR 4[rdi]
	xor	eax, eax
	mov	ebx, DWORD PTR [rdi]
	lea	rdi, .LC0[rip]
	mov	r14, rdx
	call	SPRINTF@PLT
	mov	esi, DWORD PTR nsp32_release_version[rip]
	lea	rdi, .LC1[rip]
	xor	eax, eax
	call	SPRINTF@PLT
	mov	esi, ebx
	lea	rdi, .LC2[rip]
	xor	eax, eax
	call	SPRINTF@PLT
	mov	esi, DWORD PTR 32[r12]
	xor	eax, eax
	xor	ebx, ebx
	lea	rdi, .LC3[rip]
	call	SPRINTF@PLT
	mov	edx, DWORD PTR 4[r12]
	lea	rdi, .LC4[rip]
	xor	eax, eax
	mov	rsi, rdx
	add	rdx, QWORD PTR 24[r12]
	sub	rdx, 1
	call	SPRINTF@PLT
	movsx	rdx, DWORD PTR 16[r12]
	lea	rdi, .LC5[rip]
	xor	eax, eax
	mov	rsi, rdx
	add	rdx, QWORD PTR 24[rbp]
	sub	rdx, 1
	call	SPRINTF@PLT
	mov	esi, DWORD PTR 12[r12]
	lea	rdi, .LC6[rip]
	xor	eax, eax
	call	SPRINTF@PLT
	mov	esi, DWORD PTR INDEX_REG[rip]
	mov	edi, r13d
	call	nsp32_read2@PLT
	lea	rdi, .LC7[rip]
	movzx	esi, ah
	xor	eax, eax
	call	SPRINTF@PLT
	mov	esi, DWORD PTR CHIP_MODE[rip]
	mov	edi, r13d
	lea	r13, 8[rbp]
	call	nsp32_index_read1@PLT
	mov	rdx, QWORD PTR 16[rbp]
	movzx	esi, BYTE PTR OEM0[rip]
	lea	rdi, .LC8[rip]
	or	sil, BYTE PTR OEM1[rip]
	mov	rcx, QWORD PTR [rdx]
	mov	rdx, QWORD PTR nsp32_model[rip]
	and	esi, eax
	xor	eax, eax
	movzx	esi, sil
	mov	edx, DWORD PTR [rdx+rcx*4]
	call	SPRINTF@PLT
	mov	rdi, r13
	mov	rsi, rbx
	call	spin_lock_irqsave@PLT
	mov	esi, DWORD PTR 12[rbp]
	lea	rdi, .LC9[rip]
	xor	eax, eax
	call	SPRINTF@PLT
	mov	rdi, r13
	mov	rsi, rbx
	mov	r13d, 1000000
	call	spin_unlock_irqrestore@PLT
	lea	rdi, .LC10[rip]
	xor	eax, eax
	call	SPRINTF@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L22:
	mov	edx, DWORD PTR 8[rax]
	test	edx, edx
	jne	.L8
	mov	rdi, QWORD PTR ASYNC_OFFSET[rip]
	cmp	QWORD PTR 16[rax], rdi
	je	.L18
.L8:
	lea	rdi, .LC14[rip]
	xor	eax, eax
	call	SPRINTF@PLT
.L9:
	mov	rcx, QWORD PTR 0[rbp]
	add	rcx, r15
	mov	eax, DWORD PTR 8[rcx]
	test	eax, eax
	jne	.L19
.L10:
	lea	rdi, .LC17[rip]
	xor	eax, eax
	call	SPRINTF@PLT
.L6:
	add	rbx, 1
.L4:
	mov	rdi, QWORD PTR 0[rbp]
	call	ARRAY_SIZE@PLT
	cmp	eax, ebx
	jle	.L20
	xor	eax, eax
	mov	esi, ebx
	lea	rdi, .LC11[rip]
	call	SPRINTF@PLT
	cmp	DWORD PTR 8[r12], ebx
	je	.L21
	mov	rax, QWORD PTR 0[rbp]
	lea	rdx, [rbx+rbx*2]
	mov	rcx, QWORD PTR SDTR_DONE[rip]
	lea	r15, 0[0+rdx*8]
	add	rax, r15
	cmp	QWORD PTR [rax], rcx
	je	.L22
	lea	rdi, .LC15[rip]
	xor	eax, eax
	call	SPRINTF@PLT
	mov	rcx, QWORD PTR 0[rbp]
	add	rcx, r15
	mov	eax, DWORD PTR 8[rcx]
	test	eax, eax
	je	.L10
.L19:
	lea	esi, 0[0+rax*4]
	mov	eax, r13d
	mov	rcx, QWORD PTR 16[rcx]
	lea	rdi, .LC16[rip]
	cdq
	idiv	esi
	movsx	rsi, eax
	cdq
	imul	rsi, rsi, 274877907
	sar	rsi, 38
	sub	esi, edx
	imul	edx, esi, 1000
	sub	eax, edx
	mov	edx, eax
	xor	eax, eax
	call	SPRINTF@PLT
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L20:
	movsx	rbx, DWORD PTR 8[rsp]
	mov	rdi, rbx
	neg	rdi
	test	edi, edi
	js	.L23
	mov	esi, DWORD PTR 12[rsp]
	call	min@PLT
	add	rbx, QWORD PTR [rsp]
	mov	QWORD PTR [r14], rbx
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L21:
	.cfi_restore_state
	lea	rdi, .LC12[rip]
	xor	eax, eax
	call	SPRINTF@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L23:
	mov	QWORD PTR [r14], 0
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L18:
	.cfi_restore_state
	lea	rdi, .LC13[rip]
	xor	eax, eax
	call	SPRINTF@PLT
	jmp	.L9
	.cfi_endproc
.LFE0:
	.size	nsp32_proc_info, .-nsp32_proc_info
	.comm	nsp32_release_version,4,4
	.comm	nsp32_model,8,8
	.comm	TRUE,4,4
	.comm	SDTR_DONE,8,8
	.comm	OPTF,1,1
	.comm	OEM1,1,1
	.comm	OEM0,1,1
	.comm	INDEX_REG,4,4
	.comm	EINVAL,4,4
	.comm	CHIP_MODE,4,4
	.comm	ASYNC_OFFSET,8,8
	.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_nsp32.c_nsp32_proc_info.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"NinjaSCSI-32 status\012\012\000"
	.align	2
.LC1:
	.ascii	"Driver version:        %s, $Revision: 1.33 $\012\000"
	.align	2
.LC2:
	.ascii	"SCSI host No.:         %d\012\000"
	.align	2
.LC3:
	.ascii	"IRQ:                   %d\012\000"
	.align	2
.LC4:
	.ascii	"IO:                    0x%lx-0x%lx\012\000"
	.align	2
.LC5:
	.ascii	"MMIO(virtual address): 0x%lx-0x%lx\012\000"
	.align	2
.LC6:
	.ascii	"sg_tablesize:          %d\012\000"
	.align	2
.LC7:
	.ascii	"Chip revision:         0x%x\012\000"
	.align	2
.LC8:
	.ascii	"OEM:                   %ld, %s\012\000"
	.align	2
.LC9:
	.ascii	"CurrentSC:             0x%p\012\012\000"
	.align	2
.LC10:
	.ascii	"SDTR status\012\000"
	.align	2
.LC11:
	.ascii	"id %d: \000"
	.align	2
.LC12:
	.ascii	"----- NinjaSCSI-32 host adapter\012\000"
	.align	2
.LC13:
	.ascii	"async\000"
	.align	2
.LC14:
	.ascii	" sync\000"
	.align	2
.LC15:
	.ascii	" none\000"
	.global	__aeabi_idiv
	.align	2
.LC16:
	.ascii	" transfer %d.%dMB/s, offset %d\000"
	.align	2
.LC17:
	.ascii	"\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	nsp32_proc_info, %function
nsp32_proc_info:
	@ args = 8, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	lr, .L24
	sub	sp, sp, #20
	ldr	ip, [sp, #60]
	ldr	lr, [lr]
	str	r1, [sp, #12]
	cmp	lr, ip
	str	r2, [sp, #8]
	str	r3, [sp, #4]
	beq	.L18
	mov	r6, r0
	ldr	r0, .L24+4
	ldr	r5, [r6, #28]
	ldr	r4, [r6, #4]
	ldr	r7, [r6]
	bl	SPRINTF
	ldr	r3, .L24+8
	ldr	r0, .L24+12
	ldr	r1, [r3]
	bl	SPRINTF
	mov	r1, r7
	ldr	r0, .L24+16
	bl	SPRINTF
	ldr	r1, [r6, #24]
	ldr	r0, .L24+20
	bl	SPRINTF
	ldr	r1, [r6, #4]
	ldr	r3, [r6, #20]
	sub	r2, r1, #1
	add	r2, r2, r3
	ldr	r0, .L24+24
	bl	SPRINTF
	ldr	r1, [r6, #16]
	ldr	r2, [r5, #16]
	ldr	r0, .L24+28
	add	r2, r1, r2
	sub	r2, r2, #1
	bl	SPRINTF
	ldr	r1, [r6, #12]
	ldr	r0, .L24+32
	bl	SPRINTF
	ldr	r3, .L24+36
	mov	r0, r4
	ldr	r1, [r3]
	bl	nsp32_read2
	asr	r1, r0, #8
	and	r1, r1, #255
	ldr	r0, .L24+40
	bl	SPRINTF
	ldr	r3, .L24+44
	mov	r0, r4
	ldr	r1, [r3]
	bl	nsp32_index_read1
	mov	r7, #0
	ldr	r3, .L24+48
	ldr	r1, .L24+52
	ldr	ip, [r5, #12]
	ldr	r2, .L24+56
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldrb	r1, [r1]	@ zero_extendqisi2
	ldr	ip, [ip]
	ldr	r2, [r2]
	orr	r1, r3, r1
	ldr	r2, [r2, ip, lsl #2]
	and	r1, r1, r0
	add	r4, r5, #4
	ldr	r0, .L24+60
	bl	SPRINTF
	mov	r1, r7
	mov	r0, r4
	bl	spin_lock_irqsave
	ldr	r1, [r5, #8]
	ldr	r0, .L24+64
	bl	SPRINTF
	mov	r1, r7
	mov	r0, r4
	bl	spin_unlock_irqrestore
	ldr	r0, .L24+68
	mov	r4, r7
	bl	SPRINTF
	ldr	r7, .L24+72
	ldr	r9, .L24+76
	ldr	r8, .L24+80
	ldr	r10, .L24+84
	b	.L4
.L23:
	ldr	r2, [r3, #4]
	cmp	r2, #0
	bne	.L8
	ldr	r1, .L24+88
	ldr	r2, [r3, #8]
	ldr	r3, [r1]
	cmp	r2, r3
	beq	.L19
.L8:
	ldr	r0, .L24+92
	bl	SPRINTF
.L9:
	ldr	r2, [r5]
	add	fp, r2, fp
	ldr	r1, [fp, #4]
	cmp	r1, #0
	bne	.L20
.L10:
	mov	r0, r8
	bl	SPRINTF
.L6:
	add	r4, r4, #1
.L4:
	ldr	r0, [r5]
	bl	ARRAY_SIZE
	cmp	r0, r4
	ble	.L21
	mov	r1, r4
	mov	r0, r7
	bl	SPRINTF
	ldr	r3, [r6, #8]
	cmp	r3, r4
	beq	.L22
	ldr	r3, [r5]
	add	r2, r4, r4, lsl #1
	ldr	r0, [r3, r2, lsl #2]
	ldr	r1, [r9]
	add	r3, r3, r2, lsl #2
	cmp	r0, r1
	lsl	fp, r2, #2
	beq	.L23
	mov	r0, r10
	bl	SPRINTF
	b	.L9
.L20:
	lsl	r1, r1, #2
	ldr	r0, .L24+96
	bl	__aeabi_idiv
	ldr	r3, .L24+100
	asr	r1, r0, #31
	smull	r2, r3, r0, r3
	rsb	r1, r1, r3, asr #6
	rsb	r2, r1, r1, lsl #5
	add	r2, r1, r2, lsl #2
	sub	r2, r0, r2, lsl #3
	ldr	r3, [fp, #8]
	ldr	r0, .L24+104
	bl	SPRINTF
	b	.L10
.L21:
	ldr	r3, [sp, #4]
	cmp	r3, #0
	ble	.L12
	mov	r0, #0
	ldr	r3, [sp, #8]
	str	r0, [r3]
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L22:
	ldr	r0, .L24+108
	bl	SPRINTF
	b	.L6
.L12:
	ldr	r4, [sp, #4]
	ldr	r1, [sp, #56]
	rsb	r0, r4, #0
	bl	min
	ldr	r3, [sp, #12]
	ldr	r2, [sp, #8]
	add	r3, r3, r4
	str	r3, [r2]
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L18:
	ldr	r3, .L24+112
	ldr	r0, [r3]
	rsb	r0, r0, #0
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L19:
	ldr	r0, .L24+116
	bl	SPRINTF
	b	.L9
.L25:
	.align	2
.L24:
	.word	TRUE
	.word	.LC0
	.word	nsp32_release_version
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	INDEX_REG
	.word	.LC7
	.word	CHIP_MODE
	.word	OEM0
	.word	OEM1
	.word	nsp32_model
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	SDTR_DONE
	.word	.LC17
	.word	.LC15
	.word	ASYNC_OFFSET
	.word	.LC14
	.word	1000000
	.word	274877907
	.word	.LC16
	.word	.LC12
	.word	EINVAL
	.word	.LC13
	.size	nsp32_proc_info, .-nsp32_proc_info
	.comm	nsp32_release_version,4,4
	.comm	nsp32_model,4,4
	.comm	TRUE,4,4
	.comm	SDTR_DONE,4,4
	.comm	OPTF,1,1
	.comm	OEM1,1,1
	.comm	OEM0,1,1
	.comm	INDEX_REG,4,4
	.comm	EINVAL,4,4
	.comm	CHIP_MODE,4,4
	.comm	ASYNC_OFFSET,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
