	.file	"extr_sd-netlink.c_netlink_free.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	netlink_free, @function
netlink_free:
.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
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	assert@PLT
	mov	edx, DWORD PTR 0[rbp]
	test	edx, edx
	je	.L2
	xor	r12d, r12d
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rax, QWORD PTR 72[rbp]
	mov	edx, r12d
	add	r12d, 1
	mov	edi, DWORD PTR [rax+rdx*4]
	call	sd_netlink_message_unref@PLT
	cmp	DWORD PTR 0[rbp], r12d
	ja	.L3
.L2:
	mov	rdi, QWORD PTR 72[rbp]
	call	free@PLT
	mov	eax, DWORD PTR 4[rbp]
	test	eax, eax
	je	.L4
	xor	r12d, r12d
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rax, QWORD PTR 64[rbp]
	mov	edx, r12d
	add	r12d, 1
	mov	edi, DWORD PTR [rax+rdx*4]
	call	sd_netlink_message_unref@PLT
	cmp	DWORD PTR 4[rbp], r12d
	ja	.L5
.L4:
	mov	rdi, QWORD PTR 64[rbp]
	call	free@PLT
	mov	rdi, QWORD PTR 56[rbp]
	call	free@PLT
	mov	r12, QWORD PTR 48[rbp]
	test	r12, r12
	je	.L6
	.p2align 4,,10
	.p2align 3
.L7:
	mov	rdi, QWORD PTR [r12]
	call	assert@PLT
	mov	rdi, r12
	mov	esi, 1
	call	netlink_slot_disconnect@PLT
	mov	r12, QWORD PTR 48[rbp]
	test	r12, r12
	jne	.L7
.L6:
	mov	edi, DWORD PTR 40[rbp]
	call	hashmap_free@PLT
	mov	edi, DWORD PTR 36[rbp]
	call	prioq_free@PLT
	mov	edi, DWORD PTR 32[rbp]
	call	sd_event_source_unref@PLT
	mov	edi, DWORD PTR 28[rbp]
	call	sd_event_source_unref@PLT
	mov	edi, DWORD PTR 24[rbp]
	call	sd_event_unref@PLT
	mov	edi, DWORD PTR 20[rbp]
	call	hashmap_free@PLT
	mov	edi, DWORD PTR 16[rbp]
	call	hashmap_free@PLT
	mov	edi, DWORD PTR 12[rbp]
	call	hashmap_free@PLT
	mov	edi, DWORD PTR 8[rbp]
	call	safe_close@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	mfree@PLT
	.cfi_endproc
.LFE0:
	.size	netlink_free, .-netlink_free
	.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_sd-netlink.c_netlink_free.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	netlink_free, %function
netlink_free:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	bl	assert
	ldr	r3, [r4]
	cmp	r3, #0
	beq	.L2
	mov	r5, #0
.L3:
	ldr	r3, [r4, #56]
	ldr	r0, [r3, r5, lsl #2]
	bl	sd_netlink_message_unref
	ldr	r3, [r4]
	add	r5, r5, #1
	cmp	r3, r5
	bhi	.L3
.L2:
	ldr	r0, [r4, #56]
	bl	free
	ldr	r3, [r4, #4]
	cmp	r3, #0
	beq	.L4
	mov	r5, #0
.L5:
	ldr	r3, [r4, #52]
	ldr	r0, [r3, r5, lsl #2]
	bl	sd_netlink_message_unref
	ldr	r3, [r4, #4]
	add	r5, r5, #1
	cmp	r3, r5
	bhi	.L5
.L4:
	ldr	r0, [r4, #52]
	bl	free
	ldr	r0, [r4, #48]
	bl	free
	ldr	r5, [r4, #44]
	cmp	r5, #0
	beq	.L6
.L7:
	ldr	r0, [r5]
	bl	assert
	mov	r0, r5
	mov	r1, #1
	bl	netlink_slot_disconnect
	ldr	r5, [r4, #44]
	cmp	r5, #0
	bne	.L7
.L6:
	ldr	r0, [r4, #40]
	bl	hashmap_free
	ldr	r0, [r4, #36]
	bl	prioq_free
	ldr	r0, [r4, #32]
	bl	sd_event_source_unref
	ldr	r0, [r4, #28]
	bl	sd_event_source_unref
	ldr	r0, [r4, #24]
	bl	sd_event_unref
	ldr	r0, [r4, #20]
	bl	hashmap_free
	ldr	r0, [r4, #16]
	bl	hashmap_free
	ldr	r0, [r4, #12]
	bl	hashmap_free
	ldr	r0, [r4, #8]
	bl	safe_close
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	mfree
	.size	netlink_free, .-netlink_free
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
