	.file	"extr_mpt.c_mpt_read_extcfg_page.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"mpt_read_extcfg_page: Get request failed!\n"
	.align 8
.LC1:
	.string	"read_extcfg_page(%d) timed out\n"
	.align 8
.LC2:
	.string	"mpt_read_extcfg_page: Config Info Status %x\n"
	.text
	.p2align 4
	.globl	mpt_read_extcfg_page
	.type	mpt_read_extcfg_page, @function
mpt_read_extcfg_page:
.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
	mov	r14, r8
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, r9
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	ebx, edx
	sub	rsp, 72
	.cfi_def_cfa_offset 128
	mov	DWORD PTR 4[rsp], esi
	mov	r15d, DWORD PTR 128[rsp]
	mov	QWORD PTR 8[rsp], rcx
	mov	esi, r15d
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rax
	xor	eax, eax
	call	mpt_get_request@PLT
	mov	rcx, QWORD PTR 8[rsp]
	test	rax, rax
	je	.L9
	mov	rbp, rax
	mov	eax, DWORD PTR 4[rsp]
	mov	DWORD PTR 28[rsp], ebx
	mov	rdi, r13
	mov	QWORD PTR 40[rsp], 0
	mov	DWORD PTR 16[rsp], eax
	mov	eax, DWORD PTR 12[rcx]
	mov	DWORD PTR 48[rsp], eax
	mov	eax, DWORD PTR 8[rcx]
	mov	DWORD PTR 36[rsp], eax
	mov	eax, DWORD PTR MPI_CONFIG_PAGETYPE_EXTENDED[rip]
	mov	DWORD PTR 32[rsp], eax
	mov	rax, QWORD PTR [rcx]
	mov	QWORD PTR 20[rsp], rax
	mov	ebx, DWORD PTR 0[rbp]
	call	MPT_RQSL@PLT
	lea	rdx, 16[rsp]
	mov	r9d, r15d
	mov	r8, r12
	sub	rsp, 8
	.cfi_def_cfa_offset 136
	lea	ecx, [rbx+rax]
	mov	rsi, rbp
	mov	rdi, r13
	mov	eax, DWORD PTR 144[rsp]
	push	rax
	.cfi_def_cfa_offset 144
	call	mpt_issue_cfg_req@PLT
	mov	r15d, eax
	pop	rax
	.cfi_def_cfa_offset 136
	pop	rdx
	.cfi_def_cfa_offset 128
	test	r15d, r15d
	jne	.L10
	mov	edx, DWORD PTR 4[rbp]
	mov	eax, DWORD PTR MPI_IOCSTATUS_MASK[rip]
	and	eax, edx
	cmp	eax, DWORD PTR MPI_IOCSTATUS_SUCCESS[rip]
	jne	.L11
	mov	rdi, r13
	call	MPT_RQSL@PLT
	mov	rdx, QWORD PTR 8[rbp]
	mov	rdi, r14
	cdqe
	lea	rsi, [rdx+rax*4]
	mov	rdx, r12
	call	memcpy@PLT
	mov	rsi, rbp
	mov	rdi, r13
	call	mpt_free_request@PLT
.L1:
	mov	rax, QWORD PTR 56[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L12
	add	rsp, 72
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r15d
	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
.L11:
	.cfi_restore_state
	lea	rsi, .LC2[rip]
	mov	rdi, r13
	xor	eax, eax
	mov	r15d, -1
	call	mpt_prt@PLT
	mov	rsi, rbp
	mov	rdi, r13
	call	mpt_free_request@PLT
	jmp	.L1
.L10:
	mov	edx, DWORD PTR 4[rsp]
	lea	rsi, .LC1[rip]
	mov	rdi, r13
	xor	eax, eax
	mov	r15d, -1
	call	mpt_prt@PLT
	jmp	.L1
.L9:
	lea	rsi, .LC0[rip]
	mov	rdi, r13
	xor	eax, eax
	mov	r15d, -1
	call	mpt_prt@PLT
	jmp	.L1
.L12:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	mpt_read_extcfg_page, .-mpt_read_extcfg_page
	.comm	MPI_IOCSTATUS_SUCCESS,4,4
	.comm	MPI_IOCSTATUS_MASK,4,4
	.comm	MPI_CONFIG_PAGETYPE_EXTENDED,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_mpt.c_mpt_read_extcfg_page.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"mpt_read_extcfg_page: Get request failed!\012\000"
	.align	2
.LC1:
	.ascii	"read_extcfg_page(%d) timed out\012\000"
	.align	2
.LC2:
	.ascii	"mpt_read_extcfg_page: Config Info Status %x\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	mpt_read_extcfg_page
	.syntax unified
	.arm
	.fpu softvfp
	.type	mpt_read_extcfg_page, %function
mpt_read_extcfg_page:
	@ args = 16, pretend = 0, frame = 40
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	sub	sp, sp, #60
	ldr	fp, [sp, #104]
	mov	r5, r3
	ldr	r3, .L13
	mov	r7, r1
	mov	r1, fp
	mov	r8, r2
	ldr	r3, [r3]
	str	r3, [sp, #52]
	mov	r3,#0
	mov	r6, r0
	ldr	r10, [sp, #96]
	ldr	r9, [sp, #100]
	bl	mpt_get_request
	subs	r4, r0, #0
	beq	.L9
	mov	r3, #0
	ldr	r2, .L13+4
	ldr	r0, [r5, #12]
	ldr	r2, [r2]
	ldr	r1, [r5, #8]
	str	r2, [sp, #36]
	str	r3, [sp, #44]
	ldr	r2, [r5, #4]
	ldr	r3, [r5]
	str	r0, [sp, #48]
	mov	r0, r6
	ldr	r5, [r4]
	str	r1, [sp, #40]
	str	r2, [sp, #28]
	str	r3, [sp, #24]
	str	r7, [sp, #20]
	str	r8, [sp, #32]
	bl	MPT_RQSL
	ldr	r3, [sp, #108]
	mov	r1, r4
	str	r3, [sp, #8]
	stm	sp, {r9, fp}
	add	r3, r5, r0
	add	r2, sp, #20
	mov	r0, r6
	bl	mpt_issue_cfg_req
	subs	r5, r0, #0
	bne	.L10
	ldr	r3, .L13+8
	ldr	r1, .L13+12
	ldr	r3, [r3]
	ldr	r2, [r4, #4]
	ldr	r1, [r1]
	and	r3, r3, r2
	cmp	r3, r1
	bne	.L11
	mov	r0, r6
	bl	MPT_RQSL
	mov	r1, r0
	ldr	r3, [r4, #8]
	mov	r2, r9
	add	r1, r3, r1, lsl #2
	mov	r0, r10
	bl	memcpy
	mov	r1, r4
	mov	r0, r6
	bl	mpt_free_request
.L1:
	ldr	r3, .L13
	ldr	r2, [r3]
	ldr	r3, [sp, #52]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L12
	mov	r0, r5
	add	sp, sp, #60
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L11:
	ldr	r1, .L13+16
	mov	r0, r6
	bl	mpt_prt
	mov	r1, r4
	mov	r0, r6
	bl	mpt_free_request
	mvn	r5, #0
	b	.L1
.L10:
	mov	r2, r7
	mov	r0, r6
	ldr	r1, .L13+20
	bl	mpt_prt
	mvn	r5, #0
	b	.L1
.L9:
	mov	r0, r6
	ldr	r1, .L13+24
	bl	mpt_prt
	mvn	r5, #0
	b	.L1
.L12:
	bl	__stack_chk_fail
.L14:
	.align	2
.L13:
	.word	.LC3
	.word	MPI_CONFIG_PAGETYPE_EXTENDED
	.word	MPI_IOCSTATUS_MASK
	.word	MPI_IOCSTATUS_SUCCESS
	.word	.LC2
	.word	.LC1
	.word	.LC0
	.size	mpt_read_extcfg_page, .-mpt_read_extcfg_page
	.comm	MPI_IOCSTATUS_SUCCESS,4,4
	.comm	MPI_IOCSTATUS_MASK,4,4
	.comm	MPI_CONFIG_PAGETYPE_EXTENDED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
