	.file	"extr_swapfile.c_swap_page_trans_huge_swapped.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	swap_page_trans_huge_swapped, @function
swap_page_trans_huge_swapped:
.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
	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
	mov	edi, esi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	r14, QWORD PTR 0[rbp]
	call	swp_offset@PLT
	mov	esi, DWORD PTR SWAPFILE_CLUSTER[rip]
	mov	rdi, rax
	mov	rbx, rax
	call	round_down@PLT
	mov	rdi, rbp
	mov	rsi, rax
	mov	r13, rax
	call	lock_cluster_or_swap_info@PLT
	mov	r12, rax
	test	rax, rax
	je	.L2
	mov	rdi, rax
	call	cluster_is_huge@PLT
	test	eax, eax
	je	.L2
	mov	eax, DWORD PTR SWAPFILE_CLUSTER[rip]
	xor	ebx, ebx
	add	r13, r14
	test	eax, eax
	jg	.L3
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L18:
	add	rbx, 1
	cmp	DWORD PTR SWAPFILE_CLUSTER[rip], ebx
	jle	.L4
.L3:
	movzx	edi, BYTE PTR 0[r13+rbx]
	call	swap_count@PLT
	test	rax, rax
	je	.L18
	mov	r13d, 1
.L5:
	mov	rsi, r12
	mov	rdi, rbp
	call	unlock_cluster_or_swap_info@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r13d
	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
.L2:
	.cfi_restore_state
	movzx	edi, BYTE PTR [r14+rbx]
	xor	r13d, r13d
	call	swap_count@PLT
	test	rax, rax
	setne	r13b
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L4:
	xor	r13d, r13d
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	swap_page_trans_huge_swapped, .-swap_page_trans_huge_swapped
	.comm	SWAPFILE_CLUSTER,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_swapfile.c_swap_page_trans_huge_swapped.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	swap_page_trans_huge_swapped, %function
swap_page_trans_huge_swapped:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r7, r0
	mov	r0, r1
	ldr	r4, [r7]
	bl	swp_offset
	ldr	r6, .L18
	mov	r9, r0
	ldr	r1, [r6]
	bl	round_down
	mov	r5, r0
	mov	r0, r7
	mov	r1, r5
	bl	lock_cluster_or_swap_info
	subs	r8, r0, #0
	beq	.L2
	bl	cluster_is_huge
	cmp	r0, #0
	beq	.L2
	ldr	r3, [r6]
	cmp	r3, #0
	addgt	r5, r4, r5
	movgt	r4, r5
	bgt	.L6
	b	.L4
.L17:
	ldr	r2, [r6]
	cmp	r2, r3
	ble	.L4
.L6:
	ldrb	r0, [r4], #1	@ zero_extendqisi2
	bl	swap_count
	cmp	r0, #0
	sub	r3, r4, r5
	beq	.L17
	mov	r4, #1
.L5:
	mov	r1, r8
	mov	r0, r7
	bl	unlock_cluster_or_swap_info
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L2:
	ldrb	r0, [r4, r9]	@ zero_extendqisi2
	bl	swap_count
	subs	r4, r0, #0
	movne	r4, #1
	b	.L5
.L4:
	mov	r4, #0
	b	.L5
.L19:
	.align	2
.L18:
	.word	SWAPFILE_CLUSTER
	.size	swap_page_trans_huge_swapped, .-swap_page_trans_huge_swapped
	.comm	SWAPFILE_CLUSTER,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
