	.file	"extr_libxo.c_xo_write.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	""
	.text
	.p2align 4
	.type	xo_write, @function
xo_write:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	xor	r12d, r12d
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rax, QWORD PTR 24[rdi]
	cmp	QWORD PTR 16[rdi], rax
	jne	.L9
.L2:
	mov	esi, DWORD PTR XOIF_UNITS_PENDING[rip]
	mov	rdi, rbp
	call	XOIF_CLEAR@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	lea	rdi, 16[rdi]
	mov	edx, 1
	lea	rsi, .LC0[rip]
	call	xo_buf_append@PLT
	mov	rdi, rbp
	call	xo_anchor_clear@PLT
	mov	rax, QWORD PTR 8[rbp]
	test	rax, rax
	je	.L3
	mov	rsi, QWORD PTR 24[rbp]
	mov	edi, DWORD PTR 0[rbp]
	call	rax
	mov	r12d, eax
.L3:
	mov	rax, QWORD PTR 24[rbp]
	mov	QWORD PTR 16[rbp], rax
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	xo_write, .-xo_write
	.comm	XOIF_UNITS_PENDING,4,4
	.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_libxo.c_xo_write.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	xo_write, %function
xo_write:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, [r0, #8]
	ldr	r3, [r0, #12]
	push	{r4, r5, r6, lr}
	cmp	r2, r3
	mov	r4, r0
	moveq	r5, #0
	bne	.L8
.L2:
	ldr	r3, .L9
	mov	r0, r4
	ldr	r1, [r3]
	bl	XOIF_CLEAR
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L8:
	mov	r2, #1
	ldr	r1, .L9+4
	add	r0, r0, #8
	bl	xo_buf_append
	mov	r0, r4
	bl	xo_anchor_clear
	ldr	r5, [r4, #4]
	cmp	r5, #0
	beq	.L3
	ldr	r1, [r4, #12]
	ldr	r0, [r4]
	blx	r5
	mov	r5, r0
.L3:
	ldr	r3, [r4, #12]
	str	r3, [r4, #8]
	b	.L2
.L10:
	.align	2
.L9:
	.word	XOIF_UNITS_PENDING
	.word	.LC0
	.size	xo_write, .-xo_write
	.comm	XOIF_UNITS_PENDING,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
