	.file	"extr_fixwhite.c_printwhite.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"write"
	.text
	.p2align 4
	.type	printwhite, @function
printwhite:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	eax, DWORD PTR column[rip]
	test	al, 7
	jne	.L15
	xor	ebx, ebx
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L6:
	lea	ebp, 1[rbx]
	mov	esi, 32
	mov	edi, ebp
	call	peekbyte@PLT
	test	eax, eax
	mov	eax, DWORD PTR column[rip]
	je	.L5
	mov	ebx, ebp
.L2:
	cmp	ebx, eax
	jl	.L6
.L5:
	mov	rdx, QWORD PTR queuelen[rip]
	cmp	ebx, eax
	je	.L16
.L7:
	mov	ecx, DWORD PTR stdout[rip]
	mov	rdi, QWORD PTR queue[rip]
	mov	esi, 1
	call	fwrite@PLT
	cmp	rax, QWORD PTR queuelen[rip]
	je	.L10
	lea	rdi, .LC0[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L10:
	mov	QWORD PTR queuelen[rip], 0
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	mov	rdx, QWORD PTR queuelen[rip]
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L16:
	movsx	rax, ebx
	sub	rdx, rax
	mov	QWORD PTR queuelen[rip], rdx
	test	ebx, ebx
	jle	.L7
	xor	eax, eax
	.p2align 4,,10
	.p2align 3
.L9:
	lea	rcx, 1[rdx]
	add	eax, 8
	mov	QWORD PTR queuelen[rip], rcx
	mov	rcx, QWORD PTR queue[rip]
	mov	BYTE PTR [rcx+rdx], 9
	cmp	DWORD PTR column[rip], eax
	mov	rdx, QWORD PTR queuelen[rip]
	jg	.L9
	jmp	.L7
	.cfi_endproc
.LFE0:
	.size	printwhite, .-printwhite
	.comm	stdout,4,4
	.comm	queuelen,8,8
	.comm	queue,8,8
	.comm	column,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_fixwhite.c_printwhite.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"write\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	printwhite, %function
printwhite:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r6, .L21
	ldr	r3, [r6]
	ands	r4, r3, #7
	beq	.L2
	ldr	r5, .L21+4
	ldr	r1, .L21+8
	ldr	r2, [r5]
.L7:
	ldr	r3, .L21+12
	ldr	r0, [r1]
	ldr	r3, [r3]
	mov	r1, #1
	bl	fwrite
	ldr	r3, [r5]
	cmp	r0, r3
	beq	.L10
	ldr	r0, .L21+16
	bl	perror
	mov	r0, #1
	bl	exit
.L10:
	mov	r3, #0
	str	r3, [r5]
	pop	{r4, r5, r6, pc}
.L6:
	mov	r1, #32
	mov	r0, r5
	bl	peekbyte
	cmp	r0, #0
	beq	.L20
	mov	r4, r5
	ldr	r3, [r6]
.L2:
	cmp	r4, r3
	add	r5, r4, #1
	blt	.L6
	ldr	r5, .L21+4
	cmp	r4, r3
	ldr	r2, [r5]
	beq	.L15
.L18:
	ldr	r1, .L21+8
	b	.L7
.L20:
	ldr	r3, [r6]
	ldr	r5, .L21+4
	cmp	r4, r3
	ldr	r2, [r5]
	bne	.L18
.L15:
	sub	r2, r2, r4
	cmp	r4, #0
	str	r2, [r5]
	ble	.L18
	mov	r3, #0
	mov	lr, #9
	ldr	r1, .L21+8
.L9:
	ldr	r0, [r1]
	add	ip, r2, #1
	str	ip, [r5]
	strb	lr, [r0, r2]
	ldr	r2, [r6]
	add	r3, r3, #8
	cmp	r2, r3
	ldr	r2, [r5]
	bgt	.L9
	b	.L7
.L22:
	.align	2
.L21:
	.word	column
	.word	queuelen
	.word	queue
	.word	stdout
	.word	.LC0
	.size	printwhite, .-printwhite
	.comm	stdout,4,4
	.comm	queuelen,4,4
	.comm	queue,4,4
	.comm	column,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
