	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sequential
_sequential:                            ## @sequential
	.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	(%rdi), %r13
	testq	%r13, %r13
	je	LBB0_1
## %bb.2:
	movq	%rdi, %r12
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movq	_stdin@GOTPCREL(%rip), %r14
	leaq	L_.str(%rip), %rbx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_3 Depth=1
	leaq	L_.str.1(%rip), %rdi
	movq	%r13, %rsi
	callq	_warn
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
LBB0_23:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%r12), %r13
	addq	$8, %r12
	testq	%r13, %r13
	je	LBB0_24
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
	cmpb	$45, (%r13)
	jne	LBB0_21
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$0, 1(%r13)
	je	LBB0_5
LBB0_21:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_fopen
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_6
	jmp	LBB0_22
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r14), %r15
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	callq	_getwc
	movq	_WEOF@GOTPCREL(%rip), %rcx
	cmpb	(%rcx), %al
	je	LBB0_19
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_8 Depth=2
	movq	%r15, %rdi
	callq	_getwc
	movq	_WEOF@GOTPCREL(%rip), %rcx
	cmpb	(%rcx), %al
	je	LBB0_17
LBB0_8:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%eax, %r13d
	testl	%r14d, %r14d
	je	LBB0_14
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=2
	movq	_delim@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%ebx, %rcx
	movzbl	(%rax,%rcx), %eax
	testb	%al, %al
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=2
	movsbl	%al, %edi
	callq	_putwchar
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=2
	incl	%ebx
	xorl	%eax, %eax
	movq	_delimcnt@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %ebx
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_8 Depth=2
	movl	%ebx, %eax
LBB0_13:                                ##   in Loop: Header=BB0_8 Depth=2
	movl	%eax, %ebx
LBB0_14:                                ##   in Loop: Header=BB0_8 Depth=2
	movl	$1, %r14d
	cmpb	$10, %r13b
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_8 Depth=2
	movsbl	%r13b, %edi
	callq	_putwchar
	xorl	%r14d, %r14d
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$10, %r13b
	movq	_stdin@GOTPCREL(%rip), %r14
	leaq	L_.str(%rip), %rbx
	jne	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	$10, %edi
	callq	_putwchar
LBB0_19:                                ##   in Loop: Header=BB0_3 Depth=1
	cmpq	(%r14), %r15
	je	LBB0_23
## %bb.20:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	callq	_fclose
	jmp	LBB0_23
LBB0_1:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
LBB0_24:
	xorl	%eax, %eax
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	setne	%al
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_stdin,8,3                      ## @stdin
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"r"

L_.str.1:                               ## @.str.1
	.asciz	"%s"

	.comm	_WEOF,1,0                       ## @WEOF
	.comm	_delim,8,3                      ## @delim
	.comm	_delimcnt,4,2                   ## @delimcnt
	.no_dead_strip	_sequential
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sequential
_sequential:                            ; @sequential
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	ldr	x23, [x0]
	cbz	x23, LBB0_22
; %bb.1:
	mov	x19, x0
	str	wzr, [sp, #12]                  ; 4-byte Folded Spill
Lloh0:
	adrp	x25, _stdin@GOTPAGE
Lloh1:
	ldr	x25, [x25, _stdin@GOTPAGEOFF]
Lloh2:
	adrp	x26, _WEOF@GOTPAGE
Lloh3:
	ldr	x26, [x26, _WEOF@GOTPAGEOFF]
Lloh4:
	adrp	x27, _delim@GOTPAGE
Lloh5:
	ldr	x27, [x27, _delim@GOTPAGEOFF]
Lloh6:
	adrp	x20, l_.str@PAGE
Lloh7:
	add	x20, x20, l_.str@PAGEOFF
Lloh8:
	adrp	x28, _delimcnt@GOTPAGE
Lloh9:
	ldr	x28, [x28, _delimcnt@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x23
	bl	_warn
	mov	w8, #1
	str	w8, [sp, #12]                   ; 4-byte Folded Spill
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x23, [x19, #8]!
	cbz	x23, LBB0_23
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_12 Depth 2
	ldrb	w8, [x23]
	cmp	w8, #45
	b.ne	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w8, [x23, #1]
	cbz	w8, LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x23
	mov	x1, x20
	bl	_fopen
	mov	x22, x0
	cbnz	x0, LBB0_8
	b	LBB0_2
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x22, [x25]
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x22
	bl	_getwc
	ldrb	w8, [x26]
	cmp	w8, w0, uxtb
	b.eq	LBB0_20
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w24, #0
	mov	w23, #0
	b	LBB0_12
LBB0_10:                                ;   in Loop: Header=BB0_12 Depth=2
	sxtb	w0, w21
	bl	_putwchar
	mov	w24, #0
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=2
	mov	x0, x22
	bl	_getwc
	ldrb	w8, [x26]
	cmp	w8, w0, uxtb
	b.eq	LBB0_18
LBB0_12:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x21, x0
	cbz	w24, LBB0_16
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=2
	ldr	x8, [x27]
	ldrb	w8, [x8, w23, sxtw]
	cbz	w8, LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=2
	sxtb	w0, w8
	bl	_putwchar
LBB0_15:                                ;   in Loop: Header=BB0_12 Depth=2
	add	w8, w23, #1
	ldr	w9, [x28]
	cmp	w8, w9
	csinc	w23, wzr, w23, eq
LBB0_16:                                ;   in Loop: Header=BB0_12 Depth=2
	and	w8, w21, #0xff
	cmp	w8, #10
	b.ne	LBB0_10
; %bb.17:                               ;   in Loop: Header=BB0_12 Depth=2
	mov	w24, #1
	b	LBB0_11
LBB0_18:                                ;   in Loop: Header=BB0_4 Depth=1
	and	w8, w21, #0xff
	cmp	w8, #10
	b.ne	LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w0, #10
	bl	_putwchar
LBB0_20:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x25]
	cmp	x22, x8
	b.eq	LBB0_3
; %bb.21:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x22
	bl	_fclose
	b	LBB0_3
LBB0_22:
	str	wzr, [sp, #12]                  ; 4-byte Folded Spill
LBB0_23:
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	cmp	w8, #0
	cset	w0, ne
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_stdin,8,3                      ; @stdin
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"r"

l_.str.1:                               ; @.str.1
	.asciz	"%s"

	.comm	_WEOF,1,0                       ; @WEOF
	.comm	_delim,8,3                      ; @delim
	.comm	_delimcnt,4,2                   ; @delimcnt
	.no_dead_strip	_sequential
.subsections_via_symbols
