	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function f_cut
_f_cut:                                 ## @f_cut
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	leaq	-64(%rbp), %rsi
	movq	%rdi, -104(%rbp)                ## 8-byte Spill
	callq	_fgetln
	testq	%rax, %rax
	je	LBB0_59
## %bb.1:
	movq	%rax, %r14
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	leaq	-41(%rbp), %r12
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
                                        ##     Child Loop BB0_16 Depth 2
                                        ##       Child Loop BB0_20 Depth 3
                                        ##       Child Loop BB0_28 Depth 3
                                        ##         Child Loop BB0_33 Depth 4
                                        ##       Child Loop BB0_37 Depth 3
                                        ##     Child Loop BB0_49 Depth 2
                                        ##     Child Loop BB0_52 Depth 2
                                        ##     Child Loop BB0_53 Depth 2
	movq	-64(%rbp), %rbx
	cmpb	$10, -1(%r14,%rbx)
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %r13
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	leaq	1(%rbx), %r13
	movq	%r13, %rdi
	callq	_malloc
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %edi
	leaq	L_.str(%rip), %rsi
	callq	_err
	movq	-64(%rbp), %rbx
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	callq	_memcpy
	movq	-64(%rbp), %rax
	movb	$10, (%r15,%rax)
	movq	%r15, %rax
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	movq	%r15, %r14
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	movq	%r14, %rsi
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movl	%r13d, %edx
	xorl	%ecx, %ecx
	callq	_mbrtowc
	cmpq	$-3, %rax
	ja	LBB0_57
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %rbx
	addq	%r14, -56(%rbp)                 ## 8-byte Folded Spill
	xorl	%r13d, %r13d
	movq	%r14, %r15
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsbl	-41(%rbp), %edi
	callq	_is_delim
	testq	%rax, %rax
	movl	$1, %eax
	cmovnel	%eax, %r13d
	cmpb	$10, -41(%rbp)
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=2
	testq	%rbx, %rbx
	movl	$1, %eax
	cmoveq	%rax, %rbx
	addq	%rbx, %r15
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, %edx
	subl	%r15d, %edx
	movq	%r12, %rdi
	movq	%r15, %rsi
	xorl	%ecx, %ecx
	callq	_mbrtowc
	movq	%rax, %rbx
	cmpq	$-3, %rax
	jbe	LBB0_9
	jmp	LBB0_57
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_sflag@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%r13d, %eax
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rsi
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movl	$1, %edx
	callq	_fwrite
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	testl	%r13d, %r13d
	movq	_dcharmb@GOTPCREL(%rip), %r15
	je	LBB0_55
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_maxval@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	testl	%edx, %edx
	je	LBB0_43
## %bb.15:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_positions@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	xorl	%ecx, %ecx
LBB0_16:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_20 Depth 3
                                        ##       Child Loop BB0_28 Depth 3
                                        ##         Child Loop BB0_33 Depth 4
                                        ##       Child Loop BB0_37 Depth 3
	cmpb	$0, 1(%rbx)
	movl	%edx, -84(%rbp)                 ## 4-byte Spill
	je	LBB0_22
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=2
	testl	%ecx, %ecx
	je	LBB0_23
## %bb.18:                              ##   in Loop: Header=BB0_16 Depth=2
	incl	%ecx
	movq	(%r15), %rax
	movb	(%rax), %al
	testb	%al, %al
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	je	LBB0_24
## %bb.19:                              ##   in Loop: Header=BB0_16 Depth=2
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movl	$1, %ebx
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_20:                                ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_16 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movsbl	%al, %edi
	callq	_putchar
	movq	(%r15), %rax
	movzbl	(%rax,%rbx), %eax
	incq	%rbx
	testb	%al, %al
	jne	LBB0_20
## %bb.21:                              ##   in Loop: Header=BB0_16 Depth=2
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_25
LBB0_22:                                ##   in Loop: Header=BB0_16 Depth=2
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	jmp	LBB0_24
LBB0_23:                                ##   in Loop: Header=BB0_16 Depth=2
	movl	$1, -48(%rbp)                   ## 4-byte Folded Spill
LBB0_24:                                ##   in Loop: Header=BB0_16 Depth=2
	movq	-56(%rbp), %r13                 ## 8-byte Reload
LBB0_25:                                ##   in Loop: Header=BB0_16 Depth=2
	movl	%r13d, %edx
	subl	%r14d, %edx
	movq	%r12, %rdi
	movq	%r14, %rsi
	xorl	%ecx, %ecx
	callq	_mbrtowc
	cmpq	$-3, %rax
	ja	LBB0_57
## %bb.26:                              ##   in Loop: Header=BB0_16 Depth=2
	movq	%rax, %r13
	incq	%rbx
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_28
	.p2align	4, 0x90
LBB0_27:                                ##   in Loop: Header=BB0_28 Depth=3
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, %edx
	subl	%r14d, %edx
	leaq	-41(%rbp), %rdi
	movq	%r14, %rsi
	xorl	%ecx, %ecx
	callq	_mbrtowc
	movq	%rax, %r13
	cmpq	$-3, %rax
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	ja	LBB0_57
LBB0_28:                                ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_16 Depth=2
                                        ## =>    This Loop Header: Depth=3
                                        ##         Child Loop BB0_33 Depth 4
	testq	%r13, %r13
	movq	%r13, %r15
	movl	$1, %eax
	cmoveq	%rax, %r15
	movb	-41(%rbp), %al
	cmpb	$10, %al
	je	LBB0_54
## %bb.29:                              ##   in Loop: Header=BB0_28 Depth=3
	movq	%r14, %r12
	addq	%r15, %r14
	movsbl	%al, %edi
	callq	_is_delim
	testq	%rax, %rax
	jne	LBB0_34
## %bb.30:                              ##   in Loop: Header=BB0_28 Depth=3
	cmpb	$0, (%rbx)
	je	LBB0_27
## %bb.31:                              ##   in Loop: Header=BB0_28 Depth=3
	testl	%r15d, %r15d
	jle	LBB0_27
## %bb.32:                              ##   in Loop: Header=BB0_28 Depth=3
	movl	%r15d, %r15d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_33:                                ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_16 Depth=2
                                        ##       Parent Loop BB0_28 Depth=3
                                        ## =>      This Inner Loop Header: Depth=4
	movsbl	(%r12,%rbx), %edi
	callq	_putchar
	incq	%rbx
	cmpq	%rbx, %r15
	jne	LBB0_33
	jmp	LBB0_27
LBB0_34:                                ##   in Loop: Header=BB0_16 Depth=2
	movb	-41(%rbp), %al
	movq	_wflag@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_41
## %bb.35:                              ##   in Loop: Header=BB0_16 Depth=2
	cmpb	$10, %al
	movq	_dcharmb@GOTPCREL(%rip), %r15
	je	LBB0_39
## %bb.36:                              ##   in Loop: Header=BB0_16 Depth=2
	cmpq	$2, %r13
	movl	$1, %eax
	cmovbq	%rax, %r13
	leaq	(%r12,%r13), %r14
	decq	%r14
	.p2align	4, 0x90
LBB0_37:                                ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_16 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movsbl	1(%r14), %edi
	incq	%r14
	callq	_is_delim
	testq	%rax, %rax
	jne	LBB0_37
## %bb.38:                              ##   in Loop: Header=BB0_16 Depth=2
	movb	-41(%rbp), %al
LBB0_39:                                ##   in Loop: Header=BB0_16 Depth=2
	cmpb	$10, %al
	je	LBB0_42
LBB0_40:                                ##   in Loop: Header=BB0_16 Depth=2
	movl	-84(%rbp), %edx                 ## 4-byte Reload
	decl	%edx
	leaq	-41(%rbp), %r12
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	jne	LBB0_16
	jmp	LBB0_44
LBB0_41:                                ##   in Loop: Header=BB0_16 Depth=2
	movq	_dcharmb@GOTPCREL(%rip), %r15
	cmpb	$10, %al
	jne	LBB0_40
LBB0_42:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	jmp	LBB0_44
LBB0_43:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ecx, %ecx
	movb	-41(%rbp), %al
LBB0_44:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$10, %al
	je	LBB0_54
## %bb.45:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_autostop@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_53
## %bb.46:                              ##   in Loop: Header=BB0_2 Depth=1
	testl	%ecx, %ecx
	movq	_dcharmb@GOTPCREL(%rip), %r15
	je	LBB0_50
## %bb.47:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r15), %rax
	movb	(%rax), %al
	testb	%al, %al
	je	LBB0_50
## %bb.48:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %ebx
	.p2align	4, 0x90
LBB0_49:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsbl	%al, %edi
	callq	_putchar
	movq	(%r15), %rax
	movzbl	(%rax,%rbx), %eax
	incq	%rbx
	testb	%al, %al
	jne	LBB0_49
LBB0_50:                                ##   in Loop: Header=BB0_2 Depth=1
	movb	(%r14), %al
	movb	%al, -41(%rbp)
	cmpb	$10, %al
	je	LBB0_54
## %bb.51:                              ##   in Loop: Header=BB0_2 Depth=1
	incq	%r14
	.p2align	4, 0x90
LBB0_52:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsbl	%al, %edi
	callq	_putchar
	movzbl	(%r14), %eax
	movb	%al, -41(%rbp)
	incq	%r14
	cmpb	$10, %al
	jne	LBB0_52
	jmp	LBB0_54
	.p2align	4, 0x90
LBB0_53:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%r14), %eax
	movb	%al, -41(%rbp)
	incq	%r14
	cmpb	$10, %al
	jne	LBB0_53
	.p2align	4, 0x90
LBB0_54:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	$10, %edi
	callq	_putchar
	leaq	-41(%rbp), %r12
LBB0_55:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	leaq	-64(%rbp), %rsi
	callq	_fgetln
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_2
## %bb.56:
	xorl	%ebx, %ebx
	jmp	LBB0_58
LBB0_57:
	movq	_EILSEQ@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	callq	_warnc
	movl	$1, %ebx
LBB0_58:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_60
LBB0_59:
	xorl	%edi, %edi
	xorl	%ebx, %ebx
LBB0_60:
	callq	_free
	movl	%ebx, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"malloc"

	.comm	_EILSEQ,4,2                     ## @EILSEQ
L_.str.1:                               ## @.str.1
	.asciz	"%s"

	.comm	_sflag,4,2                      ## @sflag
	.comm	_stdout,4,2                     ## @stdout
	.comm	_positions,8,3                  ## @positions
	.comm	_maxval,4,2                     ## @maxval
	.comm	_dcharmb,8,3                    ## @dcharmb
	.comm	_wflag,8,3                      ## @wflag
	.comm	_autostop,8,3                   ## @autostop
	.no_dead_strip	_f_cut
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function f_cut
_f_cut:                                 ; @f_cut
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x1
	mov	x21, x0
	add	x1, sp, #16
	bl	_fgetln
	cbz	x0, LBB0_50
; %bb.1:
	mov	x19, x0
	str	x20, [sp, #8]                   ; 8-byte Folded Spill
	mov	x28, #0
Lloh0:
	adrp	x20, _dcharmb@GOTPAGE
Lloh1:
	ldr	x20, [x20, _dcharmb@GOTPAGEOFF]
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
                                        ;     Child Loop BB0_15 Depth 2
                                        ;       Child Loop BB0_19 Depth 3
                                        ;       Child Loop BB0_25 Depth 3
                                        ;         Child Loop BB0_30 Depth 4
                                        ;       Child Loop BB0_33 Depth 3
                                        ;     Child Loop BB0_42 Depth 2
                                        ;     Child Loop BB0_45 Depth 2
                                        ;     Child Loop BB0_46 Depth 2
	ldr	x24, [sp, #16]
	add	x8, x19, x24
	ldurb	w8, [x8, #-1]
	cmp	w8, #10
	b.eq	LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x25, x24, #1
	mov	x0, x25
	bl	_malloc
	mov	x28, x0
	cbnz	x0, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w0, #1
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_err
	ldr	x24, [sp, #16]
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x28
	mov	x1, x19
	mov	x2, x24
	bl	_memcpy
	ldr	x8, [sp, #16]
	mov	w9, #10
	strb	w9, [x28, x8]
	mov	x19, x28
	mov	x24, x25
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	x0, sp, #31
	mov	x1, x19
	mov	x2, x24
	mov	x3, #0
	bl	_mbrtowc
	cmn	x0, #3
	b.hi	LBB0_49
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x25, x0
	mov	w22, #0
	add	x27, x19, x24
	mov	x24, x19
LBB0_8:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrsb	w0, [sp, #31]
	bl	_is_delim
	cmp	x0, #0
	csinc	w22, w22, wzr, eq
	ldrb	w8, [sp, #31]
	cmp	w8, #10
	b.eq	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	cmp	x25, #0
	csinc	x8, x25, xzr, ne
	add	x24, x24, x8
	sub	w2, w27, w24
	add	x0, sp, #31
	mov	x1, x24
	mov	x3, #0
	bl	_mbrtowc
	mov	x25, x0
	cmn	x0, #3
	b.ls	LBB0_8
	b	LBB0_49
LBB0_10:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh4:
	adrp	x8, _sflag@GOTPAGE
Lloh5:
	ldr	x8, [x8, _sflag@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	orr	w8, w22, w8
	cbnz	w8, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x1, [sp, #16]
Lloh7:
	adrp	x8, _stdout@GOTPAGE
Lloh8:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh9:
	ldr	w3, [x8]
	mov	x0, x19
	mov	w2, #1
	bl	_fwrite
LBB0_12:                                ;   in Loop: Header=BB0_2 Depth=1
	cbz	w22, LBB0_48
; %bb.13:                               ;   in Loop: Header=BB0_2 Depth=1
Lloh10:
	adrp	x8, _maxval@GOTPAGE
Lloh11:
	ldr	x8, [x8, _maxval@GOTPAGEOFF]
Lloh12:
	ldr	w26, [x8]
	cbz	w26, LBB0_36
; %bb.14:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	w9, #0
Lloh13:
	adrp	x8, _positions@GOTPAGE
Lloh14:
	ldr	x8, [x8, _positions@GOTPAGEOFF]
Lloh15:
	ldr	x22, [x8]
LBB0_15:                                ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_19 Depth 3
                                        ;       Child Loop BB0_25 Depth 3
                                        ;         Child Loop BB0_30 Depth 4
                                        ;       Child Loop BB0_33 Depth 3
	ldrb	w8, [x22, #1]!
	cbz	w8, LBB0_20
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=2
	cbz	w9, LBB0_21
; %bb.17:                               ;   in Loop: Header=BB0_15 Depth=2
	add	w9, w9, #1
	ldr	x8, [x20]
	ldrb	w8, [x8]
	str	w9, [sp, #4]                    ; 4-byte Folded Spill
	cbz	w8, LBB0_22
; %bb.18:                               ;   in Loop: Header=BB0_15 Depth=2
	mov	w23, #1
LBB0_19:                                ;   Parent Loop BB0_2 Depth=1
                                        ;     Parent Loop BB0_15 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	sxtb	w0, w8
	bl	_putchar
	ldr	x8, [x20]
	ldrb	w8, [x8, x23]
	add	x23, x23, #1
	cbnz	w8, LBB0_19
	b	LBB0_22
LBB0_20:                                ;   in Loop: Header=BB0_15 Depth=2
	str	w9, [sp, #4]                    ; 4-byte Folded Spill
	b	LBB0_22
LBB0_21:                                ;   in Loop: Header=BB0_15 Depth=2
	mov	w8, #1
	str	w8, [sp, #4]                    ; 4-byte Folded Spill
LBB0_22:                                ;   in Loop: Header=BB0_15 Depth=2
	sub	w2, w27, w19
	add	x0, sp, #31
	mov	x1, x19
	mov	x3, #0
	bl	_mbrtowc
	cmn	x0, #3
	b.hi	LBB0_49
; %bb.23:                               ;   in Loop: Header=BB0_15 Depth=2
	mov	x24, x0
	b	LBB0_25
LBB0_24:                                ;   in Loop: Header=BB0_25 Depth=3
	sub	w2, w27, w19
	add	x0, sp, #31
	mov	x1, x19
	mov	x3, #0
	bl	_mbrtowc
	mov	x24, x0
	cmn	x0, #3
	b.hi	LBB0_49
LBB0_25:                                ;   Parent Loop BB0_2 Depth=1
                                        ;     Parent Loop BB0_15 Depth=2
                                        ; =>    This Loop Header: Depth=3
                                        ;         Child Loop BB0_30 Depth 4
	cmp	x24, #0
	csinc	x25, x24, xzr, ne
	ldrb	w8, [sp, #31]
	cmp	w8, #10
	b.eq	LBB0_47
; %bb.26:                               ;   in Loop: Header=BB0_25 Depth=3
	mov	x23, x19
	add	x19, x19, x25
	sxtb	w0, w8
	bl	_is_delim
	cbnz	x0, LBB0_31
; %bb.27:                               ;   in Loop: Header=BB0_25 Depth=3
	ldrb	w8, [x22]
	cbz	w8, LBB0_24
; %bb.28:                               ;   in Loop: Header=BB0_25 Depth=3
	cmp	w25, #1
	b.lt	LBB0_24
; %bb.29:                               ;   in Loop: Header=BB0_25 Depth=3
	and	x24, x25, #0xffffffff
LBB0_30:                                ;   Parent Loop BB0_2 Depth=1
                                        ;     Parent Loop BB0_15 Depth=2
                                        ;       Parent Loop BB0_25 Depth=3
                                        ; =>      This Inner Loop Header: Depth=4
	ldrsb	w0, [x23], #1
	bl	_putchar
	subs	x24, x24, #1
	b.ne	LBB0_30
	b	LBB0_24
LBB0_31:                                ;   in Loop: Header=BB0_15 Depth=2
	ldrb	w8, [sp, #31]
Lloh16:
	adrp	x9, _wflag@GOTPAGE
Lloh17:
	ldr	x9, [x9, _wflag@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x9, #0
	ccmp	w8, #10, #4, ne
	b.eq	LBB0_35
; %bb.32:                               ;   in Loop: Header=BB0_15 Depth=2
	cmp	x24, #1
	csinc	x8, x24, xzr, hi
	add	x8, x23, x8
	sub	x19, x8, #1
LBB0_33:                                ;   Parent Loop BB0_2 Depth=1
                                        ;     Parent Loop BB0_15 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldrsb	w0, [x19, #1]!
	bl	_is_delim
	cbnz	x0, LBB0_33
; %bb.34:                               ;   in Loop: Header=BB0_15 Depth=2
	ldrb	w8, [sp, #31]
LBB0_35:                                ;   in Loop: Header=BB0_15 Depth=2
	sub	w26, w26, #1
	cmp	w8, #10
	ccmp	w26, #0, #4, ne
	ldr	w9, [sp, #4]                    ; 4-byte Folded Reload
	b.ne	LBB0_15
	b	LBB0_37
LBB0_36:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w9, #0
	ldrb	w8, [sp, #31]
LBB0_37:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w8, #10
	b.eq	LBB0_47
; %bb.38:                               ;   in Loop: Header=BB0_2 Depth=1
Lloh19:
	adrp	x8, _autostop@GOTPAGE
Lloh20:
	ldr	x8, [x8, _autostop@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
	cbz	x8, LBB0_46
; %bb.39:                               ;   in Loop: Header=BB0_2 Depth=1
	cbz	w9, LBB0_43
; %bb.40:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x20]
	ldrb	w8, [x8]
	cbz	w8, LBB0_43
; %bb.41:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	w22, #1
LBB0_42:                                ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sxtb	w0, w8
	bl	_putchar
	ldr	x8, [x20]
	ldrb	w8, [x8, x22]
	add	x22, x22, #1
	cbnz	w8, LBB0_42
LBB0_43:                                ;   in Loop: Header=BB0_2 Depth=1
	ldrb	w8, [x19]
	strb	w8, [sp, #31]
	cmp	w8, #10
	b.eq	LBB0_47
; %bb.44:                               ;   in Loop: Header=BB0_2 Depth=1
	add	x19, x19, #1
LBB0_45:                                ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sxtb	w0, w8
	bl	_putchar
	ldrb	w8, [x19], #1
	strb	w8, [sp, #31]
	cmp	w8, #10
	b.ne	LBB0_45
	b	LBB0_47
LBB0_46:                                ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w8, [x19], #1
	strb	w8, [sp, #31]
	cmp	w8, #10
	b.ne	LBB0_46
LBB0_47:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w0, #10
	bl	_putchar
LBB0_48:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x1, sp, #16
	mov	x0, x21
	bl	_fgetln
	mov	x19, x0
	cbnz	x0, LBB0_2
	b	LBB0_51
LBB0_49:
Lloh22:
	adrp	x8, _EILSEQ@GOTPAGE
Lloh23:
	ldr	x8, [x8, _EILSEQ@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
Lloh25:
	adrp	x1, l_.str.1@PAGE
Lloh26:
	add	x1, x1, l_.str.1@PAGEOFF
	ldr	x2, [sp, #8]                    ; 8-byte Folded Reload
	bl	_warnc
	mov	w20, #1
	b	LBB0_52
LBB0_50:
	mov	x28, #0
LBB0_51:
	mov	w20, #0
LBB0_52:
	mov	x0, x28
	bl	_free
	mov	x0, x20
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"malloc"

	.comm	_EILSEQ,4,2                     ; @EILSEQ
l_.str.1:                               ; @.str.1
	.asciz	"%s"

	.comm	_sflag,4,2                      ; @sflag
	.comm	_stdout,4,2                     ; @stdout
	.comm	_positions,8,3                  ; @positions
	.comm	_maxval,4,2                     ; @maxval
	.comm	_dcharmb,8,3                    ; @dcharmb
	.comm	_wflag,8,3                      ; @wflag
	.comm	_autostop,8,3                   ; @autostop
	.no_dead_strip	_f_cut
.subsections_via_symbols
