	.file	"extr_kxld.c_kxld_destroy_context.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	kxld_destroy_context
	.type	kxld_destroy_context, @function
kxld_destroy_context:
.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
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	xor	ebx, ebx
	lea	r12, 32[rbp]
	call	check@PLT
	mov	rdi, QWORD PTR 0[rbp]
	call	kxld_kext_deinit@PLT
	cmp	QWORD PTR 32[rbp], 0
	jle	.L5
	.p2align 4,,10
	.p2align 3
.L2:
	mov	rsi, rbx
	mov	rdi, r12
	add	rbx, 1
	call	kxld_array_get_slot@PLT
	mov	rdi, rax
	call	kxld_object_deinit@PLT
	cmp	QWORD PTR 32[rbp], rbx
	jg	.L2
.L5:
	mov	rdi, r12
	xor	ebx, ebx
	lea	r12, 24[rbp]
	call	kxld_array_deinit@PLT
	cmp	QWORD PTR 24[rbp], 0
	jle	.L4
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rsi, rbx
	mov	rdi, r12
	add	rbx, 1
	call	kxld_array_get_slot@PLT
	mov	rdi, rax
	call	kxld_kext_deinit@PLT
	cmp	QWORD PTR 24[rbp], rbx
	jg	.L3
.L4:
	mov	rdi, r12
	call	kxld_array_deinit@PLT
	lea	rdi, 20[rbp]
	call	kxld_dict_deinit@PLT
	lea	rdi, 16[rbp]
	call	kxld_dict_deinit@PLT
	lea	rdi, 12[rbp]
	call	kxld_dict_deinit@PLT
	lea	rdi, 8[rbp]
	call	kxld_dict_deinit@PLT
	xor	eax, eax
	call	kxld_kext_sizeof@PLT
	mov	rdi, QWORD PTR 0[rbp]
	mov	esi, eax
	call	kxld_free@PLT
	mov	rdi, rbp
	mov	esi, 40
	call	kxld_free@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
	jmp	kxld_print_memory_report@PLT
	.cfi_endproc
.LFE0:
	.size	kxld_destroy_context, .-kxld_destroy_context
	.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_kxld.c_kxld_destroy_context.c"
	.text
	.align	2
	.global	kxld_destroy_context
	.syntax unified
	.arm
	.fpu softvfp
	.type	kxld_destroy_context, %function
kxld_destroy_context:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r6, r0
	mov	r5, r0
	bl	check
	ldr	r0, [r6], #24
	bl	kxld_kext_deinit
	ldr	r3, [r5, #24]
	cmp	r3, #0
	movgt	r4, #0
	ble	.L5
.L2:
	mov	r1, r4
	mov	r0, r6
	bl	kxld_array_get_slot
	bl	kxld_object_deinit
	ldr	r3, [r5, #24]
	add	r4, r4, #1
	cmp	r3, r4
	bgt	.L2
.L5:
	mov	r0, r6
	bl	kxld_array_deinit
	ldr	r3, [r5, #20]
	add	r6, r5, #20
	cmp	r3, #0
	movgt	r4, #0
	ble	.L4
.L3:
	mov	r1, r4
	mov	r0, r6
	bl	kxld_array_get_slot
	bl	kxld_kext_deinit
	ldr	r3, [r5, #20]
	add	r4, r4, #1
	cmp	r3, r4
	bgt	.L3
.L4:
	mov	r0, r6
	bl	kxld_array_deinit
	add	r0, r5, #16
	bl	kxld_dict_deinit
	add	r0, r5, #12
	bl	kxld_dict_deinit
	add	r0, r5, #8
	bl	kxld_dict_deinit
	add	r0, r5, #4
	bl	kxld_dict_deinit
	ldr	r4, [r5]
	bl	kxld_kext_sizeof
	mov	r1, r0
	mov	r0, r4
	bl	kxld_free
	mov	r0, r5
	mov	r1, #28
	bl	kxld_free
	pop	{r4, r5, r6, lr}
	b	kxld_print_memory_report
	.size	kxld_destroy_context, .-kxld_destroy_context
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
