	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function c_cut
_c_cut:                                 ## @c_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r15
	xorl	%ebx, %ebx
	movq	_WEOF@GOTPCREL(%rip), %r13
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movb	$10, %bl
LBB0_16:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	$10, %edi
	callq	_putwchar
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
                                        ##     Child Loop BB0_11 Depth 2
                                        ##     Child Loop BB0_14 Depth 2
	movq	_maxval@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	testq	%r14, %r14
	je	LBB0_9
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_positions@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	xorl	%r12d, %r12d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=2
	incq	%r12
	cmpl	%r12d, %r14d
	je	LBB0_10
LBB0_3:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r15, %rdi
	callq	_getwc
	cmpb	(%r13), %al
	je	LBB0_17
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=2
	cmpb	$10, %al
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=2
	cmpb	$0, 1(%rbx,%r12)
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=2
	movsbl	%al, %edi
	callq	_putwchar
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	cmpb	$10, %bl
	movb	$10, %bl
	je	LBB0_16
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_autostop@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_14
	.p2align	4, 0x90
LBB0_11:                                ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r15, %rdi
	callq	_getwc
	movl	%eax, %ebx
	cmpb	$10, %al
	je	LBB0_16
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=2
	cmpb	(%r13), %bl
	je	LBB0_16
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=2
	movsbl	%bl, %edi
	callq	_putwchar
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_14:                                ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r15, %rdi
	callq	_getwc
	movl	%eax, %ebx
	cmpb	$10, %al
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=2
	cmpb	(%r13), %bl
	jne	LBB0_14
	jmp	LBB0_16
LBB0_17:
	movq	%r15, %rdi
	callq	_ferror
	testq	%rax, %rax
	je	LBB0_18
## %bb.19:
	leaq	L_.str(%rip), %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_warn
	movl	$1, %eax
	jmp	LBB0_20
LBB0_18:
	xorl	%eax, %eax
LBB0_20:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_positions,8,3                  ## @positions
	.comm	_maxval,4,2                     ## @maxval
	.comm	_WEOF,1,0                       ## @WEOF
	.comm	_autostop,8,3                   ## @autostop
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s"

	.no_dead_strip	_c_cut
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function c_cut
_c_cut:                                 ; @c_cut
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	w21, #0
Lloh0:
	adrp	x22, _maxval@GOTPAGE
Lloh1:
	ldr	x22, [x22, _maxval@GOTPAGEOFF]
Lloh2:
	adrp	x23, _autostop@GOTPAGE
Lloh3:
	ldr	x23, [x23, _autostop@GOTPAGEOFF]
Lloh4:
	adrp	x24, _WEOF@GOTPAGE
Lloh5:
	ldr	x24, [x24, _WEOF@GOTPAGEOFF]
Lloh6:
	adrp	x25, _positions@GOTPAGE
Lloh7:
	ldr	x25, [x25, _positions@GOTPAGEOFF]
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	w21, #10
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	w0, #10
	bl	_putwchar
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
                                        ;     Child Loop BB0_12 Depth 2
                                        ;     Child Loop BB0_15 Depth 2
	ldr	w26, [x22]
	cbz	w26, LBB0_10
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x25]
	add	x21, x8, #1
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=2
	add	x21, x21, #1
	subs	w26, w26, #1
	b.eq	LBB0_11
LBB0_6:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x20
	bl	_getwc
	ldrb	w8, [x24]
	cmp	w8, w0, uxtb
	b.eq	LBB0_17
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	cmp	w0, #10
	b.eq	LBB0_1
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=2
	ldrb	w8, [x21]
	cbz	w8, LBB0_5
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=2
	bl	_putwchar
	b	LBB0_5
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	and	w8, w21, #0xff
	cmp	w8, #10
	b.eq	LBB0_1
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x23]
	cbz	x8, LBB0_15
LBB0_12:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x20
	bl	_getwc
	mov	x21, x0
	cmp	w0, #10
	b.eq	LBB0_2
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=2
	ldrb	w8, [x24]
	cmp	w8, w21, uxtb
	b.eq	LBB0_2
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=2
	sxtb	w0, w21
	bl	_putwchar
	b	LBB0_12
LBB0_15:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x20
	bl	_getwc
	mov	x21, x0
	cmp	w0, #10
	b.eq	LBB0_2
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=2
	ldrb	w8, [x24]
	cmp	w8, w21, uxtb
	b.ne	LBB0_15
	b	LBB0_2
LBB0_17:
	mov	x0, x20
	bl	_ferror
	cbz	x0, LBB0_19
; %bb.18:
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_warn
	mov	w0, #1
LBB0_19:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_positions,8,3                  ; @positions
	.comm	_maxval,4,2                     ; @maxval
	.comm	_WEOF,1,0                       ; @WEOF
	.comm	_autostop,8,3                   ; @autostop
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s"

	.no_dead_strip	_c_cut
.subsections_via_symbols
