	.file	"extr_backing-dev.c_bdi_init.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	bdi_init
	.type	bdi_init, @function
bdi_init:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	add	rdi, 52
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	eax, DWORD PTR PROP_FRAC_BASE[rip]
	mov	QWORD PTR 20[rdi], 0
	mov	QWORD PTR 12[rdi], 0
	mov	DWORD PTR -52[rdi], 100
	mov	DWORD PTR 4[rdi], eax
	call	spin_lock_init@PLT
	lea	rdi, 48[rbp]
	call	INIT_RCU_HEAD@PLT
	lea	rdi, 44[rbp]
	call	INIT_LIST_HEAD@PLT
	lea	rdi, 40[rbp]
	call	INIT_LIST_HEAD@PLT
	lea	rdi, 36[rbp]
	call	INIT_LIST_HEAD@PLT
	lea	rdi, 32[rbp]
	mov	rsi, rbp
	call	bdi_wb_init@PLT
	mov	eax, DWORD PTR NR_BDI_STAT_ITEMS[rip]
	test	eax, eax
	jle	.L2
	xor	ebx, ebx
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L17:
	add	rbx, 1
	cmp	DWORD PTR NR_BDI_STAT_ITEMS[rip], ebx
	jle	.L16
.L4:
	mov	rax, QWORD PTR 8[rbp]
	xor	esi, esi
	mov	r13d, ebx
	lea	rdi, [rax+rbx*4]
	call	percpu_counter_init@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L17
	lea	ebx, -1[rbx]
	test	r13d, r13d
	je	.L1
.L8:
	movsx	rbx, ebx
	xor	r13d, r13d
	sal	rbx, 2
	.p2align 4,,10
	.p2align 3
.L7:
	mov	rdi, QWORD PTR 8[rbp]
	add	rdi, rbx
	call	percpu_counter_destroy@PLT
	mov	rax, rbx
	sub	rbx, 4
	cmp	r13, rax
	jne	.L7
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
.L16:
	.cfi_restore_state
	mov	QWORD PTR 24[rbp], 0
	lea	rdi, 16[rbp]
	call	prop_local_init_percpu@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L9
	mov	ebx, r13d
	jmp	.L8
.L2:
	mov	QWORD PTR 24[rbp], 0
	lea	rdi, 16[rbp]
	call	prop_local_init_percpu@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L1
.L9:
	add	rsp, 8
	.cfi_def_cfa_offset 40
	xor	r12d, r12d
	pop	rbx
	.cfi_def_cfa_offset 32
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	bdi_init, .-bdi_init
	.comm	PROP_FRAC_BASE,4,4
	.comm	NR_BDI_STAT_ITEMS,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_backing-dev.c_bdi_init.c"
	.text
	.align	2
	.global	bdi_init
	.syntax unified
	.arm
	.fpu softvfp
	.type	bdi_init, %function
bdi_init:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r2, #100
	mov	r4, #0
	mov	r6, r0
	ldr	r3, .L18
	str	r2, [r0]
	ldr	r3, [r3]
	str	r4, [r0, #48]
	str	r3, [r0, #40]
	str	r4, [r0, #44]
	add	r0, r0, #36
	bl	spin_lock_init
	add	r0, r6, #32
	bl	INIT_RCU_HEAD
	add	r0, r6, #28
	bl	INIT_LIST_HEAD
	add	r0, r6, #24
	bl	INIT_LIST_HEAD
	ldr	r7, .L18+4
	add	r0, r6, #20
	bl	INIT_LIST_HEAD
	mov	r1, r6
	add	r0, r6, #16
	bl	bdi_wb_init
	ldr	r3, [r7]
	cmp	r3, r4
	bgt	.L4
	b	.L2
.L17:
	ldr	r2, [r7]
	cmp	r2, r3
	ble	.L16
	mov	r4, r3
.L4:
	ldr	r0, [r6, #4]
	mov	r1, #0
	add	r0, r0, r4, lsl #2
	bl	percpu_counter_init
	subs	r5, r0, #0
	add	r3, r4, #1
	beq	.L17
	cmp	r4, #0
	sub	r4, r4, #1
	beq	.L1
.L7:
	ldr	r0, [r6, #4]
	add	r0, r0, r4, lsl #2
	sub	r4, r4, #1
	bl	percpu_counter_destroy
	cmn	r4, #1
	bne	.L7
.L1:
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L16:
	str	r5, [r6, #12]
	add	r0, r6, #8
	bl	prop_local_init_percpu
	subs	r5, r0, #0
	bne	.L7
.L9:
	mov	r5, #0
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	str	r4, [r6, #12]
	add	r0, r6, #8
	bl	prop_local_init_percpu
	subs	r5, r0, #0
	bne	.L1
	b	.L9
.L19:
	.align	2
.L18:
	.word	PROP_FRAC_BASE
	.word	NR_BDI_STAT_ITEMS
	.size	bdi_init, .-bdi_init
	.comm	PROP_FRAC_BASE,4,4
	.comm	NR_BDI_STAT_ITEMS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
