	.file	"extr_mrsas.c_mrsas_get_softc_instance.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"There is no Controller number %d\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"Invalid Controller number %d\n"
	.text
	.p2align 4
	.type	mrsas_get_softc_instance, @function
mrsas_get_softc_instance:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	QWORD PTR MRSAS_IOC_GET_PCI_INFO[rip], rsi
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	je	.L7
	mov	rcx, QWORD PTR [rdx]
	mov	rax, QWORD PTR mrsas_mgmt_info[rip+8]
	mov	r12, QWORD PTR [rax+rcx*8]
	test	r12, r12
	je	.L8
	movsx	rax, DWORD PTR mrsas_mgmt_info[rip]
	cmp	rcx, rax
	jnb	.L9
.L1:
	mov	rax, r12
	pop	r12
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	esi, DWORD PTR MRSAS_FAULT[rip]
	mov	rdi, r12
	lea	rdx, .LC1[rip]
	call	mrsas_dprint@PLT
	mov	rax, r12
	pop	r12
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	r12, QWORD PTR [rdi]
	mov	rax, r12
	pop	r12
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	rsi, rcx
	lea	rdi, .LC0[rip]
	call	printf@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	mrsas_get_softc_instance, .-mrsas_get_softc_instance
	.comm	mrsas_mgmt_info,16,16
	.comm	MRSAS_IOC_GET_PCI_INFO,8,8
	.comm	MRSAS_FAULT,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_mrsas.c_mrsas_get_softc_instance.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"There is no Controller number %d\012\000"
	.align	2
.LC1:
	.ascii	"Invalid Controller number %d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mrsas_get_softc_instance, %function
mrsas_get_softc_instance:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L9
	push	{r4, lr}
	ldr	r3, [r3]
	cmp	r3, r1
	ldreq	r4, [r0]
	beq	.L1
	ldr	r1, .L9+4
	ldr	r3, [r2]
	ldr	r2, [r1, #4]
	ldr	r4, [r2, r3, lsl #2]
	cmp	r4, #0
	beq	.L7
	ldr	r2, [r1]
	cmp	r3, r2
	bcs	.L8
.L1:
	mov	r0, r4
	pop	{r4, pc}
.L8:
	ldr	r2, .L9+8
	mov	r0, r4
	ldr	r1, [r2]
	ldr	r2, .L9+12
	bl	mrsas_dprint
	mov	r0, r4
	pop	{r4, pc}
.L7:
	mov	r1, r3
	ldr	r0, .L9+16
	bl	printf
	b	.L1
.L10:
	.align	2
.L9:
	.word	MRSAS_IOC_GET_PCI_INFO
	.word	mrsas_mgmt_info
	.word	MRSAS_FAULT
	.word	.LC1
	.word	.LC0
	.size	mrsas_get_softc_instance, .-mrsas_get_softc_instance
	.comm	mrsas_mgmt_info,8,4
	.comm	MRSAS_IOC_GET_PCI_INFO,4,4
	.comm	MRSAS_FAULT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
