	.file	"extr_dm-raid.c_read_disk_sb.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Failed to read superblock of device at position %d"
	.text
	.p2align 4
	.type	read_disk_sb, @function
read_disk_sb:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	ebp, edx
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	esi, DWORD PTR 16[rdi]
	mov	rbx, rdi
	xor	edi, edi
	test	esi, esi
	sete	dil
	call	BUG_ON@PLT
	mov	edi, DWORD PTR [rbx]
	test	edi, edi
	je	.L6
	xor	eax, eax
	test	ebp, ebp
	je	.L1
.L6:
	sub	rsp, 8
	.cfi_def_cfa_offset 40
	mov	DWORD PTR [rbx], 0
	mov	ecx, DWORD PTR 16[rbx]
	mov	edx, r12d
	push	1
	.cfi_def_cfa_offset 48
	mov	r8d, DWORD PTR REQ_OP_READ[rip]
	xor	r9d, r9d
	xor	esi, esi
	mov	rdi, rbx
	call	sync_page_io@PLT
	pop	rdx
	.cfi_def_cfa_offset 40
	pop	rcx
	.cfi_def_cfa_offset 32
	test	eax, eax
	je	.L12
	mov	DWORD PTR [rbx], 1
	xor	eax, eax
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	mov	esi, DWORD PTR 12[rbx]
	lea	rdi, .LC0[rip]
	call	DMERR@PLT
	mov	edi, DWORD PTR 8[rbx]
	mov	rsi, rbx
	call	md_error@PLT
	mov	edi, DWORD PTR Faulty[rip]
	lea	rsi, 4[rbx]
	call	set_bit@PLT
	mov	eax, DWORD PTR EIO[rip]
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.cfi_endproc
.LFE0:
	.size	read_disk_sb, .-read_disk_sb
	.comm	REQ_OP_READ,4,4
	.comm	Faulty,4,4
	.comm	EIO,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_dm-raid.c_read_disk_sb.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Failed to read superblock of device at position %d\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_disk_sb, %function
read_disk_sb:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r4, r2
	mov	r5, r0
	ldr	r0, [r0, #16]
	clz	r4, r4
	clz	r0, r0
	sub	sp, sp, #20
	lsr	r0, r0, #5
	mov	r6, r1
	bl	BUG_ON
	ldr	r0, [r5]
	lsr	r4, r4, #5
	cmp	r0, #0
	moveq	r4, #0
	cmp	r4, #0
	movne	r0, #0
	bne	.L1
	mov	r7, #1
	ldr	r3, .L8
	str	r4, [r5]
	ldr	r3, [r3]
	str	r4, [sp, #4]
	str	r3, [sp]
	str	r7, [sp, #8]
	mov	r2, r6
	mov	r1, r4
	mov	r0, r5
	ldr	r3, [r5, #16]
	bl	sync_page_io
	cmp	r0, #0
	movne	r0, r4
	strne	r7, [r5]
	beq	.L7
.L1:
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L7:
	ldr	r1, [r5, #12]
	ldr	r0, .L8+4
	bl	DMERR
	mov	r1, r5
	ldr	r0, [r5, #8]
	bl	md_error
	ldr	r3, .L8+8
	add	r1, r5, #4
	ldr	r0, [r3]
	bl	set_bit
	ldr	r3, .L8+12
	ldr	r0, [r3]
	rsb	r0, r0, #0
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L9:
	.align	2
.L8:
	.word	REQ_OP_READ
	.word	.LC0
	.word	Faulty
	.word	EIO
	.size	read_disk_sb, .-read_disk_sb
	.comm	REQ_OP_READ,4,4
	.comm	Faulty,4,4
	.comm	EIO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
