	.file	"extr_stage.c_stage_diff_write.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"\n"
	.text
	.p2align 4
	.type	stage_diff_write, @function
stage_diff_write:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	lea	r14, .LC0[rip]
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rsi
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rdi, rbx
	call	box_text@PLT
	mov	rdi, rax
	mov	rbp, rax
	call	strlen@PLT
	mov	rsi, rbp
	mov	rdi, r13
	mov	edx, eax
	call	io_write@PLT
	test	eax, eax
	je	.L5
	mov	edx, 1
	mov	rsi, r14
	mov	rdi, r13
	call	io_write@PLT
	test	eax, eax
	je	.L5
	add	rbx, 4
	mov	rsi, r12
	mov	rdi, rbx
	call	stage_diff_done@PLT
	test	rax, rax
	jne	.L7
.L2:
	cmp	rbx, r12
	jb	.L6
.L7:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, 1
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	pop	rbx
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	stage_diff_write, .-stage_diff_write
	.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_stage.c_stage_diff_write.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	stage_diff_write, %function
stage_diff_write:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r7, r0
	mov	r4, r1
	mov	r6, r2
	ldr	r8, .L15
	b	.L2
.L6:
	mov	r0, r4
	bl	box_text
	mov	r5, r0
	bl	strlen
	mov	r1, r5
	mov	r2, r0
	mov	r0, r7
	bl	io_write
	cmp	r0, #0
	add	r4, r4, #4
	beq	.L5
	mov	r2, #1
	mov	r1, r8
	mov	r0, r7
	bl	io_write
	cmp	r0, #0
	beq	.L5
	mov	r1, r6
	mov	r0, r4
	bl	stage_diff_done
	cmp	r0, #0
	bne	.L7
.L2:
	cmp	r4, r6
	bcc	.L6
.L7:
	mov	r0, #1
	pop	{r4, r5, r6, r7, r8, pc}
.L5:
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L16:
	.align	2
.L15:
	.word	.LC0
	.size	stage_diff_write, .-stage_diff_write
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
