	.file	"extr_dm-raid45.c_raid_address.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	raid_address, @function
raid_address:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13d, esi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	ebp, esi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	ecx, DWORD PTR [rdi]
	mov	esi, DWORD PTR 4[rdi]
	sar	ebp, cl
	mov	edi, ebp
	call	sector_div@PLT
	mov	DWORD PTR [r12], eax
	mov	ecx, eax
	mov	rax, QWORD PTR 24[rbx]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 130
	je	.L2
	cmp	eax, 131
	jne	.L5
	mov	edx, DWORD PTR 8[rbx]
	mov	DWORD PTR 4[r12], edx
.L6:
	cmp	ecx, edx
	jl	.L5
	add	ecx, 1
	mov	DWORD PTR [r12], ecx
.L5:
	mov	ecx, DWORD PTR [rbx]
	and	r13d, DWORD PTR 16[rbx]
	mov	rax, r12
	sal	ebp, cl
	add	ebp, r13d
	mov	DWORD PTR 8[r12], ebp
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	esi, DWORD PTR 12[rbx]
	mov	edi, ebp
	call	sector_div@PLT
	mov	rcx, QWORD PTR 24[rbx]
	mov	DWORD PTR 4[r12], eax
	mov	edx, eax
	mov	ecx, DWORD PTR 4[rcx]
	add	ecx, -128
	cmp	ecx, 6
	ja	.L5
	lea	rsi, .L8[rip]
	movsx	rcx, DWORD PTR [rsi+rcx*4]
	add	rcx, rsi
	notrack jmp	rcx
	.section	.rodata
	.align 4
	.align 4
.L8:
	.long	.L12-.L8
	.long	.L14-.L8
	.long	.L5-.L8
	.long	.L5-.L8
	.long	.L10-.L8
	.long	.L9-.L8
	.long	.L7-.L8
	.text
	.p2align 4,,10
	.p2align 3
.L7:
	mov	edx, DWORD PTR 4[rbx]
	sub	edx, eax
	mov	DWORD PTR 4[r12], edx
.L14:
	mov	ecx, DWORD PTR [r12]
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L9:
	mov	edx, DWORD PTR 4[rbx]
	sub	edx, eax
	mov	DWORD PTR 4[r12], edx
.L12:
	mov	eax, DWORD PTR [r12]
	add	eax, edx
	add	eax, 1
	cdq
	idiv	DWORD PTR 12[rbx]
	mov	DWORD PTR [r12], edx
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L10:
	xor	eax, eax
	call	BUG@PLT
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	raid_address, .-raid_address
	.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-raid45.c_raid_address.c"
	.text
	.global	__aeabi_idivmod
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	raid_address, %function
raid_address:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r1
	mov	r4, r0
	ldr	r7, [r0]
	ldr	r1, [r0, #4]
	asr	r7, r5, r7
	mov	r0, r7
	mov	r6, r2
	bl	sector_div
	ldr	r3, [r4, #20]
	str	r0, [r6]
	ldr	r3, [r3]
	cmp	r3, #130
	beq	.L2
	cmp	r3, #131
	bne	.L5
	ldr	r3, [r4, #8]
	str	r3, [r6, #4]
.L6:
	cmp	r0, r3
	addge	r0, r0, #1
	strge	r0, [r6]
.L5:
	ldr	r1, [r4, #16]
	ldr	r3, [r4]
	and	r5, r5, r1
	add	r5, r5, r7, lsl r3
	mov	r0, r6
	str	r5, [r6, #8]
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	mov	r0, r7
	ldr	r1, [r4, #12]
	bl	sector_div
	ldr	r2, [r4, #20]
	mov	r3, r0
	ldr	r2, [r2, #4]
	str	r0, [r6, #4]
	sub	r2, r2, #128
	cmp	r2, #6
	ldrls	pc, [pc, r2, asl #2]
	b	.L5
.L8:
	.word	.L12
	.word	.L11
	.word	.L5
	.word	.L5
	.word	.L10
	.word	.L9
	.word	.L7
.L9:
	ldr	r2, [r4, #4]
	sub	r3, r2, r0
	str	r3, [r6, #4]
.L12:
	ldr	r0, [r6]
	ldr	r1, [r4, #12]
	add	r0, r3, r0
	add	r0, r0, #1
	bl	__aeabi_idivmod
	str	r1, [r6]
	b	.L5
.L7:
	ldr	r2, [r4, #4]
	ldr	r0, [r6]
	sub	r3, r2, r3
	str	r3, [r6, #4]
	b	.L6
.L10:
	bl	BUG
	b	.L5
.L11:
	ldr	r0, [r6]
	b	.L6
	.size	raid_address, .-raid_address
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
