	.file	"extr_tray.c_destroy_tray.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	destroy_tray
	.type	destroy_tray, @function
destroy_tray:
.LFB0:
	.cfi_startproc
	endbr64
	test	rdi, rdi
	je	.L1
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	lea	rdi, 36[rdi]
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	finish_host@PLT
	lea	rdi, 32[rbp]
	call	finish_host@PLT
	mov	rdi, QWORD PTR 24[rbp]
	mov	eax, DWORD PTR [rdi]
	test	eax, eax
	jle	.L3
	xor	ebx, ebx
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rax, QWORD PTR 8[rdi]
	mov	edi, DWORD PTR [rax+rbx*4]
	add	rbx, 1
	call	destroy_sni@PLT
	mov	rdi, QWORD PTR 24[rbp]
	cmp	DWORD PTR [rdi], ebx
	jg	.L4
.L3:
	call	list_free@PLT
	mov	edi, DWORD PTR 16[rbp]
	call	destroy_watcher@PLT
	mov	edi, DWORD PTR 12[rbp]
	call	destroy_watcher@PLT
	mov	edi, DWORD PTR 8[rbp]
	call	sd_bus_flush_close_unref@PLT
	mov	edi, DWORD PTR 4[rbp]
	mov	esi, DWORD PTR 0[rbp]
	call	finish_themes@PLT
	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	destroy_tray, .-destroy_tray
	.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_tray.c_destroy_tray.c"
	.text
	.align	2
	.global	destroy_tray
	.syntax unified
	.arm
	.fpu softvfp
	.type	destroy_tray, %function
destroy_tray:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	subs	r5, r0, #0
	popeq	{r4, r5, r6, pc}
	add	r0, r5, #28
	bl	finish_host
	add	r0, r5, #24
	bl	finish_host
	ldr	r0, [r5, #20]
	ldr	r3, [r0]
	cmp	r3, #0
	ble	.L3
	mov	r4, #0
.L4:
	ldr	r3, [r0, #4]
	ldr	r0, [r3, r4, lsl #2]
	bl	destroy_sni
	ldr	r0, [r5, #20]
	add	r4, r4, #1
	ldr	r3, [r0]
	cmp	r3, r4
	bgt	.L4
.L3:
	bl	list_free
	ldr	r0, [r5, #16]
	bl	destroy_watcher
	ldr	r0, [r5, #12]
	bl	destroy_watcher
	ldr	r0, [r5, #8]
	bl	sd_bus_flush_close_unref
	ldr	r1, [r5]
	ldr	r0, [r5, #4]
	bl	finish_themes
	mov	r0, r5
	pop	{r4, r5, r6, lr}
	b	free
	.size	destroy_tray, .-destroy_tray
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
