	.file	"extr_isci_oem_parameters.c_isci_get_oem_parameters.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"oem_data->header.num_elements = %d\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC2:
	.string	"ISCI"
	.section	.rodata.str1.8
	.align 8
.LC3:
	.string	"OEM Parameter Data for controller %d\n"
	.section	.rodata.str1.1
.LC4:
	.string	"%02x "
.LC5:
	.string	"\n"
.LC0:
	.string	"$OEM"
	.text
	.p2align 4
	.globl	isci_get_oem_parameters
	.type	isci_get_oem_parameters, @function
isci_get_oem_parameters:
.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, 56
	.cfi_def_cfa_offset 112
	mov	QWORD PTR [rsp], rdi
	mov	edi, 786432
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	call	BIOS_PADDRTOVADDR@PLT
	lea	rsi, 196608[rax]
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L2:
	add	rax, 512
	cmp	rax, rsi
	je	.L1
.L11:
	mov	rdx, QWORD PTR [rax]
	cmp	rdx, 43605
	jne	.L2
	movsx	rcx, DWORD PTR [rax]
	mov	rbx, QWORD PTR [rsp]
	add	rcx, rax
	mov	rbx, QWORD PTR 16[rbx]
	cmp	QWORD PTR [rcx], rbx
	jne	.L2
	mov	rbx, QWORD PTR [rsp]
	mov	rbx, QWORD PTR 24[rbx]
	cmp	QWORD PTR 8[rcx], rbx
	jne	.L2
	mov	ecx, DWORD PTR .LC0[rip]
	lea	r12, 8[rax]
	add	rax, 512
	lea	r13, .LC4[rip]
	mov	QWORD PTR 16[rsp], rax
	mov	DWORD PTR 28[rsp], ecx
	mov	r14, QWORD PTR 28[rsp]
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L6:
	cmp	QWORD PTR 16[rsp], r12
	je	.L1
.L4:
	mov	rdx, QWORD PTR [r12]
	add	r12, 8
.L9:
	cmp	rdx, r14
	jne	.L6
	mov	eax, DWORD PTR TRUE[rip]
	mov	rbx, QWORD PTR [rsp]
	lea	rdx, .LC1[rip]
	lea	rsi, .LC2[rip]
	mov	ecx, DWORD PTR [r14]
	mov	edi, 1
	mov	DWORD PTR 8[rbx], eax
	xor	eax, eax
	call	isci_log_message@PLT
	mov	eax, DWORD PTR [r14]
	test	eax, eax
	jle	.L6
	mov	rax, QWORD PTR [rbx]
	mov	ebp, 4
	xor	ebx, ebx
	.p2align 4,,10
	.p2align 3
.L8:
	mov	rsi, QWORD PTR 8[r14]
	lea	rdi, 0[0+rbx*8]
	mov	edx, 4
	lea	r15, 0[0+rbx*4]
	mov	QWORD PTR 8[rsp], rdi
	lea	rdi, 4[rax+rdi]
	add	rsi, r15
	call	memcpy@PLT
	mov	ecx, ebx
	lea	rdx, .LC3[rip]
	xor	eax, eax
	lea	rsi, .LC2[rip]
	mov	edi, 1
	call	isci_log_message@PLT
.L7:
	mov	rax, QWORD PTR 8[r14]
	mov	rdx, r13
	mov	edi, 1
	lea	rsi, .LC2[rip]
	movsx	ecx, BYTE PTR [rax+r15]
	xor	eax, eax
	add	r15, 1
	call	isci_log_message@PLT
	cmp	rbp, r15
	jne	.L7
	mov	edi, 1
	xor	eax, eax
	add	rbx, 1
	add	rbp, 4
	lea	rdx, .LC5[rip]
	lea	rsi, .LC2[rip]
	call	isci_log_message@PLT
	mov	rax, QWORD PTR [rsp]
	mov	edx, DWORD PTR 4[r14]
	mov	rsi, QWORD PTR 8[rsp]
	mov	rax, QWORD PTR [rax]
	mov	DWORD PTR [rax+rsi], edx
	cmp	DWORD PTR [r14], ebx
	jg	.L8
	cmp	QWORD PTR 16[rsp], r12
	jne	.L4
	.p2align 4,,10
	.p2align 3
.L1:
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L18
	add	rsp, 56
	.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
.L18:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	isci_get_oem_parameters, .-isci_get_oem_parameters
	.comm	TRUE,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_isci_oem_parameters.c_isci_get_oem_parameters.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"oem_data->header.num_elements = %d\012\000"
	.align	2
.LC1:
	.ascii	"ISCI\000"
	.align	2
.LC2:
	.ascii	"OEM Parameter Data for controller %d\012\000"
	.align	2
.LC3:
	.ascii	"%02x \000"
	.align	2
.LC4:
	.ascii	"\012\000"
	.text
	.align	2
	.global	isci_get_oem_parameters
	.syntax unified
	.arm
	.fpu softvfp
	.type	isci_get_oem_parameters, %function
isci_get_oem_parameters:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r9, r0
	sub	sp, sp, #12
	mov	r0, #786432
	bl	BIOS_PADDRTOVADDR
	ldr	r2, .L16
	mov	r5, r0
	add	r1, r0, #196608
	b	.L9
.L2:
	add	r5, r5, #512
	cmp	r1, r5
	beq	.L1
.L9:
	ldr	r3, [r5]
	cmp	r3, r2
	bne	.L2
	add	r3, r5, #40960
	ldr	ip, [r3, #2645]
	ldr	r0, [r9, #8]
	cmp	ip, r0
	bne	.L2
	ldr	r0, [r3, #2649]
	ldr	r3, [r9, #12]
	cmp	r0, r3
	bne	.L2
	add	r3, r5, #508
	ldr	fp, .L16+4
	ldr	r10, .L16+8
	str	r3, [sp]
.L3:
	ldr	r3, [sp]
	cmp	r5, r3
	beq	.L1
.L8:
	ldr	r3, [r5, #4]!
	ldr	r2, .L16+12
	cmp	r3, r2
	bne	.L3
	ldr	r3, .L16+16
	mov	r1, r10
	ldr	r3, [r3]
	mov	r0, #1
	str	r3, [r9, #4]
	ldr	r3, [fp, #36]
	ldr	r2, .L16+20
	bl	isci_log_message
	ldr	r3, [fp, #36]
	cmp	r3, #0
	ble	.L3
	mov	r7, #4
	mov	r6, #0
	ldr	r0, [r9]
	ldr	r8, .L16+24
	str	r5, [sp, #4]
.L7:
	ldr	r1, [fp, #44]
	add	r0, r0, r6, lsl #3
	mov	r2, #4
	add	r1, r1, r6, lsl #2
	add	r0, r0, #4
	bl	memcpy
	mov	r3, r6
	mov	r1, r10
	mov	r0, #1
	ldr	r2, .L16+28
	lsl	r5, r6, #3
	lsl	r4, r6, #2
	bl	isci_log_message
.L6:
	ldr	r3, [fp, #44]
	mov	r2, r8
	ldrb	r3, [r3, r4]	@ zero_extendqisi2
	mov	r1, r10
	mov	r0, #1
	add	r4, r4, #1
	bl	isci_log_message
	cmp	r7, r4
	bne	.L6
	mov	r1, r10
	mov	r0, #1
	ldr	r2, .L16+32
	bl	isci_log_message
	ldr	r3, [fp, #40]
	ldr	r0, [r9]
	add	r6, r6, #1
	str	r3, [r0, r5]
	ldr	r3, [fp, #36]
	add	r7, r7, #4
	cmp	r3, r6
	bgt	.L7
	ldr	r5, [sp, #4]
	ldr	r3, [sp]
	cmp	r5, r3
	bne	.L8
.L1:
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L17:
	.align	2
.L16:
	.word	43605
	.word	1296387840
	.word	.LC1
	.word	1296387876
	.word	TRUE
	.word	.LC0
	.word	.LC3
	.word	.LC2
	.word	.LC4
	.size	isci_get_oem_parameters, .-isci_get_oem_parameters
	.comm	TRUE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
