	.file	"extr_pt_block_decoder.c_pt_blk_next.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	pt_blk_next
	.type	pt_blk_next, @function
pt_blk_next:
.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
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	sub	rsp, 32
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	test	rdi, rdi
	je	.L9
	mov	r14, rsi
	test	rsi, rsi
	je	.L9
	cmp	rdx, 12
	lea	r12, 12[rsp]
	mov	rbp, rdi
	mov	r15, rdx
	cmove	r12, rsi
	mov	edx, 12
	xor	esi, esi
	mov	rdi, r12
	call	memset@PLT
	mov	eax, DWORD PTR 12[rbp]
	cmp	QWORD PTR 0[rbp], 0
	mov	DWORD PTR 8[r12], eax
	mov	eax, DWORD PTR 8[rbp]
	mov	DWORD PTR 4[r12], eax
	jne	.L12
.L6:
	mov	rsi, r12
	mov	rdi, rbp
	call	pt_blk_proceed@PLT
	mov	rdx, r12
	mov	rsi, r15
	mov	rdi, r14
	mov	r13d, eax
	call	block_to_user@PLT
	test	eax, eax
	cmovs	r13d, eax
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L13
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	mov	eax, r13d
	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
.L12:
	.cfi_restore_state
	mov	DWORD PTR [r12], 1
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L9:
	mov	r13d, DWORD PTR pte_invalid[rip]
	neg	r13d
	jmp	.L1
.L13:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	pt_blk_next, .-pt_blk_next
	.comm	pte_invalid,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_pt_block_decoder.c_pt_blk_next.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	pt_blk_next
	.syntax unified
	.arm
	.fpu softvfp
	.type	pt_blk_next, %function
pt_blk_next:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r1, #0
	cmpne	r0, #0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, .L15
	sub	sp, sp, #20
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	beq	.L13
	cmp	r2, #12
	moveq	r6, r1
	movne	r6, sp
	mov	r4, r0
	mov	r7, r1
	mov	r5, r2
	mov	r1, #0
	mov	r2, #12
	mov	r0, r6
	bl	memset
	ldr	r1, [r4]
	ldr	r3, [r4, #4]
	cmp	r1, #0
	ldr	r2, [r4, #8]
	str	r3, [r6, #4]
	movne	r3, #1
	mov	r0, r4
	strne	r3, [r6]
	mov	r1, r6
	str	r2, [r6, #8]
	bl	pt_blk_proceed
	mov	r2, r6
	mov	r4, r0
	mov	r1, r5
	mov	r0, r7
	bl	block_to_user
	cmp	r0, #0
	movlt	r4, r0
.L1:
	ldr	r3, .L15
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L14
	mov	r0, r4
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L13:
	ldr	r3, .L15+4
	ldr	r4, [r3]
	rsb	r4, r4, #0
	b	.L1
.L14:
	bl	__stack_chk_fail
.L16:
	.align	2
.L15:
	.word	.LC0
	.word	pte_invalid
	.size	pt_blk_next, .-pt_blk_next
	.comm	pte_invalid,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
