	.file	"extr_mpt3sas_config.c_mpt3sas_config_get_expander_pg0.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	mpt3sas_config_get_expander_pg0
	.type	mpt3sas_config_get_expander_pg0, @function
mpt3sas_config_get_expander_pg0:
.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	r14d, r8d
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdx
	mov	edx, 48
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rsi
	xor	esi, esi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	ebx, ecx
	sub	rsp, 72
	.cfi_def_cfa_offset 128
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rax
	xor	eax, eax
	mov	r15, rsp
	mov	rdi, r15
	call	memset@PLT
	mov	eax, DWORD PTR MPI2_FUNCTION_CONFIG[rip]
	lea	rsi, 8[rsp]
	mov	rdi, rbp
	mov	QWORD PTR 24[rsp], 0
	mov	DWORD PTR 44[rsp], eax
	mov	eax, DWORD PTR MPI2_CONFIG_ACTION_PAGE_HEADER[rip]
	mov	DWORD PTR [rsp], eax
	mov	eax, DWORD PTR MPI2_CONFIG_PAGETYPE_EXTENDED[rip]
	mov	DWORD PTR 32[rsp], eax
	mov	eax, DWORD PTR MPI2_CONFIG_EXTPAGETYPE_SAS_EXPANDER[rip]
	mov	DWORD PTR 40[rsp], eax
	mov	eax, DWORD PTR MPI2_SASEXPANDER0_PAGEVERSION[rip]
	mov	DWORD PTR 16[rsp], eax
	call	[QWORD PTR 0[rbp]]
	mov	ecx, DWORD PTR MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT[rip]
	xor	r9d, r9d
	xor	r8d, r8d
	mov	rdx, r12
	mov	rsi, r15
	mov	rdi, rbp
	call	_config_request@PLT
	test	eax, eax
	jne	.L1
	or	ebx, r14d
	mov	edi, ebx
	call	cpu_to_le32@PLT
	mov	r8, r13
	mov	rdx, r12
	mov	rsi, r15
	mov	DWORD PTR 4[rsp], eax
	mov	ecx, DWORD PTR MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT[rip]
	mov	r9d, 4
	mov	rdi, rbp
	mov	eax, DWORD PTR MPI2_CONFIG_ACTION_PAGE_READ_CURRENT[rip]
	mov	DWORD PTR [rsp], eax
	call	_config_request@PLT
.L2:
	endbr64
.L1:
	mov	rbx, QWORD PTR 56[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L6
	add	rsp, 72
	.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
.L6:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	mpt3sas_config_get_expander_pg0, .-mpt3sas_config_get_expander_pg0
	.comm	MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT,4,4
	.comm	MPI2_SASEXPANDER0_PAGEVERSION,4,4
	.comm	MPI2_FUNCTION_CONFIG,4,4
	.comm	MPI2_CONFIG_PAGETYPE_EXTENDED,4,4
	.comm	MPI2_CONFIG_EXTPAGETYPE_SAS_EXPANDER,4,4
	.comm	MPI2_CONFIG_ACTION_PAGE_READ_CURRENT,4,4
	.comm	MPI2_CONFIG_ACTION_PAGE_HEADER,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_mpt3sas_config.c_mpt3sas_config_get_expander_pg0.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	mpt3sas_config_get_expander_pg0
	.syntax unified
	.arm
	.fpu softvfp
	.type	mpt3sas_config_get_expander_pg0, %function
mpt3sas_config_get_expander_pg0:
	@ args = 4, pretend = 0, frame = 40
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r4, #0
	mov	r5, r0
	mov	r6, r1
	ldr	r8, .L7
	ldr	r7, .L7+4
	ldr	lr, .L7+8
	ldr	ip, .L7+12
	ldr	r1, .L7+16
	ldr	r8, [r8]
	sub	sp, sp, #48
	ldr	r7, [r7]
	ldr	lr, [lr]
	ldr	ip, [ip]
	ldr	r1, [r1]
	str	r8, [sp, #40]
	ldr	r9, .L7+20
	mov	r8, r3
	ldr	r3, .L7+24
	str	r7, [sp, #12]
	str	lr, [sp, #32]
	str	ip, [sp, #36]
	str	r1, [sp, #24]
	str	r4, [sp, #16]
	str	r4, [sp, #28]
	str	r4, [sp, #20]
	add	r1, sp, #20
	ldr	r10, [r0]
	mov	r7, r2
	ldr	r3, [r3]
	str	r3, [sp, #44]
	mov	r3,#0
	blx	r10
	mov	r2, r6
	mov	r0, r5
	ldr	r3, [r9]
	str	r4, [sp, #4]
	str	r4, [sp]
	add	r1, sp, #12
	bl	_config_request
	cmp	r0, #0
	bne	.L1
	ldr	r3, [sp, #80]
	mov	r4, #4
	orr	r0, r8, r3
	bl	cpu_to_le32
	mov	lr, r0
	ldr	r3, .L7+28
	str	r7, [sp]
	ldr	ip, [r3]
	mov	r2, r6
	mov	r0, r5
	ldr	r3, [r9]
	add	r1, sp, #12
	str	r4, [sp, #4]
	str	lr, [sp, #16]
	str	ip, [sp, #12]
	bl	_config_request
.L2:
.L1:
	ldr	r3, .L7+24
	ldr	r2, [r3]
	ldr	r3, [sp, #44]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L6
	add	sp, sp, #48
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L6:
	bl	__stack_chk_fail
.L8:
	.align	2
.L7:
	.word	MPI2_FUNCTION_CONFIG
	.word	MPI2_CONFIG_ACTION_PAGE_HEADER
	.word	MPI2_CONFIG_PAGETYPE_EXTENDED
	.word	MPI2_CONFIG_EXTPAGETYPE_SAS_EXPANDER
	.word	MPI2_SASEXPANDER0_PAGEVERSION
	.word	MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT
	.word	.LC0
	.word	MPI2_CONFIG_ACTION_PAGE_READ_CURRENT
	.size	mpt3sas_config_get_expander_pg0, .-mpt3sas_config_get_expander_pg0
	.comm	MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT,4,4
	.comm	MPI2_SASEXPANDER0_PAGEVERSION,4,4
	.comm	MPI2_FUNCTION_CONFIG,4,4
	.comm	MPI2_CONFIG_PAGETYPE_EXTENDED,4,4
	.comm	MPI2_CONFIG_EXTPAGETYPE_SAS_EXPANDER,4,4
	.comm	MPI2_CONFIG_ACTION_PAGE_READ_CURRENT,4,4
	.comm	MPI2_CONFIG_ACTION_PAGE_HEADER,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
