	.file	"extr_output.c_output_destroy.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Tried to free output which wasn't marked as destroying"
	.align 8
.LC1:
	.string	"Tried to free output which still had a wlr_output"
	.align 8
.LC2:
	.string	"Tried to free output which is still referenced by transactions"
	.text
	.p2align 4
	.globl	output_destroy
	.type	output_destroy, @function
output_destroy:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	mov	edi, DWORD PTR 8[rdi]
	lea	rsi, .LC0[rip]
	call	sway_assert@PLT
	test	eax, eax
	jne	.L13
.L1:
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	xor	edi, edi
	cmp	QWORD PTR 24[rbp], 0
	lea	rsi, .LC1[rip]
	sete	dil
	call	sway_assert@PLT
	test	eax, eax
	je	.L1
	xor	edi, edi
	cmp	QWORD PTR 16[rbp], 0
	lea	rsi, .LC2[rip]
	sete	dil
	call	sway_assert@PLT
	test	eax, eax
	je	.L1
	mov	edi, DWORD PTR 4[rbp]
	call	list_free@PLT
	mov	edi, DWORD PTR 0[rbp]
	call	list_free@PLT
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	free@PLT
	.cfi_endproc
.LFE0:
	.size	output_destroy, .-output_destroy
	.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_output.c_output_destroy.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Tried to free output which wasn't marked as destroy"
	.ascii	"ing\000"
	.align	2
.LC1:
	.ascii	"Tried to free output which still had a wlr_output\000"
	.align	2
.LC2:
	.ascii	"Tried to free output which is still referenced by t"
	.ascii	"ransactions\000"
	.text
	.align	2
	.global	output_destroy
	.syntax unified
	.arm
	.fpu softvfp
	.type	output_destroy, %function
output_destroy:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	ldr	r1, .L13
	mov	r4, r0
	ldr	r0, [r0, #8]
	bl	sway_assert
	cmp	r0, #0
	popeq	{r4, pc}
	ldr	r0, [r4, #16]
	ldr	r1, .L13+4
	clz	r0, r0
	lsr	r0, r0, #5
	bl	sway_assert
	cmp	r0, #0
	popeq	{r4, pc}
	ldr	r0, [r4, #12]
	ldr	r1, .L13+8
	clz	r0, r0
	lsr	r0, r0, #5
	bl	sway_assert
	cmp	r0, #0
	popeq	{r4, pc}
	ldr	r0, [r4, #4]
	bl	list_free
	ldr	r0, [r4]
	bl	list_free
	mov	r0, r4
	pop	{r4, lr}
	b	free
.L14:
	.align	2
.L13:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	output_destroy, .-output_destroy
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
