	.file	"extr_fmt.c_center_stream.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str4.4,"aMS",@progbits,4
	.align 4
.LC0:
	.string	"%"
	.string	""
	.string	""
	.string	"."
	.string	""
	.string	""
	.string	"*"
	.string	""
	.string	""
	.string	"l"
	.string	""
	.string	""
	.string	"s"
	.string	""
	.string	""
	.string	"\n"
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"%s"
	.text
	.p2align 4
	.type	center_stream, @function
center_stream:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	ebx, 1
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	QWORD PTR 8[rsp], rsi
	lea	r13, 16[rsp]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	.p2align 4,,10
	.p2align 3
.L2:
	mov	rsi, r13
	mov	rdi, rbp
	call	get_line@PLT
	mov	r12, rax
	test	rax, rax
	je	.L24
	mov	r15, QWORD PTR 16[rsp]
	test	r15, r15
	jne	.L3
	jmp	.L22
	.p2align 4,,10
	.p2align 3
.L5:
	add	r12, 4
	sub	r15, 1
	je	.L25
.L3:
	mov	edi, DWORD PTR [r12]
	call	iswspace@PLT
	test	rax, rax
	jne	.L5
	lea	rax, [r12+r15*4]
	mov	QWORD PTR 16[rsp], r15
	cmp	r12, rax
	jnb	.L12
	mov	r14, r12
	xor	r15d, r15d
	.p2align 4,,10
	.p2align 3
.L6:
	mov	edi, DWORD PTR [r14]
	call	wcwidth@PLT
	test	eax, eax
	cmovle	eax, ebx
	add	r14, 4
	cdqe
	add	r15, rax
	mov	rax, QWORD PTR 16[rsp]
	lea	rax, [r12+rax*4]
	cmp	r14, rax
	jb	.L6
	cmp	QWORD PTR goal_length[rip], r15
	jbe	.L26
	.p2align 4,,10
	.p2align 3
.L7:
	mov	edi, 32
	add	r15, 2
	call	putwchar@PLT
.L22:
	cmp	QWORD PTR goal_length[rip], r15
	ja	.L7
.L26:
	mov	esi, DWORD PTR 16[rsp]
	mov	rdx, r12
	lea	rdi, .LC0[rip]
	call	wprintf@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L25:
	mov	QWORD PTR 16[rsp], 0
	jmp	.L22
	.p2align 4,,10
	.p2align 3
.L24:
	mov	rdi, rbp
	call	ferror@PLT
	test	rax, rax
	jne	.L27
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L28
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
.L27:
	.cfi_restore_state
	mov	rsi, QWORD PTR 8[rsp]
	lea	rdi, .LC1[rip]
	call	warn@PLT
	add	DWORD PTR n_errors[rip], 1
	jmp	.L1
.L12:
	xor	r15d, r15d
	jmp	.L22
.L28:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	center_stream, .-center_stream
	.comm	n_errors,4,4
	.comm	goal_length,8,8
	.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_fmt.c_center_stream.c"
	.text
	.section	.rodata.str4.4,"aMS",%progbits,4
	.align	2
.LC0:
	.ascii	"%\000\000\000.\000\000\000*\000\000\000l\000\000\000"
	.ascii	"s\000\000\000\012\000\000\000\000\000\000\000"
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC1:
	.ascii	"%s\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	center_stream, %function
center_stream:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r3, .L29
	sub	sp, sp, #8
	mov	r8, r0
	mov	r10, r1
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	ldr	r7, .L29+4
	ldr	r9, .L29+8
.L2:
	mov	r1, sp
	mov	r0, r8
	bl	get_line
	subs	r6, r0, #0
	beq	.L25
	ldr	r4, [sp]
	cmp	r4, #0
	beq	.L3
	mov	r5, r6
	b	.L4
.L5:
	subs	r4, r4, #1
	mov	r6, r5
	beq	.L26
.L4:
	mov	r6, r5
	ldr	r0, [r5], #4
	bl	iswspace
	cmp	r0, #0
	bne	.L5
	add	r3, r6, r4, lsl #2
	cmp	r6, r3
	str	r4, [sp]
	mov	r4, r0
	bcs	.L3
	mov	r5, r6
.L6:
	ldr	r0, [r5], #4
	bl	wcwidth
	ldr	r3, [sp]
	cmp	r0, #1
	addge	r4, r4, r0
	addlt	r4, r4, #1
	add	r3, r6, r3, lsl #2
	cmp	r5, r3
	bcc	.L6
.L3:
	ldr	r3, [r7]
	cmp	r3, r4
	bls	.L8
.L7:
	mov	r0, #32
	bl	putwchar
	ldr	r3, [r7]
	add	r4, r4, #2
	cmp	r3, r4
	bhi	.L7
.L8:
	mov	r2, r6
	mov	r0, r9
	ldr	r1, [sp]
	bl	wprintf
	b	.L2
.L26:
	str	r4, [sp]
	b	.L3
.L25:
	mov	r0, r8
	bl	ferror
	cmp	r0, #0
	bne	.L27
.L1:
	ldr	r3, .L29
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L28
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L27:
	mov	r1, r10
	ldr	r0, .L29+12
	bl	warn
	ldr	r2, .L29+16
	ldr	r3, [r2]
	add	r3, r3, #1
	str	r3, [r2]
	b	.L1
.L28:
	bl	__stack_chk_fail
.L30:
	.align	2
.L29:
	.word	.LC2
	.word	goal_length
	.word	.LC0
	.word	.LC1
	.word	n_errors
	.size	center_stream, .-center_stream
	.comm	n_errors,4,4
	.comm	goal_length,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
