	.file	"extr_inode.c_hfsplus_releasepage.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	hfsplus_releasepage, @function
hfsplus_releasepage:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 104
	.cfi_def_cfa_offset 160
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 88[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR 8[rdi]
	mov	rax, QWORD PTR [rax]
	mov	rsi, QWORD PTR 8[rax]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 129
	je	.L2
	cmp	eax, 130
	je	.L3
	cmp	eax, 128
	je	.L27
	xor	eax, eax
	call	BUG@PLT
.L1:
	mov	rax, QWORD PTR 88[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L25
	add	rsp, 104
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	lea	rdi, 32[rsp]
	call	HFSPLUS_SB@PLT
	mov	r12, QWORD PTR 40[rsp]
.L5:
	test	r12, r12
	je	.L1
	mov	r15d, DWORD PTR 0[r13]
	mov	ecx, DWORD PTR PAGE_CACHE_SHIFT[rip]
	lea	r14, 16[r12]
	mov	eax, DWORD PTR 8[r12]
	mov	rdx, QWORD PTR PAGE_CACHE_SIZE[rip]
	cmp	QWORD PTR [r12], rdx
	jl	.L7
	sub	eax, ecx
	mov	rdi, r14
	mov	ecx, eax
	sar	r15d, cl
	call	spin_lock@PLT
	mov	esi, r15d
	mov	rdi, r12
	call	hfs_bnode_findhash@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L24
	mov	rdi, rax
	call	atomic_read@PLT
	test	rax, rax
	jne	.L12
	mov	rdi, rbp
	call	hfs_bnode_unhash@PLT
	mov	rdi, rbp
	call	hfs_bnode_free@PLT
.L24:
	mov	rdi, r14
	call	spin_unlock@PLT
	mov	rax, QWORD PTR 88[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L25
	add	rsp, 104
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rdi, r13
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	jmp	try_to_free_buffers@PLT
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	sub	ecx, eax
	mov	rdi, r14
	mov	ebx, ecx
	sal	r15d, cl
	call	spin_lock@PLT
	mov	ecx, ebx
	mov	eax, 1
	sal	eax, cl
	lea	ebx, -1[r15+rax]
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L28:
	add	r15d, 1
	cmp	r15d, DWORD PTR 12[r12]
	jge	.L24
.L14:
	mov	esi, r15d
	mov	rdi, r12
	call	hfs_bnode_findhash@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L11
	mov	rdi, rax
	call	atomic_read@PLT
	test	rax, rax
	jne	.L12
	mov	rdi, rbp
	call	hfs_bnode_unhash@PLT
	mov	rdi, rbp
	call	hfs_bnode_free@PLT
.L11:
	cmp	ebx, r15d
	jne	.L28
	jmp	.L24
	.p2align 4,,10
	.p2align 3
.L27:
	mov	rdi, rsp
	call	HFSPLUS_SB@PLT
	mov	r12, QWORD PTR 16[rsp]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L3:
	lea	rdi, 64[rsp]
	call	HFSPLUS_SB@PLT
	mov	r12, QWORD PTR 64[rsp]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L12:
	mov	rdi, r14
	call	spin_unlock@PLT
	jmp	.L1
.L25:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	hfsplus_releasepage, .-hfsplus_releasepage
	.comm	PAGE_CACHE_SIZE,8,8
	.comm	PAGE_CACHE_SHIFT,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_inode.c_hfsplus_releasepage.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	hfsplus_releasepage, %function
hfsplus_releasepage:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldr	r3, [r0, #4]
	ldr	r2, .L29
	sub	sp, sp, #44
	ldr	r2, [r2]
	str	r2, [sp, #36]
	mov	r2,#0
	ldr	r2, [r3]
	mov	r7, r0
	ldr	r3, [r2]
	ldr	r1, [r2, #4]
	cmp	r3, #129
	beq	.L2
	cmp	r3, #130
	beq	.L3
	cmp	r3, #128
	beq	.L27
	bl	BUG
.L1:
	ldr	r3, .L29
	ldr	r2, [r3]
	ldr	r3, [sp, #36]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L25
	mov	r0, #0
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L2:
	add	r0, sp, #12
	bl	HFSPLUS_SB
	ldr	r6, [sp, #16]
.L5:
	cmp	r6, #0
	beq	.L1
	mov	r9, r6
	ldr	r3, .L29+4
	ldr	r1, [r9], #12
	ldr	r2, [r3]
	ldr	r3, .L29+8
	cmp	r1, r2
	ldr	r4, [r7]
	ldr	r1, [r3]
	ldr	r8, [r6, #4]
	blt	.L7
	sub	r8, r8, r1
	asr	r4, r4, r8
	mov	r0, r9
	bl	spin_lock
	mov	r1, r4
	mov	r0, r6
	bl	hfs_bnode_findhash
	subs	r4, r0, #0
	beq	.L24
	bl	atomic_read
	cmp	r0, #0
	bne	.L12
	mov	r0, r4
	bl	hfs_bnode_unhash
	mov	r0, r4
	bl	hfs_bnode_free
.L24:
	mov	r0, r9
	bl	spin_unlock
	ldr	r3, .L29
	ldr	r2, [r3]
	ldr	r3, [sp, #36]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L25
	mov	r0, r7
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, lr}
	b	try_to_free_buffers
.L7:
	mov	r0, r9
	sub	r8, r1, r8
	bl	spin_lock
	mov	r1, #1
	lsl	r4, r4, r8
	add	r8, r4, r1, lsl r8
	sub	r8, r8, #1
	b	.L14
.L28:
	ldr	r3, [r6, #8]
	add	r4, r4, #1
	cmp	r4, r3
	bge	.L24
.L14:
	mov	r1, r4
	mov	r0, r6
	bl	hfs_bnode_findhash
	subs	r5, r0, #0
	beq	.L11
	bl	atomic_read
	cmp	r0, #0
	bne	.L12
	mov	r0, r5
	bl	hfs_bnode_unhash
	mov	r0, r5
	bl	hfs_bnode_free
.L11:
	cmp	r8, r4
	bne	.L28
	b	.L24
.L27:
	mov	r0, sp
	bl	HFSPLUS_SB
	ldr	r6, [sp, #8]
	b	.L5
.L3:
	add	r0, sp, #24
	bl	HFSPLUS_SB
	ldr	r6, [sp, #24]
	b	.L5
.L12:
	mov	r0, r9
	bl	spin_unlock
	b	.L1
.L25:
	bl	__stack_chk_fail
.L30:
	.align	2
.L29:
	.word	.LC0
	.word	PAGE_CACHE_SIZE
	.word	PAGE_CACHE_SHIFT
	.size	hfsplus_releasepage, .-hfsplus_releasepage
	.comm	PAGE_CACHE_SIZE,4,4
	.comm	PAGE_CACHE_SHIFT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
