	.file	"extr_frontend.c_agp_remove_all_clients.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	agp_remove_all_clients, @function
agp_remove_all_clients:
.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
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rbp, QWORD PTR [rdi]
	test	rbp, rbp
	jne	.L4
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rbp, r12
.L4:
	mov	rdi, rbp
	call	agp_remove_seg_from_client@PLT
	mov	edi, DWORD PTR 8[rbp]
	call	agp_find_private@PLT
	mov	r12, rax
	test	rax, rax
	je	.L3
	mov	edi, DWORD PTR AGP_FF_IS_VALID[rip]
	mov	rsi, rax
	call	clear_bit@PLT
	mov	edi, DWORD PTR AGP_FF_IS_CLIENT[rip]
	mov	rsi, r12
	call	clear_bit@PLT
.L3:
	mov	r12, QWORD PTR 0[rbp]
	mov	rdi, rbp
	call	kfree@PLT
	test	r12, r12
	jne	.L5
.L1:
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	agp_remove_all_clients, .-agp_remove_all_clients
	.comm	AGP_FF_IS_VALID,4,4
	.comm	AGP_FF_IS_CLIENT,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_frontend.c_agp_remove_all_clients.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	agp_remove_all_clients, %function
agp_remove_all_clients:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r4, [r0]
	cmp	r4, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	ldr	r7, .L14
	ldr	r6, .L14+4
.L4:
	mov	r0, r4
	bl	agp_remove_seg_from_client
	ldr	r0, [r4, #4]
	bl	agp_find_private
	subs	r5, r0, #0
	beq	.L3
	mov	r1, r5
	ldr	r0, [r7]
	bl	clear_bit
	mov	r1, r5
	ldr	r0, [r6]
	bl	clear_bit
.L3:
	ldr	r5, [r4]
	mov	r0, r4
	bl	kfree
	cmp	r5, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	mov	r4, r5
	b	.L4
.L15:
	.align	2
.L14:
	.word	AGP_FF_IS_VALID
	.word	AGP_FF_IS_CLIENT
	.size	agp_remove_all_clients, .-agp_remove_all_clients
	.comm	AGP_FF_IS_VALID,4,4
	.comm	AGP_FF_IS_CLIENT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
