	.file	"extr_data.c_f2fs_target_device_index.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	f2fs_target_device_index
	.type	f2fs_target_device_index, @function
f2fs_target_device_index:
.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
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rsi
	call	f2fs_is_multi_device@PLT
	test	eax, eax
	je	.L2
	mov	eax, DWORD PTR 0[rbp]
	test	eax, eax
	jle	.L2
	xor	r12d, r12d
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L6:
	add	r12d, 1
	cmp	DWORD PTR 0[rbp], r12d
	jle	.L2
.L4:
	mov	edi, r12d
	call	FDEV@PLT
	cmp	rbx, rax
	jl	.L6
	mov	edi, r12d
	call	FDEV@PLT
	cmp	rbx, rdx
	jg	.L6
	mov	eax, r12d
	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
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	f2fs_target_device_index, .-f2fs_target_device_index
	.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_data.c_f2fs_target_device_index.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	f2fs_target_device_index
	.syntax unified
	.arm
	.fpu softvfp
	.type	f2fs_target_device_index, %function
f2fs_target_device_index:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r3, .L15
	sub	sp, sp, #24
	mov	r5, r1
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	mov	r6, r0
	bl	f2fs_is_multi_device
	cmp	r0, #0
	beq	.L2
	ldr	r3, [r6]
	cmp	r3, #0
	ble	.L2
	mov	r4, #0
	b	.L4
.L6:
	ldr	r3, [r6]
	add	r4, r4, #1
	cmp	r3, r4
	ble	.L2
.L4:
	mov	r1, r4
	add	r0, sp, #4
	bl	FDEV
	ldr	r3, [sp, #4]
	cmp	r3, r5
	bgt	.L6
	mov	r1, r4
	add	r0, sp, #12
	bl	FDEV
	ldr	r3, [sp, #16]
	cmp	r3, r5
	blt	.L6
.L1:
	ldr	r3, .L15
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L14
	mov	r0, r4
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, pc}
.L2:
	mov	r4, #0
	b	.L1
.L14:
	bl	__stack_chk_fail
.L16:
	.align	2
.L15:
	.word	.LC0
	.size	f2fs_target_device_index, .-f2fs_target_device_index
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
