	.file	"extr_md.c_super_90_load.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"md: invalid raid superblock magic on %s\n"
	.align 8
.LC1:
	.string	"Bad version number %d.%d on %s\n"
	.align 8
.LC2:
	.string	"md: invalid superblock checksum on %s\n"
	.align 8
.LC3:
	.string	"md: %s has different UUID to %s\n"
	.align 8
.LC4:
	.string	"md: %s has same UUID but different superblock to %s\n"
	.text
	.p2align 4
	.type	super_90_load, @function
super_90_load:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	mov	r12, rsi
	push	rbx
	.cfi_offset 3, -56
	mov	rbx, rdi
	sub	rsp, 40
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	movsx	rax, DWORD PTR BDEVNAME_SIZE[rip]
	mov	rsi, rsp
	add	rax, 15
	mov	rcx, rax
	mov	rdx, rax
	and	rcx, -4096
	and	rdx, -16
	sub	rsi, rcx
	mov	rcx, rsi
	cmp	rsp, rcx
	je	.L3
.L30:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rcx
	jne	.L30
.L3:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L31
.L4:
	mov	rdx, rax
	mov	rdi, rsp
	and	rax, -4096
	mov	r14, rsp
	sub	rdi, rax
	and	rdx, -16
	mov	rax, rdi
	cmp	rsp, rax
	je	.L6
.L32:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L32
.L6:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L33
.L7:
	mov	rdi, rbx
	mov	QWORD PTR -80[rbp], rsp
	call	calc_dev_sboffset@PLT
	mov	esi, DWORD PTR MD_SB_BYTES[rip]
	mov	rdi, rbx
	mov	DWORD PTR [rbx], eax
	call	read_disk_sb@PLT
	mov	r15d, eax
	test	eax, eax
	je	.L34
	.p2align 4,,10
	.p2align 3
.L1:
	mov	rax, QWORD PTR -56[rbp]
	xor	rax, QWORD PTR fs:40
	jne	.L35
	lea	rsp, -40[rbp]
	mov	eax, r15d
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L31:
	.cfi_restore_state
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L34:
	mov	edi, DWORD PTR 12[rbx]
	mov	rsi, r14
	mov	r15d, DWORD PTR EINVAL[rip]
	call	bdevname@PLT
	mov	edi, DWORD PTR 16[rbx]
	neg	r15d
	call	page_address@PLT
	mov	r13, rax
	mov	rax, QWORD PTR MD_SB_MAGIC[rip]
	cmp	QWORD PTR 0[r13], rax
	jne	.L36
	movsx	rsi, DWORD PTR 52[r13]
	mov	edx, DWORD PTR 8[r13]
	test	esi, esi
	jne	.L10
	lea	eax, -90[rdx]
	cmp	eax, 1
	jbe	.L11
.L10:
	mov	rcx, r14
	lea	rdi, .LC1[rip]
	xor	eax, eax
	call	pr_warn@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L36:
	mov	rsi, r14
	lea	rdi, .LC0[rip]
	xor	eax, eax
	call	pr_warn@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L11:
	cmp	QWORD PTR 16[r13], 0
	jle	.L1
	mov	rdi, r13
	call	calc_sb_csum@PLT
	mov	edi, eax
	call	md_csum_fold@PLT
	mov	edi, DWORD PTR 48[r13]
	mov	QWORD PTR -72[rbp], rax
	call	md_csum_fold@PLT
	cmp	QWORD PTR -72[rbp], rax
	jne	.L37
	mov	eax, DWORD PTR 44[r13]
	mov	ecx, DWORD PTR LEVEL_MULTIPATH[rip]
	mov	QWORD PTR 40[rbx], 0
	mov	QWORD PTR 32[rbx], 0
	mov	DWORD PTR 48[rbx], eax
	mov	eax, DWORD PTR MD_SB_BYTES[rip]
	mov	DWORD PTR 20[rbx], -1
	mov	DWORD PTR 24[rbx], eax
	mov	eax, -1
	cmp	DWORD PTR 24[r13], ecx
	je	.L13
	mov	eax, DWORD PTR 40[r13]
.L13:
	mov	DWORD PTR 4[rbx], eax
	test	r12, r12
	je	.L21
	mov	edi, DWORD PTR 16[r12]
	call	page_address@PLT
	mov	rsi, r13
	mov	rdi, rax
	mov	QWORD PTR -72[rbp], rax
	call	md_uuid_equal@PLT
	mov	r8, QWORD PTR -72[rbp]
	test	eax, eax
	je	.L38
	mov	rdi, r8
	mov	rsi, r13
	mov	QWORD PTR -72[rbp], r8
	call	md_sb_equal@PLT
	mov	r8, QWORD PTR -72[rbp]
	test	eax, eax
	je	.L39
	mov	rdi, r13
	mov	QWORD PTR -72[rbp], r8
	xor	r15d, r15d
	call	md_event@PLT
	mov	r8, QWORD PTR -72[rbp]
	mov	r12, rax
	mov	rdi, r8
	call	md_event@PLT
	cmp	r12, rax
	setg	r15b
.L14:
	mov	edx, DWORD PTR [rbx]
	mov	eax, DWORD PTR 32[r13]
	mov	DWORD PTR 8[rbx], edx
	add	eax, eax
	test	edx, edx
	js	.L40
	cmp	edx, eax
	jge	.L1
	mov	eax, DWORD PTR 24[r13]
	test	eax, eax
	jle	.L1
.L18:
	mov	r15d, DWORD PTR EINVAL[rip]
	neg	r15d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L33:
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L37:
	mov	rsi, r14
	lea	rdi, .LC2[rip]
	xor	eax, eax
	call	pr_warn@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L21:
	mov	r15d, 1
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L40:
	mov	edx, DWORD PTR 24[r13]
	test	edx, edx
	jle	.L1
	mov	DWORD PTR 8[rbx], -2
	cmp	eax, -1
	jl	.L1
	jmp	.L18
.L38:
	mov	edi, DWORD PTR 12[r12]
	mov	rsi, QWORD PTR -80[rbp]
	call	bdevname@PLT
	mov	rsi, r14
	lea	rdi, .LC3[rip]
	mov	edx, eax
	xor	eax, eax
	call	pr_warn@PLT
	jmp	.L1
.L39:
	mov	edi, DWORD PTR 12[r12]
	mov	rsi, QWORD PTR -80[rbp]
	call	bdevname@PLT
	mov	rsi, r14
	lea	rdi, .LC4[rip]
	mov	edx, eax
	xor	eax, eax
	call	pr_warn@PLT
	jmp	.L1
.L35:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	super_90_load, .-super_90_load
	.comm	MD_SB_MAGIC,8,8
	.comm	MD_SB_BYTES,4,4
	.comm	LEVEL_MULTIPATH,4,4
	.comm	EINVAL,4,4
	.comm	BDEVNAME_SIZE,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_md.c_super_90_load.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"md: invalid raid superblock magic on %s\012\000"
	.align	2
.LC1:
	.ascii	"Bad version number %d.%d on %s\012\000"
	.align	2
.LC2:
	.ascii	"md: invalid superblock checksum on %s\012\000"
	.align	2
.LC3:
	.ascii	"md: %s has different UUID to %s\012\000"
	.align	2
.LC4:
	.ascii	"md: %s has same UUID but different superblock to %s"
	.ascii	"\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	super_90_load, %function
super_90_load:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	add	fp, sp, #32
	sub	sp, sp, #28
	ldr	r3, .L25
	mov	r5, r0
	ldr	r2, [r3]
	ldr	r3, .L25+4
	add	r2, r2, #7
	bic	r2, r2, #7
	sub	sp, sp, r2
	mov	r8, sp
	sub	sp, sp, r2
	mov	r6, r1
	ldr	r3, [r3]
	str	r3, [fp, #-40]
	mov	r3,#0
	bl	calc_dev_sboffset
	ldr	r7, .L25+8
	str	r0, [r5]
	ldr	r1, [r7]
	mov	r0, r5
	bl	read_disk_sb
	subs	r4, r0, #0
	beq	.L18
.L1:
	ldr	r3, .L25+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L19
	mov	r0, r4
	sub	sp, fp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L18:
	ldr	r10, .L25+12
	mov	r1, r8
	ldr	r0, [r5, #12]
	ldr	r4, [r10]
	bl	bdevname
	ldr	r0, [r5, #16]
	bl	page_address
	ldr	r2, .L25+16
	ldr	r1, [r0]
	ldr	r2, [r2]
	rsb	r4, r4, #0
	cmp	r1, r2
	bne	.L20
	ldr	r1, [r0, #32]
	ldr	r2, [r0, #4]
	cmp	r1, #0
	bne	.L4
	sub	ip, r2, #90
	cmp	ip, #1
	bls	.L5
.L4:
	mov	r3, r8
	ldr	r0, .L25+20
	bl	pr_warn
	b	.L1
.L5:
	ldr	r2, [r0, #8]
	str	r1, [fp, #-52]
	cmp	r2, #0
	str	r0, [fp, #-48]
	ble	.L1
	bl	calc_sb_csum
	bl	md_csum_fold
	mov	r2, r0
	ldr	r3, [fp, #-48]
	str	r2, [fp, #-48]
	ldr	r0, [r3, #28]
	str	r3, [fp, #-56]
	bl	md_csum_fold
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-56]
	cmp	r2, r0
	ldr	r1, [fp, #-52]
	bne	.L21
	mvn	r2, #0
	ldr	ip, [r7]
	ldr	r0, .L25+24
	ldr	lr, [r3, #24]
	ldr	r0, [r0]
	str	ip, [r5, #24]
	ldr	ip, [r3, #12]
	str	r2, [r5, #20]
	cmp	ip, r0
	ldrne	r2, [r3, #20]
	cmp	r6, #0
	mov	r9, sp
	str	lr, [r5, #36]
	str	r1, [r5, #32]
	str	r1, [r5, #28]
	str	r2, [r5, #4]
	beq	.L15
	ldr	r0, [r6, #16]
	str	r3, [fp, #-48]
	bl	page_address
	ldr	r3, [fp, #-48]
	mov	r7, r0
	mov	r1, r3
	bl	md_uuid_equal
	cmp	r0, #0
	ldr	r3, [fp, #-48]
	beq	.L22
	mov	r1, r3
	mov	r0, r7
	str	r3, [fp, #-48]
	bl	md_sb_equal
	cmp	r0, #0
	ldr	r3, [fp, #-48]
	beq	.L23
	mov	r0, r3
	str	r3, [fp, #-48]
	bl	md_event
	mov	r4, r0
	mov	r0, r7
	bl	md_event
	cmp	r4, r0
	movle	r4, #0
	movgt	r4, #1
	ldr	r3, [fp, #-48]
.L8:
	ldr	r1, [r5]
	ldr	r2, [r3, #16]
	cmp	r1, #0
	str	r1, [r5, #8]
	lsl	r2, r2, #1
	blt	.L24
	cmp	r1, r2
	bge	.L1
	ldr	r3, [r3, #12]
	cmp	r3, #0
	ble	.L1
.L12:
	ldr	r4, [r10]
	rsb	r4, r4, #0
	b	.L1
.L20:
	mov	r1, r8
	ldr	r0, .L25+28
	bl	pr_warn
	b	.L1
.L21:
	mov	r1, r8
	ldr	r0, .L25+32
	bl	pr_warn
	b	.L1
.L15:
	mov	r4, #1
	b	.L8
.L24:
	ldr	r3, [r3, #12]
	cmp	r3, #0
	ble	.L1
	mvn	r3, #1
	cmn	r2, #1
	str	r3, [r5, #8]
	blt	.L1
	b	.L12
.L22:
	mov	r1, r9
	ldr	r0, [r6, #12]
	bl	bdevname
	mov	r1, r8
	mov	r2, r0
	ldr	r0, .L25+36
	bl	pr_warn
	b	.L1
.L23:
	mov	r1, r9
	ldr	r0, [r6, #12]
	bl	bdevname
	mov	r1, r8
	mov	r2, r0
	ldr	r0, .L25+40
	bl	pr_warn
	b	.L1
.L19:
	bl	__stack_chk_fail
.L26:
	.align	2
.L25:
	.word	BDEVNAME_SIZE
	.word	.LC5
	.word	MD_SB_BYTES
	.word	EINVAL
	.word	MD_SB_MAGIC
	.word	.LC1
	.word	LEVEL_MULTIPATH
	.word	.LC0
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	super_90_load, .-super_90_load
	.comm	MD_SB_MAGIC,4,4
	.comm	MD_SB_BYTES,4,4
	.comm	LEVEL_MULTIPATH,4,4
	.comm	EINVAL,4,4
	.comm	BDEVNAME_SIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
