	.file	"extr_ipz_pt_fn.c_ipz_queue_dtor.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"queue or queue_pages is NULL"
	.text
	.p2align 4
	.globl	ipz_queue_dtor
	.type	ipz_queue_dtor, @function
ipz_queue_dtor:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	test	rsi, rsi
	je	.L2
	mov	r8, rdi
	mov	rdi, QWORD PTR 8[rsi]
	mov	rbp, rsi
	test	rdi, rdi
	je	.L2
	cmp	QWORD PTR 16[rsi], 0
	jne	.L15
	mov	eax, DWORD PTR [rsi]
	cdq
	idiv	DWORD PTR 4[rsi]
	mov	r12d, eax
	test	eax, eax
	jle	.L6
	xor	ebx, ebx
	.p2align 4,,10
	.p2align 3
.L8:
	movsx	rcx, ebx
	mov	rdi, QWORD PTR [rdi+rcx*8]
	call	free_page@PLT
	add	ebx, DWORD PTR PAGES_PER_KPAGE[rip]
	mov	rdi, QWORD PTR 8[rbp]
	cmp	r12d, ebx
	jg	.L8
.L6:
	call	is_vmalloc_addr@PLT
	mov	rdi, QWORD PTR 8[rbp]
	test	rax, rax
	je	.L9
.L16:
	call	vfree@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, 1
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	mov	rsi, r8
	mov	rdi, rbp
	call	free_small_queue_page@PLT
	mov	rdi, QWORD PTR 8[rbp]
	call	is_vmalloc_addr@PLT
	mov	rdi, QWORD PTR 8[rbp]
	test	rax, rax
	jne	.L16
.L9:
	call	kfree@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, 1
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	lea	rdi, .LC0[rip]
	call	ehca_gen_dbg@PLT
	pop	rbx
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	ipz_queue_dtor, .-ipz_queue_dtor
	.comm	PAGES_PER_KPAGE,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_ipz_pt_fn.c_ipz_queue_dtor.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"queue or queue_pages is NULL\000"
	.global	__aeabi_idiv
	.text
	.align	2
	.global	ipz_queue_dtor
	.syntax unified
	.arm
	.fpu softvfp
	.type	ipz_queue_dtor, %function
ipz_queue_dtor:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	subs	r5, r1, #0
	beq	.L2
	ldr	r6, [r5, #8]
	cmp	r6, #0
	beq	.L2
	ldr	r4, [r5, #12]
	cmp	r4, #0
	bne	.L15
	ldm	r5, {r0, r1}
	bl	__aeabi_idiv
	subs	r7, r0, #0
	ble	.L6
	ldr	r8, .L16
.L8:
	ldr	r0, [r6, r4, lsl #2]
	bl	free_page
	ldr	r3, [r8]
	ldr	r6, [r5, #8]
	add	r4, r4, r3
	cmp	r7, r4
	bgt	.L8
.L6:
	mov	r0, r6
	bl	is_vmalloc_addr
	cmp	r0, #0
	ldr	r0, [r5, #8]
	beq	.L9
	bl	vfree
	mov	r0, #1
	pop	{r4, r5, r6, r7, r8, pc}
.L15:
	mov	r1, r0
	mov	r0, r5
	bl	free_small_queue_page
	ldr	r6, [r5, #8]
	b	.L6
.L9:
	bl	kfree
	mov	r0, #1
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	ldr	r0, .L16+4
	bl	ehca_gen_dbg
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L17:
	.align	2
.L16:
	.word	PAGES_PER_KPAGE
	.word	.LC0
	.size	ipz_queue_dtor, .-ipz_queue_dtor
	.comm	PAGES_PER_KPAGE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
