	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function center_stream
_center_stream:                         ## @center_stream
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r12
	leaq	-48(%rbp), %rsi
	callq	_get_line
	testq	%rax, %rax
	je	LBB0_11
## %bb.1:
	movq	%rax, %r13
	movq	_goal_length@GOTPCREL(%rip), %rbx
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	leaq	l_.str(%rip), %rdi
	movl	%r14d, %esi
	movq	%r13, %rdx
	callq	_wprintf
	movq	%r12, %rdi
	leaq	-48(%rbp), %rsi
	callq	_get_line
	movq	%rax, %r13
	testq	%rax, %rax
	je	LBB0_11
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
                                        ##     Child Loop BB0_15 Depth 2
                                        ##     Child Loop BB0_8 Depth 2
	movq	-48(%rbp), %r14
	testq	%r14, %r14
	je	LBB0_5
	.p2align	4, 0x90
LBB0_3:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r13), %edi
	callq	_iswspace
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=2
	addq	$4, %r13
	decq	%r14
	jne	LBB0_3
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	$0, -48(%rbp)
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, -48(%rbp)
	xorl	%r15d, %r15d
	testq	%r14, %r14
	jle	LBB0_7
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rbx
	movl	$1, %r12d
	.p2align	4, 0x90
LBB0_15:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rbx), %edi
	callq	_wcwidth
                                        ## kill: def $eax killed $eax def $rax
	cmpl	$2, %eax
	cmovll	%r12d, %eax
	addq	%rax, %r15
	addq	$4, %rbx
	movq	-48(%rbp), %r14
	leaq	(,%r14,4), %rax
	addq	%r13, %rax
	cmpq	%rax, %rbx
	jb	LBB0_15
## %bb.16:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movq	_goal_length@GOTPCREL(%rip), %rbx
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpq	(%rbx), %r15
	jae	LBB0_10
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	$32, %edi
	callq	_putwchar
	addq	$2, %r15
	cmpq	(%rbx), %r15
	jb	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %r14
	jmp	LBB0_10
LBB0_11:
	movq	%r12, %rdi
	callq	_ferror
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	leaq	L_.str.1(%rip), %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_warn
	movq	_n_errors@GOTPCREL(%rip), %rax
	incl	(%rax)
LBB0_13:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_goal_length,8,3                ## @goal_length
	.section	__TEXT,__const
	.p2align	2                               ## @.str
l_.str:
	.long	37                              ## 0x25
	.long	46                              ## 0x2e
	.long	42                              ## 0x2a
	.long	108                             ## 0x6c
	.long	115                             ## 0x73
	.long	10                              ## 0xa
	.long	0                               ## 0x0

	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"%s"

	.comm	_n_errors,4,2                   ## @n_errors
	.no_dead_strip	_center_stream
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function center_stream
_center_stream:                         ; @center_stream
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x1
	mov	x20, x0
	add	x1, sp, #8
	bl	_get_line
	cbz	x0, LBB0_14
; %bb.1:
	mov	x22, x0
Lloh0:
	adrp	x24, _goal_length@GOTPAGE
Lloh1:
	ldr	x24, [x24, _goal_length@GOTPAGEOFF]
Lloh2:
	adrp	x21, l_.str@PAGE
Lloh3:
	add	x21, x21, l_.str@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x21
	mov	x1, x23
	mov	x2, x22
	bl	_wprintf
	add	x1, sp, #8
	mov	x0, x20
	bl	_get_line
	mov	x22, x0
	cbz	x0, LBB0_14
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
                                        ;     Child Loop BB0_9 Depth 2
                                        ;     Child Loop BB0_12 Depth 2
	ldr	x23, [sp, #8]
	cbz	x23, LBB0_6
LBB0_4:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w0, [x22]
	bl	_iswspace
	cbz	x0, LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=2
	add	x22, x22, #4
	subs	x23, x23, #1
	b.ne	LBB0_4
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x23, #0
	mov	x25, #0
	str	xzr, [sp, #8]
	b	LBB0_11
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	str	x23, [sp, #8]
	cmp	x23, #1
	b.lt	LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x25, #0
	mov	x26, x22
LBB0_9:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w0, [x26], #4
	bl	_wcwidth
	cmp	w0, #1
	csinc	w8, w0, wzr, gt
	add	x25, x25, x8
	ldr	x23, [sp, #8]
	add	x8, x22, x23, lsl #2
	cmp	x26, x8
	b.lo	LBB0_9
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x25, #0
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x24]
	cmp	x25, x8
	b.hs	LBB0_2
LBB0_12:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	w0, #32
	bl	_putwchar
	add	x25, x25, #2
	ldr	x8, [x24]
	cmp	x25, x8
	b.lo	LBB0_12
; %bb.13:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x23, [sp, #8]
	b	LBB0_2
LBB0_14:
	mov	x0, x20
	bl	_ferror
	cbz	x0, LBB0_16
; %bb.15:
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	bl	_warn
Lloh6:
	adrp	x8, _n_errors@GOTPAGE
Lloh7:
	ldr	x8, [x8, _n_errors@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
LBB0_16:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_goal_length,8,3                ; @goal_length
	.section	__TEXT,__const
	.p2align	2                               ; @.str
l_.str:
	.long	37                              ; 0x25
	.long	46                              ; 0x2e
	.long	42                              ; 0x2a
	.long	108                             ; 0x6c
	.long	115                             ; 0x73
	.long	10                              ; 0xa
	.long	0                               ; 0x0

	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"%s"

	.comm	_n_errors,4,2                   ; @n_errors
	.no_dead_strip	_center_stream
.subsections_via_symbols
