	.file	"extr_md.c_super_90_rdev_size_change.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	super_90_rdev_size_change, @function
super_90_rdev_size_change:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	mov	rax, QWORD PTR 8[rdi]
	test	rsi, rsi
	je	.L2
	mov	rbp, rsi
	xor	r12d, r12d
	cmp	QWORD PTR [rax], rsi
	ja	.L1
	cmp	QWORD PTR 16[rax], 0
	jne	.L1
	mov	rdi, rbx
	call	calc_dev_sboffset@PLT
	cmp	rbp, rax
	mov	QWORD PTR [rbx], rax
	mov	rdx, rax
	cmova	rbp, rax
	mov	r12, rbp
.L7:
	movabs	rax, 8589934591
	mov	rdi, QWORD PTR 8[rbx]
	cmp	r12, rax
	jbe	.L6
	mov	eax, DWORD PTR 8[rdi]
	test	eax, eax
	movabs	rax, 8589934590
	cmovg	r12, rax
.L6:
	mov	ecx, DWORD PTR 20[rbx]
	mov	r8d, DWORD PTR 16[rbx]
	mov	rsi, rbx
	call	md_super_write@PLT
	mov	rdi, QWORD PTR 8[rbx]
	call	md_super_wait@PLT
.L1:
	mov	rax, r12
	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
.L2:
	.cfi_restore_state
	xor	r12d, r12d
	cmp	QWORD PTR 16[rax], 0
	jne	.L1
	mov	rdi, rbx
	call	calc_dev_sboffset@PLT
	mov	QWORD PTR [rbx], rax
	mov	r12, rax
	mov	rdx, rax
	jmp	.L7
	.cfi_endproc
.LFE0:
	.size	super_90_rdev_size_change, .-super_90_rdev_size_change
	.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_rdev_size_change.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	super_90_rdev_size_change, %function
super_90_rdev_size_change:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r2
	mov	r5, r3
	orrs	r3, r4, r5
	mov	r6, r0
	ldr	r1, [r0, #8]
	sub	sp, sp, #8
	beq	.L2
	ldmia	r1, {r2-r3}
	cmp	r3, r5
	cmpeq	r2, r4
	bhi	.L13
	ldr	r3, [r1, #12]
	cmp	r3, #0
	bne	.L13
	bl	calc_dev_sboffset
	mov	r2, r0
	mov	r3, r1
	cmp	r5, r1
	cmpeq	r4, r0
	movhi	r4, r0
	movhi	r5, r1
	stm	r6, {r2-r3}
.L7:
	mov	r1, #1
	mvn	r0, #0
	cmp	r5, r1
	cmpeq	r4, r0
	ldr	r0, [r6, #8]
	bls	.L6
	ldr	r1, [r0, #8]
	cmp	r1, #0
	mvngt	r4, #1
	movgt	r5, #1
.L6:
	ldr	r1, [r6, #16]
	ldr	ip, [r6, #12]
	stm	sp, {r1, ip}
	mov	r1, r6
	bl	md_super_write
	ldr	r0, [r6, #8]
	bl	md_super_wait
.L1:
	mov	r0, r4
	mov	r1, r5
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L2:
	ldr	r3, [r1, #12]
	cmp	r3, #0
	bne	.L1
	bl	calc_dev_sboffset
	mov	r4, r0
	mov	r5, r1
	mov	r2, r0
	mov	r3, r1
	stm	r6, {r4-r5}
	b	.L7
.L13:
	mov	r4, #0
	mov	r5, #0
	mov	r0, r4
	mov	r1, r5
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
	.size	super_90_rdev_size_change, .-super_90_rdev_size_change
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
