	.file	"extr_getrrsetbyname.c_freerrset.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	freerrset
	.type	freerrset, @function
freerrset:
.LFB0:
	.cfi_startproc
	endbr64
	test	rdi, rdi
	je	.L1
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	r8, QWORD PTR 40[rdi]
	test	r8, r8
	je	.L3
	cmp	QWORD PTR [rdi], 0
	je	.L4
	xor	ebx, ebx
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L31:
	call	free@PLT
	add	rbx, 1
	cmp	QWORD PTR 0[rbp], rbx
	mov	r8, QWORD PTR 40[rbp]
	jbe	.L4
.L6:
	lea	rax, [rbx+rbx*2]
	sal	rax, 4
	mov	rdi, QWORD PTR 32[r8+rax]
	test	rdi, rdi
	jne	.L31
.L4:
	mov	rdi, r8
	call	free@PLT
.L3:
	mov	r8, QWORD PTR 24[rbp]
	test	r8, r8
	je	.L7
	cmp	QWORD PTR 8[rbp], 0
	je	.L8
	xor	ebx, ebx
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L32:
	call	free@PLT
	add	rbx, 1
	cmp	QWORD PTR 8[rbp], rbx
	mov	r8, QWORD PTR 24[rbp]
	jbe	.L8
.L10:
	lea	rax, [rbx+rbx*2]
	sal	rax, 4
	mov	rdi, QWORD PTR 32[r8+rax]
	test	rdi, rdi
	jne	.L32
.L8:
	mov	rdi, r8
	call	free@PLT
.L7:
	mov	rdi, QWORD PTR 16[rbp]
	test	rdi, rdi
	je	.L11
	call	free@PLT
.L11:
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbx
	.cfi_restore 3
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_restore 6
	.cfi_def_cfa_offset 8
	jmp	free@PLT
	.p2align 4,,10
	.p2align 3
.L1:
	ret
	.cfi_endproc
.LFE0:
	.size	freerrset, .-freerrset
	.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_getrrsetbyname.c_freerrset.c"
	.text
	.align	2
	.global	freerrset
	.syntax unified
	.arm
	.fpu softvfp
	.type	freerrset, %function
freerrset:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	subs	r4, r0, #0
	popeq	{r4, r5, r6, pc}
	ldr	r2, [r4, #20]
	cmp	r2, #0
	beq	.L3
	ldr	r3, [r4]
	cmp	r3, #0
	beq	.L4
	mov	r5, #0
	b	.L6
.L35:
	bl	free
	ldr	r3, [r4]
	ldr	r2, [r4, #20]
	cmp	r3, r5
	bls	.L4
.L6:
	add	r3, r5, r5, lsl #1
	add	r3, r2, r3, lsl #3
	ldr	r0, [r3, #16]
	add	r5, r5, #1
	cmp	r0, #0
	bne	.L35
.L4:
	mov	r0, r2
	bl	free
.L3:
	ldr	r2, [r4, #12]
	cmp	r2, #0
	beq	.L7
	ldr	r3, [r4, #4]
	cmp	r3, #0
	beq	.L8
	mov	r5, #0
	b	.L10
.L36:
	bl	free
	ldr	r3, [r4, #4]
	ldr	r2, [r4, #12]
	cmp	r3, r5
	bls	.L8
.L10:
	add	r3, r5, r5, lsl #1
	add	r3, r2, r3, lsl #3
	ldr	r0, [r3, #16]
	add	r5, r5, #1
	cmp	r0, #0
	bne	.L36
.L8:
	mov	r0, r2
	bl	free
.L7:
	ldr	r0, [r4, #8]
	cmp	r0, #0
	beq	.L11
	bl	free
.L11:
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	free
	.size	freerrset, .-freerrset
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
