	.file	"extr_slob.c_slob_free.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	slob_free, @function
slob_free:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13d, esi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	ZERO_OR_NULL_PTR@PLT
	mov	edi, eax
	call	unlikely@PLT
	test	rax, rax
	je	.L20
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L20:
	.cfi_restore_state
	xor	edi, edi
	test	r13d, r13d
	sete	dil
	call	BUG_ON@PLT
	mov	rdi, rbp
	call	slob_page@PLT
	mov	edi, r13d
	mov	r12, rax
	call	SLOB_UNITS@PLT
	xor	esi, esi
	lea	rdi, slob_lock[rip]
	mov	r13d, eax
	call	spin_lock_irqsave@PLT
	mov	r14d, DWORD PTR [r12]
	mov	edi, DWORD PTR PAGE_SIZE[rip]
	call	SLOB_UNITS@PLT
	add	r14d, r13d
	mov	rdi, r12
	cmp	r14d, eax
	je	.L21
	call	slob_page_free@PLT
	test	rax, rax
	je	.L22
	mov	r14, QWORD PTR 8[r12]
	add	DWORD PTR [r12], r13d
	cmp	r14, rbp
	jbe	.L7
	movsx	rax, r13d
	add	rax, rbp
	cmp	r14, rax
	je	.L23
.L8:
	mov	rdx, r14
	mov	esi, r13d
	mov	rdi, rbp
	call	set_slob@PLT
	mov	QWORD PTR 8[r12], rbp
.L6:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	esi, esi
	lea	rdi, slob_lock[rip]
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	spin_unlock_irqrestore@PLT
	.p2align 4,,10
	.p2align 3
.L24:
	.cfi_restore_state
	mov	r14, rax
.L7:
	mov	rdi, r14
	call	slob_next@PLT
	mov	r12, rax
	cmp	rbp, rax
	ja	.L24
	mov	rdi, r14
	call	slob_last@PLT
	test	eax, eax
	jne	.L11
	movsx	rax, r13d
	add	rax, rbp
	cmp	r12, rax
	je	.L25
.L11:
	mov	rdx, r12
	mov	esi, r13d
	mov	rdi, rbp
	call	set_slob@PLT
.L12:
	mov	rdi, r14
	call	slob_units@PLT
	cdqe
	add	rax, r14
	cmp	rbp, rax
	je	.L26
	mov	rdi, r14
	call	slob_units@PLT
	mov	rdx, rbp
	mov	rdi, r14
	mov	esi, eax
	call	set_slob@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L21:
	call	slob_page_free@PLT
	test	rax, rax
	jne	.L27
.L4:
	xor	esi, esi
	lea	rdi, slob_lock[rip]
	call	spin_unlock_irqrestore@PLT
	mov	rdi, r12
	call	clear_slob_page@PLT
	mov	rdi, r12
	call	free_slob_page@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rdi, rbp
	xor	esi, esi
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	slob_free_pages@PLT
	.p2align 4,,10
	.p2align 3
.L22:
	.cfi_restore_state
	mov	DWORD PTR [r12], r13d
	mov	edi, DWORD PTR PAGE_SIZE[rip]
	mov	QWORD PTR 8[r12], rbp
	call	SLOB_UNITS@PLT
	mov	esi, r13d
	mov	rdi, rbp
	movsx	rdx, eax
	add	rdx, rbp
	and	rdx, QWORD PTR PAGE_MASK[rip]
	call	set_slob@PLT
	lea	rsi, free_slob_small[rip]
	mov	rdi, r12
	call	set_slob_page_free@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L23:
	mov	rdi, r14
	call	slob_units@PLT
	mov	rdi, QWORD PTR 8[r12]
	add	r13d, eax
	call	slob_next@PLT
	mov	QWORD PTR 8[r12], rax
	mov	r14, rax
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L27:
	mov	rdi, r12
	call	clear_slob_page_free@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L26:
	mov	rdi, rbp
	call	slob_units@PLT
	mov	rdi, r14
	mov	r12d, eax
	call	slob_units@PLT
	mov	rdi, rbp
	add	r12d, eax
	call	slob_next@PLT
	mov	esi, r12d
	mov	rdi, r14
	mov	rdx, rax
	call	set_slob@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L25:
	mov	rdi, r12
	call	slob_units@PLT
	mov	rdi, r12
	add	r13d, eax
	call	slob_next@PLT
	mov	esi, r13d
	mov	rdi, rbp
	mov	rdx, rax
	call	set_slob@PLT
	jmp	.L12
	.cfi_endproc
.LFE0:
	.size	slob_free, .-slob_free
	.comm	slob_lock,4,4
	.comm	free_slob_small,4,4
	.comm	PAGE_SIZE,4,4
	.comm	PAGE_MASK,8,8
	.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_slob.c_slob_free.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	slob_free, %function
slob_free:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, r1
	mov	r4, r0
	bl	ZERO_OR_NULL_PTR
	bl	unlikely
	cmp	r0, #0
	popne	{r4, r5, r6, r7, r8, pc}
	clz	r0, r6
	lsr	r0, r0, #5
	bl	BUG_ON
	mov	r0, r4
	bl	slob_page
	mov	r5, r0
	mov	r0, r6
	bl	SLOB_UNITS
	ldr	r8, .L26
	mov	r6, r0
	mov	r1, #0
	ldr	r0, .L26+4
	bl	spin_lock_irqsave
	ldr	r0, [r8]
	ldr	r7, [r5]
	bl	SLOB_UNITS
	add	r7, r6, r7
	cmp	r7, r0
	mov	r0, r5
	beq	.L20
	bl	slob_page_free
	cmp	r0, #0
	beq	.L21
	ldm	r5, {r3, r7}
	add	r3, r3, r6
	cmp	r7, r4
	str	r3, [r5]
	bls	.L7
	add	r3, r4, r6
	cmp	r7, r3
	beq	.L22
.L8:
	mov	r2, r7
	mov	r1, r6
	mov	r0, r4
	bl	set_slob
	str	r4, [r5, #4]
.L6:
	mov	r1, #0
	pop	{r4, r5, r6, r7, r8, lr}
	ldr	r0, .L26+4
	b	spin_unlock_irqrestore
.L20:
	bl	slob_page_free
	cmp	r0, #0
	bne	.L23
.L4:
	mov	r1, #0
	ldr	r0, .L26+4
	bl	spin_unlock_irqrestore
	mov	r0, r5
	bl	clear_slob_page
	mov	r0, r5
	bl	free_slob_page
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, lr}
	mov	r1, #0
	b	slob_free_pages
.L7:
	mov	r0, r7
	bl	slob_next
	cmp	r4, r0
	mov	r5, r0
	bls	.L9
.L10:
	mov	r0, r5
	bl	slob_next
	cmp	r4, r0
	mov	r7, r5
	mov	r5, r0
	bhi	.L10
.L9:
	mov	r0, r7
	bl	slob_last
	cmp	r0, #0
	bne	.L11
	add	r3, r4, r6
	cmp	r5, r3
	beq	.L24
.L11:
	mov	r2, r5
	mov	r1, r6
	mov	r0, r4
	bl	set_slob
.L12:
	mov	r0, r7
	bl	slob_units
	add	r0, r7, r0
	cmp	r4, r0
	beq	.L25
	mov	r0, r7
	bl	slob_units
	mov	r2, r4
	mov	r1, r0
	mov	r0, r7
	bl	set_slob
	b	.L6
.L21:
	ldr	r0, [r8]
	str	r6, [r5]
	str	r4, [r5, #4]
	bl	SLOB_UNITS
	ldr	r2, .L26+8
	add	r3, r4, r0
	ldr	r2, [r2]
	mov	r1, r6
	mov	r0, r4
	and	r2, r2, r3
	bl	set_slob
	mov	r0, r5
	ldr	r1, .L26+12
	bl	set_slob_page_free
	b	.L6
.L22:
	mov	r0, r7
	bl	slob_units
	mov	r3, r0
	ldr	r0, [r5, #4]
	add	r6, r6, r3
	bl	slob_next
	mov	r7, r0
	str	r0, [r5, #4]
	b	.L8
.L23:
	mov	r0, r5
	bl	clear_slob_page_free
	b	.L4
.L25:
	mov	r0, r4
	bl	slob_units
	mov	r5, r0
	mov	r0, r7
	bl	slob_units
	mov	r1, r0
	mov	r0, r4
	add	r5, r5, r1
	bl	slob_next
	mov	r1, r5
	mov	r2, r0
	mov	r0, r7
	bl	set_slob
	b	.L6
.L24:
	mov	r0, r5
	bl	slob_units
	mov	r3, r0
	mov	r0, r5
	add	r6, r6, r3
	bl	slob_next
	mov	r1, r6
	mov	r2, r0
	mov	r0, r4
	bl	set_slob
	b	.L12
.L27:
	.align	2
.L26:
	.word	PAGE_SIZE
	.word	slob_lock
	.word	PAGE_MASK
	.word	free_slob_small
	.size	slob_free, .-slob_free
	.comm	slob_lock,4,4
	.comm	free_slob_small,4,4
	.comm	PAGE_SIZE,4,4
	.comm	PAGE_MASK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
