	.file	"extr_free.c_kadm5_free_key_data.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	kadm5_free_key_data
	.type	kadm5_free_key_data, @function
kadm5_free_key_data:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	xor	ebp, ebp
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	eax, DWORD PTR [rsi]
	mov	rbx, rdx
	test	eax, eax
	jg	.L5
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rdi, QWORD PTR 8[rax]
	test	rdi, rdi
	jne	.L19
.L4:
	add	ebp, 1
	add	rbx, 16
	cmp	DWORD PTR [r12], ebp
	jle	.L6
.L5:
	mov	rax, QWORD PTR [rbx]
	mov	rdi, QWORD PTR [rax]
	test	rdi, rdi
	je	.L3
	mov	rax, QWORD PTR 8[rbx]
	xor	esi, esi
	mov	edx, DWORD PTR [rax]
	call	memset@PLT
	mov	rax, QWORD PTR [rbx]
	mov	rdi, QWORD PTR [rax]
	call	free@PLT
	mov	rax, QWORD PTR [rbx]
	mov	rdi, QWORD PTR 8[rax]
	test	rdi, rdi
	je	.L4
.L19:
	call	free@PLT
	add	ebp, 1
	add	rbx, 16
	cmp	DWORD PTR [r12], ebp
	jg	.L5
.L6:
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	mov	DWORD PTR [r12], 0
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	kadm5_free_key_data, .-kadm5_free_key_data
	.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_free.c_kadm5_free_key_data.c"
	.text
	.align	2
	.global	kadm5_free_key_data
	.syntax unified
	.arm
	.fpu softvfp
	.type	kadm5_free_key_data, %function
kadm5_free_key_data:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r1]
	push	{r4, r5, r6, r7, r8, lr}
	cmp	r3, #0
	movgt	r5, r2
	mov	r6, r1
	movgt	r4, #0
	addgt	r7, r5, #4
	bgt	.L2
	b	.L5
.L3:
	ldr	r0, [r3, #4]
	add	r4, r4, #1
	cmp	r0, #0
	bne	.L17
.L4:
	ldr	r3, [r6]
	cmp	r3, r4
	ble	.L5
.L2:
	ldr	r3, [r5, r4, lsl #3]
	ldr	r0, [r3]
	cmp	r0, #0
	beq	.L3
	ldr	r3, [r7, r4, lsl #3]
	mov	r1, #0
	ldr	r2, [r3]
	bl	memset
	ldr	r3, [r5, r4, lsl #3]
	ldr	r0, [r3]
	bl	free
	ldr	r3, [r5, r4, lsl #3]
	add	r4, r4, #1
	ldr	r0, [r3, #4]
	cmp	r0, #0
	beq	.L4
.L17:
	bl	free
	ldr	r3, [r6]
	cmp	r3, r4
	bgt	.L2
.L5:
	mov	r3, #0
	str	r3, [r6]
	pop	{r4, r5, r6, r7, r8, pc}
	.size	kadm5_free_key_data, .-kadm5_free_key_data
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
